Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
Classes | Variables
fault_monitor.h File Reference

Fan RPM plausibility monitor with latched fault recovery. More...

#include <Arduino.h>
Include dependency graph for fault_monitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FaultMonitorConfig
 Fault detection thresholds for fan RPM plausibility. More...
 
struct  FaultMonitorSnapshot
 Diagnostic result from one fan fault-monitor evaluation. More...
 
class  FaultMonitor
 Tracks fan RPM plausibility and latches persistent fan faults. More...
 

Variables

constexpr FaultMonitorConfig kDefaultFaultMonitorConfig
 Default fault-monitor timing and debounce thresholds.
 

Detailed Description

Fan RPM plausibility monitor with latched fault recovery.

The monitor compares measured tachometer RPM against the expected fan curve after a settling delay. It debounces both failure and recovery so transient fan speed deviations do not immediately toggle the service state.