Battery anomaly detection method and system based on time sequence diagram neural network model

By constructing time-series feature relationship diagrams and cause-and-effect diagrams, and using the time-series diagram neural network model for battery anomaly detection, the problem of inability to effectively analyze feature relationships in the existing technology is solved, and more accurate positioning and cause analysis of battery abnormalities are achieved.

CN118584345APending Publication Date: 2024-09-03安徽国麒科技有限公司 +1
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410448487.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing temporal neural network models fail to effectively consider the interrelationship and mutual influence between features in battery anomaly detection, resulting in limitations in determining the time point and cause of anomaly occurrence.

Method used

Using a neural network model based on timing diagrams, by constructing timing characteristic diagrams and battery characteristic causal diagrams, the timing characteristic diagram data is used for anomaly detection, and the cause of the anomalies is determined through causal analysis.

Benefits of technology

Significantly improves the ability to determine the time point and cause of abnormality in battery timing data, enabling more accurate analysis of battery abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584345A
    Figure CN118584345A
Patent Text Reader

Abstract

The invention belongs to the technical field of energy storage battery anomaly detection, and particularly relates to a battery anomaly detection method and system based on a time sequence diagram neural network model, and the method comprises the steps: constructing time sequence characteristic relation graph data according to the multivariate time sequence characteristics under a battery charging condition; constructing an anomaly detection model based on a time sequence diagram neural network, and outputting a corresponding multivariate time sequence characteristic anomaly detection result by taking the time sequence characteristic relation diagram data as input; and constructing a battery characteristic causal diagram according to the battery multivariate time sequence characteristics, and comparing and analyzing the abnormal detection result and the battery characteristic causal diagram to determine abnormal battery characteristics. According to the method, feature extraction and modeling are performed by using the time sequence diagram neural network and the time sequence feature relation diagram data, the determination of the time slice where the abnormality occurs is realized, the attribution analysis of the battery abnormality is realized by using the battery feature causal, and the significant progress is made in processing the time point of the abnormality occurring in the battery time sequence data and determining the abnormality reason.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of abnormality detection of energy storage batteries, and in particular relates to a battery abnormality detection method and system based on a time series graph neural network model. Background Art

[0002] In the process of battery anomaly detection, the changes in parameters such as voltage, current, and temperature during the charging and discharging process in the time dimension are usually used to build models. However, most of the models used in the prior art are anomaly detection models based on time series data, such as time series neural network models (LSTM, GRU, etc.).

[0003] In the prior art, whether the time series neural network model uses a single variable or multiple variables as input, it does not take into account the relationship and mutual influence between features. In addition, the above models are often based on classification models, that is, the input data is labeled as normal or abnormal through the model, and the abnormal situation is not attributed to analyze the root cause of the abnormality. Therefore, there are certain limitations in determining the time point and cause of the abnormality in the battery time series data. Summary of the invention

[0004] The purpose of the present invention is to provide a battery anomaly detection method and system based on a timing graph neural network model to solve the problems raised in the background technology.

[0005] The present invention achieves the above-mentioned purpose through the following technical solutions:

[0006] In a first aspect, the present invention proposes a battery anomaly detection method based on a time series graph neural network model, comprising:

[0007] S1. constructing time series characteristic relationship diagram data according to multivariate time series characteristics under battery charging conditions;

[0008] S2. Construct an anomaly detection model based on a time series graph neural network, take the time series feature relationship graph data as input, and output an anomaly detection result corresponding to the multivariate time series feature;

[0009] S3. Construct a battery characteristic cause-effect diagram according to the multivariate time series characteristics of the battery, compare and analyze the abnormal detection result and the battery characteristic cause-effect diagram, and determine the abnormal battery characteristics.

[0010] A further improvement is that step S1 is specifically:

[0011] S101, acquiring multivariate time series features under battery charging conditions at a set acquisition frequency, the multivariate time series features including voltage, current, temperature, capacity and IC curve features, performing data cleaning and normalization preprocessing on the multivariate time series features, and generating quantized multivariate time series features;

[0012] S102, establishing a time series feature relationship graph according to feature associations between features in the multivariate time series feature, and performing feature interception on the time series feature relationship graph based on the time dimension to obtain time series feature relationship graph data including feature relationship graphs of different time dimensions;

[0013] S103, label the slices of the time series feature relationship graph data with abnormal data, the label format is [0,0,1,0,…,0], the time dimension is P, where the position 1 indicates that there is an abnormality in the time series feature relationship graph data slice corresponding to its index, and 0 indicates normal.

[0014] A further improvement is that in step S2, the timing graph neural network model is any one of the STGNNs, STGODE and DySAT deep learning models.

[0015] A further improvement is that step S2 further includes training the anomaly detection model, specifically:

[0016] Inputting the time series feature relationship graph data into the anomaly detection model, extracting features from the time dimension feature relationship graph and performing vector representation, and fusing P multiple vector representations to form a feature representation of the time series feature relationship graph data;

[0017] The feature representation is input into a fully connected layer of an anomaly detection model, and the anomaly detection model is trained by a set threshold and data with anomaly labels. The fully connected layer outputs an anomaly detection result including a P-dimensional scoring vector.

[0018] A further improvement is that the battery characteristic causal graph is defined as: a number of variables including a plurality of battery characteristics and a causal relationship between the variables, wherein the causal relationship is characterized by an arrow indicating the direction of the relationship between two variables, from cause to effect.

[0019] In a second aspect, the present invention proposes a battery anomaly detection system based on a time series graph neural network model, which is applied to perform any of the above detection methods, and the system includes:

[0020] A data acquisition module constructs time series characteristic relationship diagram data according to multivariate time series characteristics under battery charging conditions;

[0021] Anomaly detection module, constructing an anomaly detection model based on time series graph neural network, taking time series feature relationship graph data as input, and outputting anomaly detection results corresponding to the multivariate time series features;

[0022] The abnormal attribution module constructs a battery characteristic cause-effect diagram according to the multivariate time series characteristics of the battery, compares and analyzes the abnormal detection result and the battery characteristic cause-effect diagram, and determines the battery characteristics with abnormalities.

[0023] The beneficial effects of the present invention are:

[0024] The anomaly detection method and system in the present invention uses the battery's time series data to slice the time dimension, and constructs a feature relationship graph through the existing and hidden relationships between features, and the two are combined to construct the time series feature relationship graph data. The time series graph neural network and the time series feature relationship graph data are used for feature extraction and modeling, which realizes the determination of the time slice where the anomaly occurs, and the battery feature causality is used to realize the attribution analysis of the battery anomaly, which is a significant improvement in the determination of the time point and cause of the anomaly in the battery time series data. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of the detection method execution in the present invention;

[0026] Figure 2 It is a schematic diagram of the characteristic relationship diagram in the present invention;

[0027] Figure 3 It is a schematic diagram of the spectrum of the time series characteristic relationship diagram data in the present invention;

[0028] Figure 4 It is a schematic diagram of the spectrum captured by the time series characteristics in the present invention;

[0029] Figure 5 It is a structural diagram of the anomaly detection model based on timing graph neural network in the present invention;

[0030] Figure 6 This is an example of a battery characteristic cause-effect diagram in the present invention. DETAILED DESCRIPTION

[0031] The present application is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out here that the following specific implementation methods are only used to further illustrate the present application and cannot be understood as limiting the scope of protection of the present application. Technical personnel in this field can make some non-essential improvements and adjustments to the present application based on the above application content.

[0032] Example 1

[0033] like Figure 1-6 As shown, this embodiment proposes a battery anomaly detection method based on a time series graph neural network model, including:

[0034] S1. constructing time series characteristic relationship diagram data according to multivariate time series characteristics under battery charging conditions;

[0035] S2. Build an anomaly detection model based on time series graph neural network, take time series feature relationship graph data as input, and output corresponding multivariate time series feature anomaly detection results;

[0036] S3. Construct a battery feature cause-and-effect diagram based on the multivariate time series characteristics of the battery, compare and analyze the abnormal detection results and the battery feature cause-and-effect diagram, and determine the abnormal battery features.

[0037] As a further preferred embodiment, step S1 is specifically as follows:

[0038] S101, acquiring multivariate time series features under battery charging conditions at a set acquisition frequency, the multivariate time series features including voltage, current, temperature, capacity and IC curve features, performing data cleaning and normalization preprocessing on the multivariate time series features, and generating quantized multivariate time series features;

[0039] More specifically, firstly, the characteristics of the battery charging process, including voltage, current, temperature, etc., are obtained through instruments, sensors, etc. at a certain data collection frequency. And through feature engineering, fusion and cross-features are obtained, including but not limited to: charging capacity, IC curve characteristics, etc. Among them, the charging capacity is obtained using the ampere-hour integration method, that is, the charging capacity is the integral of the charging current in the time dimension (the area under the curve), and the IC curve characteristics are the characteristics of the battery's capacity increment curve (the so-called IC curve characteristics can be the slope of the points on the IC curve and the product of the horizontal and vertical coordinates).

[0040] In this embodiment, data preprocessing includes:

[0041] Data cleaning: involves filling missing values, smoothing noisy data, identifying and removing outliers and noisy data, resolving inconsistencies and dealing with redundancy caused by data integration, and filtering out battery data whose charging time does not meet a specific time.

[0042] Data standardization or normalization processing: normalize and standardize the time series data such as voltage, current, temperature, charging capacity, IC curve characteristics as its feature vector, and the methods used include but are not limited to Formula 1 and Formula 2.

[0043]

[0044] where x i Represents the elements in the time series data X; min() is the minimum function, which calculates the minimum value in the input sequence; max() is the maximum function, which calculates the maximum value in the input sequence.

[0045]

[0046] The mean() function calculates the mean of the input sequence; the std() function calculates the standard deviation of the input sequence.

[0047] S102, establishing a time series feature relationship graph according to the feature association between each feature in the multivariate time series feature, and performing feature interception on the time series feature relationship graph based on the time dimension to obtain time series feature relationship graph data including feature relationship graphs of different time dimensions;

[0048] It can be understood that in this embodiment, a time series feature relationship diagram is established based on the feature association between each feature in the multivariate time series feature, that is, the time dimension is sliced ​​using the battery's time series data, and a feature relationship diagram is constructed through the existing and hidden relationships between the features. The two are combined to construct the time series feature relationship diagram data.

[0049] In this embodiment, combined with Figure 2 , through the hidden relationship between each feature, the feature relationship graph data is established, where different shapes represent corresponding features, and the feature relationship graph data is constructed through the influence and "relationship" between features. For example, the IC curve feature is related to capacity and voltage, so the relationship from capacity and voltage to IC curve feature is established to realize the connection between features. The solid line indicates the relationship that exists or may exist between the features we established. By intercepting the feature vector according to the time dimension, the time series change of the feature relationship graph in the time dimension can be obtained.

[0050] S103, label the slices of the time series feature relationship graph data with abnormal data, the label format is [0,0,1,0,…,0], the time dimension is P, where the position 1 indicates that there is an abnormality in the time series feature relationship graph data slice corresponding to its index, and 0 indicates normal.

[0051] Accordingly, combined Figure 3 , the dotted line in the figure represents the relationship between the features in the time dimension after the time series features are intercepted. T1, T2...represent the slices of the feature relationship graph in time, and the total number is p. Figure 4 , slicing is performed from the time dimension of the feature, so that the feature vectors in the nodes of the feature relationship graph at different times are different.

[0052] It should be noted that the timing feature screenshot here ( Figure 4 The segmentation shown in ) is a non-overlapping segmentation method. In practical applications, overlapping or non-overlapping time series feature segmentation methods with fixed or non-fixed time windows can be used.

[0053] As a further preference, in step S2, the timing graph neural network model is any one of the STGNNs, STGODE and DySAT deep learning models.

[0054] Correspondingly, the time series graph neural network model in this embodiment includes but is not limited to STGNNs, STGODE, DySAT and other models that have been published and made public in papers and belong to the category of time series graph neural network models.

[0055] Combination Figure 5 , which is a structural diagram of the anomaly detection model based on the time series graph neural network in the present application. As a further preferred embodiment, step S2 also includes training the anomaly detection model, specifically:

[0056] The time series feature relationship graph data is input into the anomaly detection model, and the feature representation of the time dimension feature relationship graph is formed by extracting features from the time dimension feature relationship graph and performing vector representation (subgraph embeddings in the figure), and performing feature fusion of P multiple vector representations (fusion methods include but are not limited to: splicing, addition, averaging, weighted fusion, etc.);

[0057] The feature representation is input into the fully connected layer (MLP) of the anomaly detection model. The anomaly detection model is trained by setting the threshold and the data with anomaly labels. The fully connected layer (MLP) outputs the anomaly detection result containing a P-dimensional scoring vector. The MLP layer outputs a P-dimensional scoring vector, which indicates the possibility of an abnormal situation in each slice of the P time series feature map data slices.

[0058] As a further preferred combination Figure 6 ,The causal graph of battery characteristics is defined as ,several variables containing multiple battery characteristics and the ,causal relationship between several variables. The causal relationship is ,characterized by an arrow indicating the direction of the relationship between two ,variables, from the cause to the effect.

[0059] More specifically, the abnormal data in the battery charging process can be located in a specific time slice through the abnormal detection model obtained in step S2. Through the locked time slice, the time window is used to obtain the time series data slices of all features, and the time series data slices of each feature are analyzed to determine which feature the abnormality exists in. The specific identification can be done by using expert rules, data analysis and other methods. This type of method can only determine the location of the abnormal phenomenon (the data in the feature), but cannot determine the specific cause.

[0060] The battery characteristic causal diagram is constructed by using expert knowledge, mathematical analysis and other methods to define the causal relationship: if variable Y responds to the change of variable X, then X is the cause of variable Y. The battery characteristic causal diagram uses arrowed lines to represent the influence and conduction relationship between characteristics. The battery characteristic causal diagram is similar to the characteristic relationship diagram.

[0061] Figure 6This is an example of a battery characteristic cause-and-effect diagram, where arrows are used to indicate the direction of cause-and-effect relationships, from cause to effect. For example, capacity changes over time, and capacity is closely related to current. In general, factors that cause capacity changes include current, charging time, etc.

[0062] Based on the same inventive concept, a detection system corresponding to the detection method is also provided in this embodiment. Since the principle of solving the problem by the detection system in the embodiment of the present disclosure is similar to the above-mentioned detection method in the embodiment of the present disclosure, the implementation of the detection system can refer to the implementation of the method, and the repeated parts will not be repeated.

[0063] This embodiment proposes a battery anomaly detection system based on a time series graph neural network model, which is applied to execute the detection method. The system includes:

[0064] A data acquisition module constructs time series characteristic relationship diagram data according to multivariate time series characteristics under battery charging conditions;

[0065] The anomaly detection module builds an anomaly detection model based on the time series graph neural network, takes the time series feature relationship graph data as input, and outputs the corresponding multivariate time series feature anomaly detection results;

[0066] The anomaly attribution module constructs a battery feature causal graph based on the multivariate time series characteristics of the battery, compares and analyzes the anomaly detection results and the battery feature causal graph, and determines the battery features with abnormalities.

[0067] According to the embodiments of the present invention, the anomaly detection method and system of the present invention uses the battery's time series data to slice the time dimension, and constructs a feature relationship graph through the existing and hidden relationships between features, and the two are combined to construct the time series feature relationship graph data. The time series graph neural network and the time series feature relationship graph data are used for feature extraction and modeling, which realizes the determination of the time slice where the anomaly occurs, and uses the battery feature causality to realize the attribution analysis of the battery anomaly, which is a significant improvement in the determination of the time point and cause of the anomaly in the battery time series data.

[0068] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A battery anomaly detection method based on a time series graph neural network model, characterized in that: include: S1. constructing time series characteristic relationship diagram data according to multivariate time series characteristics under battery charging conditions; S2. Construct an anomaly detection model based on a time series graph neural network, take the time series feature relationship graph data as input, and output an anomaly detection result corresponding to the multivariate time series feature; S3. Construct a battery characteristic cause-effect diagram according to the multivariate time series characteristics of the battery, compare and analyze the abnormal detection result and the battery characteristic cause-effect diagram, and determine the abnormal battery characteristics.

2. The battery anomaly detection method based on a time series graph neural network model according to claim 1 is characterized in that: Step S1 is specifically as follows: S101, acquiring multivariate time series features under battery charging conditions at a set acquisition frequency, the multivariate time series features including voltage, current, temperature, capacity and IC curve features, performing data cleaning and normalization preprocessing on the multivariate time series features, and generating vectorized multivariate time series features; S102, establishing a time series feature relationship graph according to feature associations between features in the multivariate time series feature, and performing feature interception on the time series feature relationship graph based on the time dimension to obtain time series feature relationship graph data including feature relationship graphs of different time dimensions; S103, label the slices of the time series feature relationship graph data with abnormal data, the label format is [0,0,1,0,…,0], the time dimension is P, where the position 1 indicates that there is an abnormality in the time series feature relationship graph data slice corresponding to its index, and 0 indicates normal.

3. The battery anomaly detection method based on a time series graph neural network model according to claim 2 is characterized in that: In step S2, the timing graph neural network model is any one of the STGNNs, STGODE and DySAT deep learning models.

4. The battery anomaly detection method based on a time series graph neural network model according to claim 3 is characterized in that: Step S2 also includes training the anomaly detection model, specifically: Inputting the time series feature relationship graph data into the anomaly detection model, extracting features from the time dimension feature relationship graph and performing vector representation, and fusing P multiple vector representations to form a feature representation of the time series feature relationship graph data; The feature representation is input into a fully connected layer of an anomaly detection model, and the anomaly detection model is trained by a set threshold and data with anomaly labels. The fully connected layer outputs an anomaly detection result including a P-dimensional scoring vector.

5. The battery anomaly detection method based on a time series graph neural network model according to claim 1 is characterized in that: The battery characteristic causal graph is defined as: a number of variables including a plurality of battery characteristics and a causal relationship between the variables, wherein the causal relationship is characterized by an arrow indicating the direction of the relationship between two variables, from the cause to the effect.

6. A battery anomaly detection system based on a time series graph neural network model, characterized in that: Applied to perform the detection method according to any one of claims 1 to 5, the system comprises: A data acquisition module constructs a time series characteristic relationship diagram data according to the multivariate time series characteristics under the battery charging condition; Anomaly detection module, constructing an anomaly detection model based on time series graph neural network, taking time series feature relationship graph data as input, and outputting anomaly detection results corresponding to the multivariate time series features; The abnormal attribution module constructs a battery characteristic cause-effect diagram according to the multivariate time series characteristics of the battery, compares and analyzes the abnormal detection result and the battery characteristic cause-effect diagram, and determines the battery characteristics with abnormalities.

Citation Information

Cited By

  • Abnormal behavior detection method and device for networked device, and computer program product

    CN119416130A

  • GNN-based charging pile electricity utilization abnormal behavior identification method and system

    CN119848750A

  • Battery fault diagnosis method based on graph structure and LSTM

    CN120387091A

  • Battery fault diagnosis method based on graph structure and lstm

    CN120387091B