Limited integrator
Integrates the input and holds the output inside its limits (the state stops at a limit instead of winding up).
- signal
- Modelica Standard Library
- 2 ports
- 3 parameters
limitedIntegratorLibraryContinuousDescription
Integrates its input and keeps the output between Lower limit and Upper limit: at a limit, integration stops while the input pushes further out, and an input of the other sign brings the output back at once (the Modelica library limited integrator). Use it for integral action that must not wind up.
Example
Step responses A unit step through a first-order filter, a second-order system, an integrator, a limited integrator, and a delay; a ramp through a derivative.
Also in this example:StepRampIntegratorDerivativeLow-pass filterSecond-orderTransport delay
Ports
Inputs 1
-
u
Input signal, the rate of change of the output.
Outputs 1
-
y
Output signal, the limited integral of u.
Parameters
-
Upper limit
outMax1Upper limit of the output.
-
Lower limit
outMin-1Lower limit of the output. Should be below Upper limit.
-
Initial value
y_start0Value of the output at the start of the run, inside the limits.
Equations
dy/dt = 0 if (y ≥ outMax and u > 0) or (y ≤ outMin and u < 0) dy/dt = u otherwise y = y_start at time 0
Implementation
Modelica.Blocks.Continuous.LimIntegratorAssumptions and limitations
- There is no reset input.
See also
Select a block in Gradara and press F1 to open its page offline.