Main Content

Average-Value DC-DC Converter Control

This example shows how to control the output voltage of a buck-boost converter. To adjust the duty cycle, the Control subsystem uses a PI-based control algorithm. An average-value DC-DC converter model is used to speed up the simulation. The input voltage and the system load are held constant throughout the simulation. The total simulation time (t) is 0.25 s. At t = 0.15 s, the voltage reference changes and the system switches from buck mode to boost mode.


Simulation Results from Simscape Logging

The plot below shows the requested and measured voltage for the test and the input voltage in the circuit.