CN103364727A - Electrical quantity detection method and terminal - Google Patents
Electrical quantity detection method and terminal Download PDFInfo
- Publication number
- CN103364727A CN103364727A CN2012100879857A CN201210087985A CN103364727A CN 103364727 A CN103364727 A CN 103364727A CN 2012100879857 A CN2012100879857 A CN 2012100879857A CN 201210087985 A CN201210087985 A CN 201210087985A CN 103364727 A CN103364727 A CN 103364727A
- Authority
- CN
- China
- Prior art keywords
- internal resistance
- battery
- described battery
- voltage value
- partial pressure
- 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 embodiment of the invention provides an electrical quantity detection method and a terminal, relating to the technical field of a computer. The method comprises the steps of collecting the instantaneous voltage value of a battery, obtaining an internal resistance voltage division value generated in the internal resistance of the battery when the terminal runs an application, adding the instantaneous voltage value of the battery and the internal resistance voltage division value to obtain a residual total voltage value of the battery, and displaying the residual total voltage value of the battery and/or the electrical quantity percentage corresponding to the residual total voltage value of the battery. According to the method and the terminal, the actual residual electrical quantity of the battery can be accurately detected and displayed.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of detection method of quantity of electricity and terminal.
Background technology
At present, supporting on the terminal that electric weight shows that prior art is by gathering the voltage of battery, and be battery electric quantity number percent with this voltage transitions, be presented on the terminal, so that the user can check the electric weight operating position of terminal at any time.
Yet, when the user uses the large power consumption of terminal operating to use, the electric current that produces can be larger, because there is internal resistance in battery self, thereby can produce a larger magnitude of voltage (this paper is called the internal resistance partial pressure value) in the internal resistance of battery, at this moment, the magnitude of voltage that collects battery by prior art is smaller, shows that in terminal corresponding dump energy number percent is also smaller.When the user withdrawed from above-mentioned large power consumption application, electric current can diminish, and at this moment, the magnitude of voltage that collects battery by prior art is just larger, shows that in terminal corresponding dump energy number percent is also larger.Thereby so that the user, can see that the dump energy number percent that terminal demonstrates is large from little change in the front and back that the large power consumption of operation is used, but in fact, after the user withdrawed from above-mentioned large power consumption and uses, the real surplus electric weight of battery can diminish.
As seen, adopt prior art can't demonstrate exactly the dump energy of battery reality.
Summary of the invention
Embodiments of the invention provide a kind of detection method of quantity of electricity and terminal, realize demonstrating exactly the dump energy of battery reality.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of detection method of quantity of electricity comprises:
Gather the instantaneous voltage value of battery;
Obtain the internal resistance partial pressure value that produces in the internal resistance of the described battery of terminal;
With instantaneous voltage value and the addition of described internal resistance partial pressure value of described battery, draw the residue total voltage value of described battery.
Wherein, the method also comprises: show the residue total voltage value of described battery and/or the electric weight number percent corresponding to residue total voltage value of described battery.
A kind of communication terminal comprises:
Voltage acquisition module is for the instantaneous voltage value that gathers battery;
Acquisition module is used for obtaining the internal resistance partial pressure value that produces in the internal resistance of the described battery of terminal;
Computing module is used for instantaneous voltage value and the addition of described internal resistance partial pressure value with described battery, draws the residue total voltage value of described battery.
Wherein, this communication terminal also comprises: display module is used for showing the residue total voltage value of described battery and/or the electric weight number percent corresponding to residue total voltage value of described battery.
In the described embodiment of the invention of technique scheme, the internal resistance partial pressure value that produces in the internal resistance of described battery when obtaining the terminal operating application program, and with instantaneous voltage value and the addition of described internal resistance partial pressure value of described battery, after drawing the residue total voltage value of described battery, the form with electric weight number percent corresponding to the residue total voltage value of the residue total voltage value of described battery and/or described battery on terminal interface shows dump energy information.Especially, when moving the application program of large power consumption on the terminal, adopt technical solution of the present invention in front and back that the application program of described large power consumption withdraws from, the dump energy information that demonstrates is from large to small, more near the Expenditure Levels of battery electric quantity reality, the situation that dump energy information is changed from small to big occurs in the front and back of having avoided in the prior art application program in described large power consumption to withdraw from, has realized detecting exactly and demonstrate the dump energy of battery reality.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of a kind of detection method of quantity of electricity that Fig. 1 provides for the embodiment of the invention 1;
A kind of realization flow figure of step 102 in a kind of detection method of quantity of electricity that Fig. 2 provides for the embodiment of the invention 1;
The process flow diagram of the another kind of detection method of quantity of electricity that Fig. 3 provides for the embodiment of the invention 1;
The structural drawing of a kind of communication terminal that Fig. 4 provides for the embodiment of the invention 2;
A kind of implementation structure figure of acquisition module in a kind of communication terminal that Fig. 5 provides for the embodiment of the invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment 1:
The embodiment of the invention provides a kind of detection method of quantity of electricity, comprising:
101, gather the instantaneous voltage value of battery.
Particularly, can adopt the voltage acquisition chip to gather the instantaneous voltage value of this battery at the two ends of battery.
102, obtain the internal resistance partial pressure value that produces in the internal resistance of the described battery of terminal.
The internal resistance partial pressure value that produces in the internal resistance of described battery when particularly, obtaining the terminal operating application program.
Optionally, a kind of implementation of this step comprises as shown in Figure 2:
The current value that 102-1, acquisition terminal produce.
The current value that produces when particularly, acquisition terminal runs application.
Wherein, when the terminal operating application program, the current value that produces when can acquisition terminal running application by the current acquisition chip, the concrete implementation procedure that gathers can referring to existing correlation technique, not repeat them here.
102-2, the internal resistance of described current value and described battery is multiplied each other, draw the internal resistance partial pressure value of described battery.
Need to prove, dissimilar batteries, internal resistance is also different.The battery of same type, because the inside battery chemical characteristic is inconsistent, internal resistance also may be different.The internal resistance of battery can measure by instrumentation, also can adopt other metering systems to obtain the internal resistance of cell, is not restricted at this.In addition, the concrete internal resistance that how to obtain battery can be referring to related art.
103, with instantaneous voltage value and the addition of described internal resistance partial pressure value of described battery, draw the residue total voltage value of described battery.
104, show the residue total voltage value of described battery and/or the electric weight number percent corresponding to residue total voltage value of described battery.
Wherein, the electric weight number percent corresponding to residue total voltage value of described battery can obtain by existing battery electric quantity conversion method.
Optionally, wherein a kind of battery electric quantity conversion method is: the electric quantity curve of whole battery is divided into a lot of intervals, the horizontal ordinate of described electric quantity curve represents that the electric weight of battery is from 0 to maximal value, ordinate represents that each of electric weight of described battery is worth each self-corresponding magnitude of voltage, wherein, the electric quantity unit of described battery adopts Ah (ampere-hour) or mAh (MAH) expression, take mAh as example, can be a minizone according to every 90mAh, the electric quantity curve of whole battery is divided equally from small to large, obtain a plurality of intervals, the corresponding clear and definite magnitude of voltage of each interval end points can be thought the linear corresponding relation of magnitude of voltage and charge value approx in each interval.
When calculating the residue total voltage value of described battery, can determine the interval corresponding to residue total voltage value of described battery, and obtain this interval end-point voltage value and corresponding charge value thereof, because magnitude of voltage and the linear corresponding relation of charge value in this interval, thereby can calculate the dump energy corresponding to residue total voltage value of described battery, afterwards, total electric weight of described dump energy and described battery is divided by, can obtains the electric weight number percent corresponding to residue total voltage value of described battery.
In the embodiment of the invention, the internal resistance partial pressure value that produces in the internal resistance of described battery when obtaining the terminal operating application program, and with instantaneous voltage value and the addition of described internal resistance partial pressure value of described battery, after drawing the residue total voltage value of described battery, the form with electric weight number percent corresponding to the residue total voltage value of the residue total voltage value of described battery and/or described battery on terminal interface shows dump energy information.Especially, when moving the application program of large power consumption on the terminal, adopt technical solution of the present invention in front and back that the application program of described large power consumption withdraws from, the dump energy information that demonstrates is from large to small, more near the Expenditure Levels of battery electric quantity reality, the situation that dump energy information is changed from small to big occurs in the front and back of having avoided in the prior art application program in described large power consumption to withdraw from, has realized demonstrating exactly the dump energy of battery reality.
Further, as shown in Figure 3, when carrying out above-mentioned steps 104, said method can also be carried out following steps simultaneously:
105, show the internal resistance partial pressure value of described battery and/or the electric weight number percent corresponding to internal resistance partial pressure value of described battery.
Because the internal resistance partial pressure value of described battery produces during owing to the terminal operating application program, thereby, show the internal resistance partial pressure value of described battery and/or the electric weight number percent corresponding to internal resistance partial pressure value of described battery, can be so that the user understands the electric weight operating position of application program, to use better and to manage battery electric quantity.
For example, when the user uses an application program of terminal operating, use terminal provided by the invention can check the electric weight number percent corresponding to internal resistance partial pressure value of battery this moment, because only moved an application program this moment, thereby electric weight number percent corresponding to the internal resistance partial pressure value of this battery is the electric weight that this application program of operation consumes.When if this application program consumes power is larger, the user can select temporarily not move this application program, but move the smaller application program of some consumes power when dump energy be few, thereby realizes the reasonable distribution of electric weight.
And for example, when the user moves a plurality of application program, and after withdrawing from one of them application program S, use terminal provided by the invention can view in the front and back of withdrawing from above-mentioned application program S the respectively electric weight number percent corresponding to internal resistance partial pressure value of corresponding described battery, at this moment, the user can judge the electric weight that the above-mentioned application program that withdraws from consumes according to the variation difference of electric weight number percent corresponding to the internal resistance partial pressure value of described battery.When if this application program consumes power is larger, the user can select temporarily not move this application program, but move the smaller application program of some consumes power when dump energy be few, thereby realizes the reasonable distribution of electric weight.
Embodiment 2:
The embodiment of the invention provides a kind of communication terminal, as shown in Figure 4, comprising:
In the embodiment of the invention, the internal resistance partial pressure value that produces in the internal resistance of described battery when obtaining the terminal operating application program, and with instantaneous voltage value and the addition of described internal resistance partial pressure value of described battery, after drawing the residue total voltage value of described battery, the form with electric weight number percent corresponding to the residue total voltage value of the residue total voltage value of described battery and/or described battery on terminal interface shows dump energy information.Especially, when moving the application program of large power consumption on the terminal, adopt technical solution of the present invention in front and back that the application program of described large power consumption withdraws from, the dump energy information that demonstrates is from large to small, more near the Expenditure Levels of battery electric quantity reality, the situation that dump energy information is changed from small to big occurs in the front and back of having avoided in the prior art application program in described large power consumption to withdraw from, has realized demonstrating exactly the dump energy of battery reality.
Further, as shown in Figure 4, described acquisition module 12 comprises: current acquisition module 12-1 is used for the current value that produces when acquisition terminal runs application;
Computing module 12-2 is used for the internal resistance of described current value and described battery is multiplied each other, and draws the internal resistance partial pressure value of described battery.
Optionally, described display module 14 also is used for showing the internal resistance partial pressure value of described battery and/or the electric weight number percent corresponding to internal resistance partial pressure value of described battery.
Because the internal resistance partial pressure value of described battery produces during owing to the terminal operating application program, thereby, show the internal resistance partial pressure value of described battery and/or the electric weight number percent corresponding to internal resistance partial pressure value of described battery, can be so that the user understands the electric weight operating position of application program, to use better and to manage battery electric quantity.
The communication terminal that the embodiment of the invention provides includes but not limited to mobile phone, PC, MP4 etc.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computing machine, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.
Claims (8)
1. a detection method of quantity of electricity is characterized in that, comprising:
Gather the instantaneous voltage value of battery;
Obtain the internal resistance partial pressure value that produces in the internal resistance of the described battery of terminal;
With instantaneous voltage value and the addition of described internal resistance partial pressure value of described battery, draw the residue total voltage value of described battery.
2. method according to claim 1 is characterized in that, also comprises:
Show the residue total voltage value of described battery and/or the electric weight number percent corresponding to residue total voltage value of described battery.
3. method according to claim 1 is characterized in that, the described internal resistance partial pressure value that produces in the internal resistance of the described battery of terminal of obtaining comprises:
The current value that acquisition terminal produces;
The internal resistance of described current value and described battery is multiplied each other, draw the internal resistance partial pressure value of described battery.
4. according to claim 1 to 3 each described methods, it is characterized in that, also comprise:
Show the internal resistance partial pressure value of described battery and/or the electric weight number percent corresponding to internal resistance partial pressure value of described battery.
5. a communication terminal is characterized in that, comprising:
Voltage acquisition module is for the instantaneous voltage value that gathers battery;
Acquisition module is used for obtaining the internal resistance partial pressure value that produces in the internal resistance of described battery;
Computing module is used for instantaneous voltage value and the addition of described internal resistance partial pressure value with described battery, draws the residue total voltage value of described battery.
6. terminal according to claim 5 is characterized in that, described communication terminal also comprises:
Display module is used for showing the residue total voltage value of described battery and/or the electric weight number percent corresponding to residue total voltage value of described battery.
7. terminal according to claim 5 is characterized in that, described acquisition module comprises:
The current acquisition module is used for the current value that acquisition terminal produces;
Computing module is used for the internal resistance of described current value and described battery is multiplied each other, and draws the internal resistance partial pressure value of described battery.
8. according to claim 5 to 7 each described terminals, it is characterized in that described display module also is used for showing the internal resistance partial pressure value of described battery and/or the electric weight number percent corresponding to internal resistance partial pressure value of described battery.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100879857A CN103364727A (en) | 2012-03-29 | 2012-03-29 | Electrical quantity detection method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100879857A CN103364727A (en) | 2012-03-29 | 2012-03-29 | Electrical quantity detection method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103364727A true CN103364727A (en) | 2013-10-23 |
Family
ID=49366515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100879857A Pending CN103364727A (en) | 2012-03-29 | 2012-03-29 | Electrical quantity detection method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103364727A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106093780A (en) * | 2016-05-31 | 2016-11-09 | 青岛海信移动通信技术股份有限公司 | A kind of terminal residual electricity determines method and terminal |
WO2016177239A1 (en) * | 2015-10-13 | 2016-11-10 | 中兴通讯股份有限公司 | Electric quantity display method and device |
CN106932729A (en) * | 2017-04-14 | 2017-07-07 | 深圳市金立通信设备有限公司 | A kind of battery voltage detection method and terminal |
CN107014497A (en) * | 2017-03-20 | 2017-08-04 | 陈志远 | The monitoring system of double track inspection car |
CN107483751A (en) * | 2017-07-05 | 2017-12-15 | 广东欧珀移动通信有限公司 | Terminal device, power distribution method thereof, and computer-readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW350028B (en) * | 1997-09-01 | 1999-01-11 | Keninnet International Tech Corp | Method of testing remaining capacity of batteries a sort of method of testing remaining capacity of batteries |
TW586011B (en) * | 2000-12-21 | 2004-05-01 | Kinpo Elect Inc | Apparatus and method of predicting battery output voltage for digital camera |
JP2006058292A (en) * | 1996-03-08 | 2006-03-02 | Sony Corp | Electronic equipment with function for displaying battery residual usable time, and method of displaying battery residual usable time |
WO2007114410A1 (en) * | 2006-03-31 | 2007-10-11 | Toyota Jidosha Kabushiki Kaisha | Hybrid vehicle battery information display device |
CN101903845A (en) * | 2007-12-20 | 2010-12-01 | 诺基亚公司 | Method, apparatus and computer program product for providing notification and management of power consumption |
CN102156530A (en) * | 2010-09-30 | 2011-08-17 | 华为终端有限公司 | Power consumption management method and device thereof for mobile terminal |
CN102253343A (en) * | 2011-04-21 | 2011-11-23 | 北京世纪瑞尔技术股份有限公司 | Method for estimating state of health and state of charge of storage battery |
WO2011148214A1 (en) * | 2010-05-27 | 2011-12-01 | Nokia Corporation | Method of evaluating remaining power of a battery for portable devices |
TW201205089A (en) * | 2010-07-30 | 2012-02-01 | Hwa Hsia Inst Of Technology | Battery power display method for fluctuating consumption system and apparatus of the same |
-
2012
- 2012-03-29 CN CN2012100879857A patent/CN103364727A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006058292A (en) * | 1996-03-08 | 2006-03-02 | Sony Corp | Electronic equipment with function for displaying battery residual usable time, and method of displaying battery residual usable time |
TW350028B (en) * | 1997-09-01 | 1999-01-11 | Keninnet International Tech Corp | Method of testing remaining capacity of batteries a sort of method of testing remaining capacity of batteries |
TW586011B (en) * | 2000-12-21 | 2004-05-01 | Kinpo Elect Inc | Apparatus and method of predicting battery output voltage for digital camera |
WO2007114410A1 (en) * | 2006-03-31 | 2007-10-11 | Toyota Jidosha Kabushiki Kaisha | Hybrid vehicle battery information display device |
CN101903845A (en) * | 2007-12-20 | 2010-12-01 | 诺基亚公司 | Method, apparatus and computer program product for providing notification and management of power consumption |
WO2011148214A1 (en) * | 2010-05-27 | 2011-12-01 | Nokia Corporation | Method of evaluating remaining power of a battery for portable devices |
TW201205089A (en) * | 2010-07-30 | 2012-02-01 | Hwa Hsia Inst Of Technology | Battery power display method for fluctuating consumption system and apparatus of the same |
CN102156530A (en) * | 2010-09-30 | 2011-08-17 | 华为终端有限公司 | Power consumption management method and device thereof for mobile terminal |
CN102253343A (en) * | 2011-04-21 | 2011-11-23 | 北京世纪瑞尔技术股份有限公司 | Method for estimating state of health and state of charge of storage battery |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016177239A1 (en) * | 2015-10-13 | 2016-11-10 | 中兴通讯股份有限公司 | Electric quantity display method and device |
CN106093780A (en) * | 2016-05-31 | 2016-11-09 | 青岛海信移动通信技术股份有限公司 | A kind of terminal residual electricity determines method and terminal |
CN107014497A (en) * | 2017-03-20 | 2017-08-04 | 陈志远 | The monitoring system of double track inspection car |
CN106932729A (en) * | 2017-04-14 | 2017-07-07 | 深圳市金立通信设备有限公司 | A kind of battery voltage detection method and terminal |
CN107483751A (en) * | 2017-07-05 | 2017-12-15 | 广东欧珀移动通信有限公司 | Terminal device, power distribution method thereof, and computer-readable storage medium |
CN107483751B (en) * | 2017-07-05 | 2020-10-02 | Oppo广东移动通信有限公司 | Terminal device, electric quantity distribution method thereof and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Meng et al. | A review on prognostics and health management (PHM) methods of lithium-ion batteries | |
Dong et al. | Dynamic modeling of Li-ion batteries using an equivalent electrical circuit | |
CN102066964B (en) | For determining the system and method for battery state of charge | |
CN102645571B (en) | One kind detection circuit and electric terminal | |
CN103163480A (en) | Method for estimating health state of lithium battery | |
CN103364727A (en) | Electrical quantity detection method and terminal | |
CN101436690A (en) | Method, device and terminal equipment for determining charging time | |
CN106129508B (en) | A kind of charging method and device | |
CN107983667A (en) | A kind of lithium ion battery grouping method | |
CN102520364A (en) | Method utilizing battery voltage to display electric quantity | |
CN101282381A (en) | Apparatus and method for displaying battery dump energy | |
CN105319516A (en) | A battery set-making and screening method | |
CN102914744B (en) | Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power | |
CN102520365A (en) | Quick estimating system of remaining battery power and method thereof | |
CN103217649A (en) | Method, device and mobile device for displaying power | |
CN108051755A (en) | Battery internal resistance acquisition method and device, battery management system and computer storage readable medium | |
CN105738821B (en) | The accurate method for calculating battery coulombic efficiency under different temperatures | |
CN102608444B (en) | SOC (State of Charge) detecting and correcting method for super capacitance energy-storing device | |
CN107064808B (en) | The SOC estimation method and device of battery | |
CN201466171U (en) | Electric vehicle battery system with electricity utilization metering function | |
CN106446520A (en) | Estimation method for state of health (SOH) of battery | |
CN115395613B (en) | Battery charging management method and device, electronic equipment and storage medium | |
CN108303657A (en) | Battery open circuit voltage and SOC curve acquisition methods | |
CN106291366B (en) | A kind of lithium ion battery equivalent cycle Life Calculating Methods | |
CN102928693B (en) | A kind of the parallel power condenser switching process monitoring system and monitoring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131023 |
|
RJ01 | Rejection of invention patent application after publication |