Fault monitors - AD-EYE/AD-EYE_Core GitHub Wiki

Purpose

The purpose of the fault monitors is to detect and monitor faults. A common interface has been implemented so that no matter the fault monitored, the usage is the same.

Implementation

To avoid flickering output, the fault monitor follows the logics of a counter that:

  • is incremented when a test is failed
  • is decremented when a test succeeds When the counter reaches a high threshold, what is monitored is considered as faulty. When the counter reaches a low threshold, what is monitored is considered as non faulty. In between the high and low threshold, the state remains the same as the previous iteration.

Class Diagram