Simulation and principle introduction of sensorless control of permanent magnet synchronous motor based on square wave signal injection
The injected high-frequency square wave signal is:
The high-frequency response current of the estimated shaft can be obtained:
When injecting a high-frequency voltage signal into the stator winding, the frequency of the injected high-frequency signal is much higher than the frequency of the fundamental wave signal. Therefore, the voltage model of IPMSM on the a-β axis can be expressed as:
Assuming that within a sampling period, the current changes linearly, and di/dt is equal to △i/△t, it can be organized as:
Block diagram of rotor position estimation:
There are so many principles, so let's put a non-inductive simulation block diagram of high-frequency square wave voltage signal injection:
It is mainly the three points circled above, so I did not add MTPA to this simulink for simplicity, and you can add it if you are interested.
Put the parameters and the built model below:
Given speed:
Speed ring:
function y = fcn(u)
if (abs(u)>300)
y=0;
else
y=1;
end
Current loop:
Square wave injection module:
inverter:
motor:
meaument module:
extract fundamental frequency signal model:
position and speed observer:
the module on the left of the above picture:
Among them, PI:
Two-phase static coordinate system extracts high-frequency signals (right module):
Waveform result:
Actual speed and estimated speed Waveform:
Actual angle and estimated angle Waveform:
Give a like and follow Thank you! ! ! !
In addition, the model parameters have been given. Except for the transformation module and the SVPWM module, you can try it with your own model. If it doesn’t work, then ask me for a comment, and I will usually reply on the same day.