WOLFRAM SYSTEM MODELER

BuckBoostConverter

Model of a DC/DC Buck Boost Converter used to study rise time and output current ripple

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.ElectricalEngineering.BuckBoostConverter"]
Out[1]:=

Information

Dynamics

This is a model of a buck-boost DC-DC converter. The parameters are taken from an example in the WhenEvent Wolfram Language documentation, with a larger capacitor. It can be found in the Applications section under Power Electronics.

Simulation

To simulate the model, click the Simulate button in the top toolbar: simulate

A Model plot will display automatically. The plot window should now look like this:

You can change the Vin and Vout parameters to try different input and output voltages.

You can also zoom in to see the output ripple:

In order to get the full experience of this example, you need a desktop Wolfram Language product. A free trial download is available at www.wolfram.com/mathematica/trial/

For the full example, open the accompanying notebook BuckBoostConverter.nb.

Parameters (7)

r1

Value: 22

Type: Resistance (Ω)

Description: Load resistance

c1

Value: 0.0001

Type: Capacitance (F)

Description: Parameter for the capacitor

l1

Value: 0.02

Type: Inductance (H)

Description: Parameter for the inductor

D

Value: Vout / (Vout + Vin)

Type: Real

Description: Duty-ratio

Vin

Value: 24

Type: Voltage (V)

Description: Input voltage

Vout

Value: 36

Type: Voltage (V)

Description: Reference output voltage

T

Value: 0.00005

Type: Time (s)

Description: Time for one period

Components (8)

inputVoltage

Type: ConstantVoltage

Description: Voltage source driving the circuit

load

Type: Resistor

Description: Load attached to the circuit

capacitor

Type: Capacitor

Description: Capacitor supplying energy to the load when the switch is on

inductor

Type: Inductor

Description: Inductor storing energy

ground

Type: Ground

Description: Ground node

switchSignal

Type: BooleanPulse

Description: Switch dictating the duty ratio of the transistor

diode

Type: IdealDiode

Description: Diode blocking current to flow from the left to the right in the circuit

switch

Type: IdealClosingSwitch

Description: Switch imitating a MOSFET