Battery life prediction model generation and prediction method and device, equipment and medium
By extracting battery charging parameters and calculating related values, the optimal voltage range is determined, and the BP neural network and LSTM algorithm are used to establish a battery life prediction model, which solves the problem of poor battery life prediction and achieves efficient and accurate battery life prediction.
Patent Information
- Application Number
- CN202410861123.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technologies are poor at predicting the remaining battery life, especially the long dependencies of sequence data that cannot be effectively processed.
Extract battery charging parameters, including charging time, cumulative charging capacity, cumulative charging energy, charging capacity variance, charging capacity average and energy variance, calculate the relevant values of each voltage interval, and determine the optimal voltage interval, based on BP neural network Establish a capacity estimation model and use the LSTM algorithm to establish a battery life prediction model.
Through this method, relatively accurate remaining capacity estimation and battery life prediction results are obtained, effectively solving the problem of poor battery life prediction results.
Smart Images

Figure CN118707350A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery technology, and in particular to battery life prediction model generation and prediction methods, devices, equipment and media. Background Art
[0002] The remaining useful life (RUL) of a battery refers to the number of cycles from the current charge and discharge cycle to the battery failure (usually when the battery capacity is 70% of the initial rated capacity). Due to the complex mechanism of the battery aging process and the highly nonlinear relationship between the influencing factors of the battery's internal chemical behavior and RUL, this is the biggest obstacle to predicting RUL.
[0003] There are many methods for predicting the remaining service life of batteries, mainly model-based methods and data-driven methods. Although data-driven methods such as relevance vector machines and support vector machines do not need to analyze the complex chemical reactions inside the battery, they cannot effectively handle the long-term dependence of sequence data and are not suitable for predicting the remaining service life of batteries. Summary of the invention
[0004] In view of this, it is necessary to provide a battery life prediction model generation and prediction method, device, equipment and medium to solve the problem that the existing technology has poor prediction effect on the remaining service life of the battery.
[0005] In order to solve the above problems, the present invention provides a method for generating a battery life prediction model, comprising: Extracting the charging parameters of the battery, wherein the charging parameters include: the charging time, the cumulative amount of charging capacity, the cumulative amount of charging energy, the charging capacity variance, the charging capacity average value, the energy variance and the energy average value of the battery when it is charged to a plurality of preset equal voltage intervals; Calculate the correlation value of each equal voltage interval respectively, and determine the equal voltage interval with the largest correlation value as the optimal voltage interval; Establishing a capacity estimation model based on the BP neural network and the optimal voltage range; A battery life prediction model is established based on the LSTM algorithm and the capacity estimation model.
[0006] In a possible implementation, extracting the charging parameters of the battery includes: The battery is charged with a constant current until the battery voltage reaches a preset maximum voltage value; The charging parameters of the battery when it is charged to the plurality of equal voltage intervals are recorded in real time.
[0007] In a possible implementation, respectively calculating the correlation value of each equal voltage interval includes: Respectively calculating the relevant values of each charging parameter in each equal voltage interval; The relevant values of each charging parameter in a single equal voltage interval are summed to obtain the relevant value of the equal voltage interval.
[0008] In a possible implementation manner, the correlation value of the equal voltage interval includes: a Pearson correlation value.
[0009] In a possible implementation, the establishing of a capacity estimation model based on a BP neural network and the optimal voltage interval includes: The BP neural network is trained with each charging parameter within the optimal voltage range to obtain a capacity estimation model.
[0010] In a possible implementation, the establishing of a battery life prediction model based on the LSTM algorithm and the capacity estimation model includes: Acquiring a remaining capacity of a battery based on the capacity estimation model; The LSTM algorithm is trained based on the remaining capacity to obtain the battery life prediction model.
[0011] The present invention also provides a prediction method, which is applied to the prediction of the remaining life of a battery, comprising: Get the remaining capacity of the battery; Inputting the remaining capacity into a battery life prediction model to obtain a prediction result; The battery life prediction model is obtained according to the battery life prediction model generation method described in any one of the above method items.
[0012] The present invention also provides a prediction device, comprising: A remaining capacity acquisition module is used to obtain the remaining capacity of the battery; A remaining life estimation module, used for inputting the remaining capacity into a battery life prediction model to obtain a prediction result; The battery life prediction model is obtained according to the battery life prediction model generation method described in any one of the above method items.
[0013] The present invention also provides a device, comprising: Memory, used to store programs; A processor, coupled to the memory, is used to execute a program stored in the memory to implement the battery life prediction model generation method described in any one of the above method items, or the steps in the prediction method described in any one of the above method items.
[0014] The present invention also provides a medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the battery life prediction model generation method described in any one of the above-mentioned method items, or the steps in the prediction method described in the above-mentioned method items.
[0015] The beneficial effect of the present invention is as follows: the present invention provides a method for generating a battery life prediction model, firstly extracting parameters when the battery voltage is in different voltage intervals during a single constant current charging process, then selecting the optimal voltage interval according to the correlation between these parameters and the remaining capacity, and training the BP model based on the parameters corresponding to the optimal voltage interval to obtain a remaining capacity estimation model with high accuracy, and finally further establishing a battery RUL prediction model based on the remaining capacity estimation model and a long short-term memory network (Long Short-Term Memory, LSTM) to obtain efficient and accurate prediction results, thereby effectively solving the problem that the prior art has poor prediction effect on the remaining service life of the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A method flow chart of an embodiment of a method for generating a battery life prediction model provided by the present invention; Figure 2 for Figure 1 A method flow chart of step S101 in an embodiment; Figure 3 for Figure 2 A method flow chart of an embodiment of step S102; Figure 4 for Figure 1 A method flow chart of an embodiment of step S105; Figure 5 A method flow chart of an embodiment of a prediction method provided by the present invention; Figure 6 A scatter plot of the correlation between the 3.3V-3.5V voltage interval features F1, F2, F3, F4, F5, F6, F7, F8 and the remaining capacity provided by the present invention; Figure 7 A scatter plot of the correlation between the 3.0V-3.5V voltage interval features F1, F2, F3, F4, F5, F6, F7, F8 and the remaining capacity provided by the present invention; Figure 8 A line graph of capacity estimation results using different percentages of training sets for the 3.0V-3.5V voltage range F1, F2, F3, F5, F6, F7, and F8 provided by the present invention; Fig. 9 A schematic diagram of the structure of an embodiment of a prediction device provided by the present invention; Fig.10A schematic structural diagram of an embodiment of a device provided by the present invention. DETAILED DESCRIPTION
[0017] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0018] In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone.
[0019] The descriptions of "first", "second", etc. involved in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" and "second" may explicitly or implicitly include at least one of the features.
[0020] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0021] In order to solve the above problems, Figure 1 As shown, the present invention provides a method for generating a battery life prediction model, comprising: S101, extracting charging parameters of the battery, wherein the charging parameters include: charging time, cumulative charging capacity, cumulative charging energy, charging capacity variance, charging capacity average value, energy variance, and energy average value of the battery when the battery is charged to a plurality of preset equal voltage intervals; S102, respectively calculating the correlation values of each equal voltage interval, and determining the equal voltage interval with the largest correlation value as the optimal voltage interval; S103, establishing a capacity estimation model based on BP neural network and optimal voltage range; S104. Establish a battery life prediction model based on the LSTM algorithm and the capacity estimation model.
[0022] During implementation, the remaining capacity test can be performed on retired batteries of the same batch and model, and the battery voltage curve of a single constant current charge to 3.65V can be obtained to extract the characteristic parameters that best represent the degradation of retired batteries during the charge and discharge process. The charging time, cumulative charging capacity, cumulative charging energy, charging capacity variance, charging capacity average, energy variance, and energy average of different equal voltage intervals of a single constant current charge to 3.65V are extracted as aging features, and the above aging features are extracted from multiple intervals in different equal voltage intervals. The BP neural network algorithm is used to complete the remaining capacity estimation, and the LSTM algorithm is used to complete the battery life prediction based on the capacity estimation results.
[0023] Compared with the prior art, the present invention provides a method for generating a battery life prediction model. First, the parameters of the battery voltage in different voltage intervals are extracted during a single constant current charging process. Then, the optimal voltage interval is selected based on the correlation between these parameters and the remaining capacity. The BP model is trained based on the parameters corresponding to the optimal voltage interval to obtain a remaining capacity estimation model with higher accuracy. Finally, a battery RUL prediction model is further established based on the remaining capacity estimation model and the LSTM algorithm to obtain efficient and accurate prediction results, thereby effectively solving the problem of poor prediction effect of the remaining battery service life in the prior art.
[0024] like Figure 2 In a possible implementation, step S101 includes: S201, charging the battery with a constant current until the battery voltage reaches a preset maximum voltage value; S202, recording in real time the charging parameters of the battery when it is charged to a plurality of equal voltage intervals.
[0025] Preferably, the maximum voltage value is 3.65V.
[0026] like Figure 3 In a possible implementation, step S102 includes: S301, respectively calculating the relevant values of each charging parameter in each equal voltage interval; S302: Sum the correlation values of each charging parameter in a single equal voltage interval to obtain the correlation value of the equal voltage interval.
[0027] In a possible implementation, step S103 includes: The BP neural network is trained with various charging parameters within the optimal voltage range to obtain a capacity estimation model.
[0028] Specifically, let S represent a set of arbitrary equal voltage intervals, and the battery charge and discharge cut-off voltage is V min and V max , the starting voltage is Vi , then for a given ΔV: , (1) SΔV includes all voltage segments from Vmin to Vmax, and the width of each segment is ΔV.
[0029] Furthermore, the aging characteristic parameters are extracted: (1) Extract all equal voltage interval data; (2) For each isobaric interval, the charging time, cumulative charging capacity, cumulative charging energy, charging capacity variance, charging capacity average, energy variance, and energy average are calculated:
[0030] (2)
[0031] In formula (2), t represents time, C represents capacity, and E represents energy.
[0032] In a possible implementation manner, the correlation value between the charging parameter and the battery capacity includes: a Pearson correlation value.
[0033] Specifically, taking the charging time as an example, the correlation between the charging time Δt and the battery capacity is defined as: (3) In formula (3), n represents the number of data points, Δt represents the first i The time difference of the data points, Y Representative i The battery capacity of each data point, and Represent the average of charging time and battery capacity respectively.
[0034] Similarly, the cumulative amount of charging capacity, the cumulative amount of charging energy, the variance of charging capacity, the average value of charging capacity, the variance of energy, the average value of energy and the battery capacity can be substituted into formula (3) to calculate the corresponding Pearson correlation.
[0035] Further, for each ΔV: calculate the Pearson correlation of all voltage segments in the entire voltage range; record the maximum Pearson correlation value f under ΔV max (ΔV). The ΔV with the global maximum Pearson correlation value is selected as the optimal isobaric interval for single constant current charging to 3.65V.
[0036] like Figure 4In a possible implementation, step S104 includes: S401, obtaining the remaining capacity of the battery based on a capacity estimation model; S402: Train the LSTM algorithm based on the remaining capacity to obtain a battery life prediction model.
[0037] like Figure 5 The present invention also provides a prediction method for predicting the remaining life of a battery, comprising: S501, obtaining the remaining capacity of the battery; S502, inputting the remaining capacity into a battery life prediction model to obtain a prediction result; Among them, the battery life prediction model is obtained according to the battery life prediction model generation method described in any one of the above method items.
[0038] Specifically, the F1 charging time, F2 charging capacity accumulation, F3 charging energy accumulation, F4 energy variation coefficient, F5 charging capacity variance, F6 charging capacity average, F7 energy variance, and F8 energy average in 106 different isobaric intervals are used as characteristic parameters, and the Pearson correlation coefficients of some different isobaric interval characteristics and the remaining capacity are shown in Table 1. There is a certain correlation between the F1, F2, F3, F5, F7, and F8 characteristics in the 3.3V-3.5V and 3.0V-3.5V voltage intervals and the remaining capacity.
[0039] Table 1 Correlation coefficients of different isobaric intervals
[0040] The correlation between the 3.3V-3.5V voltage range features F1, F2, F3, F4, F5, F6, F7, F8 and the remaining capacity is as follows Figure 6 shown.
[0041] The correlation between the 3.0V-3.5V voltage range features F1, F2, F3, F4, F5, F6, F7, F8 and the remaining capacity is as follows Figure 7 shown.
[0042] Depend on Figure 6 , 7 It can be seen that compared with the 3.3V-3.5V range, the characteristic parameters F1, F2, F3, F4, F5, F6, F7, and F8 in the 3.0V-3.5V voltage range are more significantly correlated with the remaining capacity. At the same time, the data of battery No. 46 is eliminated as an outlier.
[0043] After removing one outlier, the correlation between the characteristic parameters F1, F2, F3, F4, F5, F6, F7, and F8 and the remaining capacity of the 105 batteries in the voltage ranges of 3.3V-3.5V and 3.0V-3.5V is shown in Table 8. In the 3.0V-3.5V range, the seven characteristic parameters F1, F2, F3, F5, F6, F7, and F8 have a high correlation with the remaining capacity.
[0044] Table 2 Correlation coefficients of different isobaric intervals
[0045] Input 7 features F1, F2, F3, F5, F6, F7, F8 in the voltage range of 3.0V-3.5V and use the random forest algorithm to estimate the capacity. The capacity estimation results are as follows: Figure 8 shown.
[0046] As shown in Table 3, Average Relative Error, Max Relative Error, Min Relative Error, MSE, and RMSE are error evaluation indicators. 2 It is used to measure the accuracy of model prediction. The maximum relative error is about 1.87%, the minimum relative error is about 0.04%, and the average relative error is about 0.4%. 2 A value close to 1 indicates that the model can well explain the data variability.
[0047] Table 3 Evaluation of estimation error on different test sets Different Test Sets Average Relative Error Max Relative Error Min Relative Error MSE RMSE <![CDATA[R 2 ]]> 90% 0.0040683 0.0086492 0.000877 1.8522 1.361 0.93681 80% 0.0048636 0.012637 0.0004168 3.2003 1.7889 0.85483 70% 0.0045045 0.018672 6.6867e-05 3.2515 1.8032 0.86139 60% 0.0030938 0.010697 0.00030042 1.3059 1.1428 0.88059 Studies have shown that selecting too many hidden layers will cause overfitting. 1) The number of neurons in the hidden layer should be between the number of neurons in the input layer and the number of neurons in the output layer; 2) The number of neurons should be 2 / 3 of the number of inputs plus 1 / 3 of the number of outputs; 3) The number of neurons should be less than twice the number of input neurons. There are seven inputs and one output, so the number of hidden layer neurons used is 5. When the voltage segment is 3.0 V-3.5 V, the BP neural network selects different test sets. The 280 Ah battery capacity estimation results are as follows Fig. 9 As shown, Fig. 9 The estimation results of different test sets correspond to the different test sets (1 / 2 / 3 / 4) in Table 3.
[0048] When the BP neural network training set test set ratio is 8:2 with 7 features including F1, F2, F3, F5, F7, and F8 in the voltage range of 3.0V-3.5V, the maximum difference between the actual value and the predicted value of the training set is 2.587Ah, and the maximum difference between the actual value and the predicted value of the test set is 1.9242Ah. Table 4 shows the Average Relative Error, Max Relative Error, Min Relative Error, MSE, RMSE error evaluation indicators when the training set test set ratio is 8:2. 2 It is used to measure the accuracy of model prediction. The maximum relative error is about 0.68%, the minimum relative error is about 0.009%, and the average relative error is about 0.27%. 2 Values close to 1 indicate that the model explains the data variability well.
[0049] Table 4. Evaluation of training set and test set error Different Test Sets Average Relative Error Max Relative Error Min Relative Error MSE MAE <![CDATA[R 2 ]]> Training set 0.26124% 0.88867% 0.0076899% 0.91239 0.76271 0.9532 Test Set 0.27456% 0.67881% 0.0092064% 0.87728 0.80269 0.94749 When the ratio of the BP neural network training set to the test set is 7:3, the maximum difference between the actual value and the predicted value of the training set is 2.0723Ah, and the maximum difference between the actual value and the predicted value of the test set is 1.9455Ah. Table 5 shows the AverageRelative Error, MaxRelative Error, MinRelative Error, MSE, RMSE error evaluation indicators when the ratio of the training set to the test set is 7:3. 2 It is used to measure the accuracy of model prediction. The maximum relative error is about 0.68%, the minimum relative error is about 0.004%, and the average relative error is about 0.26%. 2 Values close to 1 indicate that the model can explain the data variability well.
[0050] Table 5. Evaluation of training set and test set error Different Test Sets Average Relative Error Max Relative Error Min Relative Error MSE MAE <![CDATA[R 2 ]]> Training set 0.20945% 0.69436% 0.0036406% 0.57054 0.61366 0.97029 Test Set 0.25799% 0.68399% 0.0039855% 0.93948 0.75472 0.94869 When the BP neural network training set and test set ratio is 6:4, the maximum difference between the actual value and the predicted value of the training set is 1.8223Ah, and the maximum difference between the actual value and the predicted value of the test set is 3.1054Ah. Table 6 shows the Average Relative Error, Max Relative Error, Min Relative Error, MSE, RMSE error evaluation indicators when the training set and test set ratio is 6:4. 2 It is used to measure the accuracy of model prediction. The maximum relative error is about 1.1%, the minimum relative error is about 0.002%, and the average relative error is about 0.31%. 2 Values close to 1 indicate that the model explains the data variability well.
[0051] Table 6. Evaluation of training set and test set error Different Test Sets Average Relative Error Max Relative Error Min Relative Error MSE MAE <![CDATA[R 2 ]]> Training set 0.20657% 0.62035% 0.011955% 0.5622 0.60442 0.97003 Test Set 0.30878% 1.0955% 0.0018028% 1.3274 0.90143 0.92896 When the ratio of the BP neural network training set to the test set is 9:1, the maximum difference between the actual value of the training set and the predicted value is 2.8673Ah, and the maximum difference between the actual value of the test set and the predicted value is 0.98773Ah. Table 7 shows the Average Relative Error, Max Relative Error, Min Relative Error, MSE, RMSE error evaluation indicators when the ratio of the training set to the test set is 9:1. 2 It is used to measure the accuracy of model prediction. The maximum relative error is about 0.34%, the minimum relative error is about 0.02%, and the average relative error is about 0.15%. 2 Values close to 1 indicate that the model explains the data variability well.
[0052] Table 7. Evaluation of training set and test set error Different Test Sets Average Relative Error Max Relative Error Min Relative Error MSE MAE <![CDATA[R 2 ]]> Training set 0.20114% 0.96729% 0.0054126% 0.59269 0.58857 0.9649 Test Set 0.14525% 0.33725% 0.02285% 0.27317 0.42488 0.99232 like Fig. 9 The present invention further provides a prediction device 90, comprising: The remaining capacity acquisition module 910 is used to acquire the remaining capacity of the battery; A remaining life estimation module 920, used to input the remaining capacity into a battery life prediction model to obtain a prediction result; Among them, the battery life prediction model is obtained according to the battery life prediction model generation method described in any one of the above method items.
[0053] like Fig.10 As shown, the present invention also provides a device 100, comprising: A memory 1010, used for storing programs; The processor 1020 is coupled to the memory 1010 and is used to execute the program stored in the memory 1010 to implement the steps in the battery life prediction model generation method described in any one of the above embodiments.
[0054] Fig.10 Only some of the components of the device 100 are shown, but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may be implemented instead.
[0055] In some embodiments, the processor 1020 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 1010, such as the battery life prediction model generation method of the present invention.
[0056] In some embodiments, the processor 1020 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 1020 may be local or remote. In some embodiments, the processor 1020 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.
[0057] In some embodiments, the memory 1010 may be an internal storage unit of the device 100, such as a hard disk or memory of the device 100. In other embodiments, the memory 1010 may also be an external storage device of the device 100, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the device 100.
[0058] Furthermore, the memory 1010 may include both an internal storage unit of the device 100 and an external storage device. The memory 1010 is used to store application software installed in the device 100 and various data.
[0059] In one embodiment, when the processor 1020 executes the battery life prediction model generation program in the memory 1010, the following steps may be implemented: Extracting the charging parameters of the battery, wherein the charging parameters include: the charging time, the cumulative amount of charging capacity, the cumulative amount of charging energy, the charging capacity variance, the charging capacity average value, the energy variance and the energy average value of the battery when it is charged to a plurality of preset equal voltage intervals; Determining optimal charging parameters based on correlation values of the charging parameters and the battery capacity; A capacity estimation model is established based on BP neural network and optimal charging parameters corresponding to the optimal interval; A battery life prediction model is established based on the LSTM algorithm and capacity estimation model.
[0060] In another embodiment, when the processor 1020 executes the prediction program in the memory 1010, the following steps may be implemented: Get the remaining capacity of the battery; The remaining capacity is input into the battery life prediction model to obtain the prediction result.
[0061] Furthermore, the embodiment of the present invention does not specifically limit the type of the device 100 mentioned, and the device 100 may be a portable device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable devices include but are not limited to portable devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable devices may also be other portable devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the device 100 may not be a portable device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0062] The present invention also provides a storage medium for storing computer-readable programs or instructions, which, when executed by a processor, can implement the battery life prediction model generation method described in any one of the above-mentioned method items, or the steps in the prediction method described in any one of the above-mentioned method items.
[0063] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer storage medium, wherein the computer storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0064] The above is a detailed introduction to the battery life prediction model generation and prediction method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for generating a battery life prediction model, characterized in that: include: Extracting the charging parameters of the battery, wherein the charging parameters include: the charging time, the cumulative amount of charging capacity, the cumulative amount of charging energy, the charging capacity variance, the charging capacity average value, the energy variance and the energy average value of the battery when it is charged to a plurality of preset equal voltage intervals; Calculate the correlation value of each equal voltage interval respectively, and determine the equal voltage interval with the largest correlation value as the optimal voltage interval; Establishing a capacity estimation model based on the BP neural network and the optimal voltage range; A battery life prediction model is established based on the LSTM algorithm and the capacity estimation model.
2. The method for generating a battery life prediction model according to claim 1, characterized in that: The charging parameters of the battery are extracted as follows: The battery is charged with a constant current until the battery voltage reaches a preset maximum voltage value; The charging parameters of the battery when it is charged to the plurality of equal voltage intervals are recorded in real time.
3. The method for generating a battery life prediction model according to claim 1, characterized in that: The respectively calculating the correlation values of each equal voltage interval includes: Respectively calculating the relevant values of each charging parameter in each equal voltage interval; The relevant values of each charging parameter in a single equal voltage interval are summed to obtain the relevant value of the equal voltage interval.
4. The method for generating a battery life prediction model according to claim 1, characterized in that: The correlation values of the equal voltage intervals include: Pearson correlation values.
5. The method for generating a battery life prediction model according to claim 1, characterized in that: The capacity estimation model is established based on the BP neural network and the optimal voltage interval, including: The BP neural network is trained with each charging parameter within the optimal voltage range to obtain a capacity estimation model.
6. The method for generating a battery life prediction model according to claim 1, characterized in that: The method of establishing a battery life prediction model based on the LSTM algorithm and the capacity estimation model includes: Acquiring a remaining capacity of a battery based on the capacity estimation model; The LSTM algorithm is trained based on the remaining capacity to obtain the battery life prediction model.
7. A prediction method, applied to the prediction of the remaining life of a battery, characterized in that: include: Get the remaining capacity of the battery; Inputting the remaining capacity into a battery life prediction model to obtain a prediction result; Wherein, the battery life prediction model is obtained according to the battery life prediction model generation method according to any one of claims 1-6.
8. A prediction device, characterized in that: include: A remaining capacity acquisition module is used to obtain the remaining capacity of the battery; A remaining life estimation module, used for inputting the remaining capacity into a battery life prediction model to obtain a prediction result; Wherein, the battery life prediction model is obtained according to the battery life prediction model generation method according to any one of claims 1-6.
9. A device, characterized in that: include: Memory, used to store programs; A processor, coupled to the memory, is used to execute the program stored in the memory to implement the battery life prediction model generation method described in any one of claims 1 to 6 above, or the steps in the prediction method described in claim 7.
10. A medium, characterized in that Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the battery life prediction model generation method described in any one of claims 1 to 6, or the steps in the prediction method described in claim 7.
