modelChopperBuckBoost_DutyCycle

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

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.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VoltageVLV (from ChopperBuckBoost)12LV voltage
Modelica.Units.SI.ResistanceRiLV (from ChopperBuckBoost)0.01LV inner resistance
Modelica.Units.SI.VoltageVHV (from ChopperBuckBoost)24HV voltage
Modelica.Units.SI.ResistanceRiHV (from ChopperBuckBoost)0.01HV inner resistance
Modelica.Units.SI.CapacitanceCLV (from ChopperBuckBoost)500e-6Low voltage capacitance
Modelica.Units.SI.CapacitanceCHV (from ChopperBuckBoost)250e-6High voltage capacitance
Modelica.Units.SI.InductanceL (from ChopperBuckBoost)10e-6Inductance
Modelica.Units.SI.ResistanceR (from ChopperBuckBoost)1e-3Resistance of inductor
Modelica.Units.SI.FrequencyfS (from ChopperBuckBoost)40e3Switching frequency
RealidleDutyCycle (from ChopperBuckBoost)1 - VLV/VHVDuty cycle for idle operation

Components

TypeNameDefaultDescription
Modelica.Electrical.PowerConverters.DCDC.ChopperBuckBoostdcdc (from ChopperBuckBoost)
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltageLV (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.ResistorresistorLV (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.Groundground (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.CapacitorcapacitorLV (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.Resistorresistor (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.Inductorinductor (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.CapacitorcapacitorHV (from ChopperBuckBoost)
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltageHV (from ChopperBuckBoost)
Modelica.Electrical.Analog.Basic.ResistorresistorHV (from ChopperBuckBoost)
Modelica.Blocks.Sources.RealExpressionvLV (from ChopperBuckBoost)
Modelica.Blocks.Sources.RealExpressioniLV (from ChopperBuckBoost)
Modelica.Blocks.Sources.RealExpressionvHV (from ChopperBuckBoost)
Modelica.Blocks.Sources.RealExpressioniHV (from ChopperBuckBoost)
Modelica.Blocks.Math.Meanmean_vLV (from ChopperBuckBoost)
Modelica.Blocks.Math.Meanmean_iLV (from ChopperBuckBoost)
Modelica.Blocks.Math.Meanmean_vHV (from ChopperBuckBoost)
Modelica.Blocks.Math.Meanmean_iHV (from ChopperBuckBoost)
Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWMpwm (from ChopperBuckBoost)
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor (from ChopperBuckBoost)
Modelica.Blocks.Sources.StepdutyCycle