Need help with DC motor modelling with PID

5 views (last 30 days)
Hi all,
I'm new to Simulink and am now trying to model the positional response of a dc motor in a closed-loop system using a PID.
Things I've done so far
  1. Parameter Estimation with actual DC motor response (using Simulink/Arduino interface)
But im facing some issues.
  1. When i add the radians to degress gain block, my readings are incorrect, even when i set Kp = 1, Ki and Kd = 0.
I would greatly appreciate any guidance on how to troubleshoot this issue or tell me what I've done wrong. Thank you!

Accepted Answer

Sam Chak
Sam Chak on 9 Mar 2025
The looping in your model is incorrect due to unit inconsistency. All calculations are performed in radians. You may design your own controller for the motor. In this case, PD control is sufficient because the plant (motor) has a pole at the origin due to the integrator.
Correct configuration:

More Answers (1)

Irwan Shah
Irwan Shah on 9 Mar 2025
Thanks for the help!

Products

Community Treasure Hunt

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

Start Hunting!