This example shows how to control a one-quadrant chopper. The Control subsystem implements a simple PI-based control algorithm for controlling the output current.
The plot below shows the requested and measured current for the test and the output voltage in the circuit.
Warning: The file containing block diagram 'ee_one_quadrant_chopper_control' is shadowed by a file of the same name higher on the MATLAB path. This can cause unexpected behavior. For more information see <a href="matlab:helpview([docroot '/toolbox/simulink/helptargets.map'], 'shadowing')">"Avoiding Problems with Shadowed Files"</a> in the Simulink documentation. The file containing the block diagram is: /mathworks/devel/bat/Bdoc19b/build/matlab/toolbox/physmod/elec/eedemos/ee_one_quadrant_chopper_control.slx. The file higher on the MATLAB path is: /mathworks/devel/bat/Bdoc19b/build/matlab/toolbox/physmod/elec/eedemos/html/ee_one_quadrant_chopper_control.m