We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

Open-Source Modeling, Code Generation and Real-Time Debug Tools


Simplify your next motor control design with MPLAB® X Integrated Development Environment (IDE), the free and open-source ScilabXcos and X2C tools that provide a full-featured model-based design platform for real-time motor control applications. The X2C code generation tool supports our Digital Signal Controllers (DSCs), microcontrollers (MCUs) and development boards to deliver a complete hardware and software motor control solution.

Key Features:


  • Works with dsPIC® DSCs and PIC24, PIC32 and SAM MCUs
  • Tightly integrated with MPLAB X IDE and MPLAB Code Configurator (MCC)
  • X2C-Scope enables real-time debugging with eight-channel virtual oscilloscope
  • Includes many examples and demos, including Field-Oriented Control (FOC) algorithm demos using the dsPICDEM™ MCLV-2 and MCHV-3 motor control development boards

Visit here and www.sim2tronic.com/solutions to learn more about the rapid prototyping environment.

Motor Control Demos


The Scilab/Xcos/X2C environment include these demo examples:

  • FOC algorithm with PMSM motor model for dsPIC33EP
  • FOC algorithm with PMSM motor model for dsPIC33CK
  • FOC dynamometer with PMSM motor model for dsPIC33EP
  • FOC algorithm with PMSM motor model for PIC32MK
  • FOC algorithm with PMSM motor model for SAM E70

Sensorless FOC Model


Simulation Result


Motor Control Development Boards


You can use the dsPICDEM MCHV-3 and MCLV-2 development boards to verify your simulation results and the code generated by the Scilab/Xcox/X2C tools:

dsPICDEM™ MCHV-3 High-Voltage Development Board

dsPICDEM MCLV-2 Low-Voltage Development Board

Using X2CScope to Simplify Motor Control Development and Debugging


In this free Microchip University class, you will learn how to add X2Cscope to your motor control application firmware, utilize X2Cscope GUI watch and scope views and use more advanced scripting features if needed.

Motor Control Products


Documentation


Title
AN1206 - Sensorless Field Oriented Control (FOC) of an AC Induction Motor (ACIM) Using Field Weakening Download
AN1292 - Dual-Shunt FOC with PLL Download
AN3049 - Sensorless Position Control of Brushed DC Motor Using Ripple Counting Technique Download
AN2584 - Integrated Power Factor Correction (PFC) and Sensorless Download
AN1162 - Sensorless Field Oriented Control (FOC) of an AC Induction Motor (ACIM) Download
AN887 - AC Induction Motor Fundamentals Download
AN955 - VF Control of 3-Phase Induction Motor Download
AN1305 - Sensorless 3-Phase Brushless Motor Control with the PIC16FXXX Download
AN900 - Controlling 3-Phase AC Induction Motors Using the PIC18F4431 Download
AN905 - Brushed DC Motor Fundamentals Download
AN2757 - Sensored (Encoder-Based) Field Oriented Control of a Three Phase Permanent Magnet Synchronous Motor (PMSM) Download
AN2520 - Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Equation-based Flux Weakening (FW) Application Note Download
AN2590 - Sensorless FOC for PMSM Using Reduced Order Luenberger Observer - Sensorless FOC for PMSM Using Reduced Order Luenberger Observer Application Note Download
AN984 - An Introduction to AC Induction Motor Control Download
AN967 - Bidirectional VF Control of Single and 3-Phase Induction Motors Using the PIC16F72 Download
AN857 - Brushless DC Motor Control Made Easy Download
AN822 - Stepper Motor Microstepping with PIC18C452 Download
AN843 - Speed Control of 3-Phase Induction Motor Using PIC18 Microcontrollers Download
AN696 - PIC18CXXX/PIC16CXXX DC Servomotor Download
Title
Motor Control and Drive Brochure Download
Title
CE002 Configuring 10-Bit dsPIC DSC A/D Converters for 1 Msps Conversion Rate Download
CE019 - Proportional Integral Derivative (PID) controllers & closed-loop control Download
CE155 - Real-Time Data Monitoring (RTDM) Example Download
PFC Sensorless FOC PLL Estimator MCHV Download
Sensorless FOC PLL Estimator MCLV Download
Title
dsPIC33 Motor Control Library for FOC Download
Title
dsPICDEM MCLV-2 (DM330021-2) Development Board User's Guide Download
dsPICDEM MCSM Development Board Users Guide Download
Motor Control Starter Kit with mTouch User Guide Download
dsPICDEM MCHV-2 Development Board User's Guide Download
Title
WP100 - How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Download

Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vehicula velit sit amet turpis rutrum vehicula. Donec eu varius velit, nec ultricies arcu. Fusce vitae pulvinar lorem. Etiam sodales et ipsum volutpat suscipit. Aliquam non mauris ut lectus volutpat feugiat id eget massa. Aliquam vel eleifend metus. Nam ultricies, risus sed tempor suscipit, dolor ligula sodales erat, et porta magna sem fermentum felis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec commodo magna at scelerisque sollicitudin. Morbi elit tortor, blandit vel imperdiet in, ullamcorper eu tortor. Etiam dapibus eleifend elementum. Vestibulum finibus efficitur mauris, vitae convallis ex molestie non. Etiam luctus at mauris accumsan finibus.