3.2 Sliding Mode Observer

The Sliding Mode Observers (SMO) belong to a class of non-linear observers used to estimate the internal state of an observable system based on the measured input and output. In this application, the SMO is used to estimate the back-EMFs of the PMSM. The major advantage of using SMO over a conventional linear back-EMF based rotor position and speed estimation is its robustness in the presence of unknown signals and uncertainties.

The SMO estimates the BEMFs using a PMSM system model, voltage, and current vector input. The following figure shows a simplified block diagram of the SMO-based rotor position and speed estimation method.

Figure 3-2. Sliding Mode Observer Based Angle Calculation

The following set of equations represent the state space model of a PMSM motor:

Equation 3-1. Current State Space
[ i α i β ] = R s L s [ i α i β ] 1 L s [ e α e β ] + 1 L s [ U α U β ]
Equation 3-2. Back-EMF State Space
[ e α e β ] = w e J [ e α e β ]

The observer can be expressed as follows:

Equation 3-3. Sliding Mode Current Observer
[ i ^ a i ^ β ] = R s L s [ i ^ a i ^ β ] 1 L s [ e ^ a e ^ β ] + 1 L s [ U ^ a U ^ β ] + [ σ σ ( i a i ^ a ) ( i β i ^ β ) ]
Equation 3-4. Back-EMF Observer
[ e ^ a e ^ β ] = w e J [ e ^ a e ^ β ] L [ σ σ ( i a i ^ a ) ( i β i ^ β ) ]

Where:

  • σ is the sliding function, and L is the back-EMF observer pole placement matrix

From the equations, the estimation error can be expressed as follows:

Equation 3-5. Current Estimation Error Dynamics
[ i ~ a i ~ β ] = R s L s [ i ~ a i ~ β ] 1 L s [ e ~ a e ~ β ] [ σ σ ( i a i ^ a ) ( i β i ^ β ) ]
Equation 3-6. Back-EMF Estimation Error Dynamics
[ e ~ a e ~ β ] = w e J [ e ~ a e ~ β ] + L [ σ σ ( i a i ^ a ) ( i β i ^ β ) ]

Where:

  • [ i ~ a i ~ β ] = [ i a i β i ^ a i ^ β ] is the current estimation error
  • [ e ~ a e ~ β ] = [ e a e β e ^ a e ^ β ] is the back-EMF estimation error

The sliding function σ is designed to be a discontinuous function of estimation errors such that the sliding condition is assured, and the system state is forced to zero in finite time. In this document, the following sliding mode function is used:

Equation 3-7. Sliding Mode Function
σ ( x ) = { m x φ i f | x | < φ m , i f x φ m i f x φ

If the value of m in the sliding mode function is large enough, a sliding condition is achieved and therefore the error dynamics evolves to zero. This implies:

[ σ ( i a σ ( i β i ^ a ) i ^ β ) ] 1 L s [ e ~ a e ~ β ]

Therefore, from the equations, the error dynamics of back-EMF observer can be expressed as:

Equation 3-8. Back-EMF Observer After Sliding Condition is Achieved
[ e ~ a e ~ β ] = ( w e J 1 L s L ) [ e ~ a e ~ β ]

For a stable back-EMF observer, the matrix ( w e J 1 L s L ) should have negative eigenvalues. In other words, for an eigenvalue of λ, the matrix L can be determined as follows:

w e J 1 L s L = λ I

or,

Equation 3-9. Back-EMF Observer Pole Placement Matrix
L = L s ( λ I w e J )