1.1 PMSM FOC using PLL Estimator

This example application shows how to control the Permanent Magnet Synchronous Motor (PMSM) with PLL Estimator based Field Oriented Control (FOC) on a PIC32MK Micro-controller.

Description

Permanent Magnet Synchronous Motor (PMSM) is controlled using Field Oriented Control (FOC). Rotor position and speed is determined using PLL estimator technique. Motor start/stop operation is controlled by the switch and motor speed can be changed by the on-board potentiometer. Waveforms and variables can be monitored runtime using X2CScope.

Downloading and building the application

To clone or download this application from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. This content can also be downloaded using content manager by following these instructions.

Path of the application within the repository is apps/mcp_pmsm_foc_pll_estimator_pic32_mk.

To build the application, refer to the following table and open the project using its IDE.

Project NameDescriptionDemo User Guide
mclv2_pic32mk_mcm_pim.XMPLABX project for MCLV2 board with PIC32MK MCM PIMMCLV2 with PIC32MK MCM PIM
mclv2_pic32mk_mca_pim.X MPLABX project for MCLV2 board with PIC32MK MCA PIMMCLV2 with PIC32MK MCA PIM
mchv3_pic32mk_mcm_pim.XMPLABX project for MCHV3 board with PIC32MK MCM PIMMCHV3 with PIC32MK MCM PIM