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
| Type | Name | Default | Description |
|---|---|---|---|
| Power stage | |||
| Modelica.SIunits.Capacitance | Cin | Input capacitance | |
| Modelica.SIunits.Capacitance | Cout | Output capacitance | |
| Modelica.SIunits.Inductance | L | Inductance | |
| Modelica.SIunits.Resistance | RL | Series resistance of inductor | |
| Initialization | |||
| Modelica.SIunits.Voltage | vCin_ini | 0 | Guess for initial voltage of Cin |
| Modelica.SIunits.Voltage | vCout_ini | 0 | Guess for initial voltage of Cout |
| Modelica.SIunits.Current | iL_ini | 0 | Guess for initial current of L |
| CPM modulator | |||
| Modelica.SIunits.Resistance | Rf | Equivalent sensing resistance | |
| Modelica.SIunits.Frequency | fs | Switching frequency | |
| Modelica.SIunits.Voltage | Va_buck | Articial ramp amplitude for buck CPM | |
| Modelica.SIunits.Voltage | Va_boost | Articial ramp amplitude for boost CPM | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p1 (from TwoPort) | Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1) | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 (from TwoPort) | Negative pin of the left port | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p2 (from TwoPort) | Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2) | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 (from TwoPort) | Negative pin of the right port | |
| Modelica.Blocks.Interfaces.RealInput | vc | Buck control voltage | |
| Modelica.Blocks.Interfaces.BooleanInput | mode | Boost control voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v1 (from TwoPort) | Voltage drop over the left port | |
| Modelica.SIunits.Voltage | v2 (from TwoPort) | Voltage drop over the right port | |
| Modelica.SIunits.Current | i1 (from TwoPort) | Current flowing from pos. to neg. pin of the left port | |
| Modelica.SIunits.Current | i2 (from TwoPort) | Current flowing from pos. to neg. pin of the right port | |
| Control.CPM_CCM | buck_cpm | ||
| Control.CPM_CCM | boost_cpm | ||
| Modelica.Blocks.Sources.RealExpression | vsense | ||
| Modelica.Blocks.Sources.RealExpression | vm1_buck | ||
| Modelica.Blocks.Sources.RealExpression | vm2_buck | ||
| Modelica.Blocks.Sources.RealExpression | vm1_boost | ||
| BidirectionalBuckBoost | conv | ||
| Modelica.Blocks.Logical.Not | not1 |