PID tuner not working for Simulink BLDC Motor Controller

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.

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2018년 8월 15일
편집: Arkadiy Turevskiy 2018년 10월 29일

0 개 추천

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

Hi Arkadiy,
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 2017b. I have already referred to the links you have attached above to use the PID Autotuner appropriately . 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, but it is random. When I am using the computed P and I gains for the PI controller it isnt stabalizing the control loop or the motor speed.
Other than the links you have shared I have also refered Link1 and Link2. I am unble to open Link2 on MATLAB due to some missing licenses like Simscape electrical.
Could you please help me with this issue. Why the Online PID tuner or Autotuner is not working, what could be the reason?
Also if you have more examples which I can open on MATLAB for better understanding of Closed loop PID Autotuner, could you please share it with me.
Thanks,
Shalini Tripathy
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
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

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

질문:

CB
2018년 5월 17일

댓글:

2020년 9월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by