Permanent Magnet Synchronous Motor Vector Control (PMSMVC) eTPU Function


The purpose of the PMSMVC function is to perform the current control loop of a field-oriented (vector control) drive of a permanent magnet synchronous motor (PMSM). The sequence of PMSMVC calculations consists of the following steps:

The PMSMVC calculates applied voltage vector components alpha & beta based on measured phase currents and required values of phase currents in 2-phase orthogonal rotating reference frame (D-Q). The PMSMVC function optionally enables to perform the limitation of calculated D and Q components of the stator voltages into the circle.

The PMSMVC does not generate any drive signal, and can be executed even on an eTPU channel not connected to an output pin. If connected to an output pin, the PMSMVC function turns the pin high and low, so that the high-time identifies the period of time in which the PMSMVC execution is active. In this way, the PMSMVC function, as with many of the motor-control eTPU functions, supports checking eTPU timing using an oscilloscope.

Functionality of PMSMVC.

For full description refer to AN2972.