CN104880673A - Method for measuring battery electric quantity and mobile terminal - Google Patents

Method for measuring battery electric quantity and mobile terminal Download PDF

Info

Publication number
CN104880673A
CN104880673A CN201510236697.7A CN201510236697A CN104880673A CN 104880673 A CN104880673 A CN 104880673A CN 201510236697 A CN201510236697 A CN 201510236697A CN 104880673 A CN104880673 A CN 104880673A
Authority
CN
China
Prior art keywords
open
circuit voltage
internal resistance
battery
mobile terminal
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
Application number
CN201510236697.7A
Other languages
Chinese (zh)
Inventor
李新
倪漫利
王晨
牛乔万
王海瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless Technology Co Ltd
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 Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201510236697.7A priority Critical patent/CN104880673A/en
Publication of CN104880673A publication Critical patent/CN104880673A/en
Pending legal-status Critical Current

Links

Landscapes

  • Secondary Cells (AREA)

Abstract

The invention discloses a method for measuring battery electric quantity and a mobile terminal. The method comprises: collecting initial battery voltage, initial battery internal resistance, and discharge current at present; determining a first open-circuit voltage by utilizing a formula I of OCV=VBAT+I*R according to the initial battery internal resistance, the discharge current, and the battery voltage; obtaining corresponding first battery internal resistance according to the first open-circuit voltage, and determining the second open-circuit voltage by replacing the initial battery internal resistance with the first battery internal resistance according to the formula I; repeating the above step for N times till the first battery internal resistance value is converged, and calculating an open-circuit voltage at present according to the formula I and by replacing the battery internal resistance when the open-circuit voltage is calculated with the battery internal resistance corresponding to the open-circuit voltage obtained from calculation; and obtaining initial battery electric quantity corresponding to the open-circuit voltage according to the current open-circuit voltage, and determining the battery electric quantity of the mobile terminal at present according to the initial battery electric quantity and the discharge current. By adopting the method, an open-circuit voltage error caused by the battery resistance can be effectively corrected.

Description

Battery power measuring method and mobile terminal
Technical field
The present invention relates to battery of mobile terminal field, particularly relate to a kind of battery power measuring method and mobile terminal.
Background technology
At present, mobile phone, notebook computer energy mobile electronic device, all need mobile battery, as the most frequently used lithium ion battery.In the use procedure of these mobile electronic devices, the state of charge of battery is a very important physical quantity, and it can allow user have one objectively to understand to remaining electricity.
The way of the battery electric quantity of a lot of metering mobile electronic device is there is, as conventional voltage Method and Open and coulomb integral method in prior art.
Open-circuit voltage method is generally applicable to the less situation of electric current, and the now load of battery is comparatively light, and concrete grammar is the open-circuit voltage obtaining current mobile terminal, and shows the electricity of current telecommunications by inquiry battery electric quantity-open circuit voltage characteristic curve.But because real-life battery all exists cell load, due to the existence of load, even if when current electric quantity is less, also can cause very large error, be difficult to the actual open-circuit voltage accurately measuring battery, therefore can not obtain the accurate dump energy of battery.
Coulomb integral method is suitable for electric current larger, the situation of heavier loads, specific works principle increases a sampling resistor on battery discharge path, the charging and discharging currents of battery is obtained by sampling resistor, and after getting the initial quantity of electricity of battery, learnt the dump energy of battery by charging and discharging currents and discharge and recharge time and initial quantity of electricity.Because coulomb integral method itself is limited to the precision of coulombmeter and resistance, be difficult to get accurate dump energy.And, coulomb integral method is premised on known initial quantity of electricity, and initial quantity of electricity also measures open-circuit voltage by open-circuit voltage method and obtain after inquiring about battery electric quantity-open circuit voltage characteristic curve table, when the precision of open-circuit voltage method own is not high, cause the coarse vicious cycle of dump energy.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of battery power measuring method and mobile terminal, effectively can revise the open-circuit voltage error that mobile terminal causes due to the internal resistance of cell, improves the precision of display electricity.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of battery power measuring method, comprising:
Mobile terminal gathers the discharge current of current initial cell voltage, initial cells internal resistance and battery;
According to described initial cells internal resistance, described discharge current and described cell voltage, formula one OCV=VBAT+I*R is utilized to determine the first open-circuit voltage; Wherein, I is described discharge current, and R is described initial cells internal resistance, and VBAT is described initial cell voltage, and OCV is described first open-circuit voltage;
According to described first open-circuit voltage inquiry battery information list to obtain first internal resistance of cell corresponding with described first open-circuit voltage, replace described initial cells internal resistance with described first internal resistance of cell, and determine the second open-circuit voltage according to described formula one; Repeat this step N value to described first internal resistance of cell to restrain, replace internal resistance of cell when calculating described open-circuit voltage with the internal resistance of cell that the open-circuit voltage calculated is corresponding in described battery information list, calculate the current open-circuit voltage of described mobile terminal according to described formula one; Wherein, N be not equal to zero natural number; Described battery information list is the corresponding relation mark sheet of the electricity of described battery of mobile terminal, open-circuit voltage, the internal resistance of cell;
The open-circuit voltage current according to described mobile terminal inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines the current battery charge of described mobile terminal according to described initial cells electricity and described discharge current.
Wherein, the described open-circuit voltage current according to described mobile terminal inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines that the step of the current battery charge of described mobile terminal specifically comprises according to described initial cells electricity and described discharge current:
The open-circuit voltage current according to described mobile terminal inquires about described battery information list with after obtaining the initial cells electricity corresponding with described open-circuit voltage, according to formula two determine the current battery charge Q of described mobile terminal t, wherein, Q 0for described initial cells electricity, I (t) is described discharge current, and T is the discharge time of described battery.
Wherein, N=5.
Wherein, described battery information list is the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of described battery of mobile terminal.
Wherein, described mobile terminal gathers current initial cell voltage, the step of discharge current of initial cells internal resistance and battery also comprises:
Gather the battery temperature of current described mobile terminal, wherein in described battery information list, under different battery temperatures, open-circuit voltage and the internal resistance of cell have different corresponding relations.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of mobile terminal, comprises acquisition module, voltage acquisition module and electricity acquisition module,
Described acquisition module is for gathering the discharge current of the current initial cell voltage of described mobile terminal, initial cells internal resistance and battery;
Described voltage acquisition module is used for according to described initial cells internal resistance, described discharge current and described cell voltage, utilizes formula one OCV=VBAT+I*R to determine the first open-circuit voltage; Wherein, I is described discharge current, and R is described initial cells internal resistance, and VBAT is described initial cell voltage, and OCV is described first open-circuit voltage;
Described voltage acquisition module is also for inquiring about battery information list to obtain first internal resistance of cell corresponding with described first open-circuit voltage according to described first open-circuit voltage, replace described initial cells internal resistance with described first internal resistance of cell, and determine the second open-circuit voltage according to described formula one; Repeat this step N value to described first internal resistance of cell to restrain, replace internal resistance of cell when calculating described open-circuit voltage with the internal resistance of cell that the open-circuit voltage calculated is corresponding in described battery information list, calculate the current open-circuit voltage of described mobile terminal according to described formula one; Wherein, N be not equal to zero natural number; Described battery information list is the corresponding relation mark sheet of the electricity of described battery of mobile terminal, open-circuit voltage, the internal resistance of cell;
Described electricity acquisition module is used for the open-circuit voltage current according to described mobile terminal and inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines the current battery charge of described mobile terminal according to described initial cells electricity and described discharge current.
Wherein, described electricity acquisition module inquires about described battery information list with after obtaining the initial cells electricity corresponding with described open-circuit voltage, according to formula two specifically for the open-circuit voltage current according to described mobile terminal determine the current battery charge Q of described mobile terminal t, wherein, Q 0for described initial cells electricity, I (t) is described discharge current, and T is the discharge time of described battery.
Wherein, N=5.
Wherein, described battery information list is the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of described battery of mobile terminal.
Wherein, described acquisition module is also for gathering the battery temperature of current described mobile terminal, and wherein in described battery information list, under different battery temperatures, open-circuit voltage and the internal resistance of cell have different corresponding relations.
The invention has the beneficial effects as follows: the situation being different from prior art, the mode that the present invention adopts open-circuit voltage method and coulomb integral method to combine, after the discharge current collecting initial cell voltage, initial cells resistance and battery, according to the problem of the open-circuit voltage error that formula one OCV=VBAT+I*R is caused due to the internal resistance of cell by the mode correction of iteration, wherein, I is discharge current, R is initial cells internal resistance, VBAT is initial cell voltage, OCV is the first open-circuit voltage, effectively can improve the precision of open-circuit voltage.Obtain accurate initial cells electricity by accurate open-circuit voltage, and obtain current battery electric quantity by coulomb integral method further.Due to, through revising, the error of open-circuit voltage is very little, and so also the corresponding error reducing initial cells electricity corresponding to open-circuit voltage, makes current battery charge revised further, obtain accurate battery electric quantity.
Accompanying drawing explanation
Fig. 1 is the flow process signal of battery power measuring method one embodiment of the present invention;
Fig. 2 is the electrical block diagram of Fig. 1 battery power measuring method one embodiment;
Fig. 3 is the structural representation of mobile terminal one embodiment of the present invention.
Embodiment
Consult Fig. 1, Fig. 1 is the schematic flow sheet of battery power measuring method one embodiment of the present invention.The battery power measuring method of present embodiment comprises:
101: mobile terminal gathers the discharge current of current initial cell voltage, initial cells internal resistance and battery.
Mobile terminal is all generally powered by rechargeable battery, and the number of electricity directly can affect the normal use of battery, and therefore, the accurate display of electricity can provide good suggesting effect for the use of user.
In present embodiment be adopt open-circuit voltage method and coulomb integral method to combine mode to determine the current electric quantity of battery.Obtain the current electric quantity of battery, first will determine the initial voltage of battery.The initial voltage of battery is sent out by open-circuit voltage and is obtained concrete operating circuit schematic diagram as shown in Figure 2.
Mobile terminal gathers the initial cell voltage of battery BAT by ADC-D, the discharge current of battery is gathered by ADC-A, particularly, ADC-A gathers the voltage at resistance R1 two ends, the discharge current flowing through R1 is obtained according to the voltage at R1 two ends and the resistance of R1, generally, the resistance that R1 selects resistance less, to reduce the power consumption of cell load.
After acquisition for mobile terminal to initial cell voltage, by the battery information list of inquiry packet containing the electricity of battery, open-circuit voltage and internal resistance of cell corresponding relation, obtain the initial cells internal resistance corresponding with above-mentioned initial cell voltage.
102: according to described initial cells internal resistance, described discharge current and described cell voltage, utilize formula one OCV=VBAT+I*R to determine the first open-circuit voltage; Wherein, I is described discharge current, and R is described initial cells internal resistance, and VBAT is described initial cell voltage, and OCV is described first open-circuit voltage.
Although the open-circuit voltage of the battery of mobile terminal is cell voltage in theory, in actual production, because starting material exist resistance and error, can there is internal resistance in each battery, and therefore, open-circuit voltage is the summation of cell voltage and internal resistance voltage.
According to above-mentioned principle, in present embodiment, formula one OCV=VBAT+I*R is utilized to determine the first open-circuit voltage of initial time, wherein, I is the discharge current obtaining flowing through R1 according to the voltage at R1 two ends and the resistance of R1, VBAT is the initial cell voltage of battery, and R is the initial cells internal resistance that VBAT is corresponding.
103: according to described first open-circuit voltage inquiry battery information list to obtain first internal resistance of cell corresponding with described first open-circuit voltage, replace described initial cells internal resistance with described first internal resistance of cell, and determine the second open-circuit voltage according to described formula one; Repeat this step N value to described first internal resistance of cell to restrain, replace internal resistance of cell when calculating described open-circuit voltage with the internal resistance of cell that the open-circuit voltage calculated is corresponding in described battery information list, calculate the current open-circuit voltage of described mobile terminal according to described formula one; Wherein, N be not equal to zero natural number; Described battery information list is the corresponding relation mark sheet of the electricity of described battery of mobile terminal, open-circuit voltage, the internal resistance of cell.
Because initial cells internal resistance R obtains according to the initial cell voltage inquiry battery information list of battery, but, battery information list is by artificial measured, inevitably there will be error, and the internal resistance R of battery also can change along with the change of external environment, therefore, after being calculated by an open-circuit voltage, the open-circuit voltage generally obtained is not very accurate, may be bigger than normal or less than normal.
In order to overcome the problems referred to above, present embodiment adopts the thought of iteration, all revises, obtain more accurate open-circuit voltage and the internal resistance of cell to the open-circuit voltage of battery and the internal resistance of cell.
Particularly, again utilize formula one OCV=VBAT+I*R, if the current initial cell voltage collected by circuit is V0, the discharge current calculated is I, the initial cells internal resistance obtained by the list of inquiry battery information is R0, above-mentioned data message substitution formula one is obtained the first open-circuit voltage V1 be:
V1=V0+I*R0;
And then inquire about battery information list to obtain first internal resistance of cell R1 corresponding with the first open-circuit voltage V1 according to the first open-circuit voltage V1, replace described initial cells internal resistance R0 with the first internal resistance of cell R1, and determine the second open-circuit voltage V2 according to described formula one:
V2=V1+I*R1;
And then inquire about battery information list to obtain second internal resistance of cell R2 corresponding with the second open-circuit voltage V2 according to the second open-circuit voltage V2, replace the first internal resistance of cell R1 with the second internal resistance of cell R2, and determine the second open-circuit voltage V3 according to described formula one:
V3=V2+I*R2;
After repeating above-mentioned iterative process N time, wherein N be not equal to zero natural number, find that formula one is convergent function, and determine to restrain at N=5 function through repeatedly repetition test, obtain the 5th open-circuit voltage V5 of approximate exact:
V5=V4+I*R4;
The 5th open-circuit voltage is now the open-circuit voltage of current time.
In above-mentioned iterative process, illustrate for formula one V1=V0+I*R0 after first time iteration, if initial time, the initial cells resistance R0 that the list of inquiry battery information obtains is less than normal relative to actual battery resistance, so, after first time calculates, the first open-circuit voltage V1 obtained can be less than the open-circuit voltage of reality.Then obtaining the first corresponding internal resistance of cell with the list of V1 open-circuit voltage inquiry battery information can than bigger than normal, iteration enters formula one V2=V1+I*R1, although V1 is less than normal, but the product of I*R1 can be bigger than normal, effectively can revise the error that V2 brings due to V1, after the correction of limited number of time, the coarse problem of the open-circuit voltage brought because internal resistance is inaccurate can be overcome completely.
If initial time, the initial cells resistance R0 that the list of inquiry battery information obtains is bigger than normal relative to actual battery resistance, and so, after first time calculates, the first open-circuit voltage V1 obtained can be larger than the open-circuit voltage of reality.Then obtaining the first corresponding internal resistance of cell with the list of V1 open-circuit voltage inquiry battery information can than less than normal, iteration enters formula one V2=V1+I*R1, although V1 is bigger than normal, but the product of I*R1 can be less than normal, effectively can revise the error that V2 brings due to V1, after the correction of limited number of time, also the coarse problem of the open-circuit voltage brought because internal resistance is inaccurate can be overcome completely.
Show through great many of experiments, after the iteration of limited number of time, the open-circuit voltage that an error is very little can be obtained.
Due to the key factor that temperature is also the internal resistance of cell affecting mobile terminal, at different temperature, the internal resistance of cell has larger difference, therefore, in order to overcome the error of the resistance brought due to temperature, in another embodiment, also temperature is considered in this amendment scheme, in present embodiment, battery information list is the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of the battery of statement open-circuit voltage, temperature, the internal resistance of cell and electricity corresponding relation.Wherein, the corresponding different internal resistance of cell of different battery temperatures and open-circuit voltage corresponding relation, as under different battery temperatures, the internal resistance of cell that identical open-circuit voltage is corresponding different.There is provided subzero 10 degrees Celsius in present embodiment, 0 degree Celsius, the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of 25 degrees Celsius and 50 degrees Celsius corresponding batteries, it is corresponding that the temperature in the middle of other adopt the mode of linear fits.Consult Fig. 2 further, resistance R2 is thermistor NTC, for detecting the temperature of battery of mobile terminal in real time.
104: the open-circuit voltage current according to described mobile terminal inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines the current battery charge of described mobile terminal according to described initial cells electricity and described discharge current.
Obtained the accurate open-circuit voltage of battery of mobile terminal by the open-circuit voltage method of iteration after, the list of inquiry battery information, to obtain the initial cells electricity corresponding with described open-circuit voltage, then obtains the current battery electric quantity of mobile terminal according to coulomb integral method.
Particularly, mobile terminal according to the current open-circuit voltage inquiry battery information list of mobile terminal with after obtaining the initial cells electricity corresponding with open-circuit voltage, according to formula two determine the current battery charge Q of described mobile terminal t, wherein, Q 0for described initial cells electricity, I (t) is described discharge current, and T is the discharge time of described battery.
Owing to improve the precision of open-circuit voltage, corresponding, improve the precision of initial cells electricity, further increase the precision of the current battery electric quantity of mobile terminal.
Be different from prior art, the mode that present embodiment adopts open-circuit voltage method and coulomb integral method to combine, after the discharge current collecting initial cell voltage, initial cells resistance and battery, according to the problem of the open-circuit voltage error that formula one OCV=VBAT+I*R is caused due to the internal resistance of cell by the mode correction of iteration, wherein, I is discharge current, R is initial cells internal resistance, VBAT is initial cell voltage, and OCV is the first open-circuit voltage, effectively can improve the precision of open-circuit voltage.After obtaining accurate open-circuit voltage, obtain accurate initial cells electricity by accurate open-circuit voltage, and obtain current battery electric quantity by coulomb integral method further.Due to, through revising, the error of open-circuit voltage is very little, and so also the corresponding error reducing initial cells electricity corresponding to open-circuit voltage, makes current battery charge revised further, obtain accurate battery electric quantity.
Consult Fig. 3, Fig. 3 is the structural representation of mobile terminal one embodiment of the present invention.The mobile terminal of present embodiment comprises acquisition module 301, voltage acquisition module 302 and electricity acquisition module 303.
Acquisition module 301 is for gathering the discharge current of the current initial cell voltage of described mobile terminal, initial cells internal resistance and battery.
Mobile terminal is all generally powered by rechargeable battery, and the number of electricity directly can affect the normal use of battery, and therefore, the accurate display of electricity can provide good suggesting effect for the use of user.
In present embodiment be adopt open-circuit voltage method and coulomb integral method to combine mode to determine the current electric quantity of battery.Obtain the current electric quantity of battery, first will determine the initial voltage of battery.
First, acquisition module 301 gathers the initial cell voltage of battery by the first analog to digital converter, the discharge current of battery is gathered by the second analog to digital converter, particularly, the voltage at shunt resistance two ends adopted by second analog to digital converter, obtains the discharge current flowing through shunt resistance, generally according to the voltage at shunt resistance two ends and resistance, the resistance that shunt resistance selects resistance less, to reduce the power consumption of cell load.
After acquisition module 301 gets initial cell voltage, by the battery information list of inquiry packet containing the electricity of battery, open-circuit voltage and internal resistance of cell corresponding relation, obtain the initial cells internal resistance corresponding with above-mentioned initial cell voltage.
Voltage acquisition module 302, for according to described initial cells internal resistance, described discharge current and described cell voltage, utilizes formula one OCV=VBAT+I*R to determine the first open-circuit voltage; Wherein, I is described discharge current, and R is described initial cells internal resistance, and VBAT is described initial cell voltage, and OCV is described first open-circuit voltage.
Although the open-circuit voltage of the battery of mobile terminal is cell voltage in theory, in actual production, because starting material exist resistance and error, can there is internal resistance in each battery, and therefore, open-circuit voltage is the summation of cell voltage and internal resistance voltage.
According to above-mentioned principle, in present embodiment, voltage acquisition module 302 utilizes formula one OCV=VBAT+I*R to determine the first open-circuit voltage of initial time, wherein, I is the discharge current obtaining flowing through R1 according to the voltage at R1 two ends and the resistance of R1, VBAT is the initial cell voltage of battery, and R is the initial cells internal resistance that VBAT is corresponding.
Voltage acquisition module 302 is also for inquiring about battery information list to obtain first internal resistance of cell corresponding with described first open-circuit voltage according to described first open-circuit voltage, replace described initial cells internal resistance with described first internal resistance of cell, and determine the second open-circuit voltage according to described formula one; Repeat this step N value to described first internal resistance of cell to restrain, replace internal resistance of cell when calculating described open-circuit voltage with the internal resistance of cell that the open-circuit voltage calculated is corresponding in described battery information list, calculate the current open-circuit voltage of described mobile terminal according to described formula one; Wherein, N be not equal to zero natural number; Described battery information list is the corresponding relation mark sheet of the electricity of described battery of mobile terminal, open-circuit voltage, the internal resistance of cell.
Because initial cells internal resistance R obtains according to the initial cell voltage inquiry battery information list of battery, but, battery information list is by artificial measured, inevitably there will be error, and the internal resistance R of battery also can change along with the change of external environment, therefore, after being calculated by an open-circuit voltage, the open-circuit voltage generally obtained is not very accurate, may be bigger than normal or less than normal.
In order to overcome the problems referred to above, present embodiment adopts the thought of iteration, all revises, obtain more accurate open-circuit voltage and the internal resistance of cell to the open-circuit voltage of battery and the internal resistance of cell.
Particularly, voltage acquisition module 302 utilizes formula one OCV=VBAT+I*R again, if the current initial cell voltage collected by circuit is V0, the discharge current calculated is I, the initial cells internal resistance obtained by the list of inquiry battery information is R0, above-mentioned data message substitution formula one is obtained the first open-circuit voltage V1 be:
V1=V0+I*R0;
Then voltage acquisition module 302 inquires about battery information list to obtain first internal resistance of cell R1 corresponding with the first open-circuit voltage V1 according to the first open-circuit voltage V1 again, replace described initial cells internal resistance R0 with the first internal resistance of cell R1, and determine the second open-circuit voltage V2 according to described formula one:
V2=V1+I*R1;
Then voltage acquisition module 302 inquires about battery information list to obtain second internal resistance of cell R2 corresponding with the second open-circuit voltage V2 according to the second open-circuit voltage V2 again, replace the first internal resistance of cell R1 with the second internal resistance of cell R2, and determine the second open-circuit voltage V3 according to described formula one:
V3=V2+I*R2;
After voltage acquisition module 302 repeats above-mentioned iterative process N time, wherein N be not equal to zero natural number, to the open-circuit voltage convergence that formula one obtains, determine to restrain at N=5 function through repeatedly repetition test, obtain the 5th open-circuit voltage V5 of approximate exact:
V5=V4+I*R4;
The 5th open-circuit voltage is now the open-circuit voltage of current time.
In above-mentioned iterative process, illustrate for formula one V1=V0+I*R0 after first time iteration.On the one hand, if initial time, it is less than normal relative to actual battery resistance that voltage acquisition module 302 inquires about the initial cells resistance R0 that battery information list obtains, so, after first time calculates, the first open-circuit voltage V1 obtained can be less than the open-circuit voltage of reality.Then obtaining the first corresponding internal resistance of cell with the list of V1 open-circuit voltage inquiry battery information can than bigger than normal, iteration enters formula one V2=V1+I*R1, although V1 is less than normal, but the product of I*R1 can be bigger than normal, effectively can revise the error that V2 brings due to V1, after the correction of limited number of time, the coarse problem of the open-circuit voltage brought because internal resistance is inaccurate can be overcome completely.
On the other hand, if initial time, it is bigger than normal relative to actual battery resistance that voltage acquisition module 302 inquires about the initial cells resistance R0 that battery information list obtains, so, after first time calculates, the first open-circuit voltage V1 obtained can be larger than the open-circuit voltage of reality.Then obtaining the first corresponding internal resistance of cell with the list of V1 open-circuit voltage inquiry battery information can than less than normal, iteration enters formula one V2=V1+I*R1, although V1 is bigger than normal, but the product of I*R1 can be less than normal, effectively can revise the error that V2 brings due to V1, after the correction of limited number of time, also the coarse problem of the open-circuit voltage brought because internal resistance is inaccurate can be overcome completely.
Show through great many of experiments, after the iteration of limited number of time, the open-circuit voltage that an error is very little can be obtained.
Due to the key factor that temperature is also the internal resistance of cell affecting mobile terminal, at different temperature, the internal resistance of cell has larger difference, therefore, in order to overcome the error of the resistance brought due to temperature, in another embodiment, also temperature is considered in this amendment scheme, in present embodiment, battery information list is the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of the battery of statement open-circuit voltage, temperature, the internal resistance of cell and electricity corresponding relation.Wherein, the corresponding different internal resistance of cell of different battery temperatures and open-circuit voltage corresponding relation, as under different battery temperatures, the internal resistance of cell that identical open-circuit voltage is corresponding different.There is provided subzero 10 degrees Celsius in present embodiment, 0 degree Celsius, the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of 25 degrees Celsius and 50 degrees Celsius corresponding batteries, it is corresponding that the temperature in the middle of other adopt the mode of linear fits.
Electricity acquisition module 303 inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage for the open-circuit voltage current according to described mobile terminal, and determines the current battery charge of described mobile terminal according to described initial cells electricity and described discharge current.
After voltage acquisition module 302 obtains the accurate open-circuit voltage of battery of mobile terminal by the open-circuit voltage method of iteration, electricity acquisition module 303 inquires about battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, then obtains the current battery electric quantity of mobile terminal according to coulomb integral method.
Particularly, voltage acquisition module 302 is according to the current open-circuit voltage inquiry battery information list of mobile terminal with after obtaining the initial cells electricity corresponding with open-circuit voltage, and electricity acquisition module 303 is according to formula two determine the current battery charge Q of described mobile terminal t, wherein, Q 0for described initial cells electricity, I (t) is described discharge current, and T is the discharge time of described battery.
Owing to improve the precision of open-circuit voltage, corresponding, improve the precision of initial cells electricity, further increase the precision of the current battery electric quantity of mobile terminal.
Be different from prior art, the mode that present embodiment adopts open-circuit voltage method and coulomb integral method to combine, acquisition module is after the discharge current collecting initial cell voltage, initial cells resistance and battery, the problem of the open-circuit voltage error that voltage acquisition module is caused due to the internal resistance of cell by the mode correction of iteration according to formula one OCV=VBAT+I*R, wherein, I is discharge current, R is initial cells internal resistance, VBAT is initial cell voltage, OCV is the first open-circuit voltage, effectively can improve the precision of open-circuit voltage.After obtaining accurate open-circuit voltage, electricity acquisition module obtains accurate initial cells electricity by accurate open-circuit voltage, and obtains current battery electric quantity by coulomb integral method further.Due to, through revising, the error of open-circuit voltage is very little, and so also the corresponding error reducing initial cells electricity corresponding to open-circuit voltage, makes current battery charge revised further, obtain accurate battery electric quantity.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a battery power measuring method, is characterized in that, comprising:
Mobile terminal gathers the discharge current of current initial cell voltage, initial cells internal resistance and battery;
According to described initial cells internal resistance, described discharge current and described cell voltage, formula one OCV=VBAT+I*R is utilized to determine the first open-circuit voltage; Wherein, I is described discharge current, and R is described initial cells internal resistance, and VBAT is described initial cell voltage, and OCV is described first open-circuit voltage;
According to described first open-circuit voltage inquiry battery information list to obtain first internal resistance of cell corresponding with described first open-circuit voltage, replace described initial cells internal resistance with described first internal resistance of cell, and determine the second open-circuit voltage according to described formula one; Repeat this step N value to described first internal resistance of cell to restrain, replace internal resistance of cell when calculating described open-circuit voltage with the internal resistance of cell that the open-circuit voltage calculated is corresponding in described battery information list, calculate the current open-circuit voltage of described mobile terminal according to described formula one; Wherein, N be not equal to zero natural number; Described battery information list is the corresponding relation mark sheet of the electricity of described battery of mobile terminal, open-circuit voltage, the internal resistance of cell;
The open-circuit voltage current according to described mobile terminal inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines the current battery charge of described mobile terminal according to described initial cells electricity and described discharge current.
2. method according to claim 1, it is characterized in that, the described open-circuit voltage current according to described mobile terminal inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines that the step of the current battery charge of described mobile terminal specifically comprises according to described initial cells electricity and described discharge current:
The open-circuit voltage current according to described mobile terminal inquires about described battery information list with after obtaining the initial cells electricity corresponding with described open-circuit voltage, according to formula two determine the current battery charge Q of described mobile terminal t, wherein, Q 0for described initial cells electricity, I (t) is described discharge current, and T is the discharge time of described battery.
3. method according to claim 1, is characterized in that, N=5.
4. method according to claim 1, is characterized in that, described battery information list is the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of described battery of mobile terminal.
5. the method according to claim 1 or 4, is characterized in that, described mobile terminal gathers current initial cell voltage, the step of discharge current of initial cells internal resistance and battery also comprises:
Gather the battery temperature of current described mobile terminal, wherein in described battery information list, under different battery temperatures, open-circuit voltage and the internal resistance of cell have different corresponding relations.
6. a mobile terminal, is characterized in that, described mobile terminal comprises acquisition module, voltage acquisition module and electricity acquisition module,
Described acquisition module is for gathering the discharge current of the current initial cell voltage of described mobile terminal, initial cells internal resistance and battery;
Described voltage acquisition module is used for according to described initial cells internal resistance, described discharge current and described cell voltage, utilizes formula one OCV=VBAT+I*R to determine the first open-circuit voltage; Wherein, I is described discharge current, and R is described initial cells internal resistance, and VBAT is described initial cell voltage, and OCV is described first open-circuit voltage;
Described voltage acquisition module is also for inquiring about battery information list to obtain first internal resistance of cell corresponding with described first open-circuit voltage according to described first open-circuit voltage, replace described initial cells internal resistance with described first internal resistance of cell, and determine the second open-circuit voltage according to described formula one; Repeat this step N value to described first internal resistance of cell to restrain, replace internal resistance of cell when calculating described open-circuit voltage with the internal resistance of cell that the open-circuit voltage calculated is corresponding in described battery information list, calculate the current open-circuit voltage of described mobile terminal according to described formula one; Wherein, N be not equal to zero natural number; Described battery information list is the corresponding relation mark sheet of the electricity of described battery of mobile terminal, open-circuit voltage, the internal resistance of cell;
Described electricity acquisition module is used for the open-circuit voltage current according to described mobile terminal and inquires about described battery information list to obtain the initial cells electricity corresponding with described open-circuit voltage, and determines the current battery charge of described mobile terminal according to described initial cells electricity and described discharge current.
7. mobile terminal according to claim 6, it is characterized in that, described electricity acquisition module inquires about described battery information list with after obtaining the initial cells electricity corresponding with described open-circuit voltage, according to formula two specifically for the open-circuit voltage current according to described mobile terminal determine the current battery charge Q of described mobile terminal t, wherein, Q 0for described initial cells electricity, I (t) is described discharge current, and T is the discharge time of described battery.
8. mobile terminal according to claim 6, is characterized in that, N=5.
9. mobile terminal according to claim 6, is characterized in that, described battery information list is the electricity-open-circuit voltage-temperature-internal resistance of cell mark sheet of described battery of mobile terminal.
10. the mobile terminal according to claim 6 or 9, it is characterized in that, described acquisition module also for gathering the battery temperature of current described mobile terminal, wherein in described battery information list, under different battery temperatures, open-circuit voltage and the internal resistance of cell have different corresponding relations.
CN201510236697.7A 2015-05-11 2015-05-11 Method for measuring battery electric quantity and mobile terminal Pending CN104880673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510236697.7A CN104880673A (en) 2015-05-11 2015-05-11 Method for measuring battery electric quantity and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510236697.7A CN104880673A (en) 2015-05-11 2015-05-11 Method for measuring battery electric quantity and mobile terminal

Publications (1)

Publication Number Publication Date
CN104880673A true CN104880673A (en) 2015-09-02

Family

ID=53948239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510236697.7A Pending CN104880673A (en) 2015-05-11 2015-05-11 Method for measuring battery electric quantity and mobile terminal

Country Status (1)

Country Link
CN (1) CN104880673A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259508A (en) * 2015-10-14 2016-01-20 惠州Tcl移动通信有限公司 Terminal and method for calculating initial electric energy thereof
CN105372602A (en) * 2015-12-10 2016-03-02 惠州Tcl移动通信有限公司 Battery remaining capacity detecting method of mobile terminal and device thereof
CN105589042A (en) * 2015-12-10 2016-05-18 希姆通信息技术(上海)有限公司 Calculation method for calculating residual electricity quantity of battery
WO2016177239A1 (en) * 2015-10-13 2016-11-10 中兴通讯股份有限公司 Electric quantity display method and device
CN106501722A (en) * 2016-09-02 2017-03-15 安徽锐普电子有限公司 A kind of battery voltage detection circuit and detecting voltage method
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device
CN106816654A (en) * 2015-11-30 2017-06-09 南京德朔实业有限公司 System and battery bag guard method for protecting battery bag
CN107091990A (en) * 2016-08-31 2017-08-25 浙江右边数字科技有限公司 A kind of battery residual capacity measurement and evaluation method
CN107436418A (en) * 2017-06-15 2017-12-05 捷开通讯(深圳)有限公司 Method, terminal and the device of calibration battery electricity decay
CN108845272A (en) * 2018-08-28 2018-11-20 浙江吉利汽车研究院有限公司 A kind of monitoring of vehicle-loaded battery electricity quantity and alarm set and method
CN105548905B (en) * 2016-01-12 2019-04-30 浙江德景电子科技有限公司 A kind of test method and system of battery capacity
CN110850305A (en) * 2019-12-02 2020-02-28 劢微机器人科技(深圳)有限公司 Method and device for calculating electric quantity of lead-acid battery and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101153894A (en) * 2006-09-26 2008-04-02 鸿富锦精密工业(深圳)有限公司 Electricity quantity detecting method, electricity quantity detecting system and electronic equipment using the same method
CN101236236A (en) * 2007-01-31 2008-08-06 富士通株式会社 Battery remaining capacity predicting apparatus
US20090033292A1 (en) * 2007-07-30 2009-02-05 Mitsumi Electric Co., Ltd. Battery status detecting method and battery status detecting apparatus
CN201229395Y (en) * 2008-06-25 2009-04-29 河北工业大学 Lithium ion battery set residual electric energy computation device
CN103168247A (en) * 2011-09-15 2013-06-19 联发科技股份有限公司 Systems and methods for determining a remaining battery capacity of a battery device
CN103308865A (en) * 2013-07-09 2013-09-18 福州瑞芯微电子有限公司 Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve
CN103576091A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Cell open-circuit voltage compensation system and cell open-circuit voltage compensation method
CN103675683A (en) * 2012-09-02 2014-03-26 东莞市振华新能源科技有限公司 Lithium battery state of charge (SOC) estimation method
CN103018680B (en) * 2012-12-11 2014-07-16 矽力杰半导体技术(杭州)有限公司 Metering method and metering device of battery level and battery supply set
CN104020419A (en) * 2013-02-28 2014-09-03 东莞赛微微电子有限公司 Battery electric quantity metering system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101153894A (en) * 2006-09-26 2008-04-02 鸿富锦精密工业(深圳)有限公司 Electricity quantity detecting method, electricity quantity detecting system and electronic equipment using the same method
CN101236236A (en) * 2007-01-31 2008-08-06 富士通株式会社 Battery remaining capacity predicting apparatus
US20090033292A1 (en) * 2007-07-30 2009-02-05 Mitsumi Electric Co., Ltd. Battery status detecting method and battery status detecting apparatus
CN201229395Y (en) * 2008-06-25 2009-04-29 河北工业大学 Lithium ion battery set residual electric energy computation device
CN103168247A (en) * 2011-09-15 2013-06-19 联发科技股份有限公司 Systems and methods for determining a remaining battery capacity of a battery device
CN103576091A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Cell open-circuit voltage compensation system and cell open-circuit voltage compensation method
CN103675683A (en) * 2012-09-02 2014-03-26 东莞市振华新能源科技有限公司 Lithium battery state of charge (SOC) estimation method
CN103018680B (en) * 2012-12-11 2014-07-16 矽力杰半导体技术(杭州)有限公司 Metering method and metering device of battery level and battery supply set
CN104020419A (en) * 2013-02-28 2014-09-03 东莞赛微微电子有限公司 Battery electric quantity metering system
CN103308865A (en) * 2013-07-09 2013-09-18 福州瑞芯微电子有限公司 Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177239A1 (en) * 2015-10-13 2016-11-10 中兴通讯股份有限公司 Electric quantity display method and device
CN106569132A (en) * 2015-10-13 2017-04-19 中兴通讯股份有限公司 Power display method and apparatus
CN105259508A (en) * 2015-10-14 2016-01-20 惠州Tcl移动通信有限公司 Terminal and method for calculating initial electric energy thereof
CN106816654B (en) * 2015-11-30 2020-09-01 南京德朔实业有限公司 System for protecting battery pack and battery pack protection method
CN106816654A (en) * 2015-11-30 2017-06-09 南京德朔实业有限公司 System and battery bag guard method for protecting battery bag
CN105589042B (en) * 2015-12-10 2018-06-22 希姆通信息技术(上海)有限公司 The computational methods of the remaining capacity of battery
CN105372602A (en) * 2015-12-10 2016-03-02 惠州Tcl移动通信有限公司 Battery remaining capacity detecting method of mobile terminal and device thereof
CN105589042A (en) * 2015-12-10 2016-05-18 希姆通信息技术(上海)有限公司 Calculation method for calculating residual electricity quantity of battery
CN105548905B (en) * 2016-01-12 2019-04-30 浙江德景电子科技有限公司 A kind of test method and system of battery capacity
CN107091990A (en) * 2016-08-31 2017-08-25 浙江右边数字科技有限公司 A kind of battery residual capacity measurement and evaluation method
CN107091990B (en) * 2016-08-31 2019-07-16 浙江右边数字科技有限公司 A kind of battery residual capacity measurement and evaluation method
CN106501722A (en) * 2016-09-02 2017-03-15 安徽锐普电子有限公司 A kind of battery voltage detection circuit and detecting voltage method
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device
CN107436418A (en) * 2017-06-15 2017-12-05 捷开通讯(深圳)有限公司 Method, terminal and the device of calibration battery electricity decay
CN108845272A (en) * 2018-08-28 2018-11-20 浙江吉利汽车研究院有限公司 A kind of monitoring of vehicle-loaded battery electricity quantity and alarm set and method
CN108845272B (en) * 2018-08-28 2021-04-13 浙江吉利汽车研究院有限公司 Vehicle-mounted battery electric quantity monitoring and reminding device and method
CN110850305A (en) * 2019-12-02 2020-02-28 劢微机器人科技(深圳)有限公司 Method and device for calculating electric quantity of lead-acid battery and computer-readable storage medium
CN110850305B (en) * 2019-12-02 2022-06-03 劢微机器人科技(深圳)有限公司 Method and device for calculating electric quantity of lead-acid battery and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN104880673A (en) Method for measuring battery electric quantity and mobile terminal
US20210328449A1 (en) Battery charging method and apparatus
CN107690585B (en) Method and apparatus for determining the state of health and state of charge of a lithium sulfur battery
CN103250066B (en) The system and method for sensing battery capacity
CN105277898B (en) A kind of detection method of battery charge state
KR101248623B1 (en) Accumulator device, and soc evaluation device and method thereof
JP6214013B2 (en) Battery coulometric system and battery coulometric method
WO2018196121A1 (en) Method and device for use in determining internal short circuit of battery
CN102590609B (en) The method of mobile terminal and measurement mobile terminal power consumption
CN102074757A (en) Method for estimating charge states of lithium ion battery
CN103163480A (en) Method for estimating health state of lithium battery
CN102854471A (en) Method and device for metering electric quantity of battery
CN103383435A (en) System and method for on-line dynamic measurement of electric quantity of lithium ion batteries
CN105974317A (en) Remaining battery life prediction device and battery pack
Jantharamin et al. A new dynamic model for lead-acid batteries
KR101664246B1 (en) Correction method for voltage sensor of battery rack
Feng et al. A graphical model for evaluating the status of series‐connected lithium‐ion battery pack
CN104111429B (en) Method for metering residual electric quantity of lithium battery based on voltage tracking
TW201317599A (en) Voltage calibration method
CN111398827A (en) Ambient temperature prediction method, battery temperature prediction method and electric quantity calculation method
KR20120063681A (en) Method for remaing capacity prediction of battery
WO2016035337A1 (en) Information processing device, information processing method, and recording medium
CN106291366A (en) A kind of lithium ion battery equivalent cycle Life Calculating Methods
CN107994652B (en) Circuit for monitoring charging and discharging of battery and electric quantity metering system based on circuit
CN104698253A (en) Determination method of lithium battery open circuit voltage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination