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: https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/permanent-magnet-synchronous-motor-field-oriented-control.html
- TI LAUNCHXL-F28069M LaunchPad (http://www.ti.com/tool/LAUNCHXL-F28069M)
- 2 BOOSTXL-DRV8301 with a 3-phase brushless motor and a 12-24V power supply (http://www.ti.com/tool/BOOSTXL-DRV8301)
- 2 PMSM (i.e. 2MTR-DYNO setup http://www.ti.com/tool/2mtr-dyno)
More information on how the models have been created and how to use them in the following video:
Antonin (2022). Dual Motor Control with TI LAUNCHXL-F28069M LaunchPad (https://www.mathworks.com/matlabcentral/fileexchange/49109-dual-motor-control-with-ti-launchxl-f28069m-launchpad), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!