F28379D PMSM Current Control

10 Ansichten (letzte 30 Tage)
Ugur Ufuk Korpe
Ugur Ufuk Korpe am 25 Jan. 2023
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.

Antworten (1)

Abhi Shankar Abhinav
Abhi Shankar Abhinav am 21 Apr. 2023
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.

Kategorien

Mehr zu Motor Control Blockset finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by