How to use this calculator
Approximate the gain and phase introduced by a symmetric relay that switches at two different input thresholds.
- Enter Input sine amplitude, Relay output level, Switching threshold magnitude. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Hysteretic relay describing function explained
For a symmetric two-level relay with hysteresis, the describing function estimates the fundamental gain and phase created by switching at ±ε. The result applies only when the input amplitude exceeds the switching threshold.
Inputs, symbols, and units
A— Input sine amplitude- Positive amplitude, strictly greater than switching threshold.
h— Relay output level- Magnitude of the symmetric two-level output.
eps— Switching threshold magnitude- Half width of the symmetric hysteresis band.
Formula and method
N(A)=4h/(πA)[√(1−(ε/A)²)−i ε/A], with A>ε.
A sinusoidal input crosses +epsilon and −epsilon; the relay retains its last level between crossings. This memory produces a negative first-harmonic phase.
A worked scenario
Input sine amplitude = 2; Relay output level = 1; Switching threshold magnitude = 0.3.
- Equivalent gain magnitude: 0.63662 output/input
- Phase lag: -8.626927 deg
- Real gain part: 0.629417 output/input
- Imaginary gain part: -0.095493 output/input
A sine of amplitude two drives a ±1 relay with switching thresholds ±0.3.
Assumptions and edge cases
Only switching cycles with A>epsilon are supported; nonswitching initial-state behavior is excluded.
Reading the outputs
Magnitude is the equivalent fundamental gain; real and imaginary parts follow the e^(iωt) frequency convention.
Frequently asked questions
Does hysteresis change the gain magnitude?
For this ideal relay it changes phase while the first-harmonic magnitude remains 4h/(πA).
What happens with zero hysteresis?
The relay fundamental is in phase with the input.
Is the relay output sinusoidal?
No. The describing function retains only its fundamental.
How do I use the Hysteretic relay describing function calculator?
Enter Input sine amplitude, Relay output level, Switching threshold magnitude. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Hysteretic relay describing function?
Input sine amplitude = 2; Relay output level = 1; Switching threshold magnitude = 0.3. Equivalent gain magnitude: 0.63662 output/input Phase lag: -8.626927 deg Real gain part: 0.629417 output/input Imaginary gain part: -0.095493 output/input A sine of amplitude two drives a ±1 relay with switching thresholds ±0.3.
Read our calculation methodology.