Other
Use examples from a wide range of application areas to learn about modeling and simulation with System Modeler and the Modelica language.
Buck-Boost Converter
Buck-boost converters are used both to step up voltage from a lower level to a higher level and to step down voltage from a higher level to a lower level. Buck-boost converters can be found in applications where the supply voltage changes over time, such as battery-powered applications.
To run this example, you'll need
The latest versions of System Modeler and Mathematica.
Please make a selection:
Get afree trial Continue
with download
The Model
A buck-boost converter is a switched-mode power converter that uses two switches (usually a diode and a transistor), an inductor, and a capacitor to convert direct current voltage from a lower to a higher level, or the other way around. When the switch is turned on, the current goes through the inductor and increases the energy there. When the switch is turned off, the inductor current goes through the load and the diode. A filter capacitor is added to smooth out the output voltage.
Operation and Duty Ratio
The relationship for the voltage conversion ratio is given by , where the duty ratio is the ratio of time the switch is on in one cycle. With zero it is off all the time, and with one it is on for the whole cycle. With a below 0.5, the converter will step down the voltage, and above 0.5 the converter will step up the voltage.
The buck-boost converter allows for both higher and lower voltage levels. This increased flexibility compared to the buck and boost converters comes at a price: higher circuit complexity and higher stress on the components.
Detect Discontinuous Mode
If the output load is below a certain threshold, the inductor current will drop to zero during an interval in the switching cycle; the converter then enters discontinuous conducting mode (DCM). If the duty ratio is not changed during DCM, the output voltage can climb to dangerously high levels and the components will see increased stress and wear. Here the Wolfram Language is used to detect DCM.
Analyze Simulation Results in the Wolfram Language
Wolfram System Modeler
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »