Hysteresis Control
The Adapnex SDK provides blocks for switching boolean outputs based on analog input thresholds. These blocks implement hysteresis, a technique crucial for preventing rapid, unwanted switching ("chattering") when a signal fluctuates near a threshold.
Overview of Available Blocks
The table below summarizes the hysteresis blocks available in the SDK. Detailed logic diagrams, parameter tables, and runnable examples for each block are documented on their respective reference pages linked in the table.
| Block | Type | Behavior Summary | Common Use Case |
|---|---|---|---|
Standard hysteresis |
Switches output based on two thresholds ( |
Thermostats, cooling fans, heating systems |
|
Delayed hysteresis |
Adds an on-delay filter ( |
Liquid level control, turbulent signals |
Threshold Logic
These blocks automatically adapt their logic based on the relationship between SET and RESET:
-
Direct (e.g. Cooling/High-Alarm): If
SET > RESET:-
OUTbecomestruewhenINrises aboveSET. -
OUTbecomesfalsewhenINfalls belowRESET.
-
-
Inverse (e.g. Heating/Low-Alarm): If
SET ⇐ RESET:-
OUTbecomestruewhenINfalls belowSET. -
OUTbecomesfalsewhenINrises aboveRESET.
-