Main Content

Externally Excited Synchronous Motor Field Oriented Control

This example shows how to control the torque in an externally excited synchronous motor (SM) drive by using field-oriented control. A high-voltage battery feeds the SM through a controlled three-phase converter for the stator windings and through a controlled two-quadrant chopper for the rotor winding. Both converters are controlled using Averaged Switch and modulation waverforms for fast simulation. The implementation allows you to easily switch to PWM control signals. Current references for the d-axis, q-axis, and excitation are generated offline and implemented using 3-D lookup tables. Use the model to design and evaluate in real-time the SM control algorithm. For controller deployment on an embedded microcontroller, use optimized controllers from the Motor Control Blockset™ libraries. The Scopes subsystem contains scopes that allow you to see the simulation results.


Simulation Results from Simscape Logging

The plot below shows the requested and measured torque for the test, as well as the phase currents in the electric drive.

Results from Real-Time Simulation

This example has been tested on a Speedgoat Performance real–time target machine with an Intel® 3.5 GHz i7 multi–core CPU. This model can run in real time with a step size of 100 microseconds.