The electronic installation of tool electric power management mechanism
[Ji Intraoperative field]
The present invention is relevant for a kind of power management techniques, particularly relevant for a kind of electronic installation of tool electric power management mechanism.
[Bei Jing Ji Intraoperative]
Gordon's mole (Gorden Moore) that proposes Moore's Law (Moore ' s law) thinks that integrated circuit (IC) goes up open ended transistor size, just can double every 18 months approximately, performance also will promote one times, and transistor up to a million and copper cash have been comprised on the present integrated circuit (IC), the integrated circuit of this complexity (IC) structure then can relatively increase more power consumption problem, in addition, because of computer speed and functional requirement constantly promote, cause the demand of electric power to promote more thereupon, therefore in the electronic installation administrative skill of power supply real be important, relative CPU (central processing unit) (CPU) also become more important for the support design of powder source management mode; In addition, except that general personal computer system or server system use the power management techniques, embedded system also utilizes power management techniques to reach energy-conservation effect, makes and utilizes the designed associated electrical products such as action hand-held device of embedded system also can have service time more of a specified duration.
Yet, be not that all its CPU (central processing unit) that adopts of electronic installation are all supported powder source management mode, the arithmetic processor that also is not all employings all can enter in the park mode (deep sleep mode) of more power saving, therefore lower stand-by time and system's availability of electronic installation unavoidably, be the design of the embedded system of a large amount of exploitations now still more, be used for PDA(Personal Digital Assistant) in a large number, the diverse network relevant device, mobile phone, digital camera, digital camera, reach in the system of Digital Television or the like associated electrical product, the power consumption degree of its arithmetic processor is considered more important.But,, so will influence the efficient of system works and the reliability that electric weight is crossed its system when hanging down because the different influences of considering of each tame chip designer or encapsulation procedure make not to be all problem generations of dormant mode support of arithmetic processor.
The CPU (central processing unit) (for example: Samsung 2440 or Samsung2410 etc.) that can't enter park mode with some is the system of platform, system is crossed when low at battery electric quantity, because can oneself not enter park mode, and the system that makes can use battery electric quantity unexpected powered-down when too low the user, and work as system in the electric power abundance, but can find real-time clock module (the real timeclock module of system when starting shooting again; RTC module) data of being managed is destroyed, and this kind problem is most commonly at present as on the hand-held action devices such as mobile phone, PDA(Personal Digital Assistant).
Therefore, take off the existing problem of technology before how effectively solving, and develop the technical scheme of a tool electric power management mechanism, with the power supply of effective managing electronic device and when avoiding closing suddenly because of the power supply of electronic installation, the thing that the data that cause real-time clock module to manage are lost, the problem that present just power-supply management system is needed to be resolved hurrily.
[summary of the invention]
The shortcoming of prior art in view of the above, fundamental purpose of the present invention promptly is to provide a kind of electronic installation of tool electric power management mechanism, in order to the power supply of effective managing electronic device.
A time purpose of the present invention is to provide a kind of electronic installation of tool electric power management mechanism, when avoiding closing suddenly because of the power supply of electronic installation, and the thing that the data that cause real-time clock module to manage are lost.
For reaching above-mentioned fundamental purpose and other purpose, the invention provides a kind of electronic installation of tool electric power management mechanism, comprise at least: one in order to provide the user to open or to close the total power switch unit of the general supply of this electronic installation; One in order to provide the operating mode switch unit that uses the operating mode of switching this electronic installation, and wherein, this operating mode comprises mode of operation, standby mode (sleep mode) and park mode (deepsleep mode); One real time data update module in order to the data that operated in this electronic installation of real-time update; A but program logical unit in order to the operating mode of the system power supply of controlling this electronic installation; One is used to this total power switch unit when being opened by the user, but this real time data update module is provided at least and is somebody's turn to do the required power supply of program logical unit, and when being used to this electronic installation and being in standby mode, this real time data update module is provided, but be somebody's turn to do the required power supply of program logical unit and the system standby power supply of this electronic installation, and when being used to this electronic installation and being in mode of operation, this real time data update module is provided, but be somebody's turn to do the required power supply of program logical unit and the system power supply of this electronic installation, when being used to this electronic installation again and being in park mode, but only provide the power supply unit of this real time data update module and should program logical unit required power supply; One is used to this total power switch unit when being opened by the user, whether detect power supply that this power supply unit supplies with greater than one first predeterminated voltage critical value, if, but then make this program logical unit open the system power supply of this electronic installation, so that the system power supply of this electronic installation to be provided by this power supply unit, so that this electronic installation enters mode of operation, if not, but then make this program logical unit not open the system power supply of this electronic installation, so that this electronic installation enters park mode, and when being used to this electronic installation and being switched to standby mode by this operating mode switch unit by the user, whether detect power supply that this power supply unit supplies with less than one second predeterminated voltage critical value, if, but then make this program logical unit cut off the system standby power supply of this electronic installation, so that this power supply unit does not provide the system standby power supply of this electronic installation, enter the detecting voltage module of park mode to make this electronic installation; One operation in order to this electronic installation of master control, and when this electronic installation is switched to mode of operation by the user by this operating mode switch unit, whether detect power supply that the power supply unit of this electronic installation supplies with less than one the 3rd predeterminated voltage critical value, if, then after a safety sleeping handling procedure is complete, but make this program logical unit cut off the system power supply of this electronic installation, so that this power supply unit does not provide the system power supply of this electronic installation, enter the main control module of park mode to make this electronic installation.
Compared to known techniques person, the present invention mainly by a detecting voltage module when the total power switch unit of this electronic installation is opened by the user, whether detect power supply that the power supply unit of this electronic installation supplies with greater than one first predeterminated voltage critical value, if, but then make this power supply unit that the system power supply of this electronic installation is provided by a program logical unit, and when being used to this electronic installation and being in for standby mode, whether detect power supply that this power supply unit supplies with less than one second predeterminated voltage critical value, if, but then make this power supply unit that the system standby power supply of this electronic installation is not provided by this program logical unit, and by a main control module when this electronic installation is in mode of operation, whether detect power supply that the power supply unit of this electronic installation supplies with less than one the 3rd predeterminated voltage critical value, if, then after a safety sleeping handling procedure is complete, but make this power supply unit that the system power supply of this electronic installation is not provided by this program logical unit, whereby, not only reach the purpose of power management, in the time of more can avoiding closing suddenly because of the power supply of electronic installation, the thing that the data that cause real-time clock module to manage are lost.
For purpose of the present invention, structural attitude and function thereof are had further understanding, conjunction with figs. is described in detail as follows now:
[description of drawings]
Fig. 1 is the basic block schematic diagram of embodiment of the electronic installation of tool electric power management mechanism of the present invention.
[embodiment]
Below by specific instantiation explanation embodiments of the present invention, the personage who is familiar with this skill can understand other advantage of the present invention and effect easily by the content that this instructions disclosed.The present invention also can be implemented or be used by other different instantiation, and the every details in this instructions also can be carried out various modifications and change based on different viewpoints and application under not departing from spirit of the present invention.
See also Fig. 1, be the basic block schematic diagram of embodiment of the electronic installation 1 of tool electric power management mechanism of the present invention.As shown in the figure, the electronic installation 1 of tool electric power management mechanism of the present invention comprises a total power switch unit 10, one operating mode switch unit 11, one real time data update module 12, a but program logical unit 13, but one with this real time data update module 12 and should program logical unit 13 power supply units 14 that electrically connect, one with this total power switch unit 10, the detecting voltage module 15 that this operating mode switch unit 11 and this power supply unit 14 electrically connects and one and this operating mode switch unit 11, but be somebody's turn to do the main control module 16 that program logical unit 13 and this power supply unit 14 electrically connect; In present embodiment, this electronic installation 1 can be embodied as notebook computer (NB), desktop computer (DT), PDA(Personal Digital Assistant), digital camera, digital VTR (DV) and multimedia play equipment etc.
Below promptly elaborate at taking off each object on the electronic installation 1 of tool electric power management mechanism of the present invention respectively:
This total power switch unit 10 is in order to provide the user and open or close the general supply of this electronic installation 1; In present embodiment, this total power switch unit 10 is cold boot switch (cold boot switch), also is the switch that this electronic installation 1 general supply of control is opened or closed.
This operating mode switch unit 11 uses the operating mode of switching this electronic installation 1 in order to provide, and wherein, this operating mode comprises mode of operation, standby mode (sleep mode) and park mode (deep sleepmode); In present embodiment, this operating mode switch unit 11 is power supply control knob (power button), furthermore, it switches to standby mode in order to the user to be provided with the operating mode that manual method will be in the electronic installation 1 of mode of operation, relatively, also can switch to mode of operation with the operating mode that manual method will be in the electronic installation 1 of standby mode or park mode in order to the user to be provided, wherein, this manual method refers to the mode of pressing button.The data of this real time data update module 12 in order to be operated in this electronic installation 1 of real-time update; In present embodiment, this real time data update module 12 is real-time clock module (real timeclock module; RTC module), for example, most with data such as the storage times on date of the Binary Coded Decmal (BCD) on the chip (Chip) for utilizing the clock of motherboard (Mother Board) battery operation in the computing machine; Again for example for having in the electronic installation of Global Positioning System (GPS) real-time clock module in order to the almanac data that operated in this electronic installation of real-time update etc.
But should program logical unit 13 in order to the operating mode of the system power supply of controlling this electronic installation 1; In present embodiment, but should program logical unit 13 be complicated programmable logic module (ComplexProgrammable Logic Devices; CPLD), it is a kind of in order to the assembly as logic control.
This power supply unit 14 is used to this total power switch unit 10 when being opened by the user, but provide at least this real time data update module 12 and should program logical unit 13 required power supplys; And when being used to this electronic installation 1 and being in standby mode, but provide this real time data update module 12, should program logical unit 13 required power supplys and the system standby power supply of this electronic installation 1; And when being used to this electronic installation 1 and being in mode of operation, but provide this real time data update module 12, should program logical unit 13 required power supplys and the system power supply of this electronic installation 1; When being used to this electronic installation 1 again and being in park mode, but only provide this real time data update module 12 and should program logical unit 13 required power supplys; In present embodiment, this power supply unit 14 is a battery, refers to a kind of rechargeable type battery especially; As from the foregoing, when as long as this total power switch unit 10 is unlocked, no matter this electronic installation 1 is in which kind of operating mode (mode of operation, standby mode or park mode), all can provide this real time data update module 12 required power supply, with the data that operated in this electronic installation 1 of preserving 12 real-time update of this real time data update module by this power supply unit 14.
This detecting voltage module 15 is used to this total power switch unit 10 when being opened by the user, whether detect power supply that this power supply unit 14 supplied with greater than one first predeterminated voltage critical value, if, but the system power supply that then makes this program logical unit 13 open this electronic installation 1, so that the system power supply of this electronic installation 1 to be provided by this power supply unit 14, so that this electronic installation 1 enters mode of operation, if not, but then make this program logical unit 13 not open the system power supply of this electronic installation 1, so that this electronic installation 1 enters park mode; And when being used to this electronic installation 1 and being switched to standby mode by this operating mode switch unit 11 by the user, whether detect power supply that this power supply unit 14 supplied with less than one second predeterminated voltage critical value, if, but then make this program logical unit 13 cut off the system standby power supply of this electronic installation 1, so that this power supply unit 14 does not provide the system standby power supply of this electronic installation 1, enter park mode to make this electronic installation 1; In present embodiment, this detecting voltage module 15 is detecting voltage assembly (voltage detector), and these detecting voltage module 15 required power supplys are provided by this power supply unit 14; As from the foregoing, this detecting voltage module 15 can be under the situation of the power supply undersupply that this power supply unit 14 is supplied with, the automatic switchover operating mode, supply situation with effective managing electrical power, save expending of electric power, and the electric power that lefts in provided give this real-time clock module, to preserve the data that this real-time clock module is managed.
This main control module 16 is in order to the operation of this electronic installation 1 of master control, and when this electronic installation 1 is switched to mode of operation by the user by this operating mode switch unit 11, whether detect power supply that the power supply unit 14 of this electronic installation 1 supplied with less than one the 3rd predeterminated voltage critical value, if, then after a safety sleeping handling procedure is complete, but make this program logical unit 13 cut off the system power supply of this electronic installation 1, so that this power supply unit 14 does not provide the system power supply of this electronic installation 1, enter park mode to make this electronic installation 1; In present embodiment, the CPU (central processing unit) (CPU) that this main control module 16 is this electronic installation 1; This safety sleeping handling procedure refers to stop and storing these electronic installation 1 present all task work of carrying out reach the data of handling; As from the foregoing; this main control module 16 can be under the situation of the power supply undersupply that this power supply unit 14 is supplied with; carry out a safety sleeping handling procedure earlier; with the data of protecting this electronic installation 1 handling at present; and then can avoid power supply because of electronic installation 1 to exhaust the time; suddenly close this electronic installation 1; the thing that the data that cause this real-time clock module to manage are lost; on the other hand; this main control module 16 is after the safety sleeping handling procedure is complete; but make this program logical unit 13 cut off the system power supply of this electronic installation 1; so can save expending of electric power; provide with the electric power that will left in and to give this real-time clock module, to preserve the data that this real-time clock module is managed.
And set on demand by the user, and can be identical or different values about the first above-mentioned predeterminated voltage critical value, the second predeterminated voltage critical value and the 3rd predeterminated voltage critical value.
In sum, the electronic installation of the tool electric power management mechanism that the present invention took off mainly by a detecting voltage module when the total power switch unit of this electronic installation is opened by the user, whether detect power supply that the power supply unit of this electronic installation supplies with greater than one first predeterminated voltage critical value, if, but then make this power supply unit that the system power supply of this electronic installation is provided by a program logical unit, and when being used to this electronic installation and being in for standby mode, whether detect power supply that this power supply unit supplies with less than one second predeterminated voltage critical value, if, but then make this power supply unit that the system standby power supply of this electronic installation is not provided by this program logical unit, and by a main control module when this electronic installation is in mode of operation, whether detect power supply that the power supply unit of this electronic installation supplies with less than one the 3rd predeterminated voltage critical value, if, then after a safety sleeping handling procedure is complete, but make this power supply unit that the system power supply of this electronic installation is not provided by this program logical unit, whereby, not only reach the purpose of power management, in the time of more can avoiding closing suddenly because of the power supply of electronic installation, the thing that the data that cause real-time clock module to manage are lost.