blockLimitedPI
Discrete limited PI-controller with anti-windup and feed-forward
Extends from Modelica.Clocked.RealSignals.Interfaces.PartialClockedSISO (Block with clocked single input and clocked single output Real signals), BaseBlocks.LimitedPI (Base for limited PI-controller with anti-windup and feed-forward).
Information
A time discrete implementation of LimitedPI. Note that the implementation avoids an algebraic loop for the ant-windup measure that would need iteration.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | kp (from LimitedPI) | 1 | Proportional gain |
| SI.Time | Ti (from LimitedPI) | 1 | Integral time constant (T>0 required) |
| MagLev.Types.AntiWindup | antiWindup (from LimitedPI) | MagLev.Types.AntiWindup.BackCalc | Anti-Windup technique |
| Feed-forward | |||
| Boolean | useFF (from LimitedPI) | false | Use feed-forward? |
| Real | kFF (from LimitedPI) | 1 | Feed-forward gain |
| Limitation | |||
| Boolean | symmetricLimits (from LimitedPI) | true | Use symmetric limits? |
| Boolean | constantUpperLimit (from LimitedPI) | true | Use constant upper limit? |
| Real | yMax (from LimitedPI) | inf | Upper limit of output |
| Boolean | constantLowerLimit (from LimitedPI) | true | Use constant lower limit? |
| Real | yMin (from LimitedPI) | -yMax | Lower limit of output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u (from PartialClockedSISO) | Connector of clocked, Real input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialClockedSISO) | Connector of clocked, Real output signal | |
| Modelica.Blocks.Interfaces.RealInput | u_m (from LimitedPI) | Connector of measured signal | |
| Modelica.Blocks.Interfaces.RealInput | feedForward (from LimitedPI) | Connector of feed-forward signal | |
| Modelica.Blocks.Interfaces.RealInput | yMaxVar (from LimitedPI) | Connector of yMax input signal | |
| Modelica.Blocks.Interfaces.RealInput | yMinVar (from LimitedPI) | Connector of yMin input signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | integrator state |