Run any Permanent Magnet Synchronous motor using a single model.
This example implements the motor swap of Permanent Magnet Synchronous Motor (PMSM) using Microchip MCS MCLV-48V-300W Development Board and dsPIC33AK128MC106 Motor Control Dual In-line Module (DIM). Using this example, any 3-phase PMSM up to 300W can be run in closed-loop speed control, without the need to rebuild and flash the software in the microcontroller.
- Download the repository and extract the contents.
- For instructions to use these demos, see the enclosed PDF document.
Requires MATLAB® release R2021b or newer
- MPLAB® X IDE and IPE (v6.25 or later)
- MPLAB® XC-DSC Compiler (v3.21 or later)
- MPLAB® Device Blocks for Simulink Toolbox (v3.59 or later)
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 2025 The MathWorks, Inc.