MATLAB: PMSM Drive system Linearization

electric_motor_controlMATLABnonlinearpower_electronics_controlsimulink

Hello Everybody
I am working on a MATLAB Simulink model for PMSM drive system, my system is controlling the motor's torque. I am facing a problem in linearizing the plant. I have tried to tune PID controller parameters, but the plant cannot be linearized. I don't understand the problem enough to fix it effectively, hereby I tried a lot of things randomly but never worked, in the attached file I tried some manual tuning method but it doesn't result in good dynamic response because a huge overshoot is observed in the output currents and torque 🙁
Can anyone help in this regard. The Simulink file is attached.
Thanks in advance
Ali Bashabsheh

Best Answer

Hi there,
Linearization does not work for models with discontinuities such as PWM and power semiconductors.
There are a couple of techniques we recommend:
1. Do ac sweep (frequency response estimation) and use that frequency response for tuning - see this example .
2. Use PID Autotuner block to tune PID Controller for you- see this example .
Hope this helps.
Arkadiy
Related Question