Watchdog timers (WDT) or sometimes referred to as computer operating properly or COP timer is a piece of hardware which can be found in embedded system applications but are an external component to the processor. Watchdog timers are commonly used in environments where human access is very limited or incapable of responding to faults in a timely mode, therefore, the system needs to be self-reliant if it hangs. An example would be a space probe, where human intervention is restricted when in operation if the device is unable to recover from malfunctions, it would become disabled.
What is the purpose of a Watchdog timer?
The purpose of the Watchdog timer (WDT) is to automatically detect pulse signals from a processor within a definite time period. The device will send a reset trigger if the system malfunctions or if the signal is not received and requires a reboot, this could occur because of software or hardware issues.
There are two ways in which a Watchdog Timer enable the embedded system to be self-reliant:
- By detecting system errors which can include programming errors, a surge of power, software loops or hanging and if code crashes.
- By resetting operating systems and continuing normal program actions through the reset signal which is embedded in a Central Processor Unit (CPU) or Microcontroller.
What is a typical application of a Watchdog timer?
A watchdog timer (WDT) is used in everyday applications, such as digital TVs, washing machines, vacuum cleaner, microwaves, drones, grid metering to motor control systems such as cruise control, smartphones to name a few. Within all these devices, the functionality of a Watchdog Timer will provide the same or similar purposes.