image thumbnail

Dual Motor Control with TI LAUNCHXL-F28069M LaunchPad

version (212 KB) by Antonin
Field-Oriented Control with TI LAUNCHXL-F28069M, BOOSTXL-DRV8301 inverters and 2 PMS motors


Updated 27 Jul 2018

View License

This example shows how to use a closed-loop Field-Oriented Control (FOC) algorithm to regulate the speed and torque of a 2 three-phase Permanent Magnet Synchronous Motors (PMSM). This example uses C28x peripheral blocks and C28x DMC library blocks from the Embedded Coder Support Package for Texas Instruments C2000 Processors.
For newer versions and other hardware setup, check the shipping version of this example on this page:
Required Hardware:
- TI LAUNCHXL-F28069M LaunchPad (
- 2 BOOSTXL-DRV8301 with a 3-phase brushless motor and a 12-24V power supply (
- 2 PMSM (i.e. 2MTR-DYNO setup
More information on how the models have been created and how to use them in the following video:

Cite As

Antonin (2021). Dual Motor Control with TI LAUNCHXL-F28069M LaunchPad (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with R2014b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!