Currently there is only one PWM method provided in this library.
Extends from Modelica.Icons.Package
(Icon for standard packages).
Name | Description |
---|---|
SignalPWM | Generates a pulse width modulated (PWM) boolean fire signal |
VoltageToDutyCycle | Linearly transforms voltage to duty cycle |
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.
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).
Type | Name | Default | Description |
---|---|---|---|
Boolean | useConstantDutyCycle | true | Enables constant duty cycle |
Real | constantDutyCycle | 0 | Constant duty cycle |
Frequency | f | 1000 | Switching frequency |
Time | startTime | 0 | Start time |
Type | Name | Description |
---|---|---|
input RealInput | dutyCycle | Duty cycle |
output BooleanOutput | fire | Firing PWM signal |
output BooleanOutput | notFire | Firing PWM signal |
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
.
Type | Name | Default | Description |
---|---|---|---|
Boolean | useBipolarVoltage | true | Enables bipolar input voltage range |
Boolean | useConstantMaximumVoltage | true | Enables constant maximum voltage |
Voltage | vMax | 0 | Maximum voltage range mapped to dutyCycle = 1 |
Type | Name | Description |
---|---|---|
input RealInput | v | Voltage |
output RealOutput | dutyCycle | Duty cycle |
input RealInput | vMaxExt | External maximum voltage |
Generated 2018-12-12 12:10:21 EST by MapleSim.