VoltageToDutyCycle
Linearly transforms voltage to duty cycle
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 andvMax
. In case of bipolar input the input voltage is in the range between -vMax
and vMax
.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_useBipolarVoltage | useBipolarVoltage | Enables bipolar input voltage range | Scalar | true |
mo_useConstantMaximumVoltage | useConstantMaximumVoltage | Enables constant maximum voltage | Number | 0 |
mo_vMax | vMax | Maximum voltage range mapped to dutyCycle = 1 | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_v | v | v | Structure | |
mo_v/fixed | fixed | Cell of scalars | true | |
mo_v/start | start | Cell of scalars | ||
mo_dutyCycle | dutyCycle | dutyCycle | Structure | |
mo_dutyCycle/fixed | fixed | Cell of scalars | true | |
mo_dutyCycle/start | start | Cell of scalars | ||
mo_vMaxExt | vMaxExt | vMaxExt | Structure | |
mo_vMaxExt/fixed | fixed | Cell of scalars | true | |
mo_vMaxExt/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
v | implicit | Voltage | input | 1 |
dutyCycle | implicit | Duty cycle | output | 1 |
Port 3 | implicit | External maximum voltage | input | 1-mo_useConstantMaximumVoltage |