Power failure detection and restart system
First Claim
1. A power failure detection system for use with a computer including in combination:
- first means for supplying a voltage to be monitored;
second means for supplying a predetermined reference voltage;
first comparator means having inputs coupled with said first and second means and having an output for supplying a first output signal level when a predetermined normal relationship exists between the voltages supplied by said first and second means and providing a second output signal level when a predetermined abnormal relationship exists between the voltages supplied by said first and second means;
third means for supplying a second predetermined reference voltage;
time delay circuit means;
second comparator means having one input coupled with said third means, having a second input coupled with the output of said first comparator means through said time delay circuit means, and having an output for supplying a first output signal level when the output of said first comparator means is at said first output signal level and for supplying a second output signal level a predetermined time after the signal on the output of said first comparator changes from the first signal level to the second signal level;
computer means connected to the outputs for said first and second comparator means, said computer means interrupting operation in response to the change in the output signal level from said first comparator means from said first signal level to said second signal level, said computer means including timer circuit means coupled to said second comparator means for driving said second comparator means to produce the second output signal level on the output thereof in response to the output of said timer circuit means irrespective of the state of operation of said first comparator means; and
means coupled with said computer means for receiving signals therefrom indicative of proper operation of said computer means for periodically resetting said timer circuit means to prevent said timer circuit means from driving said second comparator means to the state where it produces said second output signal level, where the second signal level on the output of said second comparator means resets said computer means to a predetermined state of operation.
1 Assignment
0 Petitions
Accused Products
Abstract
A power failure detection and restart system for use with a microprocessor (microcomputer) control system includes first and second cascaded voltage comparators, the first of which responds to a drop in the supply voltage supplied to the microprocessor to produce an output pulse causing a software freeze of the microprocessor. The microprocessor operates in response to the software freeze pulse to transfer the contents of certain registers thereof to a battery protected memory for temporary storage therein. A positive feed-back circuit is used on the first voltage comparator to insure its rapid and complete change of state; and this change of state signal is applied through a time delay circuit to the second voltage comparator, which produces an output signal a predetermined time after the software freeze pulse is obtained from the first voltage comparator to reset the microprocessor to an initial circuit condition. Built in hysteresis in the system is employed; so that when the power once again rises above the level sufficient to properly operate the system, the first and second voltage comparators are turned on in the same sequence they were turned off to re-establish operation of the microprocessor which picks up its routine at the point the interruption took place.
148 Citations
6 Claims
-
1. A power failure detection system for use with a computer including in combination:
-
first means for supplying a voltage to be monitored; second means for supplying a predetermined reference voltage; first comparator means having inputs coupled with said first and second means and having an output for supplying a first output signal level when a predetermined normal relationship exists between the voltages supplied by said first and second means and providing a second output signal level when a predetermined abnormal relationship exists between the voltages supplied by said first and second means; third means for supplying a second predetermined reference voltage; time delay circuit means; second comparator means having one input coupled with said third means, having a second input coupled with the output of said first comparator means through said time delay circuit means, and having an output for supplying a first output signal level when the output of said first comparator means is at said first output signal level and for supplying a second output signal level a predetermined time after the signal on the output of said first comparator changes from the first signal level to the second signal level; computer means connected to the outputs for said first and second comparator means, said computer means interrupting operation in response to the change in the output signal level from said first comparator means from said first signal level to said second signal level, said computer means including timer circuit means coupled to said second comparator means for driving said second comparator means to produce the second output signal level on the output thereof in response to the output of said timer circuit means irrespective of the state of operation of said first comparator means; and means coupled with said computer means for receiving signals therefrom indicative of proper operation of said computer means for periodically resetting said timer circuit means to prevent said timer circuit means from driving said second comparator means to the state where it produces said second output signal level, where the second signal level on the output of said second comparator means resets said computer means to a predetermined state of operation. - View Dependent Claims (2)
-
-
3. A power failure detection system for use with a computer including in combination:
-
first means for supplying a voltage to be monitored; second means for supplying a predetermined reference voltage; first comparator means having inputs coupled with said first and second means and having an output for supplying a first output signal level when a predetermined normal relationship exists between the voltages supplied by said first and second means and providing a second output signal level when a predetermined abnormal relationship exists between the voltages supplied by said first and second means; third means for supplying a second predetermined reference voltage; time delay circuit means; second comparator means having one input coupled with said third means, having a second input coupled with the output of said first comparator means through said time delay circuit means, and having an output for supplying a first output signal level when the output of said first comparator means is at said first output signal level and for supplying a second output signal level a predetermined time after the signal on the output of said first comparator changes from the first signal level to the second signal level; a battery protected memory; a microprocessor having registers therein, the output of said first comparator means producing a pulse to said microprocessor when the signal level on the output of said first comparator means changes from said first signal level to said second signal level, said pulse causing said microprocessor to interrupt operation and to store the status of predetermined ones of said registers in said memory response thereto, where the second signal level on the output of said second comparator means resets said microprocessor to a predetermined state of operation; timer circuit means coupled to said second comparator means for driving said second comparator means to produce the second output signal level on the output thereof in response to an output pulse of said timer circuit means produced a predetermined time after said timer circuit means is reset; and said microprocessor including means for supplying reset clock pulses to said timer circuit means at periodic intervals sufficient to reset said timer circuit means prior to said timer circuit means producing said output pulse thereof so long as the program operation of said microprocessor is correct. - View Dependent Claims (4, 5, 6)
-
Specification