VoltageToDutyCycle

Linearly transforms voltage to duty cycle

    VoltageToDutyCycle

Library

Modelica/Electrical/PowerConverters/DCDC/Control

Description

This model linearly transforms the input voltage signal into a duty cycle. For the unipolar case the input voltage range is between zero and vMax. In case of bipolar input the input voltage is in the range between -vMax and vMax.

Parameters

VoltageToDutyCycle_0

NameLabelDescriptionData TypeValid Values

mo_useBipolarVoltage

useBipolarVoltage

Enables bipolar input voltage range

Scalar

true
false

mo_useConstantMaximumVoltage

useConstantMaximumVoltage

Enables constant maximum voltage

Number

0
1

mo_vMax

vMax

Maximum voltage range mapped to dutyCycle = 1

Scalar

VoltageToDutyCycle_1

NameLabelDescriptionData TypeValid Values

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_dutyCycle

dutyCycle

dutyCycle

Structure

mo_dutyCycle/fixed

fixed

Cell of scalars

true
false

mo_dutyCycle/start

start

Cell of scalars

mo_vMaxExt

vMaxExt

vMaxExt

Structure

mo_vMaxExt/fixed

fixed

Cell of scalars

true
false

mo_vMaxExt/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

v

implicit

Voltage

input

1

dutyCycle

implicit

Duty cycle

output

1

Port 3

implicit

External maximum voltage

input

1-mo_useConstantMaximumVoltage