All Technical Articles
AlgorithmsDetection

Tuning Coherence Windows to Kill False Positives

By Engineering — Algorithms · May 15, 2026 · 7 min read

Cross-cell coherence is the suppression layer. The window length is the lever. Two seconds too short and solar gain trips the deck; two seconds too long and you spend lead time on noise.

A per-cell rolling baseline gives you a candidate trip. Cross-cell coherence is what turns the candidate into an alarm or a discard. The mechanic is simple — if the same delta is shared by neighbours, suppress; if it is local, escalate — but the window length over which "shared" is evaluated is where the engineering happens.

The trade space

  • Short window (sub-second): coherence is too tight; transient cross-cell environmental events look like vehicular ones.
  • Long window (10+ seconds): real cell-local events get suppressed because the environmental delta catches up.
  • Variable window: per-deck tuning to the ventilation and solar profile of the specific vessel.

Where we landed

~3 s
Default coherence window
±1 s
Per-vessel tuning range
~0.04%
Residual false-positive rate against bench-rig catalogue

How we tune in the field

Three voyages of calibration data per deck, replayed against the trip engine, with the window swept across the ±1 s range. The optimal window minimises false positives without losing any of the staged true-positive replays. Process is documented and reproducible — a class-society auditor can run it themselves.

The window is not a magic number. It is a per-vessel parameter set by data, and it should be re-tuned after major structural changes to the deck.
Related reading

Continue the thread