WO2022198616A1 - Battery life prediction method and system, electronic device, and storage medium - Google Patents

Battery life prediction method and system, electronic device, and storage medium Download PDF

Info

Publication number
WO2022198616A1
WO2022198616A1 PCT/CN2021/083165 CN2021083165W WO2022198616A1 WO 2022198616 A1 WO2022198616 A1 WO 2022198616A1 CN 2021083165 W CN2021083165 W CN 2021083165W WO 2022198616 A1 WO2022198616 A1 WO 2022198616A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
term
component
battery
neural network
Prior art date
Application number
PCT/CN2021/083165
Other languages
French (fr)
Chinese (zh)
Inventor
申文静
陈长
周冀
王红志
吕启涛
Original Assignee
深圳技术大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳技术大学 filed Critical 深圳技术大学
Priority to PCT/CN2021/083165 priority Critical patent/WO2022198616A1/en
Publication of WO2022198616A1 publication Critical patent/WO2022198616A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/04Ageing analysis or optimisation against ageing

Definitions

  • the present invention relates to the technical field of batteries, and in particular, to a battery life prediction method, system, electronic device and storage medium.
  • lithium-ion batteries have been widely used in many important fields.
  • lithium-ion batteries still face many challenges, one of which is performance degradation.
  • performance degradation There are many factors involved in performance degradation. For example, when many chemical side reactions of anode, electrolyte and cathode are affected, the performance of the battery will be degraded, and the capacity of the battery will be partially regenerated, self-charging phenomenon, user habits, and ambient temperature. , road vibration and other factors, the battery capacity may be attenuated, thus affecting the battery life.
  • the existing battery life prediction methods do not separate the influence of various factors that cause battery capacity fading, or can only achieve short-term prediction, or can only predict the life of a specific battery, so it cannot achieve generalization, long-term and valid forecast.
  • the main purpose of the present invention is to provide a battery life prediction method, system, electronic device and storage medium, which can achieve generalized, long-term and effective prediction of battery life.
  • a first aspect of the present invention provides a battery life prediction method, including: acquiring historical data of battery capacity; preprocessing the historical data to obtain primary component component data and secondary component component data of battery capacity decay data; input the principal component component data and the secondary component component data into a pre-trained long-term and short-term memory neural network; receive the output of the long-term and short-term memory neural network, and process the output to obtain a battery Decay sequence of capacity; determine whether the value in the decay sequence reaches a preset battery failure threshold, so as to predict the remaining life of the battery.
  • the step of preprocessing the historical data includes: using the method of collective empirical mode decomposition to decompose the historical data of the battery capacity into at least three component data, the at least three components include at least two eigenmodes, one residual Dimensionality reduction is performed on the eigenmodes and the residual by using the principal component analysis method, so as to reduce the component data into two, and the two component data includes the principal component component data and the secondary component component data.
  • the training method of the long-term and short-term neural network includes: acquiring sample data of battery capacity and establishing an original long-term and short-term neural network; preprocessing the sample data to obtain sample principal component component data and samples of battery capacity decay Secondary component component data; input the sample principal component component data and the sample secondary component component data into the original long-term and short-term neural network for training.
  • the training method of the long-term and short-term neural network further includes: performing sparse processing on the sample principal component component data and the sample secondary component component data of the sample data; The component component data is input into the original long-term and short-term neural network for training.
  • the training method of the long-term and short-term neural network further includes: acquiring the type of battery of the sample data, and acquiring auxiliary data of the battery capacity of the same type as the battery of the sample data; preprocessing the auxiliary data to obtain auxiliary principal component components data; input the auxiliary principal component data into the original long-term and short-term neural network, perform auxiliary training, and obtain a long-term and short-term neural network.
  • the training method for the long-term and short-term neural network further includes: acquiring N auxiliary data with the same type of battery capacity as the sample data battery, where N is an integer greater than 1; preprocessing the N auxiliary data, Obtain N auxiliary principal component data; calculate the average value of the N auxiliary principal component data as an auxiliary sequence; input the auxiliary sequence into the original long-term and short-term neural network, perform auxiliary training, and obtain a long-term and short-term neural network.
  • the principal component analysis method includes an inverse transformation matrix, and the inverse transformation matrix is used to inversely transform the components; the output result includes a principal component component prediction result and a secondary component prediction result; predict the output result
  • the processing step includes: multiplying the prediction result of the principal component and the prediction result of the secondary component with the inverse transformation matrix to perform inverse transformation; The composition prediction results are superimposed to obtain the predicted battery capacity decay sequence.
  • a second aspect of the present invention provides a battery life prediction system, comprising: a historical data acquisition module for acquiring historical data of battery capacity; a preprocessing module for preprocessing the historical data to obtain a main indicator of battery capacity decay. Component component data and secondary component component data; a training module for pre-training a long short-term memory neural network; an input module for inputting the principal component component data and the secondary component component data into the training module trained by the training module.
  • a receiving module used for receiving the output result of the long-term and short-term memory neural network, and predicting the output result to obtain a decay sequence of battery capacity
  • a prediction module used for judging the decay sequence in the Whether the value reaches the preset battery failure threshold to predict the remaining battery life.
  • a third aspect of the present invention provides an electronic device, comprising: a memory and a processor, the memory stores a computer program that can run on the processor, and when the processor executes the computer program, the above-mentioned Any one of the battery life prediction methods.
  • a fourth aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the battery life prediction methods described above.
  • the present invention provides a battery life prediction method, system, electronic device and storage medium, and the beneficial effects are:
  • the complex parameters of the battery capacity decay can be effectively separated, so that the long short-term memory network can better identify the factors that cause the capacity decay, so as to achieve Effective prediction; in addition, pre-training the long short-term memory neural network can learn different sample data during training, and obtain the ability to identify different batteries, thereby improving the generalization ability of prediction; in addition, by predicting battery life Then, using the prediction results to reversely train the long-term and short-term memory neural network can make the long-term and short-term memory neural network identify the battery based on the previous data and prediction results in the middle and late battery life, so as to make the long-term battery life. Predictions are more accurate.
  • FIG. 1 is a schematic flowchart of a battery life prediction method according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a PCA of a battery life prediction method according to an embodiment of the present application
  • FIG. 3 is a unit structure diagram of a long short-term memory neural network of a battery life prediction method according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a capacity decay curve of a NASA lithium-ion battery for a battery life prediction method according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a capacity decay curve of a CALCE lithium-ion battery for a battery life prediction method according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of a component curve obtained by EEMD processing of B5 of the battery life prediction method according to an embodiment of the present application;
  • FIG. 7 is a schematic diagram of a PCA component curve of B5 of a battery life prediction method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a PC curve of a NASA lithium-ion battery according to a battery life prediction method according to an embodiment of the present application;
  • FIG. 9 is a statistical graph of the correlation coefficient of the PC of the NASA lithium-ion battery in the first 70, 80, and 90 cycles of the battery life prediction method according to the embodiment of the present application;
  • Figure 10(a) is a schematic diagram of a curve diagram of a NASA lithium-ion battery PC prediction result of a battery life prediction method according to an embodiment of the present application
  • Figure 10(b) is a diagrammatic diagram of a curve diagram of the SC1 prediction result
  • FIG. 11 is a schematic diagram of the sparseness and interpolation reconstruction of CALCE data according to the battery life prediction method according to the embodiment of the present application;
  • Figure 12 (a) is the online prediction result and error lattice and curve diagram of B5 of the battery life prediction method according to the embodiment of the application, and Figure 12 (b) is the lattice and curve diagram of the online prediction result and error of CX2-34;
  • FIG. 13 is a schematic structural block diagram of a battery life prediction system according to an embodiment of the present application.
  • FIG. 14 is a schematic block diagram of the structure of an electronic device according to an embodiment of the present application.
  • FIG. 1 is a battery life prediction method, including: S1, obtaining historical data of battery capacity; S2, preprocessing the historical data to obtain principal component component data and secondary component component data of battery capacity decay; S3 , Input the principal component component data and the secondary component component data into the pre-trained long-term and short-term memory neural network; S4, receive the output results of the long-term and short-term memory neural network, and process the output results to obtain the battery capacity attenuation sequence; S5, Determine whether the value in the decay sequence reaches the preset battery failure threshold to predict the remaining life of the battery, and input the historical data and prediction results into the long short-term memory neural network for reverse training.
  • the complex parameters of the battery capacity decay can be effectively separated, so that the long short-term memory network can better identify the resulting capacity
  • pre-training the long-term and short-term memory neural network can learn different sample data during training to obtain the ability to identify different batteries, thereby improving the generalization ability of prediction; After predicting the life of the battery, using the prediction results to reversely train the long-term memory neural network can make the long-term memory neural network identify the battery based on the previous data and the prediction results in the middle and late battery life. This makes the long-term battery life prediction more accurate.
  • the step of preprocessing the historical data includes: using an ensemble empirical mode decomposition method to decompose the historical battery capacity data into at least three component data, where the at least three components include at least two eigenmodes , a margin; using the principal component analysis method to reduce the dimensionality of the eigenmodes and the margin to reduce the component data into two, the two component data include the principal component component data and the secondary component component data.
  • the EEMD Endsemble Empirical Mode Decomposition, ensemble empirical mode decomposition
  • IMFs Intrinsic Mode Functions, eigenmodes
  • Res Residual
  • PCA Principal Component Analysis, principal component analysis
  • SC Secondary Component, secondary component component
  • EEMD ensemble empirical mode decomposition
  • the process of extracting IMF by EEMD is called a screening algorithm, which is an iterative method.
  • the specific decomposition steps are as follows:
  • i is the iterative process of adding Gaussian white noise for the ith time
  • j represents the calculation process of the jth IMF component in each iterative process.
  • Condition a The number of local extreme points is equal to the number of zero-crossing points, or the difference is at most 1;
  • EEMD is a noise-assisted decomposition method that aims to improve the shortcomings of EMD.
  • EEMD essentially repeats the EMD process for a given number of times on the original signal ⁇ (t), and then averages the corresponding components resulting from the iterations.
  • Gaussian white noise n i (t) is added to assist the decomposition, so that the noise interference signal not only has a uniform decomposition scale, but also smoothes outliers caused by impulse interference, etc., effectively solving the modal noise mixing question.
  • PCA principal component analysis
  • the size of the eigenvalue ⁇ j of the covariance matrix R reflects the size of the effective information of the principal component component ⁇ j , that is, the larger ⁇ j is, the more effective information ⁇ j contains.
  • the percentage of valid information for ⁇ j is calculated by:
  • Preprocessing the data through the EEMD-PCA combination can improve the prediction performance of the subsequent neural network prediction model.
  • the training method of the long-term and short-term neural network includes: acquiring sample data of battery capacity and establishing an original long-term and short-term neural network; preprocessing the sample data to obtain sample principal component component data and sample secondary data of battery capacity decay Component component data is required; the sample principal component component data and the sample secondary component component data are input into the original long-term and short-term neural network for training.
  • the present invention improves the LSTM (Long and Short-Term Memory, long short-term memory) neural network, respectively, the PC and SC obtained by the previous module Two types of data are modeled, analyzed and predicted. In order to further improve the prediction accuracy, the PC of the same lithium-ion battery capacity sequence is also used as an auxiliary quantity to train the LSTM network.
  • LSTM Long and Short-Term Memory, long short-term memory
  • the training method for the long-term and short-term neural network further includes: acquiring the battery type of the sample data, and acquiring auxiliary data of the battery capacity of the same type as the sample data battery; preprocessing the auxiliary data to obtain auxiliary principal component component data ; Input the auxiliary principal component data into the original long-term and short-term neural network, and perform auxiliary training to obtain the long-term and short-term neural network.
  • the training method for the long-term and short-term neural network further includes: acquiring N auxiliary data with the same type of battery capacity as the sample data battery, where N is an integer greater than 1; preprocessing the N auxiliary data to obtain N auxiliary data Auxiliary principal component data; calculate the average value of N auxiliary principal component data as an auxiliary sequence; input the auxiliary sequence into the original long-term and short-term neural network, perform auxiliary training, and obtain a long-term and short-term neural network.
  • the LSTM neural network structure is a special kind of recurrent neural network, which is usually used to solve long-term dependency problems.
  • the unit structure of the LSTM network is shown in Figure 3, which consists of a forget gate, an input gate and an output gate.
  • LSTM networks can both preserve meaningful information and forget useless data. Also, it can decide what information to output. These properties can make LSTMs more effective in handling long-term correlated and highly nonlinear sequences.
  • the calculation formula of each gate is as follows:
  • x is the input data
  • y is the output data
  • i, f, O, and C are the input gate, forget gate, output gate, and cell state, respectively.
  • the matrices W and b represent the weights and biases to be trained
  • ⁇ ( ⁇ ) is the sigmoid function
  • tanh( ⁇ ) is the hyperbolic tangent function
  • the training method for the long-term and short-term neural network further includes: performing sparse processing on the sample principal component data and the sample secondary component data of the sample data; The component component data is fed into the original long- and short-term neural network for training.
  • the principal component analysis method includes an inverse transformation matrix, and the inverse transformation matrix is used to inversely transform the components; the output result includes the principal component component prediction result and the secondary component prediction result; the step of performing prediction processing on the output result Including: multiplying the prediction results of the principal component components and the prediction results of the secondary components with the inverse transformation matrix to perform inverse transformation; superimposing the prediction results of the principal component components and the prediction results of the secondary components after the inverse transformation to obtain the predicted battery capacity decay sequence .
  • This embodiment also uses the technical solutions described above to verify two industry-recognized lithium-ion battery data sets.
  • further experiments were conducted to evaluate the online prediction performance, and 100 repeated experiments were performed to reduce the effect of model randomness, resulting in more robust and accurate prediction results in cloud computing.
  • the first lithium battery dataset was released by NASA-Ames (National Aeronautics and Space Administration-Ames) research center, and the second dataset was from CALCE (Center for Advanced Life Cycle Engineering (CALCE) of the University of Maryland, University of Maryland Advanced Lifecycle Engineering Center).
  • CALCE batteries last almost 10 times longer than NASA batteries, so they represent two different types of lithium-ion batteries, long-life batteries and short-life batteries. It is very challenging to validate the proposed method with these two sets of widely different battery data, but it is also more able to demonstrate the generality of the method.
  • the battery is first charged with a constant current of 0.75C (1.5A) to a cut-off voltage of 4.2V, and then charged with a constant voltage of 4.2V until the cut-off current drops below 0.02A;
  • Figure 4 shows the capacity degradation curves of NASA lithium-ion batteries measured by the above experiments.
  • CX2-34, CX2-36, CX2-37, and CX2-38 which are prismatic cells with LiCoO2 cathodes with a nominal capacity of 1.35Ah.
  • CALCE's lithium-ion battery capacity decay data is obtained through the ArbinBT2000 battery experimental test system at room temperature (25-30 °C), and the experimental process is similar to NASA:
  • the battery is first charged at a constant current rate of 0.5C (0.675A) until the voltage reaches 4.2V, and then maintained at 4.2V until the charging current drops below 0.05A.
  • the data preprocessing process included EEMD, PCA and auxiliary sequence analysis.
  • EEMD is used to decompose the original sequence, taking the decomposition result of group B5 as an example, as shown in Figure 6.
  • the original sequence is decomposed according to formulas (1)-(7) to obtain 7 components, which are respectively expressed as IMF1, IMF2, IMF3, IMF4, IMF5, IMF6 and Res.
  • PCA is adopted to retain the effective components: under the precursor that retains more than 99% of the effective information of the original signal, at least two components are retained, and the components with less than 1% of the effective information are discarded as noise.
  • two components are obtained, which contain more than 99% of the information of the original seven EEMD components.
  • the first component with simpler decay contains 98.89% valid information and is called the principal component (PC).
  • the second fluctuation contains 0.36% of the valid information called the secondary component (SC1).
  • the overall degradation trend component PC showed a good monotonic downward trend without fluctuation.
  • the local fluctuation component SC1 mainly contains information on battery capacity regeneration and self-charging phenomena.
  • the proposed EEMD-PCA decomposition method can effectively separate the local fluctuation and global degradation trend of battery capacity degradation data, which is helpful to improve the performance of subsequent deep learning methods.
  • Figure 7 illustrates the two components in Figure 7 and the neural network is trained using the data of the previous segment respectively to predict the data of the latter segment. Since the training data and prediction data of the PC are two disjoint intervals, large deviations are prone to occur in the prediction. Therefore, in order to obtain more accurate and stable prediction results, similar other battery sequences are introduced for auxiliary training instead of relying on this single sequence.
  • Figure 8 illustrates the PC of each NASA Li-ion battery after EEMD-PCA pretreatment. Each PC contains 96%-99% of the original capacity sequence. It can be seen that the main trend of battery capacity decline has a high similarity.
  • the capacity degradation data of the battery to be predicted are incomplete until the failure threshold is reached.
  • the PC of B7 has the strongest correlation with the PC of B5. Therefore, the PC of B7 was used as the helper sequence, and the average PC value of B6 and B7 could be chosen as another helper sequence for generality (excluded because the sequence of B18 was too short).
  • These auxiliary sequences with full-cycle degradation information of the battery and the existing historical data of the battery are used as the input LSTM neural network for the training set.
  • the known historical data of the sequence to be predicted is input into the training model to obtain the prediction result.
  • the LSTM network algorithm in the present invention is implemented in MATLAB, and the model parameters are set as shown in Table 2 after repeated experiments.
  • the preprocessed capacity value of the current cycle is input into the neural network to predict the capacity value of the next cycle.
  • the predicted value is used as the input for the next iteration.
  • the capacity of the battery in the future is predicted by the extrapolation method, and the prediction result can be expressed by equation (17):
  • LSTM( ) is the LSTM neural network prediction model
  • t is the starting point of the prediction
  • h is the number of cycles after the starting point
  • Q t+h is the available capacity of the battery at the t+hth cycle.
  • Figure 10 shows the PC and SC1 prediction results for NASA B5 with the previous 90 cycles of data as the training set. It can be seen that the prediction result of the principal component PC is basically consistent with the decreasing trend of the actual capacity. Although the prediction accuracy of the secondary component SC1 is obviously inferior to that of PC due to fluctuations, its contribution and effective information are also much smaller than that of PC, which has little effect on the superimposed results.
  • Post-processing (represented as Eq. (18)) is applied to process the result output by the LSTM. Multiply the prediction results of each component by the inverse transformation coefficient matrix of PCA to obtain the final capacity prediction sequence:
  • n is the capacity sequence length.
  • the battery life used by CALCE is much longer than the battery life of NASA, so the capacity data points in the CALCE battery data set sequence are denser, and the variation of two adjacent capacity data is also smaller.
  • further appropriate processing methods need to be taken.
  • the training data is preprocessed by EEMD-PCA, it is sparsed, that is, the capacity data of every 8 adjacent cycles is averaged to reduce the data volume of the original sequence, and then the average value is calculated. Value series regression forecast.
  • the predicted components are inversely transformed and then subjected to interpolation and reconstruction processing, that is, the cubic spline interpolation method is used to interpolate 7 data points between the inversely transformed data points to obtain a complete capacity prediction sequence.
  • Figure 14 shows different prediction results for B5 and CX2-34 at different prediction starting points.
  • the forecast starting point for B5 is 90, 80, and 70 periods
  • the forecast starting point for CX2-34 is 801, 705, and 601 periods.
  • the predicted curve is basically consistent with the original capacity decay curve, and there are local fluctuations, showing the phenomenon of capacity regeneration. Compared to these predicted series, the data points are relatively scattered due to the relatively short cycle life of B5.
  • the predicted results fluctuate locally, which is in good agreement with the actual degradation curve; while CX2-34 has a longer cycle life and less data variation, and some predicted data points are obtained by cubic spline interpolation. Therefore, the capacity regeneration phenomenon causes The local fluctuation of , is not fully reflected, but the main degradation trend of the prediction curve is basically satisfied, and the prediction accuracy is also guaranteed.
  • the validity and robustness of the lithium battery life prediction method based on the fusion of pre-decomposition and deep learning proposed in the present invention has been verified for RUL prediction of lithium batteries with different life scales.
  • root mean square error root mean square error
  • n is the data length
  • Ti is the measured value for the ith cycle
  • Pi is the corresponding predicted value for the ith cycle. The smaller the value of these four criteria, the higher the prediction accuracy.
  • Table 3 shows the prediction results of B5 and CX2-34 at different starting point of prediction (SPP).
  • SPP starting point of prediction
  • AE and RE of actual life (end of life, EoL) and predicted end of life (PEoL) under different SPPs were calculated.
  • RMSE and MAPE are used to evaluate the capacity prediction results
  • AE and RE are used to evaluate the RUL prediction accuracy.
  • Fig. 12(a) is the RUL prediction of 70 cycles B5
  • Fig. 12(b) is the RUL prediction of 601 cycles of CX2-34. It can be observed that B5 and CX2-34 may have relatively large errors in early predictions, but are acceptable under certain circumstances. With the accumulation of historical data, the accuracy gradually improves, and more accurate RUL prediction results can be obtained in the middle and late stages. Online RUL prediction can be used as an important reference for BMS to monitor the future health of batteries.
  • the RUL prediction AE of B5 and CX2-34 does not decrease monotonically with the prediction time point, but decreases fluctuatingly, which is caused by the uncertainty of the prediction algorithm.
  • Uncertainty management has important implications for health forecasting because it provides decision makers with statistical information on forecasting rules. Therefore, to obtain their PEoL distributions, 100 prediction experiments were repeated on B5 and CX2-34 based on the first 90 cycles and the first 801 cycles, respectively.
  • the mean and median of its PEoL were also calculated for performance evaluation. According to the statistical results, the absolute uncertainty error between the mean and median PEoL values of B5 and CX2-34 and the true value is no more than 2 cycles.
  • a single PEoL can be replaced by the mean or median of multiple PEoLs, which can effectively deal with the adverse effects of uncertainty factors and maintain the stability and accuracy of RUL prediction for lithium batteries.
  • computing and storage are no longer a problem.
  • the battery-related data of different vehicles can be measured on-board and seamlessly uploaded to the cloud, so the method can make more accurate RUL predictions based on the data collected by the cloud-based battery system.
  • an embodiment of the present application also provides a battery life prediction system, including: a historical data acquisition module 1, a preprocessing module 2, a training module 3, an input module 4, a receiving module 5, and a prediction module 6; historical data acquisition Module 1 is used to obtain historical data of battery capacity; preprocessing module 2 is used to preprocess historical data to obtain principal component data and secondary component data of battery capacity decay; training module 3 is used to pre-train long short-term memory Neural network; input module 4 is used for inputting principal component component data and secondary component component data into the long short-term memory neural network trained by training module 3; receiving module 5 is used for receiving the output result of the long short-term memory neural network, and is used for the output result. Perform prediction to obtain a decay sequence of battery capacity; the prediction module 6 is used to judge whether the value in the decay sequence reaches a preset battery failure threshold, so as to predict the remaining life of the battery.
  • each module in the above battery life prediction system is only for illustration. In other embodiments, the battery life prediction system can be divided into different modules as required to complete all or part of the functions of the above battery life prediction system.
  • an embodiment of the present application provides an electronic device, please refer to FIG. 14, the electronic device includes: a memory 601, a processor 602, and a computer program stored in the memory 601 and running on the processor 602, and the processor 602 executes the computer When the program is executed, the battery life prediction method described in the preceding paragraph is implemented.
  • the electronic device further includes: at least one input device 603 and at least one output device 604 .
  • the above-mentioned memory 601 , processor 602 , input device 603 and output device 604 are connected through a bus 605 .
  • the input device 603 may specifically be a camera, a touch panel, a physical button, a mouse, or the like.
  • the output device 604 may specifically be a display screen.
  • the memory 601 may be a high-speed random access memory (RAM, Random Access Memory) memory, or may be a non-volatile memory (non-volatile memory), such as a disk memory.
  • RAM Random Access Memory
  • non-volatile memory such as a disk memory.
  • Memory 601 is used to store a set of executable program codes, and processor 602 is coupled to memory 601 .
  • an embodiment of the present application further provides a computer-readable storage medium, which may be provided in the electronic device in each of the foregoing embodiments, and the computer-readable storage medium may be the foregoing memory 601.
  • a computer program is stored on the computer-readable storage medium, and when the program is executed by the processor 602, the battery life prediction method described in the foregoing embodiment is implemented.
  • the computer-storable medium may also be a U disk, a removable hard disk, a read-only memory 601 (ROM, Read-Only Memory), a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
  • modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may be stored in a computer-readable storage medium.
  • the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Abstract

Disclosed are a battery life prediction method and system, an electronic device, and a storage medium. The method comprises: obtaining past data concerning battery capacity; preprocessing the past data to obtain principal component data and secondary component data of battery capacity attenuation; inputting the principal component data and the secondary component data into a pre-trained long short-term memory neural network; receiving an output result of the long short-term memory neural network, and processing the output result to obtain an attenuation sequence of the battery capacity; and determining whether a numerical value in the attenuation sequence reaches a preset battery failure threshold so as to predict remaining battery life, and inputting the past data and a prediction result into the long short-term memory neural network for reverse training. Generalized, long-term, and effective battery life prediction can be achieved.

Description

一种电池寿命预测方法、系统、电子装置及存储介质A battery life prediction method, system, electronic device and storage medium 技术领域technical field
本发明涉及电池技术领域,尤其涉及一种电池寿命预测方法、系统、电子装置及存储介质。The present invention relates to the technical field of batteries, and in particular, to a battery life prediction method, system, electronic device and storage medium.
背景技术Background technique
随着新能源技术的发展,锂离子电池在许多重要的领域中得到了广泛的应用,然而,锂离子电池仍面临许多挑战,其中之一就是性能退化。性能退化涉及的因素较多,例如阳极、电解液、阴极的许多化学副反应在受到影响时,均会导致电池的性能退化,而电池的容量局部再生、自充电现象、用户使用习惯、环境温度、道路振动等因素下,都可能使得电池容量衰减,从而对电池的寿命产生影响。With the development of new energy technologies, lithium-ion batteries have been widely used in many important fields. However, lithium-ion batteries still face many challenges, one of which is performance degradation. There are many factors involved in performance degradation. For example, when many chemical side reactions of anode, electrolyte and cathode are affected, the performance of the battery will be degraded, and the capacity of the battery will be partially regenerated, self-charging phenomenon, user habits, and ambient temperature. , road vibration and other factors, the battery capacity may be attenuated, thus affecting the battery life.
因此,对于电池剩余寿命进行预测,可以确保电池管理系统的可靠运行及维护具有重要的意义。Therefore, it is of great significance to predict the remaining life of the battery to ensure the reliable operation and maintenance of the battery management system.
然而现有的电池寿命预测方法,没有将造成电池容量衰减的多种因素的影响分离,或仅能实现短期范围内的预测,或仅能预测特定电池的寿命,因此不能实现泛化、长期且有效的预测。However, the existing battery life prediction methods do not separate the influence of various factors that cause battery capacity fading, or can only achieve short-term prediction, or can only predict the life of a specific battery, so it cannot achieve generalization, long-term and valid forecast.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种电池寿命预测方法、系统、电子装置及存储介质,能够实现泛化、长期且有效的预测电池寿命。The main purpose of the present invention is to provide a battery life prediction method, system, electronic device and storage medium, which can achieve generalized, long-term and effective prediction of battery life.
为实现上述目的,本发明第一方面提供一种电池寿命预测方法,包括:获取电池容量的历史数据;对所述历史数据进行预处理,得到电池容量衰减的主 成分分量数据及次要成分分量数据;将所述主成分分量数据、所述次要成分分量数据输入预先训练的长短期记忆神经网络;接收所述长短期记忆神经网络的输出结果,并对所述输出结果进行处理,得到电池容量的衰减序列;判断所述衰减序列中的数值是否达到预先设置的电池失效阈值,以对电池剩余寿命进行预测。In order to achieve the above purpose, a first aspect of the present invention provides a battery life prediction method, including: acquiring historical data of battery capacity; preprocessing the historical data to obtain primary component component data and secondary component component data of battery capacity decay data; input the principal component component data and the secondary component component data into a pre-trained long-term and short-term memory neural network; receive the output of the long-term and short-term memory neural network, and process the output to obtain a battery Decay sequence of capacity; determine whether the value in the decay sequence reaches a preset battery failure threshold, so as to predict the remaining life of the battery.
进一步地,对历史数据进行预处理的步骤包括:利用集合经验模态分解的方法将电池容量的历史数据分解为至少三个分量数据,至少三个分量包括至少两个本征模态、一个余量;利用主成分分析方法对所述本征模态及所述余量进行降维,以减少分量数据为两个,两个分量数据包括主成分分量数据及次要成分分量数据。Further, the step of preprocessing the historical data includes: using the method of collective empirical mode decomposition to decompose the historical data of the battery capacity into at least three component data, the at least three components include at least two eigenmodes, one residual Dimensionality reduction is performed on the eigenmodes and the residual by using the principal component analysis method, so as to reduce the component data into two, and the two component data includes the principal component component data and the secondary component component data.
进一步地,所述长短期神经网络的训练方法包括:获取电池容量的样本数据,并建立原始长短期神经网络;对所述样本数据进行预处理,得到电池容量衰减的样本主成分分量数据及样本次要成分分量数据;将所述样本主成分分量数据、样本次要成分分量数据输入原始长短期神经网络,进行训练。Further, the training method of the long-term and short-term neural network includes: acquiring sample data of battery capacity and establishing an original long-term and short-term neural network; preprocessing the sample data to obtain sample principal component component data and samples of battery capacity decay Secondary component component data; input the sample principal component component data and the sample secondary component component data into the original long-term and short-term neural network for training.
进一步地,所述长短期神经网络的训练方法还包括:对所述样本数据的样本主成分分量数据及样本次要成分分量数据进行稀疏化处理;将稀疏化后的主成分分量数据及样本次要成分分量数据输入原始长短期神经网络,进行训练。Further, the training method of the long-term and short-term neural network further includes: performing sparse processing on the sample principal component component data and the sample secondary component component data of the sample data; The component component data is input into the original long-term and short-term neural network for training.
进一步地,所述长短期神经网络的训练方法还包括:获取样本数据电池的类型,并获取与样本数据电池同类型电池容量的辅助数据;对所述辅助数据进行预处理,得到辅助主成分分量数据;将所述辅助主成分分量数据输入所述原始长短期神经网络,进行辅助训练,得到长短期神经网络。Further, the training method of the long-term and short-term neural network further includes: acquiring the type of battery of the sample data, and acquiring auxiliary data of the battery capacity of the same type as the battery of the sample data; preprocessing the auxiliary data to obtain auxiliary principal component components data; input the auxiliary principal component data into the original long-term and short-term neural network, perform auxiliary training, and obtain a long-term and short-term neural network.
进一步地,所述长短期神经网络的训练方法还包括:所述获取N个与样本数据电池同类型电池容量的辅助数据,N为大于1的整数;对N个所述辅助数据进行预处理,得到N个辅助主成分分量数据;计算N个辅助主成分分量数据的平均值作为辅助序列;将所述辅助序列输入所述原始长短期神经网络,进行 辅助训练,得到长短期神经网络。Further, the training method for the long-term and short-term neural network further includes: acquiring N auxiliary data with the same type of battery capacity as the sample data battery, where N is an integer greater than 1; preprocessing the N auxiliary data, Obtain N auxiliary principal component data; calculate the average value of the N auxiliary principal component data as an auxiliary sequence; input the auxiliary sequence into the original long-term and short-term neural network, perform auxiliary training, and obtain a long-term and short-term neural network.
进一步地,所述主成分分析方法包含一个反变换矩阵,反变换矩阵用于对分量进行反变换;所述输出结果包括主成分分量预测结果及次要成分预测结果;对所述输出结果进行预测处理的步骤包括:将所述主成分分量预测结果及所述次要成分预测结果与所述反变换矩阵相乘进行反变换;对反变换后的所述主成分分量预测结果及所述次要成分预测结果进行叠加以得到预测的电池容量衰减序列。Further, the principal component analysis method includes an inverse transformation matrix, and the inverse transformation matrix is used to inversely transform the components; the output result includes a principal component component prediction result and a secondary component prediction result; predict the output result The processing step includes: multiplying the prediction result of the principal component and the prediction result of the secondary component with the inverse transformation matrix to perform inverse transformation; The composition prediction results are superimposed to obtain the predicted battery capacity decay sequence.
本发明第二方面提供一种电池寿命预测系统,包括:历史数据获取模块,用于获取电池容量的历史数据;预处理模块,用于对所述历史数据进行预处理,得到电池容量衰减的主成分分量数据及次要成分分量数据;训练模块,用于预先训练长短期记忆神经网络;输入模块,用于将所述主成分分量数据、所述次要成分分量数据输入所述训练模块训练的长短期记忆神经网络;接收模块,用于接收所述长短期记忆神经网络的输出结果,并对所述输出结果进行预测,得到电池容量的衰减序列;预测模块,用于判断所述衰减序列中的数值是否达到预先设置的电池失效阈值,以对电池剩余寿命进行预测。A second aspect of the present invention provides a battery life prediction system, comprising: a historical data acquisition module for acquiring historical data of battery capacity; a preprocessing module for preprocessing the historical data to obtain a main indicator of battery capacity decay. Component component data and secondary component component data; a training module for pre-training a long short-term memory neural network; an input module for inputting the principal component component data and the secondary component component data into the training module trained by the training module. long and short-term memory neural network; a receiving module, used for receiving the output result of the long-term and short-term memory neural network, and predicting the output result to obtain a decay sequence of battery capacity; a prediction module, used for judging the decay sequence in the Whether the value reaches the preset battery failure threshold to predict the remaining battery life.
本发明第三方面提供一种电子装置,包括:存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述中的任意一项所述电池寿命预测方法。A third aspect of the present invention provides an electronic device, comprising: a memory and a processor, the memory stores a computer program that can run on the processor, and when the processor executes the computer program, the above-mentioned Any one of the battery life prediction methods.
本发明第四方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述中的任意一项所述电池寿命预测方法。A fourth aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the battery life prediction methods described above.
本发明提供一种电池寿命预测方法、系统、电子装置及存储介质,有益效果在于:The present invention provides a battery life prediction method, system, electronic device and storage medium, and the beneficial effects are:
通过将样本数据预处理为主成分分量数据及次要成分分量数据,能够有效的将电池容量衰减的复杂参数进行分离,从而使得长短期记忆网络能够更好地 识别导致容量衰减的因素,从而实现有效的预测;另外,预先训练长短期记忆神经网络,能够根据训练时学习不同的样本数据,获得识别不同电池的识别能力,从而提高对预测的泛化能力;另外,通过在对电池的寿命预测后,使用预测结果对长短期记忆神经网络进行反向训练,能够使得电池寿命中后期的情况下,长短期记忆神经网络基于该电池前面的数据及预测结果进行识别,从而使得对于电池长期的寿命预测更加准确。By preprocessing the sample data to the main component data and the secondary component data, the complex parameters of the battery capacity decay can be effectively separated, so that the long short-term memory network can better identify the factors that cause the capacity decay, so as to achieve Effective prediction; in addition, pre-training the long short-term memory neural network can learn different sample data during training, and obtain the ability to identify different batteries, thereby improving the generalization ability of prediction; in addition, by predicting battery life Then, using the prediction results to reversely train the long-term and short-term memory neural network can make the long-term and short-term memory neural network identify the battery based on the previous data and prediction results in the middle and late battery life, so as to make the long-term battery life. Predictions are more accurate.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本申请实施例电池寿命预测方法的流程示意图;1 is a schematic flowchart of a battery life prediction method according to an embodiment of the present application;
图2为本申请实施例电池寿命预测方法的PCA的形象示意图;2 is a schematic diagram of a PCA of a battery life prediction method according to an embodiment of the present application;
图3为本申请实施例电池寿命预测方法的长短期记忆神经网络的单元结构图;3 is a unit structure diagram of a long short-term memory neural network of a battery life prediction method according to an embodiment of the present application;
图4为本申请实施例电池寿命预测方法的NASA锂离子电池容量衰减曲线示意图;4 is a schematic diagram of a capacity decay curve of a NASA lithium-ion battery for a battery life prediction method according to an embodiment of the present application;
图5为本申请实施例电池寿命预测方法的CALCE锂离子电池容量衰减曲线示意图;FIG. 5 is a schematic diagram of a capacity decay curve of a CALCE lithium-ion battery for a battery life prediction method according to an embodiment of the present application;
图6为本申请实施例电池寿命预测方法的B5的EEMD处理得到的分量曲线示意图;6 is a schematic diagram of a component curve obtained by EEMD processing of B5 of the battery life prediction method according to an embodiment of the present application;
图7为本申请实施例电池寿命预测方法的B5的PCA分量曲线示意图;7 is a schematic diagram of a PCA component curve of B5 of a battery life prediction method according to an embodiment of the present application;
图8为本申请实施例电池寿命预测方法的NASA锂离子电池的PC曲线示意图;8 is a schematic diagram of a PC curve of a NASA lithium-ion battery according to a battery life prediction method according to an embodiment of the present application;
图9为本申请实施例电池寿命预测方法的NASA锂离子电池在前70、80、90周期PC的相关系数统计图;FIG. 9 is a statistical graph of the correlation coefficient of the PC of the NASA lithium-ion battery in the first 70, 80, and 90 cycles of the battery life prediction method according to the embodiment of the present application;
图10(a)为本申请实施例电池寿命预测方法的NASA锂离子电池PC预测结果曲线示意图,图10(b)为SC1预测结果的曲线示意图;Figure 10(a) is a schematic diagram of a curve diagram of a NASA lithium-ion battery PC prediction result of a battery life prediction method according to an embodiment of the present application, and Figure 10(b) is a diagrammatic diagram of a curve diagram of the SC1 prediction result;
图11为本申请实施例电池寿命预测方法的对CALCE数据的稀疏化和插值重构的原理图;11 is a schematic diagram of the sparseness and interpolation reconstruction of CALCE data according to the battery life prediction method according to the embodiment of the present application;
图12(a)为本申请实施例电池寿命预测方法的B5的在线预测结果和误差点阵及曲线示意图,图12(b)为CX2-34的在线预测结果和误差的点阵及曲线示意图;Figure 12 (a) is the online prediction result and error lattice and curve diagram of B5 of the battery life prediction method according to the embodiment of the application, and Figure 12 (b) is the lattice and curve diagram of the online prediction result and error of CX2-34;
图13为本申请实施例电池寿命预测系统的结构示意框图;13 is a schematic structural block diagram of a battery life prediction system according to an embodiment of the present application;
图14为本申请实施例电子装置的结构示意框图。FIG. 14 is a schematic block diagram of the structure of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. The embodiments described above are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
请参阅图1,为一种电池寿命预测方法,包括:S1、获取电池容量的历史数据;S2、对历史数据进行预处理,得到电池容量衰减的主成分分量数据及次要成分分量数据;S3、将主成分分量数据、次要成分分量数据输入预先训练的长短期记忆神经网络;S4、接收长短期记忆神经网络的输出结果,并对输出结果进行处理,得到电池容量的衰减序列;S5、判断衰减序列中的数值是否达到预先设置的电池失效阈值,以对电池剩余寿命进行预测,并将历史数据及预测结果输入长短期记忆神经网络以进行反向训练。Please refer to FIG. 1, which is a battery life prediction method, including: S1, obtaining historical data of battery capacity; S2, preprocessing the historical data to obtain principal component component data and secondary component component data of battery capacity decay; S3 , Input the principal component component data and the secondary component component data into the pre-trained long-term and short-term memory neural network; S4, receive the output results of the long-term and short-term memory neural network, and process the output results to obtain the battery capacity attenuation sequence; S5, Determine whether the value in the decay sequence reaches the preset battery failure threshold to predict the remaining life of the battery, and input the historical data and prediction results into the long short-term memory neural network for reverse training.
在本实施例中,通过将样本数据预处理为主成分分量数据及次要成分分量数据,能够有效的将电池容量衰减的复杂参数进行分离,从而使得长短期记忆网络能够更好地识别导致容量衰减的因素,从而实现有效的预测;另外,预先训练长短期记忆神经网络,能够根据训练时学习不同的样本数据,获得识别不同电池的识别能力,从而提高对预测的泛化能力;另外,通过在对电池的寿命预测后,使用预测结果对长短期记忆神经网络进行反向训练,能够使得电池寿命中后期的情况下,长短期记忆神经网络基于该电池前面的数据及预测结果进行识别,从而使得对于电池长期的寿命预测更加准确。In this embodiment, by preprocessing the sample data to the main component data and the secondary component data, the complex parameters of the battery capacity decay can be effectively separated, so that the long short-term memory network can better identify the resulting capacity In addition, pre-training the long-term and short-term memory neural network can learn different sample data during training to obtain the ability to identify different batteries, thereby improving the generalization ability of prediction; After predicting the life of the battery, using the prediction results to reversely train the long-term memory neural network can make the long-term memory neural network identify the battery based on the previous data and the prediction results in the middle and late battery life. This makes the long-term battery life prediction more accurate.
在一个实施例中,对历史数据进行预处理的步骤包括:利用集合经验模态分解的方法将电池容量的历史数据分解为至少三个分量数据,至少三个分量包括至少两个本征模态、一个余量;利用主成分分析方法对本征模态及余量进行降维,以减少分量数据为两个,两个分量数据包括主成分分量数据及次要成分分量数据。In one embodiment, the step of preprocessing the historical data includes: using an ensemble empirical mode decomposition method to decompose the historical battery capacity data into at least three component data, where the at least three components include at least two eigenmodes , a margin; using the principal component analysis method to reduce the dimensionality of the eigenmodes and the margin to reduce the component data into two, the two component data include the principal component component data and the secondary component component data.
在本实施例中,使用的是EEMD(Ensemble Empirical Mode Decomposition,集合经验模态分解)方法将原始的电池容量数据分解为多个IMF(Intrinsic Mode Functions,本征模态)和一个Res(Residual,余量);然后再利用PCA(Principal Component Analysis,主成分分析)方法对上一步分解得到的多个分量降维处理,即在维持99%有效信息的前提下,减少分量个数至两个左右,其中一个分量称为PC(Principal Component,主成分分量)是包含绝大部分有效信息的单调衰减分量,其它分量称为SC(Secondary Component,次要成分分量)是信息量较少的波动分量;最后对同种电池容量序列经EEMD-PCA处理得到的分量PC进行相关分析,将与预测电池容量序列相关性最强的相似PC和同种电池的PC平均值同时作为辅助序列。In this embodiment, the EEMD (Ensemble Empirical Mode Decomposition, ensemble empirical mode decomposition) method is used to decompose the original battery capacity data into multiple IMFs (Intrinsic Mode Functions, eigenmodes) and a Res (Residual, Then use the PCA (Principal Component Analysis, principal component analysis) method to reduce the dimensionality of the multiple components decomposed in the previous step, that is, on the premise of maintaining 99% of the effective information, reduce the number of components to about two , one of the components is called PC (Principal Component, principal component component) is a monotonic decay component that contains most of the effective information, and the other components are called SC (Secondary Component, secondary component component) is a fluctuation component with less information; Finally, a correlation analysis was performed on the component PCs of the same battery capacity series processed by EEMD-PCA, and the similar PCs with the strongest correlation with the predicted battery capacity series and the average value of the same battery PCs were simultaneously used as auxiliary sequences.
具体地,为了提取锂离子电池容量衰减数据的整体退化趋势,首先采用了集合经验模态分解(EEMD)方法。EEMD是一种分析非线性和非平稳信号的 方法。EEMD最明显的特点是在分解过程中没有基函数,因此它可以自适应地表示原始信号的局部波动特征和全局退化趋势。Specifically, to extract the overall degradation trend of Li-ion battery capacity fading data, an ensemble empirical mode decomposition (EEMD) method is first employed. EEMD is a method for analyzing nonlinear and non-stationary signals. The most obvious feature of EEMD is that there is no basis function in the decomposition process, so it can adaptively represent the local fluctuation characteristics and global degradation trend of the original signal.
通过EEMD提取IMF的过程称为筛选算法,是一种迭代方法。具体分解步骤如下:The process of extracting IMF by EEMD is called a screening algorithm, which is an iterative method. The specific decomposition steps are as follows:
1、在原始容量序列ξ(t)中加入高斯白噪声n i(t),从而获得叠加后的序列ξ i,j(t): 1. Add Gaussian white noise ni (t) to the original capacity sequence ξ(t) to obtain the superimposed sequence ξ i, j (t):
ξ i,j(t)=ξ(t)+n i(t)     (1) ξ i,j (t)=ξ(t)+n i (t) (1)
这里,i是第i次加入高斯白噪声的迭代过程,j表示每次迭代过程中的第j个IMF分量计算过程。Here, i is the iterative process of adding Gaussian white noise for the ith time, and j represents the calculation process of the jth IMF component in each iterative process.
2、确定ξ i,j(t)的极值(局部最小值和最大值),然后用三次样条插值方法得到ξ i,j(t)的上包络线U(t)和下包络线L(t)。 2. Determine the extreme values (local minimum and maximum values) of ξ i, j (t), and then use cubic spline interpolation to obtain the upper envelope U(t) and lower envelope of ξ i, j (t) Line L(t).
3、计算上包络U(t)和下包络L(t)的均值m(t),用ξ i,j(t)减去均值m(t)得到中间量h(t): 3. Calculate the mean value m(t) of the upper envelope U(t) and the lower envelope L(t), and subtract the mean value m(t) from ξ i, j (t) to obtain the intermediate quantity h(t):
Figure PCTCN2021083165-appb-000001
Figure PCTCN2021083165-appb-000001
h(t)=ξ i,j(t)-m(t) h(t)=ξi ,j (t)-m(t)
4、检查h(t)是否满足下面条件a和条件b,如果不满足,用h(t)替换ξ i,j(t)重复步骤2和3,直到h(t)满足条件a和b。当条件a和b能够同时满足时,h(t)就可以认为是一个IMF i,j4. Check whether h(t) satisfies the following conditions a and b. If not, replace ξi with h(t) , and j (t) repeats steps 2 and 3 until h(t) satisfies conditions a and b. When the conditions a and b can be satisfied at the same time, h(t) can be regarded as an IMF i,j .
条件a:局部极值点的个数与过零点的个数相等,或者最多相差1;Condition a: The number of local extreme points is equal to the number of zero-crossing points, or the difference is at most 1;
条件b:上包络U(t)和下包络L(t)的均值m(t)满足:m(t)=0。(在实际应用中,过多的迭代处理会使IMF变成单纯的恒幅值调频信号,从而失去其实际意义,因此,当m(t)≤ε时,可以认为条件b已经满足了,这里ε是一个给定的接近于0的正值)。Condition b: The mean value m(t) of the upper envelope U(t) and the lower envelope L(t) satisfies: m(t)=0. (In practical applications, too much iterative processing will make the IMF become a simple constant amplitude FM signal, thus losing its practical significance. Therefore, when m(t)≤ε, it can be considered that the condition b has been satisfied, here ε is a given positive value close to 0).
5、从ξ i,j(t)中减去IMF i,j,得到两者的差值ξ i,j+1(t)。用ξ i,j+1(t)替换ξ i,j(t),重复步骤2-5,直到信号ξ i,j+1(t)的波动不超过2次为止,此时的ξ i,j+1(t)就是余量r i5. Subtract IMF i,j from ξi ,j (t) to obtain the difference ξi ,j+1 (t). Replace ξ i, j (t) with ξ i, j+1 (t), and repeat steps 2-5 until the signal ξ i, j+1 (t) does not fluctuate more than 2 times. At this time, ξ i, j+1 (t) is the margin ri .
ξ i,j+1(t)=ξ i,j(t)-IMF i,j    (4) ξi ,j+1 (t)=ξi ,j (t)-IMF i,j (4)
6、重复步骤1到步骤5直到迭代次数i达到所给定的值θ,然后对θ次迭代得到的IMF i,j和r i取平均值: 6. Repeat steps 1 to 5 until the number of iterations i reaches the given value θ, and then average the IMF i , j and ri obtained by θ iterations:
Figure PCTCN2021083165-appb-000002
Figure PCTCN2021083165-appb-000002
Figure PCTCN2021083165-appb-000003
Figure PCTCN2021083165-appb-000003
原始容量序列ξ(t)最后可以分解为多个IMF和Res:The original capacity sequence ξ(t) can finally be decomposed into multiple IMFs and Res:
Figure PCTCN2021083165-appb-000004
Figure PCTCN2021083165-appb-000004
EEMD是一种噪声辅助分解方法,旨在改善EMD的不足。如图2所示,EEMD本质上是对原始信号ξ(t)进行给定次数的重复EMD过程,然后对迭代所得到的相应分量取平均值。在EEMD的每个实验中,加入高斯白噪声n i(t)辅助分解,使噪声干扰信号不仅具有均匀的分解尺度,而且平滑了脉冲干扰等引起的异常值,有效地解决了模态噪声混合问题。 EEMD is a noise-assisted decomposition method that aims to improve the shortcomings of EMD. As shown in Figure 2, EEMD essentially repeats the EMD process for a given number of times on the original signal ξ(t), and then averages the corresponding components resulting from the iterations. In each experiment of EEMD, Gaussian white noise n i (t) is added to assist the decomposition, so that the noise interference signal not only has a uniform decomposition scale, but also smoothes outliers caused by impulse interference, etc., effectively solving the modal noise mixing question.
然而,过多的IMF分量会导致较大的累积计算误差,影响最终的预测精度。为了解决这个问题,这里采用了主成分分析(PCA)。PCA是一种降维统计分析技术,它在保留原始数据有效信息的同时,减少了分量的数目。如图2所示,PCA通过线性组合,可以将原始的相关分量进行约简,并将其转换为较少的、无关的分量。从而较少的且不相关的主成分能代表原始序列,并反映其变化而不引起繁重的计算和计算误差。However, too many IMF components will lead to a large cumulative calculation error and affect the final prediction accuracy. To solve this problem, principal component analysis (PCA) is employed here. PCA is a dimensionality reduction statistical analysis technique, which reduces the number of components while retaining the effective information of the original data. As shown in Figure 2, PCA can reduce the original correlated components and convert them into fewer, irrelevant components through linear combination. Thus fewer and irrelevant principal components can represent the original sequence and reflect its changes without causing heavy computation and computational errors.
这里,
Figure PCTCN2021083165-appb-000005
与经过EEMD分解后得到的IMF 1,IMF 2,…,IMF l,r分量相对应;η 1,η 2,...η k是PCA的输出分量,m≥k。
here,
Figure PCTCN2021083165-appb-000005
Corresponding to the IMF 1 , IMF 2 , .
PCA的具体过程如下:The specific process of PCA is as follows:
1、分别通过式(8)和式(9)计算m个分量ζ j的均值矩阵M和中心化处理后的矩阵Φ: 1. Calculate the mean matrix M of m components ζ j and the matrix Φ after the centering process by formula (8) and formula (9) respectively:
Figure PCTCN2021083165-appb-000006
Figure PCTCN2021083165-appb-000006
Figure PCTCN2021083165-appb-000007
Figure PCTCN2021083165-appb-000007
这里,
Figure PCTCN2021083165-appb-000008
Figure PCTCN2021083165-appb-000009
分别是分量ζ j的均值和中心化处理后的序列,j∈[1,m]。
here,
Figure PCTCN2021083165-appb-000008
and
Figure PCTCN2021083165-appb-000009
are the mean and centering sequence of components ζ j , respectively, j ∈ [1, m].
2、计算样本协方差矩阵R:2. Calculate the sample covariance matrix R:
Figure PCTCN2021083165-appb-000010
Figure PCTCN2021083165-appb-000010
对协方差矩阵进行特征分解R=UΛU T,这里Λ=diag{λ 1,λ 2,…,λ m}是由R的特征值组成的主对角矩阵,满足λ 1≥λ 2≥…≥λ m≥0,U是由R的特征向量组成的正交矩阵,并且满足U -1=U T,从而主成分可以由下式计算得到: Perform eigendecomposition on the covariance matrix R= UΛUT , where Λ=diag{λ 1 , λ 2 , ..., λ m } is the main diagonal matrix composed of the eigenvalues of R, satisfying λ 1 ≥λ 2 ≥...≥ λ m ≥ 0, U is an orthogonal matrix composed of eigenvectors of R, and satisfies U -1 = UT , so the principal components can be calculated by the following formula:
Figure PCTCN2021083165-appb-000011
Figure PCTCN2021083165-appb-000011
3、协方差矩阵R的特征值λ j的大小反映主成分分量η j有效信息的大小,即λ j越大,η j包含的有效信息越多。η j的有效信息的百分比由下式计算得到: 3. The size of the eigenvalue λ j of the covariance matrix R reflects the size of the effective information of the principal component component η j , that is, the larger λ j is, the more effective information η j contains. The percentage of valid information for η j is calculated by:
Figure PCTCN2021083165-appb-000012
Figure PCTCN2021083165-appb-000012
最后,通过计算累积贡献率
Figure PCTCN2021083165-appb-000013
我们可以确定要保留多少分量,贡献小的分量可以当成噪声忽略掉。
Finally, by calculating the cumulative contribution rate
Figure PCTCN2021083165-appb-000013
We can determine how many components to keep, and the small contribution can be ignored as noise.
4、决定保留的k个分量η可由下式计算得:4. The k components η determined to be retained can be calculated by the following formula:
Figure PCTCN2021083165-appb-000014
Figure PCTCN2021083165-appb-000014
这里,
Figure PCTCN2021083165-appb-000015
是由U T保留前k列组成的矩阵。
here,
Figure PCTCN2021083165-appb-000015
is a matrix consisting of the first k columns reserved by U T.
通过EEMD-PCA组合对数据进行预处理,可以提高后续神经网络预测模型的预测性能。Preprocessing the data through the EEMD-PCA combination can improve the prediction performance of the subsequent neural network prediction model.
在一个实施例中,长短期神经网络的训练方法包括:获取电池容量的样本数据,并建立原始长短期神经网络;对样本数据进行预处理,得到电池容量衰 减的样本主成分分量数据及样本次要成分分量数据;将样本主成分分量数据、样本次要成分分量数据输入原始长短期神经网络,进行训练。In one embodiment, the training method of the long-term and short-term neural network includes: acquiring sample data of battery capacity and establishing an original long-term and short-term neural network; preprocessing the sample data to obtain sample principal component component data and sample secondary data of battery capacity decay Component component data is required; the sample principal component component data and the sample secondary component component data are input into the original long-term and short-term neural network for training.
深度学习神经网络模型在特征提取和时间序列分析方面的优良性能,本发明对LSTM(Long and Short-Term Memory,长短期记忆)神经网络进行了改进,分别对前一模块所得到的PC和SC两类数据进行建模、分析和预测。为了进一步提高预测精度,还将同种锂离子电池容量序列的PC作为辅助量对LSTM网络进行训练。The excellent performance of the deep learning neural network model in feature extraction and time series analysis, the present invention improves the LSTM (Long and Short-Term Memory, long short-term memory) neural network, respectively, the PC and SC obtained by the previous module Two types of data are modeled, analyzed and predicted. In order to further improve the prediction accuracy, the PC of the same lithium-ion battery capacity sequence is also used as an auxiliary quantity to train the LSTM network.
在一个实施例中,长短期神经网络的训练方法还包括:获取样本数据电池的类型,并获取与样本数据电池同类型电池容量的辅助数据;对辅助数据进行预处理,得到辅助主成分分量数据;将辅助主成分分量数据输入原始长短期神经网络,进行辅助训练,得到长短期神经网络。In one embodiment, the training method for the long-term and short-term neural network further includes: acquiring the battery type of the sample data, and acquiring auxiliary data of the battery capacity of the same type as the sample data battery; preprocessing the auxiliary data to obtain auxiliary principal component component data ; Input the auxiliary principal component data into the original long-term and short-term neural network, and perform auxiliary training to obtain the long-term and short-term neural network.
在一个实施例中,长短期神经网络的训练方法还包括:获取N个与样本数据电池同类型电池容量的辅助数据,N为大于1的整数;对N个辅助数据进行预处理,得到N个辅助主成分分量数据;计算N个辅助主成分分量数据的平均值作为辅助序列;将辅助序列输入原始长短期神经网络,进行辅助训练,得到长短期神经网络。In one embodiment, the training method for the long-term and short-term neural network further includes: acquiring N auxiliary data with the same type of battery capacity as the sample data battery, where N is an integer greater than 1; preprocessing the N auxiliary data to obtain N auxiliary data Auxiliary principal component data; calculate the average value of N auxiliary principal component data as an auxiliary sequence; input the auxiliary sequence into the original long-term and short-term neural network, perform auxiliary training, and obtain a long-term and short-term neural network.
实验数据序列经过预处理后,仍具有高度非线性和长时间依赖性。为了解决这些问题,本研究采用了LSTM神经网络。LSTM神经网络结构是一种特殊的递归神经网络,通常用于解决长期依赖问题。After the experimental data sequence is preprocessed, it is still highly nonlinear and long-term dependent. To address these issues, this study adopts an LSTM neural network. The LSTM neural network structure is a special kind of recurrent neural network, which is usually used to solve long-term dependency problems.
LSTM网络的单元结构如图3所示,它由一个遗忘门、一个输入门和一个输出门组成。LSTM网络既能保存有意义的信息,又能遗忘无用的数据。此外,它还可以决定输出什么信息。这些特性可以使LSTM更有效地处理长期相关和高度非线性的序列。各个门计算公式如下:The unit structure of the LSTM network is shown in Figure 3, which consists of a forget gate, an input gate and an output gate. LSTM networks can both preserve meaningful information and forget useless data. Also, it can decide what information to output. These properties can make LSTMs more effective in handling long-term correlated and highly nonlinear sequences. The calculation formula of each gate is as follows:
遗忘门:Forgotten Gate:
f t=σ(W f·[y t-1,x t]+b f)         (14) f t =σ(W f ·[y t-1 , x t ]+b f ) (14)
2)输入门:2) Input gate:
Figure PCTCN2021083165-appb-000016
Figure PCTCN2021083165-appb-000016
3)输出门:3) Output gate:
Figure PCTCN2021083165-appb-000017
Figure PCTCN2021083165-appb-000017
其中x是输入数据,y是输出数据,i、f、O、C分别是输入门、遗忘门、输出门和单元状态。矩阵W和b表示要训练的权重和偏差,where x is the input data, y is the output data, and i, f, O, and C are the input gate, forget gate, output gate, and cell state, respectively. The matrices W and b represent the weights and biases to be trained,
σ(·)是sigmoid函数,tanh(·)是双曲正切函数。LSTM的这些门协同工作,有效地捕捉输入时间序列数据的长期和短期特征,防止信息传输过程中的梯度消失和爆炸。σ(·) is the sigmoid function, and tanh(·) is the hyperbolic tangent function. These gates of LSTMs work together to effectively capture both long-term and short-term features of the input time series data, preventing vanishing and exploding gradients during information transfer.
在一个实施例中,长短期神经网络的训练方法还包括:对样本数据的样本主成分分量数据及样本次要成分分量数据进行稀疏化处理;将稀疏化后的主成分分量数据及样本次要成分分量数据输入原始长短期神经网络,进行训练。In one embodiment, the training method for the long-term and short-term neural network further includes: performing sparse processing on the sample principal component data and the sample secondary component data of the sample data; The component component data is fed into the original long- and short-term neural network for training.
通过进行稀疏化梳理,能够减少数据点,提高原始输入原始长短期神经网络的辨识能力。By sparse combing, data points can be reduced and the identification ability of the original input original long-term and short-term neural network can be improved.
在一个实施例中,主成分分析方法包含一个反变换矩阵,反变换矩阵用于对分量进行反变换;输出结果包括主成分分量预测结果及次要成分预测结果;对输出结果进行预测处理的步骤包括:将主成分分量预测结果及次要成分预测结果与反变换矩阵相乘进行反变换;对反变换后的主成分分量预测结果及次要成分预测结果进行叠加以得到预测的电池容量衰减序列。In one embodiment, the principal component analysis method includes an inverse transformation matrix, and the inverse transformation matrix is used to inversely transform the components; the output result includes the principal component component prediction result and the secondary component prediction result; the step of performing prediction processing on the output result Including: multiplying the prediction results of the principal component components and the prediction results of the secondary components with the inverse transformation matrix to perform inverse transformation; superimposing the prediction results of the principal component components and the prediction results of the secondary components after the inverse transformation to obtain the predicted battery capacity decay sequence .
本实施例还使用上述描述中的技术方案对两个业界公认的锂离子电池数据集进行验证。此外,还进行了进一步的实验来评估在线预测性能,并进行了100次重复实验,以减少模型随机性的影响,从而在云计算中获得更稳健、更准确的预测结果。This embodiment also uses the technical solutions described above to verify two industry-recognized lithium-ion battery data sets. In addition, further experiments were conducted to evaluate the online prediction performance, and 100 repeated experiments were performed to reduce the effect of model randomness, resulting in more robust and accurate prediction results in cloud computing.
第一个锂电池数据集由NASA-Ames(National Aeronautics and Space Administration-Ames)研究中心发布,第二个数据集来自CALCE(Center for Advanced Life Cycle Engineering(CALCE)of the University of Maryland,马里兰大学高级生命周期工程中心)。CALCE电池的使用寿命几乎是NASA电池的10倍,因此它们代表了两种不同类型的锂离子电池,即长寿命电池和短寿命电池。利用这两组差异较大的电池数据来验证所提出的方法非常具有挑战性,但也更能证明本方法的普适性。The first lithium battery dataset was released by NASA-Ames (National Aeronautics and Space Administration-Ames) research center, and the second dataset was from CALCE (Center for Advanced Life Cycle Engineering (CALCE) of the University of Maryland, University of Maryland Advanced Lifecycle Engineering Center). CALCE batteries last almost 10 times longer than NASA batteries, so they represent two different types of lithium-ion batteries, long-life batteries and short-life batteries. It is very challenging to validate the proposed method with these two sets of widely different battery data, but it is also more able to demonstrate the generality of the method.
在NASA数据集中,选择了4组18650锂离子电池(额定容量为2Ah):B5、B6、B7和B18,它们是通过在室温(24℃)下对电池进行充放电和EIS(Electrochemical Impedance Spectroscopy,电化学阻抗谱)测量得到的。具体实验过程如下:In the NASA dataset, four groups of 18650 lithium-ion batteries (rated capacity of 2Ah) were selected: B5, B6, B7 and B18, which were obtained by charging and discharging the batteries at room temperature (24°C) and EIS (Electrochemical Impedance Spectroscopy, electrochemical impedance spectroscopy). The specific experimental process is as follows:
1)电池先用0.75C(1.5A)恒流充电至截止电压4.2V,再恒压4.2V充电至截止电流降至0.02A以下;1) The battery is first charged with a constant current of 0.75C (1.5A) to a cut-off voltage of 4.2V, and then charged with a constant voltage of 4.2V until the cut-off current drops below 0.02A;
2)然后电池以1C(2A)恒流放电,直至B5、B6、B7、B18电压分别降至2.7V、2.5V、2.2V、2.5V;2) Then the battery is discharged at a constant current of 1C (2A) until the voltages of B5, B6, B7, and B18 drop to 2.7V, 2.5V, 2.2V, and 2.5V, respectively;
3)重复第1步和第2步,以加速锂电池的老化过程,同时记录阻抗数据。3) Repeat steps 1 and 2 to accelerate the aging process of the lithium battery while recording impedance data.
图4显示了NASA锂离子电池通过以上实验所测得的容量退化曲线。Figure 4 shows the capacity degradation curves of NASA lithium-ion batteries measured by the above experiments.
从CALCE锂离子电池数据集中选择了四组数据:CX2-34、CX2-36、CX2-37和CX2-38,该电池为LiCoO2阴极的棱柱形电池,额定容量为1.35Ah。Four sets of data were selected from the CALCE lithium-ion battery dataset: CX2-34, CX2-36, CX2-37, and CX2-38, which are prismatic cells with LiCoO2 cathodes with a nominal capacity of 1.35Ah.
CALCE的锂离子电池容量衰减数据是在室温环境(25~30℃)下通过ArbinBT2000电池实验测试系统获得的,实验过程与NASA类似:CALCE's lithium-ion battery capacity decay data is obtained through the ArbinBT2000 battery experimental test system at room temperature (25-30 °C), and the experimental process is similar to NASA:
1)电池先以0.5C(0.675A)的恒流率充电,直到电压达到4.2V,然后维持4.2V,直到充电电流降至0.05A以下。1) The battery is first charged at a constant current rate of 0.5C (0.675A) until the voltage reaches 4.2V, and then maintained at 4.2V until the charging current drops below 0.05A.
2)然后电池以0.5C(0.675A)的恒定电流率放电,直到电压降至2.7V。2) The battery was then discharged at a constant current rate of 0.5C (0.675A) until the voltage dropped to 2.7V.
3)重复步骤1和步骤2,并进行EIS测试,以测量阻抗并获得反映每个 循环后容量退化的内部参数。3) Repeat steps 1 and 2 and perform an EIS test to measure impedance and obtain internal parameters reflecting capacity degradation after each cycle.
对于CALCE锂离子电池数据集中一些明显的异常值,将其去掉以减少噪声。根据3σ准则,计算相邻两次电池容量循环之间的差值,并计算所有差值的均值μ和标准偏差σ。将差值在区间(μ-3σ,μ+3σ)外的容量数据点替换为两个相邻容量值的线性插值。处理后的CALCE锂离子电池容量衰减曲线如图5所示。For some obvious outliers in the CALCE lithium-ion battery dataset, they are removed to reduce noise. According to the 3σ criterion, the difference between two adjacent battery capacity cycles was calculated, and the mean μ and standard deviation σ of all the differences were calculated. Replace capacity data points with differences outside the interval (μ-3σ, μ+3σ) with a linear interpolation of two adjacent capacity values. The capacity decay curve of the treated CALCE lithium-ion battery is shown in Figure 5.
分别参照NASA和CALCE的实验数据标准,当B5、B6、B7、B18和CX2-34、CX2-36、CX2-37、CX2-38电池的放电容量分别下降到1.4Ah和0.945Ah时,即认为锂电池达到了失效阈值(额定容量的70%)。Referring to the experimental data standards of NASA and CALCE respectively, when the discharge capacities of B5, B6, B7, B18 and CX2-34, CX2-36, CX2-37 and CX2-38 batteries drop to 1.4Ah and 0.945Ah respectively, it is considered that Lithium batteries have reached their failure threshold (70% of rated capacity).
数据预处理:Data preprocessing:
数据预处理过程包括EEMD、PCA和辅助序列分析。The data preprocessing process included EEMD, PCA and auxiliary sequence analysis.
由于测量过程中的各种干扰误差,以及电池复杂的物理化学特性,锂离子电池的容量衰减曲线存在局部波动,这将极大地影响预测性能。为了解决这些问题,使用EEMD对原始序列进行分解,以B5组的分解结果为例,如图6所示。将原始序列根据式(1)-(7)分解得到7个分量,分别表示为IMF1、IMF2、IMF3、IMF4、IMF5、IMF6和Res。Due to various interference errors in the measurement process, as well as the complex physical and chemical characteristics of the battery, there are local fluctuations in the capacity decay curve of Li-ion batteries, which will greatly affect the predicted performance. To solve these problems, EEMD is used to decompose the original sequence, taking the decomposition result of group B5 as an example, as shown in Figure 6. The original sequence is decomposed according to formulas (1)-(7) to obtain 7 components, which are respectively expressed as IMF1, IMF2, IMF3, IMF4, IMF5, IMF6 and Res.
如果将所有这些分量直接用于后续神经网络处理,计算将非常耗时,并且会引入许多累积误差。为了避免这些问题,采用PCA来保留有效成分:在保留原始信号99%以上的有效信息的前体下,保留至少两个成分,将有效信息小于1%的成分作为噪声丢弃。如图7所示,PCA处理后得到两个分量,包含了原来7个EEMD分量99%以上的信息。衰减较简单的第一组分含有98.89%的有效信息,称为主成分(PC)。第二个波动包含0.36%的有效信息称为次要成分(SC1)。If all these components were used directly for subsequent neural network processing, the computation would be very time-consuming and would introduce many accumulated errors. In order to avoid these problems, PCA is adopted to retain the effective components: under the precursor that retains more than 99% of the effective information of the original signal, at least two components are retained, and the components with less than 1% of the effective information are discarded as noise. As shown in Figure 7, after PCA processing, two components are obtained, which contain more than 99% of the information of the original seven EEMD components. The first component with simpler decay contains 98.89% valid information and is called the principal component (PC). The second fluctuation contains 0.36% of the valid information called the secondary component (SC1).
通过EEMD和PCA的联合处理,从原始实验数据中提取出两个简单的成分。总体退化趋势分量PC呈良好的单调下降趋势,无波动。局部波动分量SC1主要包含电池容量再生和自充电现象的信息。提出的EEMD-PCA分解方法能 有效分离电池容量退化数据的局部波动和全局退化趋势,有助于提高后续深度学习方法的性能。Two simple components were extracted from the raw experimental data by joint processing of EEMD and PCA. The overall degradation trend component PC showed a good monotonic downward trend without fluctuation. The local fluctuation component SC1 mainly contains information on battery capacity regeneration and self-charging phenomena. The proposed EEMD-PCA decomposition method can effectively separate the local fluctuation and global degradation trend of battery capacity degradation data, which is helpful to improve the performance of subsequent deep learning methods.
将图7中的两个分量分为两段,分别使用前一段的数据训练神经网络,以预测后一段的数据。由于PC的训练数据和预测数据是两个不相交的区间,在预测中容易出现较大的偏差。因此,为了获得更准确、更稳定的预测结果,引入相似的其他电池序列进行辅助训练,而不是依赖于这个单一的序列。图8说明了EEMD-PCA预处理后每个NASA锂离子电池的PC。每个PC包含96%-99%的原始容量序列。可以看出,电池容量下降的主要趋势具有很高的相似性。本文采用相关分析法(CA)对这些PC之间的相似性进行了分析,需要指出的是,由于B18只有132个数据点,因此对其他三个NASA锂离子电池的前132个数据点也进行了相关分析。计算了四个锂离子电池的相关系数,如表1所示。可以观察到,任何两个电池容量序列的相关系数都非常接近1。这也表明四个电池的降解曲线高度相关。The two components in Figure 7 are divided into two segments, and the neural network is trained using the data of the previous segment respectively to predict the data of the latter segment. Since the training data and prediction data of the PC are two disjoint intervals, large deviations are prone to occur in the prediction. Therefore, in order to obtain more accurate and stable prediction results, similar other battery sequences are introduced for auxiliary training instead of relying on this single sequence. Figure 8 illustrates the PC of each NASA Li-ion battery after EEMD-PCA pretreatment. Each PC contains 96%-99% of the original capacity sequence. It can be seen that the main trend of battery capacity decline has a high similarity. This paper uses correlation analysis (CA) to analyze the similarity between these PCs, it should be noted that since B18 has only 132 data points, the first 132 data points of the other three NASA lithium-ion batteries are also analyzed. related analysis. The correlation coefficients for the four Li-ion batteries were calculated, as shown in Table 1. It can be observed that the correlation coefficient of any two battery capacity series is very close to 1. This also shows that the degradation curves of the four cells are highly correlated.
表1 NASA锂离子电池PC的相关系数Table 1 Correlation coefficient of NASA lithium-ion battery PC
Figure PCTCN2021083165-appb-000018
Figure PCTCN2021083165-appb-000018
然而,在现实情况下,待预测电池的容量退化数据在达到失效阈值前是不完整的。为了找到相关度最高的序列作为辅助序列,我们可以通过相关分析将待测电池已有的容量数据与数据集中其他完整的电池容量序列进行比较。如图9所示,B7的PC与B5的PC相关性最强。因此,将B7的PC作为辅助序列,并且为体现一般性可以选择B6和B7的平均PC值作为另一辅助序列(由于B18的序列过短而被排除)。这些具有电池全周期退化信息的辅助序列和电池现有历史数据被用作训练集的输入LSTM神经网络。在预测阶段,将待预测序列的已知历史数据输入到训练模型中,得到预测结果。However, in real-world situations, the capacity degradation data of the battery to be predicted are incomplete until the failure threshold is reached. In order to find the sequence with the highest correlation as an auxiliary sequence, we can compare the existing capacity data of the battery under test with other complete battery capacity sequences in the dataset through correlation analysis. As shown in Figure 9, the PC of B7 has the strongest correlation with the PC of B5. Therefore, the PC of B7 was used as the helper sequence, and the average PC value of B6 and B7 could be chosen as another helper sequence for generality (excluded because the sequence of B18 was too short). These auxiliary sequences with full-cycle degradation information of the battery and the existing historical data of the battery are used as the input LSTM neural network for the training set. In the prediction stage, the known historical data of the sequence to be predicted is input into the training model to obtain the prediction result.
LSTM预测和数据后处理:LSTM prediction and data post-processing:
本发明中的LSTM网络算法在MATLAB中实现,模型参数经反复实验后设置如表2所示。利用PC和SC1的历史数据对所设计的网络模型进行训练,并在PC的网络模型中加入辅助序列训练,提高其预测精度。然后利用训练好的LSTM网络模型进行预测。首先,将预处理后的当前周期容量值输入神经网络,预测下一个周期的容量值。然后,将预测值作为下一次迭代的输入。通过外推法预测未来电池的容量,预测结果可用式(17)表示:The LSTM network algorithm in the present invention is implemented in MATLAB, and the model parameters are set as shown in Table 2 after repeated experiments. Use the historical data of PC and SC1 to train the designed network model, and add auxiliary sequence training to the network model of PC to improve its prediction accuracy. Then use the trained LSTM network model to make predictions. First, the preprocessed capacity value of the current cycle is input into the neural network to predict the capacity value of the next cycle. Then, the predicted value is used as the input for the next iteration. The capacity of the battery in the future is predicted by the extrapolation method, and the prediction result can be expressed by equation (17):
Q t+h=LSTM(Q t+h-1)    (17) Q t+h = LSTM(Q t+h-1 ) (17)
其中LSTM(·)是LSTM神经网络预测模型,t表示预测的起点,h表示起点之后的周期数,Q t+h是电池在第t+h循环周期的可用容量。 where LSTM( ) is the LSTM neural network prediction model, t is the starting point of the prediction, h is the number of cycles after the starting point, and Q t+h is the available capacity of the battery at the t+hth cycle.
表2 LSTM的参数设置Table 2 Parameter settings of LSTM
Figure PCTCN2021083165-appb-000019
Figure PCTCN2021083165-appb-000019
图10展示了以前90个周期数据为训练集的NASA B5的PC和SC1预测结果。可以看出,主成分PC的预测结果与实际容量的下降趋势基本一致。次要成分SC1虽然由于波动导致预测精度明显不如PC,但其贡献和有效信息也远小于PC,对叠加后的结果影响不大。应用后处理(表示为式(18))来处理LSTM输出的结果。将各分量的预测结果乘以PCA的逆变换系数矩阵,得到最终的容量预测序列:Figure 10 shows the PC and SC1 prediction results for NASA B5 with the previous 90 cycles of data as the training set. It can be seen that the prediction result of the principal component PC is basically consistent with the decreasing trend of the actual capacity. Although the prediction accuracy of the secondary component SC1 is obviously inferior to that of PC due to fluctuations, its contribution and effective information are also much smaller than that of PC, which has little effect on the superimposed results. Post-processing (represented as Eq. (18)) is applied to process the result output by the LSTM. Multiply the prediction results of each component by the inverse transformation coefficient matrix of PCA to obtain the final capacity prediction sequence:
Figure PCTCN2021083165-appb-000020
Figure PCTCN2021083165-appb-000020
这里,
Figure PCTCN2021083165-appb-000021
是预测的电池容量序列,
Figure PCTCN2021083165-appb-000022
表示预测的PC和SC分量,k是保留的分量个数,U coeff是PCA的反变换系数矩阵,根据公式(11)和(13)可得U coeff=U k,矩阵M k由下式定义:
here,
Figure PCTCN2021083165-appb-000021
is the predicted battery capacity sequence,
Figure PCTCN2021083165-appb-000022
Represents the predicted PC and SC components, k is the number of reserved components, U coeff is the inverse transformation coefficient matrix of PCA, U coeff =U k can be obtained according to formulas (11) and (13), and the matrix M k is defined by the following formula :
Figure PCTCN2021083165-appb-000023
Figure PCTCN2021083165-appb-000023
这里,
Figure PCTCN2021083165-appb-000024
是由公式(8)中的M保留前k列组成的矩阵,n是容量序列
Figure PCTCN2021083165-appb-000025
的长度。
here,
Figure PCTCN2021083165-appb-000024
is a matrix composed of M reserved first k columns in formula (8), and n is the capacity sequence
Figure PCTCN2021083165-appb-000025
length.
特别要说明的是,CALCE所采用的电池寿命远远长于NASA的电池寿命,因此CALCE电池数据集序列中的容量数据点更密集,相邻两个容量数据的变化也更小。为了提高LSTM网络模型在CALCE超长数据集上的预测性能及运行速度,需要进一步采取适当的处理方法。如图11所示,训练数据经过EEMD-PCA预处理后,再对其进行稀疏化处理,即对每8个相邻周期的容量数据取平均值,以减少原始序列的数据量,然后对平均值序列回归预测。预测的分量经逆变换后再进行插值重构处理,即采用三次样条插值法在对逆变换后的数据点之间插值7个数据点,得到完整的容量预测序列。In particular, the battery life used by CALCE is much longer than the battery life of NASA, so the capacity data points in the CALCE battery data set sequence are denser, and the variation of two adjacent capacity data is also smaller. In order to improve the prediction performance and running speed of the LSTM network model on the CALCE ultra-long dataset, further appropriate processing methods need to be taken. As shown in Figure 11, after the training data is preprocessed by EEMD-PCA, it is sparsed, that is, the capacity data of every 8 adjacent cycles is averaged to reduce the data volume of the original sequence, and then the average value is calculated. Value series regression forecast. The predicted components are inversely transformed and then subjected to interpolation and reconstruction processing, that is, the cubic spline interpolation method is used to interpolate 7 data points between the inversely transformed data points to obtain a complete capacity prediction sequence.
为了验证该方法在不同寿命尺度电池数据集上的有效性,将其同时应用于NASA数据集和CALCE数据集。图14显示了B5和CX2-34在不同预测起点的不同预测结果。B5的预测起点为90、80、70周期,CX2-34的预测起点为801、705、601周期。预测曲线与原容量衰减曲线基本一致,存在局部波动,呈现容量再生现象。与这些预测序列相比,由于B5的循环寿命相对较短,数据点相对分散。显然,预测结果局部波动,与实际退化曲线吻合较好;而CX2-34的循环寿命较长,数据变化较小,一些预测数据点是用三次样条插值法得到的,因此,容量再生现象引起的局部波动并没有得到充分反映,但预测曲线的主要退化趋势基本满足,预测精度也得到了保证。综上所述,本发明所提出的基于预分解与深度学习融合的锂电池寿命预测方法对不同寿命尺度锂电池RUL预测的有效性和鲁棒性都得到了验证。In order to verify the effectiveness of this method on battery datasets with different life scales, it is applied to both NASA datasets and CALCE datasets. Figure 14 shows different prediction results for B5 and CX2-34 at different prediction starting points. The forecast starting point for B5 is 90, 80, and 70 periods, and the forecast starting point for CX2-34 is 801, 705, and 601 periods. The predicted curve is basically consistent with the original capacity decay curve, and there are local fluctuations, showing the phenomenon of capacity regeneration. Compared to these predicted series, the data points are relatively scattered due to the relatively short cycle life of B5. Obviously, the predicted results fluctuate locally, which is in good agreement with the actual degradation curve; while CX2-34 has a longer cycle life and less data variation, and some predicted data points are obtained by cubic spline interpolation. Therefore, the capacity regeneration phenomenon causes The local fluctuation of , is not fully reflected, but the main degradation trend of the prediction curve is basically satisfied, and the prediction accuracy is also guaranteed. To sum up, the validity and robustness of the lithium battery life prediction method based on the fusion of pre-decomposition and deep learning proposed in the present invention has been verified for RUL prediction of lithium batteries with different life scales.
为了定量评价模型的性能,采用了以下四种经典的评价准则。To quantitatively evaluate the performance of the model, the following four classical evaluation criteria are adopted.
(1)均方根误差(root mean square error,RMSE)(1) root mean square error (root mean square error, RMSE)
Figure PCTCN2021083165-appb-000026
Figure PCTCN2021083165-appb-000026
(2)平均绝对百分比误差(mean absolute percent error,MAPE)(2) Mean absolute percent error (MAPE)
Figure PCTCN2021083165-appb-000027
Figure PCTCN2021083165-appb-000027
(3)绝对误差(accuracy error,AE)(3) Absolute error (accuracy error, AE)
Figure PCTCN2021083165-appb-000028
Figure PCTCN2021083165-appb-000028
(4)相对误差(relative error,RE)(4) Relative error (relative error, RE)
Figure PCTCN2021083165-appb-000029
Figure PCTCN2021083165-appb-000029
这里,n是数据长度,T i是第i个周期的测量值,P i是第i个周期的相应预测值。这四个准则的值越小,预测精度越高。 Here, n is the data length, Ti is the measured value for the ith cycle, and Pi is the corresponding predicted value for the ith cycle. The smaller the value of these four criteria, the higher the prediction accuracy.
表3显示了B5和CX2-34在不同预测起点(starting point of prediction,SPP)的预测结果。计算了不同SPP下的实际寿命(end of life,EoL)和预测寿命(predicted end of life,PEoL)的AE和RE。在不同SPP下,采用RMSE和MAPE对容量预测结果进行评价,采用AE和RE对RUL预测精度进行评价。Table 3 shows the prediction results of B5 and CX2-34 at different starting point of prediction (SPP). AE and RE of actual life (end of life, EoL) and predicted end of life (PEoL) under different SPPs were calculated. Under different SPPs, RMSE and MAPE are used to evaluate the capacity prediction results, and AE and RE are used to evaluate the RUL prediction accuracy.
表3 RUL预测结果Table 3 RUL prediction results
Figure PCTCN2021083165-appb-000030
Figure PCTCN2021083165-appb-000030
为了进一步评估所提出方法的在线预测性能,B5和CX2-34的RUL预测在12中进行了计算和说明。其中,图12(a)是70个周期B5的RUL预测,图12(b)是601个周期CX2-34的RUL预测。可以观察到,B5和CX2-34在早期预测中的误差可能比较大,但在一定情况下是可以接受的。随着历史数据的积累,精度逐渐提高,中后期可以得到更准确的RUL预测结果。在线RUL预测可作为BMS监测电池未来健康状况的重要参考。To further evaluate the online prediction performance of the proposed method, the RUL predictions of B5 and CX2-34 were calculated and illustrated in 12. Among them, Fig. 12(a) is the RUL prediction of 70 cycles B5, and Fig. 12(b) is the RUL prediction of 601 cycles of CX2-34. It can be observed that B5 and CX2-34 may have relatively large errors in early predictions, but are acceptable under certain circumstances. With the accumulation of historical data, the accuracy gradually improves, and more accurate RUL prediction results can be obtained in the middle and late stages. Online RUL prediction can be used as an important reference for BMS to monitor the future health of batteries.
图12中,B5和CX2-34的RUL预测AE并不随预测时间点单调减小,而是波动地减小,这是由于预测算法的不确定性造成的。不确定性管理对健康预 测具有重要意义,因为它为决策者提供了预测规则的统计信息。因此,为了获得它们的PEoL分布,分别在前90个循环和前801个循环的基础上,在B5和CX2-34上重复100个预测实验。此外,还计算了其PEoL的平均值和中位数,用于性能评估。根据统计结果,B5和CX2-34的PEoL平均值和中值与真值之间的绝对不确定度误差不超过2个周期。因此,可以用多个PEoL的均值或中位数来代替单个PEoL,这样可以有效地处理不确定性因素的不利影响,保持锂电池RUL预测的稳定性和准确性。随着云计算和物联网技术的推广应用,计算和存储不再是问题。不同车辆的电池相关数据可以在车上测量并无缝上传到云端,因此该方法可以基于云端电池系统收集的数据进行更精确的RUL预测。In Fig. 12, the RUL prediction AE of B5 and CX2-34 does not decrease monotonically with the prediction time point, but decreases fluctuatingly, which is caused by the uncertainty of the prediction algorithm. Uncertainty management has important implications for health forecasting because it provides decision makers with statistical information on forecasting rules. Therefore, to obtain their PEoL distributions, 100 prediction experiments were repeated on B5 and CX2-34 based on the first 90 cycles and the first 801 cycles, respectively. In addition, the mean and median of its PEoL were also calculated for performance evaluation. According to the statistical results, the absolute uncertainty error between the mean and median PEoL values of B5 and CX2-34 and the true value is no more than 2 cycles. Therefore, a single PEoL can be replaced by the mean or median of multiple PEoLs, which can effectively deal with the adverse effects of uncertainty factors and maintain the stability and accuracy of RUL prediction for lithium batteries. With the popularization and application of cloud computing and IoT technologies, computing and storage are no longer a problem. The battery-related data of different vehicles can be measured on-board and seamlessly uploaded to the cloud, so the method can make more accurate RUL predictions based on the data collected by the cloud-based battery system.
请参阅图13,本申请实施例还提供一种电池寿命预测系统,包括:历史数据获取模块1、预处理模块2、训练模块3、输入模块4、接收模块5及预测模块6;历史数据获取模块1用于获取电池容量的历史数据;预处理模块2用于对历史数据进行预处理,得到电池容量衰减的主成分分量数据及次要成分分量数据;训练模块3用于预先训练长短期记忆神经网络;输入模块4用于将主成分分量数据、次要成分分量数据输入训练模块3训练的长短期记忆神经网络;接收模块5用于接收长短期记忆神经网络的输出结果,并对输出结果进行预测,得到电池容量的衰减序列;预测模块6用于判断衰减序列中的数值是否达到预先设置的电池失效阈值,以对电池剩余寿命进行预测。Referring to FIG. 13, an embodiment of the present application also provides a battery life prediction system, including: a historical data acquisition module 1, a preprocessing module 2, a training module 3, an input module 4, a receiving module 5, and a prediction module 6; historical data acquisition Module 1 is used to obtain historical data of battery capacity; preprocessing module 2 is used to preprocess historical data to obtain principal component data and secondary component data of battery capacity decay; training module 3 is used to pre-train long short-term memory Neural network; input module 4 is used for inputting principal component component data and secondary component component data into the long short-term memory neural network trained by training module 3; receiving module 5 is used for receiving the output result of the long short-term memory neural network, and is used for the output result. Perform prediction to obtain a decay sequence of battery capacity; the prediction module 6 is used to judge whether the value in the decay sequence reaches a preset battery failure threshold, so as to predict the remaining life of the battery.
上述电池寿命预测系统中各个模块的划分仅用于举例说明,在其他实施例中,可将电池寿命预测系统按照需要划分为不同的模块,以完成上述电池寿命预测系统的全部或部分功能。The division of each module in the above battery life prediction system is only for illustration. In other embodiments, the battery life prediction system can be divided into different modules as required to complete all or part of the functions of the above battery life prediction system.
关于电池寿命预测系统的具体限定可以参见上文中对于电池寿命预测方法的限定,在此不再赘述。For the specific limitation of the battery life prediction system, reference may be made to the definition of the battery life prediction method above, which will not be repeated here.
本申请实施例提供一种电子装置,请参阅图14,该电子装置包括:存储器601、处理器602及存储在存储器601上并可在处理器602上运行的计算机程序, 处理器602执行该计算机程序时,实现前述中描述的电池寿命预测方法。An embodiment of the present application provides an electronic device, please refer to FIG. 14, the electronic device includes: a memory 601, a processor 602, and a computer program stored in the memory 601 and running on the processor 602, and the processor 602 executes the computer When the program is executed, the battery life prediction method described in the preceding paragraph is implemented.
进一步的,该电子装置还包括:至少一个输入设备603以及至少一个输出设备604。Further, the electronic device further includes: at least one input device 603 and at least one output device 604 .
上述存储器601、处理器602、输入设备603以及输出设备604,通过总线605连接。The above-mentioned memory 601 , processor 602 , input device 603 and output device 604 are connected through a bus 605 .
其中,输入设备603具体可为摄像头、触控面板、物理按键或者鼠标等等。输出设备604具体可为显示屏。The input device 603 may specifically be a camera, a touch panel, a physical button, a mouse, or the like. The output device 604 may specifically be a display screen.
存储器601可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。存储器601用于存储一组可执行程序代码,处理器602与存储器601耦合。The memory 601 may be a high-speed random access memory (RAM, Random Access Memory) memory, or may be a non-volatile memory (non-volatile memory), such as a disk memory. Memory 601 is used to store a set of executable program codes, and processor 602 is coupled to memory 601 .
进一步的,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是设置于上述各实施例中的电子装置中,该计算机可读存储介质可以是前述中的存储器601。该计算机可读存储介质上存储有计算机程序,该程序被处理器602执行时实现前述实施例中描述的电池寿命预测方法。Further, an embodiment of the present application further provides a computer-readable storage medium, which may be provided in the electronic device in each of the foregoing embodiments, and the computer-readable storage medium may be the foregoing memory 601. A computer program is stored on the computer-readable storage medium, and when the program is executed by the processor 602, the battery life prediction method described in the foregoing embodiment is implemented.
进一步的,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器601(ROM,Read-Only Memory)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Further, the computer-storable medium may also be a U disk, a removable hard disk, a read-only memory 601 (ROM, Read-Only Memory), a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为 模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily all necessary to the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
以上为对本发明所提供的一种电池寿命预测方法、系统、电子装置及存储介质的描述,对于本领域的技术人员,依据本发明实施例的思想,在具体实施 方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。The above is a description of a battery life prediction method, system, electronic device and storage medium provided by the present invention. For those skilled in the art, according to the ideas of the embodiments of the present invention, there will be specific implementation methods and application scopes. Changes, in conclusion, the content of this specification should not be construed as a limitation to the present invention.

Claims (10)

  1. 一种电池寿命预测方法,其特征在于,包括:A battery life prediction method, comprising:
    获取电池容量的历史数据;Get historical data of battery capacity;
    对所述历史数据进行预处理,得到电池容量衰减的主成分分量数据及次要成分分量数据;Performing preprocessing on the historical data to obtain principal component component data and secondary component component data of battery capacity decay;
    将所述主成分分量数据、所述次要成分分量数据输入预先训练的长短期记忆神经网络;Inputting the principal component component data and the secondary component component data into a pre-trained long short-term memory neural network;
    接收所述长短期记忆神经网络的输出结果,并对所述输出结果进行处理,得到电池容量的衰减序列;receiving the output result of the long short-term memory neural network, and processing the output result to obtain a decay sequence of battery capacity;
    判断所述衰减序列中的数值是否达到预先设置的电池失效阈值,以对电池剩余寿命进行预测,并将所述历史数据及所述预测结果输入长短期记忆神经网络以进行反向训练。Determine whether the value in the decay sequence reaches a preset battery failure threshold, so as to predict the remaining life of the battery, and input the historical data and the prediction result into a long short-term memory neural network for reverse training.
  2. 根据权利要求1所述的电池寿命预测方法,其特征在于,The battery life prediction method according to claim 1, wherein,
    对历史数据进行预处理的步骤包括:The steps for preprocessing historical data include:
    利用集合经验模态分解的方法将电池容量的历史数据分解为至少三个分量数据,至少三个分量包括至少两个本征模态、一个余量;Using the method of collective empirical mode decomposition to decompose the historical data of the battery capacity into at least three component data, the at least three components include at least two eigenmodes and a margin;
    利用主成分分析方法对所述本征模态及所述余量进行降维,以减少分量数据为两个,两个分量数据包括主成分分量数据及次要成分分量数据。A principal component analysis method is used to reduce the dimension of the eigenmode and the residual, so as to reduce the component data into two, and the two component data includes the principal component component data and the secondary component component data.
  3. 根据权利要求1所述的电池寿命预测方法,其特征在于,The battery life prediction method according to claim 1, wherein,
    所述长短期神经网络的训练方法包括:The training method of the long-term and short-term neural network includes:
    获取电池容量的样本数据,并建立原始长短期神经网络;Obtain sample data of battery capacity and build original long-term and short-term neural network;
    对所述样本数据进行预处理,得到电池容量衰减的样本主成分分量数据及样本次要成分分量数据;Preprocessing the sample data to obtain sample principal component component data and sample secondary component component data of battery capacity decay;
    将所述样本主成分分量数据、样本次要成分分量数据输入原始长短期神经网络,进行训练。The sample principal component component data and the sample secondary component component data are input into the original long-term and short-term neural network for training.
  4. 根据权利要求3所述的电池寿命预测方法,其特征在于,The battery life prediction method according to claim 3, wherein,
    所述长短期神经网络的训练方法还包括:The training method of the long-term and short-term neural network further includes:
    对所述样本数据的样本主成分分量数据及样本次要成分分量数据进行稀疏化处理;performing sparse processing on the sample principal component component data and the sample secondary component component data of the sample data;
    将稀疏化后的主成分分量数据及样本次要成分分量数据输入原始长短期神经网络,进行训练。Input the sparse principal component data and sample secondary component data into the original long-term and short-term neural network for training.
  5. 根据权利要求3所述的电池寿命预测方法,其特征在于,The battery life prediction method according to claim 3, wherein,
    所述长短期神经网络的训练方法还包括:The training method of the long-term and short-term neural network further includes:
    获取样本数据电池的类型,并获取与样本数据电池同类型电池容量的辅助数据;Obtain the battery type of the sample data, and obtain auxiliary data of the battery capacity of the same type as the sample data battery;
    对所述辅助数据进行预处理,得到辅助主成分分量数据;Preprocessing the auxiliary data to obtain auxiliary principal component component data;
    将所述辅助主成分分量数据输入所述原始长短期神经网络,进行辅助训练,得到长短期神经网络。The auxiliary principal component component data is input into the original long-term and short-term neural network, and auxiliary training is performed to obtain a long-term and short-term neural network.
  6. 根据权利要求5所述的电池寿命预测方法,其特征在于,The battery life prediction method according to claim 5, wherein,
    所述长短期神经网络的训练方法还包括:The training method of the long-term and short-term neural network further includes:
    所述获取N个与样本数据电池同类型电池容量的辅助数据,N为大于1的整数;The acquiring N auxiliary data of the battery capacity of the same type as the sample data battery, where N is an integer greater than 1;
    对N个所述辅助数据进行预处理,得到N个辅助主成分分量数据;Preprocessing the N pieces of auxiliary data to obtain N pieces of auxiliary principal component component data;
    计算N个辅助主成分分量数据的平均值作为辅助序列;Calculate the average value of N auxiliary principal component component data as an auxiliary sequence;
    将所述辅助序列输入所述原始长短期神经网络,进行辅助训练,得到长短期神经网络。The auxiliary sequence is input into the original long-term and short-term neural network, and auxiliary training is performed to obtain a long-term and short-term neural network.
  7. 根据权利要求2所述的电池寿命预测方法,其特征在于,The battery life prediction method according to claim 2, wherein,
    所述主成分分析方法包含一个反变换矩阵,反变换矩阵用于对分量进行反变换;The principal component analysis method includes an inverse transformation matrix, and the inverse transformation matrix is used to inversely transform the components;
    所述输出结果包括主成分分量预测结果及次要成分预测结果;The output result includes a principal component component prediction result and a secondary component prediction result;
    对所述输出结果进行预测处理的步骤包括:The step of performing prediction processing on the output result includes:
    将所述主成分分量预测结果及所述次要成分预测结果与所述反变换矩阵相乘进行反变换;Multiplying the principal component prediction result and the secondary component prediction result with the inverse transformation matrix to perform inverse transformation;
    对反变换后的所述主成分分量预测结果及所述次要成分预测结果进行叠加以得到预测的电池容量衰减序列。The inverse-transformed prediction result of the principal component and the prediction result of the secondary component are superimposed to obtain a predicted battery capacity decay sequence.
  8. 一种电池寿命预测系统,其特征在于,包括:A battery life prediction system, characterized in that it includes:
    历史数据获取模块,用于获取电池容量的历史数据;Historical data acquisition module, used to acquire historical data of battery capacity;
    预处理模块,用于对所述历史数据进行预处理,得到电池容量衰减的主成分分量数据及次要成分分量数据;a preprocessing module, configured to preprocess the historical data to obtain principal component component data and secondary component component data of battery capacity decay;
    训练模块,用于预先训练长短期记忆神经网络;Training module for pre-training long short-term memory neural network;
    输入模块,用于将所述主成分分量数据、所述次要成分分量数据输入所述训练模块训练的长短期记忆神经网络;an input module for inputting the principal component component data and the secondary component component data into a long short-term memory neural network trained by the training module;
    接收模块,用于接收所述长短期记忆神经网络的输出结果,并对所述输出结果进行预测,得到电池容量的衰减序列;a receiving module, configured to receive the output result of the long-term and short-term memory neural network, and predict the output result to obtain a decay sequence of battery capacity;
    预测模块,用于判断所述衰减序列中的数值是否达到预先设置的电池失效阈值,以对电池剩余寿命进行预测。The prediction module is used for judging whether the value in the decay sequence reaches a preset battery failure threshold, so as to predict the remaining life of the battery.
  9. 一种电子装置,包括:存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,实现权利要求1至7中的任意一项所述方法。An electronic device, comprising: a memory and a processor, wherein a computer program that can be run on the processor is stored in the memory, and characterized in that, when the processor executes the computer program, claims 1 to The method of any one of 7.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,实现权利要求1至7中的任意一项所述方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method of any one of claims 1 to 7 is implemented.
PCT/CN2021/083165 2021-03-26 2021-03-26 Battery life prediction method and system, electronic device, and storage medium WO2022198616A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/083165 WO2022198616A1 (en) 2021-03-26 2021-03-26 Battery life prediction method and system, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/083165 WO2022198616A1 (en) 2021-03-26 2021-03-26 Battery life prediction method and system, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022198616A1 true WO2022198616A1 (en) 2022-09-29

Family

ID=83396247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083165 WO2022198616A1 (en) 2021-03-26 2021-03-26 Battery life prediction method and system, electronic device, and storage medium

Country Status (1)

Country Link
WO (1) WO2022198616A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400244A (en) * 2023-04-04 2023-07-07 华能澜沧江水电股份有限公司 Abnormality detection method and device for energy storage battery
CN117148170A (en) * 2023-10-30 2023-12-01 深圳市普裕时代新能源科技有限公司 Battery energy storage system and energy storage test method thereof
CN117148168A (en) * 2023-10-27 2023-12-01 宁德时代新能源科技股份有限公司 Method for training model, method for predicting battery capacity, device and medium
CN117250523A (en) * 2023-11-20 2023-12-19 福建中科星泰数据科技有限公司 Enhanced automobile power battery prediction method and system based on AI technology
CN117558947A (en) * 2023-11-14 2024-02-13 北京氢璞创能科技有限公司 Fuel cell on-line health diagnosis and life prediction method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110458341A (en) * 2019-07-25 2019-11-15 山东大学 A kind of ultra-short term wind-powered electricity generation prediction technique and system considering meteorological features
CN110568359A (en) * 2019-09-04 2019-12-13 太原理工大学 lithium battery residual life prediction method
CN111784068A (en) * 2020-07-09 2020-10-16 北京理工大学 EEMD-based power load combined prediction method and device
US20210048811A1 (en) * 2018-05-25 2021-02-18 Nec Corporation Model generation device for life prediction, model generation method for life prediction, and recording medium storing model generation program for life prediction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210048811A1 (en) * 2018-05-25 2021-02-18 Nec Corporation Model generation device for life prediction, model generation method for life prediction, and recording medium storing model generation program for life prediction
CN110458341A (en) * 2019-07-25 2019-11-15 山东大学 A kind of ultra-short term wind-powered electricity generation prediction technique and system considering meteorological features
CN110568359A (en) * 2019-09-04 2019-12-13 太原理工大学 lithium battery residual life prediction method
CN111784068A (en) * 2020-07-09 2020-10-16 北京理工大学 EEMD-based power load combined prediction method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIN LI: "Remaining Useful Life Prediction of Key Equipment Driven by Data-driven", BASIC SCIENCES, CHINA DOCTORAL DISSERTATIONS/MASTER'S THESES FULL-TEXT DATABASE (MASTER), 15 January 2021 (2021-01-15), pages 1 - 69, XP055971932, [retrieved on 20221017] *
ZHANG ZONGGUANG: "Research of Remaining Life Intelligent Prediction for Lithium Battery and Application in Building Microgrid", ENGINEERING SCIENCE AND TECHNOLOGY II, CHINA DOCTORAL DISSERTATIONS/MASTER'S THESES FULL-TEXT DATABASE (MASTER), 15 February 2021 (2021-02-15), pages 1 - 82, XP055971929, [retrieved on 20221017] *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400244A (en) * 2023-04-04 2023-07-07 华能澜沧江水电股份有限公司 Abnormality detection method and device for energy storage battery
CN116400244B (en) * 2023-04-04 2023-11-21 华能澜沧江水电股份有限公司 Abnormality detection method and device for energy storage battery
CN117148168A (en) * 2023-10-27 2023-12-01 宁德时代新能源科技股份有限公司 Method for training model, method for predicting battery capacity, device and medium
CN117148168B (en) * 2023-10-27 2024-03-29 宁德时代新能源科技股份有限公司 Method for training model, method for predicting battery capacity, device and medium
CN117148170A (en) * 2023-10-30 2023-12-01 深圳市普裕时代新能源科技有限公司 Battery energy storage system and energy storage test method thereof
CN117148170B (en) * 2023-10-30 2024-01-09 深圳市普裕时代新能源科技有限公司 Battery energy storage system and energy storage test method thereof
CN117558947A (en) * 2023-11-14 2024-02-13 北京氢璞创能科技有限公司 Fuel cell on-line health diagnosis and life prediction method, device and system
CN117250523A (en) * 2023-11-20 2023-12-19 福建中科星泰数据科技有限公司 Enhanced automobile power battery prediction method and system based on AI technology
CN117250523B (en) * 2023-11-20 2024-02-27 福建中科星泰数据科技有限公司 Enhanced automobile power battery prediction method and system based on AI technology

Similar Documents

Publication Publication Date Title
WO2022198616A1 (en) Battery life prediction method and system, electronic device, and storage medium
Sui et al. A review of non-probabilistic machine learning-based state of health estimation techniques for Lithium-ion battery
Lucu et al. Data-driven nonparametric Li-ion battery ageing model aiming at learning from real operation data-Part B: Cycling operation
CN113065283A (en) Battery life prediction method, system, electronic device and storage medium
Cui et al. A dynamic spatial-temporal attention-based GRU model with healthy features for state-of-health estimation of lithium-ion batteries
Wang et al. Adaptive sliding window LSTM NN based RUL prediction for lithium-ion batteries integrating LTSA feature reconstruction
Kim et al. Impedance-based capacity estimation for lithium-ion batteries using generative adversarial network
CN112068003B (en) Method and device for predicting service life of cadmium-nickel storage battery based on linear wiener process
WO2022213789A1 (en) Lithium battery soc estimation method and apparatus, and computer-readable storage medium
Valladares et al. Gaussian process-based prognostics of lithium-ion batteries and design optimization of cathode active materials
CN112834927A (en) Lithium battery residual life prediction method, system, device and medium
Takyi-Aninakwa et al. A hybrid probabilistic correction model for the state of charge estimation of lithium-ion batteries considering dynamic currents and temperatures
Zhang et al. State of health estimation method for lithium-ion batteries using incremental capacity and long short-term memory network
Xie et al. Residual life prediction of lithium-ion batteries based on data preprocessing and a priori knowledge-assisted CNN-LSTM
CN116298936A (en) Intelligent lithium ion battery health state prediction method in incomplete voltage range
Li et al. A novel hybrid data-driven method based on uncertainty quantification to predict the remaining useful life of lithium battery
Wang et al. Feature disentanglement and tendency retainment with domain adaptation for Lithium-ion battery capacity estimation
Mazzi et al. Lithium-ion battery state of health estimation using a hybrid model based on a convolutional neural network and bidirectional gated recurrent unit
Bao et al. A global–local context embedding learning based sequence-free framework for state of health estimation of lithium-ion battery
Wang et al. State of Health estimation for lithium-ion batteries using Random Forest and Gated Recurrent Unit
Xu et al. A hybrid approach to predict battery health combined with attention-based transformer and online correction
Wang et al. An efficient state-of-health estimation method for lithium-ion batteries based on feature-importance ranking strategy and PSO-GRNN algorithm
Tang et al. Parameter identification for lithium batteries: Model variable-coupling analysis and a novel cooperatively coevolving identification algorithm
CN117110884A (en) Lithium battery remaining service life prediction method based on multi-core correlation vector machine
Zhang et al. Remaining useful life prediction of lithium-ion batteries based on TCN-DCN fusion model combined with IRRS filtering

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21932241

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21932241

Country of ref document: EP

Kind code of ref document: A1