A method and system for wind power equipment anomaly detection based on causal enhanced dynamic graph
By constructing a globally stable causal prior graph and generating a causal enhanced dynamic graph using a bi-branch temporal convolutional network, the problems of insufficient variable relationship modeling and susceptibility to interference in dynamic graphs during anomaly detection of wind power equipment are solved, achieving more accurate and interpretable anomaly detection.
Patent Information
- Application Number
- CN202611319428.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2046-08-28
AI Technical Summary
Existing methods for detecting anomalies in wind power equipment are insufficient to fully characterize the interrelationships between different monitoring variables. The dynamic graph structure is susceptible to spurious correlations and noise edges, and it is difficult to utilize stable causal transmission relationships between variables, resulting in insufficient detection accuracy and interpretability.
By acquiring multivariate time-series monitoring data of wind power equipment, a globally stable causal prior graph is constructed. Combined with a bi-branch temporal convolutional network, local short-term and long-term time-domain features are extracted to generate a causal enhanced dynamic graph. Directed graph propagation is then performed, and anomaly scores are calculated for detection.
It improves the accuracy, stability, and interpretability of anomaly detection in wind power equipment, reduces the impact of random correlations and noise on the detection model, and can effectively detect anomalies under conditions of insufficient anomaly samples or scarce labels.
Smart Images

Figure CN122863480B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wind power equipment condition monitoring and intelligent fault diagnosis technology, and particularly relates to a wind power equipment anomaly detection method and system based on causal enhanced dynamic graph. Background Technology
[0002] Wind power equipment continuously generates a large amount of multivariate time-series monitoring data during operation, such as wind speed, power generation, rotor speed, gearbox temperature, generator temperature, bearing temperature, vibration signals, current signals, and voltage signals. These monitored variables collectively reflect the operating status of the wind power equipment. Because wind power equipment operates under complex natural environments and varying operating conditions for extended periods, its operating status is easily affected by factors such as wind speed fluctuations, load changes, component wear, temperature variations, and electrical disturbances, which can lead to abnormal conditions or potential failures.
[0003] Existing methods for detecting anomalies in wind power equipment mainly include statistical rule-based methods, traditional machine learning-based methods, and deep learning-based methods. Among them, traditional statistical methods usually rely on fixed thresholds or distribution assumptions, making it difficult to adapt to the complex nonlinear and non-stationary operating characteristics of wind power equipment; although deep learning methods can learn complex patterns in time series, they still have the following problems in multivariate monitoring scenarios.
[0004] First, some methods primarily focus on the temporal variation of individual variables, failing to adequately characterize the interrelationships between different monitored variables. Second, while some anomaly detection methods based on graph neural networks treat monitored variables as graph nodes, they typically rely on static adjacency matrices or construct dynamic graphs solely based on the correlation of variables within the current window, making them susceptible to interference from transient correlations, spurious correlations, and noisy edges. Third, wind turbine variables often exhibit directional and time-delayed transmission relationships; for example, changes in wind speed may first affect rotational speed and power, subsequently impacting variables such as current, temperature, or vibration. Relying solely on synchronous correlations or undirected association modeling makes it difficult to accurately reflect the true variable transmission mechanisms of wind turbines.
[0005] Therefore, there is an urgent need for an anomaly detection method that can simultaneously model the temporal evolution characteristics of wind power equipment variables, local dynamic correlations, and stable causal transmission relationships. This method would reduce the impact of irrelevant variable relationships and noise correlations on the anomaly detection model, thereby improving the accuracy, stability, and interpretability of wind power equipment anomaly detection. Summary of the Invention
[0006] The purpose of this invention is to provide a method and system for detecting anomalies in wind power equipment based on causal enhanced dynamic graphs, which solves the problems of insufficient modeling of variable relationships, susceptibility of dynamic graph structure to spurious correlations and noise edges, and difficulty in utilizing stable causal transmission relationships between variables in existing wind power equipment anomaly detection methods. This invention acquires and preprocesses multivariate time-series monitoring data of wind power equipment; divides the normal operation data into time blocks, calculates the directed causal relationships and causal strengths between multiple lag-order variables within each block, and obtains a globally stable causal prior graph based on the stability of causal edges; feeds the input time window into a bi-branch temporal convolutional network to extract local short-term fluctuation features and longer time-domain evolution features, obtaining a time-enhanced variable representation; constructs a window-level variable feature set according to a preset local time-domain range, and calculates the dynamic attention score between different monitoring variables, generating a dynamic graph structure that updates with the local time-domain range; uses the globally stable causal prior graph to perform structural filtering, directional constraints, and causal strength modulation on the edges in the dynamic graph structure, obtaining a causal-enhanced dynamic graph; performs directed graph propagation based on the causal-enhanced dynamic graph to obtain a representation of the wind power equipment's operating state; finally, reconstructs the sequence based on the operating state representation, calculates anomaly scores based on errors, and outputs anomaly detection results.
[0007] To achieve the above objectives, the following technical solution is adopted: In a first aspect, the present invention provides a method for detecting anomalies in wind power equipment based on causal enhanced dynamic graphs, comprising the following steps: S1. Acquire multivariate time series monitoring data during the operation of wind power equipment, perform data cleaning, missing value processing and standardization on the multivariate time series monitoring data, divide it into training set, validation set and test set according to preset rules, and select normal operation data of wind power equipment from the training set. S2. Based on the wind power equipment normal operation data obtained from the training set, perform time-blocking, calculate the directed causal relationship and causal strength between multiple lag order monitoring variables in each time block, and obtain a globally stable causal prior graph based on the stability of the causal edge. S3. The input time window is fed into a dual-branch temporal convolutional network to extract the local short-term fluctuation features and the longer time-domain evolution features of the monitored variables, and the local short-term fluctuation features and the longer time-domain evolution features are fused to obtain the time-enhanced variable representation. S4. Based on the variable feature sequence corresponding to the time-enhanced variable representation, several local time-domain windows are obtained by sliding the window according to a preset local time-domain window; for each local time-domain window, the dynamic attention score between different monitoring variables is calculated to obtain a dynamic graph structure that updates with the local time-domain range. S5. Based on the globally stable causal prior graph, perform structural filtering, directional constraints and causal intensity modulation on the edges in the dynamic graph structure to generate a causal-enhanced dynamic graph. S6. Based on the causal enhanced dynamic graph, perform directed graph propagation to obtain a representation of the wind power equipment's operating status; S7. Based on the wind power equipment operating status representation, perform sequence reconstruction, calculate the error between the actual monitoring value and the reconstructed value as the anomaly score, and output the wind power equipment anomaly detection result according to the anomaly score and the preset threshold.
[0008] In a preferred embodiment, the multivariate time series monitoring data includes at least two of the following during the operation of the wind power equipment: wind speed, power generation, rotor speed, gearbox temperature, generator temperature, bearing temperature, vibration signal, current signal, and voltage signal.
[0009] In a preferred embodiment, step 2, which involves dividing the wind power equipment normal operation data obtained from the training set into time blocks and calculating directed causal relationships, specifically includes: The normal operation data of wind power equipment is divided according to the preset block length and block step size to obtain multiple normal operation time segments; Within each normal operating time segment, for each target monitored variable, the causal effects of other monitored variables on the current state of the target monitored variable at multiple lag orders are detected. If the source monitoring variable has a significant causal effect on the target monitoring variable at a specified lag, a directed causal edge is established from the source monitoring variable to the target monitoring variable, and the corresponding causal strength is determined based on the causal test results.
[0010] In a preferred embodiment, step 2, obtaining the globally stable causal prior graph based on the stability of the causal edges, specifically includes: Statistically analyze the occurrence of the same directed causal edge across multiple normal operating time blocks; The stability score of the causal edge is calculated based on the occurrence frequency, average causal strength, significance statistics, or a combination thereof; and the comprehensive causal strength of the directed causal edge is calculated. Set a preset stability threshold and construct a globally stable causal prior graph, including a globally stable causal structure matrix and a globally stable causal strength matrix; Preserve directed causal edges whose stability scores satisfy a preset stability threshold; Construct the globally stable causal prior graph based on the retained directed causal edges and their causal strengths; The global stable causal prior graph is obtained by combining causal relationships and causal strengths at multiple lag orders, and is used to characterize the stable causal transmission relationship with directionality and time delay between wind power equipment monitoring variables.
[0011] In a preferred embodiment, in step 3, the dual-branch temporal convolutional network includes a local temporal convolutional branch and a global temporal convolutional branch; The local temporal convolution branch is used to extract local short-term fluctuation features of the monitored variables within the input time window; The global temporal convolution branch is used to extract longer temporal evolution features of the monitored variables within the input time window; The local short-term fluctuation characteristics and the longer time-domain evolution characteristics are fused through a gating fusion method to obtain the time-enhanced variable representation.
[0012] In a preferred embodiment, step 4 involves dividing the variable feature sequence into time domains according to a preset local time domain window, and calculating the dynamic attention score between different monitored variables for each local time domain window to obtain a dynamic graph structure that updates with the local time domain range. Specifically, this includes: Local time-domain features are extracted from the time-enhanced variable representation according to a preset local window length and local window step size; Each monitored variable is used as a graph node, and the variable features within the corresponding local time domain are used as node features; Calculate the dynamic attention score among different monitored variables based on the node characteristics; The dynamic attention score is normalized to obtain the dynamic graph structure.
[0013] In a preferred embodiment, step 5, which involves edge structure filtering, orientation constraints, and causal intensity modulation of the dynamic graph structure based on the globally stable causal prior graph, specifically includes: The set of directed causal edges that are allowed to propagate is determined based on the globally stable causal prior graph. Edges in the dynamic graph that do not belong to the set of directed causal edges or whose directions are inconsistent are masked or suppressed. For the edges of the selected dynamic graph, the dynamic attention score or the edge weight of the dynamic graph is modulated according to the corresponding causal strength to obtain the unnormalized causal enhancement edge weight. The edge weights of the modulated dynamic graph are normalized to obtain the causal enhanced dynamic graph.
[0014] In a preferred embodiment, step 6, which involves directed graph propagation based on the causal enhanced dynamic graph, specifically includes: The time-enhanced variables are represented as node input features; Based on the aforementioned causal enhanced dynamic graph, the features of adjacent nodes are weighted and aggregated. By updating the node representation through at least one of nonlinear mapping, residual connection, or gated update, a wind power equipment operating status representation that integrates stable causal transmission relationships and local dynamic correlation relationships is obtained.
[0015] In a preferred embodiment, step 7, which involves performing sequence reconstruction based on the wind power equipment operating status representation, calculating the error between the actual monitored value and the reconstructed value as an anomaly score, and outputting the wind power equipment anomaly detection result based on the anomaly score and a preset threshold, specifically includes: The wind power equipment operating status is input into the decoding network, and the reconstruction sequence corresponding to the current time window is output. Anomaly scores are calculated based on the differences between the actual monitored values and the reconstructed sequence; The outlier score is obtained from the mean squared error; The preset threshold is determined based on at least one of the following methods: the distribution of abnormal scores in the validation set, the preset abnormal ratio, and the statistical quantile. The anomaly score of the test sample is compared with the threshold, and the anomaly detection result is output.
[0016] In a second aspect, the present invention also provides a wind power equipment anomaly detection system based on causal enhanced dynamic graphs, for implementing the method described in the first aspect, the system comprising: The data processing module is used to acquire multivariate time series monitoring data of wind power equipment, and to perform data cleaning, missing value handling, standardization, and dataset partitioning on the multivariate time series monitoring data. The stable causal graph construction module is used to divide the normal operation data of wind power equipment into time blocks, calculate the directed causal relationship and causal strength between multiple monitoring variables at multiple lag times in each time block, and obtain a globally stable causal prior graph based on the stability of causal edges. The time feature extraction module is used to extract the local short-term fluctuation features and longer time-domain evolution features of the monitoring variables through a dual-branch temporal convolutional network, and generate time-enhanced variable representations. The dynamic graph construction module is used to construct a window-level variable feature set according to a preset local time domain range based on the time-enhanced variable representation, and generate a dynamic graph structure based on the window-level variable feature set; The causal enhancement module is used to perform edge structure filtering, direction constraint and causal intensity modulation on the dynamic graph structure based on the global stable causal prior graph to generate a causal enhanced dynamic graph. The graph propagation module is used to perform directed graph propagation based on the causal enhanced dynamic graph to obtain a representation of the wind power equipment's operating status. The anomaly detection module is used to reconstruct the sequence based on the wind power equipment operating status representation, calculate the error between the actual monitoring value and the reconstructed value as the anomaly score, and output the wind power equipment anomaly detection result.
[0017] Therefore, compared with the prior art, the wind power equipment anomaly detection method and system based on causal enhanced dynamic graphs of the present invention have the following beneficial effects: This invention performs time-blocking based on normal operation data of wind power equipment and combines directed causal relationships and causal strength under multiple lags to screen globally stable causal prior graphs. This enables the extraction of causal transmission relationships of variables with directionality, time delay, and stability, reducing the impact of accidental correlations and local noise on the graph structure. A bi-branch temporal convolutional network is used to extract local short-term fluctuation features and longer-term evolution features, and a local dynamic graph is constructed based on time-enhanced variable representations. This simultaneously characterizes the temporal evolution of the monitored variables and local dynamic correlation changes. Edge structure screening, directional constraints, and causal strength modulation of the dynamic graph using the globally stable causal prior graph reduce the interference of spurious correlations, instantaneous correlations, and noise edges on graph propagation. Directed graph propagation is performed based on the causal-enhanced dynamic graph, and anomaly scores are calculated using sequence reconstruction errors. This enables anomaly detection of wind power equipment under conditions of insufficient anomaly samples or scarce anomaly labels, improving detection accuracy, stability, and interpretability.
[0018] It should be understood that the description in the Summary of the Invention is not intended to limit the key or essential features of the embodiments of the present invention, nor is it intended to restrict the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0019] The above and other features, advantages, and aspects of the various embodiments of the present invention will become more apparent from the accompanying drawings and the following detailed description. The drawings are provided for a better understanding of the invention and are not intended to limit the invention. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 This is a flowchart of a wind power equipment anomaly detection method based on causal enhanced dynamic graph according to an embodiment of the present invention; Figure 2 This is a schematic diagram of a wind power equipment anomaly detection system based on causal enhanced dynamic graphs according to an embodiment of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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.
[0021] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0022] Figure 1 This is a flowchart of a wind power equipment anomaly detection method based on causal enhanced dynamic graphs, according to an embodiment of the present invention. Figure 1 As shown, a wind power equipment anomaly detection method based on causal augmented dynamic graphs includes the following steps: S1. Acquire multivariate time series monitoring data during the operation of wind power equipment, perform data cleaning, missing value processing and standardization on the multivariate time series monitoring data, divide it into training set, validation set and test set according to preset rules, and select normal operation data of wind power equipment from the training set. In this embodiment, multivariate time series monitoring data is collected during the continuous operation of wind power equipment. The multivariate time series monitoring data is generated by... It consists of 1 monitored variable, denoted as: ; in, For time indexing, For the first Each monitoring variable at time... The observed values. The monitored variables include at least two of the following: wind speed, power generation, rotor speed, gearbox temperature, generator temperature, bearing temperature, vibration signal, current signal, and voltage signal.
[0023] After data collection, data cleaning and missing value removal were performed on the multivariate time series monitoring data. Subsequently, each monitoring variable was standardized using the following formula: ; in, For the first Each monitoring variable at time... The standardized value, and The first on the training set The mean and standard deviation of each monitored variable were calculated. The data were then divided into training, validation, and test sets in chronological order.
[0024] S2. Based on the wind power equipment normal operation data obtained from the training set, perform time-blocking, calculate the directed causal relationship and causal strength between multiple lag order monitoring variables in each time block, and obtain a globally stable causal prior graph based on the stability of the causal edge. In this embodiment, a globally stable causal prior graph is constructed based on the normal operation data of wind power equipment in the training set. Let the normal operation data after S1 standardization be: ; in, This indicates the duration of normal operation data. Indicates time Standardized multivariate monitoring vectors, This indicates the number of monitored variables.
[0025] First, according to the preset block length and block step size The normal operation data is divided into time blocks to obtain multiple normal operation time blocks: ; in, Indicates the first Each uptime block , Indicates the number of time blocks. Indicates the first The start time of each time block. Time blocks are used to obtain causal relationships under different normal operation segments.
[0026] Segmentation at each uptime Within, for each target monitoring variable The causal effects of other monitored variables on the current state of the target monitored variable at multiple lag orders are detected respectively. Let the maximum lag order be... Then the set of lag orders is: ; For any source monitoring variable Target monitoring variables and lag Detect historical variables For the current target variable It has a significant causal effect.
[0027] In one implementation, a conditional independence test is used to calculate lagged causality. For candidate source variables... and target variable In a given set of condition variables In the case of [condition variable set], determine whether a significant correlation still exists between the two. This can include the historical values of the target variable itself, the historical values of other monitored variables, and relevant parent node variables obtained after screening. The corresponding conditional independence test can be expressed as: ; If given a set of condition variables back, and If the conditional independence relationship is still not met, then the source monitoring variable is determined. In the lag phase Monitoring variables for the target It has directed causal influence and establishes directed causal edges: ; In the Within each normal operating time block, the determination result of the directed causal edge is recorded as: ; in, Indicates the first In each time block, the lag order is... At that time, by the first The monitored variable points to the first Does a directed causal edge exist for each monitored variable?
[0028] At the same time, the corresponding causal strength is determined based on the causal test results, denoted as: ; in, Indicates the first In each time block, the lag order is... At that time, by the first The monitored variable points to the first The causal strength of each monitored variable. The causal strength can be determined based on conditional independence test statistics, correlation statistics, regression residual correlation, or significance levels. When season .
[0029] Subsequently, the occurrence of the same directed causal edge is statistically analyzed across multiple normal operating time blocks and multiple lag orders, and the stability score of the causal edge is calculated. For the edge formed by the first... The monitored variable points to the first The stability score of candidate causal edges for each monitored variable is expressed as: ; in, Represents a directed causal edge stability score, This indicates the number of lag orders. A higher stability score indicates that the directed causal edge is more stable under different normal operating time blocks and different lag conditions.
[0030] Correspondingly, the comprehensive causal strength of the directed causal edge is expressed as: ; in, Represents a directed causal edge The overall causal strength, To prevent extremely small constants with a denominator of zero.
[0031] Set a preset stability threshold. When the stability score of a directed causal edge satisfies: ; If the directed causal edge is not retained, it is retained; otherwise, it is discarded. This leads to the construction of a globally stable causal prior graph. The globally stable causal prior graph includes a globally stable causal structure matrix. and the globally stable causal strength matrix ,in: ; ; in, In a globally stable causal prior graph, the first... The monitored variable points to the first Does a causal edge exist for each monitored variable? This represents the stable causal strength in the corresponding direction. A globally stable causal prior graph is then constructed based on this: ; in, This represents the set of nodes consisting of wind power equipment monitoring variables.
[0032] The global stable causal prior graph obtained through the above method can characterize the stable causal transmission relationship with directionality and time delay between monitoring variables under normal operating conditions of wind power equipment.
[0033] S3. The input time window is fed into a dual-branch temporal convolutional network to extract the local short-term fluctuation features and the longer time-domain evolution features of the monitored variables, and the local short-term fluctuation features and the longer time-domain evolution features are fused to obtain the time-enhanced variable representation. In this embodiment, the input time window is constructed based on the standardized multivariate time series obtained in S1. Let the length of the input window be... Then based on time The input sample at the end of the window is represented as: ; in, , Indicates the length of the input time window. This indicates the number of monitored variables. For the [number]th... Each monitored variable is represented as a sequence segment within the input window as follows: ; To simultaneously extract both short-term fluctuation characteristics and longer-term evolution characteristics of the monitored variables, this embodiment employs a dual-branch temporal convolutional network to encode the input time window. The dual-branch temporal convolutional network includes a local temporal convolution branch and a global temporal convolution branch, both implemented using temporal causal dilation convolution. Temporal causal dilation convolution can be represented as: ; in, Indicates the first Each monitoring variable at time... The convolutional features, Indicates the kernel size. Indicates the expansion rate. Represents the convolution kernel parameters. Indicates the bias term. This represents a non-linear activation function.
[0034] The local temporal convolution branch uses a smaller dilation rate or a smaller temporal receptive field to extract local short-term fluctuation features of the monitored variable, as shown below: ; in, Indicates the first Local short-term fluctuation characteristics of individual monitored variables, The feature mapping function represents the local temporal convolution branch.
[0035] The global temporal convolution branch employs a large dilation rate or a large temporal receptive field to extract longer temporal evolution features of the monitored variables, as shown below: ; in, Indicates the first The longer time-domain evolution characteristics of each monitored variable, The feature mapping function represents the global temporal convolution branch.
[0036] Subsequently, the local short-term fluctuation characteristics and the longer-term evolution characteristics are gated and fused, and the gate coefficient is expressed as: ; in, Indicates feature splicing, and For trainable parameters, This represents the Sigmoid activation function.
[0037] No. The time-enhanced variables for each monitoring variable are represented as follows: ; After performing the above processing on all monitored variables, the time-enhanced variable representation corresponding to the input time window is obtained: ; in, Used to characterize the temporal evolution of each monitored variable within the current input time window, and as input features for subsequent dynamic graph construction and causal enhancement graph propagation.
[0038] S4. Based on the time-enhanced variable representation, the variable feature sequence is divided into time domains according to a preset local time domain window, and the dynamic attention score between different monitored variables is calculated based on each local window to obtain a dynamic graph structure that updates with the local time domain range. In this embodiment, the time-enhanced variable representation obtained based on S3 is... Construct a dynamic graph. Let the time-augmented variable be represented as: ; in, Indicates the first Time-enhanced features of each monitored variable This indicates the number of monitored variables.
[0039] To characterize the dynamic changes in the correlation between monitored variables within different local time domains, a preset local window length is used. and local window step size The time-enhanced variable representation is partitioned in the time domain to obtain multiple window-level variable feature sets. The set of variable features corresponding to each local window is represented as follows: ; in, Indicates the first A set of variable features within a local time-domain window Indicates the first The monitored variable is at the 1st The node features within a local time-domain window, where, Indicates the first The monitored variable is at the 1st Local short-term fluctuation characteristics within a local time-domain window Indicates the first The monitored variable is at the 1st Longer temporal evolution characteristics within a local temporal window.
[0040] Within each local time-domain window, each monitored variable is treated as a graph node, and dynamic attention scores between different monitored variables are calculated based on node features. For the The target node and the first For each source node, construct the query vector and key vector respectively: ; ; in, and For a trainable parameter matrix, Indicates the first Within the local window, the first The query vector corresponding to each monitored variable Indicates the first Within the local window, the first The key vectors corresponding to the monitored variables.
[0041] No. Within the local window, the first The monitoring variable and the first The dynamic attention score among the monitored variables is represented as follows: ; in, Representing feature dimension, Indicates the first Within the local window, the first The monitoring variable and the first Dynamic attention scores among the monitored variables.
[0042] The dynamic attention score is normalized using softmax to obtain the first... The adjacency matrix of the dynamic graph corresponding to each local window: ; in, Indicates the first Within the local window, the first The monitoring variable and the first Dynamic edge weights between monitoring variables Indicates the monitoring variables at a fixed target. In this case, the dynamic attention scores corresponding to all source monitoring variables are normalized.
[0043] Using the above method, a dynamic graph sequence updated with the local temporal window is obtained: ; in: ; This represents the set of nodes consisting of wind power equipment monitoring variables. Indicates the first The dynamic graph adjacency matrix corresponding to each local window This indicates the number of local time-domain windows.
[0044] S5. Based on the global stable causal prior graph, perform structural screening, directional constraints and causal intensity modulation on the edges in the dynamic graph structure to generate a causal enhanced dynamic graph. In this embodiment, causal enhancement processing is performed on the local dynamic graph based on the globally stable causal prior graph obtained in S2 and the adjacency matrix of the dynamic graph obtained in S4. The globally stable causal prior graph includes a globally stable causal structure matrix. and the globally stable causal strength matrix .in, Indicates the first The monitored variable points to the first Does a stable causal edge exist for each monitored variable? This indicates the stable causal strength in the corresponding direction.
[0045] For the With a local time-domain window, S4 obtains the dynamic graph adjacency matrix as follows: To reduce the influence of accidental and noisy edges in the local dynamic graph, a globally stable causal structure matrix is first utilized. Perform structural filtering and directional constraints on the edges of the dynamic graph: ; in, This represents the edge weights of a dynamic graph after causal structure constraints. When... When, the dynamic graph edges in the corresponding direction are suppressed; when At that time, the dynamic graph edges in the corresponding direction are preserved.
[0046] Furthermore, using the globally stable causal strength matrix Modulating the retained dynamic graph edge weights yields unnormalized causal augmentation edge weights: ; Right now: ; in, Indicates the first Within the local time domain window, the first... The monitored variable points to the first Unnormalized causal enhancement side weights for each monitored variable This represents the causal intensity modulation coefficient.
[0047] Then, the unnormalized causal augmentation edge weights are normalized to obtain the adjacency matrix of the causal augmentation dynamic graph: ; in, Indicates the first Within the local time domain window, the first... The monitored variable points to the first Causal reinforcement side weights for each monitored variable, Indicates the monitoring variables at a fixed target. In this case, the unnormalized causal enhancement edge weights corresponding to all source monitoring variables are normalized.
[0048] Therefore, we obtain the first... Causal augmentation dynamic graph corresponding to each local temporal window: ; After performing the above processing on all local time-domain windows, the causal augmentation dynamic graph sequence is obtained: ; in, This represents the set of nodes consisting of wind power equipment monitoring variables. Indicates the first The adjacency matrix of the causal augmented dynamic graph corresponding to each local time-domain window This indicates the number of local time-domain windows.
[0049] S6. Based on the causal enhanced dynamic graph, perform directed graph propagation to obtain a representation of the wind power equipment's operating status; In this embodiment, the causal enhancement dynamic graph adjacency matrix obtained based on S5 The time-enhanced variable representations obtained from S3 are propagated in a directed graph to integrate variable association information with stable causal constraints.
[0050] For the Let there be a local temporal window, and let its corresponding node feature set be: ; in, Indicates the first The monitored variable is at the _ Temporal enhancement node features within a local temporal window This indicates the number of monitored variables.
[0051] Based on causal enhancement dynamic graph adjacency matrix , for the The adjacency variable features of each target node are weighted and aggregated: ; in, Indicates the first The adjacent variable features obtained by aggregating the monitoring variables Indicates the first Within the local time domain window, the first... The monitored variable points to the first Causal reinforcement side weights for each monitored variable, This represents the trainable feature transformation matrix.
[0052] Subsequently, the aggregated adjacency variable features are fused with the time-enhanced features of the current monitored variable itself to obtain the updated node representation: ; in, Indicates the first The node representation of each monitored variable after propagation through a directed graph. Indicates feature splicing, and For trainable parameters, This represents a non-linear activation function.
[0053] For the first The above directed graph propagation operation is performed on all monitored variables within a local time domain window to obtain the running state representation corresponding to that local time domain window: ; After graph propagation over all local time-domain windows, the operating status representation of the wind power equipment corresponding to the input time window is obtained: ; in, This represents a window-level state fusion function, used to integrate graph propagation results from different local temporal windows. This indicates the operating status of the wind power equipment corresponding to the current input time window.
[0054] S7. Based on the wind power equipment operating status representation, perform sequence reconstruction, calculate the error between the actual monitoring value and the reconstructed value as the anomaly score, and output the wind power equipment anomaly detection result according to the anomaly score and the preset threshold.
[0055] In this embodiment, the wind power equipment operating status obtained in S6 is represented as follows: Input the decoding network to reconstruct the multivariate monitoring sequence corresponding to the current input time window: ; in, Indicates the decoding network. This represents the reconstructed multivariate monitoring sequence.
[0056] During the model training phase, the mean squared error between the real monitoring sequence and the reconstructed sequence is used as the optimization objective. ; in, Indicates the length of the input time window. Indicates the number of monitored variables. and They represent the first Each monitoring variable at time... The actual value and the reconstructed value.
[0057] During the model testing phase, anomaly scores are calculated based on the error between the actual monitored sequence and the reconstructed sequence.
[0058] ; in, Indicated by time The abnormal score corresponding to the time window ending at the specified position.
[0059] The anomaly detection threshold is determined based on the quantiles of the anomaly scores in the validation set. ; in, Indicates the anomaly detection threshold. This represents the set of outlier scores on the validation set. Represents the quantile function. This indicates the preset quantile ratio.
[0060] Finally, the outlier scores of the test samples will be... With threshold Compare and output the anomaly detection results: ; in, This indicates that the condition has been determined to be abnormal. This indicates that the condition is considered normal.
[0061] In this embodiment, to verify the effectiveness of the proposed method in wind power equipment anomaly detection, the WT23 wind power equipment operation monitoring dataset is used for experimental verification. The WT23 dataset contains continuous sampling sequences of multiple wind power equipment sensor variables and corresponding anomaly labels, which can be used to evaluate the proposed method's ability to detect abnormal states of wind power equipment.
[0062] In the experiment, the training set was used for model training and construction of a globally stable causal prior graph, the validation set was used to determine the anomaly score quantile threshold, and the test set was used to evaluate the anomaly detection performance. The evaluation metric used was accuracy. Recall rate and Fractions are calculated using the following formula: ; ; ; in, This indicates the number of correctly detected abnormal samples. This indicates the number of normal samples that were misclassified as abnormal. This indicates the number of abnormal samples that were not detected.
[0063] Table 1. Anomaly detection results of the method proposed in this application on the WT23 dataset.
[0064] As shown in Table 1, the method proposed in this application achieved good anomaly detection results on the WT23 dataset, with a precision of 97.61% and a recall of 88.68%. The score reached 0.93. Experimental results show that the method proposed in this application can effectively identify abnormal states during the operation of wind power equipment.
[0065] like Figure 2 The diagram shown is a schematic representation of a wind power equipment anomaly detection system based on causal augmentation dynamic graphs according to an embodiment of the present invention. The system includes: The data processing module 101 is used to acquire multivariate time series monitoring data of wind power equipment, and to perform data cleaning, missing value handling, standardization and dataset partitioning on the multivariate time series monitoring data. The stable causal graph construction module 102 is used to divide the normal operation data of wind power equipment into time blocks, calculate the directed causal relationship and causal strength between multiple monitoring variables under multiple lag orders in each time block, and obtain a global stable causal prior graph based on the stability of causal edges. The time feature extraction module 103 is used to extract the local short-term fluctuation features and long-term time-domain evolution features of the monitoring variables through a dual-branch temporal convolutional network, and generate a time-enhanced variable representation. The dynamic graph construction module 104 is used to construct a window-level variable feature set according to a preset local time domain range based on the time-enhanced variable representation, and generate a dynamic graph structure based on the window-level variable feature set; Causal enhancement module 105 is used to perform edge structure filtering, direction constraint and causal intensity modulation on the dynamic graph structure based on the global stable causal prior graph to generate a causal enhanced dynamic graph; Graph propagation module 106 is used to perform directed graph propagation based on the causal enhanced dynamic graph to obtain a representation of the wind power equipment's operating status; The anomaly detection module 107 is used to perform sequence reconstruction based on the wind power equipment operating status representation, calculate the error between the actual monitoring value and the reconstructed value as an anomaly score, and output the wind power equipment anomaly detection result.
[0066] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the described module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for detecting anomalies in wind power equipment based on causal augmented dynamic graphs, characterized in that, Includes the following steps: S1. Acquire multivariate time series monitoring data during the operation of wind power equipment, perform data cleaning, missing value processing and standardization on the multivariate time series monitoring data, divide it into training set, validation set and test set according to preset rules, and select normal operation data of wind power equipment from the training set. S2. Based on the wind power equipment normal operation data obtained from the training set, perform time-blocking, and calculate the directed causal relationship and causal strength between multiple lag-order monitoring variables in each time block; The occurrence of the same directed causal edge in multiple normal operating time blocks is statistically analyzed. A stability score for the causal edge is calculated based on its frequency of occurrence, average causal strength, significance statistics, or a combination thereof. The comprehensive causal strength of the directed causal edge is also calculated. A preset stability threshold is set, and directed causal edges whose stability scores satisfy the preset stability threshold are retained. A globally stable causal prior graph is constructed based on the retained directed causal edges and their comprehensive causal strength. The globally stable causal prior graph includes a globally stable causal structure matrix and a globally stable causal strength matrix, which are obtained by combining causal relationships and causal strengths under multiple lag orders. This graph is used to characterize the directional and time-delayed stable causal transmission relationships between wind power equipment monitoring variables. S3. The input time window is fed into a dual-branch temporal convolutional network to extract the local short-term fluctuation features and the longer time-domain evolution features of the monitored variables, and the local short-term fluctuation features and the longer time-domain evolution features are fused to obtain the time-enhanced variable representation. S4. Based on the variable feature sequence corresponding to the time-enhanced variable representation, several local time-domain windows are obtained by sliding the window according to a preset local time-domain window; for each local time-domain window, the dynamic attention score between different monitoring variables is calculated to obtain a dynamic graph structure that updates with the local time-domain range. S5. Based on the globally stable causal structure matrix in the globally stable causal prior graph, determine the set of directed causal edges that are allowed to propagate; shield or suppress edges in the dynamic graph structure that do not belong to the set of directed causal edges or whose directions are inconsistent, thus completing the structural screening and directional constraints on the edges in the dynamic graph structure; for the edges retained after structural screening and directional constraints, modulate the dynamic attention score or dynamic graph edge weights according to the causal intensity corresponding to the globally stable causal intensity matrix to obtain unnormalized causal enhancement edge weights; normalize the modulated dynamic graph edge weights to generate a causal enhancement dynamic graph. S6. Based on the causal enhanced dynamic graph, perform directed graph propagation to obtain a representation of the wind power equipment's operating status; S7. Based on the wind power equipment operating status representation, perform sequence reconstruction, calculate the error between the actual monitoring value and the reconstructed value as the anomaly score, and output the wind power equipment anomaly detection result according to the anomaly score and the preset threshold.
2. The wind power equipment anomaly detection method based on causal augmented dynamic graphs according to claim 1, characterized in that, The multivariate time series monitoring data includes at least two of the following during the operation of wind power equipment: wind speed, power generation, rotor speed, gearbox temperature, generator temperature, bearing temperature, vibration signal, current signal, and voltage signal.
3. The wind power equipment anomaly detection method based on causal reinforcement dynamic graphs according to claim 2, characterized in that, Step 2, specifically involving time-blocking and calculating directed causal relationships in the wind power equipment normal operation data selected from the training set, includes: The normal operation data of wind power equipment is divided according to the preset block length and block step size to obtain multiple normal operation time segments; Within each normal operating time segment, for each target monitoring variable, the causal influence of other monitoring variables on the current state of the target monitoring variable at multiple lag orders is detected; If the source monitoring variable has a significant causal effect on the target monitoring variable at a specified lag, a directed causal edge is established from the source monitoring variable to the target monitoring variable, and the corresponding causal strength is determined based on the causal test results.
4. The wind power equipment anomaly detection method based on causal enhanced dynamic graphs according to claim 3, characterized in that, In step 3, the dual-branch temporal convolutional network includes a local temporal convolutional branch and a global temporal convolutional branch; The local temporal convolution branch is used to extract local short-term fluctuation features of the monitored variables within the input time window; The global temporal convolution branch is used to extract longer temporal evolution features of the monitored variables within the input time window; The local short-term fluctuation characteristics and the longer time-domain evolution characteristics are fused through a gating fusion method to obtain the time-enhanced variable representation.
5. The wind power equipment anomaly detection method based on causal enhanced dynamic graphs according to claim 4, characterized in that, In step 4, the variable feature sequence is divided into time domains according to a preset local time domain window. For each local time domain window, the dynamic attention score between different monitored variables is calculated, resulting in a dynamic graph structure that updates with the local time domain range. Specifically, this includes: Local time-domain features are extracted from the time-enhanced variable representation according to a preset local window length and local window step size; Each monitored variable is used as a graph node, and the variable features within the corresponding local time domain are used as node features; Calculate the dynamic attention score among different monitored variables based on the node characteristics; The dynamic attention score is normalized to obtain the dynamic graph structure.
6. The wind power equipment anomaly detection method based on causal enhanced dynamic graphs according to claim 5, characterized in that, Step 6, specifically the directed graph propagation based on the causal enhanced dynamic graph, includes: The time-enhanced variables are represented as node input features; Based on the aforementioned causal enhanced dynamic graph, the features of adjacent nodes are weighted and aggregated. By updating the node representation through at least one of nonlinear mapping, residual connection, or gated update, a wind power equipment operating status representation that integrates stable causal transmission relationships and local dynamic correlation relationships is obtained.
7. The wind power equipment anomaly detection method based on causal enhanced dynamic graphs according to claim 6, characterized in that, In step 7, the sequence reconstruction is performed based on the wind power equipment operating status representation. The error between the actual monitored value and the reconstructed value is calculated as an anomaly score. The wind power equipment anomaly detection result is output according to the anomaly score and a preset threshold. Specifically, this includes: The wind power equipment operating status is input into the decoding network, and the reconstruction sequence corresponding to the current time window is output. Anomaly scores are calculated based on the differences between the actual monitored values and the reconstructed sequence; The outlier score is obtained from the mean squared error. The preset threshold is determined based on at least one of the following methods: the distribution of abnormal scores in the validation set, the preset abnormal ratio, and the statistical quantile. The anomaly score of the test sample is compared with the threshold, and the anomaly detection result is output.
8. A wind power equipment anomaly detection system based on causal augmented dynamic graphs, used to implement the method as described in any one of claims 1-7, characterized in that, The system includes: The data processing module is used to acquire multivariate time series monitoring data of wind power equipment, and to perform data cleaning, missing value handling, standardization, and dataset partitioning on the multivariate time series monitoring data. A stable causal graph construction module is used to divide the normal operation data of wind power equipment into time blocks, calculate the directed causal relationships and causal strengths between monitoring variables at multiple lag orders within each time block, statistically analyze the occurrence of the same directed causal edge in multiple normal operation time blocks, calculate the stability score of the causal edge based on the occurrence frequency, average causal strength, significance statistics, or a combination thereof, and calculate the comprehensive causal strength of the directed causal edge. A preset stability threshold is set, and directed causal edges whose stability scores meet the preset stability threshold are retained. A global stable causal prior graph is constructed based on the retained directed causal edges and their comprehensive causal strengths. The global stable causal prior graph includes a global stable causal structure matrix and a global stable causal strength matrix, which are obtained by combining the causal relationships and causal strengths at multiple lag orders. It is used to characterize the stable causal transmission relationships with directionality and time delay between the monitoring variables of wind power equipment. The time feature extraction module is used to extract the local short-term fluctuation features and longer time-domain evolution features of the monitoring variables through a dual-branch temporal convolutional network, and generate time-enhanced variable representations. The dynamic graph construction module is used to construct a window-level variable feature set according to a preset local time domain range based on the time-enhanced variable representation, and generate a dynamic graph structure based on the window-level variable feature set; The causal enhancement module is used to determine the set of directed causal edges that are allowed to propagate based on the global stable causal structure matrix in the global stable causal prior graph, and to shield or suppress edges in the dynamic graph structure that do not belong to the set of directed causal edges or whose directions are inconsistent, thereby completing the structural screening and directional constraints of the edges in the dynamic graph structure. The edges retained after structural screening and directional constraints are modulated according to the causal intensity corresponding to the global stable causal intensity matrix to obtain the dynamic attention score or dynamic graph edge weight, thereby obtaining the unnormalized causal enhancement edge weight, and the modulated dynamic graph edge weight is normalized to generate a causal enhancement dynamic graph. The graph propagation module is used to perform directed graph propagation based on the causal enhanced dynamic graph to obtain a representation of the wind power equipment's operating status. The anomaly detection module is used to reconstruct the sequence based on the wind power equipment operating status representation, calculate the error between the actual monitoring value and the reconstructed value as the anomaly score, and output the wind power equipment anomaly detection result.
Citation Information
Patent Citations
Abnormity diagnosis method, system and equipment for satellite telemetering multi-dimensional time series data
CN117688496A
Multivariate time series anomaly detection method based on adaptive causal diagram and spatio-temporal evolution
CN121435054A
