A kind of direct current resistance measuring method for electric vehicle battery pack
Technical field
The present invention relates to the measuring method of a kind of batteries of electric automobile group internal resistance.
Background technology
The DC internal resistance of cell (R) method of testing is comparatively simple, by the terminal voltage (U) of synchronous sampling battery and the working current (I) of battery, and utilize the change in voltage corresponding to curent change of the battery shown in Fig. 1 to obtain the DC internal resistance of battery.Computing method are the DC internal resistance R=(U2-U1 of battery)/(I1-I2).
But when battery strings is unified into after group, the electric current that flows through each cell is just the same, so electric battery generally only gathers an electric current, and the voltage of all cells all will gather, in order to save cost, generally do not adopt a plurality of D/A converting circuits to carry out parallel sampling to cell, but adopt the sampling pattern of patrolling and examining in turn, cover that and just had monomer battery voltage sampling and the nonsynchronous problem of current sample, for conventional portable equipment, curent change slow (as Fig. 2) due to battery, so the asynchronous battery DC internal resistance estimation precision impact bringing of the voltage and current of cell is little, negligible.Asynchronous sampling causes the internal resistance of battery to become: R '=(U2 '-U1)/(I1-I2), internal resistance error is Δ R=R '-R=(U2 '-U2)/(I1-I2).
But when electric battery is applied to electric automobile, the electric current of electric battery changes fast, so when voltage and current is nonsynchronous, the estimation of the DC internal resistance of electric battery will occur very large error.Referring to Fig. 3.Asynchronous sampling causes the internal resistance of battery to become: R ' '=(U2 ' '-U2)/(I1-I2), internal resistance error is Δ R=R ' '-R=(U2 ' '-U2)/(I1-I2).Visible, when the curent change of electric battery is very fast, the DC internal resistance of electric battery detects error will obviously be increased, and even leads to errors.
Summary of the invention
In view of this, the present invention can effectively eliminate the large technical matters of DC internal resistance measuring and calculating error causing due to time delay while gathering voltage and current, and a kind of measuring and calculating direct current resistance measuring method for electric vehicle battery pack is accurately provided.
The present invention adopts following scheme to realize:
A direct current resistance measuring method for electric vehicle battery pack, this measuring method comprises the steps:
1), get certain hour cycle T, gather cell voltage maximal value Umax and voltage minimum Umin in this cycle T;
2), gather battery current maximal value Imax and current minimum Imin in this cycle T;
3), utilize following formula to calculate electric battery direct current resistance R, R=(Umax-Umin)/(Imax-Imin).
Wherein, described period of time T is that voltage is synchronizeed the integral multiple of the time difference with electric current.
Wherein, described cell voltage maximal value Umax, voltage minimum Umin, battery current maximal value Imax, current minimum Imin measuring and calculating process is specific as follows:
A, measuring and calculating start, now cell voltage maximal value Umax equals cell voltage currency, cell voltage minimum value Umin also equals cell voltage currency, battery current maximal value Imax equals battery current currency, battery current minimum value Imin also equals battery current currency, and built-in timer makes zero;
B, judge whether timer time value is less than period of time T, if timer time value is to be less than period of time T, judge whether new primary voltage sampling completes, if new primary voltage sampling completes, and new primary voltage value is greater than cell voltage maximal value, and cell voltage maximal value Umax equals new primary voltage value; If new primary voltage value is not more than cell voltage maximal value, judge whether new primary voltage value is less than cell voltage minimum value, if new primary voltage value is less than cell voltage minimum value, cell voltage minimum value Umin equals new primary voltage value; Complete thus the collection of cell voltage maximal value Umax and cell voltage minimum value Umin; If new primary voltage value is not less than cell voltage minimum value, enter next step new primary current collection; If timer time value is not less than period of time T, jump directly to steps d;
C, if new primary voltage sampling does not complete, enter new primary current gatherer process, first judge whether new primary current sampling completes, if new primary current has been sampled, judge whether new primary current value is greater than battery current maximal value, if new primary current maximal value is greater than battery current maximal value, battery current maximal value Imax equals new primary current value, if new primary current maximal value is not more than battery current maximal value, judge whether new primary current value is less than battery current minimum value, if new primary current value is less than battery current minimum value, battery current minimum value Imin equals new primary current value, complete thus battery current maximal value Imax, the collection of battery current minimum value Imin, if new primary current value is not less than battery current minimum value, enters b step and circulate, if new primary current collection does not complete, enter b step and circulate,
D, according to formula R=(Umax-Umin)/(Imax-Imin) calculate battery DC internal resistance value.
The problem that the method that the present invention discloses has avoided cell voltage, the asynchronous battery DC internal resistance estimation error causing of current sample to increase, has realized effective measuring and calculating of battery DC internal resistance, and measuring and calculating accuracy is high.
Accompanying drawing explanation
Fig. 1 is existing cell DC internal resistance and change in voltage, curent change graph of relation;
Fig. 2 is battery DC internal resistance and change in voltage, curent change graph of relation under detection out of step conditions;
Fig. 3 is battery DC internal resistance and change in voltage under electric automobile work condition, curent change graph of relation;
Fig. 4 is that cell voltage under electric automobile work condition, current sample postpone to cause batteries of electric automobile operating voltage and the nonsynchronous cell voltage current waveform figure of electric current;
Fig. 5 is embodiment of the present invention process flow diagram.
Embodiment
For the ease of it will be appreciated by those skilled in the art that below in conjunction with accompanying drawing and embodiment, the present invention is described in further detail:
If accompanying drawing 4 is because sampling delay causes batteries of electric automobile group operating voltage and the nonsynchronous cell voltage current waveform of electric current.From scheming, there is obvious asynchronism in the voltage and current of battery.If adopt traditional DC internal resistance by the direct estimating battery of electric current and voltage changing value will there will be obvious difference.
Consider the sampling delay between battery voltage and electric current, the period of time T of selecting multiple sampling to postpone is the synchronism judgement cycle, as (this synchronous time difference calculates by sense cycle and communication delay to select 10 times of synchronous time differences, because prior art, is not described further at this) as 1 period of time T.Different from the mode of Direct Sampling electric current and voltage, the value that this patent detects voltage and current compares, obtain voltage max Umax in the synchronism judgement cycle and maximal value Imax and the current minimum Imin of voltage minimum Umin and electric current, then adopt the current maxima Imax that obtains within this synchronism judgement cycle length and minimum value Imin and voltage max Umax and minimum value Umin to calculate the DC internal resistance of electric battery, i.e. the DC internal resistance R=(Umax-Umin of battery)/(Imax-Imin).
Concrete steps as shown in Figure 5, for:
A, measuring and calculating start, now cell voltage maximal value Umax equals cell voltage currency, cell voltage minimum value Umin also equals cell voltage currency, battery current maximal value Imax equals battery current currency, battery current minimum value Imin also equals battery current currency, and built-in timer makes zero;
B, judge whether timer time value is less than period of time T, if timer time value is to be less than period of time T, judge whether new primary voltage sampling completes, if new primary voltage sampling completes, and new primary voltage value is greater than cell voltage maximal value, and cell voltage maximal value Umax equals new primary voltage value; If new primary voltage value is not more than cell voltage maximal value, judge whether new primary voltage value is less than cell voltage minimum value, if new primary voltage value is less than cell voltage minimum value, cell voltage minimum value Umin equals new primary voltage value; Complete thus the collection of cell voltage maximal value Umax and cell voltage minimum value Umin; If new primary voltage value is not less than cell voltage minimum value, enter next step new primary current collection; If timer time value is not less than period of time T, jump directly to steps d;
C, if new primary voltage sampling does not complete, enter new primary current gatherer process, first judge whether new primary current sampling completes, if new primary current has been sampled, judge whether new primary current value is greater than battery current maximal value, if new primary current maximal value is greater than battery current maximal value, battery current maximal value Imax equals new primary current value, if new primary current maximal value is not more than battery current maximal value, judge whether new primary current value is less than battery current minimum value, if new primary current value is less than battery current minimum value, battery current minimum value Imin equals new primary current value, complete thus battery current maximal value Imax, the collection of battery current minimum value Imin, if new primary current value is not less than battery current minimum value, enters b step and circulate, if new primary current collection does not complete, enter b step and circulate,
D, according to formula R=(Umax-Umin)/(Imax-Imin) calculate battery DC internal resistance value.
Be more than wherein specific implementation of the present invention, it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these apparent replacement forms all belong to protection scope of the present invention.