blockWithinBand
Output y is true if input u is within a lower and upper threshold
Information
The output y is true if the Real input u is greater or equal u_min and less or equal u_max. Otherwise the output is false:
y = u ≥ u_min and u ≤ u_max
This block is demonstrated with example ThresholdComparisons.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u_max | 1 | Upper threshold |
| Real | u_min | -u_max | Lower threshold |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Connector of Boolean input signal | |
| Modelica.Blocks.Interfaces.BooleanOutput | y | Connector of Boolean output signal |