Real-time prediction method of remaining life of lithium battery based on Gram angle and field

By predicting the capacity fading curve of lithium batteries using a method based on Gram's angle sum field, it solves the limitations of traditional prediction methods in accuracy and adaptability, achieves high-precision battery status monitoring and management, extends battery life, and adapts to The new situation meets the high-precision needs of electric vehicles.

CN118501719BActive Publication Date: 2024-09-24KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410950642.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-24
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Traditional methods for predicting the service life of lithium batteries based on empirical models and physical models have limitations in accuracy and adaptability, and are difficult to meet the needs of electric vehicles for high-precision battery status monitoring and management.

Method used

A real-time prediction method for the remaining life of lithium batteries based on Gram's angle sum field is adopted. By receiving battery data collected by sensors, the maximum capacity value and target input coefficient of the battery are determined, the prediction model parameters are adjusted, the battery's capacity decay curve is predicted, and the battery's capacity decay curve is predicted based on the prediction. The results provide battery usage optimization strategies.

Benefits of technology

It significantly improves the efficiency of battery maintenance and operation, provides more accurate battery status monitoring and management, extends battery life, adapts to new situations, and meets the needs of electric vehicles for high-precision battery status monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501719B
    Figure CN118501719B
Patent Text Reader

Abstract

The present invention discloses a real-time prediction method for the remaining life of a lithium battery based on Gram angle and field, which belongs to the field of battery technology. The real-time prediction method for the remaining life of a lithium battery based on Gram angle and field comprises: receiving battery data collected by a sensor, and determining the current maximum capacity value of the battery according to the battery data; determining the target input coefficient corresponding to the battery according to the maximum capacity value; adjusting the model parameters of the prediction model based on the target input coefficient; and predicting the capacity attenuation curve of the battery based on the adjusted prediction model and the target input coefficient. Through the above steps, the efficiency of battery maintenance and operation is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of batteries, and in particular to a real-time prediction method for the remaining life of a lithium battery based on Gram angle and field. Background Art

[0002] During long-term use, the capacity and output performance of automotive lithium batteries will gradually decline due to factors such as chemical aging and physical loss, thus affecting the normal use and safety of electric vehicles. Therefore, how to accurately monitor and predict the remaining service life of automotive lithium-ion batteries has become an important topic in electric vehicle technology research.

[0003] At present, the traditional methods of predicting the service life of lithium batteries based on empirical models and physical models have limitations in accuracy and adaptability. The equivalent circuit model simplifies the complex internal process of the battery by simulating the electrical behavior of the battery, which is easy to implement and parameterize, but often ignores the key factors that affect the battery life. The empirical model directly predicts the future performance of the battery based on historical data. Although it is simple to operate, it is overly dependent on historical data and lacks the ability to adapt to new situations. In other words, the above prediction methods are difficult to meet the current needs of electric vehicles for high-precision battery status monitoring and management.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a real-time prediction method, device and computer-readable storage medium for the remaining life of a lithium battery based on Gram angle and field, aiming to solve the technical problem that traditional methods for predicting the service life of lithium batteries based on empirical models and physical models are limited in accuracy and adaptability, and are difficult to meet the current needs of electric vehicles for high-precision battery status monitoring and management.

[0006] To achieve the above object, the present invention provides a real-time prediction method for the remaining life of a lithium battery based on Gram angle and field, and the real-time prediction method for the remaining life of a lithium battery based on Gram angle and field comprises the following steps:

[0007] Receiving battery data collected by the sensor, and determining the current maximum capacity value of the battery according to the battery data;

[0008] Determining a target input coefficient corresponding to the battery according to the maximum capacity value;

[0009] Based on the target input coefficient, adjusting model parameters of the prediction model;

[0010] Based on the adjusted prediction model and the target input coefficient, a capacity decay curve of the battery is predicted.

[0011] Optionally, before the step of determining the current maximum capacity value of the battery according to the battery data, the step further includes:

[0012] Performing local weighted regression scatter point smoothing filtering processing on the battery data;

[0013] The processed battery data is corrected.

[0014] Optionally, the step of determining a target input coefficient corresponding to the battery according to the maximum capacity value includes:

[0015] Based on the maximum capacity value, determining a corresponding capacity time series;

[0016] Converting the capacity time series into a spatial two-dimensional feature matrix diagram;

[0017] The spatial two-dimensional feature matrix image is convolved to determine the target input coefficient.

[0018] Optionally, the step of converting the capacity time series into a spatial two-dimensional feature matrix diagram includes:

[0019] Scaling the capacity time series data to a preset value interval;

[0020] converting the scaled capacity time series into a polar coordinate system;

[0021] The Gram angle and field are calculated based on the converted capacity time series to determine the spatial two-dimensional feature matrix diagram.

[0022] Optionally, the step of performing convolution processing on the spatial two-dimensional feature matrix graph includes:

[0023] Expanding the spatial two-dimensional feature matrix diagram to any number of channels to obtain a corresponding first matrix diagram, wherein the first matrix diagram is a three-dimensional feature sequence;

[0024] Compressing the three-dimensional feature sequence based on a preset ratio, and expanding it again to the arbitrary number of channels to obtain a corresponding first feature map;

[0025] Multiplying the first matrix map and the first feature map to obtain a corresponding second feature map and inputting the second feature map into a channel attention module for convolution to obtain a corresponding two-dimensional sequence;

[0026] Performing convolution based on the two-dimensional sequence and the second feature map to determine a third feature map;

[0027] The third feature map is sampled, and an activation function is used to increase the nonlinearity of the neural network of the prediction model.

[0028] Optionally, the step of adjusting the model parameters of the prediction model based on the target input coefficient includes:

[0029] Based on the sequence data corresponding to the target input coefficient, dividing the data into a training set, a validation set and a test set;

[0030] Inputting sequence data with a preset proportion in the test set into the prediction model;

[0031] The model parameter with the lowest prediction root mean square error value is selected as the model parameter of the prediction model.

[0032] Optionally, before the step of inputting the sequence data with a preset proportion in the test set into the prediction model, the step further includes:

[0033] Based on the training set, training the prediction model to obtain a corresponding source model;

[0034] Testing the trained source model based on the validation set to obtain a corresponding target model;

[0035] Based on the target model, the front-end data of the battery capacity degradation sequence in the test set is extracted and trained to obtain a corresponding optimized prediction model.

[0036] Optionally, after the step of predicting the capacity decay curve of the battery based on the adjusted prediction model and the target input coefficient, the step further includes:

[0037] Determining the end time point of the life cycle of the battery according to the capacity decay curve;

[0038] Determining a corresponding battery usage optimization strategy based on the life cycle end time point and the capacity decay curve;

[0039] The battery usage optimization strategy is fed back to the vehicle owner.

[0040] In addition, to achieve the above-mentioned purpose, the present invention also provides a real-time prediction device for the remaining life of a lithium battery based on Gram angle and field, and the real-time prediction device for the remaining life of a lithium battery based on Gram angle and field includes: a memory, a processor, and a real-time prediction program for the remaining life of a lithium battery based on Gram angle and field stored in the memory and executable on the processor, and the real-time prediction program for the remaining life of a lithium battery based on Gram angle and field is configured to implement the steps of the real-time prediction method for the remaining life of a lithium battery based on Gram angle and field as described above.

[0041] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which is stored a real-time prediction program for the remaining life of a lithium battery based on Graham angle and field. When the real-time prediction program for the remaining life of a lithium battery based on Graham angle and field is executed by a processor, the steps of the real-time prediction method for the remaining life of a lithium battery based on Graham angle and field as described above are implemented.

[0042] The embodiment of the present invention provides a lithium battery life prediction method, which receives battery data collected by a sensor, determines the current maximum capacity value of the battery according to the battery data, and then determines the target input coefficient corresponding to the battery according to the maximum capacity value, adjusts the model parameters of the prediction model based on the target input coefficient, and finally predicts the capacity decay curve of the battery based on the adjusted prediction model and the target input coefficient. Through the above steps, the efficiency of battery maintenance and operation is significantly improved, which has important theoretical and practical significance for promoting the sustainable development of the electric vehicle industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a flow chart of the first embodiment of the real-time prediction method of the remaining life of a lithium battery based on Gram angle and field of the present invention;

[0044] Figure 2 It is a flow chart of a second embodiment of a method for real-time prediction of the remaining life of a lithium battery based on Gram angle and field according to the present invention;

[0045] Figure 3 It is a schematic diagram of the working process of the real-time prediction method of the remaining life of a lithium battery based on Gram angle and field of the present invention;

[0046] Figure 4 A schematic diagram of a real-time prediction workflow of a real-time prediction method for the remaining life of a lithium battery based on Gram angle and field of the present invention;

[0047] Figure 5 A schematic diagram of the model training and prediction process of the real-time prediction method for the remaining life of a lithium battery based on Gram angle and field of the present invention;

[0048] Figure 6 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0049] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] 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.

[0051] The embodiment of the present invention provides a real-time prediction method for the remaining life of a lithium battery based on Gram angle and field, referring to Figure 1 , Figure 1 The figure is a flow chart of a first embodiment of a method for real-time prediction of the remaining life of a lithium battery based on Gram angle and field according to the present invention.

[0052] In this embodiment, the real-time prediction method for the remaining life of a lithium battery based on the Gram angle and field includes:

[0053] Step S10: receiving battery data collected by the sensor, and determining the current maximum capacity value of the battery according to the battery data.

[0054] Step S20: determining a target input coefficient corresponding to the battery according to the maximum capacity value.

[0055] In this embodiment, refer to Figure 3 , using sensors to monitor the operating status of lithium batteries in real time, including but not limited to real-time data collection of key parameters such as current, voltage and temperature. The collected battery data will be transmitted to the embedded chip, which will integrate and process the collected battery data, calculate the maximum capacity value of the current lithium battery, and determine all necessary input coefficients for lithium battery life prediction based on this. Furthermore, the present invention calls a lithium battery remaining life prediction model, that is, a lithium battery real-time monitoring method based on the Gram angle and field algorithm is used to predict the future capacity decay curve of the lithium-ion battery based on the target input coefficient determined above. During the prediction process, the prediction model parameters will also be updated in real time to ensure the accuracy and real-time nature of the prediction. In the subsequent process, the predicted lithium-ion battery life and capacity decay curve results will be presented to the user, and personalized usage and maintenance suggestions will be provided to the user based on the prediction results.

[0056] In this embodiment, in the process of calculating the target input coefficient, it is necessary to convert the capacity time series into Convert to a two-dimensional feature matrix . The Gram angle refers to the angle between different vectors (i.e. different battery status indicators) calculated by the Gram Matrix in multidimensional space, which is used to quantify the relationship between data features and describe the overall trend of battery status changes over time. In this feature space, each point represents the state of the battery at a certain moment, and the geometric relationship between these points (such as distance and angle) reflects the dynamic characteristics of battery state changes. By constructing a Gram field, the complex pattern of battery performance degradation can be effectively captured, providing a theoretical basis and data support for the accurate prediction of battery life.

[0057] Specifically, the conversion process is as follows: first, the capacity time series data is scaled to a preset value range, that is, the data range is scaled to [-1, 1] or [0, 1]. The formula is as follows:

[0058]

[0059]

[0060] Where M refers to the capacity time series , MAX(M) refers to the capacity time series The maximum value in MIN(M) refers to the capacity time series The minimum value in , n refers to the length of the time series of the input model, the same below. Then the scaled sequence data is converted to the polar coordinate system, that is, the value is regarded as the cosine value of the angle and the time is regarded as the radius, as shown in the formula below:

[0061]

[0062] If the data scaling range (preset value range) is [-1, 1], the converted angle range is [0, π]; if the scaling range is [0, 1], the converted angle range is [0, π / 2]. Finally, the Gram angle and field are calculated as shown below:

[0063] GASF = [cos( ϕ i + ϕ j )]

[0064] Where i and j refer to the capacity time series The GASF (Gram angle and field) is calculated by comparing any position with the rest of the positions to form a two-dimensional spatial feature matrix. The spatial two-dimensional feature matrix graph will then be convolved to achieve the purpose of predicting the battery life based on the target input coefficient.

[0065] It should be noted that in the present invention, for the data processing link of lithium-ion battery life prediction, special attention is paid to the denoising of the original data to enhance the accuracy and robustness of the prediction model. In view of the fact that the original data often carries a lot of noise, especially when the battery undergoes capacity regeneration, the negative impact of these noises on the prediction accuracy is particularly significant. In the present invention, the collected battery data is preliminarily denoised by using the local weighted regression scatter smoothing (LOESS) filtering technology, which effectively removes the outliers and noise in the data and retains the most critical information reflecting the battery status. LOESS filtering is a powerful non-parametric statistical method for enhancing the signal quality of data. It performs data smoothing by performing weighted least squares regression on the local data around the original data points. LOESS filtering technology can dynamically adjust the degree of smoothing according to the distribution characteristics of the data itself, thereby retaining the important trends and patterns of the data while removing noise. This is particularly important for processing battery performance data such as battery capacity attenuation, because these data are usually affected by multiple factors and are prone to non-systematic noise. Subsequently, in order to further ensure the data quality, the present invention also introduces a manual review process, that is, the LOESS filtered data is carefully corrected through expert review to ensure the accuracy and stability of the data.

[0066] In this embodiment, not only is the accurate prediction of the life of lithium-ion batteries achieved, but also decision support is provided for electric vehicle users, thereby optimizing battery usage strategies, extending battery life, and improving user experience. In the application scenario of the present invention, LOESS filtering technology not only improves the stability and robustness of the data, but also provides more accurate and reliable input for subsequent battery life prediction models. This helps the battery management system (BMS) to make more accurate battery health status assessments and life predictions, and optimize battery usage and maintenance strategies.

[0067] Step S30: adjusting the model parameters of the prediction model based on the target input coefficient.

[0068] Step S40: predicting a capacity decay curve of the battery based on the adjusted prediction model and the target input coefficient.

[0069] In this embodiment, after the data preprocessing is completed, the cleaned data set is divided into a training set, a validation set, and a test set according to the preset division ratio: 50%, 25%, and 25%. Among them, the training set is used to build and adjust the prediction model, the validation set is used to select the model with the best generalization ability, and the test set is used to evaluate the accuracy of the model prediction results.

[0070] Reference Figure 5, the present invention adopts a refinement strategy in the fine-tuning stage of the model to further improve the accuracy of the prediction model. After the model is pre-trained to obtain an optimized model, a customized strategy is further adopted, that is, the front data of the battery capacity degradation sequence in the test set is first extracted for training. Through this process, the model parameters are updated using the gradient random descent method, and are continuously optimized to seek the optimal model parameters to ensure that the model can accurately reflect the changes in the test set data. In this specific example, the first 30% of the battery capacity degradation sequence data in the test set are first used to obtain detailed information on the current battery status. On this basis, the present invention compares the root mean square error (RMSE) performance of different models in prediction, and selects the model with the lowest RMSE value for the final prediction task.

[0071] Further, refer to Figure 5 , the corresponding optimized prediction model after fine-tuning will be applied to further prediction of the test set data. Using the battery status determined by the first 30% of the data in the test set as the basis, the subsequent unknown battery capacity values ​​are directly predicted. This prediction process will continue until the predicted battery capacity value reaches the end of the battery life cycle (EOL, that is, less than 80% of the initial capacity of the battery). If the prediction result does not touch the EOL standard, the prediction operation will continue to ensure a comprehensive and accurate assessment of the remaining service life of the battery. The prediction process is designed to provide key information to the battery management system (BMS) by accurately predicting the future state of the battery, thereby supporting effective management and maintenance decisions for electric vehicle batteries. By monitoring the battery capacity in real time and predicting the time point when it reaches EOL. Further, refer to Figure 4 The capacity decay curve of the lithium battery generated after prediction can be used to determine the current EOL time point (end of life cycle) of the lithium battery. This time point can be used to generate a battery usage optimization strategy based on the current condition of the battery. By feeding it back to the car owner, the car owner can adjust his or her usage habits accordingly.

[0072] It should be noted that the prediction model will go through the model pre-training stage before. Figure 5In this process, this embodiment adopts a training method based on multiple complete battery capacity degradation sequences in the data set. Use the training set to train the model, train the prediction model, and obtain the corresponding source model. Then use the validation set to test the source model, and select the most generalized prediction model as the target model. Based on the target model, extract the front data of the battery capacity degradation sequence in the test set, and train it again to find a model specialized for the test data, which is the final optimized prediction model. The optimized prediction model can learn the overall trend and characteristics of battery capacity degradation, which is convenient for subsequent accurate prediction. This process aims to ensure that the developed model can maintain a high degree of prediction accuracy and generalization ability when facing new and unseen battery degradation data through targeted pre-training and parameter adjustment. This method not only improves the practicality and reliability of the model, but also provides a more efficient and accurate technical approach for lithium-ion battery life prediction.

[0073] In this embodiment, the historical operation data of the battery is converted into a high-dimensional feature representation with rich spatial structure information by using the mathematical model of the Gram angle and field. This conversion not only improves the efficiency of data processing, but also enhances the prediction model's ability to identify the battery degradation process. By deeply analyzing the feature distribution and change trend in the Gram field, the prediction model can accurately estimate the remaining life of the battery and provide reliable decision support for the battery management system (BMS).

[0074] Reference Figure 2 In the second embodiment of the real-time prediction method for the remaining life of a lithium battery based on the Gram angle and field of the present invention, the step of performing convolution processing on the spatial two-dimensional feature matrix diagram comprises:

[0075] Step S50: Expand the spatial two-dimensional feature matrix diagram to any number of channels to obtain a corresponding first matrix diagram, where the first matrix diagram is a three-dimensional feature sequence.

[0076] Step S60: compress the three-dimensional feature sequence based on a preset ratio, and expand it again to the arbitrary number of channels to obtain a corresponding first feature map.

[0077] Step S70: multiply the first matrix map and the first feature map to obtain a corresponding second feature map, and input the second feature map into a channel attention module for convolution to obtain a corresponding two-dimensional sequence.

[0078] Step S80: performing convolution based on the two-dimensional sequence and the second feature map to determine a third feature map.

[0079] Step S90: Sampling the third feature map, and using an activation function to increase the nonlinearity of the neural network of the prediction model.

[0080] In this embodiment, the prediction model uses the Down layer to convert the spatial two-dimensional feature matrix into Expand to any x channels, where x refers to the number of channels to be expanded. The Down layer is a commonly used structure in neural networks, which is used to change the spatial size (i.e. width and height) of the input to extract higher-level features while reducing the amount of calculation. The convolution layer extracts local features by sliding on the input feature map using multiple convolution kernels. The output of the normalization layer is standardized to stabilize the data distribution. The ReLU (Rectified Linear Unit) activation function layer performs a nonlinear transformation on the input to increase the expressive power of the model. The function of ReLU is to return all negative values ​​to zero, and the positive values ​​remain unchanged. The Down layer consists of a convolution layer, a normalization layer, and a ReLU activation function layer, and the data shape is , where K refers to a channel of the M sequence, and the first matrix M after expanding the number of channels is , input CAM (ChannelAttention Module) for one-dimensional convolution of the channel attention module. The role of this module is to enhance the representation ability of important spatial positions in the feature map by adaptively assigning weights to spatial positions. CAM obtains the importance of each channel through global average pooling and global maximum pooling, and then combines this information through a shared fully connected layer to generate the attention weight of each channel. Thus, a three-dimensional feature sequence is obtained. , the CAM calculation formula is shown below:

[0081]

[0082] Where M refers to the first matrix diagram , where MaxPool is the maximum pooling and AugPool is the average pooling. The MLP (Multi-Layer Perceptron) module is a feedforward artificial neural network model that includes an input layer, multiple hidden layers, and an output layer. Each layer consists of several neurons, and the connections between neurons have trainable weights. The main function of this module is to compress and expand the number of channels through the fully connected layer: first, the number of input channels is compressed to a certain proportion of the original number, and then expanded back to the original number of channels. This process helps to enhance the data processing capability of the model while maintaining the original amount of information. It is the Sigmoid activation function, which is used to introduce nonlinear factors and improve the model's ability to process complex data. Its formula is as follows:

[0083]

[0084] Finally, the feature map C(M) output by the spatial attention model is obtained. Finally, C(M) is multiplied by the first matrix map M to obtain the second feature map , the shape is , and then the second feature map Input the SAM (SpatialAttention Module) module to perform a two-dimensional convolution of the spatial attention module, and finally obtain a two-dimensional sequence , the formula is as follows:

[0085] S (M)=σ( f 7*7 ([AugPool(M);MaxPool(M)]))

[0086] in To perform convolution with kernel_size of 7 * 7, stride of 1, padding of 3, and reduce the number of channels to 1. Finally, the spatial attention feature map S(M) is obtained, and S(M) is finally combined with Multiply them to get the third feature map , the shape is , and then through multiple layers of Down The shape becomes , each layer uses the activation function ReLU to increase the nonlinearity of the neural network, where y refers to the Down layer setting The sequence length is as follows: Finally, a linear layer is passed to predict the next capacity degradation point of the lithium battery. :

[0087]

[0088] It should be noted that the convolutional block attention module (CBAM) is used in the present invention to enhance the performance of the lithium-ion battery life prediction model. CBAM is an advanced deep learning architecture component used to improve the neural network's ability to recognize input data features. CBAM mainly includes two sequentially executed submodules: a channel attention submodule and a spatial attention submodule. The channel attention submodule is responsible for identifying the feature channels that are most critical to the prediction task, while the spatial attention submodule further refines the model's attention to information at different spatial locations. This dual attention mechanism enables CBAM to significantly improve the model's ability to capture key features in battery data while maintaining the complexity of the original network architecture. By performing detailed attention weighting on the input features, CBAM can enable the model to focus more on the information that contributes most to the prediction results, thereby improving the accuracy and efficiency of the prediction.

[0089] In this embodiment, CBAM is integrated into the deep neural network for lithium-ion battery life prediction, which can effectively enhance the model's recognition accuracy for battery performance degradation patterns. Especially when dealing with complex patterns and subtle changes in battery operation data, the introduction of CBAM greatly improves the sensitivity and generalization ability of the prediction model. Furthermore, the present invention not only achieves accurate prediction of battery life, but also provides strong technical support for the optimization decision of the battery management system (BMS), which in turn helps to extend the battery life and improve the overall performance and user satisfaction of electric vehicles.

[0090] Reference Figure 6 , Figure 6 The present invention is a schematic diagram of the structure of a device for real-time prediction of the remaining life of a lithium battery based on Gram angle and field in the hardware operating environment involved in the embodiment of the present invention.

[0091] like Figure 6 As shown, the real-time prediction device for the remaining life of a lithium battery based on the Gram angle and field may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0092] Those skilled in the art will understand that Figure 6 The structure shown in does not constitute a limitation on the real-time prediction device for the remaining life of a lithium battery based on Gram angle and field, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0093] like Figure 6 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a real-time prediction program for the remaining life of a lithium battery based on the Gram angle and field.

[0094] exist Figure 6 In the real-time prediction device for the remaining life of a lithium battery based on Gram angle and field shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the real-time prediction device for the remaining life of a lithium battery based on Gram angle and field of the present invention can be set in the real-time prediction device for the remaining life of a lithium battery based on Gram angle and field, and the real-time prediction device for the remaining life of a lithium battery based on Gram angle and field calls the real-time prediction program for the remaining life of a lithium battery based on Gram angle and field stored in the memory 1005 through the processor 1001, and executes the real-time prediction method for the remaining life of a lithium battery based on Gram angle and field provided in an embodiment of the present invention.

[0095] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0096] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0098] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A real-time prediction method for the remaining life of a lithium battery based on Gram angle and field, characterized in that: The method for real-time prediction of the remaining life of a lithium battery comprises the following steps: Receiving battery data collected by the sensor, and determining the current maximum capacity value of the battery according to the battery data; Determining a target input coefficient corresponding to the battery according to the maximum capacity value; Based on the target input coefficient, adjusting model parameters of the prediction model; Predicting a capacity decay curve of the battery based on the adjusted prediction model and the target input coefficient; The step of determining the target input coefficient corresponding to the battery according to the maximum capacity value comprises: Based on the maximum capacity value, determining a corresponding capacity time series; Converting the capacity time series into a spatial two-dimensional feature matrix diagram; Performing convolution processing on the spatial two-dimensional feature matrix graph to determine the target input coefficient; The step of converting the capacity time series into a spatial two-dimensional feature matrix diagram comprises: Scaling the capacity time series data to a preset value interval; converting the scaled capacity time series into a polar coordinate system; Calculate the Gram angle and field based on the converted capacity time series to determine the spatial two-dimensional feature matrix diagram; The step of performing convolution processing on the spatial two-dimensional feature matrix graph comprises: Expanding the spatial two-dimensional feature matrix diagram to any number of channels to obtain a corresponding first matrix diagram, wherein the first matrix diagram is a three-dimensional feature sequence; Compressing the three-dimensional feature sequence based on a preset ratio, and expanding it again to the arbitrary number of channels to obtain a corresponding first feature map; Multiplying the first matrix map and the first feature map to obtain a corresponding second feature map and inputting the second feature map into a channel attention module for convolution to obtain a corresponding two-dimensional sequence; Performing convolution based on the two-dimensional sequence and the second feature map to determine a third feature map; The third feature map is sampled, and an activation function is used to increase the nonlinearity of the neural network of the prediction model.

2. The real-time prediction method for the remaining life of a lithium battery based on Gram angle and field according to claim 1, characterized in that: Before the step of determining the current maximum capacity value of the battery according to the battery data, the method further includes: Performing local weighted regression scatter point smoothing filtering processing on the battery data; The processed battery data is corrected.

3. The real-time prediction method for the remaining life of a lithium battery based on Gram angle and field according to claim 1, characterized in that: The step of adjusting the model parameters of the prediction model based on the target input coefficient comprises: Based on the sequence data corresponding to the target input coefficient, dividing the data into a training set, a validation set and a test set; Inputting sequence data with a preset proportion in the test set into the prediction model; The model parameter with the lowest prediction root mean square error value is selected as the model parameter of the prediction model.

4. The real-time prediction method for the remaining life of a lithium battery based on Gram angle and field as claimed in claim 3, characterized in that: Before the step of inputting the sequence data with a preset proportion in the test set into the prediction model, the method further includes: Based on the training set, training the prediction model to obtain a corresponding source model; Testing the trained source model based on the validation set to obtain a corresponding target model; Based on the target model, the front-end data of the battery capacity degradation sequence in the test set is extracted and trained to obtain a corresponding optimized prediction model.

5. The real-time prediction method for the remaining life of a lithium battery based on Gram angle and field according to claim 1, characterized in that: After the step of predicting the capacity decay curve of the battery based on the adjusted prediction model and the target input coefficient, the method further includes: Determining the end time point of the life cycle of the battery according to the capacity decay curve; Determining a corresponding battery usage optimization strategy based on the life cycle end time point and the capacity decay curve; The battery usage optimization strategy is fed back to the vehicle owner.

6. A real-time prediction device for the remaining life of a lithium battery based on Gram angle and field, characterized in that: The real-time prediction device for the remaining life of a lithium battery based on Gram angle and field comprises: a memory, a processor, and a real-time prediction program for the remaining life of a lithium battery based on Gram angle and field stored in the memory and executable on the processor, wherein the real-time prediction program for the remaining life of a lithium battery based on Gram angle and field is configured to implement the steps of the real-time prediction method for the remaining life of a lithium battery based on Gram angle and field as described in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a real-time prediction program for the remaining life of a lithium battery based on Gram angle and field. When the real-time prediction program for the remaining life of a lithium battery based on Gram angle and field is executed by a processor, the steps of the real-time prediction method for the remaining life of a lithium battery based on Gram angle and field are implemented as described in any one of claims 1 to 5.