MATHW-3P-SLEC
MathWorks MATLAB, Simulink, C2000 Microcontroller Blockset and Embedded coder
MATHW-3P-SLEC
Overview
C2000 Microcontroller Blockset: Save design time and get into production faster by using Model Based Design with C2000 MCU’s and MathWorks software tools.
MathWorks MATLAB, Simulink, C2000 Microcontroller Blockset and Embedded Coder generate ANSI/ISO C code that can be compiled and executed on Texas Instruments™ (TI) C2000 microcontrollers (MCUs) using Code Composer Studio IDE. Embedded Coder lets you easily configure the code generated from MATLAB® and Simulink® algorithms to control software interfaces, optimize execution performance, and minimize memory consumption.
C2000 Microcontroller Blockset provide the following features:
- Automated build and execution
- Block libraries for on-chip and on-board peripherals such as ADC, digital I/O, ePWM, SPI, I2C, and more
- Real-time parameter tuning and logging using external mode
- Processor optimized code including IQMath libraries
- Ability to perform processor-in-the-loop (PIL) tests with execution profiling
- Examples for PMSM FOC motor control and DC/DC buck converter
- Generates code for the Control Law Accelerator (CLA) co-processor
- Design for Multicore architecture in Single Model
- Inter-Processor Communication (IPC)
- ADC/PWM synchronization
- Interrupt triggering
- On-device profiling allows you to see a live visualization of hardware execution information, e.g. task preemption and overrun and CPU load, by streaming data from the hardware to Simulink Data Inspector (SDI) viewer
Motor Control Blockset™: Design and implement motor control algorithms on C2000
Motor Control Blockset provides reference examples and blocks for developing field-oriented control algorithms for brushless motors. The examples show how to configure a controller model to generate compact and fast C code for any target MCU (with C2000 Microcontroller Blockset and Embedded Coder®). You can also use the reference examples to generate algorithmic C code and driver code for specific motor control kits, including more than 15 example models for TI C2000-based hardware.
The blockset contains many tools for creating and tuning speed and torque controllers including:
- Park and Clarke transforms, sliding mode and flux observers, and a space-vector generator
- Automatic controller gain tuning based on specified bandwidth and phase margins for current and speed loops (with Simulink Control Design™)
- Utilities for collecting data directly from hardware and calculating motor parameters to create an accurate motor model. You can use the parameterized motor model to test your control algorithm in closed-loop simulations.
University text book: Introduction to Microcontroller programming for power electronics control applications: Coding with MATLAB® and Simulink® written by Politecnico di Milano (additional support from Tampere University)
Downloads
MOTOR-CONTROL-BLOCKSET — Motor Control Blockset™ from MathWorks. Paid add-on product to MATLAB and Simulink. A free 30-day trial is available. Embedded Coder and C2000 Hardware Support Package are required to automatically deploy algorithms to TI hardware.
Supported products & hardware
C2000 real-time microcontrollers
Arm Cortex-R MCUs
Evaluation board
Development kit
Related design resources
Software development
SOFTWARE DEVELOPMENT KIT (SDK)
DRIVER OR LIBRARY
IDE, CONFIGURATION, COMPILER OR DEBUGGER
Support & training
Video series
View all videosVideos
Disclaimer
Certain information and resources (including links to non-TI sites) above may be provided by a third-party partner, and is included here merely for your convenience. TI is not the provider of, and is not responsible for, the content of such information and resources, and you should evaluate them carefully for your intended uses and on your own behalf. The inclusion of such information and resources here does not imply endorsement of any third-party company by TI, and shall not be construed as a warranty or representation regarding the suitability of any third-party products or services, either alone or in combination with any TI product or service.