PID tuner not working for Simulink BLDC Motor Controller

5 views (last 30 days)
Hi,
I am using discrete PI controller for simulink BLDC Motor(Simpower systems) and controller, I have speed feedback from motor in rpm and trying to get PI block's output for duty cycle input of PWM generator. Whenever I press Tune button its says failed to linearized the model and sometimes it does not get launched. If I manually put the PI parameters my motor and controller is working fine.

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 15 Aug 2018
Edited: Arkadiy Turevskiy on 29 Oct 2018
Hi,
When you press "tune" button, PID Tuner tries to linearize the model and comes up with zero due to discontinuities introduced by PWM.
To tune PID Controller in this case use new PID Tuning capabilities introduced in recent releases. See here and watch this video which shows exactly what you are trying to do.
Hope this helps.
Arkadiy Turevskiy
MathWorks
P.S. There is now a shipping example in R2018b showing how to do this, please see here .
  3 Comments
Arkadiy Turevskiy
Arkadiy Turevskiy on 10 Dec 2018
Hello Shalini,
It is hard to diagnose what's not working without a model. It could be that experiements parameters are not chosen properly. I suggest you contact MathWorks Technical Support for assistance with your problem.
Arkadiy
Mudit Verma
Mudit Verma on 14 Sep 2020
I am using online PID tuner or Autotuner block to tune the PI controller for simulink BLDC Motor example(Simpower systems). The MATLAB version I am using is 2018b. Although I have connected the block properly and the moment I push the start and stop button of the Online tuner it does compute the P and I gains, It shows zero values. I have attach my model files plzz check it

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!