blockLimitedPI
Limited PI-controller with anti-windup and feed-forward
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block), BaseBlocks.LimitedPI (Base for limited PI-controller with anti-windup and feed-forward).
Information
Improved version of Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities.LimitedPI: Based on MagLev.Control.BaseBlocks.LimitedPI, the limits for the output can be set individually. The anti-windup measure can be choosen by the user: Clamped (i.e. stopping the integrator) or BackCalc (i.e. reducing the input of the integrator).
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 |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of 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 |