blockLimitedLeadLag
Simple lead-lag filter, with output limitation
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
Lead-lag filter (no output limitations): y 1 + s*t1
- = K * ----------------
u 1 + s*t2
Neither output limitation nor anti-windup are implemented.
Both t1 and t2 need to be strictly positive.
By default, t1 and t2 are structural parameters, so they cannot be changed at runtime without recompiling the model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.PerUnit | K | 1 | Gain |
| Types.Time | t1 | Lead time constant in s | |
| Types.Time | t2 | Lag time constant in s | |
| Real | YMax | Upper limit of output signal | |
| Real | YMin | -YMax | Lower limit of output signal |
| Initialization | |||
| Real | Y0 | 0 | Initial or guess value 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Feedback | feedback | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter |