modelCPMBidirectionalBuckBoost

Bidirectional Buck Boost for battery USB interface

Extends from Interfaces.TwoPort (Common interface for power converters with two ports), PVSystems.Icons.ConverterIcon (Icon for power converter models).

Information

Bidirectional buck boost converter

Parameters

TypeNameDefaultDescription
Power stage
Modelica.SIunits.CapacitanceCinInput capacitance
Modelica.SIunits.CapacitanceCoutOutput capacitance
Modelica.SIunits.InductanceLInductance
Modelica.SIunits.ResistanceRLSeries resistance of inductor
Initialization
Modelica.SIunits.VoltagevCin_ini0Guess for initial voltage of Cin
Modelica.SIunits.VoltagevCout_ini0Guess for initial voltage of Cout
Modelica.SIunits.CurrentiL_ini0Guess for initial current of L
CPM modulator
Modelica.SIunits.ResistanceRfEquivalent sensing resistance
Modelica.SIunits.FrequencyfsSwitching frequency
Modelica.SIunits.VoltageVa_buckArticial ramp amplitude for buck CPM
Modelica.SIunits.VoltageVa_boostArticial ramp amplitude for boost CPM

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from TwoPort)Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1)
Modelica.Electrical.Analog.Interfaces.NegativePinn1 (from TwoPort)Negative pin of the left port
Modelica.Electrical.Analog.Interfaces.PositivePinp2 (from TwoPort)Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2)
Modelica.Electrical.Analog.Interfaces.NegativePinn2 (from TwoPort)Negative pin of the right port
Modelica.Blocks.Interfaces.RealInputvcBuck control voltage
Modelica.Blocks.Interfaces.BooleanInputmodeBoost control voltage

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev1 (from TwoPort)Voltage drop over the left port
Modelica.SIunits.Voltagev2 (from TwoPort)Voltage drop over the right port
Modelica.SIunits.Currenti1 (from TwoPort)Current flowing from pos. to neg. pin of the left port
Modelica.SIunits.Currenti2 (from TwoPort)Current flowing from pos. to neg. pin of the right port
Control.CPM_CCMbuck_cpm
Control.CPM_CCMboost_cpm
Modelica.Blocks.Sources.RealExpressionvsense
Modelica.Blocks.Sources.RealExpressionvm1_buck
Modelica.Blocks.Sources.RealExpressionvm2_buck
Modelica.Blocks.Sources.RealExpressionvm1_boost
BidirectionalBuckBoostconv
Modelica.Blocks.Logical.Notnot1