blockBipolarPWM
Bipolar pulse width modulation
Extends from Modelica.Blocks.Interfaces.DiscreteBlock (Base class of discrete control blocks).
Information
This is a bipolar intersective pulse width modulation, used to fire the H-bridge.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | samplePeriod (from DiscreteBlock) | Sample period of component | |
| SI.Time | startTime (from DiscreteBlock) | 0 | First sample time instant |
| SI.Frequency | fsw | Switching frequency | |
| Boolean | useVariableVdc | false | use variavle Vdc |
| SI.Voltage | constantVdc | Constant Vdc |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | fireL | Left leg | |
| Modelica.Blocks.Interfaces.BooleanOutput | fireR | Right leg | |
| Modelica.Blocks.Interfaces.RealInput | vRef | ||
| Modelica.Blocks.Interfaces.RealInput | vMax |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Greater | greaterL | ||
| Modelica.Blocks.Sources.Trapezoid | carrier | ||
| Modelica.Blocks.Math.Division | division | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter | ||
| Auxilliary.AddOffset | addOffset | ||
| Modelica.Blocks.Logical.Not | not1 | ||
| Modelica.Blocks.Discrete.ZeroOrderHold | zeroOrderHold1 | ||
| Modelica.Blocks.Discrete.ZeroOrderHold | zeroOrderHold2 |