Power battery abnormality detection method and system, and storage medium

The power battery anomaly detection method, which combines multimodal fusion autoencoder with statistical features, time-frequency graphs, and relative voltage pseudo-thermal graph features, solves the problem of insufficient identification capability in existing technologies and achieves efficient identification and localization of anomalies in individual power battery cells.

CN123136404APending Publication Date: 2026-11-20NANJING FORESTRY UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611284215.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing power battery anomaly detection methods rely on a single threshold or simple statistical indicators, which makes it difficult to identify early anomalies and cannot make full use of dynamic change information and the spatial distribution of the entire battery pack, resulting in insufficient identification capabilities.

Method used

A multimodal fusion autoencoder is adopted, which combines statistical features, time-frequency graph features and relative voltage pseudo-heatmap features. An anomaly detection model is constructed through self-supervised training, which integrates multi-source information and constructs anomaly scores to reduce the dependence on manual annotation.

Benefits of technology

It improves the ability to identify anomalies in individual power battery cells, enhances the sensitivity to early anomalies, accurately characterizes the spatial context of individual cells in the overall battery pack voltage distribution, reduces false alarms, and outputs vehicle-level, cell-level, and time-window-level anomaly results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136404A_ABST
    Figure CN123136404A_ABST
Patent Text Reader

Abstract

The application discloses a power battery abnormality detection method and system, and a storage medium, and comprises the following steps: acquiring vehicle power battery operation data; constructing three types of modal features for each target monomer; inputting the three types of modal features into a statistical feature coding branch, a time-frequency graph convolution coding branch and a pseudo-heat map convolution coding branch respectively, and forming a fusion representation through feature splicing and latent variable mapping; in the model training stage, the statistical features and the time-frequency graph are reconstructed in a self-supervised reconstruction manner, and the normal operation mode of the power battery is learned based on the reconstruction error; in the detection stage, an abnormality score is constructed according to the statistical feature reconstruction error and the time-frequency graph reconstruction error, and the monomer-level abnormality detection and positioning of the power battery are realized by combining the high-score threshold of the training set and the time smoothing strategy. The application can fuse low-dimensional statistical information, dynamic time-frequency information and whole-pack spatial distribution information, and improve the sensitivity, stability and interpretability of monomer abnormality detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of battery safety monitoring technology, specifically relating to a method and system for detecting abnormalities in power batteries, and a storage medium. Background Technology

[0002] As a core component of new energy vehicles, the operating status of power batteries directly affects the safety, reliability, and lifespan of the entire vehicle. Power battery systems typically consist of numerous individual cells connected in series and parallel; any abnormality in any single cell can affect the overall performance of the pack, and in severe cases, may even induce safety risks such as thermal runaway. Therefore, how to promptly identify potentially abnormal cells based on vehicle operating data is a crucial issue in the field of power battery safety monitoring. Existing power battery anomaly detection methods typically rely on single voltage thresholds, temperature thresholds, empirical rules, or simple statistical indicators. While these methods are simple to implement, they are easily affected by changes in operating conditions, charge / discharge states, individual vehicle differences, and sensor noise. When an anomaly is in its early stages, changes in cell voltage or temperature may not be obvious, making timely identification difficult using fixed thresholds alone. Furthermore, traditional methods often focus only on a single variable or a single moment, failing to fully utilize dynamic changes within a window and struggling to express the relative position and spatial context of the target cell within the overall pack voltage distribution.

[0003] In recent years, anomaly detection methods based on machine learning and deep learning have been increasingly applied to battery state monitoring. Among these, autoencoders, which learn the reconstruction patterns of normal samples and use reconstruction error as a representation of anomaly severity, are suitable for scenarios lacking anomaly labels or where anomaly samples are scarce. However, using only low-dimensional statistical features may make it difficult for the model to capture complex dynamic changes within a window; using only raw time-series or image-based features may lack interpretable statistical summaries. How to fuse statistical information, dynamic change information, and overall battery pack spatial distribution information is key to improving the performance of single-cell anomaly detection in power batteries. Therefore, it is necessary to propose a single-cell anomaly detection method for power batteries that can fuse multi-source features while simultaneously considering interpretability, dynamic sensitivity, and spatial contextual representation capabilities. Summary of the Invention

[0004] To address the problems existing in the prior art, this invention provides a method and system for detecting abnormalities in power batteries, as well as a storage medium, which solves the problems of insufficient single feature expression capability, limited sensitivity to early abnormalities, difficulty in combining the spatial relationship between the target individual cell and the entire battery pack, and strong dependence on abnormal sample labels in the prior art.

[0005] To achieve the above objectives, the present invention provides the following solution: A method for detecting abnormalities in a single power battery cell includes a training phase and a detection phase.

[0006] The training phase includes the following steps: First, acquire the operating data of the power batteries of multiple vehicles. The operating data is stored on a vehicle-by-vehicle basis, and the data for each vehicle includes time-series data of individual cell voltage, temperature, total current, total voltage, and state of charge. For each vehicle data file, read preset fields, including segment identifier, state of charge, total current, total voltage, multiple individual cell voltage columns, and multiple temperature columns.

[0007] Second, the vehicle operation data is preprocessed. For total current, total voltage, and state of charge data, missing values ​​are imputed using linear interpolation; for individual unit voltage and temperature data, missing values ​​are imputed using forward and backward padding. Subsequently, continuous segments are selected from the vehicle data based on segment identifiers, and the number of data frames for each vehicle participating in training is limited to a preset value. Furthermore, when generating window samples, the vehicle data is split according to segment identifiers, and sliding window segmentation is only performed within the same segment to avoid non-realistic jumps caused by windows crossing the boundaries of different segments.

[0008] Third, construct training window samples. For each training vehicle, randomly select several individual units as target units. For each target unit, slide segmentation is performed within the same segment using a preset window length and step size to obtain multiple "target unit-time window" samples.

[0009] Fourth, three types of modal features are constructed for each window sample. The first type is statistical features, including the average deviation of the target cell voltage relative to the average voltage of the entire package, the average state of charge of the window, the mean absolute value of the voltage difference of the target cell, the maximum absolute value of the total current within the window, and the average temperature of the window. The second type is time-frequency map features, which involves calculating the first-order difference of the target cell voltage sequence and performing a short-time Fourier transform on the difference sequence to obtain a time-frequency map reflecting the dynamic change pattern of the target cell. The third type is relative voltage pseudo-heatmap features, which involves calculating the deviation matrix of all cell voltages within the window relative to the average voltage of the entire package, interpolating it to a fixed width, and stacking it with the target cell location mask to form an image feature containing the spatial distribution context of the entire package and the location information of the target cell.

[0010] Fifth, a multimodal fusion autoencoder is constructed. This multimodal fusion autoencoder includes a statistical feature encoding branch, a time-frequency map encoding branch, a pseudo-heatmap encoding branch, a fusion layer, a statistical feature decoding branch, and a time-frequency map decoding branch. The statistical feature encoding branch employs a multilayer perceptron structure to map statistical features to statistical embedded features; the time-frequency map encoding branch employs a convolutional neural network structure to map the time-frequency map to time-frequency embedded features; and the pseudo-heatmap encoding branch employs a convolutional neural network structure to map the relative voltage pseudo-heatmap to spatial context embedded features. These three types of embedded features are concatenated and input into the fusion layer to obtain a fusion latent variable representation. Subsequently, the statistical feature decoding branch reconstructs the statistical features based on the fusion latent variables, and the time-frequency map decoding branch reconstructs the time-frequency map based on the fusion latent variables. The pseudo-heatmap branch is only used for encoding fusion and does not directly participate in decoding reconstruction.

[0011] Self-supervised training is performed. During training, the original statistical features and the original time-frequency plot are used as reconstruction targets. The reconstruction errors of the statistical features and the time-frequency plot are calculated separately, and the total loss function is constructed based on the weighted sum of the two.

[0012] Determine the anomaly detection threshold. After the model training is complete, input the training set window samples into the trained multimodal fusion autoencoder and calculate the anomaly score for each sample.

[0013] The testing phase includes the following steps: First, the system reads the operational data of the vehicle to be detected and uses the same missing value handling and feature construction methods as in the training phase. If the length of the vehicle data exceeds a preset number of frames, the last continuous data is selected for detection.

[0014] Second, for each individual unit in the vehicle to be tested, a sliding window is segmented according to a preset window length and step size; statistical features, time-frequency graph features, and relative voltage pseudo-heatmap features are constructed for each window. The statistical features are standardized using the mean and standard deviation saved during the training phase.

[0015] Third, the three modal features of each window sample are input into the trained multimodal fusion autoencoder to obtain statistical feature reconstruction results and time-frequency map reconstruction results, and the window-level anomaly score is calculated.

[0016] Fourth, anomaly scores from all individuals and all windows are combined into an individual-window anomaly score matrix. Further, the anomaly score sequence for each individual along the window direction is smoothed using an exponential moving average to suppress transient noise and enhance persistent anomaly trends.

[0017] Fifth, the smoothed anomaly score is compared with the anomaly detection threshold obtained during the training phase; when the anomaly score of a target unit in one or more windows exceeds the threshold, it is determined that the target unit has an anomaly risk within the corresponding time window. Finally, vehicle-level, unit-level, and time-window-level anomaly detection results are output.

[0018] The present invention also provides a power battery anomaly detection system, comprising: The data acquisition module is used to acquire operating data of the power battery vehicle; The data preprocessing module is used to process the vehicle operation data by handling missing values, selecting continuous segments, and segmenting by sliding windows. The multimodal feature construction module is used to construct statistical features, time-frequency plot features, and relative voltage pseudo-heatmap features for the target unit. The multimodal fusion modeling module is used to input the statistical features, time-frequency graph features, and relative voltage pseudo-heatmap features into the multimodal fusion autoencoder to obtain the statistical feature reconstruction results and the time-frequency graph reconstruction results; The anomaly score calculation module is used to calculate the anomaly score based on the statistical feature reconstruction error and the time-frequency plot reconstruction error. The threshold discrimination module is used to determine whether a target single entity is abnormal based on the high quantile threshold of the training set; The results output module is used to output anomaly detection results at the vehicle level, single-unit level, and time window level.

[0019] The present invention also provides a storage medium storing a computer program, which executes a power battery anomaly detection method when running.

[0020] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. This invention integrates statistical features, time-frequency graph features, and relative voltage pseudo-heatmap features, which can simultaneously characterize the low-dimensional operational summary, dynamic change pattern, and spatial context of the target unit in the overall voltage distribution. Compared with single threshold or single feature methods, it has a stronger information expression capability.

[0021] 2. This invention adopts a self-supervised reconstruction learning method, which does not require a large number of manually labeled abnormal samples, and is suitable for power battery safety monitoring scenarios where abnormal samples such as thermal runaway and single-cell abnormalities are scarce.

[0022] 3. This invention constructs samples by using a sliding window within a segment, avoiding false jumps caused by the window crossing different running segments and improving the physical consistency of training samples.

[0023] 4. In this invention, the relative voltage pseudo-heatmap not only characterizes the voltage distribution of individual cells in the entire package, but also clarifies the position of the target cell in the entire package through the target cell position mask, thereby enhancing the model's ability to understand the spatial background of the target cell.

[0024] 5. This invention constructs anomaly scores by reconstructing errors from statistical features and time-frequency graphs, and automatically determines anomaly thresholds from the error distribution of the training set, thereby reducing the instability of manually set thresholds.

[0025] 6. In the detection stage, the present invention performs time smoothing on the single abnormal fraction sequence, which helps to reduce false alarms caused by instantaneous noise and highlights persistent abnormal trends.

[0026] 7. This invention can output anomaly results at the vehicle level, unit level, and time window level, which facilitates subsequent anomaly localization, trend analysis, and safety early warning. Attached Figure Description

[0027] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a flowchart of the power battery anomaly detection method of the present invention; Figure 2 This is a flowchart of another power battery anomaly detection method according to the present invention; Figure 3 This is a schematic diagram illustrating the construction of multimodal features in this invention; Figure 4 This is a schematic diagram of the multimodal fusion autoencoder structure of the present invention; Figure 5 This is a flowchart of the model training process of the present invention; Figure 6 This is a diagram showing the early warning results of the thermal runaway vehicle in this invention; Figure 7 This is a diagram showing the normal vehicle warning result of the present invention; Figure 8 This is a schematic diagram of the system module structure of the present invention. Detailed Implementation

[0029] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0030] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0031] Example 1 like Figure 1 As shown, the present invention provides a method for detecting abnormalities in a power battery, comprising: S1, acquire vehicle operating data of power battery, the vehicle operating data includes multiple cell voltage data, vehicle total current data, vehicle total voltage data, state of charge data and temperature data; S2, preprocess the vehicle operation data, the preprocessing includes reading preset fields, filling missing values, selecting continuous segments, and segmenting samples based on time windows; S3. For each target unit and its corresponding time window, construct multimodal input features. The multimodal input features include at least statistical features, time-frequency graph features, and relative voltage pseudo-heatmap features. S4, input the statistical features, time-frequency graph features and relative voltage pseudo-heatmap features into the statistical feature encoding branch, time-frequency graph encoding branch and pseudo-heatmap encoding branch of the multimodal fusion autoencoder respectively to obtain the corresponding modal embedding features; S5, fuse the embedded features of each modality to obtain the fused latent variable representation; S6, based on the fused latent variable representation, reconstruct statistical features and time-frequency plot features, and construct anomaly scores based on the statistical feature reconstruction error and the time-frequency plot reconstruction error; S7. Determine the anomaly detection threshold based on the anomaly score distribution in the training set, and determine the anomaly entity and anomaly time window in the vehicle data to be detected based on the comparison result between the anomaly score and the anomaly detection threshold.

[0032] As one embodiment of the present invention, in step S2, the missing value filling includes: linear interpolation of the total current, total voltage and state of charge data, and forward filling and backward filling of the individual unit voltage data and temperature data.

[0033] As one embodiment of the present invention, in step S2, the continuous segment selection includes: selecting continuous segments based on segment identifiers in vehicle operation data, and performing sliding window segmentation within each segment to avoid the same time window crossing different segment boundaries.

[0034] As one embodiment of the present invention, the statistical features include at least one of the following: the average deviation of the target cell relative to the average voltage of the whole package, the average state of charge of the window, the mean absolute value of the voltage difference of the target cell, the maximum absolute value of the total current within the window, and the average temperature of the window.

[0035] As one embodiment of the present invention, the construction of the time-frequency graph features includes: performing a first-order difference on the target unit voltage sequence to obtain a voltage change sequence; performing a short-time Fourier transform on the voltage change sequence to obtain a time-frequency graph; and performing standardization processing on the time-frequency graph.

[0036] As one embodiment of the present invention, the construction of the relative voltage pseudo-heatmap feature includes: calculating the deviation matrix of all individual cell voltages relative to the average voltage of the entire package within a time window; interpolating the deviation matrix to a preset width along the individual cell index direction; constructing a target individual cell position mask; and stacking the deviation matrix and the target individual cell position mask in channels to obtain the relative voltage pseudo-heatmap feature.

[0037] As one embodiment of the present invention, the multimodal fusion autoencoder includes a statistical feature coding branch, a time-frequency map coding branch, a pseudo-heatmap coding branch, a fusion layer, a statistical feature decoding branch, and a time-frequency map decoding branch; wherein, the pseudo-heatmap coding branch only participates in the construction of the fusion latent variable representation and does not participate in the reconstruction output.

[0038] In one embodiment of the present invention, the statistical feature encoding branch is a multilayer perceptron structure, the time-frequency map encoding branch is a convolutional neural network structure, and the pseudo-heatmap encoding branch is a convolutional neural network structure; the embedded features output by each encoding branch are concatenated and input into a fully connected layer to obtain a fused latent variable representation.

[0039] In one embodiment of the present invention, in step S7, the anomaly detection threshold is determined by the high quantile of the anomaly scores in the training set.

[0040] In one embodiment of the present invention, in step S7, an abnormal score sequence is obtained for each individual along the time window direction, and the abnormal score sequence is smoothed by exponential moving average. Then, the abnormal result is determined based on the smoothed abnormal score and the abnormal detection threshold.

[0041] Example 2 like Figure 2 As shown, this invention provides a method for detecting anomalies in power batteries, comprising a model training phase and an online detection phase. This method, through a self-supervised reconstruction learning mechanism, deeply integrates low-dimensional statistical information, dynamic change patterns, and contextual information of the entire battery pack's spatial distribution, thereby effectively identifying potential early-stage abnormal cells.

[0042] In the data acquisition and preprocessing stage, the system first acquires the operating data of the power batteries of multiple new energy vehicles. The data is stored on a vehicle-by-vehicle basis, and preset fields including segment identifier, state of charge (SOC), total current, total voltage, multiple individual cell voltage columns, and multiple temperature columns are read. Due to sensor transmission and other reasons, there may be missing data. The preprocessing process cleans and completes the missing values. The total current, total voltage, and SOC data of the vehicle are completed using linear interpolation, while the individual cell voltage data and temperature data are completed using forward and backward padding. To ensure the physical consistency of the training samples and control the computational scale, the system selects continuous running segments from the vehicle data based on the segment identifier and limits the number of data frames for each vehicle participating in training to no more than a preset value. When constructing window samples, the vehicle data is split according to the segment identifier, and the sliding window is only divided within the same segment according to the preset window length and step size, thereby avoiding unrealistic physical jumps caused by the time window crossing the boundaries of different segments.

[0043] In the multimodal input feature construction stage, for each selected target single entity and its corresponding time window, the following is constructed: Figure 3 The three types of complementary features are shown.

[0044] The first type of feature is a window-level statistical feature. The extracted feature vector includes the target cell relative voltage, cell voltage change rate, window average temperature, window maximum total current, and window average state of charge, which are used to characterize the low-dimensional operational summary within the window.

[0045] Individual relative voltage is defined at time step Next, the Relative voltage deviation of individual cells :

[0046] In the formula, For the first The absolute voltage of each individual unit; This represents the average voltage of all cells within the current time step. Take as the minimum constant This is to prevent the denominator from being zero.

[0047] The rate of change of single-unit voltage is extracted using the first-order forward difference. Individual at time step voltage change rate :

[0048] The window average temperature is the average of the temperatures of all probes within the window, serving as a baseline thermodynamic parameter characterizing the current overall thermal state of the battery system.

[0049] In the formula, This represents the total number of effective temperature probes. For the first Each probe at time step Temperature value.

[0050] The maximum total current within the window is used to characterize the macroscopic load intensity at that window location, and the maximum value of the total current sequence of the system within the sliding window is extracted:

[0051] The window-averaged state of charge (SOC) is calculated by rounding the average SOC of the system within the sliding window, and used as a macroscopic state characteristic to characterize the depth of battery charge and discharge.

[0052] The second type of feature is the time-frequency graph feature. Its construction process is to perform a first-order difference on the voltage sequence of the target unit within the current window to obtain a voltage change sequence, and then perform a short-time Fourier transform (STFT) on the sequence to convert it into a time-frequency graph that reflects the dynamic change pattern, and then perform standardization processing.

[0053] The third type of feature is the relative voltage pseudo-heatmap feature. First, the deviation matrix of all individual cell voltages relative to the average voltage of the whole package within the current time window is calculated. Then, it is linearly interpolated along the individual cell index direction to scale it to a preset fixed width. Subsequently, a target individual cell position mask is constructed, and the deviation matrix and position mask are stacked in channels to finally form an image feature containing the spatial distribution context of the whole package and the position information of the target individual cell.

[0054] As attached Figure 4 As shown, the multimodal fusion autoencoder constructed in this embodiment consists of a statistical feature encoding branch, a time-frequency map encoding branch, a pseudo-heatmap encoding branch, a feature fusion layer, a statistical feature decoding branch, and a time-frequency map decoding branch. In the encoding mapping process, the statistical feature encoding branch adopts a multilayer perceptron (MLP) structure, mapping low-dimensional statistical features to statistical embedded features through cascaded fully connected layers and the ReLU activation function. Both the time-frequency map encoding branch and the pseudo-heatmap encoding branch adopt a convolutional neural network (CNN) structure. They respectively map the time-frequency map features and the relative voltage pseudo-heatmap features into time-frequency embedded features through convolutional layers, ReLU activation functions, max pooling layers, and global average pooling layers. The three types of embedded features are concatenated in the feature fusion layer and then input into the fully connected layer, where they are mapped and compressed to form the final unified fused latent variable representation. Subsequently, the statistical feature decoding branch and the time-frequency plot decoding branch reconstruct the original statistical features and the original time-frequency plot based on the fusion latent variable, respectively, while the pseudo-heatmap encoding branch only participates in the construction of the fusion latent variable representation to provide spatial background and does not directly participate in the decoding and reconstruction output.

[0055] Both model training and outlier score calculation phases employ a self-supervised reconstruction approach, as shown in the attached diagram. Figure 5 As shown, during model training, completely normal operating data of the power battery was used as samples, with the original statistical features and the original time-frequency graph as the reconstruction targets. The reconstruction error was calculated using the mean absolute error (MAE). The reconstruction errors of the statistical features and the time-frequency graph were calculated separately, and the total loss function was constructed based on their weighted sum.

[0056] in, For statistical feature reconstruction error, For time-frequency plot reconstruction error, These are the error weighting coefficients for time-frequency plot reconstruction.

[0057] To prevent overfitting, Dropout 0.2 and L2 regularization are introduced in the multimodal model. The optimizer is Adam, the batch size is set to 16, the maximum number of epochs is set to 180, and the initial learning rate is set to 0.001. During training, the validation set loss is monitored; if the validation loss does not decrease for 8 consecutive epochs, the learning rate is reduced by a decay factor of 0.1 (locked at a minimum of 1e-6). If the validation performance does not improve for 20 consecutive epochs, an early stopping mechanism is triggered. After model training, inputting the windowed samples into the model calculates the corresponding statistical feature reconstruction error and time-frequency plot reconstruction error, and the window-level outlier score is determined according to the following formula:

[0058] Among them, Indicates the statistical feature reconstruction error. This indicates the time-frequency plot reconstruction error. The weighting coefficients represent the time-frequency plot reconstruction error.

[0059] By statistically analyzing the overall distribution of abnormal scores in the training set samples, the high quantile of the abnormal scores in the training set is automatically determined as the abnormal detection threshold (in this project example, the abnormal threshold is determined to be 0.58), thereby reducing the instability of manually set thresholds.

[0060] During the detection phase, the system reads the operational data of the vehicles to be detected and employs the same missing value handling and multimodal feature construction methods as in the training phase. For each individual vehicle, a sliding window is segmented according to a preset window length and step size. The constructed three-class modal features are then input into a trained multimodal fusion autoencoder to obtain statistical feature reconstruction results and time-frequency map reconstruction results. This results in the calculation of window-level anomaly scores, forming a single-entity-window anomaly score matrix. To eliminate occasional false alarms caused by transient noise, the system performs exponential moving average (EMA) smoothing on the anomaly score sequence of each individual vehicle along the time window direction to enhance the persistence of anomaly trends. Combined with the attached... Figure 6 and attached Figure 7 Analyzing engineering examples, when normal vehicle data in good operating condition is input into the system (as shown in the attached figure) Figure 7 As shown in the figure, during the continuous time window evolution, the smoothed anomaly scores of all individual cells in the pack fluctuated steadily within a low range and did not exceed the anomaly detection threshold of 0.58. The system ultimately determined that the vehicle was operating normally. However, when historical data of a vehicle that had experienced thermal runaway was input into the system for retrospective detection (as shown in the attached figure), Figure 6 As shown in the figure, when the time window reached approximately 190, the smoothed anomaly score of the target cell, Cell 26, rapidly increased and exceeded the anomaly threshold of 0.58, indicating a significant anomaly exceeding the threshold. Simultaneously, the anomaly score of Cell 13 also showed an upward trend later but did not exceed the threshold. Based on this, the system determined that the vehicle posed an anomaly risk, successfully achieving early anomaly localization and safety warning at the vehicle, cell (located to Cell 26), and time window levels (located near window 190).

[0061] Example 3 like Figure 8 As shown, the present invention also provides a power battery anomaly detection system, comprising: The data acquisition module is used to acquire operating data of the power battery vehicle; The data preprocessing module is used to process the vehicle operation data by handling missing values, selecting continuous segments, and segmenting by sliding windows. The multimodal feature construction module is used to construct statistical features, time-frequency plot features, and relative voltage pseudo-heatmap features for the target unit. The multimodal fusion modeling module is used to input the statistical features, time-frequency graph features, and relative voltage pseudo-heatmap features into the multimodal fusion autoencoder to obtain the statistical feature reconstruction results and the time-frequency graph reconstruction results; The anomaly score calculation module is used to calculate the anomaly score based on the statistical feature reconstruction error and the time-frequency plot reconstruction error. The threshold discrimination module is used to determine whether a target single entity is abnormal based on the high quantile threshold of the training set; The results output module is used to output anomaly detection results at the vehicle level, single-unit level, and time window level.

[0062] Example 4 The present invention also provides a storage medium storing a computer program, which executes a power battery anomaly detection method when running.

[0063] The embodiments described above are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made to the technical solutions of the present invention by those skilled in the art without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.

Claims

1. A method for detecting abnormalities in a power battery, characterized in that, include: Acquire vehicle power battery operating data; Missing values ​​are processed, continuous segments are selected and sliding windows are used to divide the vehicle power battery operation data. Three types of modal features are constructed for each target cell, including window-level statistical features, time-frequency map features based on the voltage difference of the target cell, and relative voltage pseudo-heatmap features that characterize the relative position and deviation state of the target cell in the overall voltage distribution of the battery pack. The three types of modal features are respectively input into the statistical feature coding branch, time-frequency map convolutional coding branch, and pseudo-heatmap convolutional coding branch of the multimodal fusion autoencoder, and then formed into a fusion representation through feature concatenation and latent variable mapping; Based on the fused latent variable representation, the statistical features and time-frequency plot features are reconstructed, and anomaly scores are constructed according to the statistical feature reconstruction error and the time-frequency plot reconstruction error. Anomaly detection thresholds are determined based on the anomaly score distribution in the training set, and anomaly entities and anomaly time windows are determined in the vehicle data to be detected based on the comparison results between the anomaly scores and the anomaly detection thresholds.

2. The power battery anomaly detection method as described in claim 1, characterized in that, The operating data includes individual cell voltage, total current, total voltage, state of charge, and temperature data.

3. The power battery anomaly detection method as described in claim 2, characterized in that, The statistical characteristics include at least one of the following: the average deviation of the target cell relative to the average voltage of the whole package, the average state of charge of the window, the mean absolute value of the voltage difference of the target cell, the maximum absolute value of the total current within the window, and the average temperature of the window.

4. The power battery anomaly detection method as described in claim 3, characterized in that, The construction of the time-frequency graph features includes: performing a first-order difference on the target unit voltage sequence to obtain a voltage change sequence; performing a short-time Fourier transform on the voltage change sequence to obtain a time-frequency graph; and performing standardization processing on the time-frequency graph.

5. The power battery anomaly detection method as described in claim 4, characterized in that, The construction of the relative voltage pseudo-heatmap feature includes: calculating the deviation matrix of all individual cell voltages relative to the average voltage of the entire package within a time window; interpolating the deviation matrix to a preset width along the individual cell index direction; constructing a target individual cell position mask; and stacking the deviation matrix and the target individual cell position mask in channels to obtain the relative voltage pseudo-heatmap feature.

6. The power battery anomaly detection method as described in claim 5, characterized in that, The multimodal fusion autoencoder includes a statistical feature coding branch, a time-frequency map coding branch, a pseudo-heatmap coding branch, a fusion layer, a statistical feature decoding branch, and a time-frequency map decoding branch; wherein, the pseudo-heatmap coding branch only participates in the construction of the fusion latent variable representation and does not participate in the reconstruction output.

7. The power battery anomaly detection method as described in claim 6, characterized in that, The statistical feature encoding branch is a multilayer perceptron structure, the time-frequency map encoding branch is a convolutional neural network structure, and the pseudo-heatmap encoding branch is a convolutional neural network structure; the embedded features output by each encoding branch are concatenated and input into a fully connected layer to obtain a fused latent variable representation.

8. The power battery anomaly detection method as described in claim 7, characterized in that, During the detection phase, an anomaly score sequence is obtained for each individual along the time window direction, and the anomaly score sequence is smoothed by exponential moving average. Then, the anomaly result is determined based on the smoothed anomaly score and the anomaly detection threshold.

9. A power battery anomaly detection system, characterized in that, include: The data acquisition module is used to acquire operating data of the power battery vehicle; The data preprocessing module is used to process the vehicle operation data by handling missing values, selecting continuous segments, and segmenting by sliding windows. The multimodal feature construction module is used to construct statistical features, time-frequency plot features, and relative voltage pseudo-heatmap features for the target unit. The multimodal fusion modeling module is used to input the statistical features, time-frequency graph features, and relative voltage pseudo-heatmap features into the multimodal fusion autoencoder to obtain the statistical feature reconstruction results and the time-frequency graph reconstruction results; The anomaly score calculation module is used to calculate the anomaly score based on the statistical feature reconstruction error and the time-frequency plot reconstruction error. The threshold discrimination module is used to determine whether a target single entity is abnormal based on the high quantile threshold of the training set; The results output module is used to output anomaly detection results at the vehicle level, single-unit level, and time window level.

10. A storage medium, characterized in that, The storage medium stores a computer program, which executes the power battery anomaly detection method as described in any one of claims 1-8 when it runs.