Need help with DC motor modelling with PID

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!

 Réponse acceptée

Sam Chak
Sam Chak le 9 Mar 2025

0 votes

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:

Plus de réponses (1)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by