Design Idea

Circuit provides watchdog for microcontrollers

Edited by Bill Travis

VM Holla, Bangalore, India -- EDN, 12/26/2002

The watchdog circuit in Figure 1 uses a single NAND Schmitt-trigger IC. The circuit is more cost-effective than dedicated, commercially available watchdog ICs. The circuit generates an active-high reset signal upon power-up and remains in a low state as long as the control input receives pulses. Whenever the pulsing at the control input stops, whether the circuit is in a high or a low state, the circuit emits a reset signal. Upon power-up, both inputs of gate IC1C are low, forcing the Reset output to switch high and the to go low. Thus, the outputs of both IC1B and IC1D are high. The high outputs charge the capacitors in the circuit, and, when both inputs of IC1D reach a high level, the Reset output goes low, and goes high. As long as the control input receives pulses, the outputs of IC1B and IC1D deliver pulses. The pulses hold the input of gate IC1C high and the Reset output low. When the control signal remains in a high state, C2 begins discharging. When the control signal switches low, the Reset output goes high. The same scenario prevails with C1 when the control signal remains low. You can choose the values of R1, C1, R2, and C2 as a function of the watchdog-time duration and the reset pulse width required. With the values shown, the circuit is appropriate for MCS51-family microcontrollers. The duration of the watchdog time is approximately 300 msec, and the reset pulse width is approximately 10 msec.

Is this the best Design Idea in this issue? Select at www.edn.com.



ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center



Technology Quick Links

EDN Marketplace


©1997-2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites