Early battery life prediction method based on relative position matrix and residual network

Through the combination method of relative position matrix and residual network, the battery capacity-voltage data is converted into an image matrix, and feature information is automatically extracted, which solves the problem of low efficiency of existing battery life prediction methods and realizes the early life prediction of lithium-ion batteries. Accurate predictions.

CN118549839BActive Publication Date: 2024-10-18SUN YAT SEN UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411001806.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-18
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Existing battery life prediction methods rely on manual feature extraction, require deep domain knowledge and experience, are inefficient, and fail to fully utilize data information, making it difficult to achieve accurate early life prediction.

Method used

A method based on relative position matrix and residual network is used to convert the battery capacity-voltage relationship data into an image matrix, and the residual network is used to automatically extract hidden feature information, fuse multi-channel spatial features, and predict battery life.

Benefits of technology

It improves the accuracy and efficiency of battery life prediction, reduces dependence on domain knowledge, and can achieve high-performance prediction results with a smaller number of parameters. It is suitable for early life prediction of lithium-ion batteries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549839B_ABST
    Figure CN118549839B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for predicting the early life of a battery based on a relative position matrix and a residual network. The present invention uses a relative position matrix to convert the original time series data into an image matrix. While maintaining the time series characteristics, the subtle features of the original data are highlighted, the feature information is enhanced, and it is convenient for the subsequent use of image algorithms or models for further processing; the residual network is used to automatically extract hidden feature information of different depths and fully explore the fusion of multi-channel spatial feature information. While maintaining high performance, the residual network requires fewer parameters such as sample capacity-voltage relationship data and real life data, and is easy to train; the trained residual network can accurately output the battery life prediction result, which is conducive to making appropriate arrangements for the use and maintenance of the battery, ensuring the safety of the battery and reducing costs. The present invention is widely used in the field of battery health detection technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery health detection, and in particular to a method for predicting early battery life based on a relative position matrix and a residual network. Background Art

[0002] Batteries are widely used in mobile phones, laptops, electric vehicles, aerospace, the Internet of Things, and energy storage. However, during use, the performance of the battery will continue to degrade with the number of charge and discharge cycles. This degradation process will not only affect the performance of the battery, but will even cause a lot of property losses and personal safety issues. Early and accurate prediction of battery life can not only reduce safety issues during use, but also help shorten the manufacturer's R&D cycle, optimize the manufacturing process, improve the production quality of the battery, and generate tangible economic value. Summary of the invention

[0003] In order to solve the technical problems such as how to accurately predict the battery life, the purpose of the present invention is to provide a battery early life prediction method based on relative position matrix and residual network.

[0004] An embodiment of the present invention includes a method for predicting the early life of a battery based on a relative position matrix and a residual network. The method for predicting the early life of a battery based on a relative position matrix and a residual network includes the following steps:

[0005] Get the residual network;

[0006] Obtaining capacity-voltage relationship data to be processed of a battery to be predicted;

[0007] Processing the capacity-voltage relationship data to be processed to obtain a dual-channel image;

[0008] Inputting the dual-channel image into the residual network to obtain a battery life prediction result output by the residual network;

[0009] The residual network is trained through the following training process:

[0010] Performing an aging process on the sample battery; the aging process includes multiple cycle processes;

[0011] Testing the sample battery in at least part of the cycle process to obtain sample capacity-voltage relationship data corresponding to each cycle process;

[0012] Using a relative position matrix, converting each of the sample capacity-voltage relationship data into corresponding sample image data;

[0013] The residual network is trained by using the sample image data as input data of the residual network and the real life data of the sample battery as the expected output of the residual network.

[0014] Furthermore, the aging process of the sample battery includes:

[0015] Execute a plurality of the cycle processes in sequence;

[0016] In any of the cycle processes, after the sample battery is fully charged, the sample battery is discharged at a constant current.

[0017] Further, the testing of the sample battery during at least part of the cycle process includes:

[0018] Determine the order of multiple goals;

[0019] During the cycles corresponding to the target sequences, the sample batteries are tested;

[0020] The sample capacity-voltage relationship data corresponding to each of the target orders is obtained.

[0021] Furthermore, the use of the relative position matrix to convert each of the sample capacity-voltage relationship data into respective corresponding sample image data includes:

[0022] For any of the sample capacity-voltage relationship data, obtaining a sample capacity time series and a sample voltage time series corresponding to the sample capacity-voltage relationship data;

[0023] The sample volume time series is transformed using the relative position matrix to obtain the sample image data.

[0024] Furthermore, the use of the relative position matrix to convert each of the sample capacity-voltage relationship data into respective corresponding sample image data also includes:

[0025] Before the sample capacity time series is converted using the relative position matrix, Slinear interpolation processing is performed on the sample capacity time series according to the sample voltage time series.

[0026] Furthermore, performing Slinear interpolation processing on the sample capacity time series according to the sample voltage time series includes:

[0027] Obtain the sample capacity time series and the sample voltage time series

[0028] ;

[0029] in, The target order is The sample capacity time series obtained by the cyclic process detection, The target order is The sample voltage time series obtained by detecting the cycle process, is the total length of the sequence before Slinear interpolation processing;

[0030] By formula

[0031] ;

[0032] Calculate; where is the sample voltage time series A sample voltage in is the sample size time series Neutral and sample voltage The corresponding sample size is closest to the right endpoint, is the sample size time series Neutral and sample voltage The corresponding sample size is closest to the left endpoint, is the sample voltage time series Neutral and sample voltage The closest right endpoint, is the sample voltage time series Neutral and sample voltage The closest left endpoint;

[0033] make Traverse the sample voltage time series All sample voltages in the The sample capacity time series after Slinear interpolation processing ;

[0034] in, is the total length of the sequence after Slinear interpolation.

[0035] Furthermore, the using the relative position matrix to transform the sample volume time series to obtain the sample image data includes:

[0036] Get the sample capacity time series after Slinear interpolation processing ;

[0037] By formula

[0038] ;

[0039] Perform calculation to obtain the sample image data; wherein, The target order is The sample image data corresponding to the loop process.

[0040] Furthermore, the battery early life prediction method based on the relative position matrix and the residual network also includes:

[0041] Before the sample image data is input into the residual network, the sample image data is normalized.

[0042] Furthermore, the normalizing process of the sample image data includes:

[0043] For any of the sample image data, obtaining the average value and standard deviation of all pixel values ​​in the sample image data;

[0044] For any pixel in the same sample image data, the corresponding pixel value is set to a value obtained by subtracting the average value from the original pixel value and dividing the value by the standard deviation.

[0045] Furthermore, the battery early life prediction method based on the relative position matrix and the residual network also includes:

[0046] Before the sample image data is input into the residual network, the sample image data is subjected to grayscale processing and / or bilinear interpolation processing.

[0047] The beneficial effects of the present invention are as follows: the battery early life prediction method based on the relative position matrix and the residual network in the embodiment uses the relative position matrix to convert the original time series data into an image matrix, while maintaining the time series characteristics, it highlights the subtle features of the original data, enhances the feature information, and facilitates the subsequent use of image algorithms or models for further processing; the residual network is used to automatically extract hidden feature information of different depths and fully explore the fusion of multi-channel spatial feature information. While maintaining high performance, the residual network requires fewer parameters (sample capacity-voltage relationship data and real life data) and is easy to train; the trained residual network can accurately and early output the battery life prediction results, which is conducive to making appropriate arrangements for the use and maintenance of the battery, ensuring the safety of battery use and cost reduction. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of the steps of a method for predicting early battery life based on a relative position matrix and a residual network in an embodiment;

[0049] Figure 2 It is a schematic diagram of the overall process of the battery early life prediction method based on the relative position matrix and the residual network in the embodiment;

[0050] Figure 3 A schematic diagram of a sample capacity-voltage relationship curve and sample image data in an embodiment;

[0051] Figure 4 Schematic diagram of the structure of the residual network in the embodiment;

[0052] Figure 5 It is a schematic diagram of comparative experimental results in the embodiment;

[0053] Figure 6 It is a schematic diagram of the relationship between the predicted effect and the number of cycles in the embodiment. DETAILED DESCRIPTION

[0054] Terminology explanation:

[0055] Lithium-ion battery: It is one of the most commonly used battery types at present, with advantages such as high energy density, long life and light weight.

[0056] Battery life prediction: Battery life prediction is a method to predict the life or remaining available time of a battery in the future by analyzing factors such as battery usage status, performance degradation, and environmental conditions. Through battery monitoring, data collection and analysis, the battery life can be predicted in advance so that maintenance or replacement can be carried out in time, thereby extending the battery life and improving the reliability and performance of the equipment.

[0057] Relative Position Matrix: Relative Position Matrix (RPM) is a method to convert time series data into an image matrix. The relative position matrix can be used as a data enhancement method. It provides redundant features of the time series by calculating the relative position of every two timestamps, thereby helping the model improve its generalization ability.

[0058] Machine learning: The basic principle of machine learning is to build models through training data and use these models to make predictions or decisions. The training data contains input features and corresponding output labels. The machine learning algorithm will adjust the parameters of the model based on this data so that the model can accurately predict new unknown data.

[0059] Deep learning: Deep learning is a machine learning technique that is implemented by building and training deep neural networks. These networks are composed of multiple processing units called layers, each of which gradually extracts and transforms the features of the data. The key to deep learning is to optimize network parameters through large amounts of data and repeated iterations, so that the network can automatically learn complex patterns and representations in the data.

[0060] Residual Network: Residual Network (ResNet) is a deep learning neural network based on residual blocks. As the number of layers of traditional deep learning networks increases, the performance will become saturated or even decline. In the residual network, through the introduction of residual learning, information is allowed to propagate directly across layers in the network, allowing the network to learn richer and more abstract feature representations, thereby being able to train deeper networks. The core idea of ​​ResNet is to optimize information transmission through residual connections, so that the network can more effectively use existing information and gradients during the learning process. This structure enables ResNet to perform well in tasks such as image classification, and is widely used in fields such as target detection and semantic segmentation. It has become one of the important advances in deep learning research and has achieved great success in the field of computer vision.

[0061] At present, in order to realize the prediction of early battery life, the directions that can be tried can be roughly divided into model-based methods and data-driven methods. Model-based methods can be divided into mechanism models based on electrochemical principles, equivalent circuit models based on circuit element combinations, and empirical model methods. The prediction accuracy of this type of method is usually closely related to the quality of the established model. The establishment of some models may be more complicated, which not only requires expert knowledge, but also some parameters are difficult to model, and their generalization performance is also poor. With the continuous development of machine learning technology, data-driven methods have become feasible in the prediction of lithium battery life. This type of method first manually extracts features with high correlation with battery life from the original early data of the battery, and then uses different feature combinations to input into the machine learning model. Through continuous iterative training, the model can learn the mapping relationship between features and battery life, and finally realize the prediction of battery life. However, the extraction of manual features not only requires deep domain knowledge and experience, but also requires a lot of time for its design and verification. In addition, the extracted manual features do not make full use of data information, which limits the further improvement of prediction performance.

[0062] It can be concluded that the above lithium-ion battery life prediction technology has the following problems:

[0063] (1) Manual feature extraction requires a certain understanding of the physical parameters of lithium-ion batteries, which means that prior knowledge and experience are required, limiting the acquisition of features.

[0064] (2) Manual feature extraction is easily affected by subjective factors and may ignore some potentially important features. In addition, the feature extraction process requires a lot of manpower and time investment, which is inefficient.

[0065] (3) Manual feature extraction often selects single-point information from one or more cycles of the battery, which easily loses the continuity characteristics within a single cycle of the battery and does not make full use of the original data.

[0066] (4) Most methods simply process or stack the raw data without enhancing the feature information or making full use of the raw data information.

[0067] (5) It requires more data information on the battery degradation process, which is not conducive to the early prediction of lithium-ion battery life.

[0068] (6) Most methods consider the temporal aspect of the data, ignoring the possible feature extraction and fusion processing methods in the spatial dimension.

[0069] The early life prediction method of batteries based on deep learning can make up for the shortcomings of the above two methods. It can automatically extract features in multiple dimensions such as time series and space through its own network architecture, and shows better generalization performance. The input of the model is particularly important for improving the performance of deep learning methods. If the original data is simply processed or stacked, the feature information cannot be enhanced or the original data information cannot be fully utilized. Converting sequence data into images using methods such as relative position matrices can not only intuitively display the trend of data changes, but also help to highlight and extract important features in the data, while facilitating the use of image algorithms or models for subsequent processing.

[0070] Based on the above principle, this embodiment proposes a battery early life prediction method based on relative position matrix and residual network. Figure 1 , the battery early life prediction method based on relative position matrix and residual network includes the following steps:

[0071] S1. Obtain the residual network;

[0072] S2. Obtaining the capacity-voltage relationship data of the battery to be predicted;

[0073] S3. Processing the capacity-voltage relationship data to be processed to obtain a dual-channel image;

[0074] S4. Input the dual-channel image into the residual network to obtain the battery life prediction result output by the residual network.

[0075] Steps S1-S4 use a trained residual network to obtain the battery life prediction result. Therefore, before executing steps S1-S4, a residual network may be trained, and after the residual network is trained, steps S1-S4 may be executed.

[0076] In this embodiment, refer to Figure 1 , the training process of the residual network includes the following steps:

[0077] P1. Perform aging process on sample batteries;

[0078] P2. Detect the sample battery during at least part of the cycle process to obtain the sample capacity-voltage relationship data corresponding to each cycle process;

[0079] P3. Using the relative position matrix, each sample capacity-voltage relationship data is converted into its corresponding sample image data;

[0080] P4. Use the sample image data as the input data of the residual network and the actual life data of the sample battery as the expected output of the residual network to train the residual network.

[0081] The overall process of steps P1-P4 is as follows Figure 2 shown.

[0082] In order to obtain data for training the residual network, in step P1, a sample battery is prepared. The type of the sample battery can be a lithium-ion battery. An aging process is performed on each sample battery. The aging process can also be called a degradation process, which refers to the repeated charging and discharging process of the sample battery, so that the performance of the sample battery is degraded in this process. Therefore, the aging process can be divided into multiple cycle processes, and the operations performed in each cycle process are the same. For example, in each cycle process, the sample battery is first charged to full charge, and then the sample battery is discharged at a constant current (until it cannot be discharged), or the sample battery is first discharged at a constant current (until it cannot be discharged), and then the sample battery is charged to full charge.

[0083] Usually, a lithium-ion battery can undergo hundreds of such cycles. Therefore, each cycle can be numbered during these cycles to determine the time sequence of each cycle, recording the first cycle, the second cycle, the third cycle, etc.

[0084] When performing step P1, perform step P2. In step P2, the sample battery is tested in at least part of the cycle process to obtain the sample capacity-voltage relationship data corresponding to each cycle process. Specifically, the sample battery can be tested in each cycle process performed in step P1, so that the corresponding sample capacity-voltage relationship data is detected in each cycle process, and the sample capacity-voltage relationship data is called in the subsequent steps; or a part of the cycle processes can be determined, and the detection is performed when executing these cycle processes, while the detection is not performed when executing other cycle processes.

[0085] For example, in step P2, select the During the first cycle, the sample battery is tested. During the cycle, set , , … wait sampling moments (these sampling moments can be all in the cycle discharge process); at the sampling time Test the sample battery and obtain the sample battery Discharge capacity at (It can mean that the sample battery The capacity that has been discharged relative to the fully charged state) and the discharge voltage , at the sampling time Test the sample battery and obtain the sample battery Discharge capacity at and discharge voltage ...at the sampling time Test the sample battery and obtain the sample battery Discharge capacity at and discharge voltage . In this way, During the cycle, a corresponding The sample capacity time series consists of discharge capacities , and the sample battery The sample voltage time series consists of discharge voltages , their total sequence length is Sample size time series And the sample voltage time series Composition The sample capacity-voltage relationship data corresponding to the cycle process is shown in formula (1).

[0086] (1)

[0087] In this embodiment, A smaller value and a larger value can be taken, that is, the sample battery is tested in a cycle process at an early order to obtain a corresponding sample capacity-voltage relationship data; the sample battery is tested in a cycle process at a later order to obtain a corresponding sample capacity-voltage relationship data.

[0088] Generally speaking The larger the difference between the minimum value and the maximum value, the more obvious the cyclic evolution law between the capacity-voltage data relationship is, and the better the prediction effect is.

[0089] In this embodiment, Take the early cycle value of the battery, specifically, The values ​​can be 10 and 100, that is, in step P1, the sample battery is cycled at least 100 times, and in step P2, the sample battery is tested during the 10th cycle and the 100th cycle, respectively, to obtain the sample capacity-voltage relationship data corresponding to the 10th cycle. Sample capacity-voltage relationship data corresponding to the 100th cycle process . You can also choose combinations of 10 and 90, 10 and 80, 10 and 70, 10 and 60, 10 and 50, 10 and 40, etc.

[0090] In step P3, the relative position matrix is ​​used to convert the sample capacity-voltage relationship data obtained in step P2 into the corresponding sample image data. For example, in step P2, the sample capacity-voltage relationship data corresponding to the 10th cycle process is obtained. Sample capacity-voltage relationship data corresponding to the 100th cycle process , then use the relative position matrix to calculate the sample capacity-voltage relationship data corresponding to the 10th cycle process Convert and obtain the sample image data corresponding to the 10th cycle process ; Use the relative position matrix to calculate the sample capacity-voltage relationship data corresponding to the 100th cycle process Convert and obtain the sample image data corresponding to the 100th cycle process .

[0091] In step P4, the sample image data obtained in step P3 is used as the input data of the residual network, and the actual life data of the sample battery is used as the expected output of the residual network to train the residual network.

[0092] by Take 10 and 100 as examples. Since the sample image data corresponding to the 10th cycle process is obtained in step P3 Sample image data corresponding to the 100th cycle process Therefore, in step P4, the sample image data and As a dual channel, it is input into the residual network for processing to obtain the residual network for sample image data and The processing result means the predicted life data of the sample battery (which can be expressed as the predicted number of cycles).

[0093] In step P4, based on the processing results output by the residual network and the actual life data of the sample battery, the loss function value is calculated using a loss function such as the L2 distance, and the network parameters of the residual network are adjusted according to the loss function value. The actual life data of the sample battery can be obtained in the following way: the sample battery is placed in a constant temperature box at 30 degrees Celsius, and aging is accelerated by repeated cycles of charging and discharging until the capacity of the sample battery drops below 80% of the initial capacity. The total number of charge and discharge cycles used by the battery to reach EOL is regarded as its life, that is, end of life (EOL).

[0094] Specifically, when executing steps P1-P3, a batch of multiple sample batteries (the number is the batch size) are processed to obtain multiple sample image data; in step P4, the loss function value is calculated by comparing the results obtained by processing the multiple sample image data obtained in steps P1-P3 with the actual life data. If the loss function value is less than a preset threshold, the network parameters of the residual network can be left unchanged and the training of the residual network is completed. Otherwise, the network parameters of the residual network are back-propagated, and then steps P1-P4 are re-executed to perform the next training of the residual network.

[0095] In this embodiment, by executing steps P1-P4, iterative training can be achieved to obtain a deep learning model that can accurately predict battery life. Specifically, this technology has the following characteristics:

[0096] (1) The original time series data is converted into an image matrix using the relative position matrix. While maintaining the time series characteristics, the subtle features of the original data are highlighted, the feature information is enhanced, and the subsequent processing using image algorithms or models is facilitated.

[0097] (2) The residual network is used to automatically extract hidden feature information of different depths and fully explore the fusion of multi-channel spatial feature information. While maintaining high performance, the residual network requires fewer parameters (sample capacity-voltage relationship data and real life data) and is easy to train.

[0098] (3) By inputting the transformed images obtained from two different cycles in the form of dual channels, the corresponding element points (with specific physical meanings) on the two images can be compared and the relationship explored.

[0099] In this embodiment, when executing step P3, that is, using the relative position matrix to convert each sample capacity-voltage relationship data into the corresponding sample image data, the following steps can be specifically performed:

[0100] P301. For any sample capacity-voltage relationship data, obtain the sample capacity time series and sample voltage time series corresponding to the sample capacity-voltage relationship data;

[0101] P302. Use the relative position matrix to transform the sample capacity time series to obtain sample image data.

[0102] In step P301, formula (1) indicates that each sample capacity-voltage relationship data can be composed of a sample capacity time series and a sample voltage time series. Sample capacity-voltage relationship data obtained during the cycle Including Sample capacity time series collected during the cycle And the sample voltage time series .

[0103] Before executing step P302, the sample voltage time series can be used to , for the sample size time series Perform Slinear interpolation.

[0104] Specifically, for the Sample capacity-voltage relationship data obtained during the cycle , when performing Slinear interpolation, the formula can be used

[0105] (2)

[0106] Perform calculations.

[0107] in, is the sample voltage time series A sample voltage in is the sample size time series The sample voltage The corresponding sample size is closest to the right endpoint, is the sample size time series Neutral and sample voltage The corresponding sample size is closest to the left endpoint, is the sample voltage time series The sample voltage The closest right endpoint, is the sample voltage time series The sample voltage The closest left endpoint.

[0108] For example, if the sample voltage time series It is a sequence starting from 3.50V and gradually decreasing to 2.00V in units of 0.01V (i.e. =3.50V, =3.49V, =3.48V…… =2.00V), then according to formula (2), if = =3.49V, then with the sample voltage Closest left endpoint that is Located in The value on the left is , and the sample voltage The closest right endpoint that is Located in The value on the right is , and the sample voltage The corresponding sample size is , and the sample size Closest left endpoint that is Located in The value on the left is , and the sample size The closest right endpoint that is Located in The value on the right is , so when = When , , , Substitute into formula (2) to calculate and get the corresponding .

[0109] if Take sample voltage time series The endpoint values ​​in , for example = , then the left endpoint can be Set to = , the left endpoint Set to = ;if = , then the right endpoint can be Set to = , the right endpoint Set to = .

[0110] Through the above calculation method, we can make Traverse the sample voltage time series All sample voltages in = , = … = , and thus calculate the corresponding = , = … = , forming the sample capacity time series after Slinear interpolation processing , as shown in formula (3).

[0111] (3)

[0112] in, is the total length of the sequence after Slinear interpolation. For example, if the sample voltage time series is a sequence starting from 3.50V and gradually decreasing to 2.00V in units of 0.01V. Can be taken separately =3.50V, =3.49V, =3.48V…… =2.00V and other 151 values, and obtain the corresponding 151 ,so =151.

[0113] By using the Slinear interpolation algorithm to interpolate and fit the sample capacity-voltage relationship data, the sample capacity time series finally processed from the sample capacity-voltage relationship data collected from different sample batteries can have the same total sequence length, thereby solving the differences between different sample batteries and the problem of different lengths of collected data caused by the aging process, so that the sample capacity-voltage relationship data collected from different sample batteries can be used to train the same residual network.

[0114] In the sample size time series Perform Slinear interpolation to obtain Then, when executing step P302, the relative position matrix is ​​used to interpolate the sample capacity time series after Slinear interpolation. to convert.

[0115] When executing step P302, that is, using the relative position matrix to transform the sample volume time series to obtain sample image data, the formula

[0116] (4)

[0117] Calculate and obtain sample image data. Among them, The target order is The sample image data corresponding to the cycle process is Take 10 and 100 respectively, that is, the sample image data can be obtained by using the sample capacity-voltage relationship data detected during the 10th cycle process , the sample image data can be obtained by using the sample capacity-voltage relationship data detected during the 100th cycle .

[0118] In this embodiment, =151, sample image data The size is 151×151.

[0119] In this embodiment, each row of formula (4) calculates the relative position of two reference points in the sequence, and each column is the opposite number of the corresponding row, which provides a redundant opposite perspective to observe the time series, which can reveal the inherent similarity or recursive pattern of the time series data, highlight the regular information in the data, and achieve information enhancement of the original data. Therefore, formula (4) uses the relative position matrix (RPM) to convert the sample capacity time series of the original time series data format into Sample image data converted to image matrix format , which can enhance feature information and improve the generalization ability of the residual network.

[0120] After getting the sample image data in image matrix format Afterwards, we can use the sample image data Perform linear changes and transform the sample image data The pixel value range in is transformed to [0, 255] for grayscale conversion to meet the grayscale image definition. Perform bilinear interpolation processing, for example, the sample image data of size 151×151 After bilinear interpolation, its size is converted to 224×224 to meet the requirements of some convolutional neural networks.

[0121] In this embodiment, when executing step P4, the sample image data (Specifically and ) Before entering the residual network, the sample image data Specifically, the sample image data obtained by the 10th cycle detection process is normalized. Take normalization as an example to obtain sample image data All pixel values ​​in, calculate the average and standard deviation of all pixel values; traverse the sample image data For each pixel in the image, the original pixel value is replaced by the value obtained by subtracting the average value from the original pixel value and dividing it by the standard deviation as the new pixel value of the pixel, thus completing the sample image data obtained by the 10th cycle detection process. of standardized processing.

[0122] By sampling the image data Normalization can make the input data more stable. Inputting it into the residual network for training can improve the convergence and generalization ability of the residual network.

[0123] In this embodiment, for The sample capacity-voltage relationship data corresponding to the cycle process

[0124]

[0125] If is the horizontal axis, As the vertical axis, the corresponding sample capacity-voltage relationship curve can be drawn, where =1,2,3... correspond to a sample capacity-voltage relationship curve respectively, that is, a sample capacity-voltage relationship curve will be measured in each cycle process. These sample capacity-voltage relationship curves are as follows Figure 3 As shown in part (a) of .

[0126] In this embodiment, since the sample capacity-voltage relationship data detected in the 10th cycle process and the 100th cycle process are selected in P2, that is, =10 and =100, from Figure 3 Part (a) of the filter selects the corresponding =10 sample capacity-voltage relationship curve and the corresponding =100 sample capacity-voltage relationship curve, such as Figure 3 As shown in part (b) of .

[0127] Figure 3 In part (b), for the corresponding =10, sample capacity-voltage relationship curve, sample image data obtained by executing step P3 like Figure 3 As shown in part (c) of =100, sample capacity-voltage relationship curve, sample image data obtained by executing step P3 like Figure 3 As shown in part (d) of . Figure 3 middle, and The size is 151×151.

[0128] When executing step P4, the sample image data and It is input into the residual network ResNet in the form of dual channels.

[0129] The introduction of residual learning in the residual network ResNet allows information to be directly propagated across layers in the network, and allows the network to learn richer and more abstract feature representations. The network structure of the residual network ResNet generally includes convolutional layers, pooling layers, activation functions, BatchNorm, and fully connected layers. Figure 4 Part (a) shows the basic building block BasicBlock in the residual network ResNet, which consists of two consecutive convolutional layers and jump connections. Each convolution is followed by a BatchNorm and ReLU activation function. Figure 4 The difference between part (b) and part (a) is that the stride of the first 3×3 convolution in part (b) is 2, so a 1×1 convolution is required for dimension reduction when skipping the connection in part (b). The existence of residual connections improves the network's expressiveness and training efficiency. Figure 4 Part (c) is the overall ResNet network model constructed. The residual network ResNet is used as the backbone network to extract spatial features of the converted image on multiple channels, and finally the processing result is obtained through the linear regression layer. The processing result output by the residual network represents the prediction of the sample battery life.

[0130] Next, the model performance of the residual network trained in steps P1-P4 is evaluated, specifically evaluating the effectiveness of the residual network trained in steps P1-P4 relative to other methods.

[0131] In order to accurately evaluate the performance of the residual network trained in steps P1-P4, two indicators (5) and (6) are mainly used for quantification. Their formulas are as follows, where: represents the number of sample batteries, represents the true value, Indicates the corresponding predicted value.

[0132] (5)

[0133] (6)

[0134] The first indicator is RMSE, which is the root mean square error. RMSE reflects the change of data errors and is more sensitive to large errors. The second indicator is MAE, which is the mean absolute error. It reflects the average of the absolute errors between the predicted value and the true value. It is easy to calculate and explain. They are both commonly used quantitative indicators in life prediction.

[0135] Three sets of comparative experiments were set up, namely the "Stack", "Variance" and "Discharge" methods. The "Stack" method simply copies and stacks the discharge capacity-discharge voltage curve data obtained after data preprocessing. For example, the shape of the 10th cycle data is 1×151. The data is copied and stacked 150 times in rows to obtain a 151×151 data matrix. The same steps are performed on the 100th cycle data to form a dual-channel input for training using the ResNet model; the "Variance" method only uses The variance value is here It means that the discharge capacity-discharge voltage data of the 100th cycle and the 10th cycle are subtracted respectively, and the "Discharge" method also includes The minimum value, skewness, kurtosis, the discharge capacity of the second cycle, and the difference between the maximum discharge capacity and the discharge capacity of the second cycle are all trained and predicted by the machine learning method Elastic net.

[0136] In order to reduce the impact of data distribution, the training set and test set are randomly divided into 5 layers, case 1, case 2, ..., case 5. Each division method is repeated 5 times. The final result is the average of the 5 divisions. The units of RMSE and MAE are both cycles. Table 1 shows the specific experimental results. Figure 5 Part (a) shows the prediction results of the residual network trained in steps P1-P4 in the case1 partition case. Figure 5 Part (b) shows the prediction results of the residual network case5 partitioning case trained in steps P1-P4.

[0137] Table 1 Comparative experimental results

[0138]

[0139] According to Table 1 and Figure 5It can be seen that compared with the "Stack" method (without using the relative position matrix for information enhancement), "Variance" and "Discharge" (traditional manual feature extraction plus machine learning method), the residual network trained by executing steps P1-P4 in this embodiment can achieve the best effect, which is specifically reflected in:

[0140] (1) Effective information enhancement technology: The standard original data unified by the Slinear algorithm is converted into an image matrix using the relative position matrix. This not only displays the data more intuitively and facilitates the application of visual algorithms and models, but also effectively enhances the information and improves the prediction performance of subsequent models.

[0141] (2) Automatic feature extraction and fusion: Compared with the traditional method of combining manual feature extraction with machine learning, deep learning methods such as ResNet can automatically extract effective features, avoiding the expert knowledge required for manual feature design and reducing a lot of time in the screening and verification process.

[0142] (3) Less data usage: Compared with the mainstream method that requires the use of all cycle data from the initial cycle to a certain number of cycles, only two cycle data are used as input to achieve accurate lithium-ion battery life prediction.

[0143] (4) Higher prediction accuracy: A lithium-ion battery life prediction effect with a root mean square error of less than 91 cycles and a mean absolute error of less than 72 cycles was achieved.

[0144] Early prediction of battery life can accelerate and optimize the battery production process. The earlier data is used to predict the battery life, the more effectively the research and development cycle can be shortened and costs can be reduced. This embodiment further uses earlier cycle data in combination with the aforementioned method to explore the early prediction of battery life. Specifically, this embodiment attempts to use data from the 30th cycle to a maximum of the 100th cycle (each time with an interval of 10 cycles) as the second state Q(V) data of the battery, and the first state Q(V) data of the battery is fixed to the 10th cycle data. The Q(V) data of the first and second states are converted into a dual-channel grayscale image using the aforementioned method and input into the ResNet prediction model to predict the life. The early life prediction exploration results of different image encoding methods are shown in the table. Figure 6 As shown in Table 2, it can be found that the best results can be achieved using data from the 70th cycle onwards. The prediction performance starts to decline when using data from the 40th to the 60th cycle, and becomes worse by the 30th cycle. However, the average RMSE of the prediction effect is still less than 160 cycles.

[0145] Table 2

[0146]

[0147] The residual network trained through steps P1-P4 is capable of processing data of the type "capacity-voltage relationship data" of a battery and outputting the prediction results of the battery life.

[0148] When executing the battery early life prediction method based on the relative position matrix and the residual network, in step S1, the residual network trained in steps P1-P4 is obtained; for a battery to be predicted, the battery to be predicted and the sample battery can be of the same type (for example, both are lithium-ion batteries) and the same specifications. When executing step S2, like step P2, a charge and discharge cycle process is performed on the battery to be predicted, and the discharge voltage and remaining available capacity of the battery to be predicted are sampled during the cycle process to obtain the capacity-voltage relationship data to be processed in a time series format. Specifically, the principle of step P2 can be referred to, and the =10 and =100, that is, when executing step S2, the capacity-voltage relationship data to be processed corresponding to the 10th cycle process and the capacity-voltage relationship data to be processed corresponding to the 100th cycle process are obtained.

[0149] In step S3, the capacity-voltage relationship data to be processed obtained in step S2 is processed to obtain a dual-channel image. Specifically, the principle of step P3 (P301-P302) can be referred to, that is, after the capacity-voltage relationship data to be processed corresponding to the 10th cycle process is converted into a capacity time series to be processed and a voltage time series to be processed, the capacity time series to be processed is converted using a relative position matrix to obtain the image data to be processed corresponding to the 10th cycle process. Similarly, after the capacity-voltage relationship data to be processed corresponding to the 100th cycle process is converted into a capacity time series to be processed and a voltage time series to be processed, the capacity time series to be processed is converted using a relative position matrix to obtain the image data to be processed corresponding to the 100th cycle process.

[0150] The image data to be processed corresponding to the 10th cycle process and the image data to be processed corresponding to the 100th cycle process obtained in step S3 form a dual-channel image.

[0151] In step S4, the dual-channel image obtained in step S3 is input into the residual network to obtain the battery life prediction result output by the residual network. Specifically, the battery life prediction result output by the residual network can be understood as the terminal life of the battery to be predicted.

[0152] A computer program for executing the method for predicting the early life of a battery based on the relative position matrix and the residual network in this embodiment can be written and written into a computer device or a storage medium. When the computer program is read out and executed, the method for predicting the early life of a battery based on the relative position matrix and the residual network in this embodiment is executed, thereby achieving the same technical effect as the method for predicting the early life of a battery based on the relative position matrix and the residual network in the embodiment.

[0153] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature, or it may be indirectly fixed or connected to the other feature. In addition, the descriptions of up, down, left, right, etc. used in the present disclosure are only relative to the relative positional relationship of the components of the present disclosure in the accompanying drawings. The singular forms of "a" and "the" used in the present disclosure are also intended to include the plural forms, unless the context clearly indicates other meanings. In addition, unless otherwise defined, all technical and scientific terms used in this embodiment have the same meaning as those generally understood by technicians in this technical field. The terms used in the specification of this embodiment are only for describing specific embodiments, not for limiting the present invention. The term "and / or" used in this embodiment includes any combination of one or more related listed items.

[0154] It should be understood that, although the term first, second, third etc. may be adopted to describe various elements in the present disclosure, these elements should not be limited to these terms. These terms are only used to distinguish the same type of elements from each other. For example, without departing from the scope of the present disclosure, the first element may also be referred to as the second element, and similarly, the second element may also be referred to as the first element. The use of any and all examples or exemplary language ("for example", "such as" etc.) provided by the present embodiment is only intended to better illustrate embodiments of the present invention, and unless otherwise required, will not impose limitations on the scope of the present invention.

[0155] It should be appreciated that embodiments of the present invention may be implemented or enforced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques - including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed dedicated integrated circuit for this purpose.

[0156] In addition, the operations of the process described in this embodiment may be performed in any suitable order, unless otherwise indicated in this embodiment or otherwise clearly contradicted by the context. The process described in this embodiment (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as codes (e.g., executable instructions, one or more computer programs, or one or more applications) executed jointly on one or more processors, by hardware, or a combination thereof. A computer program includes multiple instructions that may be executed by one or more processors.

[0157] Further, the method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, etc. Various aspects of the present invention can be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, an optical read and / or write storage medium, a RAM, a ROM, etc., so that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the process described herein. In addition, the machine-readable code, or part thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the above steps in conjunction with a microprocessor or other data processor, the invention of this embodiment includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention also includes the computer itself.

[0158] The computer program can be applied to input data to perform the functions of the present embodiment, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents a physical and tangible object, including a specific visual depiction of the physical and tangible object produced on the display.

[0159] The above are only preferred embodiments of the present invention. The present invention is not limited to the above embodiments. As long as the technical effects of the present invention are achieved by the same means, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention. Within the scope of protection of the present invention, its technical solutions and / or implementation methods may have various modifications and changes.

Claims

1. A method for predicting early battery life based on relative position matrix and residual network, characterized in that: The battery early life prediction method based on relative position matrix and residual network includes: Get the residual network; Obtaining capacity-voltage relationship data to be processed of a battery to be predicted; Processing the capacity-voltage relationship data to be processed to obtain a dual-channel image; Inputting the dual-channel image into the residual network to obtain a battery life prediction result output by the residual network; The residual network is trained through the following training process: Performing an aging process on the sample battery; the aging process includes multiple cycle processes; Testing the sample battery in at least part of the cycle process to obtain sample capacity-voltage relationship data corresponding to each cycle process; Using a relative position matrix, converting each of the sample capacity-voltage relationship data into corresponding sample image data; Using the sample image data as input data of the residual network and the real life data of the sample battery as the expected output of the residual network, the residual network is trained; The using of the relative position matrix to convert each of the sample capacity-voltage relationship data into respective corresponding sample image data comprises: For any of the sample capacity-voltage relationship data, obtaining a sample capacity time series and a sample voltage time series corresponding to the sample capacity-voltage relationship data; Using the relative position matrix to transform the sample volume time series, to obtain the sample image data; The method of using the relative position matrix to convert each of the sample capacity-voltage relationship data into respective corresponding sample image data also includes: Before using the relative position matrix to convert the sample capacity time series, performing Slinear interpolation processing on the sample capacity time series according to the sample voltage time series; The performing Slinear interpolation processing on the sample capacity time series according to the sample voltage time series comprises: Obtain the sample capacity time series and the sample voltage time series ; in, The target order is The sample capacity time series obtained by the cyclic process detection, The target order is The sample voltage time series obtained by detecting the cycle process, is the total length of the sequence before Slinear interpolation processing; By formula ; Calculate; where The sample voltage time series A sample voltage in is the sample size time series Neutral and sample voltage The corresponding sample size is closest to the right endpoint, is the sample size time series Neutral and sample voltage The corresponding sample size is closest to the left endpoint, The sample voltage time series The sample voltage The closest right endpoint, The sample voltage time series Neutral and sample voltage The closest left endpoint; make Traverse the sample voltage time series All sample voltages in the The sample capacity time series after Slinear interpolation processing ; in, is the total length of the sequence after Slinear interpolation.

2. The method for predicting early battery life based on relative position matrix and residual network according to claim 1, characterized in that: The aging process of the sample battery includes: Execute a plurality of the cycle processes in sequence; In any of the cycle processes, after the sample battery is fully charged, the sample battery is discharged at a constant current.

3. The method for predicting early battery life based on relative position matrix and residual network according to claim 1, characterized in that: The testing of the sample battery during at least part of the cycle process comprises: Determine the order of multiple goals; During the cycles corresponding to the target sequences, the sample batteries are tested; The sample capacity-voltage relationship data corresponding to each of the target orders is obtained.

4. The method for predicting early battery life based on relative position matrix and residual network according to claim 1, characterized in that: The using the relative position matrix to transform the sample volume time series to obtain the sample image data includes: Get the sample capacity time series after Slinear interpolation processing ; By formula ; Perform calculation to obtain the sample image data; wherein, The target order is The sample image data corresponding to the loop process.

5. The method for predicting early battery life based on relative position matrix and residual network according to claim 1, characterized in that: The battery early life prediction method based on the relative position matrix and the residual network also includes: Before the sample image data is input into the residual network, the sample image data is normalized.

6. The method for predicting early battery life based on relative position matrix and residual network according to claim 5, characterized in that: The normalizing process of the sample image data comprises: For any of the sample image data, obtaining the average value and standard deviation of all pixel values ​​in the sample image data; For any pixel in the same sample image data, the corresponding pixel value is set to a value obtained by subtracting the average value from the original pixel value and dividing the value by the standard deviation.

7. The method for predicting early battery life based on relative position matrix and residual network according to any one of claims 1 to 6, characterized in that: The battery early life prediction method based on the relative position matrix and the residual network also includes: Before the sample image data is input into the residual network, the sample image data is subjected to grayscale processing and / or bilinear interpolation processing.

Citation Information

Patent Citations

  • Power battery pack data storage and health assessment method based on visual technology

    CN116756351A

  • Lithium ion battery residual life estimation method and device and storage medium

    CN117214750A

  • Nickel-cadmium storage battery health state prediction method, apparatus and device, and storage medium

    CN117930055A