Skip to content

mathworks/Motor-Control-Microchip

Repository files navigation

Demo for Motor Control Deployment on Microchip Controllers

Sensorless Field-Oriented Control (FOC) of PMSM Using Microchip's dsPICDEM™ MCLV-2 Development Board

This example implements the field-oriented control (FOC) technique to control the speed of a threephase permanent magnet synchronous motor (PMSM). This example uses the flux observer sensorless position estimation technique.

This motor control is realized using the Microchip dsPICDEM™ MCLV-2 Development Board. It provides a cost-effective method of evaluating and developing 3-phase sensored or sensorless Brushless DC (BLDC) and Permanent Magnet Synchronous Motor (PMSM) control applications. The board supports Microchip’s 100-pin motor control Plug-In-Modules (PIMs) for the dsPIC33C, dsPIC33E and dsPIC33F Digital Signal Controllers (DSCs) and also for the PICM32MK and ATSAME70 families. The board supports the use of the internal on-chip op amps found on certain dsPIC® or PIC32MK devices, or the external op amps provided on the MCLV-2 board. For more details about the hardware, see dsPICDEM™ MCLV-2 Development Board (DM330021-2).

Setup

  1. Download the repository and extract the contents.
  2. For instructions to use the repository, see the document Sensorless_FOC_Hardware _Test_Procedure_dsPIC33EP.pdf.

Requires MATLAB® release R2021b or newer

3rd Party Products

Getting Started

For detailed instructions about using the repository, see the document Sensorless_FOC_Hardware _Test_Procedure_dsPIC33EP.pdf.

License

The license is available in the License.txt file in this GitHub repository.

Community Support

MATLAB Central

Copyright 2022 The MathWorks, Inc.