Input signal hysteresis





| Vector | C |
in the palette on the schematic
The block with the help of a relay ambiguous link of the Hysteresis type forms two signs at the output — whether the signal at the first input exceeded the upper limit, or whether it decreased to a level less than the lower limit. In this case, the presence of a signal at the second logical input is taken into account — in the absence of a signal on it, the block "does not work" and both outputs are equal to logical zero. The block has one analog input and one binary input - permission for operation. The outputs are discrete, the second of them is inverse. The dependence of the outputs on the analog input is non-linear, with the hysteresis:

Inputs

  • input 1 - the input signal;
  • input 2 - permission for operation.

Outputs

  • output 1 - the upper limit is exceeded;
  • output 2 - the signal is below the lower limit.

Properties

  • upper limit - the value of the upper limit of the signal;
  • lower limit - the value of the lower limit of the signal.

Parameters

none

Example

An example of block connection is shown in the following Figure.


Figure 1. Example of block connection
The plots of input and output signals are shown in the Figure below


Figure 2. Plots of input and output signals