DC motor with PID

조회 수: 11(최근 30일)
SilverSurfer 2015년 6월 11일
답변: Dilawar Khan 2017년 11월 26일
I'm trying to model a dc motor for an hev vehicle. My aim is to let the motor produce a target torque. I get the reference current with I=T/K then I compare this value to the current generated by the motor and I regulate armaturevoltage with a PID.
1) I get very high voltage values. It seems to me they are too high. Don't know if they are realistic.
2) I'd like to connect the motor to a simplified battery model. I don't have idea how to do it. Should I regulate the motor voltage so that it is equal to battery one?
I don't want to use Simscape.


Drew Davis
Drew Davis 2015년 6월 12일
1. When you say you get very high voltage values, do you mean the output of the controller outputs very high voltages? If this is the case, it is likely that your gains for the PID controller are poorly designed.
See this page for information on how you can automatically tune PID gains in Simulink.
2. If your torque is proportional to current, you then would want your control loop to track some reference current with your input to the circuit a voltage or pwm signal.
  댓글 수: 1
SilverSurfer 2015년 6월 15일
  1. Yes, I get 8000 - 9000 V. I used automatic tuning. Before I used Ziegler–Nichols method but required too much time.
  2. Didn't understand. I'm using a closed loop system to follow the reference current, which is proportional to current. Because of high values of voltage I don't know if there is something wrong in the modelization or if I need to use something like a buck DC/DC converter.
I know that a DC motor it is not used for that purpose (traction fro automotive)but I'm using since it should be a semplification for my model (I'm doing it for an exam).

댓글을 달려면 로그인하십시오.

Dilawar Khan
Dilawar Khan 2017년 11월 26일
Assalam-u-alaikum every one .I want to make a simulink project to control DC motor using PID controller, i am new in this field kindly some one guide me how can i precede step by step,Thank you .


더 많은 답변 보기:  Power Electronics Community


Find more on Energy Storage in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by