5.4. Position and Velocity Estimation

5.4.6. Overview

To facilitate sensorless control of a PMSM, MCAF offers a choice between the AN1292 Phase-locked Loop (PLL) and the Angle-tracking Phase-locked Loop (ATPLL) estimators. In addition to these, support is also provided for Quadrature Encoder through the dsPIC® DSC QEI (Quadrature Encoder Interface) peripheral.

5.4.7. Comparative analysis

5.4.7.1. Summary

Table 5.5 Comparison of estimators

Criteria

AN1292 PLL

QEI

ATPLL

ZS/MT

Added in MCAF version

R1

R1, R4 [1]

R5 [2]

R7

Sensors

phase currents, voltages [3]

quadrature encoder

phase currents, voltages

phase currents, voltages

Intrusive? [6]

no

no

no

yes [7]

Usable at or near zero speed?

no

yes [4]

no

yes

Usable at or near full speed?

yes

yes

yes

yes [5]

Supports significant rotor saliency?

no

yes

yes

yes

Requires significant rotor saliency?

no

no

no

yes

Sensitivity to motor parameter inaccuracy

moderate

none

low

moderate

Notes

5.4.7.2. Additional details

Both the AN1292 Phase-locked Loop (PLL) estimator and the Angle-tracking Phase-locked Loop (ATPLL) estimator algorithms operate on the principle that the steady-state value of the d-axis component of the back emf is equal to zero. Unlike the AN1292 PLL estimator however, the ATPLL estimator includes a PI controller module in its structure. This PI controller needs to be tuned carefully in order to operate stably and satisfactorily over the entire operating velocity range. The AN1292 PLL on the other hand does not have a PI controller and is easier to implement in practice. At the cost of the additional tuning of the PI controller, the ATPLL estimator offers the following advantages over the AN1292 PLL estimator.

One of the advantages offered by the ATPLL estimator is its applicability to motors with both salient and non-salient rotors. By choosing the suitable equations for back-emf calculation for motors with salient and non-salient rotors, the rotor angle and rotor velocity can be correctly estimated by the ATPLL estimator.

The other major advantage offered by the ATPLL estimator over the AN1292 PLL estimator is its robustness with respect to the value of the back-emf constant. For the AN1292 PLL estimator, a discrepancy between the values of the back-emf constant used by the estimator and the actual back-emf constant of the motor results in a steady-state error in the estimated rotor angle. There is no steady state error in the estimated velocity. The ATPLL estimator however is not susceptible to any discrepancy in the back-emf constant and estimates the rotor velocity and angle accurately.

Figure 5.75 shows the actual rotor angle, the estimated angle by the ATPLL estimator and the estimated angle by AN1292 PLL estimator in steady state, when the actual back-emf constant of the motor (\(K_{e\_act}\)) is 20% lower than the value used by the estimator (\(K_{e\_estimator}\)). Figure 5.75 also shows the error in the estimated angle by the AN1292 PLL estimator and the ATPLL estimator in separate plots. It can be observed that there is a significant steady-state error in the estimated angle by the AN1292 PLL estimator, whereas there is no steady-state error in the estimated angle by the ATPLL estimator.

Similar plots are shown in Figure 5.76 where the actual back-emf constant of the motor (\(K_{e\_act}\)) is 20% higher than the value used by the estimator (\(K_{e\_estimator}\)). It can be observed that there is a steady-state error in the estimated rotor angle by the AN1292 PLL estimator in this case as well, however the sign of the error is reversed. The ATPLL estimator however does not show any steady-state error in the estimated rotor angle.

../_images/pll_atpll_angle_err_Ke_80pc.png

Figure 5.75 Estimated Rotor Angle by the ATPLL and AN1292 PLL for \(K_{e\_act} = 0.8 \times K_{e\_estimator}\)

../_images/pll_atpll_angle_err_Ke_120pc.png

Figure 5.76 Estimated Rotor Angle by the ATPLL and AN1292 PLL for \(K_{e\_act} = 1.2 \times K_{e\_estimator}\)