Unsupervised trajectory reconstruction-based lithium-ion battery overcharge diagnosis and quantification method and system

By employing an unsupervised trajectory reconstruction method and utilizing convolutional neural networks and long short-term memory network models, an overcharge diagnosis and quantification system for lithium-ion batteries is constructed. This system solves the problem of scarce sample labels in existing overcharge diagnosis technologies, achieves efficient overcharge identification and quantification, and improves the accuracy and stability of the diagnosis.

CN122860177BActive Publication Date: 2026-11-20SHANDONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611347642.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-20
Estimated Expiration
2046-09-02

AI Technical Summary

Technical Problem

Existing technologies are difficult to apply to real-world scenarios where overcharge data and tags are scarce in lithium-ion battery overcharge diagnosis, and they cannot quantify the degree of overcharge, posing safety risks and high economic costs.

Method used

An unsupervised trajectory reconstruction method is adopted, which utilizes a convolutional neural network-long short-term memory neural network-autoencoder model to construct a unified trajectory representation based on voltage and capacity data, thereby realizing the identification and quantification of overcharge state. By constructing a unified capacity grid and effectively masking the voltage vector, and combining standardization and normalization techniques, a dual-channel network input matrix is ​​constructed for overcharge diagnosis and quantification.

Benefits of technology

Despite the weak overcharge anomaly characteristics and limited sample labels, this system achieves high detection rate, high detection accuracy, and high accuracy in overcharge identification and quantification, providing a reliable basis for battery safety management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122860177B_ABST
    Figure CN122860177B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of lithium ion battery overcharge diagnosis, and provides a lithium ion battery overcharge diagnosis and quantification method and system based on unsupervised trajectory reconstruction, to solve the problem that existing deep learning models cannot simultaneously achieve overcharge diagnosis and overcharge degree quantification. The lithium ion battery overcharge diagnosis and quantification method based on unsupervised trajectory reconstruction comprises the following steps: mapping the original voltage-capacity curve of each sample in the target work step data set to a pre-constructed unified capacity grid to obtain an effective voltage vector; combining the normalized capacity sequence and the standardized voltage sequence to form a dual-channel network input matrix; processing the dual-channel network input matrix of the to-be-tested sample in the test set to obtain a reconstructed voltage vector output; comparing the deviation between the standardized effective voltage vector and the corresponding reconstructed voltage vector with an overcharge anomaly discrimination threshold to determine whether overcharge occurs and the overcharge degree, thereby achieving reliable identification of the overcharge state and continuous quantification of the severity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of lithium-ion battery overcharge diagnosis technology, and in particular to an unsupervised trajectory reconstruction method and system for lithium-ion battery overcharge diagnosis and quantification. Background Technology

[0002] Overcharging of lithium-ion batteries refers to the act of continuing to charge when the battery voltage, state of charge (SOC), or charged capacity exceeds the manufacturer's specified charging cutoff conditions. Existing technologies for overcharge diagnosis of lithium-ion batteries typically rely on a large number of well-labeled overcharge samples, making them unsuitable for real-world scenarios where overcharge data and labels are scarce. Most deep learning methods require simultaneously obtaining a large number of labeled samples under normal and different overcharge states to learn the classification boundaries between various fault categories. However, lithium-ion battery overcharging is cumulative and progressive. Long-term cyclic experiments with different overcharge cutoff voltages and cycle counts increase the time required, economic costs, and safety risks such as thermal runaway. Furthermore, most existing deep learning models identify overcharge faults through discrete classification, failing to achieve overcharge diagnosis and quantification of overcharge severity. Summary of the Invention

[0003] To address the aforementioned technical problems, this invention provides an unsupervised trajectory reconstruction method and system for diagnosing and quantifying overcharge in lithium-ion batteries. This method utilizes battery voltage and capacity data to construct a unified trajectory representation that preserves local morphological changes and global cumulative degradation information during overcharge, even with limited abnormal sample data. Furthermore, it achieves reliable identification of overcharge states and continuous quantification of severity without relying on training with labels for different overcharge levels.

[0004] To achieve the above objectives, the present invention adopts the following technical solution: The first aspect of the present invention provides an unsupervised trajectory reconstruction method for the diagnosis and quantification of overcharge in lithium-ion batteries.

[0005] In one or more embodiments, an unsupervised trajectory reconstruction method for diagnosing and quantifying overcharge in lithium-ion batteries is provided, including: A specific cycle in the lithium-ion battery capacity test data is selected as the target cycle, and the capacity test data of its constant current discharge section is extracted as a sample. The target process step dataset is constructed and merged into a test set and a verification set. The original voltage-capacity curve of each sample in the target process data set is mapped onto a pre-constructed unified capacity grid. Based on the one-dimensional linear interpolation method of the capacity axis, the interpolated voltage vector of each sample on the unified capacity grid is obtained. The effective voltage vector is obtained by processing all interpolated voltage vectors using an effective mask. The effective voltage vectors on the unified capacity grid are standardized, and the invalid voltage vectors are set to zero to obtain the standardized voltage sequence. The unified capacity grid is then normalized to obtain the normalized capacity sequence. The normalized capacity sequence and the standardized voltage sequence are combined to form a dual-channel network input matrix. The dual-channel network input matrix of the test samples in the test set is processed using a convolutional neural network-long short-term memory neural network-autoencoder model to obtain the reconstructed voltage vector output. The deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector is compared with the overcharge anomaly detection threshold to determine whether there is overcharging and the degree of overcharging; wherein, the overcharge anomaly detection threshold is determined by the reconstruction error distribution of the samples corresponding to the effective voltage vector in the validation set.

[0006] As one implementation, before mapping the original voltage-capacity curve of each sample in the target process data set to a pre-constructed uniform capacity grid, the method further includes: zeroing out the capacity sequence of each sample in the target process data set; ; in, Indicates the first The sample at the th The capacity value after each sampling point is zeroed out. Indicates the first The sample at the th The original capacity value before each sampling point is zeroed. Indicates the first The capacity vector of each sample in the target process step. Indicates the first The number of valid sampling points for each sample in the target process step; To obtain the minimum value.

[0007] As one implementation method, a unified capacity grid Represented as: ; ; in Represents the first in a uniform capacity grid One capacity point, Indicates the starting point of the capacity grid. Indicates the end point of the capacity grid. Indicates the length of the unified sequence; .

[0008] As one implementation method, when the first in the unified capacity grid Capacity points Falling into The adjacent capacity point interval of each sample Interpolated voltage Defined as: ; in and Indicates the first Adjacent capacity points in a sample after ascending sorting and deduplication and This indicates the corresponding adjacent voltage point.

[0009] As one implementation method, the effective mask is used to identify whether each uniform capacity point belongs to the true valid range: ; in Indicates the first The sample at the th Valid markers at uniform capacity points; and They represent the first The minimum and maximum values ​​of the actual sample size range; when When, it indicates the first The sample at the th The voltage at a uniform capacity point is valid data, when When, it indicates the first The sample at the th The voltage at each uniform capacity point is invalid data; Represents the first in a uniform capacity grid One capacity point.

[0010] As one implementation method, the effective voltage vector on the uniform capacity grid is standardized to obtain the standardized voltage value. : ; ; in This prevents small positive numbers with a denominator of zero. This represents the set of normal training sample indices. Indicates the first The sample at the th The interpolated voltage value at a uniform capacity point; Indicates the first The sample at the th Valid markers at uniform capacity points; Indicates the length of the unified sequence; and The mean and standard deviation are calculated using only the effective voltage vectors corresponding to normal samples in the training set.

[0011] As one implementation method, the uniform capacity grid is normalized, and the normalized capacity points are... for: ; in Represents the first in a uniform capacity grid One capacity point, Indicates the starting point of the capacity grid. Indicates the end point of the capacity grid. This indicates a small positive number that prevents the denominator from being zero.

[0012] As one implementation method, the deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector : ; in Indicates the first The sample at the th Reconstructed voltage vector at a unified capacity point; Indicates the first The sample at the th A standardized effective voltage vector at a uniform capacity point; This prevents small positive numbers with a denominator of zero; Indicates the length of the unified sequence; Indicates the first The sample at the th Valid markers at uniform capacity points.

[0013] As one implementation method, let the set of reconstruction errors for normal samples in the validation set be... For any sample to be tested Overcharge anomaly detection threshold for: ; in Indicates the first Diagnostic results for each sample to be tested. Indicates the first One sample was determined to be in a normal state. Indicates the first One sample was determined to be overcharged; For the first The deviation between the standardized effective voltage vector of a test sample and its corresponding reconstructed voltage vector; To obtain the maximum value.

[0014] A second aspect of the present invention provides an unsupervised trajectory reconstruction system for the diagnosis and quantification of overcharge in lithium-ion batteries.

[0015] In one or more embodiments, an unsupervised trajectory reconstruction lithium-ion battery overcharge diagnosis and quantification system includes: The sample set construction module is used to select a certain cycle in the lithium-ion battery capacity test data as the target cycle, extract the capacity test data of its constant current discharge section as the sample, and construct the target process step dataset, which is then merged into a test set and a verification set. The effective voltage vector acquisition module is used to map the original voltage-capacity curve of each sample in the target process data set to a pre-constructed unified capacity grid. Based on the one-dimensional linear interpolation method of the capacity axis, the interpolated voltage vector of each sample on the unified capacity grid is obtained, and the effective voltage vector is obtained by processing all interpolated voltage vectors using an effective mask. The network input matrix construction module is used to standardize the effective voltage vector on the unified capacity grid and set the invalid voltage vector to zero to obtain the standardized voltage sequence; it also performs normalization processing on the unified capacity grid to obtain the normalized capacity sequence; and combines the normalized capacity sequence with the standardized voltage sequence to form a dual-channel network input matrix. The reconstructed voltage vector output module is used to process the dual-channel network input matrix of the test samples in the test set using a convolutional neural network-long short-term memory neural network-autoencoder model to obtain the reconstructed voltage vector output. The overcharge diagnosis and quantification module is used to compare the deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector with the overcharge anomaly discrimination threshold to determine whether there is overcharging and the degree of overcharging; wherein, the overcharge anomaly discrimination threshold is determined by the reconstruction error distribution of the samples corresponding to the effective voltage vector in the validation set.

[0016] Compared with the prior art, the beneficial effects of the present invention are: This invention constructs a target process data set based on lithium-ion battery capacity test data from a certain cycle, maps the corresponding data onto a pre-constructed unified capacity grid, calculates the interpolated voltage vector, and processes it using an effective mask to obtain the effective voltage vector. A dual-channel network input matrix is ​​constructed based on the normalized capacity sequence and the standardized voltage sequence. A convolutional neural network-long short-term memory neural network-autoencoder model is combined to obtain the reconstructed voltage vector output. Finally, the deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector is compared with the overcharge anomaly discrimination threshold to determine whether overcharging has occurred and the degree of overcharging. In scenarios with weak overcharge anomaly characteristics and limited sample labels, this invention achieves high detection rate, high detection accuracy, and high accuracy in overcharge identification based on unsupervised trajectory reconstruction diagnosis. Furthermore, it quantifies the degree of overcharging, transforming weak signals into continuous quantifiable indicators, enabling accurate assessment of overcharging and providing a reliable basis for battery safety management and early warning. Attached Figure Description

[0017] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0018] Figure 1 This is a schematic diagram of the unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification according to an embodiment of the present invention. Figure 2 This is a flowchart of the unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification according to an embodiment of the present invention; Figure 3 These are voltage-capacity curves for different charging cutoff voltages under different cycles according to embodiments of the present invention; wherein, Figure 3 (a) in the figure represents the discharge curve after one charge-discharge cycle; Figure 3 (b) in the figure shows the discharge curve after two charge-discharge cycles; Figure 3 (c) in the figure represents the discharge curve after three charge-discharge cycles; Figure 3 In the figure, (d) represents the discharge curve after 4 charge-discharge cycles; Figure 3 (e) in the figure represents the discharge curve after 5 charge-discharge cycles; Figure 3 (f) in the figure represents the discharge curve after 6 charge-discharge cycles; Figure 3 (g) in the figure represents the discharge curve after 7 charge-discharge cycles; Figure 3 (h) in the figure represents the discharge curve after 8 charge-discharge cycles; Figure 3 In the figure, (i) represents the discharge curve after 9 charge-discharge cycles; Figure 3 In the figure, (j) represents the discharge curve after 10 charge-discharge cycles; Figure 4 This is a reconstruction error box plot according to an embodiment of the present invention; wherein, Figure 4 (a) is a box plot of the reconstruction error of battery B1 with a charging cutoff voltage of 4.2V, and batteries B2 and B3 with overcharge cutoff voltages of 4.4V and 4.6V respectively. Figure 4 (b) is a box plot of the reconstruction error of battery B4 with an overcharge cutoff voltage of 4.8V; Figure 5 This is the overcharge diagnosis result confusion matrix of this invention embodiment; Figure 6 This is the overcharge quantification matrix of this invention. Detailed Implementation

[0019] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0020] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0021] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0022] according to Figure 1 and Figure 2 The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification in this embodiment may include the following steps S101 to S105.

[0023] The specific implementation process of steps S101 to S105 is as follows: Step S101: Select a cycle from the lithium-ion battery capacity test data as the target cycle, extract the capacity test data of its constant current discharge section as a sample, and construct the target process step dataset, which is then merged into a test set and a validation set.

[0024] Lithium-ion battery capacity test data, including cycle number, operating mode, voltage, current, and capacity, forms the first... i The original data matrix of each sample : (1); in, , , , , They represent the first In the nth sample The cycle number, process mode, voltage, current, and capacity value corresponding to each sampling point; A specific cycle from the capacity test was selected as the target cycle, and the constant current discharge segment was extracted as the primary analysis object for overcharge diagnosis. The resulting target process data set was then compiled. It can be represented as: (2); in, Indicates the target cycle number. This represents the set of work step patterns corresponding to the target stage. These represent the lower and upper limits of the voltage screening range for the target stage, respectively. This step ensures that subsequent analyses are based only on the effective data range most relevant to overcharge degradation, thereby reducing the impact of irrelevant steps and boundary fluctuations on model training.

[0025] Before evaluating diagnostic performance, state labels need to be constructed for the samples based on the experimental grouping. It should be noted that although this invention uses an unsupervised reconstruction model for training, the sample labels are still needed during the testing phase to statistically evaluate the model's detection results. Let the... The status label of a sample for: (3); The main function of this label is in the model testing and result evaluation stage. In the model training stage, only normal samples are used for training to ensure that the model learns the distribution law of normal discharge voltage-capacity trajectory.

[0026] Step S102: Map the original voltage-capacity curve of each sample in the target process data set to a pre-constructed unified capacity grid. Based on the one-dimensional linear interpolation method of the capacity axis, obtain the interpolated voltage vector of each sample on the unified capacity grid. Then, process all interpolated voltage vectors using an effective mask to obtain the effective voltage vector.

[0027] Different samples may exhibit variations in initial capacity values, sampling lengths, and capacity coverage during capacity testing. Directly comparing the original features can easily introduce subjective biases caused by differences in capacity starting points. Therefore, we first examine the... The capacity sequence of each sample is zeroed out: (4); in, Indicates the first The sample at the th The capacity value after each sampling point is zeroed out. Indicates the first The sample at the th The original capacity value before each sampling point is zeroed. Indicates the first The capacity vector of each sample in the target process step. Indicates the first The number of valid sampling points for each sample in the target process step; To minimize the value, zeroing the capacity allows all samples to start from a uniform capacity starting point, thereby improving the comparability between voltage-capacity trajectories of different samples.

[0028] After zeroing the capacity, a fixed-length uniform capacity grid needs to be constructed to allow voltage-capacity curves of different lengths to be input into the same neural network model. (Uniform Capacity Grid) Represented as: ; (5); in Represents the first in a uniform capacity grid One capacity point, Indicates the starting point of the capacity grid. Indicates the end point of the capacity grid. Indicates the length of the unified sequence; This uniform capacity grid provides a unified coordinate reference for subsequent interpolation alignment and model input.

[0029] After establishing a unified capacity grid, the original voltage-capacity curve of each sample needs to be mapped onto this unified grid. Since the number and location of sampling points are not entirely consistent across different samples, this invention employs a one-dimensional linear interpolation method based on the capacity axis to obtain the voltage value at each point in the unified capacity grid. When the first... Capacity points Falling into The adjacent capacity point interval of each sample Interpolated voltage Defined as: (6); in and Indicates the first Adjacent capacity points in a sample after ascending sorting and deduplication and This represents the corresponding adjacent voltage points. Capacity-axis-based interpolation preserves the physical correspondence between voltage and capacity, making it more suitable for characterizing voltage shifts at the same capacity location caused by overcharging. This yields the... i Interpolated voltage vectors of samples on a uniform capacity grid : (7); After this step, voltage-capacity curves with different sampling lengths and sampling positions are uniformly converted into fixed-length trajectory representations, which facilitates subsequent batch training of neural networks.

[0030] Because different samples have different actual capacity coverage ranges, there may be points in the uniform capacity grid that exceed the true capacity range of a certain sample. Extrapolating these invalid points would introduce distortion, while simply padding them with zeros and including them in training would interfere with model learning. This invention constructs an effective mask to identify whether each uniform capacity point belongs to the true valid range: (8); in Indicates the first The sample at the th Valid markers at uniform capacity points; and They represent the first The minimum and maximum values ​​of the actual sample size range; when When, it indicates the first The sample at the th The voltage at a uniform capacity point is valid data, when When, it indicates the first The sample at the th The voltage at a uniform capacity point is invalid data and is not used in subsequent training and error calculation. Utilizing an effective mask... For the interpolated voltage vector The process is performed to obtain the effective voltage vector. : (9); Where ⊙ represents the Hadamard element-wise product. This step avoids invalid capacity intervals interfering with model training and reconstruction error evaluation.

[0031] Step S103: Standardize the effective voltage vector on the unified capacity grid and set the invalid voltage vector to zero to obtain the standardized voltage sequence; normalize the unified capacity grid to obtain the normalized capacity sequence; combine the normalized capacity sequence and the standardized voltage sequence to form a dual-channel network input matrix.

[0032] To eliminate voltage amplitude scale differences between different samples and avoid abnormal samples affecting the standardization benchmark, this invention only uses the effective voltage points of normal samples in the training set to calculate the mask-normalized mean. and standard deviation ; (10); in This prevents small positive numbers with a denominator of zero. This represents the set of normal training sample indices. Indicates the first The sample at the th The interpolated voltage value at a uniform capacity point; Indicates the first The sample at the th Valid markers at uniform capacity points; This represents the standardized sequence length. This process ensures that the standardized parameters are determined only by normal samples, thereby enhancing the stability of anomaly detection. Based on the above mean... and standard deviation , for the i The voltage of each sample is standardized, and the standardized voltage value is... : (11); For invalid locations, the normalized voltage is set to zero to maintain the consistency of the mask logic. Simultaneously, the unified capacity grid is normalized, resulting in normalized capacity points. : (12); This step maps capacity coordinates to a uniform scale, enabling the neural network to stably process capacity location information.

[0033] After completing capacity normalization and voltage standardization, the normalized capacity sequence and the standardized voltage sequence are combined to form the first... i The dual-channel network input matrix X for each sample i : (13); Compared to inputting only the voltage sequence, this dual-channel input can simultaneously retain the capacity location information and voltage amplitude information of the trajectory, enabling the model to better perceive the spatial structure and trajectory deviation of the voltage-capacity discharge curve.

[0034] Step S104: Use a convolutional neural network-long short-term memory neural network-autoencoder model to process the dual-channel network input matrix of the test samples in the test set to obtain the reconstructed voltage vector output.

[0035] To fully extract local morphological features and global sequence dependencies in the voltage-capacity relationship, this invention constructs a convolutional neural network-long short-term memory neural network-autoencoder model. The convolutional neural network module is responsible for extracting local trajectory morphology, the long short-term memory neural network module is responsible for modeling long-term dependencies on the capacity axis, and the autoencoder module is responsible for trajectory compression and reconstruction. For the convolutional neural network, the initial input... The convolutional layer extracts features from the local neighborhood by using a sliding convolution kernel. Let the first... The output of the first layer of convolution The features are The calculation process can be expressed as follows: (14); Where * denotes a one-dimensional convolution operation. Indicates the first l Layer r Each convolutional kernel parameter, Indicates the bias term. Represents a non-linear activation function. This represents the input features of the previous layer. The convolutional feature sequence is input into the Long Short-Term Memory (LSTM) neural network and undergoes the following process: (15); in This represents the first convolutional neural network. The convolutional channel at the _th convolutional channel in the _th ... Local features extracted near each capacity location, and These represent the hidden states of the previous and current time steps, respectively. and These represent the memory cell states at the previous and current time points, respectively. , , These represent the forget gate, input gate, and output gate, respectively. , , , These represent the input weight matrices corresponding to the forget gate, input gate, candidate memory unit, and output gate, respectively. , , , These represent the cyclic weight matrices corresponding to each gating structure. , , , These represent the corresponding bias vectors. This represents the Sigmoid activation function. This represents the hyperbolic tangent activation function. This represents the Hadamard element-wise product. The final reconstructed model output. : (16); in Indicates decoding mapping, This represents the encoding mapping. This expression provides an overall description of the model structure. This model structure can capture subtle local morphological changes and model the entire discharge process using sequence dependencies, thus making it suitable for unsupervised reconstruction learning of overcharged weak anomalous trajectories.

[0036] For the A sample to be tested is input into a matrix via dual channels. Input the trained convolutional neural network-long short-term memory neural network-autoencoder model to obtain the reconstructed output. .

[0037] Step S105: Compare the deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector with the overcharge anomaly detection threshold to determine whether it is overcharged and the degree of overcharge; wherein, the overcharge anomaly detection threshold is determined by the reconstruction error distribution of the samples corresponding to the effective voltage vector in the validation set.

[0038] Since the effective ranges of different samples on the unified capacity grid are not completely consistent, in order to avoid the influence of invalid zero-padding regions on error calculation, this invention uses masked MSE (Mean Square Error) as the reconstruction error evaluation index, and only calculates the deviation between the input voltage and the reconstructed voltage within the effective capacity range. : (17); in Indicates the first The sample at the th Reconstructed voltage vector at a unified capacity point; Indicates the first The sample at the th A standardized effective voltage vector at a uniform capacity point; This indicates the prevention of small positive numbers with a denominator of zero; Indicates the length of the unified sequence; Indicates the first The sample at the th Valid markers at a uniform capacity point.

[0039] After obtaining the reconstruction error, it is necessary to further determine the overfilling anomaly discrimination threshold. To ensure that the discrimination threshold can reflect the reconstruction error range of normal samples, this invention uses the reconstruction error distribution of normal samples in the validation set to determine the threshold. Let the set of reconstruction errors of normal samples in the validation set be... For any sample to be tested Based on its reconstruction error Abnormality detection threshold State determination of relationships: (18); in Indicates the first Diagnostic results for each sample to be tested. Indicates the first One sample was determined to be in a normal state. Indicates the first One sample was determined to be overcharged; For the first The deviation between the standardized effective voltage vector of a test sample and its corresponding reconstructed voltage vector; To obtain the maximum value.

[0040] Considering that reconstruction errors under different experimental conditions may span multiple orders of magnitude, directly using the original error for visualization can easily mask the differences between low-error regions. To enhance the distinguishability between different degrees of overfilling, this invention further performs a logarithmic transformation on the error matrix: (19); Among them, E (log) Let E represent the error matrix after logarithmic transformation, and let E represent the original reconstruction error matrix. (norm) The normalized overfilling degree quantization matrix min(E) represents the quantization matrix. (log) ) and max(E (log) The values ​​() represent the global minimum and global maximum values ​​in the logarithmic error matrix, respectively. After normalization, each element in the matrix lies within the range of 0-1. The closer the value is to 1, the greater the reconstruction error under the corresponding experimental conditions, the more significant the deviation of the discharge voltage-capacity trajectory from the normal pattern, and the higher the degree of overcharging. The closer the value is to 0, the closer the sample trajectory is to the normal state.

[0041] The experimental platform consisted of a constant temperature chamber, a battery tester, a main unit, and an ICR18650 / 15P ternary lithium battery. The battery had a rated capacity of 1500mAh, charge / discharge cutoff voltages of 4.2V and 2.5V, and maximum charge and discharge rates of 4C and 20C, respectively. All experiments were conducted in a constant temperature chamber at 25℃.

[0042] Four batteries with identical parameters and similar initial conditions were selected and numbered B1-B4, and each underwent 10 cycles of testing. B1 was used as a normal control group with a charging cutoff voltage of 4.2V; the overcharge cutoff voltages for B2-B4 were set to 4.4V, 4.6V, and 4.8V, respectively, to simulate different degrees of overcharge faults. By setting different cutoff voltages, battery samples with varying degrees of degradation can be obtained under controlled conditions, providing a data foundation for subsequent fault diagnosis and severity quantification.

[0043] After each overcharge cycle, standardized performance tests were performed on the corresponding batteries. The test procedure was as follows: after resting for 30 minutes, charging was performed at a constant current of 3.0A, and charging was stopped when the current dropped to 0.1A during the constant voltage phase; then, the batteries were rested for another 30 minutes, and then discharged at a constant current of 1.5A to 2.5V. The above test was repeated 3 times to obtain charge and discharge response data of batteries with different overcharge levels under the same operating conditions, providing a basis for subsequent feature extraction, fault diagnosis, and degree quantification.

[0044] Through the above steps, 44 initial voltage-capacity curves can be obtained, and the discharge curves for 1 to 10 charge-discharge cycles are shown below. Figure 3 As shown in (a)-(j) in the figure. The processed normal sample dual-channel voltage-capacity trajectory is input into the convolutional neural network-long short-term memory network-autoencoder model for unsupervised training. After the model is trained, the corresponding reconstruction error is obtained as shown in the figure. Figure 4 As shown in (a) and (b), the diagnosis is performed according to the discrimination condition of formula (18), and the confusion matrix of the diagnosis result is as follows. Figure 5 As shown, P is an abbreviation for positive and N is an abbreviation for negative, representing the presence and absence of overcharge faults, respectively. The true positive rate is calculated using TP / (TP+FN), the precision rate using TP / (TP+FP), and the accuracy rate using (TP+TN) / (TP+TN+FP+FN). Here, TP stands for True Positive (actually positive and predicted as positive), and FN stands for False Negative (actually positive but predicted as negative, resulting in a missed detection). The calculated detection rate, detection precision, and accuracy are 96.67%, 100%, and 96.97%, respectively, indicating that this method can achieve high-precision fault diagnosis even under conditions of weak overcharge anomaly characteristics and limited sample labels.

[0045] The reconstruction errors under each condition were organized into an error matrix. Then, the error matrix was logarithmically transformed and subjected to global min-max normalization, mapping it to the 0-1 interval. To visually demonstrate the distribution of overfilling under different experimental conditions, the normalized error matrix was plotted as follows: Figure 6 The heatmap shown shows that the quantization value of the 4.2V normal cutoff voltage group remained at a low level of 0.001-0.006, indicating that the trajectory of the normal samples was basically consistent with the normal trajectory distribution learned by the model. The quantization value of the 4.4V slightly overcharge group increased from 0.003 to 0.033, showing a slow upward trend, indicating that the trajectory deviation caused by slight overcharge was weak. The quantization value of 4.6V gradually increased from 0 to 0.192, indicating that the cumulative effect of overcharge gradually increased with the number of cycles. The quantization value of the 4.8V group increased most significantly, rising rapidly from 0.005 to 0.433 in the 5th cycle, and further increasing in the 6th-10th cycles, forming a significant high-value region. The heatmap results show that the distribution pattern of the normalized reconstruction error is consistent with the experimentally set overcharge cutoff voltage and number of overcharge cycles.

[0046] The method proposed in this invention can not only be adapted to the existing BMS framework in scenarios with weak overcharge anomaly features and limited sample labels, but also achieve overcharge identification with high detection rate, high detection accuracy, and high accuracy. Furthermore, it can quantify the degree of overcharge and provide a diagnostic and quantification method for overcharge faults based on unsupervised trajectory reconstruction.

[0047] The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification in this invention first obtains overcharge feature labels by acquiring voltage and capacity sequences based on the charging and discharging process and performing preprocessing. Then, a convolutional neural network is used to extract local morphological change features from the labels, and a long short-term memory network is used to model the long-range correlation between different positions on the capacity sequence. Finally, an autoencoder is introduced to learn the trajectory reconstruction pattern of normal battery samples in an unsupervised manner, and the fault diagnosis and severity quantification of overcharged batteries are achieved based on the reconstruction error, thereby improving the accuracy, stability, and applicability of diagnosis under weak overcharge anomaly features. The diagnostic process in this embodiment of the invention utilizes only the easily obtainable voltage and capacity signals from the BMS, avoiding application limitations caused by additional sensors, complex parameter identification, and destructive testing.

[0048] The embodiments of the present invention construct a structured trajectory anomaly representation model based on convolutional neural networks and long short-term memory networks, which can simultaneously capture the local features of overcharge trajectories and the global sequence correlation, so that the diagnosis has a high accuracy and a low false alarm rate.

[0049] This invention quantifies the degree of overcharging by reconstructing the error of an automatic encoder, transforming weak signals into continuous quantifiable indicators, thereby achieving accurate assessment of overcharging and providing a reliable basis for battery safety management and early warning.

[0050] In one or more embodiments, an unsupervised trajectory reconstruction lithium-ion battery overcharge diagnosis and quantification system is also provided, which can be implemented in software. The unsupervised trajectory reconstruction lithium-ion battery overcharge diagnosis and quantification system includes the following software modules: The sample set construction module is used to select a certain cycle in the lithium-ion battery capacity test data as the target cycle, extract the capacity test data of its constant current discharge section as the sample, and construct the target process step dataset, which is then merged into a test set and a verification set. The effective voltage vector acquisition module is used to map the original voltage-capacity curve of each sample in the target process data set to a pre-constructed unified capacity grid. Based on the one-dimensional linear interpolation method of the capacity axis, the interpolated voltage vector of each sample on the unified capacity grid is obtained, and the effective voltage vector is obtained by processing all interpolated voltage vectors using an effective mask. The network input matrix construction module is used to standardize the effective voltage vector on the unified capacity grid and set the invalid voltage vector to zero to obtain the standardized voltage sequence; it also performs normalization processing on the unified capacity grid to obtain the normalized capacity sequence; and combines the normalized capacity sequence with the standardized voltage sequence to form a dual-channel network input matrix. The reconstructed voltage vector output module is used to process the dual-channel network input matrix of the test samples in the test set using a convolutional neural network-long short-term memory neural network-autoencoder model to obtain the reconstructed voltage vector output. The overcharge diagnosis and quantification module is used to compare the deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector with the overcharge anomaly discrimination threshold to determine whether there is overcharging and the degree of overcharging; wherein, the overcharge anomaly discrimination threshold is determined by the reconstruction error distribution of the samples corresponding to the effective voltage vector in the validation set.

[0051] It should be noted that each module in the unsupervised trajectory reconstruction lithium-ion battery overcharge diagnosis and quantification system of the present invention corresponds one-to-one with each step in the unsupervised trajectory reconstruction lithium-ion battery overcharge diagnosis and quantification method of the above embodiments, and their specific implementation processes are the same, which will not be repeated here.

[0052] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including functions for executing... Figure 1 The program code for the method shown. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by the central processing unit, it performs the various functions defined in the apparatus of this application.

[0053] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0054] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. An unsupervised trajectory reconstruction method for overcharge diagnosis and quantification of lithium-ion batteries, characterized in that, include: A specific cycle in the lithium-ion battery capacity test data is selected as the target cycle, and the capacity test data of its constant current discharge section is extracted as a sample. The target process step dataset is constructed and merged into a test set and a verification set. The original voltage-capacity curve of each sample in the target process data set is mapped onto a pre-constructed unified capacity grid. Based on the one-dimensional linear interpolation method of the capacity axis, the interpolated voltage vector of each sample on the unified capacity grid is obtained. The effective voltage vector is obtained by processing all interpolated voltage vectors using an effective mask. The effective voltage vectors on the unified capacity grid are standardized, and the invalid voltage vectors are set to zero to obtain the standardized voltage sequence. The unified capacity grid is then normalized to obtain the normalized capacity sequence. The normalized capacity sequence and the standardized voltage sequence are combined to form a dual-channel network input matrix. The dual-channel network input matrix of the test samples in the test set is processed using a convolutional neural network-long short-term memory neural network-autoencoder model to obtain the reconstructed voltage vector output. The deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector is compared with the overcharge anomaly detection threshold to determine whether there is overcharging and the degree of overcharging; wherein, the overcharge anomaly detection threshold is determined by the reconstruction error distribution of the samples corresponding to the effective voltage vector in the validation set; Before mapping the original voltage-capacity curve of each sample in the target process data set to the pre-constructed uniform capacity grid, the following steps are also included: zeroing out the capacity sequence of each sample in the target process data set; ; in, Indicates the first The sample at the th The capacity value after each sampling point is zeroed out. Indicates the first The sample at the th The original capacity value before each sampling point is zeroed. Indicates the first The capacity vector of each sample in the target process step. Indicates the first The number of valid sampling points for each sample in the target process step; To obtain the minimum value; After standardizing the effective voltage vector on the uniform capacity grid, the standardized voltage value is obtained. : ; ; in This prevents small positive numbers with a denominator of zero. This represents the set of normal training sample indices. Indicates the first The sample at the th The interpolated voltage value at a uniform capacity point; Indicates the first The sample at the th Valid markers at uniform capacity points; Indicates the length of the unified sequence; and The mean and standard deviation are calculated using only the effective voltage vectors corresponding to normal samples in the training set. The deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector : ; in Indicates the first The sample at the th Reconstructed voltage vector at a unified capacity point; Indicates the first The sample at the th A standardized effective voltage vector at a uniform capacity point; This prevents small positive numbers with a denominator of zero; Indicates the length of the unified sequence; Indicates the first The sample at the th Valid markers at uniform capacity points; To enhance the distinguishability between different degrees of overfilling, a logarithmic transformation is performed on the error matrix: ; Among them, E (log) Let E represent the error matrix after logarithmic transformation, and let E represent the original reconstruction error matrix. (norm) The normalized overfilling degree quantization matrix min(E) represents the quantization matrix. (log) ) and max(E (log) ) represent the global minimum and global maximum values ​​in the logarithmic error matrix, respectively; after normalization, each element in the matrix is ​​located in the 0-1 interval; the closer the value is to 1, the greater the reconstruction error under the corresponding experimental conditions, the more obvious the deviation of the discharge voltage-capacity trajectory from the normal mode, and the higher the degree of overcharging; the closer the value is to 0, the closer the sample trajectory is to the normal state.

2. The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification as described in claim 1, characterized in that, Unified Capacity Grid Represented as: ; ; in Represents the first in a uniform capacity grid One capacity point, Indicates the starting point of the capacity grid. Indicates the end point of the capacity grid. Indicates the length of the unified sequence; .

3. The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification as described in claim 1, characterized in that, When the first in the uniform capacity grid Capacity points Falling into The adjacent capacity point interval of each sample Interpolated voltage Defined as: ; in and Indicates the first Adjacent capacity points in a sample after ascending sorting and deduplication and This indicates the corresponding adjacent voltage point.

4. The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification as described in claim 1, characterized in that, The valid mask is used to identify whether each uniform capacity point belongs to the true valid range: ; in Indicates the first The sample at the th Valid markers at uniform capacity points; and They represent the first The minimum and maximum values ​​of the actual sample size range; when When, it indicates the first The sample at the th The voltage at a uniform capacity point is valid data, when When, it indicates the first The sample at the th The voltage at each uniform capacity point is invalid data; Represents the first in a uniform capacity grid One capacity point.

5. The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification as described in claim 1, characterized in that, The unified capacity grid is normalized, and the normalized capacity points are obtained. for: ; in Represents the first in a uniform capacity grid One capacity point, Indicates the starting point of the capacity grid. Indicates the end point of the capacity grid. This indicates a small positive number that prevents the denominator from being zero.

6. The unsupervised trajectory reconstruction method for lithium-ion battery overcharge diagnosis and quantification as described in claim 1, characterized in that, Let the set of reconstruction errors for normal samples in the validation set be . For any sample to be tested Overcharge anomaly detection threshold for: ; in Indicates the first Diagnostic results for each sample to be tested. Indicates the first One sample was determined to be in a normal state. Indicates the first One sample was determined to be overcharged; For the first The deviation between the standardized effective voltage vector of a test sample and its corresponding reconstructed voltage vector; To obtain the maximum value.

7. An unsupervised trajectory reconstruction system for overcharge diagnosis and quantification of lithium-ion batteries, characterized in that, The method for overcharge diagnosis and quantification of lithium-ion batteries based on unsupervised trajectory reconstruction as described in any one of claims 1-6 includes: The sample set construction module is used to select a certain cycle in the lithium-ion battery capacity test data as the target cycle, extract the capacity test data of its constant current discharge section as the sample, and construct the target process step dataset, which is then merged into a test set and a verification set. The effective voltage vector acquisition module is used to map the original voltage-capacity curve of each sample in the target process data set to a pre-constructed unified capacity grid. Based on the one-dimensional linear interpolation method of the capacity axis, the interpolated voltage vector of each sample on the unified capacity grid is obtained, and the effective voltage vector is obtained by processing all interpolated voltage vectors using an effective mask. The network input matrix construction module is used to standardize the effective voltage vector on the unified capacity grid and set the invalid voltage vector to zero to obtain the standardized voltage sequence; it also performs normalization processing on the unified capacity grid to obtain the normalized capacity sequence; and combines the normalized capacity sequence with the standardized voltage sequence to form a dual-channel network input matrix. The reconstructed voltage vector output module is used to process the dual-channel network input matrix of the test samples in the test set using a convolutional neural network-long short-term memory neural network-autoencoder model to obtain the reconstructed voltage vector output. The overcharge diagnosis and quantification module is used to compare the deviation between the standardized effective voltage vector and its corresponding reconstructed voltage vector with the overcharge anomaly discrimination threshold to determine whether there is overcharging and the degree of overcharging; wherein, the overcharge anomaly discrimination threshold is determined by the reconstruction error distribution of the samples corresponding to the effective voltage vector in the validation set.

Citation Information

Patent Citations

  • Lithium battery energy storage system non-linear capacity recession trajectory prediction method

    CN119414247A

  • Energy storage consistency detection method based on dynamic time bending and application

    CN120802070A