Power-fail return loop
AssigneeAscom Autelca AG
InventorPhilippe Wicht
Life of this patent
Estimating the term…
Abstract
A computerized system is of the type that responds to imminent loss of power by storing crucial data to a safe storage area. In the system, lockup caused by the system entering a tight loop awaiting power loss, is avoided by a combination of stored program and hardware. A test performed in the tight loop checks repeatedly to see whether the power-failure signal comes no longer to be present, and if that condition occurs the stored program causes the meter to return to normal function. As a consequence momentary power losses and other brief interruptions, whether due to user manipulation of the power switch or otherwise, are much less likely to result in undesired lockup of the system.
Claims12
In a computer system having a processor, and program-containing nonvolatile memory, a first temporary power supply and a second temporary power supply, the first power supply powered by an interruptible source, the second power supply providing power for a time interval following interruption of the interruptible source and loss of power in the first power supply, signaling means for providing a first signal indicative of loss of power in the first power supply while the second power supply is providing power, and a second signal indicative of restoration of power in the first power supply, said processor and program comprising power-fail-control means including:
- power fail responsive means responsive to the first signal, indicative of loss of power in the first power supply while the second power supply is providing power, for causing the processor to enter a power-down routine including steps in which the processor makes no further reference to the nonvolatile memory and remains in said steps until loss of power from said second power supply;
- and
- power restoration responsive means operative when the processor is in the power-down routine and responsive to the second signal indicative of restoration of power in the first power supply, for causing the processor to exit the power-down routine.
A power down, power up method for use in a computer system having a processor, nonvolatile memory containing program, said method comprising;
- providing a first power supply and a second power supply capable of providing power for a time interval following loss of input power thereto,
- powering the first and second power supplies by an interruptible source,
- producing a first signal, a state of which is indicative of loss of power in the first power supply while the second power supply is providing power, and a second signal, a state of which is indicative of restoration of power in the first power supply,
- responding to the state of the first signal indicative of loss of power in the first power supply by interrupting program execution,
- causing the processor to enter a power-down routine in which the processor makes no further reference to the nonvolatile memory and remains in said routine until loss of power from said second power supply if the system continues to be provided with insufficient power from the interruptible source;
- and
- responding to continued presence of power from said second power supply, and to the second signal indicative of restoration of power in the first power supply, by causing the processor to exit the power-down routine and to resume program execution.
Dependencies are inferred from the claim text.