blockLimPI

Discrete limited PI-controller with anti-windup and feed-forward

Extends from Modelica.Blocks.Interfaces.DiscreteSISO (Single Input Single Output discrete control block), 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

TypeNameDefaultDescription
SI.TimesamplePeriod (from DiscreteBlock)Sample period of component
SI.TimestartTime (from DiscreteBlock)0First sample time instant
Realkp (from LimitedPI)1Proportional gain
SI.TimeTi (from LimitedPI)1Integral time constant (T>0 required)
MagLev.Types.AntiWindupantiWindup (from LimitedPI)MagLev.Types.AntiWindup.BackCalcAnti-Windup technique
Feed-forward
BooleanuseFF (from LimitedPI)falseUse feed-forward?
RealkFF (from LimitedPI)1Feed-forward gain
Limitation
BooleansymmetricLimits (from LimitedPI)trueUse symmetric limits?
BooleanconstantUpperLimit (from LimitedPI)trueUse constant upper limit?
RealyMax (from LimitedPI)infUpper limit of output
BooleanconstantLowerLimit (from LimitedPI)trueUse constant lower limit?
RealyMin (from LimitedPI)-yMaxLower limit of output

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu (from DiscreteSISO)Connector of Real input signal
Modelica.Blocks.Interfaces.RealOutputy (from DiscreteSISO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputu_m (from LimitedPI)Connector of measured signal
Modelica.Blocks.Interfaces.RealInputfeedForward (from LimitedPI)Connector of feed-forward signal
Modelica.Blocks.Interfaces.RealInputyMaxVar (from LimitedPI)Connector of yMax input signal
Modelica.Blocks.Interfaces.RealInputyMinVar (from LimitedPI)Connector of yMin input signal

Components

TypeNameDefaultDescription
RealxunitDelay.yintegrator state
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Blocks.Discrete.ZeroOrderHoldzeroOrderHold_i
DiscretePIdiscretePI
Modelica.Blocks.Sources.Constantzero
DiscretePIdiscretePI1
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
Modelica.Blocks.Math.Feedbackcrop
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter1
UnitDelayunitDelay
Modelica.Blocks.Discrete.ZeroOrderHoldzeroOrderHold_o