Signal and telemetry workbench
Paste a sensor series, one reading per line, with the time in seconds or as an ISO 8601 date and time. Set the alarm rules and the outlier detection. The tool draws the series, shades the alarm episodes, marks the outliers and shows where data is missing.
What it computes
Reading the series. One reading per line: time and value separated by a semicolon, a comma or a tab, or just the value (the reading number then stands for the time). The time is a number of seconds or an ISO 8601 date and time. A decimal comma is accepted when the separator is a semicolon. Readings are sorted by time; repeated and out-of-order times are counted, and lines that are not readings are ignored and counted.
Robust outlier detection. For each reading, a window of neighbouring readings (25 by default, centred on it) gives a median and the median absolute deviation (MAD). The score is 0.6745 × (value − window median) / MAD, and the reading is flagged when its absolute value exceeds the threshold (3.5 by default). The median and the MAD are barely moved by the outliers themselves, and the moving window follows slow drift and daily cycles. When the MAD is zero (a nearly constant window) the mean absolute deviation is used instead, with the factor 1.2533. Near the ends the window slides inwards so it keeps its size.
Alarm rules. Each rule has a type (above or below), a threshold, a hysteresis and a minimum duration. A condition starts at the first reading beyond the threshold and becomes an alarm only if it holds, reading after reading, for the minimum duration. An open alarm closes only when the value recedes past the threshold by more than the hysteresis, which stops it opening and closing repeatedly around the threshold. Each episode reports start, end (the last reading in alarm), duration, extreme value and whether it was still open at the end of the series.
Data gaps. The typical interval is the median of the positive differences between consecutive times. A gap is any difference larger than three times that interval, with an estimate of how many readings are missing.
How it was verified
The engine is a separate module with automated tests against small cases worked by hand, including constant series, repeated and out-of-order times, very large values and invalid input: the same file runs in this page and in our own command-line use.
In this public version
Up to 2,000 readings and 2 alarm rules per analysis, shown on screen. Larger series, export of episodes, live data feeds and notifications are done to order. The method flags readings that stand out from their neighbours under the stated criterion; it does not find every fault.
Need it on your own data, at scale or inside your systems?
The same engine can be adapted, integrated or extended to order.