WOLFRAM SYSTEMMODELER

SignalPWM

Generates a pulse width modulated (PWM) boolean fire signal

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWM"]
Out[1]:=

Information

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

This controller can be used both for DC/DC and AC/DC converters. The signal input of the PWM controller is the duty cycle; the duty cycle is the ratio of the on time to the switching period. The output firing signal is strictly determined by the actual duty cycle, indicated as d in Fig. 1.

Fig. 1: Firing (fire) and inverse firing (notFire) signal of PWM control; d = duty cycle; f = switching frequency

The firing signal is generated by comparing the sampled duty cycle input with a periodic saw tooth signal [Williams2006].

Parameters (4)

useConstantDutyCycle

Value: true

Type: Boolean

Description: Enables constant duty cycle

constantDutyCycle

Value: 0

Type: Real

Description: Constant duty cycle

f

Value: 1000

Type: Frequency (Hz)

Description: Switching frequency

startTime

Value: 0

Type: Time (s)

Description: Start time

Connectors (3)

dutyCycle

Type: RealInput

Description: Duty cycle

fire

Type: BooleanOutput

Description: Firing PWM signal

notFire

Type: BooleanOutput

Description: Firing PWM signal

Components (6)

const

Type: Constant

limiter

Type: Limiter

greaterEqual

Type: Less

zeroOrderHold

Type: ZeroOrderHold

sawtooth

Type: SawTooth

inverse

Type: Not

Used in Examples (2)

MultiPhaseTwoLevel_R

Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel

Multi phase DC to AC converter with R load

MultiPhaseTwoLevel_RL

Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel

Multi phase DC to AC converter with R-L load

Used in Components (5)

SwitchingDcDc

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Switching DC-DC inverter

SinglePhaseTwoLevel

Modelica.Electrical.PowerConverters.Examples.DCAC.ExampleTemplates

Single phase two level inverter including control

ChopperStepDown

Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates

Step down chopper including control

ChopperStepUp

Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates

Step up chopper including control

HBridge

Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates

H bridge DC/DC converter