Sensorless Field‑Oriented Control of PMSM with Power Factor Correction on Microchip MCHV‑230VAC‑1.5kW Development Board
This example demonstrates sensorless Field‑Oriented Control (FOC) of a Permanent Magnet Synchronous Motor (PMSM) powered from a 240V AC mains supply using the Microchip MCHV‑230VAC‑1.5kW Development Board.
A single Simulink® model implements both software‑controlled Power Factor Correction (PFC) and sensorless PMSM motor control. The PFC stage boosts the 240V AC input to a regulated 380V DC bus while maintaining low total harmonic distortion (THD <5%) and a power factor greater than 0.99 at rated load.
The sensorless motor control algorithm (observer-based position/speed estimation method) uses the I‑F (current–frequency) based startup strategy, ensuring reliable motor startup across a wide range of load conditions and a smooth transition to closed‑loop speed control.
- Download the repository and extract the contents.
- Connect the development board to 240V mains AC supply
- Connect a 400V three phase PMSM to the kit.
- Build and flash the model contained in the repository.
- Control the motor using the knob on the kit.
Requires MATLAB® release R2025b or newer
- MPLAB® X IDE and IPE (v5.45 or later)
- MPLAB® XC compilers (v1.6 or later)
- MPLAB® Device Blocks for Simulink Toolbox
For detailed instructions to use these demos, see the enclosed pdf documents.
The license is available in the License.txt file in this GitHub repository.
Copyright 2026 The MathWorks, Inc.