フィルターのクリア

F28379D PMSM Current Control

4 ビュー (過去 30 日間)
Ugur Ufuk Korpe
Ugur Ufuk Korpe 2023 年 1 月 25 日
回答済み: Abhi Shankar Abhinav 2023 年 4 月 21 日
Hello,
I am trying to control dq- axis currents of PMSM with Model Predictive Control using F28379D microcontroller. I am controlling the speed of the motor in open-loop. However when I switch the algorithm to closed-loop DC voltage source becomes short circuit. I checked the code several times and I didn't find any problem. But I am thinking that I might entered the wrong offset angle value into the control algorithm. My questions are if I enter a wrong offset angle value into the control algorithm, Does the algorithm still work or Does it break? And another question is that How can I calculate or measure the offset angle of the rotor correctly? I used the back-emf method that I compared back emf voltage of phase A-neutral to index pulse of the encoder. Then I calculated the time difference between index pulse and positive to negative zero crossing of back emf voltage. Thank you for your help and responses.

回答 (1 件)

Abhi Shankar Abhinav
Abhi Shankar Abhinav 2023 年 4 月 21 日
Offset angle incorrect value will have an effect on the control, since the control is tied to dq refrence framework. Offset value calibration would depend on the type of the sensor. Here is example for encoder:
For MPC for motor control, take a look at the shipping example: https://ch.mathworks.com/help/mcb/gs/run-foc-pmsm-using-model-predictive-control.html
Its also setup for the f28379d launchpad.

カテゴリ

Help Center および File ExchangeMotor Control Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by