Package Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​HBridge
H bridge converter

Information

This icon indicates a package that contains executable examples.

Extends from Modelica.​Icons.​ExamplesPackage (Icon for packages containing runnable examples).

Package Contents

NameDescription
HBridge_DC_DriveH bridge DC/DC converter with DC drive
HBridge_RH bridge DC/DC converter with resistive load
HBridge_RLH bridge DC/DC converter with R-L load

Model Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​HBridge.​HBridge_R
H bridge DC/DC converter with resistive load

Information

This example demonstrates the switching on of a resistive load operated by an H bridge. DC output voltage is equal to 2 * (dutyCycle - 0.5) times the input voltage. Plot current currentSensor.i, averaged current meanCurrent.y, total voltage voltageSensor.v and voltage meanVoltage.v.

Extends from Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​ExampleTemplates.​HBridge (H bridge DC/DC converter) and Modelica.​Icons.​Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Frequencyf1000Switching frequency
ResistanceR100Resistance

Model Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​HBridge.​HBridge_RL
H bridge DC/DC converter with R-L load

Information

This example demonstrates the switching on of an R-L load operated by an H bridge. DC output voltage is equal to 2 * (dutyCycle - 0.5) times the input voltage. Plot current currentSensor.i, averaged current meanCurrent.y, total voltage voltageSensor.v and voltage meanVoltage.v. The waveform the average current is determined by the time constant L/R of the load.

Extends from Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​ExampleTemplates.​HBridge (H bridge DC/DC converter) and Modelica.​Icons.​Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Frequencyf1000Switching frequency
ResistanceR100Resistance
InductanceL1Inductance

Model Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​HBridge.​HBridge_DC_Drive
H bridge DC/DC converter with DC drive

Information

This example of an H bridge with DC drive demonstrates the operation of the DC machine in four quadrants. The DC output voltage is equal to 2 * (dutyCycle - 0.5) times the input voltage.

start time (s) machine speed machine torque mode
0 zero zero
3 positive zero
6 positive positive motor
9.5 positive negative generator
12.5 negative negative motor
15.5 negative positive generator
19 negative zero
22 zero zero

Plot machine current dcpm.ia, averaged current meanCurrent.y, machine speed dcpm.wMechanical, averaged machine speed dcpm.va and torque dcpm.tauElectrical.

Extends from Modelica.​Electrical.​PowerConverters.​Examples.​DCDC.​ExampleTemplates.​HBridge (H bridge DC/DC converter) and Modelica.​Icons.​Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Frequencyf1000Switching frequency
InductanceLd3 * dcpmData.LaSmoothing inductance
final TorquetauNominaldcpmData.ViNominal * dcpmData.IaNominal / dcpmData.wNominalNominal torque
RealdMin0.2Minimum duty cycle
RealdMax1 - dMinMaximum duty cycle
DcPermanentMagnetDatadcpmData Data record of PM excited DC machine