This example shows how to use different levels of fidelity in chopper converters. The system contains three four-quadrant choppers. The top converter uses ideal switches at a sample time of 10 us. To yield accurate results even though the model is under sampled at a sample time of 50 us, the middle chopper uses averaged switches with averaged pulses. To further increase the sample rate and to operate as an ideal averaged chopper, the bottom converter uses averaged switches and duty cycles instead of gate pulses. The Control subsystem contains a PWM generator. The Scopes subsystem contains Scope blocks that allow you to see the simulation results.
The plot below shows the comparison of the currents on both sides of the converter..
The plot below shows the comparison of the voltages on both sides of the converter.