Try It: Sensor Data Validation Simulator

Try It: Sensor Data Validation Simulator

animation
sensors
Try Leave Incoming reading at 22.5 C, Previous valid reading at 21.0 C and Rate threshold at 5.0 C. Toggle Simulate NaN to test the first rejection step.
Observe The default 1.5 C difference passes the rate check and the reading is accepted. With Simulate NaN selected, the first layer rejects it and later checks are shown as skipped.
Explain Incoming reading must first pass the simulated NaN test and the fixed range check; its absolute difference from Previous valid reading is then compared with Rate threshold.

Technical boundaries. Validation assumes an allowed temperature interval of -40 to 80 C. The final threshold compares successive values without elapsed time, so its rate warning is a difference check rather than degrees per second.

Try It: Sensor Data Validation Simulator. Test the same validation gates with readings that are valid, missing, or implausible.

Note

Simulate incoming sensor readings and see how the three-layer validation pattern catches bad data. Adjust the reading value and previous reading to test each validation layer.

Back to the chapter