Hyst
Hysteresis (relay) function
Library
GFLIB
Description
Hysteresis (relay) function output depends on current input and also on the past input.
Parameters and dialog box
The Hyst block dialog box appears as follows:
When the input value is changing in a positive direction and reaches the In_on parameter value, the output is set to Out_on. The function doesn't react to In_off during the positive change of the input.
When the input value is changing in a negative direction and reaches the In_off parameter value, the output is set to Out_off. The function doesn't react to In_on during the negative change of the input.
For input sine wawe with amplitude=1 the Hyst function output with the parameters 0.7,0,1,1 (In_on, In_off, Out_on, Out_off respectively) will be:
Inputs and outputs
Inputs:
in - input signal
Outputs:
out - output signal