Package Modelica.​Electrical.​PowerConverters.​DCDC.​Control
Control components for DC to DC converters

Information

Currently there is only one PWM method provided in this library.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
SignalPWMGenerates a pulse width modulated (PWM) boolean fire signal
Voltage2DutyCycleLinearly transforms voltage to duty cycle

Model Modelica.​Electrical.​PowerConverters.​DCDC.​Control.​SignalPWM
Generates a pulse width modulated (PWM) boolean fire signal

Information

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].

Extends from Modelica.​Electrical.​PowerConverters.​Icons.​Control (Control icon).

Parameters

TypeNameDefaultDescription
BooleanuseConstantDutyCycletrueEnables constant duty cycle
RealconstantDutyCycle0Constant duty cycle
Frequencyf1000Switching frequency
TimestartTime0Start time

Connectors

TypeNameDescription
input RealInputdutyCycleDuty cycle
output BooleanOutputfireFiring PWM signal
output BooleanOutputnotFireFiring PWM signal

Block Modelica.​Electrical.​PowerConverters.​DCDC.​Control.​Voltage2DutyCycle
Linearly transforms voltage to duty cycle

Information

Transforms the input voltage signal into a duty cycle:

Parameters

TypeNameDefaultDescription
BooleanreciprocalfalseEnables reciprocal formula between voltage and duty cycle
BooleanuseBipolarVoltagetrueEnables bipolar input voltage range
BooleanuseConstantVoltageLimittrueEnables constant voltage limit
VoltageVLim Voltage range limit mapped to dutyCycle = 1 resp. 0

Connectors

TypeNameDescription
input RealInputvVoltage
output RealOutputdutyCycleDuty cycle
input RealInputvLimVoltage limit