modelHBridge

H bridge (four quadrant converter)

Extends from Icons.Converter (Converter icon), PowerConverters.Interfaces.DCDC.DCtwoPin1 (Positive and negative pins of side 1), PowerConverters.Interfaces.DCDC.DCtwoPin2 (Positive and negative pins of side 2), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network), Interfaces.Enable.Enable2 (Partial model providing enable parameter and optional enable input for two firing signals).

Information

The H bridge is a four quadrant DC/DC converter. It consists of two single-phase DC/AC converters which are controlled differently; see Fig. 1.

Fig. 1: H bridge

If the firing inputs fire_p and fire_n are inverse, the two legs are controlled symmetrically so that full positive or negative output voltage can be generated. See examples DCDC.HBridge.

Note

In the first version, the following signal connections were implementented:

  • fire_p to inverter_p.fire_p and inverter_n.fire_n
  • fire_n to inverter_p.fire_n and inverter_n.fire_p

Therefore the two fire signal had be supplied complentary to avoid a short circuit on the source.

In the enhanced version, the following signal connections are implementented:

  • inverter_p.fire_p to fire_p
  • inverter_p.fire_n to not fire_p
  • inverter_n.fire_p to fire_n
  • inverter_n.fire_n to not fire_n

Therefore a short circuit on the source is avoided intrinsically.

If both versions are provided with the same (complementary) fire signals, identical results are obtained. Additionally, two more switching states are possible: fire_p = fire_n = true (which means switching on both upper switches) and fire_p = fire_n = false (which means switching on both lower switches).

Parameters

TypeNameDefaultDescription
BooleanuseHeatPort (from ConditionalHeatPort)false= true, if heatPort is enabled
SI.TemperatureT (from ConditionalHeatPort)293.15Fixed device temperature if useHeatPort = false
SI.ResistanceRonTransistor1e-05Transistor closed resistance
SI.ConductanceGoffTransistor1e-05Transistor opened conductance
SI.VoltageVkneeTransistor0Transistor threshold voltage
SI.ResistanceRonDiode1e-05Diode closed resistance
SI.ConductanceGoffDiode1e-05Diode opened conductance
SI.VoltageVkneeDiode0Diode threshold voltage
Integerm (from Enable)3Number of phases
Enable
BooleanuseConstantEnable (from Enable)trueDisable boolean input and use constantEnable, if true
BooleanconstantEnable (from Enable)trueConstant enabling of firing signals

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePindc_p1 (from DCtwoPin1)Positive DC input
Modelica.Electrical.Analog.Interfaces.NegativePindc_n1 (from DCtwoPin1)Negative DC input
Modelica.Electrical.Analog.Interfaces.PositivePindc_p2 (from DCtwoPin2)Positive DC output
Modelica.Electrical.Analog.Interfaces.NegativePindc_n2 (from DCtwoPin2)Negative DC output
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port
Modelica.Blocks.Interfaces.BooleanInputenable (from Enable)Enables fire and notFire
Modelica.Blocks.Interfaces.BooleanInputfire_p (from Enable1)Firing signal of positive potential transistor
Modelica.Blocks.Interfaces.BooleanInputfire_n (from Enable2)Firing signal of negative potential transistor

Components

TypeNameDefaultDescription
SI.VoltagevDC1 (from DCtwoPin1)dc_p1.v - dc_n1.vDC voltage side 1
SI.CurrentiDC1 (from DCtwoPin1)dc_p1.iDC current side 1
SI.PowerpowerDC1 (from DCtwoPin1)vDC1*iDC1DC power side 1
SI.VoltagevDC2 (from DCtwoPin2)dc_p2.v - dc_n2.vDC voltages side 2
SI.CurrentiDC2 (from DCtwoPin2)dc_p2.iDC current side 2
SI.PowerpowerDC2 (from DCtwoPin2)vDC2*iDC2DC power side 2
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
PowerConverters.Enable.EnableLogicenableLogic (from Enable)Enabling logic
Modelica.Blocks.Logical.AndandCondition_p (from Enable1)And condition for positive firing signal
Modelica.Blocks.Logical.AndandCondition_n (from Enable2)And condition for negative firing signal
DCAC.SinglePhase2Levelinverter_p
DCAC.SinglePhase2Levelinverter_n
Blocks.Logical.Notnot_p
Blocks.Logical.Notnot_n