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


sensorless-foc-model

Simulation Result


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:

2950-dm330023-3

dsPICDEM™ MCHV-3 High-Voltage Development Board

dm330021-2-mclv-2-development-board-front-layered

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.

microchip-university-horizontal

Motor Control Products


Documentation


Using the LX7720 and SAMRH71 for Motor Control Applications in Space

This video demonstrates using the LX7720 Rad Hard Motor Control IC with the SAMRH71 Rad Hard Arm MPU for satellite motor control and position sensing applications. Key features of each component are given along with a description of the evaluation system using the LX7720-DB daughter board with the SAMRH71F20-EK evaluation kit.