Lithium battery health state prediction method and device

By using Pearson's correlation coefficient to screen health factor data in lithium battery health status prediction, and combining deep learning technologies such as convolutional layers and bidirectional long and short-term memory networks, the problem of complex model construction and insufficient generalization ability in the existing technology is solved, and accurate prediction and highly adaptable operation of lithium battery health status are achieved.

CN119619893AActive Publication Date: 2025-03-14EURASIA HIGH TECH DIGITAL TECH CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202411740210.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-14
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

The prior art requires the construction of complex parameter models when predicting the health status of lithium batteries, requiring operators to have professional knowledge and lack of generalization capabilities, making it difficult to adapt to different types of batteries.

Method used

The Pearson correlation coefficient method is used to select relevant data from a large number of health factor data, and the prediction of the health status of lithium batteries is achieved through convolutional layer, bidirectional long and short-term memory network, attention mechanism, full connection layer and encoder-decoder.

Benefits of technology

It realizes accurate prediction of the health status of lithium batteries, is highly adaptable and simple to operate, and avoids the process of building complex parameter models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119619893A_ABST
    Figure CN119619893A_ABST
Patent Text Reader

Abstract

The invention discloses a lithium battery health state prediction method and device, and relates to the technical field of data processing, and the method comprises the steps: carrying out the preprocessing of a second preset number of health factor data, improving the data quality, and obtaining a preprocessed health factor data set, and processing the preprocessed health factor data set in sequence based on the two convolutional layers, the bidirectional long and short time memory network, the preset attention mechanism, the full connection layer and the preset encoder-decoder, thereby realizing accurate prediction of the health state of the target battery. The prediction of the health state of the target battery is realized by directly using the health factor data extracted from the historical operation data of the target battery, and the process of constructing the parameter model of the target battery is avoided, so that the prediction method of the health state of the lithium battery has relatively high adaptability and simple and convenient operability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a method and device for predicting the health status of a lithium battery. Background Art

[0002] In order to cope with environmental problems and the fossil energy crisis, clean energy such as wind energy, hydropower, and nuclear energy are being developed urgently and vigorously. The issue of energy storage and utilization is particularly important. Compared with other lead-acid batteries and nickel-cadmium batteries, lithium batteries have higher energy density, lower self-discharge rate, and longer charge and discharge life. They are widely used in various portable electronic devices, electric vehicles, and energy storage systems. However, with the increase of time and the use of batteries, batteries will inevitably age, the internal resistance of the battery will increase, the available capacity will decrease, and the battery performance will decrease, which will lead to battery leakage, local short circuit; equipment failure, deactivation, and even dangerous events such as heat and explosion. Therefore, in order to avoid the occurrence of the aforementioned dangerous events, the prediction of the health status of lithium batteries has become an urgent problem to be solved.

[0003] At present, the detection of the health status of lithium batteries is mainly achieved by constructing a lithium battery parameter model to predict the health status of lithium batteries. Although the above method can detect the health status of lithium batteries, the construction of the lithium battery parameter model often needs to consider the internal chemical reactions and aging mechanism of the lithium battery, which leads to the application of the above method requiring operators to have strong professional knowledge reserves. In addition, the method of constructing a lithium battery parameter model to predict the health status of lithium batteries is not generalized enough when applied to different types of batteries. Therefore, providing a highly adaptable and easy-to-operate lithium battery health status prediction method to achieve accurate prediction of the health status of lithium batteries is an urgent problem to be solved. Summary of the invention

[0004] The present disclosure provides a method and device for predicting the health status of a lithium battery, the main purpose of which is to provide a method for predicting the health status of a lithium battery that is highly adaptable and relatively easy to operate, so as to achieve accurate prediction of the health status of a lithium battery.

[0005] According to a first aspect of the present disclosure, a method for predicting the health status of a lithium battery is provided, comprising:

[0006] Selecting a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, wherein the first preset number is greater than the second preset number;

[0007] Preprocessing the second preset number of health factor data to obtain a preprocessed health factor data set;

[0008] Performing feature extraction on the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence;

[0009] Performing a long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state;

[0010] Performing weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery;

[0011] Processing the indicator vector based on a preset linear function in a fully connected layer to obtain a maximum available capacity of the target battery;

[0012] The maximum available capacity is denoised and optimized based on a preset encoder-decoder to obtain an optimized maximum available capacity, and the current health state of the target battery is determined according to the optimized maximum available capacity.

[0013] Optionally, selecting a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient includes:

[0014] Calculate the Pearson correlation coefficients between the first preset number of health factor data and the historical health status of the target battery based on the correlation coefficient function to obtain the first preset number of Pearson correlation coefficients;

[0015] The second preset number of Pearson correlation coefficients are selected from the first preset number of Pearson correlation coefficients according to the order of absolute values ​​from large to small, and the second preset number of health factor data corresponding to the second preset number of Pearson correlation coefficients are determined.

[0016] Optionally, preprocessing the second preset amount of health factor data to obtain a preprocessed health factor data set includes:

[0017] Performing standardization processing on the second preset amount of health factor data based on a standardization function to obtain a standardized health factor data set;

[0018] Gaussian noise is added to the standardized health factor dataset based on a data enhancement function to obtain the preprocessed health factor dataset.

[0019] Optionally, the formula of the correlation coefficient function is expressed as:

[0020]

[0021] Wherein, a is the health factor data, b is the historical health status, is the average value of the health factor data, is the average value of the historical health status, A is the Pearson correlation coefficient, i is the first subscript variable, and n is the sequence length of the health factor data;

[0022] The formula of the normalization function is expressed as:

[0023]

[0024] Among them, X scaled is the target health factor data after standardization, X is the feature value selected in the target health factor data, and X min is the minimum eigenvalue in the target health factor data, X max is the minimum characteristic value in the target health factor data, and the target health factor data is one of the second preset number of health factor data;

[0025] The formula of the data enhancement function is expressed as:

[0026] x n =x+σ·N(0,1)

[0027] Where x is the standardized health factor dataset, σ is the standard deviation of Gaussian noise, N(0,1) represents a standard normal distribution with a mean of 0 and a variance of 1, and x n represents the preprocessed health factor dataset.

[0028] Optionally, the two convolutional layers include a feature extraction function, and the formula of the feature extraction function is expressed as:

[0029]

[0030] Among them, H is the feature data sequence, K is the size of the convolution kernel, x n is the preprocessed health factor data set, I is the second subscript variable, t is the time step, k is the weight value, and k(I) represents the weight value at I.

[0031] Optionally, the bidirectional long short-term memory network includes an input gate, a forget gate, an output gate, a memory unit update function and a hidden state update function;

[0032] The formula of the input gate is expressed as:

[0033] i t =σ1(W i ·[h t-1 ,x t ])

[0034] Among them, W iis the input gate weight matrix, i t is the input gate activation value, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ1(.) is the first activation function;

[0035] The formula of the forget gate is expressed as:

[0036] f t =σ2(W f ·[h t-1 ,x t ])

[0037] Among them, W f is the forget gate weight matrix, f t is the activation value of the forget gate, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ2(.) is the second activation function;

[0038] The formula of the output gate is expressed as:

[0039] o t =σ3(W o ·[h t-1 ,x t ])

[0040] Among them, W o is the forget gate weight matrix, o t is the activation value of the forget gate, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ3(.) is the third activation function;

[0041] The formula of the memory unit update function is expressed as:

[0042]

[0043] Among them, C t-1 is the state of the memory unit at time t-1, is the candidate memory cell state, f t ·c t-1 It is used to control the contribution of the memory cell state at time t-1 to the memory cell state at time t. For control C t The contribution of t is the state of the memory unit at time t, f t is the activation value of the forget gate, i t is the input gate activation value.

[0044] The formula of the hidden state update function is expressed as:

[0045] h t =o t ·σ4(c t )

[0046] Among them, h t is the target hidden state at time t, o t is the activation value of the forget gate, c t is the state of the memory unit at time t, and σ4(.) is the fourth activation function.

[0047] Optionally, the weighted processing of the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery includes:

[0048] Calculate the attention score of the target hidden state based on the attention score function;

[0049] Calculate the weight value corresponding to the target hidden state according to the attention score based on a weight calculation function;

[0050] Calculating the indicator vector according to the attention score and the weight value based on a weighting function, the preset attention mechanism includes the attention score function, the weight calculation function and the weighting function;

[0051] The formula of the attention score function is expressed as:

[0052] α=tanh(W a ·h t )

[0053] Among them, W a is the attention weight matrix, h t is the target hidden state at time t, tanh(.) is the hyperbolic tangent function, and α is the attention score;

[0054] The formula of the weight calculation function is expressed as:

[0055] w=softmax(α)

[0056] Wherein, w is the weight value, α is the attention score, and softmax(.) is the fifth activation function;

[0057] The formula of the weighting function is expressed as:

[0058]

[0059] Where V is the indicator vector, t is the time step, w is the weight value, h tis the target hidden state at time t.

[0060] Optionally, the performing denoising optimization on the maximum available capacity based on a preset encoder-decoder to obtain the optimized maximum available capacity includes:

[0061] Performing nonlinear transformation processing on the maximum available capacity based on an encoder to obtain a nonlinear maximum available capacity;

[0062] Based on the decoder, a linear transformation process is performed on the nonlinear maximum available capacity to obtain the optimized maximum available capacity, and the preset encoder-decoder is composed of the encoder and the decoder;

[0063] The encoder formula is expressed as:

[0064] d1=ReLU(W·O f +b)

[0065] Wherein, W is the weight matrix of the encoder, b is the bias of the encoder, d1 is the maximum available capacity of the nonlinearity, O f The maximum available capacity, ReLU(.) is a nonlinear transformation function;

[0066] The formula of the decoder is expressed as:

[0067] O d =W′·d1+b′

[0068] Wherein, W′ is the weight matrix of the decoder, b′ is the bias of the decoder, d1 is the maximum available capacity of the nonlinearity, O d This is the maximum available capacity after optimization.

[0069] Optionally, before selecting a second preset number of health factor data from the first preset number of health factor data based on the Pearson correlation coefficient, the method includes:

[0070] Acquire historical operation data of the target battery during the discharge process;

[0071] The first preset number of health factor data is extracted from the historical operation data.

[0072] According to a second aspect of the present disclosure, a device for predicting the health status of a lithium battery is provided, comprising:

[0073] a selection unit, configured to select a second preset number of health factor data from a first preset number of health factor data based on a Pearson correlation coefficient, wherein the first preset number is greater than the second preset number;

[0074] a processing unit, configured to preprocess the second preset amount of health factor data to obtain a preprocessed health factor data set;

[0075] An extraction unit, used for performing feature extraction on the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence;

[0076] An analysis unit, configured to perform a long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state;

[0077] A weighting unit, configured to perform weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery;

[0078] A calculation unit, configured to process the indicator vector based on a preset linear function in a fully connected layer to obtain a maximum available capacity of the target battery;

[0079] The optimization unit is used to perform denoising optimization on the maximum available capacity based on a preset encoder-decoder to obtain the optimized maximum available capacity, and determine the current health state of the target battery according to the optimized maximum available capacity.

[0080] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0081] at least one processor; and

[0082] a memory communicatively connected to the at least one processor; wherein,

[0083] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0084] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0085] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in the first aspect above.

[0086] The present invention provides a method and device for predicting the health status of a lithium battery. Based on the Pearson correlation coefficient, a second preset number of health factor data is selected from a first preset number of health factor data, and the first preset number is greater than the second preset number; the second preset number of health factor data is preprocessed to obtain a preprocessed health factor data set; the preprocessed health factor data set is feature extracted based on two convolutional layers to obtain a feature data sequence; the feature data sequence is subjected to long-term dependency analysis based on a bidirectional long short-term memory network to obtain a target hidden state; the target hidden state is weighted based on a preset attention mechanism to obtain an indicator vector related to the current health status of the target battery; the indicator vector is processed based on a preset linear function in a fully connected layer to obtain the maximum available capacity of the target battery; the maximum available capacity is denoised and optimized based on a preset encoder-decoder to obtain the optimized maximum available capacity, and the current health status of the target battery is determined according to the optimized maximum available capacity. Compared with the related art, the second preset number of health factor data is preprocessed to improve the data quality to obtain the preprocessed health factor data set, and the preprocessed health factor data set is processed in sequence based on the two convolutional layers, the bidirectional long short-term memory network, the preset attention mechanism, the fully connected layer and the preset encoder-decoder, so as to realize the prediction of the health status of the target battery. In addition, the health factor data extracted from the historical operation data of the target battery is directly used to predict the health status of the target battery, thereby avoiding the process of constructing the target battery parameter model, so that the prediction method of the health status of the lithium battery disclosed in the present invention has strong adaptability and simple operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0088] Figure 1 A schematic diagram of a method for predicting the health status of a lithium battery provided in an embodiment of the present disclosure;

[0089] Figure 2 The disclosed embodiment provides a capacity decay curve of a NASA lithium battery using experimental data;

[0090] Figure 3 A capacity decay curve diagram of a lithium battery using experimental data CALCE provided in an embodiment of the present disclosure;

[0091] Figure 4A correlation heat map of characteristic factors in a NASA dataset provided by an embodiment of the present disclosure;

[0092] Figure 5 A correlation heat map of characteristic factors in the data set CALCE provided by an embodiment of the present disclosure;

[0093] Figure 6 A curve result and error diagram of a NASA data set predicted by a design model of the present disclosure provided in an embodiment of the present disclosure;

[0094] Figure 7 A curve result and error diagram of a CALCE data set predicted by a design model of the present disclosure provided in an embodiment of the present disclosure;

[0095] Figure 8 A schematic diagram of the structure of a device for predicting the health status of a lithium battery provided in an embodiment of the present disclosure;

[0096] Fig. 9 A schematic block diagram of an exemplary electronic device 300 provided for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0097] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0098] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

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

[0100] The following describes a method and device for predicting the health status of a lithium battery according to an embodiment of the present disclosure with reference to the accompanying drawings.

[0101] In order to at least provide a method for predicting the health status of a lithium battery that is highly adaptable and relatively easy to operate, so as to achieve accurate prediction of the health status of a lithium battery, this embodiment provides a method for predicting the health status of a lithium battery.

[0102] Figure 1A schematic diagram of a method for predicting the health status of a lithium battery provided by an embodiment of the present disclosure. Figure 1 As shown, the method comprises the following steps:

[0103] Step 101, selecting a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, wherein the first preset number is greater than the second preset number;

[0104] In some embodiments, the value of the first preset number includes but is not limited to twelve, the value of the second preset number includes but is not limited to five, and the types of the first preset number of health factor data include but are not limited to time, temperature, voltage, current, and internal resistance.

[0105] Step 102, preprocessing the second preset amount of health factor data to obtain a preprocessed health factor data set;

[0106] Step 103, extracting features from the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence;

[0107] Step 104, performing long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state;

[0108] Step 105, performing weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery;

[0109] Step 106, processing the indicator vector based on a preset linear function in a fully connected layer to obtain the maximum available capacity of the target battery;

[0110] Step 107: denoising and optimizing the maximum available capacity based on a preset encoder-decoder to obtain an optimized maximum available capacity, and determining the current health state of the target battery according to the optimized maximum available capacity.

[0111] The present invention provides a method for predicting the health status of a lithium battery. The method selects a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, wherein the first preset number is greater than the second preset number; preprocesses the second preset number of health factor data to obtain a preprocessed health factor data set; extracts features of the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence; performs long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state; performs weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health status of the target battery; processes the indicator vector based on a preset linear function in a fully connected layer to obtain the maximum available capacity of the target battery; performs denoising optimization on the maximum available capacity based on a preset encoder-decoder to obtain the optimized maximum available capacity, and determines the current health status of the target battery according to the optimized maximum available capacity. Compared with the related art, the second preset number of health factor data is preprocessed to improve the data quality to obtain the preprocessed health factor data set, and the preprocessed health factor data set is processed in sequence based on the two convolutional layers, the bidirectional long short-term memory network, the preset attention mechanism, the fully connected layer and the preset encoder-decoder, so as to realize the prediction of the health status of the target battery. In addition, the health factor data extracted from the historical operation data of the target battery is directly used to predict the health status of the target battery, thereby avoiding the process of constructing the target battery parameter model, so that the prediction method of the health status of the lithium battery disclosed in the present invention has strong adaptability and simple operation.

[0112] As a refinement of the above embodiment, before executing step 101 to select a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, the method may also adopt but is not limited to the following implementation methods, for example: obtaining historical operating data of the target battery during the discharge process; extracting the first preset number of health factor data from the historical operating data.

[0113] In order to facilitate the understanding of the above embodiment, this embodiment provides an exemplary description. This embodiment obtains the historical operation data of four batteries from the NASA data set and the CALCE data set respectively. The experimental conditions for generating the data in the NASA data set are shown in Table 1, and the experimental conditions for generating the data in the CALCE data set are shown in Table 2. The four batteries in the NASA data set are B0005 (B5), B0006 (B6), B0007 (B7) and B0018 (B18). Each battery undergoes a charging and discharging process at 24°C. The nominal capacity is 2Ah. In the charging stage, the battery is charged to 4.2V at a constant current of 1.5A, and then charged at a constant voltage until the current drops to 20mA. In the discharging stage, the battery is discharged to the cut-off voltage at a constant current of 2A. This cycle is repeated, and its capacity decay curve is as follows Figure 2 As shown, Figure 2 The disclosed embodiment provides a capacity decay curve of a lithium battery using experimental data NASA. The four batteries in the CALCE data set are CS2_35 (C35), CS2_36 (C36), CS 37 (C37) and CS2_38 (C38). Each battery undergoes a charge and discharge process at an ambient temperature of 1°C. The nominal capacity is 1.1Ah. It is charged in a constant current 0.5A (CC) mode until the battery voltage reaches 4.2V, and then charged in a constant voltage (CV) mode until the charging current drops to 20mA. In the discharge stage, it is discharged in a constant current 1A (CC) mode until the battery voltage drops to 2.7V. Its capacity decay curve is as follows: Figure 3 As shown, Figure 3 A capacity decay curve diagram of a lithium battery using experimental data CALCE provided in an embodiment of the present disclosure.

[0114] Table 1 shows the experimental conditions of the NASA dataset

[0115]

[0116] Table 2 shows the experimental conditions of the CALCE dataset

[0117]

[0118] The health factor data are extracted from the historical operation data of eight lithium batteries in the NASA data set and the CALCE data set. The types of the health factor data and the corresponding aging performance are shown in Table 3. The health factor data shown in Table 3 are multidimensional features, each of which has a different degree of correlation with SOH. Since all the extracted health factor data contain health factor data that is not very relevant to the battery health status, the prediction accuracy will be reduced.

[0119] Table 3 Types of lithium battery health factor data and their aging performance

[0120]

[0121] As a refinement of an embodiment of the present disclosure, when executing step 101 to select a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, the following implementation method may also be adopted but is not limited to, for example: calculating the Pearson correlation coefficients between the first preset number of health factor data and the historical health status of the target battery based on a correlation coefficient function to obtain the first preset number of Pearson correlation coefficients; selecting the second preset number of Pearson correlation coefficients from the first preset number of Pearson correlation coefficients according to the order of absolute values ​​from large to small, and determining the second preset number of health factor data corresponding to the second preset number of Pearson correlation coefficients.

[0122] In some embodiments, the types of the first preset number of health factor data include but are not limited to the types of health factor data shown in Table 3. In order to select the health factor data most relevant to the historical health status of the target battery, the Pearson correlation coefficients between the first preset number of health factor data and the historical health status of the target battery are calculated respectively. The closer the absolute value of the calculated Pearson correlation coefficient is to 1, the more relevant this type of health factor data is to the health status of the target battery. Combined with the above exemplary description, the Pearson correlation coefficients between the health factor data of eight batteries shown in the NASA data set and the CALCE data set and the health status of each corresponding battery are shown in Table 4. The correlation shown in Table 4 is made into a correlation heat map for clearer visualization, as shown in Table 4. Figure 4 , Figure 5 As shown, Figure 4 A correlation heat map of characteristic factors in a NASA dataset provided by an embodiment of the present disclosure; Figure 5 A correlation heat map of characteristic factors in the data set CALCE is provided in an embodiment of the present disclosure, and SOH represents the state of health.

[0123] Table 4 Pearson correlation coefficient between battery health factor data and SOH (top 5 are bolded)

[0124]

[0125] As a refinement of the above embodiment, when executing step 102 to preprocess the second preset number of health factor data to obtain a preprocessed health factor data set, the following implementation methods can also be adopted but are not limited to, for example: standardizing the second preset number of health factor data based on a standardization function to obtain a standardized health factor data set; adding Gaussian noise to the standardized health factor data set based on a data enhancement function to obtain the preprocessed health factor data set.

[0126] As a refinement of the above embodiment, the formula of the correlation coefficient function is expressed as:

[0127]

[0128] Wherein, a is the health factor data, b is the historical health status, is the average value of the health factor data, is the average value of the historical health status, A is the Pearson correlation coefficient, i is the first subscript variable, n is the sequence length of the health factor data, and the Pearson correlation coefficient A is in (-1,1). The larger its absolute value is, the stronger the correlation is. The closer it is to 1, the positive correlation is, and the closer it is to -1, the negative correlation is.

[0129] The formula of the normalization function is expressed as:

[0130]

[0131] Among them, X scaled is the target health factor data after standardization, X is the feature value selected in the target health factor data, and X min is the minimum eigenvalue in the target health factor data, X max is the minimum characteristic value in the target health factor data, and the target health factor data is one of the second preset number of health factor data;

[0132] The formula of the data enhancement function is expressed as:

[0133] x n =x+σ·N(0,1)

[0134] Where x is the standardized health factor dataset, σ is the standard deviation of Gaussian noise, N(0,1) represents a standard normal distribution with a mean of 0 and a variance of 1, and x n Represents the preprocessed health factor dataset. Generate Gaussian noise with the same shape as x, then scale the noise by multiplying the standard deviation of the noise by the standard normal distribution and add it to x.

[0135] As a refinement of the above embodiment, the two convolutional layers include a feature extraction function, and the formula of the feature extraction function is expressed as:

[0136]

[0137] Among them, H is the feature data sequence, K is the size of the convolution kernel, x n is the preprocessed health factor dataset, I is the second subscript variable, t is the time step, k is the weight value, and k(I) represents the weight value at I. In the present disclosure, K is preferably 3. Two convolutional layers are defined in the present disclosure, and the input and output channels are defined as x→64 and 64→128, respectively.

[0138] As a refinement of the above embodiment, the bidirectional long short-term memory network includes an input gate, a forget gate, an output gate, a memory unit update function and a hidden state update function, the forget gate selects to delete weakly related information in the lithium-ion battery charging and discharging data, and the output gate determines the output information;

[0139] The formula of the input gate is expressed as:

[0140] i t =σ1(W i ·[h t-1 ,x t ])

[0141] Among them, W i is the input gate weight matrix, i t is the input gate activation value, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ1(.) is the first activation function, i t Used to control the current input x t The impact on the state of the memory unit, the output value of the first activation function is between 0 and 1. When the value is close to 0, it means "off", and when it is close to 1, it means "on";

[0142] The formula of the forget gate is expressed as:

[0143] f t =σ2(W f ·[h t-1 ,x t ])

[0144] Among them, W f is the forget gate weight matrix, f t is the activation value of the forget gate, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ2(.) is the second activation function, f tUsed to control the influence of the previous memory unit state on the current memory unit state;

[0145] The formula of the output gate is expressed as:

[0146] o t =σ3(W o ·[h t-1 ,x t ])

[0147] Among them, W o is the forget gate weight matrix, o t is the activation value of the forget gate, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ3(.) is the third activation function, O t Used to determine the impact of the current memory cell state on the hidden state;

[0148] The formula of the memory unit update function is expressed as:

[0149]

[0150] Among them, C t-1 is the state of the memory unit at time t-1, is the candidate memory cell state, f t ·c t-1 It is used to control the contribution of the memory cell state at time t-1 to the memory cell state at time t. For control C t The contribution of t is the state of the memory unit at time t, f t is the activation value of the forget gate, i t is the input gate activation value.

[0151] The formula of the hidden state update function is expressed as:

[0152] h t =o t ·σ4(c t )

[0153] Among them, h t is the target hidden state at time t, o t is the activation value of the forget gate, c t is the state of the memory unit at time t, σ4(.) is the fourth activation function, o t ·σ(c t ) represents the contribution of the memory cell state to the hidden state controlled by the output gate, and the fourth activation function is used to ensure that the output value is between 0 and 1.

[0154] In some embodiments, the bidirectional long short-term memory network (BiLSTM) feeds the lithium-ion battery charging and discharging data into the forward LSTM hidden layer and the reverse LSTM hidden layer respectively, and the forward LSTM hidden layer output and the reverse LSTM hidden layer output are combined to finally output the sequence {h 1, , h2……h t}. In this disclosure, the input is defined as 128 and the hidden layer is defined as 100.

[0155] As a refinement of the above embodiment, when performing weighted processing on the target hidden state based on the preset attention mechanism in step 105 to obtain an indicator vector related to the current health state of the target battery, the following implementation methods may also be adopted but are not limited to, for example: calculating the attention score of the target hidden state based on an attention score function; calculating the weight value corresponding to the target hidden state according to the attention score based on a weight calculation function; calculating the indicator vector according to the attention score and the weight value based on a weighting function, wherein the preset attention mechanism includes the attention score function, the weight calculation function and the weighting function;

[0156] The formula of the attention score function is expressed as:

[0157] α=tanh(W a ·h t )

[0158] Among them, W a is the attention weight matrix, h t is the target hidden state at time t, tanh(.) is the hyperbolic tangent function, and α is the attention score;

[0159] The formula of the weight calculation function is expressed as:

[0160] w=softmax(α)

[0161] Wherein, w is the weight value, α is the attention score, and softmax(.) is the fifth activation function;

[0162] The formula of the weighting function is expressed as:

[0163]

[0164] Where V is the indicator vector, t is the time step, w is the weight value, h t is the target hidden state at time t.

[0165] In short, define a linear layer to calculate the attention score, and use the softmax function to calculate the attention weight. First, calculate the attention score at time t, and then calculate the weight corresponding to the attention score. The larger the calculated weight, the more important the hidden layer feature is at that moment, and the vector h at that moment is t , the greater the contribution to the prediction result, then by inputting the vector h at time t t Perform weighted calculation of vector V t .

[0166] As a refinement of the above embodiment, the formula of the preset linear function in step 106 is expressed as:

[0167] O f =W o ·C t +b o

[0168] Where W o is the weight of the fully connected layer, b o is the bias term, O f is the maximum available capacity.

[0169] As a refinement of the above embodiment, when performing denoising optimization on the maximum available capacity based on a preset encoder-decoder to obtain the optimized maximum available capacity in step 107, the following implementation methods may also be adopted but are not limited to, for example: performing nonlinear transformation processing on the maximum available capacity based on an encoder to obtain a nonlinear maximum available capacity; performing linear transformation processing on the nonlinear maximum available capacity based on a decoder to obtain the optimized maximum available capacity, the preset encoder-decoder is composed of the encoder and the decoder;

[0170] The encoder formula is expressed as:

[0171] d1=ReLU(W·O f +b)

[0172] Wherein, W is the weight matrix of the encoder, b is the bias of the encoder, d1 is the maximum available capacity of the nonlinearity, O f is the maximum available capacity, ReLU(.) is a nonlinear transformation function;

[0173] The formula of the decoder is expressed as:

[0174] O d =W′·d1+b′

[0175] Wherein, W′ is the weight matrix of the decoder, b′ is the bias of the decoder, d1 is the maximum available capacity of the nonlinearity, O dThis is the maximum available capacity after optimization.

[0176] In some embodiments, the health status of the lithium battery is defined as follows:

[0177]

[0178] Among them C max and C norm are the maximum available capacity and nominal capacity of the battery respectively. In most applications, the maximum available capacity of the battery is generally selected to drop to 70% of the initial capacity as the failure threshold. Based on the above definition of the health status of the lithium battery, the health status of the target battery can be determined according to the optimized maximum available capacity.

[0179] The preset encoder-decoder described in the present disclosure is a denoising autoencoder (DAE), which is an unsupervised learning method for reconstructing input data from a low-dimensional representation while retaining as much information as possible. During the training process, the loss function of the DAE (such as the mean square error) measures the difference between the reconstructed output and the original noise-free input. By minimizing this loss, the DAE forces the model to learn a reconstruction method that effectively removes the noise in the input data. The loss function is calculated as:

[0180]

[0181] Where, L d is the loss of the denoising encoder, n is the total number of data, is the input data with noise, is the reconstructed output, i.e., the denoised data generated from the input data by DAE. t is the time step, φ(·) is the loss function, and the reconstruction error is usually measured using the mean square error (MSE). λ is the regularization parameter, which controls the model complexity. is the Frobenius norm of the encoder weight matrix, indicating the size of the weight, is the Frobenius norm of the decoder weight matrix, which indicates the size of the weight and helps prevent overfitting. Through the above structure, the model can extract features from the input sequence and make predictions, while using the autoencoder part for denoising.

[0182] The prediction of the health status of lithium batteries in the present disclosure is realized based on the hybrid DAE-CNN-BiLSTM-Attention model designed in the present disclosure. In order to verify the performance of the model designed in the present disclosure, the present disclosure uses two commonly used indicators, Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE), to quantify the performance of the model to predict the health status of the battery. The calculation formula is:

[0183]

[0184] In the formula, n represents the length of feature data, T represents the length of training feature data, x t They are the predicted and actual values ​​of lithium battery SOH at time t. MAE is the average of the absolute errors between the predicted and actual values, which measures the average difference between the predicted and actual values; RMSE is the square root of the average of the squared errors between the predicted and actual values, which provides the standard deviation of the error. The smaller their values ​​are, the better the performance of the model. LSTM, At-LSTM, CNN-BiLSTM, CNN-BiLSTM-At, and DAE-CNN-BiLSTM-At models were selected for comparison and ablation experiments were carried out. Table 5 shows the performance results of the predictions on the dataset.

[0185] Table 5 Prediction performance results on the dataset (the best prediction result is bolded)

[0186]

[0187] As can be seen from Table 5, except that the RMSE of CS2_36 is 0.0230, which is slightly lower than the CNN-BiLSTM-At model, and the MAE of CS2_38 is 0.0227, which is slightly lower than the CNN-BiLSTM-At model, the model proposed in this disclosure outperforms other models in all other indicators, indicating its robustness and stability. From the data, the indicators of CALCE are significantly smaller than those of NASA, with lower errors. The best evaluation result of this model was achieved on the CS2_35 battery, with a mean absolute error (MAE) of 0.0154 and a root mean square error (RMSE) of 0.0191. Compared with the undenoised model, the performance of MAE and RMSE has increased by 55.4% and 3.14%, respectively, which shows that the denoising step is effective in improving the model prediction, and the denoising function improves the performance of the model. The model proposed in this disclosure shows lower MAE and RMSE in all data sets, showing its superior prediction performance. From the perspective of the optimal number of predictions, NASA's prediction performance is better than CALCE, with a score of 4:2, which means that there is room for improvement in the prediction performance of large data sets.

[0188] Predicting the state of health of lithium-ion batteries: Figure 6 and Figure 7 A visualization of the prediction results and associated errors for the NASA and CALCE datasets is provided. Figure 6 A curve result and error diagram of a NASA data set predicted by a design model of the present disclosure provided in an embodiment of the present disclosure, Figure 7The curve result and error diagram of the CALCE data set predicted by the design model of the present disclosure provided in the embodiment of the present disclosure are as follows: Figure 6 In the study, the SOH predictions for NASA batteries were very close to the actual battery health, with all prediction errors remaining within 5% even at peak anomaly points. This shows that the model can accurately track the degradation process despite anomalies. Figure 7 The predictions and error trends of the CALCE battery health state are described. In this disclosure, 70% of the battery data is used for training and the model predicts the entire degradation process. Compared with the NASA dataset, the CALCE dataset presents a more challenging prediction scenario because it has a much larger amount of data and there is more abnormal noise. Despite these challenges, the model's predictions are still close, demonstrating its robustness and generalization ability across different datasets.

[0189] In summary, the embodiments of the present disclosure can achieve the following effects:

[0190] 1. By preprocessing the second preset number of health factor data, the data quality is improved to obtain the preprocessed health factor data set, and the preprocessed health factor data set is processed in sequence based on the two convolutional layers, the bidirectional long short-term memory network, the preset attention mechanism, the fully connected layer and the preset encoder-decoder, so as to realize the prediction of the health state of the target battery. In addition, by directly using the health factor data extracted from the historical operation data of the target battery to realize the prediction of the health state of the target battery, the process of constructing the target battery parameter model is avoided, so that the prediction method of the health state of the lithium battery disclosed in the present invention has strong adaptability and simple operation.

[0191] 2. The prediction model designed in this disclosure integrates the advantages of CNN in extracting local features, BiLSTM in learning the temporal dependencies before and after, Attention in allocating the most favorable weights for prediction, and self-encoding and decoding in restoring the original data, thereby improving the accuracy of the model prediction results.

[0192] Corresponding to the above-mentioned method for predicting the health status of a lithium battery, the present invention further proposes a device for predicting the health status of a lithium battery. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.

[0193] Figure 8 A schematic diagram of a lithium battery health status prediction device provided by an embodiment of the present disclosure is shown in FIG. Figure 8 As shown, including:

[0194] A selection unit 21, configured to select a second preset number of health factor data from a first preset number of health factor data based on a Pearson correlation coefficient, wherein the first preset number is greater than the second preset number;

[0195] A processing unit 22, configured to preprocess the second preset amount of health factor data to obtain a preprocessed health factor data set;

[0196] An extraction unit 23, configured to perform feature extraction on the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence;

[0197] An analysis unit 24 is used to perform a long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state;

[0198] A weighting unit 25, configured to perform weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery;

[0199] A calculation unit 26, configured to process the indicator vector based on a preset linear function in a fully connected layer to obtain a maximum available capacity of the target battery;

[0200] The optimization unit 27 is used to perform denoising optimization on the maximum available capacity based on a preset encoder-decoder to obtain the optimized maximum available capacity, and determine the current health state of the target battery according to the optimized maximum available capacity.

[0201] The lithium battery health status prediction device provided by the present invention selects a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, and the first preset number is greater than the second preset number; the second preset number of health factor data is preprocessed to obtain a preprocessed health factor data set; the preprocessed health factor data set is feature extracted based on two convolutional layers to obtain a feature data sequence; the feature data sequence is subjected to long-term dependency analysis based on a bidirectional long short-term memory network to obtain a target hidden state; the target hidden state is weighted based on a preset attention mechanism to obtain an indicator vector related to the current health status of the target battery; the indicator vector is processed based on a preset linear function in a fully connected layer to obtain the maximum available capacity of the target battery; the maximum available capacity is denoised and optimized based on a preset encoder-decoder to obtain the optimized maximum available capacity, and the current health status of the target battery is determined according to the optimized maximum available capacity. Compared with the related art, the second preset number of health factor data is preprocessed to improve the data quality to obtain the preprocessed health factor data set, and the preprocessed health factor data set is processed in sequence based on the two convolutional layers, the bidirectional long short-term memory network, the preset attention mechanism, the fully connected layer and the preset encoder-decoder, so as to realize the prediction of the health status of the target battery. In addition, the health factor data extracted from the historical operation data of the target battery is directly used to predict the health status of the target battery, thereby avoiding the process of constructing the target battery parameter model, so that the prediction method of the health status of the lithium battery disclosed in the present invention has strong adaptability and simple operation.

[0202] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.

[0203] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0204] Fig. 9 A schematic block diagram of an example electronic device 300 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0205] like Fig. 9 As shown, the device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 302 or a computer program loaded from a storage unit 308 to a RAM (Random Access Memory) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An I / O (Input / Output) interface 305 is also connected to the bus 304.

[0206] A number of components in the device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0207] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as a method for predicting the health status of a lithium battery. For example, in some embodiments, the method for predicting the health status of a lithium battery may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to execute the aforementioned lithium battery health status prediction method in any other appropriate manner (for example, by means of firmware).

[0208] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0209] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0210] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0211] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0212] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0213] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0214] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

Claims

1. A method for predicting the health status of a lithium battery, characterized in that: include: Selecting a second preset number of health factor data from a first preset number of health factor data based on the Pearson correlation coefficient, wherein the first preset number is greater than the second preset number; Preprocessing the second preset amount of health factor data to obtain a preprocessed health factor data set; Performing feature extraction on the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence; Performing a long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state; Performing weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery; Processing the indicator vector based on a preset linear function in a fully connected layer to obtain a maximum available capacity of the target battery; The maximum available capacity is denoised and optimized based on a preset encoder-decoder to obtain an optimized maximum available capacity, and the current health state of the target battery is determined according to the optimized maximum available capacity.

2. The method according to claim 1, characterized in that The selecting a second preset number of health factor data from the first preset number of health factor data based on the Pearson correlation coefficient includes: Calculate the Pearson correlation coefficients between the first preset number of health factor data and the historical health status of the target battery based on the correlation coefficient function to obtain the first preset number of Pearson correlation coefficients; The second preset number of Pearson correlation coefficients are selected from the first preset number of Pearson correlation coefficients according to the order of absolute values ​​from large to small, and the second preset number of health factor data corresponding to the second preset number of Pearson correlation coefficients are determined.

3. The method according to claim 2, characterized in that The preprocessing of the second preset amount of health factor data to obtain a preprocessed health factor data set includes: Performing standardization processing on the second preset amount of health factor data based on a standardization function to obtain a standardized health factor data set; Gaussian noise is added to the standardized health factor dataset based on a data enhancement function to obtain the preprocessed health factor dataset.

4. The method according to claim 3, characterized in that The formula of the correlation coefficient function is expressed as: Wherein, a is the health factor data, b is the historical health status, is the average value of the health factor data, is the average value of the historical health status, A is the Pearson correlation coefficient, i is the first subscript variable, and n is the sequence length of the health factor data; The formula of the normalization function is expressed as: Among them, X scaled is the target health factor data after standardization, X is the feature value selected in the target health factor data, and X min is the minimum eigenvalue in the target health factor data, X max is the minimum characteristic value in the target health factor data, and the target health factor data is one of the second preset number of health factor data; The formula of the data enhancement function is expressed as: x n =x+σ·N(0,1) Where x is the standardized health factor dataset, σ is the standard deviation of Gaussian noise, N(0,1) represents a standard normal distribution with a mean of 0 and a variance of 1, and x n represents the preprocessed health factor dataset.

5. The method according to claim 4, characterized in that The two convolutional layers include a feature extraction function, and the formula of the feature extraction function is expressed as: Among them, H is the feature data sequence, K is the size of the convolution kernel, x n is the preprocessed health factor data set, I is the second subscript variable, t is the time step, k is the weight value, and k(I) represents the weight value at I.

6. The method according to claim 5, characterized in that The bidirectional long short-term memory network includes an input gate, a forget gate, an output gate, a memory unit update function and a hidden state update function; The formula of the input gate is expressed as: i t =σ1(W i ·[h t-1 ,x t ]) Among them, W i is the input gate weight matrix, i t is the input gate activation value, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ1(.) is the first activation function; The formula of the forget gate is expressed as: f t =σ2(W f ·[h t-1 ,x t ]) Among them, W f is the forget gate weight matrix, f t is the activation value of the forget gate, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ2(.) is the second activation function; The formula of the output gate is expressed as: she t =σ3(W o ·[h t-1 ,x t ]) Among them, W o is the forget gate weight matrix, o t is the activation value of the forget gate, h t-1 is the target hidden state at time t-1, x t is the input data at the current time t, σ3(.) is the third activation function; The formula of the memory unit update function is expressed as: Among them, C t-1 is the state of the memory unit at time t-1, is the candidate memory cell state, f t ·c t-1 It is used to control the contribution of the memory cell state at time t-1 to the memory cell state at time t. For control C t The contribution of t is the state of the memory unit at time t, f t is the activation value of the forget gate, i t is the input gate activation value. The formula of the hidden state update function is expressed as: h t =o t ·σ4(c t ) Among them, h t is the target hidden state at time t, o t is the activation value of the forget gate, c t is the state of the memory unit at time t, and σ4(.) is the fourth activation function.

7. The method according to claim 6, characterized in that The weighted processing of the target hidden state based on the preset attention mechanism to obtain an indicator vector related to the current health state of the target battery includes: Calculate the attention score of the target hidden state based on the attention score function; Calculate the weight value corresponding to the target hidden state according to the attention score based on a weight calculation function; Calculating the indicator vector according to the attention score and the weight value based on a weighting function, the preset attention mechanism includes the attention score function, the weight calculation function and the weighting function; The formula of the attention score function is expressed as: α=tanh(W a ·h t ) Among them, W a is the attention weight matrix, h t is the target hidden state at time t, tanh(.) is the hyperbolic tangent function, and α is the attention score; The formula of the weight calculation function is expressed as: w=softmax(α) Wherein, w is the weight value, α is the attention score, and softmax(.) is the fifth activation function; The formula of the weighting function is expressed as: Where V is the indicator vector, t is the time step, w is the weight value, h t is the target hidden state at time t.

8. The method according to claim 7, characterized in that The denoising optimization of the maximum available capacity based on the preset encoder-decoder to obtain the optimized maximum available capacity includes: Performing nonlinear transformation processing on the maximum available capacity based on an encoder to obtain a nonlinear maximum available capacity; Based on the decoder, a linear transformation process is performed on the nonlinear maximum available capacity to obtain the optimized maximum available capacity, and the preset encoder-decoder is composed of the encoder and the decoder; The encoder formula is expressed as: d1=ReLU(W·O f +b) Wherein, W is the weight matrix of the encoder, b is the bias of the encoder, d1 is the maximum available capacity of the nonlinearity, O f The maximum available capacity, ReLU(.) is a nonlinear transformation function; The formula of the decoder is expressed as: O d =W′·d1+b′ Wherein, W′ is the weight matrix of the decoder, b′ is the bias of the decoder, d1 is the maximum available capacity of the nonlinearity, O d This is the maximum available capacity after optimization.

9. The method according to any one of claims 1 to 8, characterized in that Before selecting a second preset number of health factor data from the first preset number of health factor data based on the Pearson correlation coefficient, the method includes: Acquire historical operation data of the target battery during the discharge process; The first preset number of health factor data is extracted from the historical operation data.

10. A device for predicting the health status of a lithium battery, characterized in that: include: a selection unit, configured to select a second preset number of health factor data from a first preset number of health factor data based on a Pearson correlation coefficient, wherein the first preset number is greater than the second preset number; a processing unit, configured to preprocess the second preset amount of health factor data to obtain a preprocessed health factor data set; An extraction unit, used for performing feature extraction on the preprocessed health factor data set based on two convolutional layers to obtain a feature data sequence; An analysis unit, used for performing long-term dependency analysis on the feature data sequence based on a bidirectional long short-term memory network to obtain a target hidden state; A weighting unit, configured to perform weighted processing on the target hidden state based on a preset attention mechanism to obtain an indicator vector related to the current health state of the target battery; A calculation unit, configured to process the indicator vector based on a preset linear function in a fully connected layer to obtain a maximum available capacity of the target battery; The optimization unit is used to perform denoising optimization on the maximum available capacity based on a preset encoder-decoder to obtain the optimized maximum available capacity, and determine the current health state of the target battery according to the optimized maximum available capacity.

Citation Information

Patent Citations

  • Lithium ion battery state of health linear evaluation method

    CN109828220A

  • Method for predicting residual life of lithium ion battery based on WDE optimization LSTM network

    CN109991542A

  • Lithium ion battery health state prediction method based on CNN-BiLSTM-AT hybrid model

    CN114325450A

  • Target detection method based on graph regulation and control network

    CN116740419A

  • Lithium battery health state estimation method based on charging voltage curve characteristics

    CN117741484A