CN105548887A - Battery power value calibration method and device thereof - Google Patents
Battery power value calibration method and device thereof Download PDFInfo
- Publication number
- CN105548887A CN105548887A CN201510643713.4A CN201510643713A CN105548887A CN 105548887 A CN105548887 A CN 105548887A CN 201510643713 A CN201510643713 A CN 201510643713A CN 105548887 A CN105548887 A CN 105548887A
- Authority
- CN
- China
- Prior art keywords
- value
- battery
- charge value
- current display
- electricity
- 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.)
- Granted
Links
Landscapes
- Secondary Cells (AREA)
- Tests Of Electric Status Of Batteries (AREA)
Abstract
The embodiment of the invention discloses a battery power value calibration method and a device thereof. The method comprises the following steps that a preexisting resistance value corresponding to a battery is acquired, battery state information and the current display power value of the battery are detected, and the battery state information includes completion of charging or discharging of the battery; the battery state information is matched with the current display power value; when the battery state information is not consistently matched with the current display power value, a current resistance value is calculated; and the preexisting resistance value is updated by the current resistance value so as to calibrate the power value of the battery. With application of the battery power value calibration method and the device thereof, the more accurate resistance value can be obtained so that accuracy of detection of the battery power value can be enhanced.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of battery electric quantity value calibration method and device thereof.
Background technology
Along with the development of electronic technology and network technology, the terminals such as mobile phone, flat board, notebook become necessity indispensable in people's life already.Most of terminal uses nickel-cadmium battery, Ni-MH battery or lithium ion battery etc. to power, and shows charge value on a terminal screen, for representing the behaviour in service of battery, so that user flexibility management available power.
In existing terminal, great majority adopt voltameter to calculate charge value, calculate flow through the electric current of resistance particular by the pressure drop gathering resistance, can calculate the charge value of charge value that battery is filled with or outflow to current integration.But, in charge value computation process, resistance all uses unified hardware configuration parameter, due to the resistance raw material of different vendor, different hardware batch, all there are differences of the technique such as paster and assembling, therefore there is very big error in resistance value, if adopt unified hardware configuration parameter to calculate charge value, battery is full of, charge value shows the situation that can continue to use but power-off shutdown suddenly to cause battery underfill but to point out, bring inconvenience to user, reduce the accuracy that battery electric quantity value is detected.
Summary of the invention
The embodiment of the present invention provides a kind of battery electric quantity value calibration method and device thereof, can obtain resistance value more accurately, and then can improve the accuracy detected battery electric quantity value.
Embodiment of the present invention first aspect provides a kind of battery electric quantity value calibration method, comprising:
Obtain the resistance value that prestores that battery is corresponding, and detect the battery status information of described battery and current display charge value, whether whether described battery status information comprises battery charging terminates or discharges to terminate;
Described battery status information and described current display charge value are mated;
When described battery status information and described current display charge value mate inconsistent, calculate current resistive value;
Adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
Embodiment of the present invention second aspect provides a kind of battery electric quantity value calibration device, comprising:
First acquiring unit, for obtaining the resistance value that prestores corresponding to battery;
Detecting unit, for detecting the battery status information of described battery and current display charge value, whether whether described battery status information comprises battery charging terminates or discharges to terminate;
Matching unit, for mating described battery status information and described current display charge value;
Computing unit, for when described battery status information and described current display charge value mate inconsistent, calculates current resistive value;
Updating block, for adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, again battery status information and current display charge value are mated, when battery status information and current display charge value mate inconsistent, calculate current resistive value, adopt current resistive value to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.By the calculating of the current resistive value to battery, cell resistance value accurately can be obtained, and then decrease the error of the charge value adopting unified resistance parameter to bring, improve the accuracy that battery electric quantity value is detected.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of battery electric quantity value calibration method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of battery electric quantity value calibration method that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of another battery electric quantity value calibration method that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of battery electric quantity value calibration device that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of battery electric quantity value calibration device that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another battery electric quantity value calibration device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The charge value calibration steps of the mobile phone configuration battery that the battery electric quantity value calibration method of the terminal that the embodiment of the present invention provides and device thereof can be applied to, such as: obtain the resistance value that prestores that battery of mobile phone is corresponding, and the battery status information of detection of handset battery and current display charge value, whether whether battery status information here comprises battery charging terminates or discharges to terminate, battery status information and current display charge value are mated, when battery status information and current display charge value mate inconsistent, calculate current resistive value, current resistive value is adopted to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.By the calculating of the current resistive value to battery of mobile phone, cell resistance value accurately can be obtained, and then decrease the error of the charge value adopting unified resistance parameter to bring, improve the accuracy that battery electric quantity value is detected.
The terminal that the embodiment of the present invention relates to can be any equipment possessing communication and memory function, such as: panel computer, mobile phone, electronic reader, telepilot, personal computer (PersonalComputer, PC), notebook computer, mobile unit, Web TV, wearable device etc. have the smart machine of network function.Described battery electric quantity value calibration device can be the cell resistance computing equipment be connected with described terminal, also can be the battery electric quantity value calibration module be embedded in described terminal.
Below in conjunction with accompanying drawing 1-accompanying drawing 3, the battery electric quantity value calibration method that the embodiment of the present invention provides is described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of battery electric quantity value calibration method.As shown in Figure 1, the described method of the embodiment of the present invention can comprise the following steps S101-step S104.
S101, obtains the resistance value that prestores that battery is corresponding, and detects the battery status information of described battery and current display charge value.
Concrete, battery electric quantity value calibration device obtains the resistance value that prestores corresponding to battery, and detects the battery status information of described battery and current display charge value.Wherein, whether whether described battery status information comprises battery charging terminates or discharge to terminate, and whether battery charging terminates to represent whether battery is full of electricity, battery discharge whether at the end of represent battery whether in addition electricity.The described resistance value that prestores is the last resistance value calculated cell resistance, is appreciated that to be, when this be first time cell resistance is calculated time, described in the resistance value that prestores be the unified configuration parameter value of battery.Whether whether described battery electric quantity value calibration device detects battery is be in charge/discharge state or charge to terminate/discharge to terminate, and the current display charge value of the current available power of battery, in order to calculate the current resistive value of battery according to battery status information and current display charge value.
S102, mates described battery status information and described current display charge value.
Concrete, described battery status information and described current display charge value mate by described battery electric quantity value calibration device.At the end of described battery status information is battery charging whether, described battery electric quantity value calibration device judges that whether battery is synchronous with current display charge value with or without being full of electricity, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.When described battery status information be battery discharge whether at the end of, described battery electric quantity value calibration device judges that whether battery is synchronous with current display charge value with or without available power, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.
S103, when described battery status information and described current display charge value mate inconsistent, calculates current resistive value.
Concrete, when described battery status information and described current display charge value mate inconsistent, described battery electric quantity value calibration device calculates current resistive value.Described battery status information and described current display charge value coupling is inconsistent refers to that the actual available power had of battery is inconsistent with measuring the current display charge value obtained, such as: battery underfill but points out that battery is full of, charge value display can continue to use but the inconsistent situation such as power-off shutdown suddenly.When described battery status information and described current display charge value mate inconsistent, described battery electric quantity value calibration device needs to calculate the current resistive value of battery.
It should be noted that, by Ampère law I=U/R, and electricity computing formula
can electricity be derived:
for charging process, whether battery is full of electricity can be determined according to the ceiling voltage of battery setting, when in charging process, during ceiling voltage set by the voltage of battery arrives, illustrates that battery is full of electricity.If battery status information feedback battery is full of electricity, but when current display charge value is less than full lattice electricity, namely illustrate that Q is less than normal, then the R of current display charge value is bigger than normal; If battery status information feedback battery underfill electricity, but when current display charge value equals full lattice electricity, namely illustrate that Q is bigger than normal, then the R of current display charge value is less than normal.For discharge process, when the voltage of battery drops to minimum voltage, illustrate that battery does not have electricity.If battery status information feedback battery does not have electricity, but when current display charge value is greater than electricity, namely illustrate that Q is bigger than normal, then the R of current display charge value is less than normal; If battery status information feedback battery still has electricity, but when current display charge value equals space electricity, namely illustrate that Q is less than normal, then the R calculating current display charge value is bigger than normal.Therefore, described battery electric quantity value calibration device needs to calculate the current resistive value of battery.
S104, adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
Concrete, described battery electric quantity value calibration device adopt described current resistive value upgrade described in prestore resistance value, charge value is accurately obtained to make to be calculated by the resistance value that prestores accurately, terminal user can have been allowed the so accurate available power of electrolytic cell, so that terminal user's flexible management available power, such as, open battery saving mode, exit the few application program etc. of frequency of utilization, enhance user's stickiness.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, again battery status information and current display charge value are mated, when battery status information and current display charge value mate inconsistent, calculate current resistive value, adopt current resistive value to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.By the calculating of the current resistive value to battery, cell resistance value accurately can be obtained, and then decrease the error of the charge value adopting unified resistance parameter to bring, improve the accuracy that battery electric quantity value is detected.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of another kind of battery electric quantity value calibration method.As shown in Figure 2, the described method of the embodiment of the present invention is battery electric quantity value calibration method flow when being in charged state for battery, can comprise the following steps S201-step S208.
S201, obtains the resistance value that prestores that battery is corresponding.
Concrete, battery electric quantity value calibration device obtains the resistance value that prestores corresponding to battery.Wherein, described in the resistance value that prestores be the last resistance value that cell resistance is calculated, be appreciated that and be, when this be first time cell resistance is calculated time, described in the resistance value that prestores be the unified configuration parameter value of battery.
S202, detects when starting to charge to described battery, obtains the initial charge charge value of described battery.
Concrete, when described battery electric quantity value calibration device detects and starts to charge to described battery, obtain the initial charge charge value of described battery.Wherein, described initial charge charge value is the charge value that battery starts when charging.
S203, detects the battery status information of described battery and current display charge value.
Concrete, described battery electric quantity value calibration device detects the battery status information of described battery and current display charge value.Whether described battery electric quantity value calibration device detects battery is be in charged state or charge to terminate, and the current display charge value of the current available power of battery, in order to calculate the current resistive value of battery according to battery status information and current display charge value.
S204, mates described battery status information and described current display charge value.
Concrete, described battery status information and described current display charge value mate by described battery electric quantity value calibration device.Wherein, described battery status information is whether battery charging terminates, for representing whether battery is full of electricity, described battery electric quantity value calibration device judges that whether battery is synchronous with current display charge value with or without being full of electricity, be understandable that, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.In feasible scheme, whether battery is full of electricity can be determined according to the ceiling voltage of battery setting, when in charging process, during ceiling voltage set by the voltage of battery arrives, illustrates that battery is full of electricity.
In optional scheme, when described battery is in lasting charged state and/or described initial charge charge value is less than first threshold, described battery status information and described current display charge value are mated, whether be lasting charged state by battery check device determination battery, and whether the initial charge charge value obtained when judging to start to charge is less than first threshold, such as first threshold is the electricity of 10%, namely when start electricity when battery is charged be less than 10% and/or battery be in lasting charged state time, the status information whether terminated of being charged by battery and current display charge value mate, in order to judge whether the resistance value that prestores that battery is corresponding exists error.
S205, when described battery charging terminates and described current display charge value is less than full lattice electricity, described battery electric quantity value calibration device determines that described battery status information and described current display charge value mate inconsistent.
Concrete, because battery charging terminates to represent that battery is full of electricity, current display charge value is less than full lattice electricity and represents battery underfill electricity, therefore, when described battery charging terminates and described current display charge value is less than full lattice electricity, described battery electric quantity value calibration device determines that described battery status information and described current display charge value mate inconsistent.
S206, when described battery charging does not terminate and described current display charge value equals full lattice electricity, determines that described battery status information and described current display charge value mate inconsistent.
Concrete, because battery charging does not terminate to represent battery underfill electricity, current display charge value equals full lattice electricity and represents that battery is full of electricity, therefore, when described battery charging does not terminate and described current display charge value equals full lattice electricity, described battery electric quantity value calibration device determines that described battery status information and described current display charge value mate inconsistent.
S207, when described battery status information and described current display charge value mate inconsistent, calculates current resistive value.
Concrete, at the end of described battery status information whether charges, there are two kinds of described battery status informations and described current display charge value mates inconsistent situation, therefore, calculating current resistive value is described in two kinds of situation.
The first situation is: when described battery charging terminates and described current display charge value is less than full lattice electricity, calculate current resistive value and specifically comprise steps A 1-A3.
A1, calculating electricity difference.
Wherein, described electricity difference is the difference between described current display charge value and described full lattice charge value, if current display charge value is that S1, completely lattice electricity are S2, electricity difference is Δ s, Δ s=S2-S1.In feasible scheme, be full lattice electricity when battery is full of electricity, such as, 100% electricity shown when mobile phone is full of electricity, available 100 or 100% represent full lattice electricity.
A2, according to described in prestore resistance value, described initial charge charge value, described full lattice charge value and described electricity mathematic interpolation obtain resistance difference.
Wherein, if the resistance value that prestores be R1, initial charge charge value is S0, resistance difference is Δ r,
A3, calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R2, described current resistive value for described in the resistance value that prestores deduct described resistance difference, i.e. R2=R1-Δ r.
The second situation is: when described battery charging does not terminate and described current display charge value equals full lattice electricity, calculate current resistive value and specifically comprise step B1-B3.
B1, calculating electricity difference.
Wherein, described electricity difference is equal full lattice electricity until described battery continues the charge value that is filled with at the end of battery charging from described current display charge value, if full lattice electricity be S2, battery from current display charge value equals full this time point of lattice electricity until the electricity be filled with when battery is full of is Δ s.Due to in battery charging process, cell voltage can change, in feasible scheme, Δ s can according to battery from current display charge value equals full this time point of lattice electricity until when battery is full of electricity the ratio calculation of voltage variety Δ u1 and voltage variety Δ u2 when not having electricity to be full of electricity to battery from battery obtain
B2, according to described in prestore resistance value, described initial charge charge value, described full lattice charge value and described electricity mathematic interpolation obtain resistance difference.
Wherein, if the resistance value that prestores be R1, initial charge charge value is S0, resistance difference is Δ r,
B3, calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R2, described current resistive value for described in the resistance value that prestores add described resistance difference, i.e. R2=R1+ Δ r.
S208, adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
Concrete, described battery electric quantity value calibration device adopt described current resistive value upgrade described in prestore resistance value, charge value is accurately obtained to make to be calculated by the resistance value that prestores accurately, terminal user can have been allowed the so accurate available power of electrolytic cell, so that terminal user's flexible management available power, such as, open battery saving mode, exit the few application program etc. of frequency of utilization, enhance user's stickiness.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, when battery status information and current display charge value mate inconsistent, calculate current resistive value, current resistive value is adopted to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.During by occurring that at battery charging status information and current display charge value mate inconsistent situation, to the calculating of the current resistive value of battery, cell resistance value accurately can be obtained, decrease the error of the charge value adopting unified resistance parameter to bring, decrease the situation appearance that battery underfill is but pointed out battery to be full of or has been full of but prompt terminal underfill simultaneously, improve the accuracy that battery electric quantity value is detected, be convenient to terminal user's flexible management available power, enhance user's stickiness.
Refer to Fig. 3, for embodiments providing the schematic flow sheet of another kind of battery electric quantity value calibration method.As shown in Figure 3, the described method of the embodiment of the present invention is battery electric quantity value calibration method flow when being in discharge condition for battery, can comprise the following steps S301-step S308.
S301, obtains the resistance value that prestores that battery is corresponding.
Concrete, battery electric quantity value calibration device obtains the resistance value that prestores corresponding to battery.Wherein, described in the resistance value that prestores be the last resistance value that cell resistance is calculated, be appreciated that and be, when this be first time cell resistance is calculated time, described in the resistance value that prestores be the unified configuration parameter value of battery.
S302, when detecting that described battery starts to discharge, obtains the initial discharge charge value of described battery.
Concrete, when described battery electric quantity value calibration device detects that described battery starts to discharge, obtain the initial discharge charge value of described battery.Wherein, described initial discharge charge value is the charge value that battery starts when discharging, and when the charging signals to battery not detected, then determines that described terminal is in discharge condition.
S303, detects the battery status information of described battery and current display charge value.
Concrete, described battery electric quantity value calibration device detects the battery status information of described battery and current display charge value.Whether described battery electric quantity value calibration device detects battery is be in discharge condition or discharge to terminate, and the current display charge value of the current available power of battery, in order to calculate the current resistive value of battery according to battery status information and current display charge value.
S304, mates described battery status information and described current display charge value.
Concrete, described battery status information and described current display charge value mate by described battery electric quantity value calibration device.Wherein, described battery status information is whether battery discharge terminates, for representing whether battery also has electricity, described battery electric quantity value calibration device judges that whether battery is synchronous with current display charge value with or without available power, be understandable that, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.In optional scheme, when described battery is in continuous discharge state and/or described initial discharge charge value is greater than Second Threshold, described battery status information and described current display charge value are mated, be whether continuous discharge state (terminating charging signals not detected to electric discharge from electric discharge) by battery check device determination battery, and whether the initial discharge charge value obtained when judging to start to discharge is greater than Second Threshold, the electricity of such as 90%, namely when the battery electricity started when discharging is greater than 90% and/or battery is in continuous discharge state, the status information whether terminate battery discharge and current display charge value mate, in order to judge whether the resistance value that prestores that battery is corresponding exists error.
S305, when described battery discharge terminates and described current display charge value is greater than space electricity, determines that described battery status information and described current display charge value mate inconsistent;
Concrete, because battery discharge terminates to represent that battery does not have available power, current display charge value is greater than space electricity and represents that battery still has available power, therefore, when described battery discharge terminates and described current display charge value is greater than space electricity, described battery electric quantity value calibration device determines that described battery status information and described current display charge value mate inconsistent.
S306, when described battery discharge does not terminate and described current display charge value equals space electricity, determines that described battery status information and described current display charge value mate inconsistent.
Concrete, because battery discharge does not terminate to represent that battery still has available power, current display charge value equals space electricity and represents that battery does not have available power, therefore, when described battery discharge does not terminate and described current display charge value equals space electricity, described battery electric quantity value calibration device determines that described battery status information and described current display charge value mate inconsistent.
S307, when described battery status information and described current display charge value mate inconsistent, calculates current resistive value.
Concrete, at the end of described battery status information whether discharges, there are two kinds of described battery status informations and described current display charge value mates inconsistent situation, therefore, calculating current resistive value is described in two kinds of situation.
The first situation is: when described battery discharge terminates and described current display charge value is greater than space electricity, calculates current resistive value and specifically comprises step C1-C3.
C1, calculating electricity difference.
Wherein, described electricity difference is the difference of described current display charge value and space electricity, if space electricity is that Q1, completely lattice electricity are Q2, current display charge value is Q3, electricity difference is Δ q, Δ q=Q3-Q1.In feasible scheme, it is space electricity that battery does not have during available power, and such as, mobile phone does not have 0% electricity shown during available power, and available 0% or 0 represents space electricity.
Prestore described in C2, basis resistance value, described initial discharge charge value, described space charge value and described electricity mathematic interpolation resistance difference.
Wherein, if the resistance value that prestores be R1, initial discharge charge value is Q0, resistance difference is Δ r,
C3, calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R2, described current resistive value for described in the resistance value that prestores deduct described resistance difference, i.e. R2=R1-Δ r.
The second situation is: when described battery discharge does not terminate and described current display charge value equals space electricity, calculates current resistive value and specifically comprises step D1-D3.
D1, calculating electricity difference.
Wherein, described electricity difference is the electricity that from described current display charge value equals this time point of space electricity until at the end of battery discharge, described battery is released, if space electricity is Q1, full lattice electricity is Q2, the battery electricity that from current display charge value equals this time point of space electricity until at the end of battery discharge, described battery is released is Δ q.Due to in battery discharge procedure, cell voltage can change, in feasible scheme, Δ q can according to battery voltage variety Δ u1 and obtaining from the ratio calculation that battery does not have electricity to be full of the voltage variety Δ u2 of electricity to battery from current display charge value equals this time point of space electricity until at the end of battery discharge
Prestore described in D2, basis resistance value, described initial discharge charge value, described space charge value and described electricity mathematic interpolation resistance difference.
Wherein, if the resistance value that prestores be R1, initial discharge charge value is Q0, resistance difference is Δ r,
D3, calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R1, described current resistive value for described in the resistance value that prestores add described resistance difference, i.e. R2=R1+ Δ r.
S308, adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
Concrete, described battery electric quantity value calibration device adopt described current resistive value upgrade described in prestore resistance value, charge value is accurately obtained to make to be calculated by the resistance value that prestores accurately, terminal user can have been allowed the so accurate available power of electrolytic cell, so that terminal user's flexible management available power, such as, open battery saving mode, exit the few application program etc. of frequency of utilization, enhance user's stickiness.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, when battery status information and current display charge value mate inconsistent, calculate current resistive value, current resistive value is adopted to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.During by occurring that at battery discharge condition information and current display charge value mate inconsistent situation, to the calculating of the current resistive value of battery, cell resistance value accurately can be obtained, decrease the error of the charge value adopting unified resistance parameter to bring, decrease simultaneously battery have available power but prompt terminal do not have electricity or battery do not have available power but prompt terminal still have the situation of electricity to occur, improve the accuracy that battery electric quantity value is detected, be convenient to terminal user's flexible management available power, enhance user's stickiness.
Below in conjunction with accompanying drawing 4-accompanying drawing 6, the battery electric quantity value calibration device that the embodiment of the present invention provides is described in detail.It should be noted that, battery electric quantity value calibration device shown in accompanying drawing 4-accompanying drawing 6, for performing the method for Fig. 1 of the present invention-embodiment illustrated in fig. 3, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1-Fig. 3 of the present invention.
Refer to Fig. 4, for embodiments providing a kind of structural representation of battery electric quantity value calibration device.As shown in Figure 4, the described battery electric quantity value calibration device 1 of the embodiment of the present invention comprises: the first acquiring unit 11, detecting unit 12, matching unit 13, computing unit 14 and updating block 15.
First acquiring unit 11, for obtaining the resistance value that prestores corresponding to battery.
In specific implementation, described first acquiring unit 11 obtains the resistance value that prestores corresponding to battery.Wherein, described in the resistance value that prestores be the last resistance value that cell resistance is calculated, be appreciated that and be, when this be first time cell resistance is calculated time, described in the resistance value that prestores be the unified configuration parameter value of battery.
Detecting unit 12, for detecting the battery status information of described battery and current display charge value.
In specific implementation, described detecting unit 12 detects the battery status information of described battery and current display charge value.Whether whether described detecting unit 12 detects battery is be in charge/discharge state or charge to terminate/discharge to terminate, and the current display charge value of the current available power of battery, in order to calculate the current resistive value of battery according to battery status information and current display charge value.
Matching unit 13, for mating described battery status information and described current display charge value.
In specific implementation, described battery status information and described current display charge value mate by described matching unit 13.At the end of described battery status information is battery charging whether, judge that whether battery is synchronous with current display charge value with or without being full of electricity, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.When described battery status information be battery discharge whether at the end of, judge that whether battery is synchronous with current display charge value with or without available power, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.
Computing unit 14, for when described battery status information and described current display charge value mate inconsistent, calculates current resistive value.
In specific implementation, when described battery status information and described current display charge value mate inconsistent, described computing unit 14 calculates current resistive value.Described battery status information and described current display charge value coupling is inconsistent refers to that the actual available power had of battery is inconsistent with measuring the current display charge value obtained, such as: battery underfill but points out that battery is full of, charge value display can continue to use but the inconsistent situation such as power-off shutdown suddenly.When described battery status information and described current display charge value mate inconsistent, described computing unit 14 needs to calculate the current resistive value of battery.
It should be noted that, by Ampère law I=U/R, and electricity computing formula
can electricity be derived:
for charging process, whether battery is full of electricity can be determined according to the ceiling voltage of battery setting, when in charging process, during ceiling voltage set by the voltage of battery arrives, illustrates that battery is full of electricity.If battery status information feedback battery is full of electricity, but when current display charge value is less than full lattice electricity, namely illustrate that Q is less than normal, then the R of current display charge value is bigger than normal; If battery status information feedback battery underfill electricity, but when current display charge value equals full lattice electricity, namely illustrate that Q is bigger than normal, then the R of current display charge value is less than normal.For discharge process, when the voltage of battery drops to minimum voltage, illustrate that battery does not have electricity.If battery status information feedback battery does not have electricity, but when current display charge value is greater than electricity, namely illustrate that Q is bigger than normal, then the R of current display charge value is less than normal; If battery status information feedback battery still has electricity, but when current display charge value equals space electricity, namely illustrate that Q is less than normal, then the R calculating current display charge value is bigger than normal.Therefore, the current resistive value of described computing unit 14 pairs of batteries calculates.
Updating block 15, for adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
In specific implementation, described updating block 15 adopt described current resistive value upgrade described in prestore resistance value, charge value is accurately obtained to make to be calculated by the resistance value that prestores accurately, terminal user can have been allowed the so accurate available power of electrolytic cell, so that terminal user's flexible management available power, such as, open battery saving mode, exit the few application program etc. of frequency of utilization, enhance user's stickiness.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, again battery status information and current display charge value are mated, when battery status information and current display charge value mate inconsistent, calculate current resistive value, adopt current resistive value to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.By the calculating of the current resistive value to battery, cell resistance value accurately can be obtained, and then decrease the error of the charge value adopting unified resistance parameter to bring, improve the accuracy that battery electric quantity value is detected.
Refer to Fig. 5, for embodiments providing a kind of structural representation of battery electric quantity value calibration device.As shown in Figure 5, the described device of the embodiment of the present invention is battery electric quantity value calibration device when being in charged state for battery, and described battery electric quantity value calibration device 1 can comprise: the first acquiring unit 11, detecting unit 12, computing unit 14, updating block 15, second acquisition unit 16, matching unit 13 and the first determining unit 17.
First acquiring unit 11, for obtaining the resistance value that prestores corresponding to battery.
In specific implementation, described first acquiring unit 11 obtains the resistance value that prestores corresponding to battery.Wherein, described in the resistance value that prestores be the last resistance value that cell resistance is calculated, be appreciated that and be, when this be first time cell resistance is calculated time, described in the resistance value that prestores be the unified configuration parameter value of battery.
Second acquisition unit 16, when starting to charge to described battery for detecting, obtains the initial charge charge value of described battery.
In specific implementation, when described second acquisition unit 16 detects and starts to charge to described battery, obtain the initial charge charge value of described battery.Wherein, described initial charge charge value is the charge value that battery starts when charging.
Detecting unit 12, for detecting the battery status information of described battery and current display charge value.
In specific implementation, described detecting unit 12 detects the battery status information of described battery and current display charge value.Whether described detecting unit 12 detects battery is be in charged state or charge to terminate, and the current display charge value of the current available power of battery, in order to calculate the current resistive value of battery according to battery status information and current display charge value.
Matching unit 13, for mating described battery status information and described current display charge value.
In specific implementation, described battery status information and described current display charge value mate by described matching unit 13.Wherein, described battery status information is whether battery charging terminates, for representing whether battery is full of electricity, described matching unit 13 judges that whether battery is synchronous with current display charge value with or without being full of electricity, be understandable that, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.In feasible scheme, whether battery is full of electricity can be determined according to the ceiling voltage of battery setting, when in charging process, during ceiling voltage set by the voltage of battery arrives, illustrates that battery is full of electricity.
In optional scheme, when described battery is in lasting charged state and/or described initial charge charge value is less than first threshold, described battery status information and described current display charge value are mated, whether be lasting charged state by battery check device determination battery, and whether the initial charge charge value obtained when judging to start to charge is less than first threshold, the electricity of such as 10%, namely when start electricity when battery is charged be less than 10% and/or battery be in lasting charged state time, the status information whether terminated of being charged by battery and current display charge value mate, in order to judge whether the resistance value that prestores that battery is corresponding exists error.
First determining unit 17, for when described battery charging terminates and described current display charge value is less than full lattice electricity, determines that described battery status information and described current display charge value mate inconsistent.
In specific implementation, because battery charging terminates to represent that battery is full of electricity, current display charge value is less than full lattice electricity and represents battery underfill electricity, therefore, when described battery charging terminates and described current display charge value is less than full lattice electricity, described first determining unit 17 determines that described battery status information and described current display charge value mate inconsistent.
Described first determining unit 17 also for when described battery charging does not terminate and described current display charge value equals full lattice electricity, determines that described battery status information and described current display charge value mate inconsistent.
In specific implementation, because battery charging does not terminate to represent battery underfill electricity, current display charge value equals full lattice electricity and represents that battery is full of electricity, therefore, when described battery charging does not terminate and described current display charge value equals full lattice electricity, described first determining unit 17 determines that described battery status information and described current display charge value mate inconsistent.
Computing unit 14, for when described battery status information and described current display charge value mate inconsistent, calculates current resistive value.
In specific implementation, at the end of whether described battery status information charges, there are two kinds of described battery status informations and described current display charge value mates inconsistent situation, therefore, described computing unit 14 calculates current resistive value and is described in two kinds of situation.
The first situation is: when described battery charging terminates and described current display charge value is less than full lattice electricity, calculate current resistive value and specifically comprise steps A 1-A3.
A1, described computing unit 14 calculate electricity difference.
Wherein, described electricity difference is the difference between described current display charge value and described full lattice charge value, if current display charge value is that S1, completely lattice electricity are S2, electricity difference is Δ s, Δ s=S2-S1.In feasible scheme, be full lattice electricity when battery is full of electricity, such as, 100% electricity shown when mobile phone is full of electricity, available 100 or 100% represent full lattice electricity.
A2, described computing unit 14 obtain resistance difference according to the described resistance value that prestores, described initial charge charge value, described full lattice charge value and described electricity mathematic interpolation.
Wherein, if the resistance value that prestores be R1, initial charge charge value is S0, resistance difference is Δ r,
A3, described computing unit 14 calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R2, described current resistive value for described in the resistance value that prestores deduct described resistance difference, i.e. R2=R1-Δ r.
The second situation is: when described battery charging does not terminate and described current display charge value equals full lattice electricity, calculate current resistive value and specifically comprise step B1-B3.
B1, described computing unit 14 calculate electricity difference.
Wherein, described electricity difference is equal full lattice electricity until described battery continues the charge value that is filled with at the end of battery charging from described current display charge value, if full lattice electricity be S2, battery from current display charge value equals full this time point of lattice electricity until the electricity be filled with when battery is full of is Δ s.Due to in battery charging process, cell voltage can change, in feasible scheme, Δ s can according to battery from current display charge value equals full this time point of lattice electricity until when battery is full of electricity the ratio calculation of voltage variety Δ u1 and voltage variety Δ u2 when not having electricity to be full of electricity to battery from battery obtain
B2, described computing unit 14 obtain resistance difference according to the described resistance value that prestores, described initial charge charge value, described full lattice charge value and described electricity mathematic interpolation.
Wherein, if the resistance value that prestores be R1, initial charge charge value is S0, resistance difference is Δ r,
B3, described computing unit 14 calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R2, described current resistive value for described in the resistance value that prestores add described resistance difference, i.e. R2=R1+ Δ r.
Updating block 15, for adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
In specific implementation, described updating block 15 adopt described current resistive value upgrade described in prestore resistance value, charge value is accurately obtained to make to be calculated by the resistance value that prestores accurately, terminal user can have been allowed the so accurate available power of electrolytic cell, so that terminal user's flexible management available power, such as, open battery saving mode, exit the few application program etc. of frequency of utilization, enhance user's stickiness.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, when battery status information and current display charge value mate inconsistent, calculate current resistive value, current resistive value is adopted to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.During by occurring that at battery charging status information and current display charge value mate inconsistent situation, to the calculating of the current resistive value of battery, cell resistance value accurately can be obtained, decrease the error of the charge value adopting unified resistance parameter to bring, decrease the situation appearance that battery underfill is but pointed out battery to be full of or has been full of but prompt terminal underfill simultaneously, improve the accuracy that battery electric quantity value is detected, be convenient to terminal user's flexible management available power, enhance user's stickiness.
Refer to Fig. 6, for embodiments providing a kind of structural representation of battery electric quantity value calibration device.As shown in Figure 6, the described device of the embodiment of the present invention is battery electric quantity value calibration device when being in discharge condition for battery, and described battery electric quantity value calibration device 1 can comprise: the first acquiring unit 11, detecting unit 12, computing unit 14, updating block 15, matching unit 13, the 3rd acquiring unit 18 and the second determining unit 19.
First acquiring unit 11, for obtaining the resistance value that prestores corresponding to battery.
In specific implementation, described first acquiring unit 11 obtains the resistance value that prestores corresponding to battery.Wherein, described in the resistance value that prestores be the last resistance value that cell resistance is calculated, be appreciated that and be, when this be first time cell resistance is calculated time, described in the resistance value that prestores be the unified configuration parameter value of battery.
3rd acquiring unit 18, during for detecting that described battery starts to discharge, obtains the initial discharge charge value of described battery.
In specific implementation, when described 3rd acquiring unit 18 detects that described battery starts to discharge, obtain the initial discharge charge value of described battery.Wherein, described initial discharge charge value is the charge value that battery starts when discharging, and when the charging signals to battery not detected, then determines that described terminal is in discharge condition.
Detecting unit 12, for detecting the battery status information of described battery and current display charge value.
In specific implementation, described detecting unit 12 detects the battery status information of described battery and current display charge value.Whether described detecting unit 12 detects battery is be in discharge condition or discharge to terminate, and the current display charge value of the current available power of battery, in order to calculate the current resistive value of battery according to battery status information and current display charge value.
Matching unit 13, for mating described battery status information and described current display charge value.
In specific implementation, described battery status information and described current display charge value mate by described matching unit 13.Wherein, described battery status information is whether battery discharge terminates, for representing whether battery also has electricity, described detecting unit 12 judges that whether battery is synchronous with current display charge value with or without available power, be understandable that, when it is asynchronous, then illustrate that the resistance value that prestores calculating current display charge value exists error, needs recalculate current resistive value and calibrate.In optional scheme, when described battery is in continuous discharge state and/or described initial discharge charge value is greater than Second Threshold, described battery status information and described current display charge value are mated, be whether continuous discharge state (terminating charging signals not detected to electric discharge from electric discharge) by battery check device determination battery, and whether the initial discharge charge value obtained when judging to start to discharge is greater than Second Threshold, the electricity of such as 90%, namely when the battery electricity started when discharging is greater than 90% and/or battery is in continuous discharge state, the status information whether terminate battery discharge and current display charge value mate, in order to judge whether the resistance value that prestores that battery is corresponding exists error.
Second determining unit 19, for terminate when described battery discharge and described current display charge value is greater than space electricity time, determine described battery status information and described current display charge value coupling inconsistent.
In specific implementation, because battery discharge terminates to represent that battery does not have available power, current display charge value is greater than space electricity and represents that battery still has available power, therefore, when described battery discharge terminates and described current display charge value is greater than space electricity, described second determining unit 19 determines that described battery status information and described current display charge value mate inconsistent.
Described second determining unit 19 also for do not terminate when described battery discharge and described current display charge value equals space electricity time, determine described battery status information and described current display charge value coupling inconsistent.
In specific implementation, because battery discharge does not terminate to represent that battery still has available power, current display charge value equals space electricity and represents that battery does not have available power, therefore, when described battery discharge does not terminate and described current display charge value equals space electricity, described second determining unit 19 determines that described battery status information and described current display charge value mate inconsistent.
Computing unit 14, for when described battery status information and described current display charge value mate inconsistent, calculates current resistive value.
In specific implementation, at the end of described battery status information whether discharges, there are two kinds of described battery status informations and described current display charge value mates inconsistent situation, therefore, calculate current resistive value and be described in two kinds of situation.
The first situation is: when described battery discharge terminates and described current display charge value is greater than space electricity, calculates current resistive value and specifically comprises step C1-C3.
C1, described computing unit 14 calculate electricity difference.
Wherein, described electricity difference is the difference of described current display charge value and space electricity, if space electricity is that Q1, completely lattice electricity are Q2, current display charge value is Q3, electricity difference is Δ q, Δ q=Q3-Q1.In feasible scheme, it is space electricity that battery does not have during available power, and such as, mobile phone does not have 0% electricity shown during available power, and available 0% or 0 represents space electricity.
C2, described computing unit 14 are according to the described resistance value that prestores, described initial discharge charge value, described space charge value and described electricity mathematic interpolation resistance difference.
Wherein, if the resistance value that prestores be R1, initial discharge charge value is Q0, resistance difference is Δ r,
C3, described computing unit 14 calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R2, described current resistive value for described in the resistance value that prestores deduct described resistance difference, i.e. R2=R1-Δ r.
The second situation is: when described battery discharge does not terminate and described current display charge value equals space electricity, calculates current resistive value and specifically comprises step D1-D3.
D1, described computing unit 14 calculate electricity difference.
Wherein, described electricity difference is the electricity that from described current display charge value equals this time point of space electricity until at the end of battery discharge, described battery is released, if space electricity is Q1, full lattice electricity is Q2, the battery electricity that from current display charge value equals this time point of space electricity until at the end of battery discharge, described battery is released is Δ q.Due to in battery discharge procedure, cell voltage can change, in feasible scheme, Δ q can according to battery voltage variety Δ u1 and obtaining from the ratio calculation that battery does not have electricity to be full of the voltage variety Δ u2 of electricity to battery from current display charge value equals this time point of space electricity until at the end of battery discharge
D2, described computing unit 14 are according to the described resistance value that prestores, described initial discharge charge value, described space charge value and described electricity mathematic interpolation resistance difference.
Wherein, if the resistance value that prestores be R1, initial discharge charge value is Q0, resistance difference is Δ r,
D3, described computing unit 14 calculate current resistive value according to described resistance difference.
Wherein, if current resistive value is R1, described current resistive value for described in the resistance value that prestores add described resistance difference, i.e. R2=R1+ Δ r.
Updating block 15, for adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
In specific implementation, described updating block 15 adopt described current resistive value upgrade described in prestore resistance value, charge value is accurately obtained to make to be calculated by the resistance value that prestores accurately, terminal user can have been allowed the so accurate available power of electrolytic cell, so that terminal user's flexible management available power, such as, open battery saving mode, exit the few application program etc. of frequency of utilization, enhance user's stickiness.
In embodiments of the present invention, by obtaining the resistance value that prestores corresponding to battery, and detect the battery status information of battery and current display charge value, when battery status information and current display charge value mate inconsistent, calculate current resistive value, current resistive value is adopted to upgrade the resistance value that prestores, in order to calibrate the charge value of battery.During by occurring that at battery discharge condition information and current display charge value mate inconsistent situation, to the calculating of the current resistive value of battery, cell resistance value accurately can be obtained, decrease the error of the charge value adopting unified resistance parameter to bring, decrease simultaneously battery have available power but prompt terminal do not have electricity or battery do not have available power but prompt terminal still have the situation of electricity to occur, improve the accuracy that battery electric quantity value is detected, be convenient to terminal user's flexible management available power, enhance user's stickiness.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (14)
1. a battery electric quantity value calibration method, is characterized in that, comprising:
Obtain the resistance value that prestores that battery is corresponding, and detect the battery status information of described battery and current display charge value, whether whether described battery status information comprises battery charging terminates or discharges to terminate;
Described battery status information and described current display charge value are mated;
When described battery status information and described current display charge value mate inconsistent, calculate current resistive value;
Adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
2. method according to claim 1, is characterized in that, at the end of described battery status information is for charging whether, described described battery status information and described current display charge value are mated after, also comprise:
When described battery charging terminates and described current display charge value is less than full lattice electricity, determine that described battery status information and described current display charge value mate inconsistent;
When described battery charging does not terminate and described current display charge value equals full lattice electricity, determine that described battery status information and described current display charge value mate inconsistent.
3. method according to claim 2, is characterized in that, before the battery status information of the described battery of described detection and current display charge value, also comprises:
Detect when starting to charge to described battery, obtain the initial charge charge value of described battery;
Described when described battery status information and described current display charge value mate inconsistent, calculate current resistive value, comprising:
When described battery status information and described current display charge value mate inconsistent, calculate electricity difference, wherein, when described battery charging terminates and described current display charge value is less than full lattice electricity, described electricity difference is the difference between described current display charge value and described full lattice charge value, when described battery charging does not terminate and described current display charge value equals full lattice electricity, described electricity difference is equal full lattice electricity until described battery continues the charge value be filled with at the end of battery charging from described current display charge value.
Resistance difference is obtained according to the described resistance value that prestores, described initial charge charge value, described full lattice charge value and described electricity mathematic interpolation;
Current resistive value is calculated according to described resistance difference, wherein, when described battery charging terminates and current display charge value is less than full lattice electricity, described current resistive value for described in the resistance value that prestores deduct described resistance difference, when the charging of described battery does not terminate and current display charge value equals full lattice electricity, described current resistive value for described in the resistance value that prestores add described resistance difference.
4. according to the method in claim 2 or 3, it is characterized in that, described described battery status information and described current display charge value to be mated, comprising:
When described battery is in lasting charged state and/or described initial charge charge value is less than first threshold, perform described step of described battery status information and described current display charge value being carried out mate.
5. method according to claim 1, is characterized in that, at the end of described battery status information is for electric discharge whether, described when described battery status information and described current display charge value mate inconsistent, before calculating current resistive value, also comprises:
When described battery discharge terminates and described current display charge value is greater than space electricity, determine that described battery status information and described current display charge value mate inconsistent;
When described battery discharge does not terminate and described current display charge value equals space electricity, determine that described battery status information and described current display charge value mate inconsistent.
6. method according to claim 5, is characterized in that, before the battery status information of the described battery of described detection and current display charge value, also comprises:
When detecting that described battery starts to discharge, obtain the initial discharge charge value of described battery;
Described when described battery status information and described current display charge value mate inconsistent, calculate current resistive value, comprising:
When described battery status information and described current display charge value mate inconsistent, calculate electricity difference, wherein, when described battery discharge terminates and described current display charge value is greater than space electricity, described electricity difference is the difference of described current display charge value and space electricity, when described battery discharge does not terminate and described current display charge value equals space electricity, described electricity difference is equal space electricity until the electricity of described battery releasing at the end of described electric discharge from described current display charge value;
According to the described resistance value that prestores, described initial discharge charge value, described space charge value and described electricity mathematic interpolation resistance difference;
Current resistive value is calculated according to described resistance difference, wherein, when described battery discharge terminates and current display charge value is greater than space electricity, described current resistive value for described in the resistance value that prestores deduct described resistance difference, when described battery discharge does not terminate and current display charge value equals space electricity, described current resistive value for described in the resistance value that prestores add described resistance difference.
7. the method according to claim 5 or 6, is characterized in that, describedly described battery status information and described current display charge value are carried out coupling comprises:
When described battery is in continuous discharge state and/or described initial discharge charge value is greater than Second Threshold, perform described step of described battery status information and described current display charge value being carried out mate.
8. a battery electric quantity value calibration device, is characterized in that, comprising:
First acquiring unit, for obtaining the resistance value that prestores corresponding to battery;
Detecting unit, for detecting the battery status information of described battery and current display charge value, whether whether described battery status information comprises battery charging terminates or discharges to terminate;
Matching unit, for mating described battery status information and described current display charge value;
Computing unit, for when described battery status information and described current display charge value mate inconsistent, calculates current resistive value;
Updating block, for adopt described current resistive value upgrade described in prestore resistance value, in order to calibrate the charge value of battery.
9. device according to claim 8, is characterized in that, at the end of described battery status information is for charging whether, described device also comprises:
First determining unit, for when described battery charging terminates and described current display charge value is less than full lattice electricity, determines that described battery status information and described current display charge value mate inconsistent;
Described first determining unit, also for when described battery charging does not terminate and described current display charge value equals full lattice electricity, determines that described battery status information and described current display charge value mate inconsistent.
10. device according to claim 9, is characterized in that, described device also comprises:
Second acquisition unit, when starting to charge to described battery for detecting, obtains the initial charge charge value of described battery;
Described computing unit specifically for:
When described battery status information and described current display charge value mate inconsistent, calculate electricity difference, wherein, when described battery charging terminates and described current display charge value is less than full lattice electricity, described electricity difference is the difference between described current display charge value and described full lattice charge value, when described battery charging does not terminate and described current display charge value equals full lattice electricity, described electricity difference is equal full lattice electricity until described battery continues the charge value be filled with at the end of battery charging from described current display charge value.
Resistance difference is obtained according to the described resistance value that prestores, described initial charge charge value, described full lattice charge value and described electricity mathematic interpolation;
Current resistive value is calculated according to described resistance difference, wherein, when described battery charging terminates and current display charge value is less than full lattice electricity, described current resistive value for described in the resistance value that prestores deduct described resistance difference, when the charging of described battery does not terminate and current display charge value equals full lattice electricity, described current resistive value for described in the resistance value that prestores add described resistance difference.
11. devices according to claim 9 or 10, it is characterized in that, when described matching unit is less than first threshold specifically for being in lasting charged state and/or described initial charge charge value when described battery, perform described step of described battery status information and described current display charge value being carried out mate.
12. devices according to claim 8, is characterized in that, at the end of described battery status information is for electric discharge whether, described device also comprises:
Second determining unit, for terminate when described battery discharge and described current display charge value is greater than space electricity time, determine described battery status information and described current display charge value coupling inconsistent;
Described second determining unit, also for do not terminate when described battery discharge and described current display charge value equals space electricity time, determine described battery status information and described current display charge value coupling inconsistent.
13. devices according to claim 12, is characterized in that, described device also comprises:
3rd acquiring unit, during for detecting that described battery starts to discharge, obtains the initial discharge charge value of described battery;
Described computing unit specifically for:
When described battery status information and described current display charge value mate inconsistent, calculate electricity difference, wherein, when described battery discharge terminates and described current display charge value is greater than space electricity, described electricity difference is the difference of described current display charge value and space electricity, when described battery discharge does not terminate and described current display charge value equals space electricity, described electricity difference is equal space electricity until the electricity of described battery releasing at the end of described electric discharge from described current display charge value;
According to the described resistance value that prestores, described initial discharge charge value, described space charge value and described electricity mathematic interpolation resistance difference;
Current resistive value is calculated according to described resistance difference, wherein, when described battery discharge terminates and current display charge value is greater than space electricity, described current resistive value for described in the resistance value that prestores deduct described resistance difference, when described battery discharge does not terminate and current display charge value equals space electricity, described current resistive value for described in the resistance value that prestores add described resistance difference.
14. devices according to claim 12 or 13, it is characterized in that, when described matching unit is greater than Second Threshold specifically for being in continuous discharge state and/or described initial discharge charge value when described battery, perform described step of described battery status information and described current display charge value being carried out mate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510643713.4A CN105548887B (en) | 2015-09-30 | 2015-09-30 | A kind of battery capacity value calibration method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510643713.4A CN105548887B (en) | 2015-09-30 | 2015-09-30 | A kind of battery capacity value calibration method and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105548887A true CN105548887A (en) | 2016-05-04 |
CN105548887B CN105548887B (en) | 2019-03-22 |
Family
ID=55828202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510643713.4A Active CN105548887B (en) | 2015-09-30 | 2015-09-30 | A kind of battery capacity value calibration method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105548887B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107505577A (en) * | 2017-09-19 | 2017-12-22 | 上海斐讯数据通信技术有限公司 | A kind of circuit for measuring capacity of battery, battery capacity Method for Accurate Calculation and system |
WO2022052245A1 (en) * | 2020-09-10 | 2022-03-17 | 歌尔股份有限公司 | Charging device, electric quantity correction method of wireless earphones, and readable storage medium |
CN114200325A (en) * | 2021-11-05 | 2022-03-18 | 深圳优地科技有限公司 | Battery electric quantity calibration method, robot control device and robot |
CN116930790A (en) * | 2023-09-15 | 2023-10-24 | 深圳市海雷新能源有限公司 | Electric quantity calibration method for intelligent battery |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008271759A (en) * | 2007-04-25 | 2008-11-06 | Matsushita Electric Ind Co Ltd | Calibration method for secondary battery |
CN101860060A (en) * | 2010-05-31 | 2010-10-13 | 中兴通讯股份有限公司 | Method and device for indicating electric quantity of rechargeable battery |
CN102866357A (en) * | 2011-07-06 | 2013-01-09 | 珠海全志科技股份有限公司 | System and method for measuring electric quantity of battery |
CN102955135A (en) * | 2012-11-20 | 2013-03-06 | 无锡中星微电子有限公司 | Method and system for detecting electric quantity of battery |
CN103168247A (en) * | 2011-09-15 | 2013-06-19 | 联发科技股份有限公司 | Systems and methods for determining a remaining battery capacity of a battery device |
CN103605093A (en) * | 2013-11-05 | 2014-02-26 | 广东欧珀移动通信有限公司 | Calibration method of display electricity value and system thereof |
US20140292344A1 (en) * | 2013-03-29 | 2014-10-02 | Stmicroelectronics Pte Ltd. | Accumulated power consumption sensor: application in smart batteries systems |
-
2015
- 2015-09-30 CN CN201510643713.4A patent/CN105548887B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008271759A (en) * | 2007-04-25 | 2008-11-06 | Matsushita Electric Ind Co Ltd | Calibration method for secondary battery |
CN101860060A (en) * | 2010-05-31 | 2010-10-13 | 中兴通讯股份有限公司 | Method and device for indicating electric quantity of rechargeable battery |
CN102866357A (en) * | 2011-07-06 | 2013-01-09 | 珠海全志科技股份有限公司 | System and method for measuring electric quantity of battery |
CN103168247A (en) * | 2011-09-15 | 2013-06-19 | 联发科技股份有限公司 | Systems and methods for determining a remaining battery capacity of a battery device |
CN102955135A (en) * | 2012-11-20 | 2013-03-06 | 无锡中星微电子有限公司 | Method and system for detecting electric quantity of battery |
US20140292344A1 (en) * | 2013-03-29 | 2014-10-02 | Stmicroelectronics Pte Ltd. | Accumulated power consumption sensor: application in smart batteries systems |
CN103605093A (en) * | 2013-11-05 | 2014-02-26 | 广东欧珀移动通信有限公司 | Calibration method of display electricity value and system thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107505577A (en) * | 2017-09-19 | 2017-12-22 | 上海斐讯数据通信技术有限公司 | A kind of circuit for measuring capacity of battery, battery capacity Method for Accurate Calculation and system |
WO2022052245A1 (en) * | 2020-09-10 | 2022-03-17 | 歌尔股份有限公司 | Charging device, electric quantity correction method of wireless earphones, and readable storage medium |
CN114200325A (en) * | 2021-11-05 | 2022-03-18 | 深圳优地科技有限公司 | Battery electric quantity calibration method, robot control device and robot |
CN114200325B (en) * | 2021-11-05 | 2024-02-20 | 深圳优地智能有限公司 | Battery electric quantity calibration method, control device of robot and robot |
CN116930790A (en) * | 2023-09-15 | 2023-10-24 | 深圳市海雷新能源有限公司 | Electric quantity calibration method for intelligent battery |
CN116930790B (en) * | 2023-09-15 | 2023-11-21 | 深圳市海雷新能源有限公司 | Electric quantity calibration method for intelligent battery |
Also Published As
Publication number | Publication date |
---|---|
CN105548887B (en) | 2019-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106324508B (en) | Battery health state detection device and method | |
CA2525008C (en) | Method and system for accurately reporting battery capacity | |
US7456613B2 (en) | Battery remaining capacity calculating method, battery remaining capacity calculating device, and battery remaining capacity calculating program | |
US6429625B1 (en) | Method and apparatus for indicating battery charge status | |
US7317996B2 (en) | Method for determining battery capacity | |
CN105548887A (en) | Battery power value calibration method and device thereof | |
CN103901347A (en) | Method for display of battery level and terminal | |
CN103033758A (en) | Display electric quantity value calibration method and device | |
CN1996701A (en) | Battery charging management system and method | |
CN104502854A (en) | Remaining electricity quantity display method and remaining electricity quantity display device for terminal | |
CN110687458A (en) | Terminal battery electric quantity determination method and device | |
CN112378331B (en) | Electronic device, battery deformation detection method, and readable storage medium | |
CN107436410A (en) | A kind of electric quantity controlling method, device, equipment and storage medium | |
CN113381479A (en) | Charging method and device and electronic equipment | |
CN108072793B (en) | Method and apparatus for calculating line resistance of battery system | |
CN109066892B (en) | Split screen electronic equipment charging circuit and charging control method | |
CN113358933A (en) | Insulation resistance detection method and device of movable energy storage charging pile | |
CN110988717A (en) | Battery detection method, storage medium and terminal device | |
JPH1116607A (en) | Method for detecting residual capacity of secondary battery | |
US11262411B2 (en) | Terminal apparatus, and method and device for determining battery state of charge | |
CN106786932A (en) | A kind of method and device of charge reminder | |
KR100442985B1 (en) | Method for estimating design capacity of battery loaded on mobile phone | |
KR100592233B1 (en) | How to set standard full charge capacity of secondary battery | |
KR100512165B1 (en) | A method for calibrating a capacity of battery | |
CN116298970A (en) | Electric quantity calculation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |