Which algorithm is AMMCLib based on?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Which algorithm is AMMCLib based on?

223 Views
Gibby
Contributor I

Which algorithm is AMMCLib (S32K14x_AMMCLIB_v1.1.34), specifically AMCLIB_BemfObsrvDQ and AMCLIB_TrackObsrv based on? Are they based on sliding mode observer? I'm wondering the meanings of their params. Many thanks in advance.

Labels (1)
0 Kudos
1 Reply

163 Views
petrz_
NXP Employee
NXP Employee

Hi, the AMCLIB_BemfObsrvDQ is not a sliding mode observer. It’s a Luenberger-type observer which estimates BEMF in a quasi-synchronous rotating coordinate γδ using angle of θγδ (angle between γ-axis and α-axis) for Park transformation. The BEMF in coordinate γδ reflects the angle error (θerror ) between γ-axis and the d-axis of the rotor. Then, a tracking observer (AMCLIB_TrackObsrv) is used to make θerror approach to 0, so that θγδ will be the real rotor position in the end. The observer is based on the mathematical model of the motor, thus the parameters of the observer are derived from the parameters of the motor. The AMMCLib User's Guide provides equations for calculating the observer parameters from the motor parameters.

0 Kudos