Battery SOE estimation method based on improved adaptive Kalman filtering algorithm

Through the improved adaptive Kalman filter algorithm, combined with the second-order RC equivalent circuit model and moving average window technology, the problem of insufficient adaptability of noise statistical characteristics and filter divergence in battery SOE estimation is solved, and high-precision and stable Battery SOE estimation.

CN118568393APending Publication Date: 2024-08-30CHINA YANGTZE POWER +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410600521.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing battery SOE estimation methods have insufficient adaptability to noise statistical characteristics, and adaptive noise causes filtering divergence.

Method used

An improved adaptive Kalman filter algorithm is used to establish a second-order RC equivalent circuit model to identify battery parameters. The mixed power pulse characteristic test and polynomial fitting method are used to obtain the functional relationship between SOE and open circuit voltage, combined with the Kalman filter algorithm. State estimation, and updating the noise variance through the moving average window and residual sequence to avoid filter divergence caused by the loss of positive certainty in the noise.

Benefits of technology

It improves the accuracy and filtering stability of battery SOE estimation, can quickly converge to the true value, and avoids the cumulative error of the traditional power integration method and the high computing power requirements of other methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568393A
    Figure CN118568393A
Patent Text Reader

Abstract

A battery SOE estimation method based on an improved adaptive Kalman filtering algorithm belongs to the technical field of new energy automobile battery management, selects a second-order RC model as a research basis of the adaptive Kalman filtering algorithm, and realizes battery model parameter identification by using a hybrid power pulse characteristic (HPPC) test. The invention provides an improved adaptive Kalman filtering algorithm, the problem of unstable filtering is solved, and the improved algorithm is applied to battery SOE estimation. The SOE estimation method based on the improved adaptive Kalman filtering algorithm is simple in principle and easy to implement, and has high practical value in engineering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of new energy vehicle battery management, and in particular relates to a battery SOE estimation method based on an improved adaptive Kalman filter algorithm. Background Art

[0002] In order to ensure the safety and reliability of electric vehicles, a battery management system (BMS) is needed to manage numerous single batteries. The entire battery management system is centered on the estimation of the power battery status. By obtaining the battery status, the corresponding control strategy is formulated to make the battery work efficiently and safely. With the increasing number of electric vehicles, the functions of BMS have become more complex.

[0003] SOC (State of Charge) only reflects the change of current over time, but cannot reflect the change of the current terminal voltage of the battery over time, and therefore cannot reflect the current power information of the battery. The battery energy state represented by SOE (State of Energy) has a more direct functional relationship with power, and is more suitable for estimating the driving range and optimizing energy management.

[0004] In recent years, considering the inevitable cumulative error caused by the measurement accuracy error of current and voltage in the traditional power integration method, some scholars have provided some methods for the accurate estimation of SOE by drawing on the similarities between SOE and SOC in the estimation principle. The SOE estimation methods of lithium-ion batteries are generally divided into three aspects: power integration method, model-based method and data-driven method. The power integration method may cause the cumulative error to gradually increase due to the initial error. The data-driven method relies on a large amount of data samples, and the algorithm requires a large amount of computing power to run, making it difficult to apply it online on the BMS. Most of the model-based SOE estimation methods are still based on Kalman filtering. These methods either do not take into account the fixed process noise and the measurement noise covariance and do not have the adaptive ability to cope with the statistical changes of noise, or do not take into account that the adaptive noise often loses its non-negative definiteness and positive definiteness in the actual calculation process, resulting in filter divergence. There is an urgent need for an adaptive Kalman filter algorithm with high filtering stability and that can meet the accuracy of SOE estimation. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a battery SOE estimation method based on an improved adaptive Kalman filter algorithm, which can effectively solve the problem that the statistical characteristics of noise cannot be adapted during the estimation process, and the problem that adaptive noise often loses its non-negative definiteness and positive definiteness in the actual calculation process, resulting in filtering divergence.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0007] A battery SOE estimation method based on an improved adaptive Kalman filter algorithm, the steps are:

[0008] S1. Establish a second-order RC equivalent circuit model;

[0009] S2, identify the parameters of the second-order RC model, and obtain the open circuit voltage U respectively through the hybrid power pulse characteristic test and the polynomial fitting method. ocv , ohmic internal resistance R0, polarization capacitance C p1 , polarization capacitance C p2 , polarization resistance R p1 and polarization resistance R p2 , as well as battery SOE and U OCV Functional relationship; SOE represents the remaining energy state of the battery, U OCV Indicates the battery open circuit voltage;

[0010] S3. Perform SOE estimation. SOE is defined as the following equation:

[0011]

[0012] Where U is the battery terminal voltage, I is the current, η is the battery coulomb efficiency, E N is the rated energy of the battery;

[0013] SOE(t0) represents the energy state of the battery at time t0, and SOE(t) represents the energy state of the battery at time t. The estimation of SOE is completed by integrating and accumulating the product of current and voltage from t0 to t.

[0014] The specific steps for SOE estimation are as follows:

[0015] S3-1 Establish state equations and observation equations based on the discrete equations of the SOE definition calculation formula and the second-order RC equivalent circuit model:

[0016]

[0017] Select the state variables as:

[0018]

[0019]

[0020] in:

[0021]

[0022] S3-2 Set the moving average window M and the initial value SOE(0), Up1 (0) U p2 (0), P(0), Q(0) and R(0),

[0023] S3-3 performs time update according to formulas (5) to (6) to obtain the predicted estimated state variable at the current moment and estimated terminal voltage The open circuit voltage value is obtained from the SOE value at the previous moment according to the OCV-SOE curve; the error covariance P of the state variable is updated by formula (7): kk-1 At the same time, according to the voltage value z collected in the experiment k and estimated voltage Calculate the new information sequence e at the current moment k ;

[0024]

[0025]

[0026]

[0027]

[0028] S3-4 Calculate the Kalman filter gain K by formula (9) k ;

[0029]

[0030] S3-5 completes the measurement update of the state variable according to formulas (10) and (11) to obtain the optimal estimated value of the state variable at the current moment and the covariance matrix P k ;

[0031]

[0032] P k =(IK k H k ) k / k-1 (11);

[0033] S3-6 If the estimated step size is smaller than the moving average window M, the optimal estimate of the residual covariance Take the average value of the new information for all past moments; if the estimated step size is larger than the moving average window M, use formula (12) estimates;

[0034]

[0035] S3-7 updates the process noise variance Q and the measurement noise variance R by using formulas (13) and (14);

[0036]

[0037]

[0038] S3-8 takes the optimal estimate obtained at the current moment and the covariance matrix P k As the initial value at the next moment, the steps S3-3 to S3-7 are looped to realize the estimation of the battery SOE at each moment.

[0039] Furthermore, step S1 includes the following sub-steps:

[0040] S1-1. According to Kirchhoff's voltage-current law, establish the circuit equation:

[0041] U L =U ocv -IR0-U P1 -U P2 ;

[0042]

[0043]

[0044] in is the derivative of the polarization voltage;

[0045] S1-2. Establish discrete equations:

[0046] U L(k)=U OCV -I k R0-U P1 (k)-U P2 (k);

[0047]

[0048]

[0049] Further, in step S2, the HPPC test specifically includes:

[0050] S2-1 Under constant temperature conditions, fully charge the selected battery cells and leave them to stand;

[0051] S2-2 pulse discharges the battery, leaves it to rest, then pulse charges the battery again, and leaves it to rest;

[0052] S2-3 discharges the battery at a constant current to reduce the SOE value by 5%;

[0053] S2-4 repeats steps 2-2 to 2-3 until the SOE value drops to 5%.

[0054] Furthermore, in step S3-3, the new information is redefined as the residual sequence:

[0055]

[0056] In formula (15) is the optimal estimate of the state variable at the current moment The optimal estimate of the current measurement value updated by formula (16) is:

[0057]

[0058] Substituting into the subsequent steps, we obtain the improved formulas (12)-(14) for process noise and measurement noise. Using the residual sequence instead of the new information sequence, we derive another expression for the covariance matrix R of the measurement noise. This expression does not contain a minus sign, thus avoiding the loss of positive definiteness of R during the iterative recursion process and causing the divergence of the filter.

[0059] A computer system includes a memory and a processor. The processor reads program instructions and executes the battery SOE estimation method based on the improved adaptive Kalman filter algorithm.

[0060] A computer-readable storage medium stores program instructions. After a computer reads the program instructions, the computer executes the battery SOE estimation method based on the improved adaptive Kalman filter algorithm.

[0061] A computer program product comprises a computer program. When the computer program is executed by a processor, the steps of the battery SOE estimation method based on the improved adaptive Kalman filter algorithm provided by the present invention are implemented.

[0062] The present invention can achieve the following beneficial effects:

[0063] Compared with the traditional power integration method for estimating battery SOE, the method of the present invention has higher accuracy, and the estimation with initial error can converge to the true value as quickly as possible. Compared with other methods for estimating battery SOE based on Kalman filtering, the present invention has great advantages in terms of convergence speed, filtering stability and estimation accuracy; the process noise variance Q and the measurement noise variance R are set to zero matrices in the improved algorithm, and it is recommended that the value of the error covariance P(0) of the state variable be set to the unit matrix. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:

[0065] Figure 1 It is the overall flow chart of the present invention;

[0066] Figure 2 A schematic diagram of a second-order dual-polarization circuit model involved in an embodiment of the present invention;

[0067] Figure 3 This is the battery SOE estimation result diagram of the model under constant current conditions;

[0068] Figure 4 This is the battery SOE estimation error diagram of the model under constant current conditions;

[0069] Figure 5 This is the battery SOE estimation result diagram of the model under DST conditions;

[0070] Figure 6 This is the battery SOE estimation error diagram of the model under DST conditions. DETAILED DESCRIPTION

[0071] The preferred solution is Figures 1 to 6 As shown, a battery SOE estimation method based on an improved adaptive Kalman filter algorithm has the following steps:

[0072] Example 1

[0073] The battery SOE estimation method based on the improved adaptive Kalman filter algorithm has the following overall process: Figure 1 A 27Ah square-shell LFP battery is used as the research object for illustration. The specific implementation steps are as follows:

[0074] S1 is established as Figure 2 The second-order dual-polarization equivalent circuit model is shown, and the equation is discretized:

[0075] S1-1 According to Kirchhoff's voltage-current law, establish the circuit equation:

[0076] U L =U ocv -IR0-U P1 -U P2 ;

[0077]

[0078]

[0079] S1-2. Establish discrete equations:

[0080] U L (k) = U OCV -I k R0-U P1 (k)-U P2(k);

[0081]

[0082]

[0083] S2 designs HPPC experiments to carry out model parameters, open circuit voltage U ocv , ohmic internal resistance R0, polarization capacitance C p1 , polarization capacitance C p2 , polarization resistance R p1 and polarization resistance R p2 Identification, the experimental method steps are as follows:

[0084] S2-1 First, place the 2.5Ah lithium-ion battery in a battery thermostat to maintain 25°C, set the program in the upper computer software operation interface, fully charge the selected battery cells according to the standard experimental procedures (constant current and constant voltage method), and then let it stand for 1 hour;

[0085] S2-2: The battery is pulse-discharged at a rate of 1C for 10 seconds, left to stand for 40 seconds, then pulse-charged at a rate of 1C for 10 seconds, and left to stand for another 40 seconds;

[0086] S2-3 discharges the battery at a constant current rate of 1C, causing the SOE value to drop by 5%;

[0087] S2-4 repeats steps 2-2 to 2-3 until the SOE value drops to 5%.

[0088] In the above step S2, the open circuit voltage U is identified according to the HPPC experiment. ocv The method is to use the fact that when the battery is left at rest after discharge, the terminal voltage of the battery first rises linearly and then gradually rises. If it is left at rest for a long time, the steady-state terminal voltage at this time can be approximately regarded as the open circuit voltage U ocv .

[0089] The method for identifying the ohmic internal resistance R0 is to calculate it using the ratio of the voltage change difference that occurs when the current is turned on and the pulse current.

[0090] Identify polarized capacitance C p1 , polarization capacitance C p2 , polarization resistance R p1 and polarization resistance R p2 The method is to identify the time constants τ1 and τ2 of the two RC parallel circuits according to the 40s static stage of the pulse discharge. The expression of the terminal voltage based on Kirchhoff's voltage law for this section is: Then, a quadratic exponential fitting is performed to obtain τ1 and τ2. The total polarization voltage expression of the pulse discharge stage for 10s is:

[0091]

[0092] R can be calculated p1 , R p2 , using the time constants τ1, τ2 and R p1 , R p2 The polarization capacitance C is calculated by the ratio of p1 , polarization capacitance C p2 .

[0093] According to the established second-order dual-polarization equivalent circuit discrete equation and the functional relationship between each model parameter and SOE, a second-order circuit model is established through the simulink simulation platform.

[0094] S3 performs battery SOE estimation, and SOE is defined as the following equation:

[0095]

[0096] Where η is the battery coulombic efficiency, E N is the rated energy of the battery.

[0097] The specific steps of SOE estimation include:

[0098] S3-1 Establish state equations and observation equations based on the discrete equations of the SOE definition calculation formula and the second-order RC equivalent circuit model:

[0099]

[0100] Select the state variable as

[0101]

[0102]

[0103] in:

[0104]

[0105] S3-2 First, set the moving average window M and the initial values ​​SOE(0), U in MATLAB programming. p1 (0) U p2 (0), P(0), Q(0) and R(0).

[0106] S3-3 first updates the time according to formulas (5) to (6) to obtain the predicted estimated state variable at the current moment and estimated terminal voltage The open circuit voltage value is obtained from the SOE value at the previous moment according to the OCV-SOE curve, and OVC represents the open circuit voltage. Then the error covariance P of the state variable is updated by formula (7): kk-1At the same time, according to the voltage value z collected in the experiment k and estimated voltage Calculate the residual sequence s at the current moment k .

[0107]

[0108]

[0109]

[0110]

[0111] S3-4 Calculate the Kalman filter gain K by formula (9) k .

[0112]

[0113] S3-5 completes the measurement update of the state variable according to formulas (10) and (11) to obtain the optimal estimated value of the state variable at the current moment and the covariance matrix P k .

[0114]

[0115] P k =(IK k H k ) k / k-1 (11);

[0116] S3-6 If the estimated step size is smaller than the moving average window M, the optimal estimate of the residual covariance Take the average value of the new information for all the past moments. Otherwise, use formula (12) to calculate Estimates.

[0117]

[0118] S3-7 updates the process noise variance Q and the measurement noise variance R by using formulas (13) and (14).

[0119]

[0120]

[0121] S3-8 takes the optimal estimate obtained at the current moment and the covariance matrix P k As the initial value at the next moment, the battery SOE is estimated at each moment by looping steps 3-3 to 3-7.

[0122] In step S3-3, another expression of the covariance matrix R of the measurement noise is derived by using the residual sequence instead of the innovation sequence. This expression does not contain a minus sign, thereby preventing R from losing its positive definiteness during the iterative recursion process and causing filter divergence.

[0123] Figure 3 and Figure 4 This is the battery SOE estimation result based on the improved adaptive Kalman filter algorithm.

[0124] Example 2

[0125] A computer system includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the battery SOE estimation method based on the improved adaptive Kalman filter algorithm described in Example 1 are implemented.

[0126] Example 3

[0127] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps of the battery SOE estimation method based on an improved adaptive Kalman filter algorithm as described in Example 1.

[0128] Example 4

[0129] A computer program product includes a computer program, which, when executed by a processor, implements the steps of the battery SOE estimation method based on an improved adaptive Kalman filter algorithm described in Example 1.

[0130] The above embodiments are only preferred technical solutions of the present invention and should not be regarded as limiting the present invention. The protection scope of the present invention shall be the technical solutions recorded in the claims, including equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.

Claims

1. A battery SOE estimation method based on an improved adaptive Kalman filter algorithm, characterized in that: The following steps are involved: S1. Establish a second-order RC equivalent circuit model; S2, identify the parameters of the second-order RC model, and obtain the open circuit voltage U respectively through the hybrid power pulse characteristic test and the polynomial fitting method. ocv , ohmic internal resistance R0, polarization capacitance C p1 , polarization capacitance C p2 , polarization resistance R p1 and polarization resistance R p2 , as well as battery SOE and U OCV Functional relationship; SOE represents the remaining energy state of the battery, U OCV Indicates the battery open circuit voltage; S3. Perform SOE estimation. SOE is defined as the following equation: Where U is the battery terminal voltage, I is the current, η is the battery coulomb efficiency, E N is the rated energy of the battery; SOE(t0) represents the energy state of the battery at time t0, and SOE(t) represents the energy state of the battery at time t. The estimation of SOE is completed by integrating and accumulating the product of current and voltage from t0 to t. The steps for SOE estimation are as follows: S3-1. Establish state equation and observation equation based on the discrete equation of SOE definition calculation formula and second-order RC equivalent circuit model: Where U p1,k , U p2,k is the polarization voltage at time k of the model, Δt is the current and voltage sampling time interval, SOE k is the energy state of the battery at time k, U OCV (SOE k ) represents the U corresponding to the SOE value at time k OCV The value of U L,k is the terminal voltage of the battery at time k, I k is the current of the battery at time k, τ1 and τ2 are the battery polarization time constants, ω k is the process noise, v k is the observation noise; Select the state variables as: where x k is the state vector, y k is the output vector, Φ k is the state transfer matrix, U k is the input matrix, H k The output matrix is: S3-2, set the moving average window M and the initial value SOE(0), U p1 (0) U p2 (0), P(0), Q(0) and R(0), S3-3, update the time according to formula (5) and formula (6) to obtain the predicted estimated state variable at the current moment and estimated terminal voltage The open circuit voltage value is obtained from the SOE value at the previous moment according to the functional relationship curve between SOE and open circuit voltage; Then update the error covariance P of the state variable using formula (7): k|k-1 At the same time, according to the voltage value z collected in the experiment k and estimated voltage Calculate the new information e at the current moment k ; S3-4. Calculate the Kalman filter gain K by formula (9): k ; S3-5. Complete the measurement update of the state variable according to formulas (10) and (11) to obtain the optimal estimated value of the state variable at the current moment and covariance matrix Pk; P k =(I-K k H k )P k / k-1 (11); S3-6. If the estimated step size is smaller than the moving average window M, the optimal estimate of the residual covariance is Take the average of the new information for all past moments; If the estimated step size is larger than the moving average window M, use formula (12) estimates; S3-7, updating the process noise variance Q and the measurement noise variance R according to formulas (13) and (14); S3-8, the optimal estimate obtained at the current moment The covariance matrix Pk is used as the initial value of the next moment, and steps S3-3 to S3-7 are looped to estimate the battery SOE at each moment.

2. The battery SOE estimation method based on the improved adaptive Kalman filter algorithm according to claim 1 is characterized in that: Step S1 includes the following sub-steps: S1-1. According to Kirchhoff's voltage-current law, establish the circuit equation: IN L =U ocv -IR0-U P1 -IN P2 in is the derivative of the polarization voltage; S1-2. Establish discrete equations: U L (k)=U OCV -I k R0-U P1 (k)-U P2 (k) 3. The battery SOE estimation method based on the improved adaptive Kalman filter algorithm according to claim 1 is characterized in that: In step S2, the mixed power pulse characteristic test step includes: S2-1. Under constant temperature conditions, fully charge the selected battery cells and let them stand; S2-2, pulse discharge the battery, let it stand, then pulse charge the battery again, and let it stand again; S2-3, discharge the battery at a constant current to reduce the SOE value by 5%; S2-4. Repeat steps S2-2 to S2-3 until the SOE value drops to 5%.

4. The battery SOE estimation method based on the improved adaptive Kalman filter algorithm according to claim 1 is characterized in that: In step S3-3, the new information is redefined as the residual sequence s k : In formula (15) is the optimal estimate of the state variable at the current moment The optimal estimate of the current measurement value updated by formula (16) is: Substituting into the subsequent steps, we obtain the improved formulas (12)-(14) for process noise and measurement noise.

5. A computer system, characterized in that: The method comprises a memory and a processor, wherein the processor reads program instructions and executes the battery SOE estimation method based on the improved adaptive Kalman filter algorithm described in any one of claims 1 to 4.

6. A computer-readable storage medium, characterized in that: The readable storage medium stores program instructions, and after the computer reads the program instructions, it executes the battery SOE estimation method based on the improved adaptive Kalman filter algorithm described in any one of claims 1 to 4.

Citation Information

Cited By

  • Battery energy state estimation method and device

    CN121633855A