How to get the signal output of a PID controller as a voltage

19 ビュー (過去 30 日間)
Tb
Tb 2020 年 12 月 4 日
コメント済み: Mathieu NOE 2020 年 12 月 10 日
So I am trying to closed-loop model a PMDC motor in Simulink, using a PID controller to control the voltage input through the angular speed of another motor's rotor. The motor has an input of 36V.
I am told that I need to use a motor driver to act as a bridge between the motor and the controller. However, in simscape I don't think that there is a driver for a PMDC motor (there are drivers for other motors BLDC, stepper, etc.). So I tried to make my own driver using a controllable voltage source block from simscape, however, the output from this block is the same as the output from the PID. So I fed this through a gain of 36/PID signal value.
But then I tried to check what would happen if a constant block was used with 36 as its value and the results are the same, therefore, this means that my makeshift driver doesn't work. Here is what I made:
I wasn't sure how to work with the controllable voltage source so I just put the resistance and the inductance of the motor acorss this voltage source.
Any help would be much appreciated. Thanks a lot!
  10 件のコメント
Tb
Tb 2020 年 12 月 10 日
Hello, I have solved the issue, thank you for the help
Mathieu NOE
Mathieu NOE 2020 年 12 月 10 日
good news !!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeElectromechanical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by