Control components for DC to DC converters
Currently there is only one PWM method provided in this library.
Extends from Modelica.Icons.Package (Icon for standard packages).
| Name | Description |
|---|---|
| Generates a pulse width modulated (PWM) boolean fire signal | |
| Linearly transforms voltage to duty cycle |
Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWMGenerates a pulse width modulated (PWM) boolean fire signal
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 [Williams2006] or triangular signal (carrier).
The user has the choice between two comparison modes:
commonComparison = true : The result of the comparison dutyCyle > carrier is fed to fire_p, the inverse signal to fire_n.
commonComparison = false: The result of the comparison dutyCyle > carrier is fed to fire_p, the result of the comparison (1 - dutyCyle) > carrier is fed to fire_n. (The result is the same for the comparison dutyCycle > (1 - carrier), i.e. a signal shifted by 180°.)
Extends from Icons.Control (Control icon).
| Name | Description |
|---|---|
| useConstantDutyCycle | Enables constant duty cycle |
| constantDutyCycle | Constant duty cycle |
| f | Switching frequency [Hz] |
| refType | Type of reference signal |
| commonComparison | Common or separated comparison for fire_p and fire_n |
| startTime | Start time [s] |
| Name | Description |
|---|---|
| dutyCycle | Duty cycle |
| fire | Firing PWM signal |
| notFire | Firing PWM signal |
Modelica.Electrical.PowerConverters.DCDC.Control.Voltage2DutyCycleLinearly transforms voltage to duty cycle
Transforms the input voltage signal into a duty cycle:
reciprocal = false and useBipolarVoltage = false: v/VLim = dutyCyclereciprocal = false and useBipolarVoltage = true : v/VLim = 2*dutyCycle - 1reciprocal = true: v/VLim = 1/(1 - dutyCycle)| Name | Description |
|---|---|
| reciprocal | Enables reciprocal formula between voltage and duty cycle |
| useBipolarVoltage | Enables bipolar input voltage range |
| useConstantVoltageLimit | Enables constant voltage limit |
| VLim | Voltage range limit mapped to dutyCycle = 1 resp. 0 [V] |
| Name | Description |
|---|---|
| v | Voltage [V] |
| dutyCycle | Duty cycle |
| vLim | Voltage limit [V] |