CN102375127B - Method for displaying residual battery electricity quantity of mobile terminal - Google Patents

Method for displaying residual battery electricity quantity of mobile terminal Download PDF

Info

Publication number
CN102375127B
CN102375127B CN201110356988.1A CN201110356988A CN102375127B CN 102375127 B CN102375127 B CN 102375127B CN 201110356988 A CN201110356988 A CN 201110356988A CN 102375127 B CN102375127 B CN 102375127B
Authority
CN
China
Prior art keywords
value
charge value
current
electric weight
current demonstration
Prior art date
Application number
CN201110356988.1A
Other languages
Chinese (zh)
Other versions
CN102375127A (en
Inventor
王帅
李春亮
Original Assignee
深圳市中兴移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市中兴移动通信有限公司 filed Critical 深圳市中兴移动通信有限公司
Priority to CN201110356988.1A priority Critical patent/CN102375127B/en
Publication of CN102375127A publication Critical patent/CN102375127A/en
Application granted granted Critical
Publication of CN102375127B publication Critical patent/CN102375127B/en

Links

Abstract

The invention discloses a method for displaying the residual battery electricity quantity of a mobile terminal, which comprises the steps of detecting the electricity quantity, comparing the electricity quantity and updating and displaying an electricity-quantity value, wherein the electricity quantity is continuously detected, and when the currently-calculated residual battery electricity-quantity value is continuously greater than or smaller than the currently-displayed electricity-quantity value for certain times, the currently-displayed electricity-quantity value is then updated. In the invention, by utilizing two charging and standby voltage-electricity-quantity curves and combining the comparison of the currently-calculated electricity-quantity value with the currently-displayed electricity-quantity value for many times, the currently-displayed electricity-quantity value is updated step by step, the problem of electricity-quantity jumping is solved, and the electricity quantity can be accurately displayed.

Description

A kind of method that residual battery electricity quantity of mobile terminal shows
Technical field
The present invention relates to the demonstration field of mobile terminal rechargeable battery dump energy, relate in particular to a kind of cell voltage that passes through, calculate the computing method of rechargeable battery dump energy.
Background technology
Along with the development of modern science and technology, the portable equipment such as mobile phone, PAD, notebook are seen everywhere.The function that portable product provides is also more and more, and people more need to monitor accurately battery electric quantity, so that rational managing electrical power.
By the battery electric quantity detection technique, can accurately calculate the battery of mobile device.Of common occurrence in mobile terminal, notebook computer.
Current, most of handheld devices are all by measuring cell voltage, estimating corresponding battery dump energy.By system battery voltage and capacity corresponding relation, obtain the rough lattice benchmark shown of electric weight common on mobile phone.This lattice shows that the mode of electric weight is too coarse, show often inaccurate, particularly for the battery of long-time use, lattice shows that it is full lattice that electric weight shows, but can not use time enough, therefore, this mode more and more can not meet the user electric weight is monitored to requirement accurately, and the user needs to know more accurately the number percent of dump energy.
And, due to after the battery loading, along with the variation of load, cell voltage also has fluctuation, if the charge value shown gets according to the magnitude of voltage conversion fully, just there will be charge value larger fluctuation to occur, affect the monitoring of user to battery electric quantity.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method that residual battery electricity quantity of mobile terminal shows, the method can be relatively accurately and the method for stability Calculation and demonstration electric weight, make electric weight more stablely to be shown to 1%, the variation of electric weight does not have the saltus step that is greater than 1%, improves the accuracy to the battery electric quantity monitoring.
A kind of method that provides residual battery electricity quantity of mobile terminal to show is provided another object of the present invention, and it is simple, with low cost that the method realizes, is convenient to be applied in various mobile terminals.
Based on this, implementation method of the present invention comprises the steps.
1, detect electric weight: after detecting the one-shot battery magnitude of voltage, by battery voltage value, calculate the battery dump energy value;
2, comparing electrical value: after detecting electric weight, the battery dump energy value is not to upgrade current demonstration charge value, but compares with current demonstration charge value at once;
3, upgrade and show charge value: the continuous detecting electric weight, when current calculating battery dump energy value is greater than or less than the certain number of times of current demonstration charge value continuously, then upgrade current demonstration charge value.
The present invention charges and two voltage-electric quantity curve of standby by utilization, in conjunction with repeatedly more current calculating charge value and current demonstration charge value, progressively upgrades current demonstration charge value, has solved electric weight saltus step problem, can show exactly electric weight.
Described number of times, generally be more than or equal to 1 time.Upgrading the method for current demonstration charge value, is not directly current demonstration charge value to be equaled to current calculating charge value, but makes current demonstration charge value only increase or reduce 1.
Described demonstration charge value is digital value.
In the time of due to charging, cell voltage has virtual height, so charging and standby adopt respectively two different voltage-electric quantity curve.For user's good experience, in the time of charging, current demonstration charge value only allows to increase and can not reduce in addition, and in the time of standby, current demonstration charge value only allows to reduce can not increase.
The setting at electric weight interval update time is to decide according to the absolute value of current calculating charge value and current demonstration charge value difference.When the absolute value of this difference is larger, illustrate that current demonstration charge value and the current charge value recorded differ larger, need upgrade as early as possible, arrange update time just less.
The mode that the present invention adopts the repeated detection electric weight to be contrasted, can monitor the numerical value of the actual electric weight of battery exactly, can calculate more exactly and show electric weight, makes the demonstration of electric weight have enough reliabilities, is convenient to the actual electric weight of user monitoring battery.
And it is easy, with low cost that the present invention realizes, be convenient to be applied in existing various mobile terminals.
The accompanying drawing explanation
Time-voltage curve when Fig. 1 is charging.
Fig. 2 is constant current stand-by time-voltage curve.
Fig. 3 is process flow diagram of the invention process.
Embodiment
Below, by reference to the accompanying drawings shown in, specific embodiment of the invention is elaborated, should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.As shown in Figure 3, implementation method of the present invention comprises the following steps:
The first step: test out the cell voltage-time curve of charging and discharging, according to this curve, make electric weight number percent-voltage curve;
Discharge curve can according to test to the cell voltage-time curve of standby electric discharge obtain as shown in Figure 1, for example electric weight can obtain with the proportional relation of stand-by time.As shown in the table:
Electric weight 0% 10% 30% 50% 70% 90% 100%
Voltage (mv) 3400 3600 3700 3800 3900 4000 4200
Discharge curve can be shown according to this, with straight line or secondary and above-mentioned curve connection acquisition.
Charging curve can obtain on basis as shown in Figure 2 at the standby curve, for example can be on the corresponding standby voltage value of same electric weight basis, and magnitude of voltage during the test charging, this electric weight corresponding voltage value during as charging.As shown in the table:
Electric weight 0% 10% 30% 50% 70% 90% 100%
Voltage (mv) 3500 3700 3800 3900 3980 4080 4280
Charging curve can be shown according to this, with straight line or secondary and upper curve connection acquisition.
Second step: the electric weight update algorithm, under charging and standby two states, there is difference in cell voltage, so the electric weight that needs to distinguish under charging and standby two states upgrades.
(1), after starting, at first judgement is in charging or standby;
(2) read battery current voltage value (detecting electric weight), for the cell voltage that makes to read is more accurate, can average by repeatedly reading magnitude of voltage;
(3) judge whether under special operation condition, when special operation condition refers to working current higher than normal standby as shown in Figure 2 during the standby current of (non-working condition), as in conversation or shooting etc.If, under special operation condition, voltage is compensated, compensation method can be when entering this operating mode, to voltage compensation from this operating mode exits to the voltage difference after exiting; If not the battery voltage value of reading is constant.
(4) if charged state is called the voltage-electric quantity curve of charging, calculate corresponding charge value; If at holding state, call standby voltage-electric quantity curve and calculate corresponding charge value.
(5) calculate the difference diff of current calculating electric weight and current demonstration electric weight, according to difference diff, determine that cell voltage upgrades the electric weight time T.
A) diff=0, current calculating electric weight and current demonstration charge value are equal, and current demonstration charge value does not need to change, and arranges and reads the cell voltage renewal electric weight time interval T0 next time;
B) diff > 0, current calculating charge value is greater than current demonstration charge value, the variable up_count that will the current calculating charge value of sign be greater than current demonstration electric weight number of times increases by 1, will indicate that the variable down_count that current calculating charge value is less than current demonstration electric weight number of times is set to 0 simultaneously.Next judge whether up_count is greater than the maximal value of setting, if up_count is greater than the setting maximal value, and, in charged state, current demonstration charge value is increased to 1; If up_count is less than or equal to the setting maximal value, do not change current demonstration charge value, arrange and read the cell voltage time interval T1 next time according to the size of diff absolute value.
C) diff<0, current calculating charge value is less than current demonstration charge value, the variable down_count that will the current calculating charge value of sign be less than current demonstration electric weight number of times increases by 1, will indicate that the variable up_count that current calculating charge value is greater than current demonstration electric weight number of times is set to 0 simultaneously.Next judge whether down_count is greater than the maximal value of setting, if down_count is greater than the setting maximal value, and, at holding state, current demonstration charge value is reduced to 1; If down_count is less than or equal to the setting maximal value, do not change current demonstration charge value, arrange and read the cell voltage time interval T2 next time according to the size of diff absolute value.
(6) calculating of T, the size of T becomes inverse correlation with the size of diff absolute value, and, when current calculating charge value and current demonstration charge value differ larger, the next update time of electric weight is shorter.
A) when | diff|<n1, T0=a1;
B) when n1=<| diff|<=n2, T1=a2;
C) when n2<| diff|, T2=a3;
N1 wherein, n2 is positive integer, and n1<n2, desirable n1=n2/2, n1 can be by the experience value, as desirable 10;
A1, a2, a3 etc. are positive integer, and a1 > a2 > and a3, desirable a1=2*a2, a2=2*a3, the value of a1 is relevant with battery capacity, and shown in desirable Fig. 2, standby T.T. is divided by 100.
Above-mentioned each example of the present invention can be lithium battery, also can be other rechargeable batteries.The present invention charges and two voltage-electric quantity curve of standby by design, the virtual height problem that while having solved charging, electric weight shows.By repeatedly more current calculating charge value and current demonstration charge value, progressively upgrade current demonstration charge value, solved electric weight saltus step problem.By the absolute difference size of current calculating charge value and current demonstration charge value, determine and next electric weight update time make battery electric quantity accurately and timely to upgrade.To sum up can make the demonstration of electric weight accurately with stable, improve accuracy and the satisfaction of user's detection battery electric quantity.
The foregoing is only preferred embodiment of the present invention; not thereby limit the scope of the claims of the present invention; the variable set up that this explanation is used all can be equal to replacement, every technical scheme of the present invention is modified or is equal to replacement, all in scope of patent protection of the present invention.

Claims (8)

1. the method that residual battery electricity quantity of mobile terminal shows, is characterized in that comprising the steps:
1), detect electric weight: judge currently in charged state or holding state, after detecting the one-shot battery magnitude of voltage, the voltage-electric quantity curve by battery voltage value and charged state or holding state calculates the battery dump energy value;
2), comparing electrical value: after detecting electric weight, the battery dump energy value is not to upgrade current demonstration charge value, but compares with current demonstration charge value at once;
3), upgrade to show charge value: the continuous detecting electric weight, when current calculating battery dump energy value is greater than or less than the certain number of times of current demonstration charge value continuously, then upgrade current demonstration charge value.
2. the method that residual battery electricity quantity of mobile terminal as claimed in claim 1 shows, is characterized in that described number of times is more than or equal to 1 time.
3. the method that residual battery electricity quantity of mobile terminal as claimed in claim 1 shows, is characterized in that described renewal shows charge value, is to make current demonstration charge value only increase or reduce 1.
4. the method that residual battery electricity quantity of mobile terminal as claimed in claim 1 shows, is characterized in that described demonstration charge value, is digital value.
5. the method that residual battery electricity quantity of mobile terminal as claimed in claim 1 shows, when it is characterized in that charging, current demonstration charge value only allows to increase and can not reduce, and in the time of standby, current demonstration charge value only allows to reduce can not increase.
6. the method that residual battery electricity quantity of mobile terminal as claimed in claim 1 shows, after it is characterized in that described detection electric weight, judge that mobile terminal is whether under special operation condition, if under special operation condition, voltage is compensated, compensation method can be when entering this operating mode, to voltage compensation from this operating mode exits to the voltage difference after exiting.
7. the method that residual battery electricity quantity of mobile terminal as claimed in claim 1 shows, it is characterized in that described renewal shows the charge value step, also comprise the difference diff that calculates current calculating electric weight and current demonstration electric weight, according to difference diff, determine that cell voltage upgrades the electric weight time T.
8. the method that residual battery electricity quantity of mobile terminal as claimed in claim 7 shows, is characterized in that,
A) diff=0, current calculating electric weight and current demonstration charge value are equal, and current demonstration charge value does not need to change, and arranges and reads the cell voltage renewal electric weight time interval T0 next time;
B) diff > 0, current calculating charge value is greater than current demonstration charge value, the variable up_count that will the current calculating charge value of sign be greater than current demonstration electric weight number of times increases by 1, will indicate that the variable down_count that current calculating charge value is less than current demonstration electric weight number of times is set to 0 simultaneously; Next judge whether up_count is greater than the maximal value of setting, if up_count is greater than the setting maximal value, and, in charged state, current demonstration charge value is increased to 1; If up_count is less than or equal to the setting maximal value, do not change current demonstration charge value, arrange and read the cell voltage time interval T1 next time according to the size of diff absolute value;
C) diff<0, current calculating charge value is less than current demonstration charge value, the variable down_count that will the current calculating charge value of sign be less than current demonstration electric weight number of times increases by 1, will indicate that the variable up_count that current calculating charge value is greater than current demonstration electric weight number of times is set to 0 simultaneously; Next judge whether down_count is greater than the maximal value of setting, if down_count is greater than the setting maximal value, and, at holding state, current demonstration charge value is reduced to 1; If down_count is less than or equal to the setting maximal value, do not change current demonstration charge value, arrange and read the cell voltage time interval T2 next time according to the size of diff absolute value.
CN201110356988.1A 2011-11-11 2011-11-11 Method for displaying residual battery electricity quantity of mobile terminal CN102375127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110356988.1A CN102375127B (en) 2011-11-11 2011-11-11 Method for displaying residual battery electricity quantity of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110356988.1A CN102375127B (en) 2011-11-11 2011-11-11 Method for displaying residual battery electricity quantity of mobile terminal

Publications (2)

Publication Number Publication Date
CN102375127A CN102375127A (en) 2012-03-14
CN102375127B true CN102375127B (en) 2014-01-08

Family

ID=45794010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110356988.1A CN102375127B (en) 2011-11-11 2011-11-11 Method for displaying residual battery electricity quantity of mobile terminal

Country Status (1)

Country Link
CN (1) CN102375127B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364619B (en) * 2012-03-26 2016-02-10 宇龙计算机通信科技(深圳)有限公司 The voltage detection method of terminal device and terminal device
CN102721927B (en) * 2012-05-04 2016-02-10 惠州Tcl移动通信有限公司 A kind of method and system detecting mobile device battery electric quantity
CN103033758A (en) * 2012-10-25 2013-04-10 北京君正集成电路股份有限公司 Display electric quantity value calibration method and device
CN102946479B (en) * 2012-11-02 2015-01-21 惠州Tcl移动通信有限公司 Method for mobile terminal to update electric quantity of battery and mobile terminal
CN103035972B (en) * 2012-12-31 2015-11-18 广东欧珀移动通信有限公司 A kind of electric quantity display method of wireless terminal and device
CN103217649A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for displaying electric quantity, and mobile device
CN103440192B (en) * 2013-08-30 2017-03-01 贝壳网际(北京)安全技术有限公司 the electric quantity display method of mobile terminal, device and mobile terminal
CN103905648A (en) * 2014-04-10 2014-07-02 深圳市中兴移动通信有限公司 Mobile terminal and electric quantity display method thereof
CN105866499B (en) * 2015-01-23 2019-01-11 宇龙计算机通信科技(深圳)有限公司 A kind of electric quantity display method and device
CN104714185B (en) * 2015-03-12 2017-12-19 惠州Tcl移动通信有限公司 A kind of battery electric quantity auto-correction method and system based on mobile terminal
CN105242089B (en) * 2015-10-28 2018-08-17 力帆实业(集团)股份有限公司 Improve the method that electric vehicle instrument accurately shows electricity lattice number
CN105866688A (en) * 2015-12-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method of measuring mobile communication terminal equipment cell capacity and system thereof
CN107024657B (en) * 2016-01-30 2019-09-17 中山乐心电子有限公司 A kind of electricity display processing method for electronic equipment and device
CN105680521B (en) * 2016-03-23 2018-03-23 广东欧珀移动通信有限公司 Charge function detection method, device and the mobile terminal of mobile terminal
CN105975879A (en) * 2016-04-29 2016-09-28 宇龙计算机通信科技(深圳)有限公司 Control method and device for displayed electric quantity of terminal
CN106199438B (en) * 2016-06-30 2019-08-30 北京小米移动软件有限公司 Electricity based reminding method and device
CN106226703A (en) * 2016-08-09 2016-12-14 爱玛科技集团股份有限公司 The indicating means of a kind of battery remaining power, Apparatus and system
CN106324513B (en) * 2016-08-17 2019-02-19 深圳民盾安全技术开发有限公司 A kind of battery capacity Display Realization method of current discharge
CN107249085B (en) * 2017-07-28 2020-11-27 泾县谷声信息科技有限公司 Mobile terminal electric quantity display method, mobile terminal and computer readable storage medium
CN108344952A (en) * 2018-02-26 2018-07-31 深圳市道通智能航空技术有限公司 Battery power amount calculation method and its device
CN108427621A (en) * 2018-03-27 2018-08-21 广东欧珀移动通信有限公司 Battery power quantity display method, device, electronic device and computer readable storage medium
CN109001639A (en) * 2018-06-25 2018-12-14 江西江铃集团新能源汽车有限公司 The SOC estimating algorithm of battery
CN109633447A (en) * 2019-01-09 2019-04-16 福建联迪商用设备有限公司 Residual quantity display method and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1166711A (en) * 1996-03-08 1997-12-03 索尼公司 Electronic apparatus having function of displaying battery residual quantity and method for displaying battery residual quantity
CN1228540A (en) * 1997-12-26 1999-09-15 三星电子株式会社 Monitoring technique for accurately determining residual capacity of battery
CN1942774A (en) * 2005-03-10 2007-04-04 索尼株式会社 Method of displaying remaining battery power, and electronic apparatus
CN101793946A (en) * 2010-04-12 2010-08-04 无敌科技(西安)有限公司 Method for realizing monotone change of battery power
CN102014213A (en) * 2010-12-22 2011-04-13 深圳市五巨科技有限公司 Method and device for prompting remaining time of mobile terminal battery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002270248A (en) * 2001-03-08 2002-09-20 Matsushita Electric Ind Co Ltd Cell voltage detection device, and cell voltage detecting method
JP3720290B2 (en) * 2001-10-04 2005-11-24 矢崎総業株式会社 Battery charging efficiency detection method and apparatus, battery charge electricity amount detection method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1166711A (en) * 1996-03-08 1997-12-03 索尼公司 Electronic apparatus having function of displaying battery residual quantity and method for displaying battery residual quantity
CN1228540A (en) * 1997-12-26 1999-09-15 三星电子株式会社 Monitoring technique for accurately determining residual capacity of battery
CN1942774A (en) * 2005-03-10 2007-04-04 索尼株式会社 Method of displaying remaining battery power, and electronic apparatus
CN101793946A (en) * 2010-04-12 2010-08-04 无敌科技(西安)有限公司 Method for realizing monotone change of battery power
CN102014213A (en) * 2010-12-22 2011-04-13 深圳市五巨科技有限公司 Method and device for prompting remaining time of mobile terminal battery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2002-270248A 2002.09.20

Also Published As

Publication number Publication date
CN102375127A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
US10527680B2 (en) Systems and methods for determining battery state of charge
US8952701B2 (en) Isolation resistance measuring apparatus having fault self-diagnosing function and self-diagnosing method using the same
US9024769B2 (en) Isolation resistance measuring apparatus having fault self-diagnosing function and fault self-diagnosing method using the same
CN103675701B (en) The method for correcting of a kind of battery dump energy and device
US10712395B2 (en) Apparatus and method for detecting battery state of health
US9263773B2 (en) Secondary battery state of charge determination apparatus, and method of determining state of charge of secondary battery
JP6012447B2 (en) Semiconductor device, battery pack, and electronic device
CN102565716B (en) Apparatus for calculating residual capacity of secondary battery
RU2565339C2 (en) Device for charge level identification
US8415926B2 (en) In-situ battery health detector and end-of-life indicator
US8332169B2 (en) Apparatus and method for estimating state of health of battery based on battery voltage variation pattern
US8996324B2 (en) Battery-state monitoring apparatus
US8823325B2 (en) Method for checking and modulating battery capacity and power based on discharging/charging characteristics
KR100987606B1 (en) Apparatus and method for correcting measurements of remaining capacity of battery pack
CN102144171B (en) Battery state detection device and battery pack incorporating same, and battery state detection method
TWI603562B (en) Method, apparatus, and system for power source failure prediction
TWI426288B (en) Method for estimating battery degradation
US6771042B2 (en) Method and apparatus for implementing smart management of a rechargeable battery
Ng et al. Enhanced coulomb counting method for estimating state-of-charge and state-of-health of lithium-ion batteries
AU2016200510B2 (en) Monitoring a battery in a portable electronic device
JPWO2013069423A1 (en) Battery status monitoring system
US7456613B2 (en) Battery remaining capacity calculating method, battery remaining capacity calculating device, and battery remaining capacity calculating program
CN103308865B (en) Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve
JP4123184B2 (en) Secondary battery remaining capacity calculation method and battery pack
EP2325658B1 (en) Device and method for estimating battery resistance characteristics using battery voltage behaviour

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
CP01 Change in the name or title of a patent holder

Address after: 518057, Guangdong, Nanshan District hi tech Industrial Park, south 6, No. 29, south 6, South, Shenzhen

Patentee after: Nubian Technologies Ltd.

Address before: 518057, Guangdong, Nanshan District hi tech Industrial Park, south 6, No. 29, south 6, South, Shenzhen

Patentee before: Shenzhen ZTE Mobile Tech Co., Ltd.

C56 Change in the name or address of the patentee

Owner name: NUBIAN TECHNOLOGIES LTD.

Free format text: FORMER NAME: SHENZHEN ZTE MOBILE TECH CO., LTD.