Microchip provides Simulink® blocksets for motor control applications targeting dsPIC Digital Signal Controller (DSCs) and PIC® microcontrollers (MCUs). This includes a library of blocks for creating motor controllers as well as reference models of the physical motors themselves. The models are supported by Microchip’s devices and development boards for a complete hardware and software motor control solution.
The motor control reference designs include the following:
Microchip Motor Control Library Blockset – Microchip Motor Control Library Blockset contains a number of basic Simulink blocks that can be used to jumpstart Model-Based Design of motor control applications using Microchip dsPIC DSCs in the dsPIC33F and dsPIC33E families. These blocks include reference frame transforms, a proportional-integral controller, and trigonometric functions, all of which can be used with Embedded Coder® to generate efficient code for the dsPIC DSC target device.
Microchip’s Motor Model Library – Microchip’s Motor Model Library is a set of components (“blocks”) that can be used with Simulink. These blocks allow engineers to model a system with permanent-magnet synchronous motors (PMSM) under closed-loop control of an embedded microcontroller, such as Microchip’s dsPIC Digital Signal Controllers.
MPLAB 16-Bit Device Blocks for Simulink – Microchip also offers integrated 16/32-bit Device Blocks for Simulink. These blocks enable users to map inputs and outputs in their Simulink models to dsPIC33 peripherals and to automatically generate code that runs on the microcontrollers. These peripheral blocks work seamlessly with the motor control libraries described here and can also be used for a variety of other applications.
These libraries enable developers to use Model-Based Design during their development and testing and to gain a better understanding of their motor control systems. Simulation can be used to confirm the behavior of real systems and it can also be used to explore system behavior under conditions that are impossible or cumbersome to test with a real system. For simulation only, users need MATLAB®, Simulink, and Fixed-Point Designer™ from MathWorks. For code generation and deployment to hardware, users also need MATLAB Coder™, Simulink Coder™, and Embedded Coder.
Together, these components provide a rapid prototyping solution that allows compiling and flashing Simulink models of a motor control system into a dsPIC DSC with a single push of a button. For more information, refer to the Motor Control Simplified landing page on the Microchip web site.
2355 W Chandler Blvd
Chandler, AZ 85224