This example shows how to control a four-quadrant chopper. The Control subsystem implements a simple PI-based control algorithm for controlling the output current. The simulation uses both positive and negative references. The total simulation time (t) is 1 second. At t = 0.5 seconds, the polarity of the load DC source E is changed.
The plot below shows the requested and measured current for the test and the output voltage in the circuit.
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 50 microseconds.