In a permanent magnet synchronous motor (PMSM) vector control system, the current loop, the speed loop, the position loop and the phase-locked loop (PLL) inside the position-sensorless observer form a multistage cascaded control structure. The PI parameter design of each loop directly affects the dynamic response, the steady-state accuracy and the stability of the system. This chapter describes a continuous-domain PI parameter design method based on per-unit normalisation, discretises it to suit digital control, and gives the engineering steps of loop tuning.
a. Loop cascade structure and bandwidth constraints
In a cascaded control structure the inner loop must respond faster than the outer loop to preserve stability. The typical bandwidth constraints are:
Design proceeds from the inner loop outward: the current loop first, then the speed loop, and the position loop last. The PLL observer is designed independently but must match the speed loop bandwidth.
b. Per-unit system
Per-unit normalisation converts every physical quantity into a dimensionless relative value, simplifies the control parameters and decouples the design from the specific hardware. The base values are chosen as:
After normalisation the motor equations keep the same form as the physical equations, with the parameters (when normalised at the rated operating point), and . The PI gains also become dimensionless, which eases porting across platforms.
c. Current loop parameter design
c.1 Continuous-domain model
In the reference frame the current loop plant is:
With the back-EMF cross-coupling cancelled by feedforward, the -axis current loop can be treated as a first-order system:
Using pole-zero cancellation, the PI controller is set as:
Setting to cancel the plant pole gives:
where is the desired current loop time constant. The current loop closed-loop bandwidth is .
c.2 Per-unit form
In per-unit form, , and the normalised time . The per-unit PI controller is:
where . Substituting and gives:
where is the normalised bandwidth.
c.3 Discretisation
The continuous PI controller is discretised with the backward Euler method (or the trapezoidal method):
In the per-unit system the normalised sampling period is . The discretised recursion is:
where and are the discrete-domain gains (identical to the continuous-domain ones). In a fixed-point implementation they must be scaled to the Q format.
d. Speed loop parameter design
d.1 Continuous-domain model
The speed loop plant is the mechanical equation:
The electromagnetic torque is (field weakening neglected). With the current loop reduced to a first-order lag , the speed loop open-loop transfer function is:
where is the torque constant. With symmetrical optimum design and selected, the speed loop proportional and integral gains are:
The speed loop bandwidth is .
d.2 Per-unit form
In the per-unit mechanical equation the normalised moment of inertia is and the normalised torque is (when ). The per-unit speed loop PI gains are:
where .
e. Position loop parameter design
The position loop plant is the closed-loop speed loop, usually simplified to an integrator plus a small lag. The position loop PI controller is normally designed as:
The bandwidth is far below the speed loop bandwidth. A convenient design sets the position loop open-loop crossover frequency to , which gives:
(in physical units; the per-unit version is scaled accordingly).
f. Observer PLL loop parameter design
In position-sensorless control a phase-locked loop is normally used to extract the rotor angle and speed from the observed back EMF or flux linkage. The PLL closed-loop transfer function is:
Designed as a standard second-order system:
where is the PLL natural frequency and is the damping ratio (usually ). The PLL bandwidth is .
The PLL bandwidth should match the speed loop bandwidth, usually , so that the observed speed stays smooth while still tracking the speed loop command dynamically.
g. Tuning procedure
h. Discretisation and fixed-point implementation
h.1 Discretisation methods
The common discretisation methods are:
Both reduce to the same recursion:
h.2 Per-unit values and Q format
The continuous-domain value is converted to a per-unit value first and then to fixed point. With the Q15 format:
The sampling period is likewise converted to the per-unit value and expressed in the same Q format. In the discrete iteration:
where is the fixed-point multiply macro; overflow protection is required.
i. Conclusion
Multiloop PI parameter design is a core engineering skill in motor control. The inside-out order, per-unit normalisation that unifies the parameter scale, frequency-domain design of the continuous-domain gains, and the subsequent discretisation by the backward Euler method and conversion to fixed point together yield efficient and reliable digital control. The current loop parameters follow directly from the motor inductance and resistance; the speed loop parameters depend on the moment of inertia and the current loop bandwidth; the position loop bandwidth is far below the speed loop; and the PLL observer bandwidth matches the speed loop. Actual tuning still needs step response tests for fine adjustment, so that the system stays stable over the full operating range.
Compiled with AI assistance and reviewed by a human.