Method of controlling a microcomputer after power shutdown
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsLlewellyn Yance, Satoshi Endo
Life of this patent
Estimating the term…
Abstract
A method for controlling a microcomputer is provided. The microcomputer is operable without completely expending power of backup power supply when main power is shutdown. During the power shutdown, the microcomputer is connected to a capacitor as a backup power device which supplies small amount of current for a short period. Thus, the microcomputer can execute software for a given period. By changing an operation mode of the microcomputer from high speed mode to low speed mode, power consumption of the microcomputer can be significantly reduced. The method uses software to suppress power consumption of the microcomputer to the minimum and to measure a duration time of power shutdown.
Claims9
A method for controlling a microcomputer in microcomputer system with a high speed operation mode and a low speed operation mode in which operation speed of the microcomputer is slower than that of the high speed operation mode, said microcomputer system including a clock operable in the high and the low speed operation mode and a backup power supply for supplying the clock with power for a predetermined time, said method comprising steps of:
- detecting power shutdown;
- changing the high speed operation mode to the low speed operation mode;
- determining whether the power shutdown is recovered within a given time period;
- and
- setting the high speed operation mode when the power shutdown is determined to be recovered.
A method for controlling a microcomputer in microcomputer system with a high speed operation mode and a low speed operation mode in which operations of the microcomputer is slower than that of the high speed operation mode, said microcomputer system including a clock operable in the high and the low speed operation mode and a backup power supply for supplying the clock with power for a predetermined time, said method comprising steps of:
- detecting power shutdown;
- changing the high speed operation mode to the low speed operation mode;
- periodically determining whether the power shutdown is recovered within a first given time period;
- setting the high speed operation mode when the power shutdown is determined to be recovered;
- and
- setting the microcomputer to a stop operation mode to stop operations unless the power shutdown is recovered within the second given time period which is longer than the first given time period.
A method for controlling a microcomputer in microcomputer system with a high speed operation mode and a low speed operation mode in which operations of the microcomputer is slower than that of the high speed operation mode, said microcomputer system including a clock operable in the high and the low speed operation mode and a backup power supply for supplying the clock with power for a predetermined time, said method comprising steps of:
- detecting power shutdown;
- checking whether the clock is set;
- setting the microcomputer to a stop operation mode to stop operations unless the clock is set;
- changing the high speed operation mode to the low speed operation mode when the clock is set;
- periodically determining whether the power shutdown is recovered within a first given time period;
- setting the high speed operation mode when the power shutdown is determined to be recovered;
- and
- setting the microcomputer to the stop operation mode unless the power shutdown is recovered within the second given time period which is longer than the first given time period.
Dependencies are inferred from the claim text.