modelHBridge
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.
|
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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| SI.Resistance | RonTransistor | 1e-05 | Transistor closed resistance |
| SI.Conductance | GoffTransistor | 1e-05 | Transistor opened conductance |
| SI.Voltage | VkneeTransistor | 0 | Transistor threshold voltage |
| SI.Resistance | RonDiode | 1e-05 | Diode closed resistance |
| SI.Conductance | GoffDiode | 1e-05 | Diode opened conductance |
| SI.Voltage | VkneeDiode | 0 | Diode threshold voltage |
| Integer | m (from Enable) | 3 | Number of phases |
| Enable | |||
| Boolean | useConstantEnable (from Enable) | true | Disable boolean input and use constantEnable, if true |
| Boolean | constantEnable (from Enable) | true | Constant enabling of firing signals |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | dc_p1 (from DCtwoPin1) | Positive DC input | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | dc_n1 (from DCtwoPin1) | Negative DC input | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | dc_p2 (from DCtwoPin2) | Positive DC output | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | dc_n2 (from DCtwoPin2) | Negative DC output | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port | |
| Modelica.Blocks.Interfaces.BooleanInput | enable (from Enable) | Enables fire and notFire | |
| Modelica.Blocks.Interfaces.BooleanInput | fire_p (from Enable1) | Firing signal of positive potential transistor | |
| Modelica.Blocks.Interfaces.BooleanInput | fire_n (from Enable2) | Firing signal of negative potential transistor |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | vDC1 (from DCtwoPin1) | dc_p1.v - dc_n1.v | DC voltage side 1 |
| SI.Current | iDC1 (from DCtwoPin1) | dc_p1.i | DC current side 1 |
| SI.Power | powerDC1 (from DCtwoPin1) | vDC1*iDC1 | DC power side 1 |
| SI.Voltage | vDC2 (from DCtwoPin2) | dc_p2.v - dc_n2.v | DC voltages side 2 |
| SI.Current | iDC2 (from DCtwoPin2) | dc_p2.i | DC current side 2 |
| SI.Power | powerDC2 (from DCtwoPin2) | vDC2*iDC2 | DC power side 2 |
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort | |
| PowerConverters.Enable.EnableLogic | enableLogic (from Enable) | Enabling logic | |
| Modelica.Blocks.Logical.And | andCondition_p (from Enable1) | And condition for positive firing signal | |
| Modelica.Blocks.Logical.And | andCondition_n (from Enable2) | And condition for negative firing signal | |
| DCAC.SinglePhase2Level | inverter_p | ||
| DCAC.SinglePhase2Level | inverter_n | ||
| Blocks.Logical.Not | not_p | ||
| Blocks.Logical.Not | not_n |