WOLFRAM SYSTEM MODELER

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

Description: Generate constant signal of type Real

limiter

Type: Limiter

Description: Limit the range of a signal

greaterEqual

Type: Less

Description: Output y is true, if input u1 is less than input u2

zeroOrderHold

Type: ZeroOrderHold

Description: Zero order hold of a sampled-data system

sawtooth

Type: SawTooth

Description: Generate saw tooth signal

inverse

Type: Not

Description: Logical 'not': y = not u

Used in Examples (2)

PolyphaseTwoLevel_R

Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel

Polyphase DC to AC converter with R load

PolyphaseTwoLevel_RL

Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel

Polyphase 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