This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Buck Converter Voltage Control

This example shows how to control the output voltage of a buck converter. To adjust the duty cycle, the Control subsystem uses a PI-based control algorithm. The input voltage is considered constant throughout the simulation. A variable resistor provides the load for the system. The total simulation time (t) is 0.25 seconds. At t = 0.15 seconds, the load changes.

Model

Simulation Results from Simscape Logging

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