Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Watchdog for the computer. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Computers

Comments on the article Comments on the article

Often, personal computers are used in continuously operating systems for managing, collecting and processing information. Unfortunately, computers are prone to crashes that cause the program being run to hang. In well-established systems, such events are rare, but they cannot be completely excluded. You have to keep the operator on duty, whose only task is to find a "freeze", press the "Reset" button and restart the computer.

In specialized computers and controllers for industrial use, the problem is solved by using the so-called watchdog timer (translated as "watchdog"). A normally running program periodically writes to its register a number that specifies the delay, after which the timer generates an interrupt request signal or processor reset, if no new writing to the register has occurred during this time. A "hung" program does not do this in a timely manner, as a result, the computer restarts.

General purpose computers are not equipped with such a timer. The device whose circuit is shown in the figure will successfully replace it. A sign of normal computer operation in this case is the presence of a signal at the TXD output of one of its communication ports. The program to be protected from "hangup" must constantly output data to it. Which one doesn't matter. This can be useful information intended for a peripheral device connected to the port, or any other, so long as the signal at the TXD output is not interrupted for a long time.

Watchdog for computer

The values ​​of the voltage rectified by the diodes VD1 and VD2 on the capacitors C2 and C3 are equal in absolute value (about 10 V), but opposite in sign. As a result, the voltage at the base of transistor VT1 is close to zero and it is closed. After the termination of the TXD signal, the capacitor C3 discharges faster than C2, the capacitance of which is several times larger. The voltage at the base of the transistor VT1 becomes positive and opens it. The "Reset" circuit of the computer is connected to a common wire until the capacitor C2 is completely discharged.

As a result, the computer will start by loading the operating system and executing commands from the AUTOEXEC.BAT file. Among them, there should not be any requiring operator intervention, for example, entering a password, selecting a mode. Only loading the necessary resident drivers and calling the working program. During the entire restart process, the watchman does not affect the operation of the computer, since there is no TXD signal, the capacitors are discharged, and the transistor is closed. With the appearance of the signal, the capacitor C3 is charged first, then C2, and the device is again ready for operation.

Author: A. Dolgiy, Moscow

See other articles Section Computers.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

The origin of the hollow in the tree 30.06.2012

Many inhabitants of the forest use hollow trees for housing. How does a hollow occur?

Two ways, answers a group of ecologists from Poland, Canada and Argentina, who have studied this issue in the forests of almost all the continents of the Earth. Either due to rotting wood, or the efforts of woodpeckers (less often - other birds, such as some species of tits and nuthatches), but the role of these two processes is different on different continents. So, in North America, 77% of hollows are formed due to woodpeckers and do not overgrow for a long time, so that more than one generation of birds or mammals can live in them. In Eurasia and South America, on the contrary, rotting plays the main role, and cavities hollowed out by woodpeckers (there are only 26%) quickly overgrow. In Australia and New Zealand, hollows result only from decay, and the process can take more than 200 years.

Other interesting news:

▪ Stimulation of the temporal cortex improves memory

▪ Warm nanoparticles stimulate the brain

▪ Superluminal UFO

▪ Synthetic fuel e-diesel from Audi

▪ The dangers of riding electric scooters

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Mobile communications. Article selection

▪ article Theory of Accounting. Lecture notes

▪ article Which Japanese managed to survive two atomic bombings in a row? Detailed answer

▪ article Weather Records. Earthquakes and natural disasters. Tourist tips

▪ article Voltage converter for powering the varicap. Encyclopedia of radio electronics and electrical engineering

▪ article VHF radio receiver on KHA-058. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024