Lithium battery health state prediction method and device, equipment and storage medium

Through Spearman correlation coefficient method and feature correlation heat map analysis, the lithium battery health characteristic matrix is ​​constructed and the neural network model is updated, which solves the problem of low accuracy in predicting the health status of lithium batteries and achieves higher prediction accuracy and speed. Provides more accurate data support for the battery management system.

CN118777899APending Publication Date: 2024-10-15SHENZHEN CAR ENERGY NET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410940613.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing lithium battery health state prediction methods have low accuracy and fail to effectively consider the hyperparameters of the lithium battery prediction model, resulting in inaccurate prediction results.

Method used

The Spearman correlation coefficient method is used to conduct feature correlation analysis on lithium battery status data, and feature data with high correlation is selected through the feature correlation heat map to construct a lithium battery health feature matrix, and the neural network model is updated to improve prediction accuracy.

Benefits of technology

It improves the accuracy and speed of lithium battery health status prediction, provides more accurate data support for the battery management system, extends battery life and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118777899A_ABST
    Figure CN118777899A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of lithium batteries, and discloses a lithium battery health state prediction method and device, equipment and a storage medium. The prediction method comprises the following steps: acquiring state data of a lithium battery, and preprocessing the state data of the lithium battery; performing feature correlation analysis on the preprocessed state data of the lithium battery through a Spearman correlation coefficient method, and selecting feature data with relatively high correlation with the health state of the lithium battery through a feature correlation thermodynamic diagram to obtain a lithium battery health feature matrix; according to the lithium battery health feature matrix, updating a neural network model for predicting the lithium battery health state to obtain a trained neural network model; and predicting the health state of the lithium battery based on the trained neural network model. The lithium battery health state prediction method provided by the invention not only can improve the prediction precision and prediction speed of the lithium battery health state, but also can provide more accurate data support for a battery management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of lithium batteries, and specifically relates to a method, device, equipment and storage medium for predicting the health status of a lithium battery. Background Art

[0002] With the utilization of renewable energy and the popularity of electric vehicles (EV), efficient and reliable battery management systems (BMS) have become key technologies to ensure battery safety, improve efficiency and extend battery life. Lithium-ion batteries are widely used in electric vehicles and energy storage systems due to their excellent energy density and long life. However, the performance of lithium batteries gradually declines over time, which directly affects the safety, reliability and economy of the battery. Therefore, how to improve the intelligence level of BMS and accurately predict the battery's state of health (SOH) is crucial to improving performance and extending service life.

[0003] At present, the estimation methods of lithium battery health status can be roughly divided into three categories, namely experimental method, numerical model method and data-driven method. The experimental method estimates the battery capacity by directly measuring or extracting characteristic indicators under standard charging and discharging conditions. The experimental method is time-consuming, costly and rarely used in practice to predict the health status of lithium batteries. The method based on numerical models predicts the health status of lithium batteries, but its generalization ability is poor and it is difficult to adapt to changes in actual working conditions. In recent years, data-driven methods have been widely used in the prediction of lithium battery health status due to their flexibility and universality. However, when the existing data-driven modules predict the health status of lithium batteries, they only consider the characteristics of the lithium battery prediction model itself, and do not consider the hyperparameters of the lithium battery prediction model, which will lead to low accuracy of the prediction results of the health status of lithium batteries.

[0004] Therefore, how to improve the accuracy of lithium battery health status prediction results is a technical problem that needs to be solved urgently. Summary of the invention

[0005] In order to solve the technical problem of low accuracy of lithium battery health status prediction results, the present invention provides a lithium battery health status prediction method, device, equipment and storage medium.

[0006] In a first aspect, the present invention provides a method for predicting the health status of a lithium battery, the method comprising:

[0007] Acquiring status data of a lithium battery and preprocessing the status data of the lithium battery;

[0008] The pre-processed lithium battery status data is subjected to feature correlation analysis by the Spearman correlation coefficient method, and feature data with a high correlation with the health status of the lithium battery is selected through the feature correlation heat map to obtain a lithium battery health feature matrix;

[0009] According to the lithium battery health feature matrix, the neural network model for predicting the health status of the lithium battery is updated to obtain a trained neural network model;

[0010] Based on the trained neural network model, the health status of the lithium battery is predicted.

[0011] Preferably, the performing feature correlation analysis on the pre-processed lithium battery status data by the Spearman correlation coefficient method comprises:

[0012] The characteristic correlation coefficient of the pre-processed lithium battery state data is calculated, and the characteristic correlation coefficient r s The calculation formula is:

[0013]

[0014] Among them, d i It represents the level difference between the lithium battery status data and the lithium battery health status, and n represents the sample capacity.

[0015] Preferably, the feature correlation heat map is used to select features with a high correlation with the health status of the lithium battery to obtain a lithium battery health feature matrix, including:

[0016] The features of the lithium battery state data are sorted by the feature correlation heat map to obtain the lithium battery state matrix S n×1 ;

[0017] The lithium battery status data is analyzed by factor analysis to obtain the characteristic correlation matrix R of the lithium battery health status. 1×n ;

[0018] Based on the lithium battery state matrix S n×1 and the characteristic correlation matrix R of the lithium battery health status 1×n , calculate the lithium battery health matrix H n×n , the lithium battery health matrix H n×n The calculation formula is:

[0019] H n×n =S n×1 ×R 1×n

[0020] Where n represents the dimension of the lithium battery health matrix.

[0021] Preferably, the updating of the neural network model for predicting the health status of the lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model includes:

[0022] According to the lithium battery health feature matrix, the weight of the neural network model for initially predicting the health status of the lithium battery is updated, and the neural network model for predicting the health status of the lithium battery is reconstructed;

[0023] According to the lithium battery health feature matrix, updating the target loss function of the reconstructed neural network model for predicting the health status of the lithium battery;

[0024] Based on the updated target loss function of the neural network model for predicting the health status of lithium batteries, the hidden layer weights of the reconstructed neural network model for predicting the health status of lithium batteries are updated to obtain a trained neural network model.

[0025] Preferably, the method of updating the weight of the neural network model for initially predicting the health status of the lithium battery according to the lithium battery health characteristic matrix, and reconstructing the neural network model for predicting the health status of the lithium battery comprises:

[0026] The lithium battery health matrix H n×n and the lithium battery state matrix S n×1 Multiply them together to get the weight matrix W of the neural network model for predicting the health status of lithium batteries n×1 ;

[0027] The weight matrix W of the neural network model for predicting the health status of lithium batteries is based on n×1 And lithium battery health factor matrix A 1×n , reconstructing the neural network model for predicting the health status of the lithium battery;

[0028] The calculation formula for reconstructing the neural network model for predicting the health status of the lithium battery is:

[0029]

[0030] in, The reconstructed neural network model for predicting the health status of lithium batteries, SOH i is the neural network model for initial prediction of lithium battery health status, A 1×n is the lithium battery health factor matrix, and λ is the correction coefficient.

[0031] Preferably, the objective loss function of the reconstructed neural network model for predicting the health status of the lithium battery is updated according to the lithium battery health feature matrix, including: the objective loss function of the neural network model The calculation formula is:

[0032]

[0033] Among them, y i Indicates the true value of the health status of the lithium battery; Represents the predicted value of the health status of the lithium battery, The error function representing the health matrix of the lithium battery;

[0034] The error function of the lithium battery health matrix The calculation formula is:

[0035]

[0036] Among them, σ 2 Represents the variance of the lithium battery health status prediction error.

[0037] Preferably, based on the updated target loss function of the neural network model for predicting the health status of the lithium battery, the hidden layer weights of the reconstructed neural network model for predicting the health status of the lithium battery are updated, including: the hidden layer weights w of the neural network model t+1 The calculation formula is:

[0038]

[0039] Among them, t represents the time step, η represents the learning rate, and w t represents the weight at time step t.

[0040] In a second aspect, the present invention further provides a device for predicting the health status of a lithium battery, the device being used to implement the method for predicting the health status of a lithium battery as described in any one of the first aspects above, comprising:

[0041] An acquisition module, used for acquiring status data of a lithium battery and preprocessing the status data of the lithium battery;

[0042] An analysis module is used to perform feature correlation analysis on the preprocessed lithium battery status data by using the Spearman correlation coefficient method, and select features with a high correlation with the health status of the lithium battery by using a feature correlation heat map to obtain a lithium battery health feature matrix;

[0043] An updating module, used to update the neural network model for predicting the health status of the lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model;

[0044] The prediction module is used to predict the health status of the lithium battery based on the trained neural network model.

[0045] In a third aspect, the present invention also provides a device, comprising a processor and a memory coupled to the processor, the memory storing program instructions executable by the processor; when the processor executes the program instructions stored in the memory, the method for predicting the health status of a lithium battery as described in any one of the first aspects above is implemented.

[0046] In a fourth aspect, the present invention further provides a storage medium, wherein program instructions are stored in the storage medium, and when the program instructions are executed by a processor, a method for predicting the health status of a lithium battery as described in any one of the first aspects above can be implemented.

[0047] Compared with the prior art, the method for predicting the health status of lithium batteries provided by the present invention performs feature correlation analysis on the pre-processed state data of lithium batteries through the Spearman correlation coefficient method, and selects features with high correlation with the health status of lithium batteries through the feature correlation heat map to obtain a lithium battery health feature matrix; and is used to update the neural network model for predicting the health status of lithium batteries according to the lithium battery health feature matrix to obtain a trained neural network model. The method can not only improve the prediction accuracy and prediction speed, but also provide more accurate data support for the battery management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only part of the embodiments of the present invention, rather than all of the embodiments. For ordinary technicians in this field, without paying creative work, other drawings obtained based on these drawings all fall within the scope of protection of the present invention.

[0049] Figure 1 A schematic diagram of a flow chart of a method for predicting the health status of a lithium battery provided by an embodiment of the present invention;

[0050] Figure 2 A feature correlation heat map provided by an embodiment of the present invention;

[0051] Figure 3 A graph showing the change of internal resistance and lithium battery status during the charge and discharge cycle of a CS2-35 battery provided by an embodiment of the present invention;

[0052] Figure 4 A battery capacity attenuation diagram within a unit life cycle provided by an embodiment of the present invention;

[0053] Figure 5 A health status change diagram of a CS2-35 battery under different charging modes is provided for an embodiment of the present invention;

[0054] Figure 6 A comparison diagram of the prediction effect of a neural network before and after health matrix optimization provided by an embodiment of the present invention;

[0055] Figure 7 A comparison diagram of the neural network prediction error distribution before and after health matrix optimization provided by an embodiment of the present invention;

[0056] Figure 8 A neural network model training loss and validation loss after health matrix optimization provided by an embodiment of the present invention;

[0057] Fig. 9 A schematic diagram of the structure of a device for predicting the health status of a lithium battery provided by an embodiment of the present invention;

[0058] Fig.10 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0059] Fig.11 A schematic diagram of a storage medium structure provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0061] In order to make the description of the content of the present invention more detailed and complete, the following is an illustrative description of the implementation method and specific examples of the present invention; however, this is not the only form of implementing or applying the specific embodiments of the present invention. The implementation method covers the features of multiple specific embodiments and the method steps and their sequence for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equal functions and step sequences. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0062] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.

[0063] In the description of the embodiments of the present invention, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, “multiple” means two or more than two, and other quantifiers are similar. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention, and the embodiments of the present invention and the features in the embodiments may be combined with each other without conflict.

[0064] Please refer to Figure 1 , Figure 1 A flowchart of a method for predicting the health status of a lithium battery provided by an embodiment of the present invention is provided. The method for predicting the health status of a lithium battery can be executed by software and / or hardware devices. For example, see Figure 1 As shown, the method for predicting the health status of a lithium battery may include:

[0065] Step S101, obtaining status data of a lithium battery, and preprocessing the status data of the lithium battery.

[0066] Specifically, in an embodiment of the present invention, the state data of the lithium battery can be first obtained from a public data set, and then the missing values, abnormal values, and noise of the lithium battery state data can be cleaned to improve the data reliability. In order to reduce the order error of data of different magnitudes, the maximum-minimum normalization algorithm can be used to preprocess the state data of the lithium battery. The formula for preprocessing the state data of the lithium battery using the maximum-minimum normalization algorithm is shown in formula (1).

[0067]

[0068] Among them, x i Represents the current data, x min Indicates the minimum value of the data, x max Indicates the maximum value of the data.

[0069] Step S102: performing feature correlation analysis on the preprocessed lithium battery status data by using the Spearman correlation coefficient method, and selecting feature data with a high correlation with the lithium battery health status by using a feature correlation heat map to obtain a lithium battery health feature matrix.

[0070] For details, please refer to Figure 2 , Figure 2 A characteristic correlation heat map is provided in an embodiment of the present invention. In an embodiment of the present invention, the Spearman correlation coefficient method can be used to perform correlation analysis on battery data to obtain Figure 2The feature correlation heat map in the figure is used, and then the feature data with strong correlation with the health status of the lithium battery is screened based on the correlation analysis to obtain the matrix elements and dimensions of the health matrix and the hyperparameters of the neural network.

[0071] In the embodiment of the present invention, characteristic data with strong correlation with the health status of lithium batteries, such as battery internal resistance, battery capacity loss rate during its life cycle, constant current charging time (CCCT), and constant voltage charging time (CVCT), can be selected. Figure 3-Figure 5 , Figure 3 A graph showing the change of internal resistance and lithium battery status during the charge and discharge cycle of a CS2-35 battery provided by an embodiment of the present invention. Figure 4 A battery capacity attenuation diagram within a unit life cycle provided by an embodiment of the present invention, Figure 5 A health status change diagram of a CS2-35 battery under different charging modes is provided for an embodiment of the present invention. Among them, the change in the internal resistance of the battery can be used as an early warning signal of battery aging and loss. Studying the dynamic change of the internal resistance is helpful to develop a more accurate battery health prediction model. The capacity loss rate of a battery during its life cycle is an important indicator for measuring the battery state. It indirectly reflects the battery's attenuation performance and the consistency and difference of battery performance under the same number of cycles. Constant current charging time (CCCT) and constant voltage charging time (CVCT) are important indicators widely used in battery management systems to monitor and evaluate the health status of batteries. Long-term tracking of CCCT and CVCT can provide information about the battery life decay rate and performance changes during charging.

[0072] Step S103: Update the neural network model for predicting the health status of the lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model. Specifically, in an embodiment of the present invention, the hyperparameters of the neural network model for predicting the health status of the lithium battery can be obtained according to the lithium battery health feature matrix obtained in step S102. The optimization process is accelerated by the obtained hyperparameters, and the neural network model for predicting the health status of the lithium battery is updated to obtain a trained neural network model, and the trained neural network is used for power prediction.

[0073] Step S104: Predicting the health status of the lithium battery based on the trained neural network model. Specifically, in the embodiment of the present invention, the health status of the lithium battery can be predicted based on the trained neural network model, and the accuracy and reliability of the prediction can be evaluated by analyzing and comparing the prediction results of the trained neural network model.

[0074] As an embodiment, the characteristic correlation analysis of the pre-processed lithium battery state data by the Spearman correlation coefficient method includes: calculating the characteristic correlation coefficient of the pre-processed lithium battery state data, the characteristic correlation coefficient r s The calculation formula is shown in formula (2):

[0075]

[0076] Among them, d i It represents the level difference between the lithium battery status data and the lithium battery health status, and n represents the sample capacity.

[0077] It should be noted that the Spearman correlation coefficient method uses a monotonic equation to evaluate the correlation between two statistical variables X and Y. When the two variables are completely monotonically correlated and have no repeated values, the Spearman correlation coefficient law is +1 or -1, a negative value indicates negative correlation, and 0 indicates no correlation.

[0078] As an implementation method, the feature correlation heat map is used to select features with high correlation with the health status of the lithium battery to obtain a lithium battery health feature matrix, including: first, the features of the lithium battery status data are sorted by the feature correlation heat map to obtain a lithium battery status matrix S n×1 ; Lithium battery state matrix S n×1 Each matrix element in represents the health factor of the lithium battery health state. Secondly, the lithium battery status data is analyzed by factor analysis to obtain the characteristic correlation matrix R of the lithium battery health state. 1×n ; Finally, based on the lithium battery state matrix S n×1 and the characteristic correlation matrix R of the lithium battery health status 1×n , calculate the lithium battery health matrix H n×n , the lithium battery health matrix H n×n The calculation formula is shown in formula (3):

[0079] H n×n =S n×1 ×R 1×n (3)

[0080] Among them, n represents the dimension of the lithium battery health matrix, which is usually 6 to 12. In addition, when the dimension n of the lithium battery health matrix is ​​greater than 12, the lithium battery health matrix needs to be reduced to prevent the screening of redundant health factors, which will affect the training time and prediction accuracy of the lithium battery prediction neural network model.

[0081] As an implementation mode, the neural network model for predicting the health status of the lithium battery is updated according to the lithium battery health feature matrix to obtain the trained neural network model, including: first, according to the lithium battery health feature matrix, the weight of the neural network model for predicting the health status of the lithium battery is updated, and the neural network model for predicting the health status of the lithium battery is reconstructed. In the embodiment of the present invention, health assessment is performed based on health factors to obtain the hyperparameters of the health matrix and the neural network, and the weight of the neural network model is updated according to the obtained hyperparameters; secondly, according to the lithium battery health feature matrix, the target loss function of the reconstructed neural network model for predicting the health status of the lithium battery is updated; finally, based on the updated target loss function of the neural network model for predicting the health status of the lithium battery, the hidden layer weights of the reconstructed neural network model for predicting the health status of the lithium battery are updated to obtain the trained neural network model. In the embodiment of the present invention, after the neural network model for predicting the health status of the lithium battery is reconstructed, the accuracy and reliability of the prediction are evaluated by analyzing and comparing the reconstructed prediction results, and at the same time, the hyperparameters are continuously optimized and adjusted to improve the prediction accuracy and efficiency. In practical applications, it is necessary to flexibly adjust and improve according to specific circumstances to adapt to different lithium battery states and application scenarios.

[0082] As an implementation method, the weight of the neural network model for initially predicting the health status of the lithium battery is updated according to the lithium battery health feature matrix, and the neural network model for predicting the health status of the lithium battery is reconstructed; comprising: first, the lithium battery health matrix H n×n and the lithium battery state matrix S n×1 Multiply them together to get the weight matrix W of the neural network model for predicting the health status of lithium batteries n×1 , the neural network model SOH for initial prediction of lithium battery health status i Expanded to predict the health status of lithium batteries prediction matrix A 1×n , prediction matrix A 1×n All elements in are the original lithium battery health factors. Finally, the weight matrix W of the neural network model for predicting the health status of lithium batteries is n×1 And lithium battery health factor matrix A 1×n , reconstructing the neural network model for predicting the health status of the lithium battery;

[0083] The calculation formula for reconstructing the neural network model for predicting the health status of the lithium battery is shown in formula (4):

[0084]

[0085] in, The reconstructed neural network model for predicting the health status of lithium batteries, SOHi is the neural network model for initial prediction of lithium battery health status, A 1×n is the lithium battery health factor matrix, λ is the correction coefficient, λ is related to the health factor and the working condition of the battery, and its value ranges from 0.01 to 0.1.

[0086] As an implementation method, the objective loss function of the reconstructed neural network model for predicting the health status of the lithium battery is updated according to the lithium battery health feature matrix, including: defining a new loss function

[0087] In order to further improve the accuracy of the prediction, the health matrix H is now integrated into the loss function to define a new loss function L new :

[0088] The objective loss function of the neural network model The calculation formula is shown in formula (5):

[0089]

[0090] Among them, y i Indicates the true value of the health status of the lithium battery; Represents the predicted value of the health status of the lithium battery, The error function representing the health matrix of the lithium battery;

[0091] The error function of the lithium battery health matrix The calculation formula is shown in formula (6):

[0092]

[0093] Among them, σ 2 Represents the variance of the lithium battery health status prediction error.

[0094] As an implementation method, based on the target loss function of the updated neural network model for predicting the health status of lithium batteries, the hidden layer weights of the reconstructed neural network model for predicting the health status of lithium batteries are updated, including: during the training process of the neural network model, the hidden layer weights W t+1 The update formula will be adjusted according to the new loss function, and the weights of the hidden layer will be updated by the gradient descent method. Finally, the hidden layer weights w of the neural network model are t+1 The calculation formula is shown in formula (7):

[0095]

[0096] Among them, t represents the time step, η represents the learning rate, and w tRepresents the weight at time step t. After the health matrix is ​​optimized, the update of each weight will take into account the prediction error, so that the model can learn effectively while reducing the error, improving the prediction accuracy and speed.

[0097] In order to verify the effectiveness of the neural network model optimized by the health matrix of this application, this application uses the battery data set of the Center for Advanced Life Cycle Engineering (CALCE) of the United States to verify the effectiveness of the proposed method, and selects the test data of the battery number CS2 35-CS2 38. All batteries are charged in a constant current (CC) mode of 0.5C until the battery voltage reaches the cut-off voltage of 4.2V, and then keep the voltage of 4.2V unchanged and charge in a constant voltage (CV) mode until the charging current drops to 20mA; finally, discharge in a constant current (CC) mode of 1C until the battery voltage drops to the cut-off discharge voltage of 2.7V. When the battery reaches the end of life standard (EOL, End Of Life), that is, when the rated capacity drops to 30% of it, the test is terminated. In the embodiment of the present invention, the data set of the test data can be first divided into 80% training set and 20% test set, the neural network model after the health matrix optimization is trained, and then the training set is used as a verification set to verify the neural network model after the trained health matrix optimization. During the test process, strict charging and discharging requirements are followed to simulate the battery behavior in actual use. The battery parameters are shown in Table 1:

[0098] Table 1 Battery parameter characteristics

[0099]

[0100]

[0101] This application adopts R 2 The model effect is evaluated by three error indicators: coefficient of determination, MSE (mean square error), and MAE (mean absolute error). The calculation formula of the evaluation index is shown in formula (8):

[0102]

[0103] Among them, y i represents the true value, represents the predicted value, represents the true value mean, and n represents the number of samples.

[0104] Under the same data set, the prediction error indicators and prediction time before and after the health matrix optimization are compared, and the results are shown in Table 2.

[0105] Table 2 Comparison of neural network prediction errors before and after health matrix optimization

[0106]

[0107] As shown in Table 2, after using the health matrix, the prediction accuracy is improved by 35.71%, and the prediction time is reduced by 35.5%. The prediction accuracy and generalization ability of the optimized neural network model are improved, and the feature quality is improved through the health matrix. The BMS monitors the battery feature data in real time, continuously evaluates the health status of the battery, and adjusts the operating parameters according to the actual operating conditions to maximize the battery performance and life.

[0108] Taking CS2-35 battery as an example, the neural network prediction effect before and after health matrix optimization is compared. Please refer to Figure 6-Figure 7 , Figure 6 A comparison diagram of the neural network prediction effect before and after the health matrix optimization provided by an embodiment of the present invention, Figure 7 A comparison diagram of the neural network prediction error distribution before and after health matrix optimization provided by an embodiment of the present invention. Figure 6 It can be seen that the health matrix significantly improves the lag of prediction and improves the quality of the weights of the neural network model. The prediction accuracy of the neural network model is significantly improved before and after the health matrix is ​​optimized. Figure 7 It can be seen that after using the health matrix, the error distribution is concentrated and the frequency of prediction errors decreases.

[0109] Please refer to Figure 8 , Figure 8 The training loss and verification loss of the neural network model after the health matrix optimization provided by the embodiment of the present invention are as follows: Figure 8 It can be seen that the neural network model after health matrix optimization shows good learning efficiency and fast convergence. It has consistent performance on the training set and the validation set, good generalization ability, and the model is reliable in predicting the health status of lithium batteries. It can effectively learn from the training data and predict the health status of the battery, and is suitable for application in battery performance monitoring and management systems.

[0110] The present invention provides a method for predicting the health status of a lithium battery, the method comprising: obtaining the status data of the lithium battery and preprocessing the status data of the lithium battery; performing feature correlation analysis on the preprocessed status data of the lithium battery by the Spearman correlation coefficient method, and selecting feature data with high correlation with the health status of the lithium battery by the feature correlation heat map to obtain a lithium battery health feature matrix; updating a neural network model for predicting the health status of the lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model; and predicting the health status of the lithium battery based on the trained neural network model. The method for predicting the health status of a lithium battery provided by the present invention can simultaneously improve the accuracy and speed of prediction. The method can be applied to multiple modules such as real-time health monitoring, early warning system, charging control, performance optimization and fault diagnosis in BMS, so that the BMS can dynamically adjust operating parameters according to real-time data, identify potential faults in advance, and formulate an effective charging plan. It also supports data analysis and long-term trend evaluation, provides a scientific basis for charging and discharging strategies, and can effectively extend battery life and reduce maintenance costs.

[0111] Based on the above-mentioned lithium battery health status prediction method, the present invention also provides a lithium battery health status prediction device, please refer to Fig. 9 , Fig. 9 A schematic diagram of the structure of a device for predicting the health status of a lithium battery provided in an embodiment of the present invention, the device comprising: an acquisition module 91, used to acquire status data of a lithium battery and preprocess the status data of the lithium battery; an analysis module 92, used to perform feature correlation analysis on the preprocessed status data of the lithium battery through a Spearman correlation coefficient method, and select features with a high correlation with the health status of the lithium battery through a feature correlation heat map to obtain a lithium battery health feature matrix; an update module 93, used to update a neural network model for predicting the health status of a lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model; a prediction module 94, used to predict the health status of the lithium battery based on the trained neural network model.

[0112] The device for predicting the health status of a lithium battery provided in an embodiment of the present invention can execute the technical solution of the method for predicting the health status of a lithium battery in any of the above-mentioned embodiments. Its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the method for predicting the health status of a lithium battery. Please refer to the implementation principle and beneficial effects of the method for predicting the health status of a lithium battery, and no further details will be given here.

[0113] Please refer to Fig.10 , Fig.10 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Fig.10As shown, the electronic device 100 includes a processor 101 and a memory 102 coupled to the processor 101. The memory 102 stores program instructions for implementing the above-mentioned lithium battery health status prediction method. The processor 101 is used to execute the program instructions stored in the memory 102. Among them, the processor 101 can also be called a CPU (Central Processing Unit). The processor 101 may be an integrated circuit chip with signal processing capabilities. The processor 101 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0114] Please refer to Fig.11 , Fig.11 A schematic diagram of a storage medium structure provided for an embodiment of the present invention. The storage medium 110 of the embodiment of the present invention stores program instructions 111 that can implement the above-mentioned method for predicting the health status of a lithium battery, wherein the program instructions 111 can be stored in the above-mentioned storage medium in the form of a software product, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.

[0115] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0116] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units. The above is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present invention.

[0117] The above are only preferred embodiments of the present invention, and are not intended to limit the present invention in any form. Although the present invention has been disclosed as above in the form of preferred embodiments, it is not intended to limit the present invention. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A method for predicting the health status of a lithium battery, characterized in that: The prediction method comprises: Acquiring status data of a lithium battery and preprocessing the status data of the lithium battery; The pre-processed lithium battery status data is subjected to feature correlation analysis by the Spearman correlation coefficient method, and feature data with a high correlation with the health status of the lithium battery is selected through the feature correlation heat map to obtain a lithium battery health feature matrix; According to the lithium battery health feature matrix, the neural network model for predicting the health status of the lithium battery is updated to obtain a trained neural network model; Based on the trained neural network model, the health status of the lithium battery is predicted.

2. The method for predicting the health status of a lithium battery according to claim 1, characterized in that: The method of performing feature correlation analysis on the pre-processed lithium battery status data by using the Spearman correlation coefficient method includes: The characteristic correlation coefficient of the pre-processed lithium battery state data is calculated, and the characteristic correlation coefficient r s The calculation formula is: Among them, d i It represents the level difference between the lithium battery status data and the lithium battery health status, and n represents the sample capacity.

3. The method for predicting the health status of a lithium battery according to claim 2, characterized in that: The feature correlation heat map is used to select features with a high correlation with the health status of the lithium battery to obtain a lithium battery health feature matrix, including: The features of the lithium battery state data are sorted by the feature correlation heat map to obtain the lithium battery state matrix S n×1 ; The lithium battery status data is analyzed by factor analysis to obtain the characteristic correlation matrix R of the lithium battery health status. 1×n ; Based on the lithium battery state matrix S n×1 and the characteristic correlation matrix R of the lithium battery health status 1×n , calculate the lithium battery health matrix H n×n , the lithium battery health matrix H n×n The calculation formula is: H n×n =S n×1 ×R 1×n Where n represents the dimension of the lithium battery health matrix.

4. The method for predicting the health status of a lithium battery according to claim 3, characterized in that: The updating of the neural network model for predicting the health status of the lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model includes: According to the lithium battery health feature matrix, the weight of the neural network model for initially predicting the health status of the lithium battery is updated, and the neural network model for predicting the health status of the lithium battery is reconstructed; According to the lithium battery health feature matrix, updating the target loss function of the reconstructed neural network model for predicting the health status of the lithium battery; Based on the updated target loss function of the neural network model for predicting the health status of lithium batteries, the hidden layer weights of the reconstructed neural network model for predicting the health status of lithium batteries are updated to obtain a trained neural network model.

5. The method for predicting the health status of a lithium battery according to claim 4, characterized in that: The method includes updating the weight of the neural network model for initially predicting the health status of the lithium battery according to the lithium battery health feature matrix, and reconstructing the neural network model for predicting the health status of the lithium battery; include: The lithium battery health matrix H n×n and the lithium battery state matrix S n×1 Multiply them together to get the weight matrix W of the neural network model for predicting the health status of lithium batteries n×1 ; The weight matrix W of the neural network model for predicting the health status of lithium batteries n×1 And lithium battery health factor matrix A 1×n , reconstructing the neural network model for predicting the health status of the lithium battery; The calculation formula for reconstructing the neural network model for predicting the health status of the lithium battery is: in, The reconstructed neural network model for predicting the health status of lithium batteries, SOH i is the neural network model for initial prediction of lithium battery health status, A 1×n is the lithium battery health factor matrix, and λ is the correction coefficient.

6. The method for predicting the health status of a lithium battery according to claim 1, characterized in that: The objective loss function of the neural network model for predicting the health status of the lithium battery after reconstruction is updated according to the lithium battery health feature matrix, including: the objective loss function of the neural network model The calculation formula is: Among them, y i Indicates the true value of the health status of the lithium battery; Represents the predicted value of the health status of the lithium battery, The error function representing the health matrix of the lithium battery; The error function of the lithium battery health matrix The calculation formula is: Among them, σ 2 Represents the variance of the lithium battery health status prediction error.

7. The method for predicting the health status of a lithium battery according to claim 6, characterized in that: Based on the updated target loss function of the neural network model for predicting the health status of the lithium battery, the hidden layer weights of the reconstructed neural network model for predicting the health status of the lithium battery are updated, including: the hidden layer weights w of the neural network model t+1 The calculation formula is: Among them, t represents the time step, η represents the learning rate, and w t represents the weight at time step t.

8. A device for predicting the health status of a lithium battery, the device being used to implement the method for predicting the health status of a lithium battery as claimed in any one of claims 1 to 7, characterized in that: include: An acquisition module, used for acquiring status data of a lithium battery and preprocessing the status data of the lithium battery; An analysis module is used to perform feature correlation analysis on the preprocessed lithium battery status data by using the Spearman correlation coefficient method, and select features with a high correlation with the health status of the lithium battery by using a feature correlation heat map to obtain a lithium battery health feature matrix; An updating module, used to update the neural network model for predicting the health status of the lithium battery according to the lithium battery health feature matrix to obtain a trained neural network model; The prediction module is used to predict the health status of the lithium battery based on the trained neural network model.

9. A device, characterized in that: It includes a processor and a memory coupled to the processor, wherein the memory stores program instructions that can be executed by the processor; when the processor executes the program instructions stored in the memory, the method for predicting the health status of a lithium battery as described in any one of claims 1 to 7 is implemented.

10. A storage medium, characterized in that: The storage medium stores program instructions, which, when executed by a processor, can implement a method for predicting the health status of a lithium battery as described in any one of claims 1 to 7.