Jump to main content

##

# 1.4 Sensorless FOC on PMSM using ZS/MT Hybrid Estimator

This example application shows how to control the Permanent Magnet Synchronous Motor (PMSM) with ZS/MT Hybrid 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 a hybrid estimator with high frequency injection (ZS/MT) for low speed and back EMF observer with PLL estimator for high speed control. 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 run time using X2CScope.

Key features enabled in this project are:

- Dual shunt current measurement
- Speed control loop
- Hybrid ZS/MT

Kindly contact Microchip Local Sales for more details.

## 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/pmsm_zsmt_hybrid_pic32_mk.

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

Project Name | Description | Demo User Guide
--- | --- | ---
qspin_zsmt_hybrid_pic32mk_mca.X | MPLABX project for MCLV-48V-300W board with PIC32MK MCM DIM | MCLV-48V-300W with PIC32MK MCA DIM
qspin_zsmt_hybrid_pic32mk_mcm.X | MPLABX project for MCLV-48V-300W board with PIC32MK MCA DIM | MCLV-48V-300W with PIC32MK MCM DIM