CN103472400B - A kind of acquisition methods of battery capacity of mobile terminal and system - Google Patents

A kind of acquisition methods of battery capacity of mobile terminal and system Download PDF

Info

Publication number
CN103472400B
CN103472400B CN201310404157.6A CN201310404157A CN103472400B CN 103472400 B CN103472400 B CN 103472400B CN 201310404157 A CN201310404157 A CN 201310404157A CN 103472400 B CN103472400 B CN 103472400B
Authority
CN
China
Prior art keywords
voltage
battery
value
offset
mobile terminal
Prior art date
Application number
CN201310404157.6A
Other languages
Chinese (zh)
Other versions
CN103472400A (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 CN201310404157.6A priority Critical patent/CN103472400B/en
Publication of CN103472400A publication Critical patent/CN103472400A/en
Application granted granted Critical
Publication of CN103472400B publication Critical patent/CN103472400B/en

Links

Abstract

The acquisition methods and the system that the invention discloses a kind of battery capacity of mobile terminal, comprise step: the offset that cell voltage is set; In the time of mobile terminal-opening, read the voltage of battery; The cell voltage getting is added to offset is the virtual voltage of battery; According to the virtual voltage of the battery obtaining, the corresponding table of inquiry voltage-electric weight, obtains the charge value that this virtual voltage is corresponding, and this charge value is the actual electric weight of current phone. The initial quantity of electricity that while the invention enables start, mobile phone obtains is more accurate, shows thereby the charge/discharge below can both obtain electric weight more accurately under using, and avoids showing by electric weight the problem that deviation causes greatly.

Description

A kind of acquisition methods of battery capacity of mobile terminal and system

Technical field

The present invention relates to battery detection administrative skill field, specifically a kind of electric weight of battery obtainsMethod and system.

Background technology

Along with the fast development of mobile intelligent terminal product in recent years, the function of smart mobile phone and performance are allBe greatly improved. Increasing people not only pursues the variation of function, more pursuesPerformance and the user of hommization experience. In the situation that hardware configuration is similar, better performanceExperiencing with better user the centrostigma that mobile terminals such as becoming mobile phone is competed, is to obtain consumer's favorOne of best means. Wherein electric weight shows to be exactly good example. The power of smart mobile phone,Must make power consumption increase, and relatively lagging behind of technology of battery continuation of the journey becomes the flying power of mobile phoneA bottleneck, also just because of this, accurate electric weight seems particularly important, special in low electric weightIn situation, accurate electric weight shows and will provide correct mobile phone occupation mode to user. Such as also havingWhen 10% electric weight, user probably while using suddenly with regard to automatic shutdown, similar this feelingsCondition can be brought very bad experience to user, even user is caused to unnecessary loss. Even ifIn not affecting user and using, accurate electric weight shows to be also the product advantage of giving prominence to very much and to sellPoint. Therefore voltameter scheme has obtained increasing use in smart mobile phone, a lot of on the market inThe high-end smartphones voltameter function of all having arranged in pairs or groups. For voltameter, hand when being exactly startMachine testing initial quantity of electricity Q0, is then mended the integration of electric current by Coulomb meter in the use belowCharge volume Q1(charging) or damage electric weight Q1(electric discharge), then add (charging) with initial quantity of electricity Q0Or deduct (electric discharge) Q1 and just obtain the current electric weight that should show. The statistical accuracy of Coulomb meter be byCoulomb meter self decision, general error is very little. But the initial quantity of electricity Q0 of battery is mobile phone selfDetect, if Q0 is inaccurate, even if 100% of voltameter statistics accurate so, electric weight shows soAlso error is very large certainly, and is constant error, cannot eliminate, and therefore accurate initial quantity of electricity detectsBe related to that actual electric weight shows accurately whether.

Summary of the invention

The technical problem to be solved in the present invention is to provide a kind of acquisition methods of battery capacity of mobile terminalAnd system, the initial quantity of electricity that while making to start shooting, mobile phone obtains is more accurate, thus charging below/Electric discharge can both obtain electric weight more accurately and show under using, avoid showing that by electric weight deviation causes greatlyProblem.

In order to solve the problems of the technologies described above, one aspect of the present invention provides a kind of battery capacity of mobile terminalAcquisition methods, comprise the following steps:

An acquisition methods for battery capacity of mobile terminal, comprises the following steps:

The offset of cell voltage is set;

In the time of mobile terminal-opening, read the voltage of battery;

The cell voltage getting is added to offset is the virtual voltage of battery;

According to the virtual voltage of the battery obtaining, the corresponding table of inquiry voltage-electric weight, obtains this actual electricalPress corresponding charge value, this charge value is the actual electric weight of current phone.

The offset that cell voltage is set is specially, the voltage with cell voltage when the mobile terminal-openingLower-limit point is to being scope interval between battery voltage limit point, select in this interval at least three differentVoltage value;

To each voltage value read test of starting shooting of selecting, the voltage that start is got and rightThe voltage value that should select carries out difference calculating;

Each difference value of averaging is calculated, and this mean value is the offset of cell voltage.

Or the another kind of set-up mode of the offset of cell voltage: the offset tool that cell voltage is setBody is, the lower voltage limit by cell voltage when the mobile terminal-opening is put between battery voltage limit pointScope be divided at least two intervals, at least three different voltage numbers are selected in each intervalValue;

To each voltage value read test of starting shooting of selecting, the voltage that start is got and rightThe voltage value that should select carries out difference calculating;

The difference value of averaging belonging in same interval is calculated, and this mean value is this correspondence districtInterior cell voltage offset.

When start, read the voltage of battery, judge that this voltage is positioned at the interval of which division;

Obtain the voltage compensation value of respective bins, the cell voltage getting is added to this offset isThe virtual voltage of battery.

On the other hand, the present invention also provides a kind of system of obtaining of battery capacity of mobile terminal, comprisesSetting unit, for arranging the offset of cell voltage; Reading unit, during for mobile terminal-openingRead the voltage of battery; Computing unit, for calculating the virtual voltage of battery; Query unit, according toThe virtual voltage obtaining inquires corresponding electric weight. And division unit, for dividing cell voltageScope interval.

The cell voltage that the present invention reads during by mobile terminal-opening, with pre-set batteryThe offset of voltage carries out summation operation, thereby acquires more accurate initial voltage and electric weight,Thereby the charge/discharge below can both obtain more accurately electric weight under using shows, avoid byElectric weight shows the problem that deviation causes greatly, promotes user and experiences.

Brief description of the drawings

The schematic flow sheet that accompanying drawing 1 is the inventive method;

Accompanying drawing 2 arranges embodiment mono-schematic flow sheet of offset for the present invention;

The principle connection diagram that accompanying drawing 3 is system of the present invention.

Detailed description of the invention

For the ease of those skilled in the art's understanding, below in conjunction with accompanying drawing, the present invention is done furtherDescribe.

As shown in Figure 1, the present invention has disclosed a kind of side of obtaining of battery capacity of mobile terminalMethod, comprises the following steps:

S1, arranges the offset of cell voltage;

S2 reads the voltage of battery in the time of mobile terminal-opening;

S3, adds that by the cell voltage getting offset is the virtual voltage of battery. Due to batteryConventionally all can have internal resistance to exist, therefore the more real voltage of the actual cell voltage detecting all can have oneFixed pressure reduction, and generally all can be less than normal, so need to add bucking voltage, more accurate to obtainCell voltage.

S4, according to the virtual voltage of the battery obtaining, the corresponding table of inquiry voltage-electric weight, obtains this realityThe charge value that border voltage is corresponding, this charge value is the actual electric weight of current phone. Acquire like thisStart initial quantity of electricity more accurate, in follow-up use, by the component retrieval of terminal innerTo supplementing electric weight or loss of electricity, now system only initial quantity of electricity need to be added supplement electric weight orDeduct loss of electricity and be real-time electric weight, it is also more accurate that electric weight shows.

About the setting of the offset of cell voltage, specifically there are two preferably embodiments.

Embodiment mono-, as shown in Figure 2, the offset that cell voltage is set is specially, step S5,Lower voltage limit by cell voltage when the mobile terminal-opening is put to the model between battery voltage limit pointEnclose and be divided at least two intervals, at least three different voltage values are selected in each interval. AsBattery voltage limit is 3.4V(start electrical voltage point), upper change point is 4.2V, between 3.4~4.2VScope be divided into three intervals, 3.4~3.6,3.6~3.8 and 3.8~4.2 3 intervals, orPerson 3.4~3.6,3.6~3.8,3.8~4.0 and 4.0~4.2 4 intervals, interval division manyCan select flexibly less. In the present embodiment to be divided into the first interval 3.4~3.6, between Second Region 3.6~3.8 and the 3rd an interval, interval 3.8~4.2 3 explain. In each interval, select threeIndividual different voltage value, preferably comprises lower-limit point and the upper change point in each interval. As the first intervalIn, select 3.4,3.5 and 3.6 3 numerical value, the second 3.6,3.7 and 3.8 3 of interval selectionNumerical value, the 3rd 3.8,3.9,4.0,4.1 and 4.2 5 of interval selection numerical value, if wherein justBeing 3.6 o'clock, is that the first interval also can be between Second Region.

Step S6, to each voltage value read test of starting shooting of selecting, gets startVoltage and the voltage value of corresponding selection carry out difference calculating. Successively the numerical value in each interval is carried outTest is read. As the first interval selection 3.4,3.5 and tri-points of 3.6V, while start, examine respectivelyThe cell voltage of surveying these three some correspondences is how many, and battery is read in start corresponding while testing 3.4VVoltage, then this is by cell voltage record. Each selected element is read in test successively.

Step S7, calculates the difference value of averaging belonging in same interval, and this mean valueFor the cell voltage offset in this correspondence interval. As above-mentioned, by the cell voltage reading and realityNumerical value 3.4,3.5 and 3.6V compare calculating, by then right difference record corresponding each pointThese three difference values of averaging are calculated, and obtain the mean value in this first interval, and this mean value is thisThe offset of the cell voltage in the first interval. In like manner, calculate successively and test obtains between Second Region and theThe offset in three intervals. Each interval offset is likely identical, also likely different.

Owing to being provided with multiple intervals, while start, read after the voltage of battery, need to first judge thisThe cell voltage getting is positioned at the interval of which division.

Obtain the voltage compensation value of respective bins, the cell voltage getting is added to this offset isThe virtual voltage of battery. Then inquire about the corresponding table of corresponding voltage-electric weight according to this virtual voltage,Can obtain current initial quantity of electricity.

Embodiment bis-, consistent with the main body of embodiment, difference is the scope of cell voltage not to be carried outInterval division, the direct lower limit at cell voltage is to being an interval range between the upper limit, in this intervalIn scope, carry out the selection of electrical voltage point. To each voltage value read test of starting shooting of selecting, willThe voltage that start gets and the voltage value of corresponding selection carry out difference calculating; Each difference is carried outMean value calculation, this mean value is the offset of cell voltage. The accuracy of this embodiment bis-is not so good asThe accuracy of the technical scheme that embodiment mono-discloses.

On the other hand, the present invention also provides a kind of system of obtaining of battery capacity of mobile terminal, as attachedShown in Fig. 3, comprise setting unit, for the offset of cell voltage is set; Reading unit, forWhen mobile terminal-opening, read the voltage of battery; Computing unit, for calculating the virtual voltage of battery;Query unit, inquires corresponding electric weight according to the virtual voltage obtaining. And division unit, forDivide the scope interval of cell voltage.

The above is not the restriction to invention technical scheme, is not departing from creation design of the present inventionPrerequisite under, any apparent replacement is all within protection scope of the present invention.

Claims (3)

1. an acquisition methods for battery capacity of mobile terminal, comprises the following steps:
The offset of cell voltage is set, and the lower voltage limit by cell voltage when the mobile terminal-opening is put to the scope between battery voltage limit point and is divided at least two intervals, and at least three different voltage values are selected in each interval; To each voltage value read test of starting shooting of selecting, the voltage that start is got and the voltage value of corresponding selection carry out difference calculating; The difference value of averaging belonging in same interval is calculated, and this mean value is the cell voltage offset in this correspondence interval;
In the time of mobile terminal-opening, read the voltage of battery;
The cell voltage getting is added to offset is the virtual voltage of battery;
According to the virtual voltage of the battery obtaining, the corresponding table of inquiry voltage-electric weight, obtains the charge value that this virtual voltage is corresponding, and this charge value is the actual electric weight of current phone.
2. the acquisition methods of battery capacity of mobile terminal according to claim 1, is characterized in that, the voltage of battery is read in start, judges that this voltage is positioned at the interval of which division;
Obtain the voltage compensation value of respective bins, the cell voltage getting is added to this offset is the virtual voltage of battery.
3. an acquisition methods for battery capacity of mobile terminal, comprises the following steps:
The offset of cell voltage is set, the lower voltage limit taking cell voltage when the mobile terminal-opening put between battery voltage limit point as scope interval, select at least three different voltage values in this interval; To each voltage value read test of starting shooting of selecting, the voltage that start is got and the voltage value of corresponding selection carry out difference calculating; Each difference value of averaging is calculated, and this mean value is the offset of cell voltage;
In the time of mobile terminal-opening, read the voltage of battery;
The cell voltage getting is added to offset is the virtual voltage of battery;
According to the virtual voltage of the battery obtaining, the corresponding table of inquiry voltage-electric weight, obtains the charge value that this virtual voltage is corresponding, and this charge value is the actual electric weight of current phone.
CN201310404157.6A 2013-09-06 2013-09-06 A kind of acquisition methods of battery capacity of mobile terminal and system CN103472400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310404157.6A CN103472400B (en) 2013-09-06 2013-09-06 A kind of acquisition methods of battery capacity of mobile terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310404157.6A CN103472400B (en) 2013-09-06 2013-09-06 A kind of acquisition methods of battery capacity of mobile terminal and system

Publications (2)

Publication Number Publication Date
CN103472400A CN103472400A (en) 2013-12-25
CN103472400B true CN103472400B (en) 2016-05-04

Family

ID=49797323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310404157.6A CN103472400B (en) 2013-09-06 2013-09-06 A kind of acquisition methods of battery capacity of mobile terminal and system

Country Status (1)

Country Link
CN (1) CN103472400B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104953193B (en) * 2014-03-24 2018-06-22 神讯电脑(昆山)有限公司 The monitoring method of electronic device and its battery module
CN104166101B (en) * 2014-08-18 2017-09-22 广东欧珀移动通信有限公司 A kind of method and device of Dynamic Announce battery capacity of mobile terminal
CN104375092B (en) * 2014-11-18 2017-05-24 河北省电力建设调整试验所 Method for detecting voltage of dry battery through mobile phone
CN105759211A (en) * 2014-12-19 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Battery residual electricity quantity value display method and system
CN105182247B (en) * 2015-09-17 2020-01-03 惠州Tcl移动通信有限公司 Battery parameter calibration device and method
CN105259508A (en) * 2015-10-14 2016-01-20 惠州Tcl移动通信有限公司 Terminal and method for calculating initial electric energy thereof
CN105866688A (en) * 2015-12-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method of measuring mobile communication terminal equipment cell capacity and system thereof
CN106026220B (en) * 2016-05-05 2019-07-05 Oppo广东移动通信有限公司 It is a kind of charge sampled voltage compensation method and mobile terminal
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device
CN108051752B (en) * 2017-11-29 2020-02-11 艾体威尔电子技术(北京)有限公司 Battery electric quantity acquisition method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101728588A (en) * 2008-10-10 2010-06-09 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and method for determining battery electric quantity thereof
CN102478636A (en) * 2010-11-26 2012-05-30 比亚迪股份有限公司 Electric quantity detection method and device for battery
CN102739845A (en) * 2011-04-11 2012-10-17 国基电子(上海)有限公司 Electronic device capable of detecting battery power and battery power detection method
CN102914744A (en) * 2012-06-29 2013-02-06 惠州Tcl移动通信有限公司 Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI222826B (en) * 2003-10-24 2004-10-21 Benq Corp Battery power compensation device of portable electronic device and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101728588A (en) * 2008-10-10 2010-06-09 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and method for determining battery electric quantity thereof
CN102478636A (en) * 2010-11-26 2012-05-30 比亚迪股份有限公司 Electric quantity detection method and device for battery
CN102739845A (en) * 2011-04-11 2012-10-17 国基电子(上海)有限公司 Electronic device capable of detecting battery power and battery power detection method
CN102914744A (en) * 2012-06-29 2013-02-06 惠州Tcl移动通信有限公司 Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power

Also Published As

Publication number Publication date
CN103472400A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN102760914B (en) Matching method for lithium ion power batteries
CN102156265B (en) Device and method for testing health state of battery
US20140244225A1 (en) Battery state of charge tracking, equivalent circuit selection and benchmarking
EP2990818B1 (en) Secondary battery capacity measurement system and secondary battery capacity measurement method
CN102062841B (en) Estimation method and system of state of charge (SOC) of power battery
CN102231548B (en) Battery charging device with dynamic capacity-display and charge countdown functions and application thereof
US8589098B2 (en) Method for determining battery capacity
TWI426288B (en) Method for estimating battery degradation
WO2017000912A2 (en) Battery state of health detection device and method
US8587262B2 (en) Assembled battery monitoring apparatus, method for detecting wiring disconnection of assembled battery, and assembled battery system
JP5179047B2 (en) Storage device abnormality detection device, storage device abnormality detection method, and abnormality detection program thereof
US10393819B2 (en) Method and apparatus for estimating state of battery
CN105158699B (en) The detection method and device of cell health state
CN102183730B (en) Battery Diagnostic apparatus and method
US7973534B2 (en) Protection device for assembled battery, and battery pack unit
CN100449857C (en) Degradation judgment circuit for secondary battery
CN101764259B (en) Method for group matching of power lithium-ion rechargeable battery
WO2015081868A1 (en) Charging method and electronic device
CN103579696B (en) Battery grouping method
CN101088202B (en) System for controlling voltage balancing in a plurality of litium-ion cell battery packs and method thereof
CN102262216B (en) Electric quantity detection method for chargeable battery and apparatus thereof
EP1671142B1 (en) Device and method for measuring individual cell voltages in a cell stack of an energy accumulator
JP6734784B2 (en) How to estimate battery health
CN102478636B (en) Electric quantity detection method and device for battery
CN102375127B (en) Method for displaying residual battery electricity quantity of mobile terminal

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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder