modelLeadLagWithNonWindupLimiter
Lead-lag filter with non-windup limiter
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
Model to implement a lead-lag filter: y 1 + s*T1
- = k * ----------------
u 1 + s*T2
It is required that T1 > 0 and T2 > 0.
Output limiter with anti-windup is also implemented.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 1 | Gain |
| SI.Time | T1 | 1 | Lead time constant |
| SI.Time | T2 | 10 | Lag time constant |
| Real | yMax | 1 | Upper limits of output signal |
| Real | yMin | -yMax | Lower limits of output signal |
| Initialization | |||
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.InitialState | Type of initialization (1: no init, 2: steady state, 3,4: initial output) |
| Real | yStart | 0 | Initial or guess value of output (= state) |
| Advanced | |||
| Boolean | strict | false | = true, if strict limits with noEvent(..) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Gain | gain_dir | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter_y | ||
| Modelica.Blocks.Math.Feedback | feedback_y | ||
| Modelica.Blocks.Continuous.Integrator | integ_fb | ||
| Modelica.Blocks.Math.Gain | gain_fb | ||
| Modelica.Blocks.Math.Feedback | feedback_u |