Monitoring & detection

Threshold detection

Threshold detection classifies a reading by comparing it against one or more fixed limits, producing a discrete state such as safe, warning, danger or critical.

Why it matters

It is the most defensible mechanism in a safety system because it can be explained after the fact by pointing at a number and a constant. That property matters enormously when an incident is being investigated.

How it works

Each channel carries a set of ordered limits. A reading is compared against them in order and assigned the highest state it satisfies. Inverted channels, where a lower value means more hazard, need their comparison reversed.

Example

A channel with warn at 300 and critical at 700 classifies a reading of 450 as WARN.

In Alfa HazardX

Per-sensor thresholds run on the node and again server-side. The flame channel is inverted - a brighter flame pulls the analog value down - so its check is reversed throughout.