MathWorks has put together a really nice solution showing their embedded coder product working with our motor control launchpad and booster pack.
Description |
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. |
http://www.mathworks.com/matlabcentral/fileexchange/45124-motor-control-with-ti-launchpad