Description
Update one relay-hysteresis state with explicit edge rules.
Control boundaries and stability terms depend on state history, sign conventions and the full system dynamics. A finite scalar factor, one pole or one frequency sample is not sufficient to establish safe closed-loop behavior.
Update one relay-hysteresis state with explicit edge rules.
When to use this tool
Use Relay Hysteresis One Switch Boundary when checking a supplied saturation, hysteresis or local stability condition.
How to use the tool and how it works
- Enter value, lower, upper, previousHigh. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read high, switched. Inspect high, switched before interpreting the associated values.
Update one relay-hysteresis state with explicit edge rules. Require lower < upper; previously high stays high only above lower, while previously low turns high at value >= upper; switched compares states.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| value | Value | Required. Finite number. |
| lower | Lower | Required. Finite number. |
| upper | Upper | Required. Finite number. |
| previousHigh | Previous High | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| high | Prior high state turns off at/below lower; prior low turns on at/above upper. | Required. Boolean. |
| switched | Switched | Required. Boolean. |
{
"input": {
"value": 8,
"lower": 2,
"upper": 8,
"previousHigh": false
},
"output": {
"high": true,
"switched": true
}
} Limitations and assumptions
- At lower a high relay switches off; no physical relay dynamics, chatter or safety assessment is provided.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Analyze the complete dynamic system and practical constraints before interpreting a local result as robust or safe operation.
References
Similar or alternative tools
- Deadzone Output Residual
Compare measured output with a symmetric deadzone model.
- Control Saturation Duty Fraction Term
Return a saturated command and its range fraction.