A method for predicting remaining life of power battery

Through the expert knowledge embedded BiGRU-NN hybrid neural network model, combined with the feature approximation unit and expert knowledge module, the problem of time dimension difference and insufficient label data in lithium-ion battery life prediction is solved, and high-accuracy remaining battery life is achieved. predict.

CN118311437BActive Publication Date: 2024-09-20NANJING TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410455601.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-09-05
Filing Date
2024-04-15
Publication Date
2024-09-20
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

Existing technologies cannot effectively consider feature differences in the time dimension and difficulty in battery capacity measurement in predicting the remaining life of lithium-ion batteries, and deep learning models require a large amount of label data and cannot effectively utilize expert knowledge.

Method used

An expert knowledge embedded BiGRU-NN hybrid neural network model is designed, which includes a feature approximation unit, a bidirectional gated cyclic unit BiGRU and a fully connected unit. The feature approximation and expert knowledge modules enable the model to take into account historical and future factors, and Fine-tuning with a small amount of label data.

Benefits of technology

It improves the model's ability to learn factors that affect battery capacity, improves the accuracy and robustness of predictions, realizes the effective integration of data information and expert knowledge, and can accurately predict the remaining battery life under actual conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118311437B_ABST
    Figure CN118311437B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for predicting the remaining life of a power battery, which includes obtaining battery-related monitoring data and constructing feature data; constructing a hybrid neural network BiGRU‑NN prediction model composed of a feature approximation unit, a bidirectional gated recurrent unit BiGRU and a fully connected unit; designing an expert knowledge module and embedding expert knowledge into the BiGRU‑NN hybrid neural network model; inputting the constructed feature data into the expert knowledge embedded BiGRU‑NN hybrid neural network model for training to obtain a pre-trained model; when facing a new task, using a small amount of labeled data to fine-tune the parameters of the pre-trained model to obtain a prediction model; inputting the new task data into the prediction model to obtain the remaining capacity prediction result and judging the point where the failure threshold is reached to obtain the remaining life RUL of the battery. The present invention can take into account the influence of multiple factors on the prediction result, improve the prediction accuracy of the model, and realize the effective integration of data information and expert knowledge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to battery technology, and in particular to a method for predicting the remaining life of a power battery. Background Art

[0002] As energy and environmental issues become more prominent, the development of new energy vehicles has become a consensus in the automotive field to deal with this problem. Batteries are one of the core technical systems of electric vehicles and directly affect the final performance of electric vehicles. Compared with other types of batteries, lithium-ion batteries have the advantages of high energy density, high charging efficiency, and wide operating temperature range, and are therefore selected as power batteries for electric vehicles. However, during long-term use, the capacity of lithium-ion batteries will gradually decrease nonlinearly due to various irreversible reactions such as structural decay of positive electrode materials, dissolution of active substances, and oxidative decomposition of electrolytes. This nonlinear capacity decay can cause internal short circuits in the battery, leading to thermal runaway, and even catastrophic consequences such as fire and explosion, which seriously affect the safety of electric vehicles. Therefore, it is particularly important to conduct efficient and accurate prediction research on the remaining life of batteries. In addition, more accurate prediction of the remaining life of batteries is conducive to battery recycling and secondary utilization, promoting battery research and development, and reducing manufacturing cycles.

[0003] The traditional method for predicting the remaining life of a battery is based on a model, which simulates the degradation process of the battery by building a mathematical model and predicts the remaining life of the battery using data such as internal resistance, voltage, and current. The failure mechanism behind battery capacity decay is complex and varied, and the model is only based on limited side reactions and cannot analyze all side reactions.

[0004] The digitally driven method for predicting the remaining battery life is currently a commonly used method. Starting from experimental data, this method uses statistics, machine learning, deep learning and other methods to analyze the experimental data and summarize the empirical laws of capacity decay, avoiding the study of complex mechanisms. Among them, deep learning has received widespread attention in the prediction field due to its excellent performance in feature extraction. This method combines low-level features to form more abstract high-level representation attribute categories or features to discover distributed feature representations of data. However, traditional deep learning models require a large amount of labeled data when training, and battery capacity is difficult to measure.

[0005] In short, on the one hand, deep learning has excellent feature extraction capabilities, but it cannot obtain sufficient labeled data for effective feature learning; on the other hand, deep learning models cannot effectively utilize expert knowledge. To this end, the present invention designs an expert knowledge embedded BiGRU-NN hybrid neural network model. At the same time, it is considered that the traditional deep learning model cannot take into account the impact of multiple factors on the current prediction results. The BiGRU-NN hybrid neural network model designed by the present invention includes a feature approximation unit and a bidirectional gated recurrent unit, and uses a fully connected unit to bridge the various parts of the model.

[0006] For example, patent CN 115935135 A discloses a method and storage medium for predicting the top oil temperature of a UHV converter transformer, which uses an ARIMA prediction model to add an Attention-BiGRU-GRU network model to predict future oil temperature data. For example, patent CN113895272A discloses a method for monitoring the AC charging status and fault warning of electric vehicles based on deep learning, which uses CNN to deeply mine AC charging data and uses BiGRU to fully analyze the data to achieve fault warning of electric vehicles. For example, patent CN115047350B discloses a method for predicting the remaining service life of lithium-ion batteries based on digital-analog linkage, which combines a particle filter algorithm with a time attention mechanism-bidirectional gated recurrent unit network, so that the two methods can correct each other during the prediction process to achieve battery service life prediction.

[0007] In summary, most of the existing BiGRU-based fusion models mentioned above do not consider the feature differences in the time dimension and the difficulty in measuring battery capacity in practice. Summary of the invention

[0008] Purpose of the invention: The purpose of the present invention is to solve the deficiencies existing in the prior art and to provide a method for predicting the remaining service life of a power battery, that is, an expert knowledge embedded BiGRU-NN hybrid neural network model to predict the remaining service life of an electric vehicle power battery. First, a hybrid neural network BiGRU-NN prediction model under a new framework is proposed, including a feature approximation unit, a bidirectional gated recurrent unit BiGRU and a fully connected unit; the hybrid neural network model not only takes into account the feature differences in different time dimensions, but also takes into account the impact of factors in historical periods and future periods on the current prediction results, and conducts a deeper mining of the data. Secondly, an expert knowledge module is proposed, which uses feature approximation to embed expert knowledge into the hybrid neural network model. Finally, when faced with new prediction tasks, only a small amount of labeled data is needed to fine-tune the overall network.

[0009] Technical solution: A method for predicting the remaining life of a power battery of the present invention comprises the following steps:

[0010] Step S1, obtaining monitoring data of the electric vehicle power battery and constructing characteristic data;

[0011] The above characteristic data include the voltage drop value within 1000s during discharge, as well as the time when the temperature reaches the peak value, the voltage reaches the lowest point and the voltage drops to 3.5V. At the same time, the characteristic data is normalized to obtain x t ={x t+1 ,x t+2 ,…,x t+i};

[0012] Step S2, constructing a hybrid neural network BiGRU-NN prediction model consisting of a feature approximation unit, a bidirectional gated recurrent unit BiGRU and a fully connected unit;

[0013] The feature approximation unit includes an encoder and a decoder, which converts the feature data x t ={x t+1 ,x t+2 ,…,x t+i} Input into the encoder and compress to obtain feature z i ; Feature z i Condensed with original feature information; feature z i After the decoder, the high-dimensional mapping reconstructs the signal Due to the characteristics With features The distribution is different between Similarity Approximation Obtain features with stronger expressive power to enhance the robustness of the model; the formulas for the encoder and decoder process are as follows:

[0014] z i =f i (W T x t +b)

[0015]

[0016] Where W, W′ are the weight matrices of the encoder and decoder; b, b′ are the bias terms of the encoder and decoder; f i , f j is the activation function; feature It means that after calculation by the above formula, it can take into account the feature differences and have more expressive features;

[0017] The loss function is defined as follows:

[0018]

[0019] In the formula, D(·) is the similarity measurement function, and λ is the weight value;

[0020] The present invention fully considers the different distribution of degradation characteristics of lithium-ion batteries at different life stages, and uses a feature approximation unit to fully learn the feature differences in different time dimensions;

[0021] The above-mentioned bidirectional gated recurrent unit BiGRU includes: an input layer, a forward hidden layer, a backward hidden layer and an output layer; the input layer is responsible for receiving feature data; the forward hidden layer obtains the state of the forward hidden layer through the forward GRU function; the backward hidden layer obtains the state of the backward hidden layer through the backward GRU function; the output layer fuses the states of the forward hidden layer and the backward hidden layer to obtain output data, and the output data is the result data of the feature extraction of the bidirectional gated recurrent unit;

[0022] The specific formula for obtaining the state of the forward hidden layer and the backward hidden layer is as follows:

[0023]

[0024]

[0025] In the formula, and are the states of the forward and backward hidden layers at time t-1 respectively; and are the states of the forward and backward hidden layers at time t respectively;

[0026] The output layer obtains the output data h t The method is:

[0027]

[0028] In the formula, and are the weights of the forward and backward hidden layer states at time t; b t is the bias of the hidden layer state at time t;

[0029] The above fully connected unit is based on a fully connected neural network, bridging the input data, feature approximation unit and bidirectional gated recurrent unit to ensure the consistency of prediction;

[0030] Step S3, designing an expert knowledge module, and using feature approximation to embed the expert knowledge into the BiGRU-NN hybrid neural network model of step S2;

[0031] The expert knowledge module is composed of the monitoring data of the battery during the discharge cycle, including the maximum battery temperature Q i and discharge time t i , the specific formula is as follows:

[0032]

[0033] In the formula, C0 is the initial capacity state of the battery, k, C i is an empirical parameter, The expert knowledge module estimates the battery capacity state; the above feature approximation method, the specific formula is as follows:

[0034]

[0035] Where α is the weight parameter; Ω() is the regularization term; λ is the regularization parameter; Θ represents the model parameter.

[0036] Step S4, inputting the feature data constructed in step S1 into the expert knowledge embedded BiGRU-NN hybrid neural network model obtained in step S3 for training to obtain a pre-trained model;

[0037] Step S5: When faced with a new task, a small amount of labeled data is used to fine-tune the pre-trained model parameters obtained in step S4 to obtain a prediction model;

[0038] Step S6: input the new task data into the prediction model obtained in step S5 to obtain the remaining capacity prediction result, and determine the point where the failure threshold is reached to obtain the remaining battery life RUL.

[0039] Furthermore, the empirical parameters k and C in step S3 are i The method to obtain is:

[0040] First construct the objective function:

[0041]

[0042] In the formula, is the data with capacity labels; t refers to the current time t; n is the number of samples with labels;

[0043] Then, the objective function is optimized by using the Seagull optimization algorithm to obtain the optimal solution, that is, k and C i The numerical value of .

[0044] Furthermore, the step S5 uses a small amount of labeled data to fine-tune the obtained pre-trained model parameters. The specific fine-tuning method is: by training all layers of the basic model with a small amount, the network parameters of the basic model are modified in a targeted manner.

[0045] Furthermore, the failure threshold in step S6 is 70% of the initial capacity of the battery.

[0046] Beneficial effects: Compared with the prior art, the present invention has the following technical effects:

[0047] 1. The present invention relates to a BiGRU-NN hybrid neural network prediction model that has the ability to learn the impact of different factors on the current battery capacity, thereby improving the model's ability to extract original features; the feature approximation unit takes into account the feature differences in different time dimensions; the BiGRU can simultaneously take into account the impact of factors at historical moments and future moments on the current battery life; the fully connected unit bridges the various parts to ensure the consistency of the prediction.

[0048] 2. The expert knowledge module of the present invention adds prior knowledge to the model; the expert knowledge is embedded in the hybrid neural network model by adopting the feature approximation method, thereby realizing the effective fusion of data information and expert knowledge.

[0049] 3. The present invention integrates multiple data-driven algorithms to improve the accuracy of the prediction model. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 The overall flow chart predicted by the present invention;

[0051] Figure 2 It is a structural diagram of the expert knowledge embedded BiGRU-NN hybrid neural network model of the present invention;

[0052] Figure 3 This is a diagram showing the prediction results of the B0005 battery in the embodiment. DETAILED DESCRIPTION

[0053] The technical solution of the present invention is further described in more detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should belong to the scope of protection of the present invention.

[0054] The experimental data used in this example come from the B0005, B0006 and B0007 batteries in the NASA experimental data set, with a rated capacity of 2Ah. The test process is as follows: first, charge at a constant current of 1.5A until the cut-off voltage is 4.2V; then maintain constant voltage until the charging current drops to 0.02mA, and finally discharge at a constant current of 2A until the voltage of B0005, B0006 and B0007 drops to 2.7V, 2.5V and 2.2V respectively.

[0055] like Figure 1 As shown, a method for predicting the remaining service life of a power battery of the present invention, that is, an expert knowledge embedded BiGRU-NN hybrid neural network model predicts the remaining service life of the power battery of an electric vehicle. Specifically, the following steps are included:

[0056] Step S1, obtaining monitoring data of the electric vehicle power battery and constructing characteristic data;

[0057] The above characteristic data include the voltage drop value within 1000s during discharge, as well as the time when the temperature reaches the peak value, the voltage reaches the lowest point and the voltage drops to 3.5V. At the same time, the characteristic data is normalized to obtain x t ={x t+1 ,x t+2 ,…,x t+i};

[0058] Step S2, constructing a hybrid neural network BiGRU-NN prediction model consisting of a feature approximation unit, a bidirectional gated recurrent unit BiGRU and a fully connected unit;

[0059] The feature approximation unit includes an encoder and a decoder, which converts the normalized feature data x t ={x t+1 ,x t+2 ,…,x t+i} Input into the encoder and compress to obtain feature z i ; This feature z i Condensed with original feature information; feature z i After the decoder, the high-dimensional mapping reconstructs the signal Due to the characteristics With features The distribution is different between Similarity Approximation Features Obtain features with stronger expressive power to enhance the robustness of the model; the formulas for the encoder and decoder process are as follows:

[0060] z i =f i (W T x t +b)

[0061]

[0062] Where W, W′ are the weight matrices of the encoder and decoder; b, b′ are the bias terms of the encoder and decoder; f i , f j is the activation function;

[0063] The loss function is defined as follows:

[0064]

[0065] In the formula, D(·) is the similarity measurement function, and λ is the weight value. The feature data processed by the feature approximation unit can take into account the differences of features at different times and has stronger expressiveness.

[0066] The above-mentioned bidirectional gated recurrent unit BiGRU includes: an input layer, a forward hidden layer, a backward hidden layer and an output layer; the input layer receives the characteristic data of the battery; the forward hidden layer obtains the state of the forward hidden layer through the forward GRU function; the backward hidden layer obtains the state of the backward hidden layer through the backward GRU function; the output layer fuses the states of the forward hidden layer and the backward hidden layer to obtain output data;

[0067] The specific formula for obtaining the state of the forward hidden layer and the backward hidden layer is as follows:

[0068]

[0069]

[0070] In the formula, and are the states of the forward and backward hidden layers at time t-1 respectively; and are the states of the forward and backward hidden layers at time t respectively;

[0071] The output layer obtains the output data h t The method is:

[0072]

[0073] In the formula, and are the weights of the forward and backward hidden layer states at time t; b t is the bias of the hidden layer state at time t;

[0074] The above-mentioned fully connected unit is based on a fully connected neural network, bridging the input data, feature approximation unit and bidirectional gated recurrent unit to ensure the consistency of prediction.

[0075] Step S3, designing an expert knowledge module, and using feature approximation to embed the expert knowledge into the BiGRU-NN hybrid neural network model of step S2;

[0076] The above expert knowledge module is composed of the monitoring data of the battery during the discharge cycle, including the maximum temperature Q i and discharge time t i , the specific formula is as follows:

[0077]

[0078] In the formula, C0 is the initial capacity state of the battery, k, C i is an empirical parameter, Estimate battery capacity status for expert knowledge module;

[0079] The specific formula for the above feature approximation method is as follows:

[0080]

[0081] Where α is the weight parameter; Ω() is the regularization term; λ is the regularization parameter; Θ represents the model parameter.

[0082] Step S4: input the feature data constructed in step S1 into the expert knowledge embedded BiGRU-NN hybrid neural network model obtained in step S3 for training to obtain a pre-trained model.

[0083] Step S5: When faced with a new task, a small amount of labeled data is used to fine-tune the pre-trained model parameters obtained in step S4 to obtain a prediction model.

[0084] The specific fine-tuning method is: use the first 20 labeled data of the new task to perform a small amount of training on all layers of the basic model, and make targeted modifications to the network parameters of the basic model.

[0085] Step S6, input the new task data into the prediction model obtained in step S5, obtain the remaining capacity prediction result, and determine the point where the failure threshold is reached to obtain the remaining battery life RUL; wherein the failure threshold is 70% of the initial capacity of the battery.

[0086] The network structure of the expert knowledge embedded BiGRU-NN hybrid neural network model is as follows: Figure 2 shown.

[0087] The accuracy of the expert knowledge embedded BiGRU-NN hybrid neural network model is evaluated. The evaluation indicators include absolute error AE, root mean square error RMSE and mean absolute error MAE.

[0088] AE represents the accuracy of RUL prediction; RMSE and MAE represent the accuracy of battery remaining capacity prediction;

[0089] The absolute error AE is calculated as follows:

[0090] AE=|TR|

[0091] Where: T represents the actual RUL; R represents the predicted RUL;

[0092] The root mean square error RMSE is calculated as follows:

[0093]

[0094] The mean absolute error MAE is calculated as follows:

[0095]

[0096] Where: x t is the actual capacity of the battery at time t; c t is the predicted capacity value of the battery at time t; n is the number of samples.

[0097] Example:

[0098] The battery dataset uses B0007 battery to pre-train the expert knowledge embedded BiGRU-NN hybrid neural network model, and B0005 and B0006 batteries as prediction tasks. The prediction results are shown in Table 1.

[0099] In this embodiment, k and C are obtained. i The numerical value of the empirical parameter, the specific operation is:

[0100] Construct the objective function:

[0101]

[0102] In the formula, is the data with capacity label for the battery of B0007; t refers to the current time t; n is the number of samples with labels; the objective function is optimized by using the Seagull optimization algorithm to obtain the optimal solution, that is, k, C i The numerical value of .

[0103] The prediction results of the B0005 battery in this example are as follows Figure 3 shown.

[0104] Table 1 Prediction results of expert knowledge embedded BiGRU-NN hybrid neural network model

[0105]

[0106]

[0107] In summary, the present invention selects an expert knowledge embedded BiGRU-NN hybrid neural network model to predict the remaining service life of the battery. The present invention proposes a BiGRU-NN hybrid neural network prediction model, including: a feature approximation unit, a BiGRU unit and a fully connected unit; first, the feature approximation unit has the ability to learn the differences of different time features; second, the BiGRU unit can not only consider the impact of historical moment factors on the current battery life, but also consider the impact of future moment factors on the current battery life; finally, the fully connected unit realizes the parameter update of each unit parameter under a unified framework to ensure the consistency of the prediction. In order to solve the problem that a large number of data labels are required when training a deep learning model, and it is difficult to measure the battery capacity and provide sufficient labels; the present invention introduces an expert knowledge module to increase the prior knowledge of the model; adopts a feature approximation method to embed expert knowledge into the hybrid neural network model, and realizes the effective fusion of data information and expert knowledge. Therefore, the model can accurately predict the remaining service life of the battery in actual situations, providing a certain basis for battery recycling and reuse, and reducing the research and development and manufacturing cycle.

Claims

1. A method for predicting the remaining life of a power battery, characterized in that: The following steps are involved: Step S1, obtaining monitoring data of the electric vehicle power battery and constructing characteristic data; The above characteristic data include the voltage drop value within 1000s during discharge, as well as the time when the temperature reaches the peak value, the voltage reaches the lowest point and the voltage drops to 3.5V. At the same time, the characteristic data is normalized to obtain x t ={x t+1 ,x t+2 ,…,x t+u }; Step S2, constructing a hybrid neural network BiGRU-NN prediction model consisting of a feature approximation unit, a bidirectional gated recurrent unit BiGRU and a fully connected unit; The feature approximation unit includes an encoder and a decoder, which converts the feature data x t ={x t+1 ,x t+2 ,…,x t+i } Input into the encoder and compress to obtain feature z i ; Feature z i Condensed with original feature information; feature z i After the decoder, the high-dimensional mapping reconstructs the signal Due to the characteristics With features The distribution is different between Similarity Approximation Obtain features with stronger expressive power to enhance the robustness of the model; The formulas for the encoder and decoder process are as follows: z i =f i (W T x t +b) Where W is the encoder weight matrix; b is the encoder bias term, and W′ is the decoder weight matrix; b′ is the bias term of the decoder; f i , f j is the activation function; The loss function is defined as follows: In the formula, D(·) is the similarity measurement function, and λ is the weight value; The above-mentioned bidirectional gated recurrent unit BiGRU includes: an input layer, a forward hidden layer, a backward hidden layer and an output layer; the input layer receives the characteristic data of the battery; the forward hidden layer obtains the state of the forward hidden layer through the forward GRU function; the backward hidden layer obtains the state of the backward hidden layer through the backward GRU function; the output layer fuses the states of the forward hidden layer and the backward hidden layer to obtain output data; The specific formula for obtaining the state of the forward hidden layer and the backward hidden layer is as follows: In the formula, is the state of the forward hidden layer at time t-1, is the state of the backward hidden layer at time t-1; is the state of the forward hidden layer at time t, is the state of the backward hidden layer at time t; The output layer obtains the output data h t The method is: In the formula, is the weight of the forward hidden layer state at time t, is the weight of the backward hidden layer state at time t; b t is the bias of the hidden layer state at time t; The above fully connected unit is based on a fully connected neural network, bridging the input data, feature approximation unit and bidirectional gated recurrent unit to ensure the consistency of prediction; Step S3, designing an expert knowledge module, and using feature approximation to embed the expert knowledge into the BiGRU-NN hybrid neural network model of step S2; Step S4, inputting the feature data constructed in step S1 into the expert knowledge embedded BiGRU-NN hybrid neural network model obtained in step S3 for training to obtain a pre-trained model; Step S5: When faced with a new task, a small amount of labeled data is used to fine-tune the pre-trained model parameters obtained in step S4 to obtain a prediction model; Step S6: input the new task data into the prediction model obtained in step S5 to obtain the remaining capacity prediction result, and determine the point where the failure threshold is reached to obtain the remaining battery life RUL.

2. The method for predicting the remaining life of a power battery according to claim 1, characterized in that: Step S5 uses a small amount of labeled data to fine-tune the obtained pre-trained model parameters. The specific fine-tuning method is: when facing a new task, all layers of the basic model are trained in a small amount to modify the network parameters of the basic model in a targeted manner.

3. The method for predicting the remaining life of a power battery according to claim 1, characterized in that: The failure threshold in step S6 is 70% of the initial capacity of the battery.