DC motor built in Simulink different from Simpowersys

4 views (last 30 days)
DavidLS
DavidLS on 20 May 2014
Answered: Sabin on 19 Dec 2024 at 20:09
I built a DC motor model using basic Simulink blocks according to textbook equations, but when compared with Simpowersys DC motor model in exactly same closed-loop simulation, the speed profile is not the same, even with same PI parameters. I attached my design here. Would anyone please advise why and how to make their result match?
  3 Comments
DavidLS
DavidLS on 22 May 2014
Edited: DavidLS on 22 May 2014
Hi, Yao Li, thanks for the answer. I attached the file in the post below. The model from Simpower does have a few more parameters such as initial speed and initial current. It seems they can't be set to zero, so I set to very small values. The rest parameters are the same. Actually, I tried the example from Mathworks using Simscape models, and it turned out the three results are different from each other. In the file I uploaded, I included all three models in it.

Sign in to comment.

Answers (1)

Sabin
Sabin on 19 Dec 2024 at 20:09
Firstly, the numerical values used in the custom block are not consistent with the Simscape implementation. The inductance value is not the same (resistance slightly different as well), in the custom block is used inductance in mH instead of H and there is no conversion. Simscape assumes that back emf and torque constant are equal. Because in the custom implementation is used a different definition it means that torque constant should be back emf constant multiplied by 30/pi (slight discrepancy here as well).
Secondly, and the most important difference, in the Simscape model speed is measured in rad/s and in the custom model is measured in rpm. Therefore, the controllers are not getting the same feedback. Rectifying this will give similar results.

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Specialized Power Systems 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!