This example shows how to use a closed-loop Field-Oriented Control (FOC) algorithm to regulate the speed and torque of a three-phase Permanent Magnet Synchronous Motor (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 F28027 LaunchPad
- BOOSTXL-DRV8301 with a 3-phase brushless motor and a 12-24V power supply.
More information on how the models have been created and how to use them in the following video:
Antonin (2021). Motor Control with TI LaunchPad (https://www.mathworks.com/matlabcentral/fileexchange/45124-motor-control-with-ti-launchpad), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!