I am getting Negative speed in PMSM FOC using MTPA controller block.

3 vues (au cours des 30 derniers jours)
Tejas
Tejas le 21 Mai 2024
I am trying to implement Field oriented control under field weakening condition for PMSM motor. Manually setting value of Id to negative values, I am getting desired results of speed and Torque but when i try to use MTPA Controller block, speed always get negative to certain RPM and then saturates (see image below). I have attached images of parameters used in MTPA and Motor block, please help me in following what I am doing wrong and how to resolve it. P=0.05 and I = 4 for all PI controllers here i used.
Block Diagram:
Block Parameters:
Result:
  2 commentaires
Joel Van Sickel
Joel Van Sickel le 28 Mai 2024
can you share your model?
Tejas
Tejas le 30 Mai 2024
Here is the slx file. Please tell what is wrong here. Thanks for helping.

Connectez-vous pour commenter.

Réponses (1)

Joel Van Sickel
Joel Van Sickel le 3 Sep 2024
thanks for sharing your model. It looks like you've got a lot going on here. On first inspection, I don't think your current reference loops are properly tuned. They arne't matching the reference currents that you are asking for. The motor is spinning negative because of the external torque that you are applying. You should start by getting it to work with 0 torque applied, and just get it to track realistic Id and Iq references. Once that is working, you can worry about the MTPA block and the control loop on torque.

Community Treasure Hunt

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

Start Hunting!

Translated by