A method for predicting remaining battery life based on the fusion of RVM and PF algorithms
Through the integration of RVM and PF algorithms, the correlation vector machine is used to extract battery capacity degradation characteristics, and combined with the particle filter algorithm, the problem of the particle filter algorithm relying on empirical models is solved, and high-precision prediction and uncertainty of the remaining service life of lithium-ion batteries are achieved. Express.
Patent Information
- Application Number
- CN202011503315.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-18
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-12-18
AI Technical Summary
Existing particle filter algorithms rely too much on battery experience models in predicting the remaining service life of lithium-ion batteries, resulting in insufficient prediction accuracy and difficulty in accurately describing the nonlinear trend of lithium-ion battery capacity degradation.
Using a fusion method based on RVM and PF algorithm, the correlation vector machine is used to extract the relevant vectors in the battery capacity degradation data, build a state space model, and combine it with the particle filter algorithm for prediction, which avoids dependence on the empirical model and improves the prediction accuracy and applicability. sex.
It improves the precision and accuracy of the remaining service life prediction of lithium-ion batteries, provides a probability density distribution of the prediction results, has a reference value for uncertainty expression, and enhances the reliability of the prediction results.
Smart Images

Figure CN112816874B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of batteries, and in particular to a method for predicting the remaining service life of a battery based on the fusion of RVM and PF algorithms. Background Art
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
[0003] Lithium-ion batteries are widely used in various electronic products, energy storage devices, electric vehicles, aerospace and many other fields, and play an important role in the development of new energy and the rise of new technologies. In practical applications, lithium-ion batteries are affected by irreversible physical and chemical reactions inside them and complex operating conditions, and their performance gradually degrades, seriously affecting the reliability of system operation. As the core components of various electronic systems, in most cases, performance degradation or damage of lithium-ion batteries is the main cause of system failure or failure.
[0004] Using early cycle data of lithium-ion batteries to accurately predict battery RUL will bring new opportunities for the use and optimization of lithium-ion batteries. For example, battery manufacturers can accelerate the battery R&D cycle, perform rapid verification of new manufacturing processes, and grade new batteries based on predicted battery life; at the same time, for users, they can make rapid and accurate predictions of the life degradation trend of lithium-ion batteries so that lithium-ion batteries can be maintained and replaced in time before the end of their life, which can reduce the probability of system failure. Rapid and accurate prediction of the remaining service life of lithium-ion batteries has a wide range of uses, but due to the influence of various uncertain factors such as internal and external factors of the battery, the aging trend of lithium-ion batteries is nonlinear and uncertain.
[0005] The remaining service life prediction of lithium-ion batteries mainly estimates the number of charge and discharge cycles required for the remaining capacity to reach the end of life through the current aging state of the battery. At present, the remaining service life prediction methods of lithium-ion batteries are mainly divided into mechanism model-based, data-driven and fusion methods. The mechanism model mainly analyzes the failure mechanism of the battery and establishes a physical model of the battery life degradation process to predict the remaining service life of the battery. The mechanism model mainly includes degradation mechanism model, equivalent circuit model, empirical degradation model, etc.; the data-driven method uses artificial intelligence algorithms to analyze the historical data of battery capacity, extract its aging law, and then predict the remaining service life of the battery. Commonly used artificial intelligence algorithms include artificial neural networks, particle filters (PF: Particle Filter), support vector machines (Relevance Vector Machine, RVM), etc.; the fusion-based method is divided into mechanism model and data-driven fusion and two or more data-driven methods. The fusion method makes up for the shortcomings of a single method and greatly improves the accuracy of battery remaining service life prediction.
[0006] The particle filter algorithm is an approximate Bayesian filter algorithm based on the Monte Carlo method. It can be applied to any nonlinear non-Gaussian problem. In recent years, the particle filter algorithm has been widely used in the prediction of the remaining service life of lithium-ion batteries. The particle filter algorithm is too dependent on the battery empirical model, and an accurate battery empirical model is often difficult to obtain. Summary of the invention
[0007] In order to overcome the shortcoming of the particle filter algorithm that it is too dependent on the battery empirical model and at the same time improve the accuracy of the remaining service life prediction of the lithium-ion battery, the present invention proposes a battery remaining service life prediction method based on the fusion of RVM and PF algorithms.
[0008] A method for predicting remaining battery life based on the fusion of RVM and PF algorithms, comprising:
[0009] S1: Select the battery data set and extract two sets of battery capacity degradation data Q_train and Q_test;
[0010] S2: Initialize the relevant vector machine parameters, use the relevant vector machine to train the battery capacity degradation data, and use the iterative estimation method to calculate the relevant parameters;
[0011] S3: extracting the relevant vectors in the battery capacity degradation data;
[0012] S4: Use the correlation vector to fit the battery capacity degradation trend and obtain the state equation and observation equation of the state space model;
[0013] S5: Initialize the relevant parameters of the particle filter algorithm and initialize the particle set;
[0014] S6: The particle distribution x at time k-1 k-1 , substituting into the state transfer equation, we can get the particle distribution predicted at time k Substitute the predicted particles into the observation equation to get the predicted values, compare the predicted values with the actual observed values to evaluate all particles, and get the weight of each particle. According to the size of the particle weight, importance resampling is performed to get the true distribution x of the state variable at time k k , the true distribution x k Substitute it into the state transfer equation for the next round of filtering;
[0015] S7: When the particle filter loop reaches the prediction starting point, the iteration ends and the battery capacity after the prediction starting point is predicted;
[0016] S8: Determine whether the battery capacity has reached a threshold value indicating the end of the battery life. If so, record the number of battery charge and discharge cycles at this time and calculate the remaining service life.
[0017] Preferably, the initialization correlation vector machine parameters include:
[0018] Given a training dataset The relevant vector machine is expressed as follows: y = Φ·ω + ε;
[0019] Where: ω=(ω0,…,ω N ) T is the weight of the relevant vector machine; Φ=[φ1,φ2,…,φ N ] T is the kernel function matrix; φ i (x i )=[1,K(x i ,x1),…,K(x i ,x N )],i=1,2,…,N;K(x i ,x j ) is the kernel function:
[0020]
[0021] η is the kernel parameter; α={α0,α1,…,α N} is a hyperparameter, corresponding to the weight ω one by one; σ 2 is the noise variance.
[0022] Preferably, the training of battery capacity degradation data using a relevance vector machine includes:
[0023] Calculate the covariance Σ and mean μ of the weights ω:
[0024] Σ=(σ -2 Φ T Φ+A) -1 , μ=σ -2 ΣΦ T y T ;
[0025] Among them: A=diag{α0,α1,…,α N};
[0026] Use the iterative estimation method to calculate and obtain the new hyperparameter α and noise variance σ 2 , the update process is as follows:
[0027] where γ i =1-α i Σ ii ;
[0028] Repeat the above calculation process until the number of iterations reaches the maximum value or the output result gradient is less than the convergence condition.
[0029] Preferably, the extracting of relevant vectors from the battery capacity degradation data includes:
[0030] After the iteration, delete all the values in α that are greater than α. max Alpha i , the remaining α i The corresponding {x i ,y i} is the correlation vector.
[0031] Preferably, the method of fitting the battery capacity degradation trend using the correlation vector includes:
[0032] The correlation vector is used to fit the battery capacity degradation trend and the trend function is obtained:
[0033] Q(k)=rvm_capa(k), k=1,2,…is a positive integer.
[0034] Preferably, the state equation and observation equation of the state space model are obtained by:
[0035] The state space model of the system is constructed using the trend function to obtain the state equation and observation equation:
[0036] The state equation is:
[0037]
[0038] The observation equation is:
[0039] Q(k)=rvm_capa([a(k)*k+b(k)])+v(k).
[0040] Beneficial effects of the present invention:
[0041] 1. Use the correlation vector machine to extract the correlation vectors in the battery capacity degradation data set. The correlation vectors reflect the most essential characteristics of the sample data. The trend function is obtained based on the correlation vectors, which can effectively describe the trend of lithium-ion battery capacity degradation;
[0042] 2. The state space model is established based on the trend function extracted by the correlation vector machine, which does not rely on the empirical model of lithium-ion battery capacity degradation, improves the applicability of the particle filter algorithm in capacity prediction, and improves the prediction accuracy;
[0043] 3. The particle filter algorithm has good state tracking capabilities and can make a more accurate prediction of battery capacity. At the same time, this method gives the probability density distribution of the prediction results. The prediction results with uncertainty expression have greater reference value. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0045] Figure 1 It is a flowchart of a method for predicting remaining battery life based on the fusion of RVM and PF algorithms according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0047] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0048] The embodiment of the present invention proposes a method for predicting the remaining service life of a battery based on the fusion of RVM and PF algorithms, such as Figure 1 As shown, the following steps are included:
[0049] S1: Select a battery data set and extract two sets of battery capacity degradation data Q_train and Q_test.
[0050] Select the battery data set and extract two sets of battery capacity degradation data Q_train and Q_test. Used to train the battery remaining service life prediction model to obtain the prediction model, Used to verify and evaluate the predictive performance of the model, Q i is the battery capacity in Ah, i=1,2,…,N.
[0051] S2: Initialize the relevant vector machine parameters, use the relevant vector machine to train the battery capacity degradation data, and use the iterative estimation method to calculate the relevant parameters.
[0052] Given a training dataset The relevant vector machine is expressed as follows: y = Φ·ω+ε,
[0053] Where: ω=(ω0,…,ω N ) T is the weight of the relevant vector machine; Φ=[φ1,φ2,…,φ N ] T is the kernel function matrix; φ i (x i )=[1,K(x i ,x1),…,K(x i ,x N )],i=1,2,…,N;K(x i ,x j ) is the kernel function:
[0054]
[0055] η is the kernel parameter; α={α0,α1,…,α N} is a hyperparameter, corresponding to the weight ω one by one; σ 2 is the noise variance.
[0056] Calculate the covariance Σ and mean μ of the weights ω:
[0057] Σ=(σ -2 Φ T Φ+A) -1 , μ=σ -2 ΣΦ T y T ;
[0058] Among them: A=diag{α0,α1,…,α N}
[0059] Use the iterative estimation method to calculate and obtain the new hyperparameter α and noise variance σ 2 , the update process is as follows:
[0060] where γ i =1-α i Σ ii .
[0061] Repeat the above calculation process until the number of iterations reaches the maximum value or the output result gradient is less than the convergence condition.
[0062] S3: Extract the correlation vectors in the battery capacity degradation data.
[0063] After the iteration, delete all the values in α that are greater than α. max Alpha i , the remaining α i The corresponding {x i ,y i} is the correlation vector.
[0064] S4: Use the correlation vector to fit the battery capacity degradation trend and obtain the state equation and observation equation of the state space model.
[0065] The correlation vector is used to fit the battery capacity degradation trend and the trend function is obtained:
[0066] Q(k)=rvm_capa(k), k=1,2,…are positive integers
[0067] The state space model of the system is constructed using the trend function to obtain the state equation and observation equation:
[0068] The state equation is:
[0069]
[0070] The observation equation is:
[0071] Q(k)=rvm_capa([a(k)*k+b(k)])+v(k).
[0072] In this embodiment, a correlation vector machine is used to extract correlation vectors from a battery capacity degradation data set. The correlation vectors reflect the most essential characteristics of the sample data. A trend function is obtained based on the correlation vectors, which can effectively describe the trend of lithium-ion battery capacity degradation.
[0073] In this embodiment, a state space model is established based on a trend function extracted by a relevance vector machine, which does not rely on an empirical model of lithium-ion battery capacity degradation, thereby improving the applicability of a particle filter algorithm in capacity prediction and improving prediction accuracy.
[0074] S5: Initialize the relevant parameters of the particle filter algorithm and initialize the particle set.
[0075] S6: The particle distribution x at time k-1 k-1, substituting into the state transfer equation, we can get the particle distribution predicted at time k Substitute the predicted particles into the observation equation to get the predicted values, compare the predicted values with the actual observed values to evaluate all particles, and get the weight of each particle. According to the size of the particle weight, importance resampling is performed to get the true distribution x of the state variable at time k k , the true distribution x k Substitute it into the state transfer equation for the next round of filtering.
[0076] S7: When the particle filter loop reaches the prediction starting point, the iteration ends and the battery capacity after the prediction starting point is predicted.
[0077] The prediction starting point T is set, and the model is iteratively trained using the battery data before the prediction starting point. When the cycle reaches the prediction starting point, the iteration ends, and the battery capacity after the prediction starting point is predicted.
[0078] S8: Determine whether the battery capacity has reached a threshold value indicating the end of the battery life. If so, record the number of battery charge and discharge cycles at this time and calculate the remaining service life.
[0079] A threshold for the end of battery life is set. During the prediction process, it is determined whether the battery capacity has reached the threshold for the end of battery life. If the threshold is reached, the number of battery charge and discharge cycles at this time is recorded, and the remaining service life of the battery is calculated.
[0080] In this embodiment, the good state tracking capability of the particle filter algorithm can be used to make a relatively accurate prediction of the battery capacity. At the same time, this method provides a probability density distribution of the prediction results, and the prediction results with uncertainty expression have greater reference value.
[0081] In order to verify whether the present invention can effectively realize the life prediction of lithium-ion batteries, the Battery DataSet experimental data provided by NASAP CoE Research Center and the Battery DataSet experimental data of the Center for Advanced Life Cycle Engineering of the University of Maryland are used for verification.
[0082] From the NASA battery data set, three groups of battery capacity data, B0005, B0006, and B0007, were extracted for experiments. The B0005 battery sample data was selected for offline training of the relevant vector machine, and the battery capacity degradation trend was fitted and a state space model was constructed. The remaining service life of the B0006 and B0007 battery sample data was predicted, and the battery capacity failure threshold was set to 1.45Ah, and the prediction starting points were set to T = 50cycle and 70cycle respectively. From the University of Maryland battery data set, three groups of battery capacity data, A5, A8, and A12, were selected for experiments. Among them, the A5 battery data was trained offline using the relevant vector machine algorithm to construct a state space model. The A8 and A12 battery capacity data were predicted, and the battery capacity failure threshold was set to 0.65. According to the speed of the battery capacity sample data decay, different prediction starting points were selected for the two groups of battery data. Among them, the prediction starting point of A8 is T = 80cycle, and the prediction starting point of A12 is 120cycle.
[0083] In the experiment, the standard particle filter algorithm was used to carry out the remaining service life prediction experiment of lithium-ion batteries on the same battery data set. The comparison between the remaining service life prediction experimental data of lithium-ion batteries based on the fusion of the relevance vector machine algorithm and the particle filter algorithm and the experimental data of the standard particle filter algorithm is shown in Table 1.
[0084] Table 1 RUL prediction results of fusion method and PF
[0085]
[0086]
[0087] The mean absolute error and root mean square error of the above experimental data are calculated, and the results are shown in Table 2:
[0088] Table 2 Fusion method and PFRUL prediction error
[0089]
[0090] It can be seen from Table 2 that the root mean square error and mean absolute error of the proposed algorithm are smaller than those of the standard particle filter algorithm, which verifies the accuracy of the relevance vector machine and particle filter fusion algorithm in the field of lithium-ion battery life prediction.
[0091] The present invention adopts a data-driven method to realize the prediction of the remaining service life of lithium-ion batteries, and proposes a method for predicting the remaining service life of lithium-ion batteries based on the fusion of relevance vector machine and particle filter. The method is verified by using battery data from NASA and the University of Maryland. The relevance vector machine algorithm can accurately extract the main characteristics of battery capacity degradation, construct a state space model according to the trend function, and does not rely on the empirical model and mechanism model of the battery. The good state tracking ability of the particle filter algorithm is utilized to realize the prediction of the remaining service life of lithium-ion batteries under different working conditions, and at the same time, an uncertainty expression of the prediction result is given.
[0092] Those skilled in the art to which the present invention relates may make various modifications or additions to the specific embodiments described or replace them in a similar manner, but they will not deviate from the spirit of the present invention or exceed the scope defined by the attached claims.
Claims
1. A method for predicting remaining battery life based on the fusion of RVM and PF algorithms, characterized in that: include: S1: Select the battery data set and extract two sets of battery capacity degradation data Q_train and Q_test; S2: Initialize the relevant vector machine parameters, use the relevant vector machine to train the battery capacity degradation data, and use the iterative estimation method to calculate the relevant parameters; S3: extracting the relevant vectors in the battery capacity degradation data; S4: Use the correlation vector to fit the battery capacity degradation trend and obtain the state equation and observation equation of the state space model; S5: Initialize the relevant parameters of the particle filter algorithm and initialize the particle set; S6: The particle distribution x at time k-1 k-1 , substituting into the state transfer equation, we can get the particle distribution predicted at time k Substitute the predicted particles into the observation equation to get the predicted values, compare the predicted values with the actual observed values to evaluate all particles, and get the weight of each particle. According to the size of the particle weight, importance resampling is performed to get the true distribution x of the state variable at time k k , the true distribution x k Substitute it into the state transfer equation for the next round of filtering; S7: When the particle filter loop reaches the prediction starting point, the iteration ends and the battery capacity after the prediction starting point is predicted; S8: Determine whether the battery capacity reaches a threshold value indicating the end of the battery life. If the threshold value is reached, record the number of battery charge and discharge cycles at this time and calculate the remaining service life. The initialization related vector machine parameters include: Given a training dataset The relevant vector machine is expressed as follows: y = Φ·ω+ε; Where: ω=(ω0,…,ω N ) T is the weight of the relevant vector machine; Φ=[φ1,φ2,…,φ N ] T is the kernel function matrix; φ i (x i )=[1,K(x i ,x1),…,K(x i ,x N )],i=1,2,…,N;K(x i ,x j ) is the kernel function: η is the kernel parameter; α={α0,α1,…,α N } is a hyperparameter, corresponding to the weight ω one by one; σ 2 is the noise variance; The method of training the battery capacity degradation data by using the relevant vector machine includes: Calculate the covariance Σ and mean μ of the weights ω: S=(s -2 F T (F+A) -1 ,μ=σ -2 SF T y T ; Where: A=diag{α0,α1,…,α N }; Use the iterative estimation method to calculate and obtain the new hyperparameter α and noise variance σ 2 , the update process is as follows: among them c i =1-a i S ii ; Repeat the above calculation process until the number of iterations reaches the maximum value or the output result gradient is less than the convergence condition; The state equation and observation equation of the state space model are obtained as follows: The state space model of the system is constructed using the trend function to obtain the state equation and observation equation: The state equation is: The observation equation is: Q1(k)=rvm_capa([a(k)*k+b(k)])+v(k).
2. The method for predicting the remaining service life of a battery based on the fusion of RVM and PF algorithms according to claim 1, characterized in that: The extracting of the relevant vectors in the battery capacity degradation data comprises: After the iteration, delete all the values in α that are greater than α. max Alpha i , the remaining α i The corresponding {x i ,y i } is the correlation vector.
3. The method for predicting the remaining service life of a battery based on the fusion of RVM and PF algorithms according to claim 1, characterized in that: The method of fitting the battery capacity degradation trend using the correlation vector includes: The correlation vector is used to fit the battery capacity degradation trend and the trend function is obtained: Q(k)=rvm_capa(k), k=1,2,…is a positive integer.
