A privacy protection-oriented multi-wind farm collaborative fault diagnosis method
By constructing an evolution state-driven spatiotemporal graph neural network and a federated learning mechanism for wind turbines, the problems of spatiotemporal correlation feature modeling and data silos in wind turbine fault diagnosis are solved, achieving privacy protection and efficient diagnosis in collaborative fault diagnosis of multiple wind farms.
Patent Information
- Application Number
- CN202610990889.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-04
- Publication Date
- 2026-11-27
AI Technical Summary
Existing wind turbine fault diagnosis methods struggle to effectively model spatiotemporal correlation features under complex operating conditions, and suffer from problems such as data silos limiting collaborative diagnosis and data heterogeneity across multiple wind farms leading to insufficient model generalization ability.
By employing an evolutionary state-driven spatiotemporal graph neural network combined with a federated learning mechanism, a spatiotemporal graph of wind turbines is constructed to extract time-dependent features and state evolution features, enabling collaborative fault diagnosis of multiple wind farms without sharing the original data.
It improves the ability to extract fault features and the accuracy of identification, enhances the robustness and generalization ability of the model, ensures data privacy and security, adapts to different operating environments and unit types, and reduces the risk of missed fault detection.
Smart Images

Figure CN123179055A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wind farm operation and maintenance technology, and specifically relates to a collaborative fault diagnosis method for multiple wind farms with privacy protection in mind. Background Technology
[0002] With the continuous growth of wind power installed capacity and the continuous improvement of digital operation and maintenance levels, intelligent fault diagnosis based on operational data has become an important technical means to ensure the safe and stable operation of wind turbines. During operation, wind turbines generate a large amount of SCADA (Supervisory Control and Data Acquisition) monitoring data, including multi-source heterogeneous information such as vibration, temperature, power, and speed, providing important basis for equipment status perception and fault identification. However, with the expansion of wind farm scale and the increasing complexity of the operating environment, existing fault diagnosis methods still face many challenges.
[0003] First, there is the problem of modeling spatiotemporal correlation features under complex operating conditions. Wind turbines are typical complex electromechanical coupling systems, and the data collected by various sensors are characterized by high dimensionality, strong correlation, and dynamic changes. Not only are there complex coupling relationships between different operating variables, but their correlation patterns also continuously evolve with changes in wind speed, load, and environmental conditions. Most existing fault diagnosis methods focus on the analysis of local time-series features or static correlation features, making it difficult to simultaneously characterize the time dependence and state evolution patterns during equipment operation, thus limiting the effective extraction and identification of fault features.
[0004] Second, there is the issue of collaborative diagnosis under data privacy constraints. Wind farms accumulate a large amount of high-value operational data during operation, but due to factors such as commercial competition, data security, and privacy protection requirements, different wind farms typically find it difficult to directly share raw operational data, forming isolated data silos. Existing centralized fault diagnosis methods often rely on cross-wind farm data aggregation and unified modeling, which struggles to meet data security and privacy protection needs in practical applications, thus limiting the effectiveness of multi-wind farm collaborative diagnosis.
[0005] Third, there is the issue of data heterogeneity across multiple wind farms. Different wind farms exhibit significant differences in turbine models, operational years, geographical environments, climate conditions, and sensor configurations, leading to substantial deviations in the distribution of data collected from each wind farm. Existing collaborative diagnostic methods typically assume that different data sources have similar data distributions, making it difficult to adapt to the heterogeneous data characteristics across wind farms in complex scenarios. This can easily result in decreased model generalization ability and degraded diagnostic performance.
[0006] Therefore, there is an urgent need for a method that can effectively mine the spatiotemporal correlation characteristics of wind turbine operation while ensuring data privacy and security, and realize collaborative fault diagnosis of multiple wind farms, so as to improve the accuracy, robustness and generalization ability of fault diagnosis in complex operating environments. Summary of the Invention
[0007] To address the problems existing in the prior art, this invention proposes a collaborative fault diagnosis method for multiple wind farms with privacy protection in mind. It aims to solve the problems in the existing fault diagnosis process of wind turbines, such as the difficulty in effectively modeling the spatiotemporal correlation features under complex operating conditions, the limitation of collaborative diagnosis by data silos between wind farms, and the insufficient generalization ability of the model due to the heterogeneity of data among multiple wind farms.
[0008] To achieve the above-mentioned technical objectives, the present invention provides the following technical solution: A collaborative fault diagnosis method for multiple wind farms with privacy protection as the main focus includes the following steps: For any wind turbine in the wind farm, acquire its SCADA operation data and preprocess it; divide the preprocessed SCADA operation data into a preset number of consecutive time windows in chronological order; with each time window as a node, establish time association edges and state association edges between different nodes to construct a spatiotemporal graph driven by the evolution state of the wind turbine. An evolutionary state spatiotemporal graph neural network is constructed, and features are extracted from the spatiotemporal graph structures corresponding to time-related edges and state-related edges to obtain time-dependent features and state evolution features. The two types of features are then fused to obtain the spatiotemporal representation of the wind turbine's operating state. The spatiotemporal representation of the operating status is input into the fault classifier, and the fault diagnosis result of the wind turbine is output. A federated learning architecture is adopted, with each wind farm as a client. Each client combines an evolutionary state spatiotemporal graph neural network with a fault classifier as its local fault diagnosis model. Each client trains its model using SCADA operation data of all its local wind turbines, and only uploads the local model parameters to the central server for aggregation to generate global model parameters. The global model parameters are then distributed to each client for iterative optimization. After multiple rounds of collaborative optimization, a global fault diagnosis model for all wind farms is obtained. The global fault diagnosis model is then deployed to each client to realize fault detection and classification of wind turbines.
[0009] Furthermore, the time-related edges are established in the following manner: Connect the graph nodes corresponding to adjacent time windows according to the time sequence, and establish the relationship between each node and its predecessor as a time-related edge.
[0010] Furthermore, the state-related edges are established in the following manner: The preprocessed SCADA running data within the time window is used as the input features of the nodes; the input features of each node are L2 normalized to obtain L2 normalized input features; for any node... Calculate the L2 normalized input features of other nodes and The L2-normalized input features are compared using cosine similarity. Then, a K-nearest neighbor (KNN) selection mechanism is used to select the K nodes whose cosine similarity exceeds a preset similarity threshold and whose top ranking is also considered. , For node index, and ;Establish and The relationships between them are represented as state-related edges.
[0011] Furthermore, the construction of the evolutionary state spatiotemporal graph neural network involves extracting features from the spatiotemporal graph structures corresponding to time-related edges and state-related edges, respectively, to obtain time-dependent features and state evolution features. A one-dimensional convolutional network is used to encode the features of SCADA running data within any time window. The encoding result is then passed through a fully connected layer and a layer normalization to obtain the feature representation of the node corresponding to that time window. All nodes are traversed to obtain the node feature matrix. The temporal adjacency matrix is obtained based on the temporal adjacency edge, and the state adjacency matrix is obtained based on the state adjacency edge. The temporal adjacency matrix and the state adjacency matrix are used to perform bi-branch graph convolution processing on the node feature matrix. Each branch is stacked with L layers of graph convolution layers. The node features are aggregated based on the adjacency matrix to obtain temporal dependent features and state evolution features respectively.
[0012] Furthermore, the spatiotemporal representation of the wind turbine's operating state obtained by fusing the two types of features is specifically as follows: We perform weighted fusion or element-wise fusion of time-dependent features and state evolution features, and then normalize them to obtain the spatiotemporal representation of the wind turbine's operating state.
[0013] Furthermore, the specific steps of inputting the spatiotemporal representation of the operating state into the fault classifier and outputting the fault diagnosis result of the wind turbine are as follows: The runtime spatial feature representation is input into the multilayer perceptron classification network, and the operating status of the wind turbine is identified through the fault category prediction results, and the corresponding fault category is output.
[0014] Furthermore, the global model parameters are the average of all local model parameters uploaded in each iteration.
[0015] Furthermore, this application also discloses a multi-wind farm collaborative fault diagnosis system for privacy protection. This system executes the multi-wind farm collaborative fault diagnosis method described above, specifically including: The data acquisition module is used to acquire SCADA operation data of the wind turbine. The spatiotemporal graph construction module is used to divide the SCADA operation data into nodes according to time windows, and establish time-related edges and state-related edges between nodes to construct a spatiotemporal graph; The feature extraction module is used to construct the evolutionary state spatiotemporal graph neural network, extract the spatiotemporal graph features corresponding to time-related edges and state-related edges respectively, and fuse them to obtain the spatiotemporal representation of the running state; The fault diagnosis module is used to output fault diagnosis results based on the spatiotemporal representation of the operating state; The federated learning module is used to train local models with wind farms as clients, aggregate model parameters through a central server to generate a global model, and distribute it to each client to achieve collaborative fault diagnosis.
[0016] An electronic device is also disclosed, comprising a memory and a processor, wherein: Memory is used to store computer programs that can run on a processor; The processor is configured to execute, while running the computer program, a privacy-preserving multi-wind farm collaborative fault diagnosis method as described above.
[0017] A computer-readable storage medium is also disclosed, which stores computer instructions for causing a processor to execute a privacy-preserving multi-wind farm collaborative fault diagnosis method as described above.
[0018] Based on the above technical solution, the present invention has at least the following beneficial effects: 1. This invention constructs a spatiotemporal graph that integrates time dependence and state evolution relationships, which can more comprehensively characterize the dynamic features of wind turbine units in complex operation processes and improve fault feature extraction capabilities and fault identification accuracy.
[0019] 2. This invention adopts a federated learning mechanism to achieve knowledge sharing and collaborative optimization of multiple wind farms without sharing the original operating data, effectively ensuring the security and privacy of wind farm operating data.
[0020] 3. This invention constructs a collaborative fault diagnosis model by integrating fault feature information contained in the operation data of multiple wind farms, which improves the model's adaptability to different operating environments, different unit types and different operating conditions, and enhances the robustness and generalization ability of the fault diagnosis model. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of federated learning for a privacy-preserving multi-wind farm collaborative fault diagnosis method proposed in this invention. Figure 2 This is a schematic diagram of the process of constructing a local fault diagnosis model in an embodiment of the present invention. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0023] Although the steps in this invention are arranged by reference numerals, this is not intended to limit the order of the steps. Unless the order of the steps is explicitly stated or the execution of a step requires other steps as a basis, the relative order of the steps can be adjusted. It is understood that the term "and / or" as used herein refers to and covers any and all possible combinations of one or more of the associated listed items.
[0024] The proposed method for collaborative fault diagnosis of multiple wind farms with privacy protection includes the following steps: S1. For any wind turbine in the wind farm, acquire its SCADA operation data and preprocess it; divide the preprocessed SCADA operation data into M consecutive time windows in chronological order. As a preferred embodiment, in this example, the overall wind power system is assumed to include The first wind farm client, the first Each client holds a corresponding private local dataset. All client datasets constitute a set Each wind farm client stores independent SCADA operation data, including operating parameters such as wind speed, rotational speed, power, temperature, and vibration, and completes fault diagnosis model training on a local server.
[0025] In a preferred embodiment, the preprocessing includes data cleaning, feature filtering, standardization, sample balancing, and sliding window segmentation, specifically: First, perform data cleaning and feature selection: The original sensor variables collected from each wind turbine were examined, and redundant variables whose values remained basically constant or whose changes were below a preset threshold throughout the entire operating cycle were removed, as well as statistical summary variables that were not directly related to short-term fault diagnosis. Among the variables removed were constant variables such as capacitor voltage, generator slip ring temperature, and cooling fan outlet temperature, as well as long-term statistical indicators such as monthly cumulative power generation. After screening, 39 core operating variables were retained as model input features.
[0026] To eliminate the impact of differences in physical dimensions of variables from different sensors on model training, the retained operating variables are standardized. In this embodiment, Z-score standardization is used; in the subsequent testing phase, the same mean as in the training phase is used. and standard deviation The test samples are standardized to maintain the consistency of the data distribution between the training set and the test set. Meanwhile, since wind turbines are in normal condition for most of the operating time, the number of normal samples is much higher than the number of faulty samples. In this embodiment, random downsampling is performed on the normal operating samples to reduce the proportion of redundant normal samples and reduce the dominant effect of the majority class samples on the model training process.
[0027] Subsequently, the standardized samples are divided into training and test sets according to time sequence. In this embodiment, the ratio of training to test sets is 7:3 to ensure that the test set samples remain unseen during model training, thereby truly reflecting the model's generalization ability to future operating states.
[0028] In addition, to enhance the representation of minority class fault samples, a synthetic minority oversampling technique (SMOTE) is used on the training set to generate new fault samples. This technique generates new fault samples by linearly interpolating adjacent fault samples in the feature space, thereby expanding the data distribution of scarce fault modes.
[0029] After preprocessing, in order to preserve the temporal continuity characteristics of the wind turbine degradation process, the preprocessed SCADA time series is segmented by a sliding window to construct continuous time window samples. In this embodiment, the SCADA data sampling interval is 10 minutes, and the sliding window length is set to 3 consecutive time steps, corresponding to 30 minutes of operating history.
[0030] Through the above preprocessing steps and sliding window segmentation, redundant noise information is effectively eliminated, the scale of multi-source sensor variables is unified, the problem of unbalanced category distribution is alleviated, and the continuous characteristics of the wind turbine's operating status evolution over time are preserved, providing high-quality input data for subsequent construction of spatiotemporal maps of evolution status and federated collaborative fault diagnosis.
[0031] Then, using each time window as a node, time-related edges and state-related edges are established between different nodes to construct a spatiotemporal graph driven by the evolution state of the wind turbine. ;in, For a set of nodes; Input the feature matrix to the node, which is the preprocessed SCADA running data. Indicates the size of the time window. Represents the number of variables; edge set , , These represent the time-related edge set and the state-related edge set, respectively. In a preferred embodiment, the time-related edge is established as follows: Connect the graph nodes corresponding to adjacent time windows according to the time sequence, and establish the association relationship between each node and its predecessor, as the time association edge. ; in, Indicates the first A time window, i.e., the corresponding node Temporal correlation edges are used to depict the temporal dependencies between adjacent time windows.
[0032] In a preferred embodiment, the state association edges are established as follows: The preprocessed SCADA running data within the time window is used as the input features of the nodes; the input features of each node are L2 normalized to obtain L2 normalized input features; for any node... Calculate the L2 normalized input features of other nodes and The L2-normalized input features are compared using cosine similarity. Then, a K-nearest neighbor (KNN) selection mechanism is used to select the K nodes whose cosine similarity exceeds a preset similarity threshold and whose top ranking is also considered. , For node index, and ;Establish and The relationships between them are represented as state-related edges, namely: ; in, , They are nodes , The node input features, , The cosine similarity between L2-normalized input features This represents the cosine similarity between feature vectors after L2 normalization. In this embodiment, both time-related edges and state-related edges are designed as directed edges. Compared with the undirected edges used in general designs, they only use past data and do not use future data. This can better reflect the time-dependent relationships and state evolution relationships, while also preventing the leakage of privacy data to a certain extent.
[0033] Furthermore, it should be noted that the actual spatiotemporal map in this application consists of SCADA operation data of a single wind turbine unit within a single wind farm, while the training of each local fault diagnosis model is a set composed of spatiotemporal maps of all wind turbines within the same wind farm. Since all units within the same wind farm can be considered to have the same model, operating years, geographical environment, climate conditions, and sensor configuration, they can share local fault diagnosis models with the same parameter configuration. After subsequent federated learning, they can predict the fault detection and classification of each wind turbine unit within each wind farm.
[0034] In this embodiment, continuous time windows are used as graph nodes. Time edges are established according to the time sequence, and state edges are established according to the similarity of operating states, thus forming a spatiotemporal graph structure that simultaneously contains time dependencies and state evolution relationships. This allows the complex operation process of wind turbine units to be represented as a spatiotemporal graph structure, which can simultaneously characterize the dynamic evolution characteristics and long-term state correlation characteristics of the operating states, providing rich structural information for subsequent fault feature extraction.
[0035] S2. Construct an evolutionary state spatiotemporal graph neural network, extract features from the spatiotemporal graph structure corresponding to the time-related edge and the spatiotemporal graph structure corresponding to the state-related edge, respectively, to obtain time-dependent features and state evolution features; fuse the two types of features to obtain the spatiotemporal representation of the wind turbine's operating state; In a preferred embodiment, the construction of the evolutionary state spatiotemporal graph neural network involves extracting features from the spatiotemporal graph structures corresponding to time-related edges and state-related edges to obtain time-dependent features and state evolution features. A one-dimensional convolutional network is used to encode features of SCADA operation data within any time window, specifically as follows: For any node Corresponding input features First, one-dimensional convolution is used to extract variable interaction features: ; in, Represents one-dimensional convolution. Indicates group normalization, Represents the ReLU activation function. This indicates a random discard operation; The encoding result; The encoded result is then passed through a fully connected layer and a normalization layer to obtain the feature representation of the node corresponding to the time window, expressed by the formula: ; in, For flattening, , For weights and biases, For layer normalization; For nodes Feature representation; Traverse all nodes to obtain the node feature matrix. ; The temporal adjacency matrix is obtained based on the temporal adjacency edges, and the state adjacency matrix is obtained based on the state adjacency edges. The node feature matrix is then processed using a bi-branch graph convolution, with each branch stacked with L graph convolutional layers. Neighborhood features are aggregated based on the adjacency matrix. In this embodiment, the update process of any graph convolutional layer in any graph convolutional branch is represented as follows: ; in, For learnable weight matrix, For nodes The first Layer-updated node features For nodes The first The node features updated at each layer, where i and j are node indices. Represents a node The index set of neighboring points; To normalize the edge weights.
[0036] To eliminate the impact of differences in the number of connections between different nodes on feature propagation, this application normalizes the edge weights. Defined as: ; in, Represents a node The normalization degree is calculated using the following formula: ; in, This represents a self-connected edge of a node. For nodes With nodes The edges connecting them; for time-related edges, For state-related edges, .
[0037] Time-dependent features were obtained after bi-branch graph convolution processing. and state evolution characteristics , , This is a graph convolutional network with two branches.
[0038] As a preferred embodiment, the process of fusing the two types of features to obtain the spatiotemporal representation of the wind turbine's operating state specifically involves: The time-dependent features and state evolution features are weighted and fused or fused element-by-element, and then normalized to obtain the spatiotemporal representation of the wind turbine's operating state. In this embodiment, mean weighting and layer normalization are used, expressed by the following formula: ; in, This represents the spatiotemporal characterization of the operating state. Through the spatiotemporal graph constructed in this application and the aforementioned bi-branch graph convolutional network, the temporal dependencies and state similarities in wind turbine operating data can be fully explored, improving the ability to extract fault features and identify fault modes under complex operating conditions.
[0039] S3. Input the spatiotemporal representation of the operating status into the fault classifier and output the fault diagnosis result of the wind turbine. In a preferred embodiment, step S3 specifically comprises: The runtime spatiotemporal features are input into a multilayer perceptron classification network. The operating status of the wind turbine is identified based on the fault category prediction results, and the corresponding fault category is output. The formula is as follows: ; ; in, This represents the fault category prediction result obtained after processing by a multilayer perceptron. To predict the fault category in the output; , These are the mapping functions for the Multilayer Perceptron (MLP) and the Classifier CLS, respectively.
[0040] S4, such as Figure 1 As shown, a federated learning architecture is adopted, with each wind farm as a client. Each client combines an evolutionary state spatiotemporal graph neural network with a fault classifier as its local fault diagnosis model. Each client trains its model using SCADA operation data from all its local wind turbines. In this embodiment, the local fault diagnosis model uses the cross-entropy loss function. The training process is expressed by the formula: ; in, This represents the total number of fault categories. For nodes Fault category The true label, The corresponding model prediction output, This is the Softmax activation function.
[0041] In this embodiment, since the SCADA operation data of each wind turbine is used to train and calculate the cross-entropy loss function, the average value of the loss function calculated by training the SCADA operation data of all wind turbines in the same wind farm is used as the loss function of the local fault diagnosis model corresponding to the wind farm during the actual training process.
[0042] Local model parameters are uploaded to the central server for aggregation to generate global model parameters, and then the global model parameters are distributed to each client for iterative optimization. In a preferred embodiment, the global model parameter is the average of all local model parameters uploaded in each iteration, expressed by the formula: ; in, Indicates the first Round communication Model parameters uploaded by each client. This represents the updated global model parameters. During training, each client only exchanges model parameters with the central server and does not transmit the original running data, thus ensuring data privacy and security.
[0043] After multiple rounds of collaborative optimization until the preset number of communication rounds or model convergence conditions are reached, a global fault diagnosis model for all wind farms is obtained; the global fault diagnosis model is then deployed to each client to realize fault detection and classification of wind turbine units.
[0044] Through the federated learning described above, this invention enables the sharing and fusion of fault diagnosis knowledge among multiple wind farms, improves the model's adaptability to different unit types, operating environments, and working conditions, and enhances the accuracy, robustness, and generalization ability of the fault diagnosis model.
[0045] The above is the complete process of the method proposed in this invention. Furthermore, this application also discloses a multi-wind farm collaborative fault diagnosis system for privacy protection. This system executes the multi-wind farm collaborative fault diagnosis method described above, specifically including: The data acquisition module is used to acquire SCADA operation data of the wind turbine. The spatiotemporal graph construction module is used to divide the SCADA operation data into nodes according to time windows, and establish time-related edges and state-related edges between nodes to construct a spatiotemporal graph; The feature extraction module is used to construct the evolutionary state spatiotemporal graph neural network, extract the spatiotemporal graph features corresponding to time-related edges and state-related edges respectively, and fuse them to obtain the spatiotemporal representation of the running state; The fault diagnosis module is used to output fault diagnosis results based on the spatiotemporal representation of the operating state; The federated learning module is used to train local models with wind farms as clients, aggregate model parameters through a central server to generate a global model, and distribute it to each client to achieve collaborative fault diagnosis.
[0046] An electronic device is also disclosed, comprising a memory and a processor, wherein: Memory is used to store computer programs that can run on a processor; The processor is configured to execute, while running the computer program, a privacy-preserving multi-wind farm collaborative fault diagnosis method as described above.
[0047] A computer-readable storage medium is also disclosed, which stores computer instructions for causing a processor to execute a privacy-preserving multi-wind farm collaborative fault diagnosis method as described above.
[0048] To verify the reliability and superiority of the method proposed in this invention, the following experimental examples are also provided in this embodiment: Using a dataset containing SCADA data from 13 wind farms, the spatiotemporal graph model ES-STGNN of this invention was compared with several mainstream and representative deep learning methods as baselines. The configurations of each baseline model are shown in Table 1.
[0049] Table 1 Baseline Model Configuration
[0050] It should be noted that in the above baseline models: the feature extractor of the CNN model is configured with 3 two-dimensional convolutional layers, and the classifier is configured with 3 fully connected layers; the feature extractor of the VGG-19 model is configured with 5 convolutional blocks, and the classifier of the GCN model is configured with 2 fully connected layers; the number of other network layers is 1.
[0051] The spatiotemporal model configuration of this invention is shown in Table 2.
[0052] Table 2. Spatiotemporal graph model configuration of this invention
[0053] In the spatiotemporal model of this invention: the feature extractor is configured with 3 one-dimensional convolutional layers and 4 grouping normalization layers; the number of the remaining network layers is 1.
[0054] The comparison results are shown in Table 3.
[0055] Table 3 Baseline Comparison
[0056] As shown in Table 3, under the centralized training mode, the fault diagnosis performance is optimal because the model can acquire all wind farm data and fully learn the complete data distribution. The Evolutionary State Spatiotemporal Graph Neural Network (ES-STGNN) proposed in this invention achieves high diagnostic accuracy, recall, and F1 score in the centralized scenario, verifying the ability of the constructed spatiotemporal graph model to represent the complex operating states of wind turbine units.
[0057] In the distributed independent training mode, each wind farm uses only local data for model training. Although the ES-STGNN proposed in this invention can still maintain good fault feature extraction capabilities, the inability to share fault knowledge among different wind farms means that when certain fault types do not appear in the local samples, the corresponding faults are difficult to identify accurately, thus limiting diagnostic performance. This indicates that relying solely on data from a single wind farm is insufficient to meet the fault diagnosis needs under complex operating conditions, and multi-wind farm collaborative learning is of great significance.
[0058] In the federated learning model, wind farms collaborate on training without sharing original SCADA operation data, achieving cross-wind farm knowledge sharing and model optimization. Experimental results show that the proposed ES-STGNN achieves stable and excellent diagnostic performance under different federated aggregation mechanisms such as FedAvg, FedProx, and SCAFFOLD, with the F1 score consistently remaining at a high level. Compared to traditional convolutional neural networks and deep vision networks, its performance degradation is significantly smaller, demonstrating stronger data heterogeneity adaptability. This is mainly due to the evolutionary state-driven spatiotemporal graph modeling mechanism of this invention, which simultaneously characterizes the time dependencies and state similarity relationships during wind turbine operation, thereby effectively mitigating the client-side model offset problem caused by differences in the operating environments of different wind farms.
[0059] For wind turbine fault diagnosis, missed faults can lead to serious equipment damage and substantial downtime losses; therefore, recall rate is of significant engineering importance. Experimental results show that traditional methods generally suffer from low recall rates in federated learning environments, while the method proposed in this invention maintains high fault recall capability, significantly reduces the risk of missed faults, and improves the operational reliability and maintenance safety of wind turbines.
[0060] Furthermore, the comparison results of model size show that the ES-STGNN proposed in this invention is lightweight, with a significantly lower number of model parameters compared to traditional deep learning models. This smaller model size not only reduces the computational resource requirements during edge device deployment but also minimizes the communication overhead associated with model parameter transmission during federated learning training, thus improving the actual deployment efficiency of multi-wind farm collaborative fault diagnosis systems.
[0061] In summary, the proposed multi-wind farm collaborative fault diagnosis method, oriented towards privacy protection, effectively addresses the issues of data silos, privacy protection, and data heterogeneity in existing multi-wind farm fault diagnosis processes. By constructing an evolutionary state-driven spatiotemporal graph model and combining it with a federated learning mechanism to achieve cross-wind farm collaborative knowledge sharing, the method significantly improves the accuracy, recall, robustness, and generalization ability of fault diagnosis while ensuring the security of original operational data. Simultaneously, it considers model lightweighting and engineering deployment feasibility, demonstrating significant application value.
[0062] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.
[0063] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).
[0064] The above embodiments provide a detailed description of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A collaborative fault diagnosis method for multiple wind farms with privacy protection as the primary focus, characterized in that, Specifically, the following steps are included: For any wind turbine in the wind farm, acquire its SCADA operation data and preprocess it; divide the preprocessed SCADA operation data into a preset number of consecutive time windows in chronological order; with each time window as a node, establish time association edges and state association edges between different nodes to construct a spatiotemporal graph driven by the evolution state of the wind turbine. An evolutionary state spatiotemporal graph neural network is constructed, and features are extracted from the spatiotemporal graph structures corresponding to time-related edges and state-related edges to obtain time-dependent features and state evolution features. By integrating the two types of features, a spatiotemporal representation of the operating status of the wind turbine is obtained; The spatiotemporal representation of the operating status is input into the fault classifier, and the fault diagnosis result of the wind turbine is output. A federated learning architecture is adopted, with each wind farm as a client. Each client combines an evolutionary state spatiotemporal graph neural network with a fault classifier as its local fault diagnosis model. Each client trains its model using SCADA operation data of all its local wind turbines, and only uploads the local model parameters to the central server for aggregation to generate global model parameters. The global model parameters are then distributed to each client for iterative optimization. After multiple rounds of collaborative optimization, a global fault diagnosis model for all wind farms is obtained. Deploy the global fault diagnosis model to each client to achieve fault detection and classification of wind turbine units.
2. The multi-wind farm collaborative fault diagnosis method for privacy protection according to claim 1, characterized in that, The time-related edges are established in the following manner: Connect the graph nodes corresponding to adjacent time windows according to the time sequence, and establish the relationship between each node and its predecessor as a time-related edge.
3. The multi-wind farm collaborative fault diagnosis method for privacy protection according to claim 1, characterized in that, The state-related edges are established in the following manner: The preprocessed SCADA running data within the time window is used as the input feature of the node; The input features of each node are L2 normalized to obtain L2 normalized input features; For any node Calculate the L2 normalized input features of other nodes and The L2-normalized input features are compared using cosine similarity. Then, a K-nearest neighbor (KNN) selection mechanism is used to select the K nodes whose cosine similarity exceeds a preset similarity threshold and whose top ranking is also considered. , For node index, and ;Establish and The relationships between them are represented as state-related edges.
4. The multi-wind farm collaborative fault diagnosis method for privacy protection according to claim 1, characterized in that, The construction of the evolutionary state spatiotemporal graph neural network involves extracting features from the spatiotemporal graph structures corresponding to time-related edges and state-related edges, respectively, to obtain time-dependent features and state evolution features. A one-dimensional convolutional network is used to encode the features of SCADA running data within any time window. The encoding result is then passed through a fully connected layer and a layer normalization to obtain the feature representation of the node corresponding to that time window. All nodes are traversed to obtain the node feature matrix. The temporal adjacency matrix is obtained based on the temporal adjacency edge, and the state adjacency matrix is obtained based on the state adjacency edge. The temporal adjacency matrix and the state adjacency matrix are used to perform bi-branch graph convolution processing on the node feature matrix. Each branch is stacked with L layers of graph convolution layers. The node features are aggregated based on the adjacency matrix to obtain temporal dependent features and state evolution features respectively.
5. The multi-wind farm collaborative fault diagnosis method for privacy protection according to claim 1, characterized in that, The spatiotemporal representation of the wind turbine's operating state obtained by fusing the two types of features is as follows: We perform weighted fusion or element-by-element fusion of time-dependent features and state evolution features, and then normalize them to obtain the spatiotemporal representation of the wind turbine's operating state.
6. The multi-wind farm collaborative fault diagnosis method for privacy protection according to claim 1, characterized in that, The specific steps for inputting the spatiotemporal representation of the operating status into the fault classifier and outputting the fault diagnosis result of the wind turbine are as follows: The runtime spatial feature representation is input into the multilayer perceptron classification network, and the operating status of the wind turbine is identified through the fault category prediction results, and the corresponding fault category is output.
7. The multi-wind farm collaborative fault diagnosis method for privacy protection according to claim 1, characterized in that, The global model parameters are the average of all local model parameters uploaded in each iteration.
8. A multi-wind farm collaborative fault diagnosis system for privacy protection, wherein the system performs the method as described in any one of claims 1-7, characterized in that, Specifically, it includes: The data acquisition module is used to acquire SCADA operation data of the wind turbine. The spatiotemporal graph construction module is used to divide the SCADA operation data into nodes according to time windows, and establish time-related edges and state-related edges between nodes to construct a spatiotemporal graph; The feature extraction module is used to construct the evolutionary state spatiotemporal graph neural network, extract the spatiotemporal graph features corresponding to time-related edges and state-related edges respectively, and fuse them to obtain the spatiotemporal representation of the running state; The fault diagnosis module is used to output fault diagnosis results based on the spatiotemporal representation of the operating state; The federated learning module is used to train local models with wind farms as clients, aggregate model parameters through a central server to generate a global model, and distribute it to each client to achieve collaborative fault diagnosis.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor, wherein: Memory is used to store computer programs that can run on a processor; A processor is configured to, when running the computer program, execute a privacy-preserving multi-wind farm collaborative fault diagnosis method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute a multi-wind farm collaborative fault diagnosis method for privacy protection as described in any one of claims 1-7.
