blockLimiter

Limit the range of a signal

Extends from Interfaces.SISO (Single Input Single Output continuous control block).

Information

The Limiter block passes its input signal as output signal as long as the input is within the specified upper and lower limits. If this is not the case, the corresponding limits are passed as output.

The parameter homotopyType in the Advanced tab specifies the simplified behaviour if homotopy-based initialization is used:

  • NoHomotopy: the actual expression with limits is used
  • Linear: a linear behaviour y = u is assumed (default option)
  • UpperLimit: it is assumed that the output is stuck at the upper limit u = uMax
  • LowerLimit: it is assumed that the output is stuck at the lower limit u = uMin

If it is known a priori in which region the input signal will be located, this option can help a lot by removing one strong nonlinearity from the initialization problem.

Parameters

TypeNameDefaultDescription
RealuMaxUpper limits of input signals
RealuMin-uMaxLower limits of input signals
Advanced
Booleanstrictfalse= true, if strict limits with noEvent(..)
Initialization
Types.LimiterHomotopyhomotopyTypeModelica.Blocks.Types.LimiterHomotopy.LinearSimplified model for homotopy-based initialization

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal