WOLFRAM SYSTEM MODELER

HBridge_TrianglePWM_RL

H bridge DC/DC converter with R-L load

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This is the same example as HBridge_RL but using a triangle (instead of a sawtooth) as pwm reference signal. This enables an easy sampling of the current in the middle of the pwm period, which delivers with good approximation the mean current: Compare meanCurrent.y and zeroOrderHold.y. For discrete or quasi-continuous control it is essential to sample the correct mean current with low effort once during the pwm period.

Parameters (3)

f

Value: 1000

Type: Frequency (Hz)

Description: Switching frequency

R

Value: 100

Type: Resistance (Ω)

Description: Resistance

L

Value: 1

Type: Inductance (H)

Description: Inductance

Components (11)

hbridge

Type: HBridge

Description: H bridge (four quadrant converter)

constantVoltage

Type: ConstantVoltage

Description: Source for constant voltage

signalPWM

Type: SignalPWM

Description: Generates a pulse width modulated (PWM) boolean fire signal

ground

Type: Ground

Description: Ground node

currentSensor

Type: CurrentSensor

Description: Sensor to measure the current in a branch

voltageSensor

Type: VoltageSensor

Description: Sensor to measure the voltage between two pins

meanCurrent

Type: Mean

Description: Calculate mean over period 1/f

meanVoltage

Type: Mean

Description: Calculate mean over period 1/f

resistor

Type: Resistor

Description: Ideal linear electrical resistor

inductor

Type: Inductor

Description: Ideal linear electrical inductor

zeroOrderHold

Type: ZeroOrderHold

Description: Zero order hold of a sampled-data system