How to change direction in PWM controlled brushed DC motor?

15 ビュー (過去 30 日間)
Andrej
Andrej 2017 年 3 月 11 日
コメント済み: Onur Cimen 2020 年 9 月 30 日
Hello,
I want to simulated a DC motor, which is pwm controlled. The example from mathworks is quiet good, but i can not move the motor in the different direction.
https://de.mathworks.com/help/physmod/elec/ug/example--modeling-a-dc-motor.html
Has anyone an idea?

回答 (1 件)

Gillian Rosen
Gillian Rosen 2017 年 3 月 13 日
Hi Andrej,
I understand that you would like to reverse the direction of the DC motor in the MathWorks "DC Motor Model" example. 
To reverse the direction of the motor, you simply need to reverse the output polarity of the H-Bridge motor driver. You can do this by changing the voltage at the REV port of the H-Bridge. see the H-Bridge documentation for more information:   http://www.mathworks.com/help/physmod/elec/ref/hbridge.html?searchHighlight=rev
For controlling the voltage at the REV port, you can use a Controlled Voltage Source block. See the block's documentation for more information:  http://www.mathworks.com/help/physmod/simscape/ref/controlledvoltagesource.html
  2 件のコメント
Andrej
Andrej 2017 年 3 月 14 日
Hey Gillian Rosen,
thank you for for help. I will try it.
Onur Cimen
Onur Cimen 2020 年 9 月 30 日
Hello, do you have any solution which you can share here? Thanks in advance

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

コミュニティ

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by