modelDcdcInverter

DC-DC inverter

Information

This is a model of a DC-DC inverter. The level of detail of the DC-DC inverter may be chosen from ideal averaging or switching.

Reference voltage is limited to actual battery voltage.

Battery voltage and motor current are measured.

Parameters

TypeNameDefaultDescription
BooleanuseIdealInvertertrueUse ideal averaging inverter, otherwise switching inverter
SI.FrequencyfSSwitching frequency
SI.TimeTd0.5/fSDead time
SI.TimeTmf2/fSMeasurement filter time constant
SI.VoltageVMaxMaximum Voltage
Averaging
SI.TimeTi1e-6Time constant of integral power controller
Switching
SI.ResistanceRonT1e-05Transistor closed resistance
SI.ConductanceGoffT1e-05Transistor opened conductance
SI.VoltageVkneeT0Transistor threshold voltage
SI.ResistanceRonD1e-05Diode closed resistance
SI.ConductanceGoffD1e-05Diode opened conductance
SI.VoltageVkneeD0Diode threshold voltage

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_pBat
Modelica.Electrical.Analog.Interfaces.NegativePinpin_nBat
Modelica.Electrical.Analog.Interfaces.PositivePinpin_pMot
Modelica.Electrical.Analog.Interfaces.NegativePinpin_nMot
Modelica.Blocks.Interfaces.RealInputvRef
Modelica.Blocks.Interfaces.RealOutputvDC
Modelica.Blocks.Interfaces.RealOutputiDC
Modelica.Blocks.Interfaces.RealOutputvMot
Modelica.Blocks.Interfaces.RealOutputiMot

Components

TypeNameDefaultDescription
SI.PowerpDCvDC*iDCDC power (from battery)
SI.PowerpMotvMot*iMotPower to motor
Modelica.Electrical.Analog.Sensors.VoltageSensorvDCSensor
Modelica.Electrical.Analog.Sensors.CurrentSensoriMotSensor
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Continuous.FirstOrdervDCFilter
Modelica.Blocks.Continuous.FirstOrderiMotFilter
IdealDcDcidealDcDc
SwitchingDcDcswitchingDcDc
Modelica.Electrical.Analog.Sensors.CurrentSensoriDCSensor
Modelica.Electrical.Analog.Sensors.VoltageSensorvMotSensor
Modelica.Blocks.Continuous.FirstOrdervMotFilter
Modelica.Blocks.Continuous.FirstOrderiDCFilter