Ambiguous relay (hysteresis)
![]() |
![]() |
| Vector | C | ST | |
| in the palette | on the schematic |
The block implements conversion of input signals by means of a single nonlinear static characteristic of the "relay ambiguous" type under different initial conditions according to the following algorithm:


where x(t) is the vector of input signals; y(t) is the vector of output signals; Δt is the previous time step of integration, a, b, y1, y2 are the parameters of the static characteristic.


where x(t) is the vector of input signals; y(t) is the vector of output signals; Δt is the previous time step of integration, a, b, y1, y2 are the parameters of the static characteristic.
Inputs
- input - input signal port.
Outputs
- output - port of output converted signal.
Properties
- Lower switching limit – a is the minimum value of the input signal, at which the value at the output is equal to the lower value;
- Upper switching limit – b is the maximum value of the input signal at which the value at the output is equal to the upper value;
- Lower value of the function – y1 is the minimum value at the block output;
- Upper vlue of the function – y2 is the maximum value at the block output;
- Initial conditions (0;1) – the initial condition of the relay; 0 – OFF, 1 – ON
Parameters
- none
Note:
in order to implement vector processing, the converted signals must be "compressed" into a vector input signal by means of a typical block Multiplexer.

