Implementation of watchdog for power automation system using WinDriver

Power automation system runs continuously in the environment full of electromagnetic interferences.It is necessary to employ watchdog in it.The implementation of 2-stage watchdogs based on Windows 2000,C++ Builder and WinDrive is introduced.The 1st stage watchdog restarts the application program when it becomes abnormal;the 2nd stage watchdog restarts the whole system when the 1st stage watchdog fails or the whole system halts.It is easy to implement and gets good performance.