11 Conclusions
This application note illustrates how high-precision speed control of a 3-phase PMSM is achieved by an encoder-based Field Oriented Control algorithm using Microchip Technology’s 32-bit MCUs. The quadrature decoder of the SAME70 and the quadrature encoder interface of PIC32MK are explained in detail for accurate position measurement and speed calculation. The motor start-up, alignment and index pulse offset calculation is explained to achieve 90-degree phase shift between the stator and rotor fluxes.
The position and speed measurement methods explained can be applied in this document not only for the PMSM, but also for other motors, such as ACIM and BLDC.