Detailed Description
The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the scope of the present invention is not limited to the following.
As shown in fig. 1, a method for estimating SOH of a battery based on local CV charge data includes the steps of:
s1, carrying out a cyclic charge-discharge experiment on a battery under different temperature and charge multiplying power conditions, and measuring the current and terminal voltage of the battery in real time by adopting a current sensor and a voltage sensor;
the step S1 includes the following sub-steps:
s101, charging the battery to the state of charge (SOC) of 100% by adopting a constant-current-constant-voltage charging method, and monitoring the current I of the battery in real time in the charging processLAnd terminal voltage UlAnd storing the voltage U at the CC stagelThe current I at the CV stage is up to the preset cut-off valueLReaching a preset cut-off value;
s102, performing a discharge experiment by adopting a CC discharge method until the terminal voltage is reduced to a lower limit cut-off voltage, wherein the CC discharge multiplying power and the CC charge multiplying power do not need to be kept consistent;
s103, repeating S101-S102 until the rated capacity of the battery is reduced to the end-of-life standard, and the end voltage U at the CV stage in different cycleslNeed to be kept consistent, integrate the current and terminal voltage information collected during the process, establish a specific temperature and CC charge rateA battery aging database;
s104, repeating S101-S103 at different temperatures and different CC charging multiplying factors to obtain battery aging databases at different temperatures and different CC charging multiplying factor variables.
In the embodiment of the present application, after step S103 or S104 is finished, data preprocessing for missing value padding and error value deletion needs to be performed on the battery aging database. The error value comprises a value with overlarge deviation compared with the previous and next data (the deviation exceeds a preset threshold value compared with the previous and next data), and can be directly deleted during preprocessing; the missing value includes the condition that the current value and the voltage value at a certain moment are vacant, and the preprocessing mode includes but is not limited to padding by the average value of the previous data and the next data.
S2, extracting the CV charging capacity by adopting an ampere-hour integration method, fitting a linear relation between the CV charging capacity and the CCCV charging capacity under different temperatures and CC charging multiplying power conditions, and establishing a parameter mapping database of a linear model;
wherein CV represents constant voltage, CC represents constant current, CCCV represents constant current first and then constant voltage;
s201, selecting CV stage charging data of a plurality of cycles under the same temperature and CC charging rate from a battery aging database, and extracting CV charging capacity Q of each selected cycle by adopting an ampere-hour integration methodCVAs a health factor;
s202, calculating the CCCV charging capacity Q of each extracted cycle by adopting an ampere-hour integration methodCCCV;
The calculation method of the charge capacity described in steps S201 and S202 is as follows:
wherein m is the initial moment of CV charging, n is the moment when the CV charging current reaches the preset cut-off value, IL(k) For the current value at the k-th time, Δ t load current sampleA time interval.
S203, fitting Q off line by adopting a least square methodCV-QCCCVThe formula is as follows:
QCCCV=aQCV+b
wherein a and b are fitting parameters obtained by least square fitting. The fitting method comprises the following specific steps:
according to Q
CVThe measured values of (A) were as follows: q
CCCV=aQ
CV+ b calculates the corresponding Q
CCCVIs marked as
Calculating the measured value Q directly obtained from the experimental data
CCCVAnd a calculated value obtained by the calculation
The square sum R of the dispersion of (a), the formula is as follows:
substituting the linear equation to be fitted into the formula:
wherein Q isCCCViAnd QCViRespectively represent the ith QCCCVAnd QCVAnd (4) data. Then, the fitting parameters a and b are respectively subjected to partial derivation:
will measure the value Q
CCCVAnd Q
CVCalculated by substituting the formula when
And when the sum is 0, the values of a and b are obtained. In this embodiment, Q
CV-Q
CCCVThe linear function of (a) is:
QCCCV=-3.5853QCV+3.5344
the fitted curve is shown in FIG. 2;
s204, repeating S201-S203, obtaining the linear relation of the CV charging capacity and the CCCV charging capacity under different temperature and CC charging multiplying factor variables, namely a plurality of groups of [ a, b ] parameter sets under different temperature and CC charging multiplying factors, and forming a parameter mapping database of a linear model.
S3, establishing a battery second-order RC equivalent circuit model, establishing a CV stage charging current prediction model on the basis of the battery second-order RC equivalent circuit model, identifying model parameters by using local CV charging data, and predicting the whole CV charging data through a battery model;
s301, acquiring current and terminal voltage data in the CCCV charging process in real time by adopting a current and voltage sensor under an actual charging working condition; defining the time when the terminal voltage reaches the upper limit cut-off voltage and the current starts to drop as the algorithm starting time;
s302, establishing a second-order RC equivalent circuit model of the battery, wherein a circuit schematic diagram of the second-order RC equivalent circuit model is shown in FIG. 3;
the circuit equation of the second-order RC equivalent circuit model of the battery is as follows:
UOC+R0IL+Up1+Up2=Ul
wherein, Up1、Up2To polarize the voltage, UlIs terminal voltage, UocBeing batteriesOpen Circuit Voltage (OCV), ILIs a current, Rp1、Rp2、Cp1、Cp2And R0Model parameters to be identified, specifically: rp1、Rp2Is a polarization resistance, Cp1、Cp2Is a polarization capacitance, R0Ohmic internal resistance;
s303, establishing a prediction equation of the CV charging curve based on a battery second-order RC equivalent circuit model:
firstly, performing laplace transform on an equation of a second-order RC equivalent circuit model:
where s is the complex variable of the laplace transform. After a relational expression of the difference value of the current, the terminal voltage and the open circuit voltage is established, inverse Laplace transform is carried out on the equation:
wherein a ═ R0Rp1Rp2Cp1Cp2,b=R0Rp1Cp1+R0Rp2Cp2+Cp1Rp1Rp2+Cp2Rp1Rp2,c=R0+Rp2+Rp1. The calculated CV current is expressed as:
wherein, ILThe current value at time t (positive value during charging and negative value during discharging) is shown as (t). Open circuit voltage U of battery due to CV charging stageocIs generally close to the battery terminal voltage UlResult in (U)l-Uoc) The value of (c) is small. For simple calculation, in the CV stage charging current prediction model, a/c (U) is ignoredl-Uoc) To IL(t), i.e., establishing a CV-stage charging current prediction model as follows:
wherein, IL1、IL2、τeq,1、τeq,2In order to predict the parameters to be identified in the equation, the identification method adopts a Levenberg-Marquardt (LM) algorithm, and comprises the following steps:
setting the calculated value of current calculated according to the prediction equation as
Calculating the measured value I directly obtained from the experimental data
LAnd the calculated value
The square sum R of the dispersion of (a), the formula is as follows:
calculate the Jacobian matrix J (x):
wherein x isiRepresenting the parameters of the ith row in vector x. Subsequently, the gradient of R is calculated as:
g=R′(x)=J(x)Tf(x)
then, solving an iteration step h, wherein the formula is as follows:
wherein, Jk=J(xk),fk=f(xk),xkFor the value of x after iterating k times, I is an identity matrix, u is a positive number, and the function of shortening the iteration step length is realized in the formula, and the determination method is as follows:
where ρ is a gain ratio, and when ρ is greater than 0, the formula is as follows:
when ρ is equal to or less than 0, the formula is as follows:
uk+1=uk×vk
vk+1=2vk
in this embodiment, the initial value of v is 2, and the initial value of u is calculated as follows:
A0=J(x0)TJ(x0)
u0=τ×max{aii}
wherein, aiiIs a matrix A0The elements on the diagonal. Repeating the iterative process:
xk+1=xk-h
when the iteration process meets one of the following conditions, exiting the iteration;
g≤ε1
‖h‖≤ε2(‖x‖+ε2)
wherein | represents the matrix norm, ε1、ε2Any small value can be selected as the termination condition for the preset parameter, and the value range can be 10-8~10-12The concrete adjustment can be made according to the actual situation; when the iteration is judged to meet the termination condition, I at the momentL1、IL2、τeq,1、τeq,2The value of (a) is the identification result, and the parameter identification result in this embodiment is: i isL1=0.9545、IL2=0.5455、τeq,1=769.23、τeq,2=2564.1;
S304, if the CV charging is not cut off in advance, namely the charging is finished until the current is reduced to the CV cut-off current, recording the complete CV charging capacity according to an ampere-hour integration method; if the CV charging is cut off in advance, that is, the current does not decrease to the CV cut-off current at the end of CV, the change of the future current is calculated according to the charging current prediction model in S303 until the CV cut-off current is reached, and the complete CV charging capacity is calculated according to an ampere-hour integration method.
S4, according to the temperature and the CC charging multiplying power in the actual charging process, selecting a corresponding linear model from the parameter mapping database in the S2, and calculating the SOH of the battery according to the estimated CV charging capacity, wherein the specific implementation scheme is as follows:
selecting a corresponding linear model in the parameter mapping database in S204 according to the actual temperature and the CC charging multiplying power; q acquired in S304CVSubstitution into a Linear model to calculate QCCCVAnd further calculating the SOH of the battery at the current moment, wherein the formula is as follows:
QCCCV=-3.5853QCV+3.5344
where S is the estimation of battery SOH, QratedIs the nominal capacity of the battery.
And estimating the health state of the battery in real time according to the steps, comparing the health state of the battery with the calculated health state of the battery according to a preset service life ending standard, and judging whether the current health state of the battery meets the safety standard or not.
In the embodiment of the patent, 18650 lithium ion batteries with nominal capacity of 2Ah are taken as experimental objects, the method S1 is carried out at different temperatures, and battery aging databases with different temperatures and CC discharge rates are established. Next, Q is calculated by the ampere-hour integration methodCVAnd QCCCVFitting Q by least squaresCVAnd QCCCVThe linear relationship of (a) to (b) constitutes a parameter mapping database. Aiming at a typical scene that CV charging is incomplete, a second-order RC equivalent circuit model is built, and on the basis, a CV stage charging current prediction model is established. And then, estimating the SOH of the battery to be tested. The upper limit cut-off voltage of the terminal voltage of the battery to be tested is 4.2A, CV, the lower limit cut-off current of the current is 0.05A, the constant current of the discharge experiment is 2A, and the lower limit cut-off voltage is 2.5V. When the current data at the CV stage is complete, the ampere-hour integration method can be directly adopted to calculate QCV(ii) a And when the current of the battery to be measured in the CV stage does not fall to the CV lower limit cut-off current, fitting local CV current data by using the established charging current prediction model, and predicting the residual CV current until the CV cut-off current is reached. The CV prediction curve of the charging current prediction model in the embodiment is shown in fig. 4, and the prediction error is shown in fig. 5. Finally, the complete CV capacity was calculated to be 0.5507Ah according to the ampere-hour integration method. Selecting corresponding linear model, and calculating to obtain QCCCVIt was 1.56 Ah. Finally pass through QCCCVThe ratio of the calibrated capacity determines the SOH of the cell to be 78%. And Q obtained by actual measurementCCCV1.6109Ah, the estimated value differs from 0.0509Ah with a relative error of 3.1%. The actual battery SOH was 80.55%, and the relative error of the estimate was within 3%. Therefore, the method can estimate the health state of the battery based on the local CV charging data, and has low calculation cost and small data requirement under the condition of meeting the precision requirement.
In summary, the invention provides a battery SOH estimation method based on local CV charging data, and the high-precision estimation of the health state of a battery can be realized only according to the local CV charging data through a model prediction method, so that the limitation that the traditional method needs complete charging data is overcome. The method only involves a voltage sensor and a current sensor, and does not need complex experimental equipment. Q in the processCVAnd QCCCVThe calculation cost is low, and the conversion of a complex capacity increment curve, a differential voltage curve and the like is not needed. Q of the processCVAnd QCCCVThe method has good linear relation, does not need a complex machine learning algorithm, and can realize the high-precision estimation of the SOH of the battery only through a simple linear model.
The foregoing is a preferred embodiment of the present invention, it is to be understood that the invention is not limited to the form disclosed herein, but is not to be construed as excluding other embodiments, and is capable of other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.