Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost

Chopper buck/boost

Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle ChopperBuckBoost_DutyCycle  

Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle

Information

This examples demonstrates bidirectional coupling of two batteries with different voltages as used in automotive. For idleDutyCycle = 1 - (VLV/VHV), no current is exchanged.

Starting with dutyCycle < idleDutyCycle, the high voltage battery feeds the low voltage battery. Changing the dutyCycle > idleDutyCycle, the low voltage battery feeds the high voltage battery.

The capacitors are precharged to the battery voltages, but the inductor leads zero current. The current sensor may be used to implement current control.

Control

For hints implementing control, see: Stefan Norbert Matlok, Digitale Regelung bidirektionaler Gleichspannungswandler (German, Digital control of bidirectional DC/DC converters), PhD thesis University Erlangen-Nuremberg 2020.

Extends from DCDC.ExampleTemplates.ChopperBuckBoost (Buck/boost converter example template), Modelica.Icons.Example (Icon for runnable examples).

Parameters

NameDescription
VLVLV voltage [V]
RiLVLV inner resistance [Ohm]
VHVHV voltage [V]
RiHVHV inner resistance [Ohm]
CLVLow voltage capacitance [F]
CHVHigh voltage capacitance [F]
LInductance [H]
RResistance of inductor [Ohm]
fSSwitching frequency [Hz]
idleDutyCycleDuty cycle for idle operation
pwm 
Automatically generated Tue Feb 24 16:59:20 2026.