modelHBridge

Model of a H-bridge

Extends from Modelica.Electrical.PowerConverters.Icons.Converter (Converter icon), Modelica.Electrical.PowerConverters.Interfaces.DCDC.DCtwoPin1 (Positive and negative pins of side 1), Modelica.Electrical.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), Modelica.Electrical.PowerConverters.Interfaces.Enable.Enable (Partial model providing enable parameter and optional enable input).

Information

Flexible and clearly arranged model of a H-bridge (like e.g. the L298N).

Parameters

TypeNameDefaultDescription
BooleanuseHeatPort (from ConditionalHeatPort)false= true, if heatPort is enabled
SI.TemperatureT (from ConditionalHeatPort)293.15Fixed device temperature if useHeatPort = false
Integerm (from Enable)3Number of phases
Semiconductors
Modelica.Units.SI.ResistanceRonTransistor1e-05Transistor closed resistance
Modelica.Units.SI.ConductanceGoffTransistor1e-05Transistor opened conductance
Modelica.Units.SI.VoltageVkneeTransistor0Transistor threshold voltage
Modelica.Units.SI.ResistanceRonDiode1e-05Diode closed resistance
Modelica.Units.SI.ConductanceGoffDiode1e-05Diode opened conductance
Modelica.Units.SI.VoltageVkneeDiode0Diode threshold voltage
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_pFiring signal of positive potential transistor
Modelica.Blocks.Interfaces.BooleanInputfire_nFiring 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.Electrical.Analog.Ideal.IdealGTOThyristortransistorHS_p
Modelica.Electrical.Analog.Ideal.IdealDiodediodeHS_p
Modelica.Electrical.Analog.Ideal.IdealGTOThyristortransistorLS_p
Modelica.Electrical.Analog.Ideal.IdealDiodediodeLS_p
Modelica.Electrical.Analog.Ideal.IdealGTOThyristortransistorHS_n
Modelica.Electrical.Analog.Ideal.IdealDiodediodeHS_n
Modelica.Electrical.Analog.Ideal.IdealGTOThyristortransistorLS_n
Modelica.Electrical.Analog.Ideal.IdealDiodediodeLS_n
Modelica.Blocks.Logical.AndandHSp
Modelica.Blocks.Logical.AndandLSp
Modelica.Blocks.Logical.Notnot_p
Modelica.Blocks.Logical.AndandLSn
Modelica.Blocks.Logical.AndandHSn
Modelica.Blocks.Logical.Notnot_n