DC motor PI current control block not connecting

조회 수: 2 (최근 30일)
Shoaib
Shoaib 2014년 9월 21일
답변: Arkadiy Turevskiy 2014년 10월 16일
Hi everyone,
I am trying to implement PI current control of a DC motor. I was using the controlled PWM voltage block and H-bridge for the same. I am unable to connect the output of the PI block to the input of the PWM block. I thought it may be because the output of the PI will have units of A and the PWM block was set of voltage. I tried connecting a resistor but again the wire was not connecting them. There is an option for 'unit expression' in the pwm block but I have no clue as to what should be written in there. Could anyone pl explain to me where I am going wrong?

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2014년 10월 16일
The output of PI Controller block is the Simulink signal, but the inputs of Controlled PWM Voltage block are Physical Signals- more on the difference here .
You need to convert Simulink signal to Physical Signals to connect two blocks. This example show exactly what you need to do - both in terms of connecting the blocks (look into Feedback Controller subsystem) and in terms of how to tune PID gains.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Specialized Power Systems에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by