blockSwitchingPWM
Generates a pulse width modulated (PWM) boolean fire signal
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Generate boolean firing signal from duty cycle input. Adapted from SignalPWM.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dMax | 1 | Maximum duty cycle |
| Real | dMin | 0 | Minimum duty cycle |
| Modelica.SIunits.Frequency | fs | Switching frequency | |
| Modelica.SIunits.Time | startTime | 0 | Start time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | vc | Control voltage | |
| Modelica.Blocks.Interfaces.BooleanOutput | c1 | Firing PWM signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Nonlinear.Limiter | limiter | ||
| Modelica.Blocks.Logical.Less | greaterEqual | ||
| Modelica.Blocks.Sources.SawTooth | sawtooth |