PMSM field-oriented control fundamentals
Learn how PMSM field-oriented control uses d- and q-axis currents, rotor electrical angle and inverter voltage commands to regulate flux and electromagnetic torque.
1. Why field-oriented control?
A three-phase PMSM produces sinusoidal electrical quantities. FOC transforms those changing phase quantities into a rotating coordinate system attached to the rotor. In that frame, balanced sinusoidal currents become nearly constant d- and q-axis values, which makes feedback control much easier.
The d-axis is aligned with the rotor permanent-magnet flux. The q-axis is 90 electrical degrees away. For a surface PMSM, q-axis current mainly creates torque while d-axis current changes the flux-producing component.
2. The PMSM current equations
\(R_s\) is the stator phase resistance used in the dq model. \(L_d\) and \(L_q\) are the axis inductances. \(\psi_f\) is the permanent-magnet flux linkage. The speed-dependent terms couple the axes and create back-EMF.
3. The complete control flow
The rotor angle is essential because the Park and inverse-Park transforms must use the correct electrical orientation. An angle offset rotates both the measured currents and commanded voltages into the wrong frame.
4. Mechanical speed, electrical speed and timing
Electrical speed is pole-pair count multiplied by mechanical speed. Sampling frequency controls how often measurements and controller calculations update. Switching frequency controls the PWM carrier. They may be equal, but they are not the same concept.
Electrical-speed calculator
\(T_s=1/f_s\) is the control-update period. The effective delay \(T_d\) is the time from sampling and angle capture to the corresponding voltage action. The next topics show why this delay changes the implemented loop.
5. Continue with controller design
Now that the plant and signal flow are clear, start with the continuous-time IMC PI baseline. Then compare it with the exact discrete-time delay-aware design.