Disclosure of Invention
The present invention is directed to overcoming the above-mentioned drawbacks of the prior art and providing a method for diagnosing a short circuit in a battery, which is fast and accurately identified.
The purpose of the invention can be realized by the following technical scheme:
a method for diagnosing the internal short circuit of a battery is used for obtaining the internal short circuit resistance value of a short circuit battery monomer in a battery pack, and comprises the following steps:
1) acquiring the charge state difference of each battery monomer in the battery pack;
2) calculating the difference electric quantity of each single battery according to the charge state difference of the single batteries in the battery pack
3) Obtaining the change rate L of the difference electric quantity by linear regression to obtain the measuring time of the battery monomerAverage leakage current I in a segmentdeplete;
4) According to the average leakage current IdepleteMeasuring the average terminal voltage value of the battery pack in the time section to obtain the approximate short circuit resistance value of each battery monomer in the battery pack;
5) comparing the approximate short-circuit resistance value of each single battery with a set short-circuit resistance value threshold, if the approximate short-circuit resistance value is larger than the short-circuit resistance value threshold, judging that the single battery is a normal single battery, and if the approximate short-circuit resistance value is smaller than or equal to the short-circuit resistance value threshold, judging that the single battery is a short-circuit single battery.
The step 1) specifically comprises the following steps:
11) the method comprises the steps that the overall characteristics of an average battery model equivalent battery pack are adopted, the current value of the battery pack and the average voltage value of the battery pack are used as input values, and the average charge state of the battery pack is estimated in a high-frequency mode according to an extended Kalman filter EKF algorithm;
12) the method comprises the steps of adopting a difference battery model to be equivalent to the difference between the characteristics of single batteries in a battery pack and the overall characteristics of the battery pack, taking a current value I of the battery pack, the difference value between the terminal voltage of the single batteries and the average terminal voltage of the battery pack and the average charge state value estimated by the average battery model as input values, and estimating the charge state difference of each single battery in a low-frequency mode according to an extended Kalman filter EKF algorithm.
In the step 2), the calculation formula of the difference electric quantity is as follows:
ΔCk=C·ΔSOCk
wherein C is the current capacity of a single battery in the battery pack, delta SOCkIs the differential state of charge, Δ C, between the cell SOC at time k and the average SOC of the battery packkThe difference electric quantity between the single battery electric quantity and the average electric quantity of the battery pack at the moment k is taken as the electric quantity.
In the step 3), the calculation formula of the change rate L of the difference electric quantity is as follows:
wherein, is(n)Is the value of the linear regression line at the post-cut-off point within the measurement time interval, Δ C(1)Is the value of the linear regression line at the starting point in the measurement time interval, t(n)To measure the end point of a time interval, t(1)Is the starting point of the measurement time interval.
In the step 4), the calculation formula of the internal short circuit resistance value of the short circuit battery monomer in the battery pack is as follows:
wherein R isISCInternal short circuit resistance value, U, of a short circuit cell in a battery packmeanTo measure the average terminal voltage value of the battery during the time interval,the terminal voltage value of the ith battery pack collected in the measurement time interval is measured, and n is the total terminal voltage value of the battery pack collected in the measurement time interval.
In the step 5), the set short-circuit resistance threshold is 200 Ω.
In the step 11), the average battery model is a second-order RC model.
The expression of the average battery model is as follows:
Umean=Uoc(SOCmean)-IR0-UD-UT
wherein, UmeanTo average terminal voltage of the cell model, UocVoltage source, SOC, being a model of an average batterymeanIs the average state of charge of the battery, I is the battery current value, R0Is internal resistance, UDFor distributing voltage, U, for active polarisation of internal resistanceTAnd voltage distribution for concentration polarization internal resistance.
In the step 12), the differential battery model is a Rint model
The expression of the differential battery model is as follows:
wherein,in order to differentiate the terminal voltage values of the batteries,to be at SOCmeanOpen circuit voltage U of nearby i-th single battery and average batteryocDifference, Δ SOCiIs the average state of charge SOC of the ith single battery and the battery packmeanI is the battery current value, Δ RiThe difference internal resistance of the ith single battery and the average internal resistance of the battery pack.
Compared with the prior art, the invention has the following advantages:
firstly, the diagnosis is rapid: the method can quantitatively diagnose the single battery with the internal short circuit in the battery pack on line with a small calculated amount under the condition of limited hardware, obtain the approximate short circuit resistance value of the single internal short circuit battery in the battery pack, quantitatively predict in advance when the internal short circuit sign is small, reduce the probability of thermal runaway of the battery and improve the service performance of the battery pack.
Secondly, accurately identifying: the method adopts an average battery model and a difference battery model, and combines an extended Kalman filtering EKF algorithm to realize the identification of the state of charge difference of each battery monomer in the battery pack, thereby realizing the diagnosis of the internal short circuit fault of the battery pack and improving the dynamic property, the safety and the durability of the battery pack.
Examples
The method identifies the difference of the SOC of the battery monomer in the battery pack by combining the EKF with the frequency division model, diagnoses the approximate short-circuit resistance value of the internal short-circuit battery monomer by utilizing the differential SOC delta SOC obtained by the method, and can diagnose the approximate short-circuit resistance value of the internal short-circuit battery monomer in the battery pack in an online quantitative manner with lower calculated amount. The short circuit occurs in the battery cell, the internal part of the battery cell can form a loop, the electric quantity of the battery cell is continuously consumed, and the charge state difference delta SOC of the battery cell tends to increase continuously.
The flow of diagnosing the internal short circuit of the battery cell of the invention is shown in fig. 1, and specifically comprises the following steps:
s1, identifying the difference of the SOC of the battery monomer in the battery pack by using the working data of the battery pack measured by the sensor, combining the basic battery parameters of the battery pack, the frequency division model including an average battery model and a difference battery model, and the extended Kalman filter EKF;
step S1 specifically includes the following steps:
1) collecting battery pack working data by using a current sensor, a voltage sensor and a temperature sensor;
2) the second-order RC model shown in FIG. 2 is used as the overall characteristic of the equivalent battery pack of the average battery model, wherein the battery pack formed by connecting single batteries in series is regarded as a large battery, and the current value I of the battery pack measured by a current sensor and the average voltage value U 'measured by a voltage sensor are used'meanAs an input value, and combined with an EKF algorithm, to estimate the average state of charge (SOC) of the battery pack in a high frequency mannermeanAnd then the SOC is measuredmeanThe estimation result is output to a controller, and the controller controls charging and discharging of the battery pack.
In FIG. 2, R0Represents the internal resistance of the battery; r connected together in parallelDCDAnd RTCTRespectively representing the active polarization internal resistance and the concentration polarization internal resistance of the battery pack; u shapeDAnd UTAre respectively R in the modelDCDAnd RTCTThe distribution voltage of (1); u shapeocVoltage source for the average cell model, representing the open circuit voltage of the cell, U at equilibriumocAnd state of charge SOC of the battery packmeanThere is a one-to-one correspondence; u shapemeanThe terminal voltage of the average battery model. I is the current of the battery pack, since the identified battery pack is formed by connecting a plurality of single batteries in series, the currents passing through the battery pack and all the single batteries are equal and are measured by the current sensor.
The second-order RC model in the step 2) has the following parameter relation:
Umean=Uoc(SOCmean)-IR0-UD-UT(1)
therein, SOCmeanIndicating average state of charge of the battery, i.e. tablesDisplaying the average SOC of all single batteries in the battery pack; u shapeocRepresenting the open circuit voltage of the battery, U in equilibriumocValue and SOC ofmeanThe values of (a) have a one-to-one correspondence; i is the current magnitude of the battery pack, the battery pack of the scheme is formed by connecting a plurality of single batteries in series, and the currents passing through the battery pack and all the single batteries are equal; r0Expressing the ohmic internal resistance of the battery pack; u shapeDAnd UTA distribution voltage representing polarization internal resistance of the battery pack. U shapemeanIs the terminal voltage of the average cell model, theoretically the terminal voltage of all the cells in the battery packAverage value U '(measured by a voltage sensor)'meanEqual (generally, errors exist, because in the prior engineering practical application, in order to reduce the calculation amount, a simpler equivalent circuit model is adopted, the real characteristics of the battery can not be completely simulated, and only an approximate equivalent model is adopted), U'meanAs shown in formula (2):
in the formula,representing the terminal voltage of the ith single battery, and N represents the number of single batteries in the battery pack.
The EKF algorithm, the state equation and the output equation are respectively expressed as (3) and (4):
xk+1=f(xk,uk)+wk(3)
yk=g(xk,uk)+vk(4)
wherein, f (x)k,uk) Is a function of state, g (x)k,uk) As a measurement function, xkIs a state vector, ukTo be transportedIn value, u in step S2kValue of battery current, y, measured for current sensorkAs an output value, i.e., a model estimation value, y in step S2kFor the model output voltage, wk,vkIs a process noise with a mean value of 0 and random variance, which together determine the value of Kalman gain in the EKF algorithm, where wk,vkVariance of (d) is taken as Var (w)k)=1e-8,Var(vk) 0.01^ 2. The two variances represent the influence degree of external turbulence or parameter errors (including model and system parameter errors) on the output results of the model and the system, the smaller the value of the variance is, the higher the reliability of the corresponding value is, and the larger the two parameter values are, the larger the distortion degree of the corresponding output result is. Therefore, Var (w) is generally usedk) The larger, the Var (v)k) The smaller the interference degree of the input value is, the larger the interference degree of the input value is, the smaller the interference degree of the output comparison value of the system is, the more reliable the comparison value is, the more credible the system is about the actually measured comparison parameter value, and the larger the corresponding Kalman gain value is. In turn, Var (w)k) The smaller, the Var (v)k) The larger the input value, the more reliable the system is to believe that the measured parameters estimated by the model are also smaller in the corresponding kalman gain values. General prophase estimation is given as Var (w)k) Larger, Var (v)k) Smaller so that the estimated value converges as quickly as possible.
Obtaining the parameter matrix by adopting a first-order Taylor formula to linearize the formulas (3) and (4)
State vector x in EKF algorithmkCan be expressed as:
xk=[SOCmean,k,UD,k,UT,k]T(7)
therein, SOCmean,kRepresenting the average state of charge of the battery pack at the moment of the k node; u shapeD,kAnd UT,kAnd the distribution voltage represents the polarization internal resistance of the battery pack at the moment of the k node.
g(xk,uk)=Uoc(SOCmean,k)-IkR0-UD,k-UT,k(9)
In the formula, f (x)k,uk) Is a function of the state of the average cell; g (x)k,uk) A measurement function for an average battery, i.e., an average battery model estimated terminal voltage value of the average battery; and delta t is sampling time, and 1s is taken, namely the frequency of estimating the average SOC of the battery pack by the average battery model is 1 HZ. Tau isD,τTRespectively representing the active polarization internal resistance R of the batteryDCDSum concentration polarization internal resistance RTCT;SOCmean,kThe average state of charge of the battery pack at the k-node moment is the average SOC of all single batteries in the battery pack; u shapeD,kAnd UT,kDistributing voltage for polarization internal resistance of the battery pack at the k-node moment; i iskThe current value measured by the current sensor at the k node moment is obtained; u shapeoc(SOCmean,k) Representing the open-circuit voltage of the battery at the time of the k node, η being the coulombic efficiency, taking 1 when discharging and less than 1 when charging, here taking 0.99, R0Is the average internal resistance of the cell.
F (x) in the formula (8)k,uk) G (x) in (9)k,uk) For state vector xkPartial differentiation is carried out and respectively takenAndthe parameter matrix for obtaining the average cell model is:
3) using the Rint model shown in fig. 3 as a differential battery model to equate the difference between the characteristics of the single battery in the battery pack and the overall characteristics of the battery pack, using the current value I of the battery pack measured by the current sensor, and the difference between the average voltage value and the single voltage measured by the voltage sensorAs shown in equation (13), and average state of charge SOC estimated by the average battery modelmeanThe value is used as an input value and is combined with an EKF algorithm to estimate the SOC of the single battery in a low-frequency modeiAnd average state of charge SOC of battery packmeanDifference Δ SOC therebetweeniAnd estimating the delta SOC of the difference battery modeliThe value is output to the controller.
In the Rint model of step S3, the relationship between the parameters is:
ΔSOCirepresenting the average state of charge SOC of the ith single battery and the battery packmeanA difference of (a);is represented at SOCmeanOpen circuit voltage U of nearby i-th single battery and average batteryocThe difference is that, in the equilibrium state,value of and Δ SOCiHas a value ofA one-to-one correspondence relationship; Δ RiThe differential internal resistance of the ith single battery and the average internal resistance of the battery pack is represented;to differentiate the terminal voltage of the battery, theoretically with that of the ith cellAverage terminal voltage U with battery packmeanDifference of (2)Equality (usually, there is an error because the difference of the polarization internal resistances is not considered in the difference model, and the difference of the polarization internal resistances is considered to greatly increase the complexity of the calculation, and the applied model is an approximate difference battery model), as shown in equation (13):
the EKF algorithm of the step 3), the state equation and the output equation are shown as the formula (3) and the formula (4).
The state vector in the EKF algorithm of step 3) can be expressed as:
showing the battery SOC and the average state of charge SOC of the battery pack of the ith monomer at the moment of k nodemeanThe difference in (a).
In the formula,is a state function of the difference cell;a terminal voltage of the difference battery estimated for a measurement function of the difference battery, i.e., a difference battery model;representing the average state of charge SOC at equilibriummeanNear the i-th cell open circuit voltage and the average cell pack open circuit voltage Uoc(SOCmean) A difference of (a); Δ RiThe differential internal resistance of the ith single battery and the average internal resistance of the battery pack is represented; i iskThe current value measured by the current sensor at the k node moment is obtained.
F (x) in formula (15)k) G (x) in (16)k) For state vector xkPartial differentiation is carried out and respectively takenAnd
it is noted that at SOCmeanNear Δ SOC- Δ UocHas a one-to-one correspondence relationship between them, the formula (A)18) Is shown in SOCmeanNear Δ UocThe derivative value for Δ SOC may also be expressed as:
and 3) in the step 3), the frequency of the delta SOC estimated by the differential battery model is 0.01 HZ.
S2, calculating to obtain the difference electric quantity delta C between the electric quantity of the single battery and the average electric quantity of the battery pack by using the estimated value of the difference state of charge delta SOC between the single battery SOC and the average SOC of the battery pack obtained in the step S1 and combining the capacity parameter of the single battery;
in step S2, the calculation formula of the cell differential electric quantity Δ C obtained from the estimated value of the cell differential state of charge Δ SOC is:
ΔCk=C·ΔSOCk
in the formula, C represents the current capacity of the battery cell, i.e., the total electric quantity of the current battery cell when the battery cell is fully charged, and is represented by Ah, and it can be considered that C is consistent with the initial capacity of the battery cell without considering the change of the battery capacity due to factors such as durability and temperature; delta SOCkRepresenting the difference state of charge between the SOC of the single battery at the k-node moment and the average SOC of the battery pack; delta CkAnd the difference electric quantity between the single battery electric quantity and the average electric quantity of the battery pack at the moment of the k node is represented.
S3, obtaining the change rate of the delta C by linear regression according to the estimated value of the differential electric quantity delta C of the battery monomer, and obtaining the average leakage current of the differential battery monomer in the period of time;
in step S3, a least square algorithm is used in the calculation method for obtaining the change rate of Δ C by linear regression;
in step S3, the Δ C change rate of the different battery cells and the average leakage current of the battery cells during the period are unified values, and the relationship therebetween is:
l represents the rate of change of Δ C; delta C(n)Representing the value of the linear regression line at a later cutoff point within the measured time interval; delta C(1)Represents the value of the linear regression line at its real point within the measured time interval; t is t(n)Representing the end point of the measured time interval; t is t(1)Representing a starting point of the measured time interval; i isdepleteIndicating the leakage current of the differential cell during the measured time period.
S4, diagnosing the approximate short-circuit resistance value of the internal short-circuit battery monomer by using the average leakage current of the different battery monomers and combining the average voltage in the period of time;
estimating the internal short circuit resistance value of the internal short circuit battery cell in the step S4 uses ohm' S law:
RISCthe estimated internal short circuit resistance value of the internal short circuit battery monomer; i isdepleteThe leakage current of the differential battery cell in the measured time interval is measured; u shapemeanThe average terminal voltage value of the battery pack in the measured time interval can be expressed as:
the terminal voltage value of the ith battery pack collected by the voltage sensor in the measurement time interval is measured, and n is the terminal voltage value of the battery pack collected by the voltage sensor in the measurement time intervalThe total number of values.
S5, judging whether the approximate short-circuit resistance value of the single battery estimated in the step S4 is larger than the preset short-circuit resistance value, if so, turning to the step S6, otherwise, turning to the step S7;
in this embodiment, the preset value in step S5 may be set to 200 Ω.
S6, judging the battery monomer to be a normal monomer by the battery management system;
and S7, the battery management system judges that the battery cell is an internal short circuit cell.
According to the process, the difference of the SOC of the battery monomer in the battery pack is identified by combining the frequency division model with the EKF, the approximate short-circuit resistance value of the internal short-circuit battery monomer is diagnosed by using the differential SOC delta SOC obtained by the method, the approximate short-circuit resistance value of the internal short-circuit battery monomer in the battery pack can be diagnosed on line and quantitatively with lower calculation amount, the internal short-circuit sign can be diagnosed in tiny hours, a reliable reference basis is provided for battery fault diagnosis, the probability of thermal runaway of the battery is reduced, and the use reliability of the battery pack is improved.