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. An average-value Chopper model is used to speed up the simulation. The simulation uses both positive and negative references. The total simulation time (t) is 1 s. At t = 0.5 s, the polarity of the load DC source E changes.
The plot below shows the requested and measured current for the test and the output voltage in the circuit.