This example shows how to control the rotor speed in an electrical drive based on a single-phase permanent magnet synchronous motor by using open loop control. An ideal torque source provides the load. The Commutation subsystem uses a Hall signal to compute the gate signals. An H-Bridge feeds the SPPMSM.
The plot below shows the measured speed for the test.
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 10 microseconds.