CN102135921A - Protective circuit, protective method and software realizing method for portable terminal low-power system protection - Google Patents
Protective circuit, protective method and software realizing method for portable terminal low-power system protection Download PDFInfo
- Publication number
- CN102135921A CN102135921A CN 201110038774 CN201110038774A CN102135921A CN 102135921 A CN102135921 A CN 102135921A CN 201110038774 CN201110038774 CN 201110038774 CN 201110038774 A CN201110038774 A CN 201110038774A CN 102135921 A CN102135921 A CN 102135921A
- Authority
- CN
- China
- Prior art keywords
- power supply
- battery
- management module
- power
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention relates to a protective circuit, a protective method and a software realizing method for portable terminal low-power system protection, and is applied to embedded mobile terminal equipment with a power supply management module. The core logical circuit in the invention comprises a power supply management module, a power supply switchover module, a battery and a minimum system, wherein when the battery power is insufficient for the whole system through the power supply management module, and the system detects that voltage is lower than a threshold valve, the power supply management module is closed, and the battery directly supplies electricity for the minimum system through voltage conversion. The protective circuit closes power supply for the system by closing the power supply management module, and software is not required to close each path of power supply; the power supply voltage of the minimum system is far lower than the work voltage required by normal startup of the system in general condition, and power supply of the power supply management module is converted to direct battery power supply through a hardware circuit, so that the data is protected under a condition that the mobile terminal battery is insufficient in power.
Description
Technical field
The present invention relates to system power supply field, be specifically related to a kind of core logic circuit and software processing method of low electric weight system protection, be mainly used in for the demanding embedded mobile terminal of system conformance.
Background technology
The power down that the battery of present portable terminal causes owing to loose contact suddenly can adopt the hardware interface design well to solve, but the power down problem that often occurs is not because the battery loose contact now, but since the battery electric quantity deficiency cause, can't satisfy normal shutdown when particularly battery uses and causes system to detect voltage under the situation that battery performance descends after a period of time being lower than threshold value.Normal shutdown is along with the portable terminal peripheral hardware enriches constantly, and the longest normal shutdown required time may reach 10S, might undertension take place to keep the situation that continues shutdown along with the carrying out of shutdown in shutdown process.The restriction that existing portable terminal is connected up can't provide big electric capacity to do power down protection, general maximum in the stage of system recovery to last data backup, can't guarantee that like this portable terminal well is applied to sector application.
Summary of the invention
At the problems referred to above, the applicant has carried out improving research, provides a kind of portable terminal to hang down electric weight system protection circuit, guard method and software implementation method, realizes Data Protection under the not enough situation of battery capacity of mobile terminal.
Technical scheme of the present invention is as follows:
The holding circuit of the low electric weight system protection of a kind of portable terminal, be applied on the embedded mobile terminal equipment of charged source control module, comprise power management module, power supply handover module, battery and minimum system, described minimum system is made up of cpu chip, internal memory and flash memory, and described cpu chip comprises CPU nuclear, cpu cache, Memory Controller Hub and flash controller; Described power management module is connected battery respectively with the power supply handover module, has the power supply outlet line to be connected between power management module and power supply handover module and the minimum system respectively, and is electrically connected between power management module and the power supply handover module.
Its further technical scheme is: the power supply connected mode of described minimum system is: described CPU nuclear is powered separately by one road power supply; Described cpu cache, Memory Controller Hub and internal memory are powered by same road power supply; Described flash controller and flash memory are powered by same road power supply in addition.There is the power supply outlet line to be connected between other hardware modules on described power management module and the described terminal device except that minimum system.
The guard method of the low electric weight system protection of a kind of portable terminal; when battery electric quantity is supplied with total system and not enough, system occurred and detect voltage and be lower than threshold value by power management module; the powered-down administration module, battery directly is the minimum system power supply by voltage transitions.
Its further technical scheme is: concrete steps are as follows: the power supply of the minimum system that CPU nuclear, cpu cache, Memory Controller Hub, internal memory, flash controller and flash memory are formed is connected to the power supply of power supply handover module simultaneously except by the power management module power supply; After voltage detection module detected level and is lower than setting value, voltage detection module was by the current low-voltage state that has been in of interrupt notification CPU; Steering logic opening power modular converter is exported various voltages to minimum system; Steering logic is notified power management module simultaneously, makes it stop output, and switches to power supply handover module output state; Processor is treated to export a control signal and give steering logic can the safety shutdown state time, notifies it to close all remaining power supplys.The supply voltage of described minimum system is lower than the minimum voltage that the total system normal boot-strap requires.
The software implementation method of the low electric weight system protection of a kind of portable terminal, concrete steps are as follows:
(1) in the bootloader boot, detects battery electric quantity during system boot with decision start whether further;
Detect battery electric quantity when (2) system moves, when battery electric quantity is lower than threshold value, start shutdown programm;
(3) if threshold value and actual battery have deviation, perhaps battery electric quantity can't be realized normal shutdown when being lower than threshold value, be directly switch to battery by hardware circuit from the power management module power supply and directly power, at this moment a battery feed system CPU nuclear, cpu cache, Memory Controller Hub, internal memory, flash controller and flash memory; System by catching a look-at-me so that the data of cpu cache and internal memory are write back flash memory;
(4) close remaining system,, do not need to carry out detection of power loss to guarantee that next time, start was a normal boot-strap.
Its further technical scheme is: described remaining system is meant flash memory, flash controller, internal memory, Memory Controller Hub, cpu chip internal bus, cpu cache, CPU nuclear and power supply switch circuit.
Useful technique effect of the present invention is:
The present invention is based on the most of power management module that adopts of present portable terminal; by the powered-down administration module system's power supply is closed; and do not need software to remove to close every road power supply; and the supply voltage of generalized case minimum system is far below the operating voltage of the normal boot-strap requirement of system; switch to battery by hardware circuit from the power management module power supply and directly power, thereby under the not enough situation of battery capacity of mobile terminal, realize Data Protection.
Description of drawings
Fig. 1 is the schematic diagram of the holding circuit of the low electric weight system protection of the present invention.
Fig. 2 is that the low electric weight power supply of the present invention switches hardware controls figure.
Fig. 3 is the software flow pattern of the low electric weight system protection of the present invention.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described further.
As shown in Figure 1, the core logic circuit of the low electric weight system protection of portable terminal of the present invention comprises power management module 8, power supply handover module 9, battery 10 and minimum system.Described minimum system is made up of cpu chip 1, internal memory 2 and flash memory 3; Described cpu chip 1 comprises CPU nuclear 4, cpu cache 5, Memory Controller Hub 6 and flash controller 7.
As shown in Figure 1, power management module 8 is connected battery 10 respectively with power supply handover module 9, and has the power supply outlet line to be connected respectively between power management module 8 and power supply handover module 9 and the minimum system.The power supply of minimum system design is based on the minimum power domain, and its power supply connected mode is: (a) CPU nuclear 4 is powered separately by one road power supply; (b) cpu cache 5, Memory Controller Hub 6 and internal memory 2 are powered by same road power supply, and do not supply with other unit module; (c) flash controller 7 is powered by same road power supply in addition with flash memory 3.Power management module 8 also with on the terminal device has the power supply outlet line to be connected between other hardware modules 11 except that minimum system.Be electrically connected between power management module 6 and the power supply handover module 9.
Based on the described circuit of Fig. 1, the present invention has proposed the guard method of the low electric weight system protection of a kind of portable terminal simultaneously.Specifically, the power supply of the minimum system that the present invention at first forms CPU nuclear 4, cpu cache 5, Memory Controller Hub 6, internal memory 2, flash controller 7, flash memory 3 is received power supply handover module 9 simultaneously except by power supply module 8 power supplies.
The hardware controls that power supply switches as shown in Figure 2, a voltage detection module is set outside power supply handover module 9 or sheet, after voltage detection module detected level and is lower than certain setting value, voltage detection module was by the current low-voltage state that has been in of interrupt notification CPU; Output control below steering logic is made: the power transfer module in (1) opening power handover module 9, cell voltage is converted to the various voltages that each module can be used in the minimum system, export various voltages to minimum system; (2) notice power management module 8 allows it stop output, and switches to power supply handover module 9 power supply output states; (3) after this preprocessor carries out sequence of operations, treat can safety shutdown state the time, export a control signal and give steering logic, notify it to close all remaining power supplys.
By above-mentioned steps, when battery 10 electric weight went wrong by power management module 8 supply total systems, power supply handover module 9 can directly be powered the power supply of minimum system by battery 10.Because the supply voltage of minimum system is lower than the minimum voltage that the total system normal boot-strap requires, and this moment battery 10 electric weight can satisfy the power supply of minimum system.When system detects voltage and is lower than threshold value by battery voltage detection circuit, opening power handover module 9, power supply handover module 9 is directly exported the minimum system required voltage by voltage transformation module from battery 10, and powered-down administration module 8.
The present invention has proposed a kind of software processing method simultaneously, after CPU captures the look-at-me that power management module 8 closes, the data of cpu cache 5, internal memory 2 is write flash memory 3 and closes remaining system.The remaining system here refers to flash memory 3, flash controller 7, internal memory 2, Memory Controller Hub 6, cpu chip internal bus, cpu cache 5, CPU nuclear 4 and power supply handover module 9.
As shown in Figure 3, software implementation method of the present invention is as follows:
(1) in the bootloader boot, detects battery electric quantity during system boot with decision start whether further;
Detect battery electric quantity when (2) system moves, when battery electric quantity is lower than threshold value, start shutdown programm;
(3) if threshold value and actual battery have deviation, perhaps battery electric quantity can't be realized normal shutdown when being lower than threshold value, be directly switch to battery by hardware circuit from the power management module power supply and directly power, at this moment a battery feed system CPU nuclear, cpu cache, Memory Controller Hub, internal memory, flash controller and flash memory; System by catching a look-at-me so that the data of cpu cache and internal memory are write back flash memory;
(4) close remaining system, the remaining system here is meant flash memory, flash controller, internal memory, Memory Controller Hub, cpu chip internal bus, cpu cache, CPU nuclear and power supply switch circuit.
The present invention can make next time start for normal boot-strap and guarantee data integrity, does not need to carry out detection of power loss.
Annotate, among the present invention:
Cpu cache: being the part of CPU, is to establish for the speed difference problem that solves CPU speed and memory speed.
Internal memory: be data and the program that is used for depositing current (in promptly carrying out) of using.
Flash memory: FLASH, electricity erasable memorizer fast.
Above-described only is preferred implementation of the present invention, the invention is not restricted to above embodiment.Be appreciated that other improvement and variation that those skilled in the art directly derive or associate under the prerequisite that does not break away from spirit of the present invention and design, all should think to be included within protection scope of the present invention.
Claims (8)
1. the holding circuit of the low electric weight system protection of a portable terminal, be applied on the embedded mobile terminal equipment of charged source control module, it is characterized in that: comprise power management module, power supply handover module, battery and minimum system, described minimum system is made up of cpu chip, internal memory and flash memory, and described cpu chip comprises CPU nuclear, cpu cache, Memory Controller Hub and flash controller; Described power management module is connected battery respectively with the power supply handover module, has the power supply outlet line to be connected between power management module and power supply handover module and the minimum system respectively, and is electrically connected between power management module and the power supply handover module.
2. according to the holding circuit of the low electric weight system protection of the described portable terminal of claim 1, it is characterized in that the power supply connected mode of described minimum system is: described CPU nuclear is powered separately by one road power supply; Described cpu cache, Memory Controller Hub and internal memory are powered by same road power supply; Described flash controller and flash memory are powered by same road power supply in addition.
3. according to the holding circuit of the low electric weight system protection of the described portable terminal of claim 1, it is characterized in that: have the outlet line of power supply to be connected between other hardware modules on described power management module and the described terminal device except that minimum system.
4. the guard method of the low electric weight system protection of portable terminal; it is characterized in that: when battery electric quantity is supplied with total system and not enough, system occurred and detect voltage and be lower than threshold value by power management module; the powered-down administration module, battery directly is the minimum system power supply by voltage transitions.
5. hang down the guard method of electric weight system protection according to the described portable terminal of claim 4, it is characterized in that concrete steps are as follows: the power supply of the minimum system that CPU nuclear, cpu cache, Memory Controller Hub, internal memory, flash controller and flash memory are formed is connected to the power supply of power supply handover module simultaneously except by the power management module power supply; After voltage detection module detected level and is lower than setting value, voltage detection module was by the current low-voltage state that has been in of interrupt notification CPU; Steering logic opening power modular converter is exported various voltages to minimum system; Steering logic is notified power management module simultaneously, makes it stop output, and switches to power supply handover module output state; Processor is treated to export a control signal and give steering logic can the safety shutdown state time, notifies it to close all remaining power supplys.
6. according to the guard method of claim 4 or the low electric weight system protection of 5 described portable terminals, it is characterized in that: the supply voltage of described minimum system is lower than the minimum voltage that the total system normal boot-strap requires.
7. the software implementation method of the low electric weight system protection of a portable terminal is characterized in that concrete steps are as follows:
(1) in the bootloader boot, detects battery electric quantity during system boot with decision start whether further;
Detect battery electric quantity when (2) system moves, when battery electric quantity is lower than threshold value, start shutdown programm;
(3) if threshold value and actual battery have deviation, perhaps battery electric quantity can't be realized normal shutdown when being lower than threshold value, be directly switch to battery by hardware circuit from the power management module power supply and directly power, at this moment a battery feed system CPU nuclear, cpu cache, Memory Controller Hub, internal memory, flash controller and flash memory; System by catching a look-at-me so that the data of cpu cache and internal memory are write back flash memory;
(4) close remaining system,, do not need to carry out detection of power loss to guarantee that next time, start was a normal boot-strap.
8. according to the software implementation method of the low electric weight system protection of the described portable terminal of claim 7, it is characterized in that: described remaining system is meant flash memory, flash controller, internal memory, Memory Controller Hub, cpu chip internal bus, cpu cache, CPU nuclear and power supply switch circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110038774A CN102135921B (en) | 2011-02-16 | 2011-02-16 | Protective circuit, protective method and software realizing method for portable terminal low-power system protection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110038774A CN102135921B (en) | 2011-02-16 | 2011-02-16 | Protective circuit, protective method and software realizing method for portable terminal low-power system protection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102135921A true CN102135921A (en) | 2011-07-27 |
CN102135921B CN102135921B (en) | 2012-09-26 |
Family
ID=44295711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110038774A Expired - Fee Related CN102135921B (en) | 2011-02-16 | 2011-02-16 | Protective circuit, protective method and software realizing method for portable terminal low-power system protection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102135921B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092802A (en) * | 2013-02-07 | 2013-05-08 | 飞天诚信科技股份有限公司 | Method of communication of card reader and upper computer |
CN104105446A (en) * | 2012-02-06 | 2014-10-15 | 日立阿洛卡医疗株式会社 | Mobile ultrasonic diagnostic device |
CN107729972A (en) * | 2017-09-01 | 2018-02-23 | 捷德(中国)信息科技有限公司 | A kind of data guard method of intellective IC card |
CN109471758A (en) * | 2018-11-22 | 2019-03-15 | 北京同有飞骥科技股份有限公司 | Storing data power-off protection method and system |
WO2024169833A1 (en) * | 2023-02-13 | 2024-08-22 | 维沃移动通信有限公司 | Power supply circuit and method, and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1648921A (en) * | 2005-02-17 | 2005-08-03 | 倚天资讯股份有限公司 | Device and method for prolonging electronic device data storage time |
CN1996242A (en) * | 2006-01-05 | 2007-07-11 | 英业达股份有限公司 | Booting system in low-power mode and method therefor |
US20080180264A1 (en) * | 2007-01-25 | 2008-07-31 | Lg Electronics Inc. | Power control apparatus and method of terminal device, method of displaying shutdown state of terminal device, and method of driving terminal device |
US20090177898A1 (en) * | 2007-12-27 | 2009-07-09 | Beijing Lenovo Software Ltd. | Computer system and notebook computer, and method for controlling computer system |
-
2011
- 2011-02-16 CN CN201110038774A patent/CN102135921B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1648921A (en) * | 2005-02-17 | 2005-08-03 | 倚天资讯股份有限公司 | Device and method for prolonging electronic device data storage time |
CN1996242A (en) * | 2006-01-05 | 2007-07-11 | 英业达股份有限公司 | Booting system in low-power mode and method therefor |
US20080180264A1 (en) * | 2007-01-25 | 2008-07-31 | Lg Electronics Inc. | Power control apparatus and method of terminal device, method of displaying shutdown state of terminal device, and method of driving terminal device |
US20090177898A1 (en) * | 2007-12-27 | 2009-07-09 | Beijing Lenovo Software Ltd. | Computer system and notebook computer, and method for controlling computer system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104105446A (en) * | 2012-02-06 | 2014-10-15 | 日立阿洛卡医疗株式会社 | Mobile ultrasonic diagnostic device |
CN104105446B (en) * | 2012-02-06 | 2016-11-02 | 日立阿洛卡医疗株式会社 | The mobile ultrasonic diagnostic equipment |
US9706979B2 (en) | 2012-02-06 | 2017-07-18 | Hitachi, Ltd. | Mobile ultrasonic diagnostic device |
CN103092802A (en) * | 2013-02-07 | 2013-05-08 | 飞天诚信科技股份有限公司 | Method of communication of card reader and upper computer |
WO2014121681A1 (en) * | 2013-02-07 | 2014-08-14 | 飞天诚信科技股份有限公司 | Method for card reader to communicate with upper computer |
CN103092802B (en) * | 2013-02-07 | 2015-07-22 | 飞天诚信科技股份有限公司 | Method of communication of card reader and upper computer |
CN107729972A (en) * | 2017-09-01 | 2018-02-23 | 捷德(中国)信息科技有限公司 | A kind of data guard method of intellective IC card |
CN107729972B (en) * | 2017-09-01 | 2020-09-08 | 捷德(中国)科技有限公司 | Data protection method for intelligent IC card |
CN109471758A (en) * | 2018-11-22 | 2019-03-15 | 北京同有飞骥科技股份有限公司 | Storing data power-off protection method and system |
WO2024169833A1 (en) * | 2023-02-13 | 2024-08-22 | 维沃移动通信有限公司 | Power supply circuit and method, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN102135921B (en) | 2012-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102156679B (en) | PCIE interface-based solid state disk power-down protection method and device | |
CN202013570U (en) | Power down protecting device for solid state disk based on PCIE (Peripheral Component Interface Express) interface | |
CN103838349B (en) | Power supply control system and method thereof | |
CN102135921B (en) | Protective circuit, protective method and software realizing method for portable terminal low-power system protection | |
WO2013097381A1 (en) | Mobile terminal and charge device and method thereof | |
CN101930279A (en) | Electronic device for reducing power consumption of computer motherboard and motherboard thereof | |
CN103904769B (en) | The control system and control method of reserve battery | |
CN104898476A (en) | Powering-on/off control circuit and electronic equipment with same | |
CN106250786A (en) | A kind of power-off protection of solid state disk method and device | |
CN103970248A (en) | power management circuit and method and computer system | |
CN102200826B (en) | Power adapter and portable computer | |
CN102611186A (en) | Power supply method and power supply device | |
CN102882267A (en) | Power supply device, electronic equipment and power supply method | |
CN105305605A (en) | Power-off detection and protection system of medical electronic device | |
CN102355020A (en) | Power management system and method | |
CN105487638A (en) | Electronic circuit system and power consumption reducing method thereof | |
CN101510116B (en) | Energy-conserving method and system of terminal equipment with standby function | |
TW201617852A (en) | Conversion method for reducing power consumption and computing apparatus using the same | |
CN104850182A (en) | Circuit structure applied to embedded system and power-fail protection method | |
US10386916B2 (en) | Supply-voltage control for device power management | |
CN104571465A (en) | Design method for achieving CPU (Central Processing Unit) power supply phase dynamic adjustment | |
CN102611145B (en) | Method and device for managing battery of direct current power supply | |
CN201274005Y (en) | Automatic cold backup energy-saving program controller | |
CN103376877A (en) | Multi core processor clock control device and method | |
CN202550660U (en) | Mobile terminal device and power supply circuit thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120926 Termination date: 20170216 |
|
CF01 | Termination of patent right due to non-payment of annual fee |