Lithium ion battery capacity diving point prediction method and system

The BiTCN-BiLSTM model and multi-strategy are used to improve the dung beetle optimization algorithm, and use the constant current-constant voltage turning point data of lithium-ion batteries to accurately predict the capacity plunge point, solving the problem of difficulty in predicting early data in the existing technology and improving battery usage. longevity and safety.

CN118863145APending Publication Date: 2024-10-29SHANDONG ELECTRIC POWER ENG CONSULTING INST CORP

Patent Information

Application Number
CN202410886388.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

It is difficult for existing technology to accurately predict the capacity plunge point through early data of lithium-ion batteries, resulting in shortened battery life and increased safety risks.

Method used

The BiTCN-BiLSTM model is combined with multiple strategies to improve the dung beetle optimization algorithm, and the voltage and current data near the constant current-constant voltage turning point of the lithium-ion battery are used to construct a feature matrix to predict the capacity plunge point.

Benefits of technology

It achieves accurate prediction of the lithium-ion battery capacity plunge point, improves the prediction accuracy and generalization ability of the model, is suitable for practical engineering applications, and avoids safety accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118863145A_ABST
    Figure CN118863145A_ABST
Patent Text Reader

Abstract

The invention provides a lithium ion battery capacity diving point prediction method and system, and belongs to the technical field of smart energy. The method comprises the following steps: extracting voltage data at a moment t before a constant current-constant voltage turning point and current data at a moment t after the constant current-constant voltage turning point in an mth charging process and an nth charging process; dividing the extracted voltage and current data into N-1 blocks at equal time intervals, calculating a voltage difference sequence and a current difference sequence of the mth charging process and the nth charging process, and splicing the voltage difference sequence and the current difference sequence to form a feature matrix; and taking the characteristic matrix as input, and obtaining a final battery capacity diving point prediction result according to a BiTCN-BiLSTM model optimized by a multi-strategy improved dung beetle optimization algorithm. According to the method, accurate prediction of the diving point is realized by utilizing part of charging fragments of the early-stage operation data of the lithium ion battery, so that decision support is provided for operation and maintenance personnel, and safety accidents are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart energy technology, and in particular to a lithium-ion battery capacity diving point prediction method, a lithium-ion battery capacity diving point prediction system, a computer device, a computer-readable storage medium and a computer program product. Background Art

[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.

[0003] In recent years, with the energy transformation and the development of electric vehicles, lithium-ion batteries have attracted widespread attention due to their many advantages such as high energy density, long cycle life, low carbon and environmental protection. At present, lithium-ion batteries have been used in portable electronic devices, aerospace, photovoltaic power generation, large-scale energy storage and other fields. Limited by the irreversible redox reaction in the battery, the performance of lithium-ion batteries will inevitably decay during use. When the decay reaches a certain level, lithium-ion batteries are difficult to meet the energy / power requirements of the system, thus affecting the safe operation of the system. Generally speaking, during the normal decay of the battery, the rate of battery capacity decrease is relatively stable as the number of cycles increases. However, experiments have shown that some batteries will experience a rapid decrease in capacity (i.e., capacity diving) during the decay process, and the starting point of the rapid decrease is called the capacity diving point. The diving phenomenon will greatly reduce the remaining service life of the battery and increase the risk of thermal runaway. Therefore, it is crucial to predict the capacity diving point in advance during the use of the battery.

[0004] At present, most researchers are committed to identifying the capacity diving point. For example, patent number CN112327192B discloses a battery capacity diving identification method based on curve morphology, which can effectively identify diving batteries. However, the inventors found that the above-mentioned prior art diving point identification scheme occurs after the battery capacity dives, and how to accurately predict the capacity diving point through early battery data (before the dive occurs) is still a problem that needs to be solved urgently. Summary of the invention

[0005] In order to address the deficiencies in the prior art, the present invention provides a method and system for predicting a capacity diving point of a lithium-ion battery. By utilizing a partial charging segment of early operating data of a lithium-ion battery, accurate prediction of the diving point is achieved, thereby providing decision support for operation and maintenance personnel and avoiding safety accidents.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a method for predicting a capacity drop point of a lithium-ion battery.

[0008] A method for predicting a capacity drop point of a lithium-ion battery includes the following steps:

[0009] Extract the voltage data at time t before the constant current-constant voltage turning point and the current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process;

[0010] Divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix;

[0011] Taking the feature matrix as input, the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm is used to obtain the final battery capacity diving point prediction result.

[0012] In a second aspect, the present invention provides a lithium-ion battery capacity dive point prediction system.

[0013] A lithium-ion battery capacity diving point prediction system, comprising:

[0014] The data processing unit is configured to extract voltage data at time t before the constant current-constant voltage turning point and current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process;

[0015] The feature extraction unit is configured to: divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix;

[0016] The diving point prediction unit is configured to: take the feature matrix as input, and obtain the final battery capacity diving point prediction result according to the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm.

[0017] In a third aspect, the present invention provides a computer device, comprising: a processor and a computer-readable storage medium;

[0018] a processor adapted to execute a computer program;

[0019] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method for predicting a capacity diving point of a lithium-ion battery as described in the first aspect of the present invention is implemented.

[0020] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is suitable for being loaded by a processor and executing the lithium-ion battery capacity dive point prediction method as described in the first aspect of the present invention.

[0021] In a fifth aspect, the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the lithium-ion battery capacity diving point prediction method as described in the first aspect of the present invention.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] 1. The present invention constructs a BiTCN and BiLSTM dual-branch network model, utilizes the different focuses of features extracted by different branches, realizes the feature complementarity of the dual branches, and improves the prediction accuracy and generalization ability of the model.

[0024] 2. The present invention introduces Tent chaotic mapping, subtraction optimizer algorithm and dynamic weight coefficient to improve the dung beetle optimization algorithm, effectively enhancing the global optimization and local development capabilities of the algorithm and improving the optimization accuracy.

[0025] 3. In order to solve the problem that complete charging and discharging data is difficult to obtain in actual working conditions, the present invention uses the data near the constant current-constant voltage turning point during the charging process as the model input. The required data is easy to obtain and is suitable for actual engineering applications.

[0026] 4. Different from the capacity diving point identification in existing research, the present invention uses early battery data (before the diving occurs) to achieve accurate prediction of the diving point, filling the current technical gap.

[0027] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings in the specification, which constitute 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 improper limitations on the present invention.

[0029] Figure 1 A flow chart of a method for predicting a lithium-ion battery capacity drop point provided in Example 1 of the present invention;

[0030] Figure 2 Capacity decay curves of different batteries provided in Example 1 of the present invention;

[0031] Figure 3A schematic diagram of identifying a battery capacity drop point based on the Bacon-Watts method provided in Example 1 of the present invention;

[0032] Figure 4 A schematic diagram of the BiTCN-BiLSTM model structure provided in Example 1 of the present invention;

[0033] Figure 5 A schematic diagram of the BiLSTM model structure provided in Example 1 of the present invention;

[0034] Figure 6 A comparison chart of prediction results of different models provided in Example 1 of the present invention;

[0035] Figure 7 A schematic diagram of a lithium-ion battery capacity drop point prediction system provided in Example 2 of the present invention;

[0036] Figure 8 A schematic diagram of a computer device provided in Example 3 of the present invention. DETAILED DESCRIPTION

[0037] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0038] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0039] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0040] Embodiment 1:

[0041] This implementation proposes a method for predicting the capacity drop point of a lithium-ion battery. Figure 1 As shown, the following process is included:

[0042] S1: Obtain the charging voltage, current and capacity decay curves of lithium-ion batteries with different cycles.

[0043] Specifically, the present invention uses a public data set from Cambridge University, which contains 124 battery aging data, and its capacity decay curve is as follows: Figure 2 As shown in the figure, it can be seen that the battery exhibits an approximately linear attenuation in the early stage of aging. As the number of cycles increases, the capacity shows a trend of rapid attenuation, that is, a capacity dive phenomenon occurs.

[0044] S2: Extract the voltage data (V m and V n), the current data at the next moment (I m and I n ) and capacity dive points.

[0045] In actual working conditions, most batteries use a constant current-constant voltage charging method. Therefore, the present invention uses the current and voltage data near the constant current-constant voltage turning point to avoid the influence of the uncertainty of the initial charging state of the battery, and is easy to obtain in actual scenarios, which is more suitable for engineering applications. After experimental verification, when the difference between mn is greater than 100 and t is greater than 250s, the prediction accuracy of the model is higher. Therefore, in this embodiment, m=120, n=20, and t=300s. In addition, the capacity diving point is determined by the Bacon-Watts method, and its mathematical expression is:

[0046]

[0047] In formula (1), Y is the battery capacity; a0 is the intercept of the diving point; a1 and a2 are the slopes of the two intersecting lines; x is the number of cycles; x k is the number of cycles at the capacity drop point; γ is the parameter for controlling the slope mutation, in this embodiment, γ = 10 -8 .

[0048] Taking battery No. 1 in the data set as an example, the Bacon-Watts method is used to calculate the capacity drop point of the battery. The results are as follows: Figure 3 As shown, the intersection of the two straight lines is the capacity diving point, and its horizontal coordinate is 1629 circles.

[0049] S3: Divide the extracted voltage and current data into N-1 blocks with equal time intervals, and calculate the voltage difference sequence V between the 120th and 20th cycles m-n =V m -V n =[V1,V2,…,V N ] and the current difference sequence I m-n =I m -I n =[I1,I2,…,I N ], and then the voltage and current difference sequences are concatenated to form a feature matrix. After normalization, they are divided into training set and test set in a ratio of 8:2. The feature matrix is ​​as follows:

[0050]

[0051] In formula (2), L is the number of batteries, V LN Represents the Nth voltage difference of battery L, I LN is the Nth current difference of battery L, and in this embodiment, N=20.

[0052] S4: Construct a multi-strategy improved dung beetle optimization algorithm to optimize the BiTCN-BiLSTM model (MDBO-BiTCN-BiLSTM). Use MDBO to optimize the convolution kernel size, number of convolution kernels, learning rate, and number of neurons in the hidden layer of BiLSTM in the BiTCN-BiLSTM model to establish the optimal prediction model. The specific steps are as follows:

[0053] S41: Take the training set of step S3 as input and the number of cycles of the capacity diving point as output to build a BiTCN-BiLSTM model. Its structural diagram is as follows: Figure 4 As shown in the figure, the BiTCN branch and the BiLSTM branch are used to extract features with different focuses, and the feature complementarity of the two branches is achieved, thereby improving the prediction accuracy.

[0054] The BiTCN-BiLSTM model construction process is as follows:

[0055] For the BiTCN branch, the branch includes a forward TCN module and a reverse TCN module, which respectively realize forward and reverse feature extraction. The outputs of the two modules are fused by adding features, such as Figure 4 As shown, the forward TCN module and the reverse TCN module are both composed of two time residual blocks, and the output of the first time residual block is used as the input of the second time residual block. Both time residual blocks are connected by a first dilated causal convolution layer, a first weight normalization layer, a first RELU layer, a first dropout layer, a second dilated causal convolution layer, a second weight normalization layer, a second RELU layer and a second dropout layer. The dilation factors of the dilated causal convolution layer in the first time residual block and the second time residual block are 1 and 2, respectively. In addition, the input of the time residual block is mapped by 1*1 convolution identity and then added to the output feature of the second dropout layer as the output of the time residual block. In this embodiment, the drop rate of the dropout layer is 0.2;

[0056] For the forward TCN module, assuming the input sequence The output is f n×n (·) represents the dilated causal convolution with kernel n×n, g 1×1 (·) represents a convolution with a kernel of 1×1, LN(·) is weight normalization, d(·) is a dropout operation, RE(·) represents a RELU activation function, and ⊕ is feature addition. The output of this module is expressed as:

[0057]

[0058] For the reverse TCN module, the input is the reverse of the forward sequence, that is, the input sequence The output of this module is represented as:

[0059]

[0060] The output of the BiTCN module is the sum of the features of the forward and reverse TCN modules, that is,

[0061] For the BiLSTM branch, the branch is composed of the first BiLSTM layer, the first dropout layer, the second BiLSTM layer and the second dropout layer in sequence. The BiLSTM layer is composed of multiple forward and reverse LSTMs with opposite timing and independent of each other. Similar to BiTCN, BiLSTM obtains outputs in two directions through forward and reverse models, and obtains the output of BiLSTM by adding features. The mathematical model of the BiLSTM network is:

[0062]

[0063]

[0064] In the formula, and are the outputs of the forward and reverse LSTM models at time t respectively; g1 is the sigmoid function; and are the weights and biases of the forward LSTM model; and are the weights and biases of the reverse LSTM model; is the output of the BiLSTM model at time t.

[0065] The outputs of the BiTCN branch and the BiLSTM branch are fused by feature connection. Then the feature connection module is connected to the fully connected layer and the regression layer in sequence to obtain the BiTCN-BiLSTM model.

[0066] S42: MDBO is used to optimize the hyperparameters in the BiTCN-BiLSTM model, including the size of the convolution kernel, the number of convolution kernels, the learning rate, and the number of neurons in the hidden layer of the BiLSTM. DBO achieves global search and local utilization of space by simulating the rolling, dancing, foraging, stealing, and breeding behaviors of dung beetles. It has a faster convergence speed and stability, but still has problems such as lack of global exploration capabilities and easy to fall into local optimal points. The present invention introduces Tent chaotic mapping, subtraction optimizer algorithm, and dynamic weight coefficient to improve the dung beetle optimization algorithm, thereby enhancing the global exploration and local development capabilities of the algorithm and improving the accuracy of optimal solution. The specific steps are as follows:

[0067] (1) Initialize the population. In the present invention, the population size is 20, the maximum number of iterations is 20, the upper limit of the optimization variable is [5, 100, 0.01, 100] and the lower limit is [2, 20, 0.0001, 20]. The Tent chaotic map is introduced to generate the initial population to improve the distribution of the initial population in the search space and enhance its global search capability. The mathematical expression of the Tent chaotic map is:

[0068]

[0069] Wherein: x(k) is the function value of the kth mapping; x(k+1) is the function value of the k+1th mapping; k is the current mapping number; u is a random number between 0 and 1, and in this embodiment, u=0.499.

[0070] (2) Calculate the fitness of individuals in the population, where the fitness function is the mean square error loss, and divide the population into four small populations: rolling and dancing, breeding, foraging, and stealing according to the ratio of 1:1:1:2;

[0071] (3) The position of the rolling ball and dancing dung beetle is updated. The original DBO algorithm updates the position of the rolling ball dung beetle through formula (9):

[0072]

[0073] Where: t is the current iteration number; x i (t) represents the position of dung beetle i at the tth iteration; α is -1 or 1; k is a constant between 0-0.2; b is a constant between 0-1; △x is the environmental change; Xw is the global worst position; rand is a random number between 0-1. From formula (9), it can be seen that the rolling behavior only depends on the worst value and has the disadvantage of too many parameters. The subtraction optimizer algorithm, as a new optimization algorithm, has the advantages of simple principle and fast optimization speed. Therefore, the present invention replaces the position update formula of the rolling stage with the subtraction optimizer algorithm, and its position update formula is as follows:

[0074]

[0075] Where: r i is a random value that follows a normal distribution; N is the population of rolling balls and dancing dung beetles; sign is the signum function; x i (t) and x j (t) are the positions of the i-th and j-th dung beetles at the t-th iteration; F(x i (t)) and F(x j (t)) are x i (t) and x j (t) is the fitness value; v is a random number between 1 and 2.

[0076] The position update formula of the dancing dung beetle is as follows:

[0077]

[0078] When θ is 0, π / 2, and π, the dung beetle position is not updated.

[0079] (4) Update of breeding dung beetle location:

[0080]

[0081] B i (t+1)=X c +b1(B i (t)-Lb c )+b2(B i (t)-Ub c )(13);

[0082] Where, X c is the current local optimal position; Lb c and Ub c are the lower and upper limits of the spawning area respectively; R = 1-t / T, where T is the maximum number of iterations; Lb and Ub are the lower and upper limits of the optimization problem respectively. i (t) is the position of the i-th egg at the t-th iteration; b1 and b2 are both 1*D random vectors; D is the number of variables to be optimized.

[0083] (5) Foraging dung beetle location update:

[0084]

[0085] x i (t+1)=x i (t)+C1(x i (t)-Lb b )+C2(x i (t)-Ub b )(15);

[0086] Where: Lb b and Ub b are the lower and upper limits of the optimal foraging area respectively; X b is the global optimal position. C1 is a random number that follows a normal distribution; C2 is a random number between 0 and 1.

[0087] (6) Stealing dung beetle position update:

[0088] x i (t+1)=X b +S*g*(x i (t)-Xc |+|x i (t)-X b |)(16);

[0089] In the formula, S is a constant; g is a random vector of 1*D. It can be seen from the above formula that in the early stage of iteration, the thieving dung beetle approaches the global optimal solution and is prone to fall into the local optimal solution. The present invention introduces dynamic weight coefficients k1 and k2 to improve the thieving dung beetle position update formula. As shown in formula (17): in the early stage of iteration, the value of k2 is large, and the thieving dung beetle will look for a better position in the search space, improving the global exploration ability of the algorithm; as the number of iterations increases, k1 continues to increase, so that the dung beetle explores near the optimal point, improving the local development ability of the algorithm.

[0090]

[0091] (7) Update the global optimal solution and output the optimal solution when the maximum number of iterations is reached. After calculation, the optimal solutions of the hyperparameters are: convolution kernel size is 2×1, the number of convolution kernels is 72, the learning rate is 0.0021, and the number of hidden layer neurons is 30. The BiTCN-BiLSTM model is built based on the above hyperparameters.

[0092] S5: Use the optimal model to predict the test set. Figure 6 The figure shows the prediction results of different models. It can be seen from the figure that compared with the BiTCN and BiLSTM models, the predicted value and actual value of the MDBO-BiTCN-BiLSTM model are slightly different, indicating that the dual-branch structure proposed in the present invention can effectively improve the prediction accuracy. In order to quantitatively evaluate the accuracy of different models, this embodiment calculates the root mean square error (RMSE) and mean absolute percentage error (MAPE) of the prediction values ​​of different models. After calculation, the RMSE of the MDBO-BiTCN-BiLSTM model, the BiTCN model and the BiLSTM model are 37.9, 70.6 and 84.3 respectively, and the MAPE values ​​are 4.9%, 9.2% and 10.5% respectively, which further confirms the accuracy of the proposed model.

[0093]

[0094] Where: n is the number of samples; y i is the actual value, y p is the predicted value.

[0095] Embodiment 2:

[0096] like Figure 7 As shown, this implementation provides a lithium-ion battery capacity drop point prediction system, including:

[0097] The data processing unit is configured to extract voltage data at time t before the constant current-constant voltage turning point and current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process;

[0098] The feature extraction unit is configured to: divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix;

[0099] The diving point prediction unit is configured to: take the feature matrix as input, and obtain the final battery capacity diving point prediction result according to the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm.

[0100] The specific details of each unit can be found in the introduction of Example 1, which will not be repeated here.

[0101] It is understandable that the above-mentioned units can be separately or completely combined into one or several other units to constitute, or one (some) of the units can be further divided into multiple functionally smaller units to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the battery capacity diving point prediction system may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0102] According to another embodiment of the present application, the system described in this embodiment can be constructed and the battery capacity diving point prediction method of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.

[0103] Embodiment 3:

[0104] like Figure 8As shown, this implementation provides an electronic device, which includes a processor 1001, a communication interface 1002, and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 may be connected via a bus or other means.

[0105] Among them, the communication interface 1002 is used to receive and send data, the computer-readable storage medium 1003 can be stored in the memory of the electronic device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003.

[0106] Processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to implement corresponding method processes or corresponding functions.

[0107] The processor 1001 is configured to execute the following process:

[0108] Extract the voltage data at time t before the constant current-constant voltage turning point and the current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process;

[0109] Divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix;

[0110] Taking the feature matrix as input, the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm is used to obtain the final battery capacity diving point prediction result.

[0111] The details of each step are described in Example 1 and will not be repeated here.

[0112] Embodiment 4:

[0113] This implementation provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.

[0114] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.

[0115] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the following process:

[0116] Extract the voltage data at time t before the constant current-constant voltage turning point and the current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process;

[0117] Divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix;

[0118] Taking the feature matrix as input, the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm is used to obtain the final battery capacity diving point prediction result.

[0119] The details of each step are described in Example 1 and will not be repeated here.

[0120] Embodiment 5:

[0121] The present implementation provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the following process:

[0122] Extract the voltage data at time t before the constant current-constant voltage turning point and the current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process;

[0123] Divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix;

[0124] Taking the feature matrix as input, the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm is used to obtain the final battery capacity diving point prediction result.

[0125] The details of each step are described in Example 1 and will not be repeated here.

[0126] A person skilled in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0127] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instruction can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (for example, coaxial cable, optical fiber, digital line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server, a data center, etc. that contains one or more available media integration. Available media can be magnetic media (for example, floppy disk, hard disk, tape), optical media (for example, DVD), or semiconductor media (for example, solid-state drive (Solid State Disk, SSD)) and the like.

[0128] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for predicting a lithium-ion battery capacity drop point, characterized in that: The process includes: Extract the voltage data at time t before the constant current-constant voltage turning point and the current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process; Divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix; Taking the feature matrix as input, the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm is used to obtain the final battery capacity diving point prediction result.

2. The method for predicting the capacity drop point of a lithium-ion battery according to claim 1, wherein: When the BiTCN-BiLSTM model is trained, the number of cycles of the capacity diving point is used as output, wherein the determination of the number of cycles of the capacity diving point includes: Where Y is the battery capacity, a0 is the intercept of the diving point; a1 and a2 are the slopes of the two intersecting lines; x is the number of cycles; x k is the number of cycles of the capacity diving point; γ is the parameter that controls the sudden change of slope.

3. The method for predicting the capacity drop point of a lithium-ion battery according to claim 1, wherein: In the BiTCN-BiLSTM model, the BiTCN branch and the BiLSTM branch are used to extract features with different focuses, including: The BiTCN branch includes: a forward TCN module and a reverse TCN module, which respectively perform forward and reverse feature extraction. The outputs of the forward TCN module and the reverse TCN module are fused by feature addition. The forward TCN module and the reverse TCN module each include two time residual blocks, and the output of one time residual block is used as the input of another time residual block. Each of the temporal residual blocks comprises a first dilated causal convolutional layer, a first weight normalization layer, a first RELU layer, a first dropout layer, a second dilated causal convolutional layer, a second weight normalization layer, a second RELU layer and a second dropout layer connected in sequence, wherein the dilation factors of the two temporal residual blocks and the dilated causal convolutional layer in the temporal residual block are 1 and 2 respectively, and for any temporal residual block, the input data is mapped by 1*1 convolution identity and then element-wise added to the output of the second dropout layer as the output of this temporal residual block; The BiLSTM branch includes a first BiLSTM layer, a first dropout layer, a second BiLSTM layer, and a second dropout layer connected in sequence, wherein the BiLSTM layer includes a plurality of forward and reverse LSTMs that are opposite in time sequence and independent of each other, and outputs in two directions are obtained through forward and reverse models, and the output of the BiLSTM is obtained by adding features; The outputs of the BiTCN branch and the BiLSTM branch are fused by feature connection, and then the feature connection module is connected to the fully connected layer and the regression layer in sequence.

4. The method for predicting the capacity drop point of a lithium-ion battery according to claim 1, wherein: The hyperparameters in the BiTCN-BiLSTM model optimized by the dung beetle optimization algorithm are improved using multiple strategies, including: The initialization population is generated through the Tent chaotic map, including: Where: x(k) is the function value of the kth mapping, x(k+1) is the function value of the k+1th mapping, k is the current mapping number; u is a random number between 0 and 1, the closer the value is to 0.5, the more uniform the initial solution distribution is; Calculate the fitness of individuals in the population, where the fitness function is the mean square error loss, and divide the population into four small populations of rolling and dancing, breeding, foraging, and stealing according to the ratio of 1:1:1:

2.

5. The method for predicting the capacity drop point of a lithium-ion battery according to claim 4, characterized in that: The subtraction optimizer algorithm is used to update the position of the rolling dung beetle, including: Where: sign is the signum function, x i (t) and x j (t) are the positions of the i-th and j-th dung beetles at the t-th iteration, respectively. i (t)) and F(x j (t)) are x i (t) and x j (t), v is a random number between 1 and 2, N is the population of rolling balls and dancing dung beetles, r i is a random value that follows a normal distribution.

6. The method for predicting the capacity drop point of a lithium-ion battery according to claim 4 or 5, characterized in that: The dynamic weight coefficients k1 and k2 are introduced to improve the position update formula of the thieving dung beetle. In the early stage of iteration, the value of k2 is large, and the thieving dung beetle will look for a better position in the search space, improving the global exploration ability of the algorithm. As the number of iterations increases, k1 continues to increase, allowing the dung beetle to explore near the optimal point, improving the local development ability of the algorithm, including: Among them, X c is the current local optimal position, T is the maximum number of iterations, t is the tth iteration, S is a constant, g is a 1*D random vector, X b is the global optimal position, x i (t) is the position of the stealing dung beetle at the tth iteration, x i (t+1) is the position of the stealing dung beetle at the t+1th iteration; Update the global optimal solution, output the optimal solution when the maximum number of iterations is reached, and use it as the optimal parameter to build the BiTCN-BiLSTM model.

7. A lithium-ion battery capacity drop point prediction system, characterized in that: include: The data processing unit is configured to extract voltage data at time t before the constant current-constant voltage turning point and current data at time t after the constant current-constant voltage turning point in the m-th charging process and the n-th charging process; The feature extraction unit is configured to: divide the extracted voltage and current data into N-1 blocks at equal time intervals, calculate the voltage difference sequence and the current difference sequence of the m-th charging process and the n-th charging process, and concatenate the voltage difference sequence and the current difference sequence to form a feature matrix; The diving point prediction unit is configured to: take the feature matrix as input, and obtain the final battery capacity diving point prediction result according to the BiTCN-BiLSTM model optimized by the multi-strategy improved dung beetle optimization algorithm.

8. A computer device, characterized in that: include: a processor and a computer readable storage medium; a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method for predicting a lithium-ion battery capacity diving point according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the lithium-ion battery capacity diving point prediction method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for predicting a capacity diving point of a lithium-ion battery according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • A method for identifying battery capacity drop based on curve morphology

    CN112327192B

Cited By

  • Energy storage battery cycle life diving point prediction method and system

    CN119716573A

  • Grounding grid corrosion fault diagnosis method and system based on improved SABO

    CN120870737A