CN105548905B - A kind of test method and system of battery capacity - Google Patents
A kind of test method and system of battery capacity Download PDFInfo
- Publication number
- CN105548905B CN105548905B CN201610016646.8A CN201610016646A CN105548905B CN 105548905 B CN105548905 B CN 105548905B CN 201610016646 A CN201610016646 A CN 201610016646A CN 105548905 B CN105548905 B CN 105548905B
- Authority
- CN
- China
- Prior art keywords
- battery
- electricity
- current
- cell
- internal resistance
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Secondary Cells (AREA)
Abstract
The present invention discloses a kind of test method of battery capacity, which comprises calculates battery load current according to the internal resistance of cell of acquisition and cell load voltage, loss of electricity is calculated according to battery load current or increases electricity;Initial cells electricity is obtained according to the battery floating voltage of acquisition;According to the battery total electricity of acquisition, the initial cells electricity and the loss of electricity or increase electricity, current battery charge is calculated.In this way, it only needs same class battery just discharge test, obtain the relevant parameter of battery, such as internal resistance of cell, cell load voltage, battery floating voltage, battery total electricity, initial cells electricity parameter, then carry out a series of operation, so that it may obtain current battery charge, in this way, there is no need to the Coulomb meter module of test battery capacity is specially arranged to be allowed to the more market competitiveness to greatly reduce the cost of mobile terminal or electronic equipment.
Description
Technical field
The present invention relates to the test methods and system of electricity field more particularly to a kind of battery capacity.
Background technique
In portable electronic device such as mobile phone, in order to allow user can understand in real time electronic equipment electricity how much, mesh
With hardware battery capacity Coulomb meter module, mobile phone only needs to read corresponding register and connects preceding existing design scheme
Mouthful, it can be obtained the charge value that battery has currently consumed.
Although such mode can achieve the effect of precise measurement, cost is relatively expensive.In low cost
In design scheme, there is no special electricity Coulomb meter modules.How to design inexpensive and the battery capacity of pinpoint accuracy
The problem of test method is this field urgent need to resolve.
Summary of the invention
The object of the present invention is to provide one kind, cost is relatively low, the test method and system of the higher battery capacity of accuracy.
The purpose of the present invention is achieved through the following technical solutions:
A kind of test method of battery capacity, which comprises
Battery load current is calculated according to the internal resistance of cell of acquisition and cell load voltage, is calculated according to battery load current
It obtains loss of electricity or increases electricity;
Initial cells electricity is obtained according to the battery floating voltage of acquisition;
According to the battery total electricity of acquisition, the initial cells electricity and the loss of electricity or increase electricity, calculates
To current battery charge.
Preferably, which comprises it is negative to calculate battery in the internal resistance of cell according to acquisition and cell load voltage
Before the step of carrying electric current, loss of electricity be calculated or increases electricity according to battery load current: it is tested according to battery discharge,
Obtain the cell load voltage and battery total electricity under different temperatures, and corresponding battery floating voltage, the internal resistance of cell, initial
Corresponding relationship between battery capacity three;
It is described that battery load current is calculated according to the internal resistance of cell and cell load voltage of acquisition, according to battery load current
The step of loss of electricity is calculated or increases electricity includes: according to the internal resistance of cell and cell load potentiometer under Current Temperatures
Battery load current is calculated, loss of electricity is calculated according to battery load current or increases electricity;
Described the step of obtaining initial cells electricity according to the battery floating voltage of acquisition includes: according under Current Temperatures
Battery floating voltage obtains initial cells electricity;
It is described according to the battery total electricity of acquisition, initial cells electricity and the loss of electricity or increase electricity, calculate
It include: according to battery total electricity, the initial cells electricity and the damage under Current Temperatures to the step of current battery charge
Power consumption increases electricity, and current battery charge is calculated.
Preferably, when the first run is tested after booting, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, Vocv-initFor battery booting floating voltage, Vbat
For cell load voltage, RbatFor the internal resistance of cell;
When being tested since the second wheel, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor battery
Load voltage, RbatFor the internal resistance of cell.
Preferably, the calculation formula of the loss of electricity or increase electricity are as follows:
Wherein, Δ C is loss of electricity or increases electricity, and ds is in seconds.
Preferably, the calculation formula of the current battery charge are as follows:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitTo open
Electromechanics amount, unit is percentage, Δ C is loss of electricity or increase electricity.
Invention additionally discloses a kind of test macro of battery capacity, the system comprises:
Load current processing module, for calculating cell load electricity according to the internal resistance of cell and cell load voltage of acquisition
Stream is calculated loss of electricity according to battery load current or increases electricity;
Initial quantity of electricity processing module, for obtaining initial cells electricity according to the battery floating voltage of acquisition;
Current electric quantity processing module, for according to the battery total electricity of acquisition, the initial cells electricity and the loss
Electricity increases electricity, and current battery charge is calculated.
Preferably, the system comprises module is obtained, the acquisition module obtains different for being tested according to battery discharge
At a temperature of cell load voltage and battery total electricity, and corresponding battery floating voltage, the internal resistance of cell, initial cells electricity
Corresponding relationship between three;
The load current processing module is also used to: according under Current Temperatures the internal resistance of cell and cell load voltage calculate
Battery load current is calculated loss of electricity according to battery load current or increases electricity;
The initial quantity of electricity processing module is also used to: obtaining initial cells electricity according to the battery floating voltage under Current Temperatures
Amount;
The current electric quantity processing module is also used to: according to the battery total electricity under Current Temperatures, initial cells electricity
Amount and the loss of electricity increase electricity, and current battery charge is calculated.
Preferably, when the first run is tested after booting, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, Vocv-initFor battery booting floating voltage, Vbat
For cell load voltage, RbatFor the internal resistance of cell;
When being tested since the second wheel, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor battery
Load voltage, RbatFor the internal resistance of cell.
Preferably, the calculation formula of the loss of electricity or increase electricity are as follows:
Wherein, Δ C is loss of electricity or increases electricity, and ds is in seconds.
Preferably, the calculation formula of the current battery charge are as follows:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitTo open
Electromechanics amount, unit is percentage, Δ C is loss of electricity or increase electricity.
Compared with prior art, the invention has the following advantages that in the prior art, in order to allow user that can understand electronics in real time
How much is the electricity of equipment, is measured using battery capacity Coulomb meter module to battery, and mobile phone only needs to read corresponding deposit
Device interface can be obtained the charge value that battery has currently consumed, but Coulomb meter module is expensive, some cheap
Scheme or product in, it is contemplated that cost problem is not available Coulomb meter module.And in order to reach the mesh of measurement battery capacity
, in the present invention, a kind of disclosed test method of battery capacity, this method includes, according to the internal resistance of cell and battery of acquisition
Load voltage calculates battery load current, and loss of electricity is calculated according to battery load current or increases electricity;According to acquisition
Battery floating voltage obtain initial cells electricity;According to the battery total electricity of acquisition, the initial cells electricity and the damage
Power consumption increases electricity, and current battery charge is calculated.In this way, it is only necessary to which same class battery just discharges
Test, obtains the relevant parameter of battery, such as the internal resistance of cell, cell load voltage, battery floating voltage, battery total electricity, initial
Then the parameters such as battery capacity carry out a series of operation, so that it may current battery charge is obtained, certainly, and under different temperatures, electricity
The parameter in pond is different, so needing to test the battery parameter under different temperatures, when calculating current battery charge, can also be selected
The parameter under relevant temperature is taken to be calculated, obtained result also can be more accurate.In this way, there is no need to test electricity is specially arranged
The Coulomb meter module of pond electricity is allowed to the more market competitiveness to greatly reduce the cost of mobile terminal or electronic equipment.
Detailed description of the invention
Fig. 1 is the flow chart of the test method of the battery capacity of the embodiment of the present invention one;
Fig. 2 is the flow chart of the test method of the battery capacity of the embodiment of the present invention two;
Fig. 3 is the schematic diagram of the test macro of the battery capacity of the embodiment of the present invention three;
Fig. 4 is the schematic diagram of the test macro of the battery capacity of three another way of the embodiment of the present invention.
Wherein: 200, obtain module, 201, load current processing module, 202, initial quantity of electricity processing module, 203, current
Electricity processing module.
Specific embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although operations are described as the processing of sequence by flow chart, therein to be permitted
Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be rearranged.When it
The processing can be terminated when operation completion, it is also possible to have the additional step being not included in attached drawing.The processing
It can correspond to method, function, regulation, subroutine, subprogram etc..
Alleged " computer equipment " within a context, also referred to as " computer ", referring to can be by running preset program or referring to
Enable to execute numerical value and calculate and/or the intelligent electronic device of the predetermined process process such as logic calculation, may include processor with
Memory executes the survival prestored in memory instruction by processor to execute predetermined process process, or by ASIC,
The hardware such as FPGA, DSP execute predetermined process process, or are realized by said two devices combination.Computer equipment includes but unlimited
In server, PC, laptop, tablet computer, smart phone etc..
The computer equipment includes user equipment and the network equipment.Wherein, the user equipment or client include but
It is not limited to computer, smart phone, PDA etc.;The network equipment includes but is not limited to single network server, multiple network services
The server group of device composition is consisting of a large number of computers or network servers based on cloud computing (Cloud Computing)
Cloud, wherein cloud computing is one kind of distributed computing, a super virtual meter consisting of a loosely coupled set of computers
Calculation machine.Wherein, the computer equipment can isolated operation realize the present invention, also can access network and by with its in network
The present invention is realized in the interactive operation of his computer equipment.Wherein, network locating for the computer equipment includes but is not limited to
Internet, wide area network, Metropolitan Area Network (MAN), local area network, VPN network etc..
It should be noted that the user equipment, client, the network equipment and network etc. are only for example, other are existing
Or the computer equipment or network being likely to occur from now on are such as applicable to the present invention, should also be included in the scope of the present invention with
It is interior, and be incorporated herein by reference.
Method (some of them are illustrated by process) discussed hereafter can be by hardware, software, firmware, centre
Part, microcode, hardware description language or any combination thereof are implemented.Implement when with software, firmware, middleware or microcode
When, program code or code segment to implement necessary task can be stored in machine or computer-readable medium and (for example deposit
Storage media) in.Necessary task can be implemented in (one or more) processor.
Specific structure and function details disclosed herein are only representative, and are for describing the present invention show
The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and be not interpreted as
It is limited only by the embodiments set forth herein.
Although it should be understood that may have been used term " first ", " second " etc. herein to describe each unit,
But these units should not be limited by these terms.The use of these items is only for by a unit and another unit
It distinguishes.For example, without departing substantially from the range of exemplary embodiment, it is single that first unit can be referred to as second
Member, and similarly second unit can be referred to as first unit.Term "and/or" used herein above include one of them or
Any and all combinations of more listed associated items.
It should be understood that when a unit referred to as " connects " or when " coupled " to another unit, can directly connect
Another unit is connect or be coupled to, or may exist temporary location.In contrast, " directly connect when a unit is referred to as
Connect " or " direct-coupling " to another unit when, then temporary location is not present.It should explain in a comparable manner and be used to retouch
State the relationship between unit other words (such as " between being in ... " compared to " between being directly in ... ", " and with ... it is adjacent
Closely " compared to " with ... be directly adjacent to " etc.).
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless
Context clearly refers else, otherwise singular used herein above "one", " one " also attempt to include plural number.Also answer
When understanding, term " includes " and/or "comprising" used herein above provide stated feature, integer, step, operation,
The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit,
Component and/or combination thereof.
It should further be mentioned that the function action being previously mentioned can be attached according to being different from some replace implementations
The sequence indicated in figure occurs.For example, related function action is depended on, the two width figures shown in succession actually may be used
Substantially simultaneously to execute or can execute in a reverse order sometimes.
The invention will be further described with preferred embodiment with reference to the accompanying drawing.
Wherein, the method for the present embodiment is mainly realized by mobile terminal or electronic equipment;Mobile terminal or electronics are set
Standby such as mobile phone, plate, it is possible to have network function can carry out communication connection with other terminals, but and be limited to above-mentioned several
Kind.
It should be noted that mobile terminal or electronic equipment are only for example, other nets that are existing or being likely to occur from now on
Network equipment and client are such as applicable to the present invention, should also be included within the scope of protection of the present invention, and include by reference
In this.In addition, the embodiment in the present invention is by way of example only, can be freely combined between embodiment and embodiment, Duo Geshi
Applying can also combine between example, as long as can be realized the effect in the present invention.
Embodiment one
As shown in Figure 1, disclosing a kind of test method of battery capacity in the present embodiment, which comprises
S101 calculates battery load current according to the internal resistance of cell of acquisition and cell load voltage, according to cell load electricity
Stream calculation obtains loss of electricity or increases electricity;
S102 obtains initial cells electricity according to the battery floating voltage of acquisition;
S103 according to the battery total electricity of acquisition, the initial cells electricity and the loss of electricity or increases electricity, meter
Calculation obtains current battery charge.
In this way, it is only necessary to by same class battery just discharge test, obtain the relevant parameter of battery, such as battery
Then the parameters such as internal resistance, cell load voltage, battery floating voltage, battery total electricity, initial cells electricity carry out a series of
Operation, so that it may obtain current battery charge, certainly, under different temperatures, the parameter of battery is different, so needing to test not
Battery parameter under synthermal, when calculating current battery charge, the parameter that can also choose under relevant temperature is calculated, and is obtained
Result also can be more accurate.In this way, there is no need to which the Coulomb meter module of test battery capacity is specially arranged, to greatly reduce
The cost of mobile terminal or electronic equipment is allowed to the more market competitiveness.
According to an example, which comprises calculated in the internal resistance of cell according to acquisition and cell load voltage
Battery load current, according to battery load current be calculated loss of electricity or increase electricity S101 the step of before: according to electricity
Tank discharge test obtains cell load voltage and battery total electricity under different temperatures, and corresponding battery floating voltage, electricity
Pond internal resistance, initial cells electricity (Tocv- r-c) corresponding relationship between three;
It is described that battery load current is calculated according to the internal resistance of cell and cell load voltage of acquisition, according to battery load current
The step of loss of electricity or increase electricity S101 is calculated includes: according to the internal resistance of cell and cell load electricity under Current Temperatures
Pressure calculates battery load current, and loss of electricity is calculated according to battery load current or increases electricity;
The step of battery floating voltage according to acquisition obtains initial cells electricity S102 includes: according to Current Temperatures
Under battery floating voltage obtain initial cells electricity;
It is described according to the battery total electricity of acquisition, initial cells electricity and the loss of electricity or increase electricity, calculate
It include: according to battery total electricity, the initial cells electricity and the institute under Current Temperatures to the step of current battery charge S103
It states loss of electricity or increases electricity, current battery charge is calculated.
Because battery parameter at different temperatures is different, the internal resistance of battery, capacity and floating voltage relationship, can follow
The variation of temperature and change, so needing to be tested at different temperature, when calculating battery capacity, it is also desirable to according to working as
Preceding temperature Selecting All Parameters are calculated, and the result calculated in this way also can be more accurate.In the present embodiment, need to make 5 temperature
Corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (T under degreeocv- r-c) corresponding relationship between three, 5
Temperature is -20 DEG C, -10 DEG C, 0 DEG C, 25 DEG C, 50 DEG C respectively.When calculating battery capacity, according to Current Temperatures, in conjunction with above-mentioned 5 temperature
Corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (T under degreeocv- r-c) corresponding relationship between three, it adopts
Corresponding battery floating voltage, the internal resistance of cell, the initial cells electricity under corresponding temperature are calculated with the method for linear interpolation
(Tocv- r-c) corresponding relationship between three.Current Temperatures are lower than -20 DEG C, directly adopt -20 DEG C of the unloaded electricity of corresponding battery
Pressure, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three;Current Temperatures are higher than 50 DEG C, directly adopt
50 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three;When
It, can be using -10 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial electricity when preceding temperature is between -20 DEG C to -10 DEG C
Pond electricity (Tocv- r-c) corresponding relationship Selecting All Parameters between three;When Current Temperatures are between -10 DEG C to 0 DEG C, it can use
0 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three chooses
Parameter;It, can be using 25 DEG C of the corresponding battery floating voltage, internal resistance of cell, initial when Current Temperatures are between 0 DEG C to 25 DEG C
Battery capacity (Tocv- r-c) corresponding relationship Selecting All Parameters between three;When Current Temperatures are between 25 DEG C to 50 DEG C, it can adopt
With 50 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship choosing between three
Take parameter.
More specifically, when the first run is tested after booting, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, Vocv-initFor battery booting floating voltage, Vbat
For cell load voltage, RbatFor the internal resistance of cell;
When being tested since the second wheel, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor battery
Load voltage, RbatFor the internal resistance of cell.
When electronic equipment is in discharge mode, Vocv is more than or equal to Vbat, so Ibat is 0 or positive value.
When electronic equipment is in charge mode, Vocv is less than or equal to Vbat, so Ibat is 0 or negative value.
In addition, the calculation formula of the loss of electricity or increase electricity are as follows:
Wherein, Δ C is loss of electricity or increases electricity, and ds is in seconds.Such as IbatFor positive value,
Δ C is then positive;Such as IbatFor negative value, Δ C is then negative.
In addition, the calculation formula of the current battery charge are as follows:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitTo open
Electromechanics amount, unit is percentage, Δ C is loss of electricity or increase electricity.
When equipment works in discharge mode, Δ C is positive, CcurTo reduce trend.
When equipment works in charge mode, Δ C is negative, CcurTo increase trend.
In the present embodiment, wherein Current Temperatures t can be obtained by the temperature measuring device measurement of electronic equipment.Wherein battery
Booting floating voltage Vocv-initIt can be obtained by the floating voltage measuring device measurement of electronic equipment.The wherein current zero load of battery
Voltage Vocv, can be by the electricity percentage C of last computation outcur, inquire the corresponding battery floating voltage, internal resistance of cell, initial
Battery capacity (Tocv- r-c) the corresponding relationship Selecting All Parameters between three obtain.Wherein present battery load voltage VbatIt can pass through
The load voltage measuring device measurement of electronic equipment obtains.
In the present embodiment, wherein battery capacity percentage C when bootinginit, the floating voltage V that is switched on can be passed throughocv-initIt looks into
Corresponding battery floating voltage, the internal resistance of cell, the corresponding relationship between initial cells electricity three is ask to obtain.For straight after being switched on
It connects on the interface UI for be shown in electronic equipment as battery capacity indication and the subsequent parameter for calculating electricity percentage.
Wherein, following corresponding battery floating voltage, electricity have been obtained according to the test at a certain temperature in the present embodiment
Pond internal resistance, initial cells electricity (Tocv- r-c) correspondence table between three:
Table 1 (25 DEG C)
Floating voltage (unit: mV) | Internal resistance (unit: m Ω) | Percentage (%) |
4286.6 | 375.8 | 2.083333333 |
4258.1 | 375.8 | 4.166666667 |
4233 | 376.4 | 6.25 |
4208.8 | 377.6 | 8.333333333 |
4185.8 | 379.4 | 10.41666667 |
4163.2 | 382 | 12.5 |
4141.2 | 385 | 14.58333333 |
4119.5 | 387.6 | 16.66666667 |
4098.1 | 391.2 | 18.75 |
4077.6 | 394.8 | 20.83333333 |
4062.5 | 400 | 22.91666667 |
4041.7 | 403 | 25 |
4013.5 | 404.4 | 27.08333333 |
3991.1 | 406 | 29.16666667 |
3975 | 408 | 31.25 |
3961.7 | 409.8 | 33.33333333 |
3944.6 | 406 | 35.41666667 |
3926 | 401.8 | 37.5 |
3906.8 | 396.2 | 39.58333333 |
3888.5 | 391.2 | 41.66666667 |
3872.1 | 387.6 | 43.75 |
3857.8 | 385.6 | 45.83333333 |
3845.1 | 385 | 47.91666667 |
… | … | … |
3632.1 | 545 | 97.91666667 |
3522.7 | 602.6 | 100 |
Table 2 (25 DEG C):
Floating voltage (unit: mV) | Internal resistance (unit: m Ω) | Percentage (%) |
4288.5 | 138.2 | 2.083333333 |
4264.8 | 178.1 | 4.166666667 |
4236.6 | 163.4 | 6.25 |
4208.1 | 165.6 | 8.333333333 |
4186.9 | 165 | 10.41666667 |
4166.7 | 163.8 | 12.5 |
4148.6 | 158.2 | 14.58333333 |
4117 | 155 | 16.66666667 |
4100.6 | 153.6 | 18.75 |
4078.5 | 153.2 | 20.83333333 |
4065 | 155.8 | 22.91666667 |
4040.8 | 155.8 | 25 |
4015.5 | 158.6 | 27.08333333 |
3993 | 163.4 | 29.16666667 |
3984.6 | 165.8 | 31.25 |
3962.4 | 168 | 33.33333333 |
3945.7 | 160.3 | 35.41666667 |
3930 | 178.2 | 37.5 |
3908.8 | 203.4 | 39.58333333 |
3886.4 | 200.8 | 41.66666667 |
3873.8 | 185 | 43.75 |
3856.2 | 173.5 | 45.83333333 |
3846.8 | 168.6 | 47.91666667 |
… | ... | … |
3638.2 | 348.8 | 97.5 |
3525.8 | 465.6 | 100 |
Table 3 (50 DEG C):
Below with reference to the scheme of 1 more detailed description the present embodiment of table.
According to principle, there are following relationships with the load current that flows through battery for battery capacity (mAh, milliampere hour):Wherein, C: battery capacity;I: the load current of battery is flowed through, as unit of mA;Dt: the period, with the second
For unit.
By taking electric discharge as an example, by the floating voltage, load voltage and internal resistance of battery, the load electricity of battery can be calculated
Stream, Current versus time, which carries out integral, can be obtained the electricity consumed, subtract the electricity consumed with the initial quantity of electricity of battery, can
Obtain current battery capacity.Battery capacity increases algorithm and so on when charging.
The acquisition of known parameters in the present embodiment:
1) it, cell load voltage: can be obtained by sampling battery voltage sensor ends ADC.
2) it, initial idle voltage: can be obtained by accessing CPU register interface.
3), battery total capacity: battery nominal capacity.
4), corresponding battery floating voltage, the internal resistance of cell, the corresponding relationship between initial cells electricity three:
For certain a set battery, under same temperature, battery floating voltage, the internal resistance of cell, initial cells electricity
Measure (Tocv- r-c) corresponding relationship between three, this relationship can obtain by discharge measuring, as shown in Table 1 above.
It is as follows that implementation is specifically calculated in the present embodiment:
1) it, tables look-up to obtain initial cells electricity percent value C by table 1 by initial idle voltage0;
2) it, tables look-up to obtain internal resistance of cell R by table 1 by initial idle voltageint.Cell load is calculated as follows
Electric current:
I=(Vocv-Vbat)/Rint
Wherein, Vocv: initial idle voltage;Vbat: load voltage;I: battery load current;Rint: the internal resistance of cell.
3) it was, an integration period by 10 seconds, waits 10 seconds
4) it, calculates in an integration period and has consumed electricity C1, C1=I*T/3600, wherein T: integration period is now 10
Second;
5) current electric quantity percentage C, C=C, are calculated0-(C1/Cmax* 100%), wherein Cmax: battery total capacity.
Therefore, current electric quantity percentage C is calculated as procedure described above.
In addition, calculating currently by after electricity percentage, for convenience after calculating, can after calculating,
Using the calculated result of C as new C0Storage, then, passes through new C0Current floating voltage is obtained, that is, uses new C0By table 1
It tables look-up to obtain current floating voltage value, then proceedes to calculate according to above-mentioned steps.
Embodiment two
The present embodiment is that current electric quantity calculating in embodiment is described in further detail, as shown in connection with fig. 2.
Step 1: according to collected Current Temperatures t and 5 temperature (- 20 DEG C, -10 DEG C, 0 DEG C, 25 DEG C, 50 DEG C)
Under battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three, it is inserted using linear
The method dynamic of value calculates the battery floating voltage, the internal resistance of cell, initial cells electricity (T of corresponding Current Temperaturesocv- r-c) three
Corresponding relationship between person.Simultaneously according to collected Current Temperatures and 5 temperature (- 20 DEG C, -10 DEG C, 0 DEG C, 25 DEG C,
50 DEG C) under battery total capacity Cmax(t), the battery total capacity of corresponding Current Temperatures is calculated by the method dynamic of linear interpolation
Cmax。
Step 2: according to collected battery booting floating voltage Vocv-initEnquiry form Tocv-r-cWhen obtaining being switched on
Battery capacity percentage Cinit。
Step 3: according to battery floating voltage Vocv(when the first run operation tested after booting, VocvReplace with the booting of battery
Floating voltage Vocv-init), enquiry form Tocv-r-cObtain internal resistance of cell R at this timebat, and combine collected cell load
Voltage Vbat, calculate battery load current Ibat, formula is as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor battery
Load voltage, RbatFor the internal resistance of cell.
Step 4: with 10 seconds for an integration period, therefore step 5 is carried out after being delayed 10 seconds.
Step 5: by battery load current IbatIt is scaled electricity Δ C ' as follows:
Wherein, Δ C ' is electricity, IbatFor battery load current.
Δ C ' is added to loss of electricity or is increased in electricity Δ C.
Step 6: according to booting electricity Cinit, loss of electricity or increase electricity Δ C, current battery charge CmaxValue, press
Following formula calculates current electric quantity percentage Ccur:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitTo open
Electromechanics amount, unit is percentage, Δ C is loss of electricity or increase electricity.
Step 7: according to collected Current Temperatures and 5 temperature (- 20 DEG C, -10 DEG C, 0 DEG C, 25 DEG C, 50 DEG C)
Under battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three, it is inserted using linear
The method dynamic of value calculates the T of corresponding Current Temperatures tocv-r-c.Simultaneously according to collected Current Temperatures t and 5
Battery total capacity C at temperature (- 20 DEG C, -10 DEG C, 0 DEG C, 25 DEG C, 50 DEG C)max(t), calculated by the method dynamic of linear interpolation
The C of Current Temperatures t is corresponded to outmax。
Step 8: according to current electric quantity percentage CcurValue, enquiry form Tocv- r-c obtains present battery floating voltage
Vocv。
In step 6, the percentage of current electric quantity is just calculated, the battery capacity indication as UI display interface.
After step 8, it can return to step 3 and carry out next round operation.
In the present embodiment, with 10 seconds for an integration period in step 4, it can also be integrated using other times as one
Period, such as 5 seconds, it 8 seconds, 11 seconds, 12 seconds etc., can calculate, be the concrete mode in this embodiment for 10 seconds,
And without limitation.
Embodiment three
As shown in figure 3, the present embodiment discloses a kind of test macro of battery capacity, the system comprises:
Load current processing module 201, for calculating cell load according to the internal resistance of cell and cell load voltage of acquisition
Electric current is calculated loss of electricity according to battery load current or increases electricity;
Initial quantity of electricity processing module 202, for obtaining initial cells electricity according to the battery floating voltage of acquisition;
Current electric quantity processing module 203, for according to the battery total electricity of acquisition, the initial cells electricity and the damage
Power consumption increases electricity, and current battery charge is calculated.
In this way, it is only necessary to by same class battery just discharge test, obtain the relevant parameter of battery, such as battery
Then the parameters such as internal resistance, cell load voltage, battery floating voltage, battery total electricity, initial cells electricity carry out a series of
Operation, so that it may obtain current battery charge, certainly, under different temperatures, the parameter of battery is different, so needing to test not
Battery parameter under synthermal, when calculating current battery charge, the parameter that can also choose under relevant temperature is calculated, and is obtained
Result also can be more accurate.In this way, there is no need to which the Coulomb meter module of test battery capacity is specially arranged, to greatly reduce
The cost of mobile terminal or electronic equipment is allowed to the more market competitiveness.
According to an example, as shown in figure 4, the system comprises module 200 is obtained, the acquisition module 200 is used for root
It is tested according to battery discharge, obtains the cell load voltage and battery total electricity under different temperatures, and the unloaded electricity of corresponding battery
Pressure, the internal resistance of cell, the corresponding relationship between initial cells electricity three;
The load current processing module 201 is also used to: according to the internal resistance of cell and cell load voltage under Current Temperatures
Battery load current is calculated, loss of electricity is calculated according to battery load current or increases electricity;
The initial quantity of electricity processing module 202 is also used to: obtaining initial electricity according to the battery floating voltage under Current Temperatures
Pond electricity;
The current electric quantity processing module 203 is also used to: according to battery total electricity, the initial cells under Current Temperatures
Electricity and the loss of electricity increase electricity, and current battery charge is calculated.
Because battery parameter at different temperatures is different, the internal resistance of battery, capacity and floating voltage relationship, can follow
The variation of temperature and change, so needing to be tested at different temperature, when calculating battery capacity, it is also desirable to according to working as
Preceding temperature Selecting All Parameters are calculated, and the result calculated in this way also can be more accurate.In the present embodiment, need to make 5 temperature
Corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (T under degreeocv- r-c) corresponding relationship between three, 5
Temperature is -20 DEG C, -10 DEG C, 0 DEG C, 25 DEG C, 50 DEG C respectively.When calculating battery capacity, according to Current Temperatures, in conjunction with above-mentioned 5 temperature
Corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (T under degreeocv- r-c) corresponding relationship between three, it adopts
Corresponding battery floating voltage, the internal resistance of cell, the initial cells electricity under corresponding temperature are calculated with the method for linear interpolation
(Tocv- r-c) corresponding relationship between three.Current Temperatures are lower than -20 DEG C, directly adopt -20 DEG C of the unloaded electricity of corresponding battery
Pressure, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three;Current Temperatures are higher than 50 DEG C, directly adopt
50 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three;When
It, can be using -10 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial electricity when preceding temperature is between -20 DEG C to -10 DEG C
Pond electricity (Tocv- r-c) corresponding relationship Selecting All Parameters between three;When Current Temperatures are between -10 DEG C to 0 DEG C, it can use
0 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship between three chooses
Parameter;It, can be using 25 DEG C of the corresponding battery floating voltage, internal resistance of cell, initial when Current Temperatures are between 0 DEG C to 25 DEG C
Battery capacity (Tocv- r-c) corresponding relationship Selecting All Parameters between three;When Current Temperatures are between 25 DEG C to 50 DEG C, it can adopt
With 50 DEG C of corresponding battery floating voltage, the internal resistance of cell, initial cells electricity (Tocv- r-c) corresponding relationship choosing between three
Take parameter.
More specifically, when the first run is tested after booting, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, Vocv-initFor battery booting floating voltage, Vbat
For cell load voltage, RbatFor the internal resistance of cell;
When being tested since the second wheel, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor battery
Load voltage, RbatFor the internal resistance of cell.
When electronic equipment is in discharge mode, Vocv is more than or equal to Vbat, so Ibat is 0 or positive value.
When electronic equipment is in charge mode, Vocv is less than or equal to Vbat, so Ibat is 0 or negative value.
In addition, the calculation formula of the loss of electricity or increase electricity are as follows:
Wherein, Δ C is loss of electricity or increases electricity, and ds is in seconds.Such as IbatIt is positive
Value, Δ C are then positive;Such as IbatFor negative value, Δ C is then negative.
In addition, the calculation formula of the current battery charge are as follows:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitTo open
Electromechanics amount, unit is percentage, Δ C is loss of electricity or increase electricity.
When equipment works in discharge mode, Δ C is positive, CcurTo reduce trend.
When equipment works in charge mode, Δ C is negative, CcurTo increase trend.
In the present embodiment, wherein Current Temperatures t can be obtained by the temperature measuring device measurement of electronic equipment.Wherein battery
Booting floating voltage Vocv-initIt can be obtained by the floating voltage measuring device measurement of electronic equipment.The wherein current zero load of battery
Voltage Vocv, can be by the electricity percentage C of last computation outcur, inquire the corresponding battery floating voltage, internal resistance of cell, initial
Battery capacity (Tocv- r-c) the corresponding relationship Selecting All Parameters between three obtain.Wherein present battery load voltage VbatIt can pass through
The load voltage measuring device measurement of electronic equipment obtains.
In the present embodiment, wherein battery capacity percentage C when bootinginit, the floating voltage V that is switched on can be passed throughocv-initIt looks into
Corresponding battery floating voltage, the internal resistance of cell, the corresponding relationship between initial cells electricity three is ask to obtain.For straight after being switched on
It connects on the interface UI for be shown in electronic equipment as battery capacity indication and the subsequent parameter for calculating electricity percentage.
Wherein, following corresponding battery floating voltage, electricity have been obtained according to the test at a certain temperature in the present embodiment
Pond internal resistance, initial cells electricity (Tocv- r-c) correspondence table between three:
Table 1 (0 DEG C):
Table 2 (25 DEG C):
Table 3 (50 DEG C):
Below with reference to the scheme of 1 more detailed description the present embodiment of table.
According to principle, there are following relationships with the load current that flows through battery for battery capacity (mAh, milliampere hour):Wherein, C: battery capacity;I: the load current of battery is flowed through, as unit of mA;Dt: the period, with the second
For unit.
By taking electric discharge as an example, by the floating voltage, load voltage and internal resistance of battery, the load electricity of battery can be calculated
Stream, Current versus time, which carries out integral, can be obtained the electricity consumed, subtract the electricity consumed with the initial quantity of electricity of battery, can
Obtain current battery capacity.Battery capacity increases algorithm and so on when charging.
The acquisition of known parameters in the present embodiment:
1) it, cell load voltage: can be obtained by sampling battery voltage sensor ends ADC.
2) it, initial idle voltage: can be obtained by accessing CPU register interface.
3), battery total capacity: battery nominal capacity.
4), corresponding battery floating voltage, the internal resistance of cell, the corresponding relationship between initial cells electricity three:
For certain a set battery, under same temperature, battery floating voltage, the internal resistance of cell, initial cells electricity
Measure (Tocv- r-c) corresponding relationship between three, this relationship can obtain by discharge measuring, as shown in Table 1 above.
It is as follows that implementation is specifically calculated in the present embodiment:
1) it, tables look-up to obtain initial cells electricity percent value C by table 1 by initial idle voltage0;
2) it, tables look-up to obtain internal resistance of cell R by table 1 by initial idle voltageint.Cell load is calculated as follows
Electric current:
I=(Vocv-Vbat)/Rint
Wherein, Vocv: initial idle voltage;Vbat: load voltage;I: battery load current;Rint: the internal resistance of cell.
3) it was, an integration period by 10 seconds, waits 10 seconds
4) it, calculates in an integration period and has consumed electricity C1, C1=I*T/3600, wherein T: integration period is now 10
Second;
5) current electric quantity percentage C, C=C, are calculated0-(C1/Cmax* 100%), wherein Cmax: battery total capacity.
Therefore, current electric quantity percentage C is calculated as procedure described above.
In addition, calculating currently by after electricity percentage, for convenience after calculating, can after calculating,
Using the calculated result of C as new C0Storage, then, passes through new C0Current floating voltage is obtained, that is, uses new C0By table 1
It tables look-up to obtain current floating voltage value, then proceedes to calculate according to above-mentioned steps.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (2)
1. a kind of test method of battery capacity, which is characterized in that the described method includes:
It is tested according to battery discharge, cell load voltage and battery total electricity and corresponding battery under acquisition different temperatures
Floating voltage, the internal resistance of cell, the corresponding relationship between initial cells electricity three;
According to the internal resistance of cell and cell load voltage calculating battery load current under Current Temperatures, according to battery load current meter
Calculation obtains loss of electricity or increases electricity;
Initial cells electricity is obtained according to the battery floating voltage under Current Temperatures;
According to battery total electricity, the initial cells electricity and the loss of electricity under Current Temperatures or increase electricity, calculates
Obtain current battery charge;
When the first run is tested after booting, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, Vocv-initFor battery booting floating voltage, VbatFor battery
Load voltage, RbatFor the internal resistance of cell;
When being tested since the second wheel, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor cell load electricity
Pressure, RbatFor the internal resistance of cell;
The loss of electricity or the calculation formula for increasing electricity are as follows:
Wherein, Δ C is loss of electricity or increases electricity, and ds is in seconds;
The calculation formula of the current battery charge are as follows:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitFor booting electricity
Amount, unit is percentage, Δ C is loss of electricity or increase electricity.
2. a kind of test macro of battery capacity, which is characterized in that the system comprises: module is obtained, the acquisition module is used
It is tested according to battery discharge, obtains the cell load voltage and battery total electricity under different temperatures, and corresponding battery sky
Carry voltage, the internal resistance of cell, the corresponding relationship between initial cells electricity three;
Load current processing module, for according to the internal resistance of cell and cell load voltage calculating cell load electricity under Current Temperatures
Stream is calculated loss of electricity according to battery load current or increases electricity;
Initial quantity of electricity processing module, for obtaining initial cells electricity according to the battery floating voltage under Current Temperatures;
Current electric quantity processing module, for according to battery total electricity, the initial cells electricity and the damage under Current Temperatures
Power consumption increases electricity, and current battery charge is calculated;
When the first run is tested after booting, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, Vocv-initFor battery booting floating voltage, VbatFor battery
Load voltage, RbatFor the internal resistance of cell;
When being tested since the second wheel, the calculation formula of the battery load current are as follows:
Wherein, IbatFor battery load current, VocvFor the current floating voltage of battery, VbatFor cell load electricity
Pressure, RbatFor the internal resistance of cell;
The loss of electricity or the calculation formula for increasing electricity are as follows:
Wherein, Δ C is loss of electricity or increases electricity, and ds is in seconds;
The calculation formula of the current battery charge are as follows:
Wherein, CcurFor current battery charge, CmaxFor battery total electricity, CinitFor booting electricity
Amount, unit is percentage, Δ C is loss of electricity or increase electricity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610016646.8A CN105548905B (en) | 2016-01-12 | 2016-01-12 | A kind of test method and system of battery capacity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610016646.8A CN105548905B (en) | 2016-01-12 | 2016-01-12 | A kind of test method and system of battery capacity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105548905A CN105548905A (en) | 2016-05-04 |
CN105548905B true CN105548905B (en) | 2019-04-30 |
Family
ID=55828218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610016646.8A Expired - Fee Related CN105548905B (en) | 2016-01-12 | 2016-01-12 | A kind of test method and system of battery capacity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105548905B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102017214099A1 (en) * | 2017-08-11 | 2019-02-14 | Continental Automotive Gmbh | Mobile identification transmitter |
ES2879829T3 (en) * | 2017-08-25 | 2021-11-23 | Guangdong Oppo Mobile Telecommunications Corp Ltd | Terminal device and battery safety monitoring method and monitoring system for the same |
CN108051746A (en) * | 2017-11-02 | 2018-05-18 | 福建联迪商用设备有限公司 | A kind of determination methods and terminal of battery normal power supply |
CN107728075B (en) * | 2017-11-10 | 2020-01-14 | 珠海市古鑫电子科技有限公司 | Method and device for rapidly detecting service life of lithium battery |
CN109031142B (en) * | 2018-07-19 | 2020-09-25 | 电子科技大学 | Secondary battery model based on piecewise linear interpolation and state estimation method |
CN109061498B (en) * | 2018-08-10 | 2021-03-30 | 深圳芯智汇科技有限公司 | Battery residual electric quantity metering chip and metering method |
CN108983109B (en) * | 2018-08-10 | 2020-11-20 | 深圳芯智汇科技有限公司 | Current estimation chip for battery, estimation method and residual electric quantity metering system |
CN109061497B (en) * | 2018-08-10 | 2020-11-20 | 深圳芯智汇科技有限公司 | Battery residual electric quantity metering system and method |
DE102019211913A1 (en) * | 2018-11-09 | 2020-05-14 | Volkswagen Aktiengesellschaft | Method for determining an aging condition of a battery, control unit and vehicle |
CN110794315B (en) * | 2019-08-06 | 2022-07-12 | 厦门亿联网络技术股份有限公司 | Method for detecting electric quantity of rechargeable battery |
CN110687458A (en) * | 2019-09-29 | 2020-01-14 | 北京四达时代软件技术股份有限公司 | Terminal battery electric quantity determination method and device |
CN111157901A (en) * | 2020-01-14 | 2020-05-15 | 上海荃信信息技术有限公司 | Battery electric quantity detection method and device |
CN113933717B (en) * | 2020-07-14 | 2024-10-25 | 北京小米移动软件有限公司 | Method and device for obtaining electric quantity of battery, battery and electronic equipment |
Citations (2)
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 |
CN104880673A (en) * | 2015-05-11 | 2015-09-02 | 深圳天珑无线科技有限公司 | Method for measuring battery electric quantity and mobile terminal |
-
2016
- 2016-01-12 CN CN201610016646.8A patent/CN105548905B/en not_active Expired - Fee Related
Patent Citations (2)
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 |
CN104880673A (en) * | 2015-05-11 | 2015-09-02 | 深圳天珑无线科技有限公司 | Method for measuring battery electric quantity and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105548905A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105548905B (en) | A kind of test method and system of battery capacity | |
CN104698388B (en) | The cell degradation detection method and its device of a kind of mobile terminal | |
Han et al. | Simplification of physics-based electrochemical model for lithium ion battery on electric vehicle. Part I: Diffusion simplification and single particle model | |
CN106980091B (en) | A kind of electrokinetic cell system health status estimation method based on fractional model | |
CN104535933B (en) | Battery remaining capacity measuring method and system | |
CN102645571B (en) | One kind detection circuit and electric terminal | |
Chun et al. | Current sensor-less state-of-charge estimation algorithm for lithium-ion batteries utilizing filtered terminal voltage | |
CN106574948B (en) | A kind of electricity estimation method and terminal | |
CN107505578A (en) | A kind of method of lithium battery electric charge state estimation | |
JP2013501326A (en) | Method for controlling a battery and apparatus for carrying out the method | |
CN104977545A (en) | Power battery charge state estimation method and system | |
Yun et al. | State-of-charge estimation method for lithium-ion batteries using extended kalman filter with adaptive battery parameters | |
TWI687701B (en) | Method for determining state of charge and electronic device thereof | |
TW201403105A (en) | Method and system for calculating capacities of battery | |
CN102918409B (en) | The method of the dump energy of the battery of estimation mancarried device | |
CN108051756A (en) | Evaluation method, system and the storage medium of accumulator SOC | |
CN113030742A (en) | Method, device and equipment for estimating battery capacity | |
CN113359044A (en) | Method, device and equipment for measuring residual capacity of battery | |
CN113917348A (en) | Battery SOC correction method and device, computer equipment and storage medium | |
CN106093517A (en) | Lithium ion battery open circuit voltage curve approximating method based on Hermite's interpolation method | |
WO2018179852A1 (en) | Storage battery control device and control method | |
Pang et al. | A composite state of charge estimation for electric vehicle lithium-ion batteries using back-propagation neural network and extended kalman particle filter | |
CN104914381A (en) | Mobile terminal battery capacity smooth display method and system | |
CN107064808B (en) | The SOC estimation method and device of battery | |
Lee et al. | Evaluating battery aging on mobile devices |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190430 Termination date: 20210112 |