Discontinuous

Relay Block

Hysteresis switch: toggles between on/off values based on input thresholds

Open Relay in BlockWerk →

# Relay Block

Description

A hysteresis switch that toggles between two output values. Turns on when input rises above the switch-on point, and turns off when input falls below the switch-off point. The gap between the two thresholds creates hysteresis, preventing chattering around a single threshold.

Mathematical Model

\begin{cases} y_{\text{on}}, & u(t) \ge \text{switchOn} \\ y_{\text{off}}, & u(t) \le \text{switchOff} \\ y(t-\Delta t), & \text{otherwise} \end{cases}

Parameters

switchOnPoint / switchOffPoint

Threshold values for switching. switchOnPoint should be >= switchOffPoint for proper hysteresis.

onValue / offValue

Output values for the on and off states.

switchOffPoint

Type: number (Default: -0.5)

Switch Off Point parameter description placeholder.

offValue

Type: number (Default: 0)

Off Value parameter description placeholder.

Remarks

Examples

See Also