CN102064567A - Method for solving virtual electricity of battery after voltage is low - Google Patents
Method for solving virtual electricity of battery after voltage is low Download PDFInfo
- Publication number
- CN102064567A CN102064567A CN2010102747374A CN201010274737A CN102064567A CN 102064567 A CN102064567 A CN 102064567A CN 2010102747374 A CN2010102747374 A CN 2010102747374A CN 201010274737 A CN201010274737 A CN 201010274737A CN 102064567 A CN102064567 A CN 102064567A
- Authority
- CN
- China
- Prior art keywords
- value
- current voltage
- voltage
- sampled value
- battery
- 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.)
- Pending
Links
Images
Landscapes
- Secondary Cells (AREA)
Abstract
The invention provides a method for solving virtual electricity of a battery after the voltage is low, comprising the following steps of: 1) carrying out sampling on the battery and obtaining the current voltage sampling value; 2) calculating the current effective value according to the obtained current voltage sampling value; 3) judging whether the obtained voltage sampling value is low-order electricity, if so, carrying out step 4); 4) detecting the bottommost-layer sampling value of the voltage of the battery, and judging whether the bottommost-layer sampling value of the current voltage is larger than the effective value in the step 2); and 5) if the detected bottommost-layer sampling value of the current voltage is larger than the effective value, adopting the effective value as the sampling value of the current voltage; and if the detected bottommost-layer sampling value of the current voltage is smaller than or equal to the effective value, directly using the detected bottommost-layer sampling value of the current voltage as the sampling value of the current voltage. The method guarantees that the current voltage sampling value is lowest by continuously updating and adjusting the voltage sampling value, thus solving the serious problems of crash and black screen and the like of an electronic product due to virtual electricity of the battery.
Description
Technical field
The present invention relates to portable electronic product, relate in particular to a kind of method that solves the empty electricity in electronic product battery low electricity back.
Background technology
Use the user of the electric consumers of carrying more and more now, the kind of electronic product and function also are the trend that is develop rapidly, such as mobile phone, digital camera, e-dictionary machine etc.But, in the present electronic product, all have the empty electrical phenomena of battery, and empty electricity can influence some judgements and makes mistakes, thereby cause a series of unforeseen consequences.Especially when a low electricity of single order and a lattice voltage critical, empty electrical phenomena at this time occurs,,, the situation when machine or blank screen will take place once in a while such as the e-dictionary pronunciation if carry out the bigger action of moment power consumption.In order to address this problem, prior art generally is to improve the fiducial value of the low electricity of single order, but this way can cause this fiducial value to become greatly always, thereby causes battery to tail off service time, makes the user use extremely inconvenience.
Summary of the invention
In order to solve existing technical problem in the background technology, the present invention proposes a kind of method that solves the empty electricity in battery low electricity back, guarantee that by bringing in constant renewal in adjustment voltage sample value current voltage sample value is minimum, thereby the electronic product that makes that the empty electricity of solution battery brings is worked as puzzlement users' such as machine, blank screen serious problems.
Technical solution of the present invention is: a kind of method that solves the empty electricity in battery low electricity back, and its special character is: said method comprising the steps of:
1) battery is sampled, obtain the sampled value of current voltage;
2) calculate current effective value according to the sampled value of the current voltage that obtains;
3) judge whether the voltage sample value that obtains is that single order is low; If then carry out step 4);
4) detecting cell voltage bottom sampled value, judge that whether current voltage bottom sampled value is greater than step 2) in effective value;
5) if the current voltage bottom sampled value that detects greater than effective value, then adopts the sampled value of effective value as current voltage; If the current voltage bottom sampled value that detects smaller or equal to effective value, is then directly used the sampled value of the current voltage bottom that detects, as the sampled value of current voltage.
Above-mentioned steps 3) low electric if the voltage sample value that obtains is not a single order in, the then direct sampled value of using the current voltage bottom that detects is as the sampled value of current voltage.
Above-mentioned steps 5) comprises also after that step 6) backs up the sampled value of current voltage.
Above-mentioned steps 6) also comprise step 7) after, when external power supply being arranged or resets, initialization effective value last time or backup value.
The present invention is by when detecting voltage, bring in constant renewal in and adjust the voltage sample value, guarantee that current voltage sample value is minimum, thereby solve the electric weight demonstration mistake that the empty electricity of battery brings, make the demonstration monotone decreasing variation for the user of battery electric quantity, the current battery status of accurate response.The present invention can also avoid improving the standard value of low electricity of single order and the low electricity of second order, thus prolongation battery normal service time.
Description of drawings
Fig. 1 is a method flow diagram of the present invention;
Embodiment
The present invention is a kind of method that solves the empty electricity of battery.Guarantee that by bringing in constant renewal in adjustment voltage sample value current voltage sample value is minimum, solve a series of problems that battery brings because of empty electricity with this.
Referring to Fig. 1, main thought of the present invention is in detecting during cell voltage, and the effective value of voltage sample can not be greater than the effective value of last time, if the effective value of sampling greater than the effective value of last time, then current sampled value is used effective value last time.The specific implementation method is as follows:
1) battery is sampled, obtain the sampled value of current voltage;
2) calculate current effective value according to the sampled value of the current voltage that obtains;
3) judge whether the voltage sample value that obtains is that single order is low; If then carry out step 4); If it is low electric that the voltage sample value that obtains is not a single order, then directly use the sampled value of the current voltage bottom that detects, as the sampled value of current voltage.
4) detecting cell voltage bottom sampled value, judge that whether current voltage bottom sampled value is greater than step 2) in effective value;
5) if the current voltage bottom sampled value that detects greater than effective value, then adopts the sampled value of effective value as current voltage; If the current voltage bottom sampled value that detects smaller or equal to effective value, is then directly used the sampled value of the current voltage bottom that detects, as the sampled value of current voltage.
6) sampled value to current voltage backs up.
7) when external power supply being arranged or resets, initialization effective value last time or backup value.
By top described step, just can realize the low for the first time electricity of battery after, can not become lattice again.Before carrying out the bigger action of some power consumption, during the check current electric quantity, just can not judge by accident, thereby avoid blank screen to work as problems such as machine, on the other hand, can avoid improving the fiducial value of low electricity of single order and the low electricity of second order, thus prolongation battery service time.
Claims (4)
1. one kind solves the empty electric method in the low electricity of battery back, it is characterized in that: said method comprising the steps of:
1) battery is sampled, obtain the sampled value of current voltage;
2) calculate current effective value according to the sampled value of the current voltage that obtains;
3) judge whether the voltage sample value that obtains is that single order is low; If then carry out step 4);
4) detecting cell voltage bottom sampled value, judge that whether current voltage bottom sampled value is greater than step 2) in effective value;
5) if the current voltage bottom sampled value that detects greater than effective value, then adopts the sampled value of effective value as current voltage; If the current voltage bottom sampled value that detects smaller or equal to effective value, is then directly used the sampled value of the current voltage bottom that detects, as the sampled value of current voltage.
2. the method for the empty electricity in solution battery according to claim 1 low electricity back, it is characterized in that: low in the described step 3) if the voltage sample value that obtains is not a single order, then directly use the sampled value of the current voltage bottom that detects, as the sampled value of current voltage.
3. the method for the empty electricity in solution battery according to claim 2 low electricity back is characterized in that: comprise also after the described step 5) that step 6) backs up the sampled value of current voltage.
4. the method for the empty electricity in solution battery according to claim 2 low electricity back is characterized in that: also comprise step 7) after the described step 6), and when external power supply being arranged or resets, initialization effective value last time or backup value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102747374A CN102064567A (en) | 2010-09-07 | 2010-09-07 | Method for solving virtual electricity of battery after voltage is low |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102747374A CN102064567A (en) | 2010-09-07 | 2010-09-07 | Method for solving virtual electricity of battery after voltage is low |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102064567A true CN102064567A (en) | 2011-05-18 |
Family
ID=43999730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102747374A Pending CN102064567A (en) | 2010-09-07 | 2010-09-07 | Method for solving virtual electricity of battery after voltage is low |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102064567A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004053511A1 (en) * | 2002-12-12 | 2004-06-24 | Sanyo Electric Co., Ltd. | Current sensor and battery remaining power sensing system |
CN101126796A (en) * | 2007-10-12 | 2008-02-20 | 深圳华为通信技术有限公司 | Battery electric quantity detecting method and device |
CN101127447A (en) * | 2006-08-18 | 2008-02-20 | 鸿富锦精密工业(深圳)有限公司 | Charging circuit |
CN101793946A (en) * | 2010-04-12 | 2010-08-04 | 无敌科技(西安)有限公司 | Method for realizing monotone change of battery power |
CN201793946U (en) * | 2010-09-09 | 2011-04-13 | 海尔集团公司 | Countertop of washing machine and washing machine with same |
-
2010
- 2010-09-07 CN CN2010102747374A patent/CN102064567A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004053511A1 (en) * | 2002-12-12 | 2004-06-24 | Sanyo Electric Co., Ltd. | Current sensor and battery remaining power sensing system |
CN101127447A (en) * | 2006-08-18 | 2008-02-20 | 鸿富锦精密工业(深圳)有限公司 | Charging circuit |
CN101126796A (en) * | 2007-10-12 | 2008-02-20 | 深圳华为通信技术有限公司 | Battery electric quantity detecting method and device |
CN101793946A (en) * | 2010-04-12 | 2010-08-04 | 无敌科技(西安)有限公司 | Method for realizing monotone change of battery power |
CN201793946U (en) * | 2010-09-09 | 2011-04-13 | 海尔集团公司 | Countertop of washing machine and washing machine with same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105071486B (en) | A kind of charge prompting method and apparatus | |
KR102353446B1 (en) | Method and apparatus for displaying electricity quantity of battery, and electronic device | |
CN103364619B (en) | The voltage detection method of terminal device and terminal device | |
CN109256825B (en) | Charging method and electronic device | |
CN103326432B (en) | A kind of battery charging control method of electronic equipment and system | |
CN105337374A (en) | Method for prolonging power supply time | |
CN103901352B (en) | Show the method and device of battery of mobile terminal remaining capacity | |
CN103761179B (en) | Method and system for displaying electric quantity left after terminal restart | |
CN112440744B (en) | Control method for electric quantity management of storage battery, vehicle control unit and management system | |
CN105896657A (en) | Method of charging mobile terminal and mobile terminal | |
CN104977539A (en) | Method and device capable of automatically measuring at least one parameter | |
CN101793946A (en) | Method for realizing monotone change of battery power | |
CN103035968A (en) | Mobile terminal charging method and system | |
CN203883502U (en) | Power source adapter enabling quick charging | |
CN103746433B (en) | The device of multi-functional charge-discharge circuit and composition thereof | |
CN104167779B (en) | Charging method and charging apparatus | |
CN202756921U (en) | Flashlight having electric quantity display function | |
CN102914747A (en) | Method for displaying battery voltage or electric quantity of Bluetooth equipment on Bluetooth terminal | |
CN102832978A (en) | Method for displaying voltage or electric quantity of battery of Bluetooth device on Bluetooth terminal | |
CN109643831A (en) | Portable electronic device with addressable charge indicator | |
CN102064567A (en) | Method for solving virtual electricity of battery after voltage is low | |
CN102820912A (en) | Method and system for displaying battery voltage or electric quantity of Bluetooth device on Bluetooth terminal | |
CN102624950B (en) | Mobile phone | |
CN102487207A (en) | Solar charger | |
TW201227312A (en) | System and method for charging an electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110518 |