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

TypeNameDefaultDescription
Realu_max1Upper threshold
Realu_min-u_maxLower threshold

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuConnector of Boolean input signal
Modelica.Blocks.Interfaces.BooleanOutputyConnector of Boolean output signal