This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem while closing the speed loop in both Sensored and sensorless FOC in PMSM

Hi,

I am not able to close the speed loop in PMSM FOC both sensored and sensorless projects. Either the motor vibrates and stops or it produces an alarm sound.

While I change from lsw=1 to lsw=2 the angle provided to park and Inverse park blocks should change from rg1.out to qep1.ElecTheta/ eSMO.Theta, but they are having a slight phase difference. I assume that is causing the problem.

I followed all build levels correctly as per mentioned in the application note but didn't succed. What is the correct way closing the speed loop ?

Regards,

Dijo

  • These two angles will not align because rg1 represents the forced angle representing the stator terminal voltage and eSMO.Theta represents the bemf angle. Hypothetically, when the current is zero they may align, but then the motor will not spin.

    There is going to be some difference in angle at the time of switch. If you can adjust the value of IdRef, smo_Kset, or startCnt, you may be able to get the transition easily but with a minor jerk.