Jeff Tackett, MathWorks
This master class uses a field-oriented control algorithm for a permanent magnet synchronous motor to illustrate how to generate efficient fixed-point C code from the controller model, integrate it with handwritten code for the embedded device drivers, and use the fully integrated software to spin the motor hardware. Topics include model architecture, algorithm export, scheduling techniques, code profiling, and code verification using processor-in-the-loop (PIL) testing. The data dictionary capability in R2014a is also covered.
Recorded: 13 maj 2014