Need help with DC motor modelling with PID

6 ビュー (過去 30 日間)
Irwan Shah
Irwan Shah 2025 年 3 月 9 日
回答済み: Irwan Shah 2025 年 3 月 9 日
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!

採用された回答

Sam Chak
Sam Chak 2025 年 3 月 9 日
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:

その他の回答 (1 件)

Irwan Shah
Irwan Shah 2025 年 3 月 9 日
Thanks for the help!

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by