Wind turbine fault diagnosis method and system based on double-flow generative adversarial network
By combining a dual-stream generative adversarial network (DSGAN) with a deep convolutional neural network (CNN) and a bidirectional long short-term memory network (BiLSTM) to extract fault features of wind turbines, the problem of insufficient generalization ability under small sample data conditions is solved, and efficient fault diagnosis is achieved.
Patent Information
- Application Number
- CN202410010358.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-01-04
AI Technical Summary
Existing wind turbine fault diagnosis methods have poor generalization ability under small sample data conditions. Traditional methods are difficult to handle multivariate relationships in complex systems. AI fault diagnosis relies on sufficient training data and the simulation data generation method has insufficient generalization ability.
A fault diagnosis method based on dual-stream generative adversarial network (DSGAN) is adopted. The depth and time features of one-dimensional time-series signals are extracted by deep convolutional neural network (CNN) and bidirectional long short-term memory network (BiLSTM). Combined with exponential similarity weight calculation and fusion of rising and falling dimension features, DSGAN is constructed for adversarial learning, and an enhanced dataset is generated for training.
It improves the accuracy and generalization ability of wind turbine fault diagnosis, effectively utilizes small sample data for fault identification, and enhances the diagnostic effect.
Smart Images

Figure CN117763501B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wind turbine fault diagnosis, and more specifically, to a wind turbine fault diagnosis method and system based on a dual-stream generative adversarial network. Background Technology
[0002] Because wind turbines typically operate in harsh environments, frequently subjected to strong winds and extreme temperatures, their maintenance costs are high and maintenance is difficult. Therefore, reliable fault diagnosis of wind turbines is of great significance.
[0003] Traditional wind turbine fault diagnosis methods primarily rely on voltage or current signals collected by sensors. These signals are compared with fault state thresholds derived from experimental data or expert experience to determine the presence of a fault. The advantage of this method is its simplicity and ease of use, enabling rapid detection of potential problems. However, it has some limitations. First, it struggles to handle multivariate relationships in complex systems. Second, due to the accuracy and speed requirements of detection, the thresholds are typically set relatively fixed, necessitating regular maintenance and updates to ensure their effectiveness.
[0004] Currently, fault diagnosis frameworks based on artificial intelligence (AI) algorithms have occupied an important position in the field of fault diagnosis. Compared with traditional fault diagnosis, AI algorithms can process information from multiple sensors and data sources, and adaptively adjust models and diagnostic methods by continuously adding historical data and adapting to changes in new data. For example, a deep stacked autoencoder (SAE) network can be built to extract features from wind turbine SCADA data, and the error value between the network input data and the reconstructed data can be used as a state observation vector to determine generator faults. Alternatively, the SAE network can be combined with a convolutional neural network (CNN), which enhances the feature extraction capability of the SAE network and converts the one-dimensional input signal into a two-dimensional image signal for network training, expanding the signal dimension and achieving better diagnostic results. Or, from a data perspective, CNNs and gated recurrent neural networks (GRUs) can be used to extract multiple features from SCADA data, and different weights can be assigned to imbalanced data to improve diagnostic accuracy.
[0005] However, the superior performance of AI fault diagnosis methods relies on pre-training neural networks with sufficient training data. In real-world operating conditions, fault data is difficult to obtain due to safety concerns and the self-protection mechanisms of wind turbines. To leverage the diagnostic capabilities of deep networks while avoiding the impact of small sample data, transfer learning has been used to address this issue. Firstly, a simulation model can be built based on the actual system, and a deep network model can be trained on simulated data. The trained deep model can then be fine-tuned on real data to achieve better diagnostic results. Alternatively, from a data perspective, the goal is to reduce the distribution difference between the source and target domains, allowing the model to be trained on source domain data and directly diagnose on target domain data. However, small sample fault diagnosis methods based on transfer learning rely on simulation data generated from complex mechanism simulation models or complex domain generalization calculations, resulting in generally poor generalization capabilities. Therefore, data-generated small sample fault diagnosis methods have been proposed. Data-generated methods aim to use deep networks to extract features from data and learn the distribution characteristics of the data through adversarial learning, thereby generating augmented data with the same distribution as the original data. One-dimensional time-series data is generated by replacing two-dimensional convolutional kernels with one-dimensional kernels, and Wasserstein distance is used as the objective function to evaluate network convergence. Gradient penalty can be introduced as part of the loss function in Generative Adversarial Networks (GANs), which can alleviate mode collapse that may occur during traditional GAN training. Pooling layers are added to the discriminator network to prevent overfitting. Alternatively, variational autoencoders can be combined with GANs, using the encoder's latent variables as input to the GAN, reducing model parameters and making the model easier to converge. It can be seen that current improvements to GAN performance in the fault diagnosis field mostly focus on improving network structure or loss functions. However, the training objective of GANs is to learn the distribution characteristics of the data; therefore, optimization of GAN networks should be targeted from the perspective of fault data.
[0006] In view of this, the present invention is hereby proposed. Summary of the Invention
[0007] In view of this, this invention discloses a wind turbine fault diagnosis method based on a dual-stream generative adversarial network (DSGAN). This method designs a DSGAN to perform feature extraction and adversarial generation on small sample data. Unlike other generative adversarial networks, both the dual-stream generator and dual-stream discriminator in DSGAN extract dual features from the data through a deep and temporal dual-stream network. The deep feature extraction stream primarily uses a convolutional neural network (CNN); the temporal feature extraction stream primarily uses a bidirectional long short-term memory network (BiLSTM). Subsequently, a GFG is designed for the two types of features extracted by the two networks. The AWF module incorporates an exponential similarity weighting metric and employs a method for fusion of ascending and descending dimensionality features at the terminals of the dual-stream generator and the dual-stream discriminator. Adversarial learning is then performed using the fused features to generate an augmented dataset. Finally, a dual-stream diagnostic network is constructed and trained using both the generated augmented dataset and the original dataset to achieve fault diagnosis on small sample data.
[0008] Specifically, the present invention is achieved through the following technical solutions:
[0009] This invention provides a method for fault diagnosis of wind turbine generators based on a dual-stream generative adversarial network, comprising the following steps:
[0010] We construct deep networks and temporal networks, and design GFG based on the two types of features extracted by the two networks. AWF module, GFG The AWF module incorporates an exponential similarity weight calculation index and a method for fusion of ascending and descending dimensions features, which is then used to perform feature fusion at the terminals of the dual-stream generator and the dual-stream discriminator.
[0011] A dual-stream diagnostic network was built and trained using a generated augmented dataset and the original dataset to achieve fault diagnosis on small sample data.
[0012] In the scheme of this invention, during the network construction process, a dual-stream network is designed to extract the dual features of the one-dimensional fault signal, which are depth and time features. The depth feature extraction stream mainly uses a convolutional neural network (CNN), and the time feature extraction stream mainly uses a bidirectional long short-term memory network (BiLSTM).
[0013] 1) Deep Feature Extraction Structure: Since one-dimensional vibration signals are nonlinear signals, while convolution is a linear operation, a nonlinear activation function, ReLU, is added after the convolution operation to extract more nonlinear deep features from the data. This nonlinear transformation enhances the network's ability to capture nonlinear features. The deep feature extraction structure consists of two convolutional layers, two activation layers, and one pooling and flattening layer.
[0014] 2) Temporal Feature Extraction Structure: Considering the strong temporal dependence of vibration signals, BiLSTM is used to learn temporal features simultaneously in both the forward and reverse time directions. Although BiLSTM doubles the number of parameters in the temporal feature extraction stream, the increase in parameters is acceptable considering that the sequence sampling points have already been divided into multiple small sequence samples by the sliding window during network training, and the computational complexity of the feature extraction network is not high. The temporal feature extraction structure consists of 30 BiLSTM blocks.
[0015] Furthermore, to address the issues of information redundancy caused by existing element-level additive feature fusion and insufficient correlation of fused features due to length dimension concatenation, a feature fusion approach is adopted in subsequent adversarial generation after extracting both depth and temporal features to better simulate real data distribution. GFG The feature fusion of the AWF module consists of two steps: exponential similarity weight extraction and dimensionality fusion.
[0016] Furthermore, in order to use the extracted and fused dual-stream features for adversarial learning-based small-sample data augmentation, the dual-stream feature extraction network is combined with GFG. The AWF module is combined as a dual-stream generator and a dual-stream discriminator to construct DSGAN. The construction process is as follows: First, DSGAN is divided into two parts: a dual-stream generator and a dual-stream discriminator. The dual-stream generator adopts a structure that combines deep feature extraction and temporal feature extraction in parallel, and GFG is connected to the terminal of the two feature extraction networks. The AWF module ultimately outputs the generator's output through a fully connected layer. The dual-stream discriminator also uses parallel deep and temporal feature extraction, and then feeds the extracted dual features into the GFG. The AWF module performs data fusion, and the results are then dimensionality-reduced through a fully connected layer before being fed into the classification layer to form the discriminator's output. Finally, the DSGAN loss function is introduced to generate adversarial data.
[0017] In the dual-stream diagnostic network constructed in this invention, deep feature extraction uses two convolutional layers activated by the ReLU function, and deep features are obtained after layer normalization and flattening. Temporal feature extraction uses a BiLSTM module, and a Sigmoid layer is added for classification after feature fusion. A few-shot augmented dataset is used for training to improve the network's generalization ability.
[0018] Based on the above approach, to extract the most valuable information from limited fault data, multi-data fusion methods have been adopted as the main strategy. For example, a fusion weight decision mechanism has been proposed for multimodal power system data, assigning greater weight to data with strong sensing capabilities to identify power equipment faults. Alternatively, the compatibility of two samples can be calculated using a basic probability allocation function, and a weight allocation principle can be designed accordingly to fuse the internal equivalent parameters and external characteristic parameters of photovoltaic modules for fault diagnosis. However, equipment under actual operating conditions is more prone to certain specific types of faults, resulting in relatively simplistic fault descriptions. Therefore, it is necessary to start with fault data of the same type and use different fault features to splice, superimpose, or fuse them to better describe the faults. Attached Figure Description
[0019] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.
[0020] Figure 1 The overall architecture of the fault diagnosis method based on dual-stream generative adversarial network data augmentation is presented.
[0021] Figure 2 For deep feature extraction streaming network architecture;
[0022] Figure 3 Temporal feature extraction streaming network architecture;
[0023] Figure 4 A globally feature-guided adaptive weighted fusion module network architecture;
[0024] Figure 5 DSGAN network architecture;
[0025] Figure 6 A dual-stream diagnostic network architecture;
[0026] Figure 7 Visualization of feature extraction results for CNN and LSTM networks;
[0027] Figure 8 To generate a loss curve result graph of the network data;
[0028] Figure 9 A visualization comparing real data and data generated by the DSGAN network;
[0029] Figure 10 Features t extracted from the original data and the dual-stream diagnostic network SNE visualization results;
[0030] Figure 11 A diagram showing the confusion matrix results for classification diagnosis on the test dataset;
[0031] Figure 12 This is a comparison chart of real wind turbine data and generated data.
[0032] Figure 13 Visualization results of data information from different sliding windows;
[0033] Figure 14 The diagnostic accuracy results of training the diagnostic network with sliding window data of different lengths are shown in the figure.
[0034] Figure 15This is a flowchart illustrating a computer device provided in an embodiment of the present invention. Detailed Implementation
[0035] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure; rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0036] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms. Unless the context clearly indicates otherwise, it should be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0037] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, depending on the context. For example, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0038] This invention primarily addresses the difficulty in obtaining fault data from wind turbines under actual operating conditions and the poor performance of existing data augmentation methods for extracting features from one-dimensional data. First, the effectiveness of the theory and algorithm is verified using the bearing fault platform dataset from Western Reserve University. Then, the algorithm is tested on operational data collected from real wind turbines to illustrate its implementation process.
[0039] Example
[0040] The technical solution adopted in this embodiment is an intelligent fault diagnosis method for wind turbines based on dual-stream generative adversarial network data augmentation, specifically as follows: Figure 1 As shown, the implementation steps of this method are as follows:
[0041] A. Design and construction of a dual-stream feature extraction network
[0042] 1) Building a deep feature extraction pipeline
[0043] The convolutional depth feature extraction pipeline designed in this invention consists of two convolutional layers, two activation layers, and one pooling and flattening layer, with a ReLU nonlinear activation function added after each convolutional operation. The network architecture is as follows: Figure 2 As shown. Let the input n×1 sequence data be denoted as... , where n represents the number of sampling points in the input sequence. The forward propagation process for deep feature extraction is as follows:
[0044] (1)
[0045]
[0046] (3)
[0047] (4)
[0048] in Represents the output of the deep generative feature extraction stream. It is the output of each convolutional activation block. Represents the ReLU activation function. Represents the convolution operation. This represents the global average pooling operation. The representative is responsible for flattening the surface.
[0049] 2) Construction of the temporal feature extraction stream
[0050] BiLSTM is used to learn temporal features simultaneously in both the forward and reverse temporal directions. The network architecture is as follows: Figure 3 As shown. The process of extracting time features is as follows:
[0051] (5)
[0052] The output of the time feature extraction stream, This represents the computational operation corresponding to inputting the input sequence into the bidirectional long short-term memory network.
[0053] B. Advanced Feature Fusion (GFG) AWF module design and setup
[0054] 1) Extraction of index similarity weights
[0055] Assuming the features extracted by the deep network and the temporal network in the previous step are respectively and First, the View operation is used to adjust a tensor to a specified shape. Then, the shapes of the two features are aligned by reshaping to obtain... and The feature reshaping method is used to combine the two features. and The shape alignment does not change the feature data and facilitates subsequent network calculations.
[0056] (6)
[0057] Next, use The method concatenates two tensors along a specified direction to obtain the concatenated feature. Represents a fully connected operation. This indicates the output dimension of the fully connected layer.
[0058] (7)
[0059] Then, the concatenated features are input into a fully connected layer and aggregated into global features. Then calculate the network to extract features. , With global features cosine similarity and And then perform layer normalization.
[0060] Since each feature point in the output vector of a fully connected layer incorporates information from all features, This can be viewed as a global feature vector containing all feature information. The depth feature vectors are calculated separately. Time feature vector With global feature vectors Cosine similarity between and This represents the relative contribution ratio of deep features and temporal features in the global features. To prevent excessively large or small information differences between individual feature points from affecting the final result, before calculating similarity, [the following is used to represent the contribution ratio]. Perform layer normalization.
[0061] ;
[0062] ;
[0063] Finally, the results are combined with the exponential function for weighting. and The calculation avoids situations where human factors cause the cosine similarity results to be opposite to reality, while also ensuring a positive correlation between the results. It is shown in the following formula:
[0064] (10)
[0065] (11)
[0066] 2) Dimensional Upgrading and Downgrading Feature Fusion
[0067] First, the resulting weight vector , Corresponding reshaping features , Element-wise multiplication yields a weighted feature vector. and Next, these features are concatenated along their dimensional axes to obtain a two-dimensional concatenated feature. Finally, a two-dimensional single-channel convolutional kernel of size 3 is used to convolve the two-dimensional concatenated feature to obtain the final fused feature. The fusion process is shown in Equation (12). The network architecture of the adaptive weighted fusion module guided by global features is as follows: Figure 4 As shown.
[0068] (12)
[0069] C. Setting up DSGAN and configuring the loss function
[0070] DSGAN was constructed by combining a two-stream feature extraction network with a GFG-AWF module as both a two-stream generator and a two-stream discriminator. Its network architecture is as follows: Figure 5 As shown in Table 1, the specific network structure and hyperparameter settings are presented.
[0071] Table 1. Composition of DSGAN Network
[0072] Table 1 The composition of the DSGAN network
[0073]
[0074] By constructing a loss function and employing adversarial training, DSGAN quickly learns the depth and temporal feature distribution of the data. It uses randomly generated one-dimensional random data of length n. As the input to the two-stream generator, the generator loss is set as shown in Equation 14:
[0075] (13)
[0076] (14)
[0077] Where log2 represents the logarithm to the base 2. , and For depth and temporal feature extraction and fusion operations of a dual-stream generator; , and For depth and temporal feature extraction and fusion operations of a dual-stream discriminator, This is for the operation of calculating the mean. For the output of the dual-stream generator, This is the loss of the two-stream generator. The length used is... Real fault data Input dual-stream discriminant network, combined with The final loss of the discriminant network is obtained.
[0078] (15)
[0079] right and Perform step-by-step adversarial training to minimize the training differences between the two networks.
[0080] (16)
[0081] D. Construction of a dual-flow diagnostic network
[0082] The deep feature extraction of the dual-stream diagnostic network uses two convolutional layers activated by the ReLU function, followed by layer normalization and flattening; temporal feature extraction uses a BiLSTM module, and a Sigmoid layer is added after feature fusion. The specific network architecture is as follows. Figure 6 As shown.
[0083] Application examples
[0084] Western Reserve University's bearing data uses drive-end fault data, categorized into inner ring faults, outer ring faults, and rolling element faults. Each fault type includes three fault volumes. rice, rice, The selected bearing speed was 1797 r / min, and the sampling frequency was 12 kHz. A total of ten data types were selected, including nine fault states and one normal state. A sliding window was used to sample the data collected by the sensor for non-overlapping data, collecting 100 samples for each data type, and selecting 1000 sampling points for each sample.
[0085] A. Feature extraction stage of dual-stream network
[0086] Step 1: Divide the Xichu bearing fault data into training and validation data in an 8:2 ratio. To ensure the independent and identically distributed nature of the training data and reduce the risk of model overfitting, the training data is randomly shuffled.
[0087] Step 2: Separate CNN and LSTM classification networks were constructed, and features were extracted from the divided training datasets. A fully connected layer with 10 nodes (equal to the number of classes) was added before the classification layers of both networks, and its output was a feature vector of 800 features with 10 feature points each.
[0088] Step 3: Connect the feature points of each feature vector to form the feature curve of each sample, and visualize it as follows. Figure 7 As shown in Table 2, the network architecture and hyperparameters used are also shown.
[0089] Table 2. Feature Extraction Network Composition and Network Parameters
[0090] Table 2 The composition of the feature extraction network and its network parameters
[0091]
[0092] The graph clearly shows that CNN and LSTM extract different features from the same data. CNN features have more obvious intersections and narrower feature envelopes, indicating that its extracted features are more targeted and represent more deep features. LSTM features have tighter connections and wider envelopes, indicating that its extracted features pay more attention to the correlation between different data points and represent more time-series features.
[0093] Step 4: Extract the first feature vector of the CNN, denoted as Simultaneously, the first feature vector extracted from the LSTM is denoted as... ,calculate and cosine similarity As shown in the following formula. It represents two vectors.
[0094] (17)
[0095] Calculation A value of 0.67 indicates that the two feature vectors are not entirely identical. This means that the one-dimensional vibration signal possesses both depth and temporal features. Therefore, both features should be considered simultaneously during data processing or network training.
[0096] B. DSGAN Data Generation Stage
[0097] Step 1: Generate data from the existing fault data using the constructed DSGAN network. The network hyperparameters used for training are shown in Table 1. To better simulate the situation of small sample fault data from wind turbines under actual operating conditions, adversarial training is performed using the first data point from each category. During training, when the losses of the generator and discriminator reach Nash equilibrium, it is considered that the generator has learned the data distribution pattern, and training stops. The visualization results of the training losses of the generator and discriminator during training are shown below. Figure 8 As shown, DSGAN reaches Nash equilibrium after 700 iterations. At this point, the generator's performance no longer improves, and the discriminator's classification accuracy also stabilizes, indicating that DSGAN training is essentially complete. The loss curve shown in the figure does not decrease smoothly; some areas exhibit sudden and drastic fluctuations. This is because during the iterative training of a certain class of data, low-quality data may appear, affecting the generator's generation performance and consequently lowering the discriminator's diagnostic accuracy in that round. Such data enhances the model's generalization ability and reduces the risk of overfitting, hence its retention.
[0098] Step Two: Generate simulated fault data using the trained generator. Data for each category is trained and generated independently. Considering the current 8:2 ratio for dividing the training and test sets, 80 data points are augmented for each category's original data. The first data point from each category's original data and the first data point generated by the corresponding generator are then visualized. The results are as follows: Figure 9 As shown, the data generated by DSGAN largely covers the original data, indicating that the generated samples are very close to the distribution of the real sample data. However, some generated data may exhibit slight fluctuations. This is because although the weight parameters of each layer of the generator are fixed when trained to Nash equilibrium, the input layer data needs to be randomly initialized each time it is generated, thus producing slight differences. This fluctuation does not affect the quality of the generated data.
[0099] C. Dual-stream network diagnostic phase
[0100] A dual-stream diagnostic network was built and tested on the original dataset. To ensure the network fully extracts the relevant features and converges sufficiently, a loss threshold of 0.1 was set. The feature extraction results of the network on the original training data were visualized using t-SNE as follows: Figure 10 As shown, the confusion matrix of the classification and diagnostic performance on the test dataset is as follows: Figure 11 As shown in the diagram, the t-SNE visualization results reveal that, except for classes 9 and 10 which are unclear at the boundaries, all other classes have been separated into clusters. The confusion matrix from the original data classification shows that the two-stream network achieved a high accuracy rate in its diagnostic results.
[0101] D. Diagnostic stage involving small-sample generation of real wind turbine units
[0102] Verification was performed using real wind turbine data. Data acquisition was conducted on a Mingyang 1.5MW wind turbine at the Wenggongwula Wind Farm in Inner Mongolia, using a 6332MC3SKF deep groove ball bearing. Detailed parameters are shown in Table 3. The faulty bearing was a deep groove ball bearing on the parallel shaft of the gearbox. Accelerometers located at the vertical radial position of the drive-end bearing were used for data acquisition. The sampling frequency was 25.6kHz, and the average sampling time was 195ms. Three sets of data were recorded: outer ring fault, inner ring fault, and normal state, with 4800 sampling points in each set.
[0103] Table 3 Bearing Parameters
[0104] Table 3 Parameters of bearing
[0105]
[0106] Step 1: DSGAN Data Generation
[0107] Because the dwell time of real wind turbine fault states is extremely short and the data collection length is limited, to make the diagnostic framework more convincing, the dataset was divided into training and validation sets in a 3:1 ratio. The first 3600 sampling points of each fault type were divided into three data points for training, and the last 1200 sampling points were used to validate the overall diagnostic effect of the framework. First, DSGAN was used to generate and train the data for each fault type. Training stopped and data was generated again when the network reached Nash equilibrium. The first generated data point for each type was compared with the original data, as shown in the visualization. Figure 12 As shown.
[0108] Step 2: Small Sample Data Segmentation
[0109] To select an appropriate sliding window size to best describe the data characteristics, the sliding window is first segmented by size. Four different sliding window sizes are selected for data segmentation: 50, 100, 200, and 300. The data contained in the sliding windows of different sizes is visualized using the data from Fault 1, such as... Figure 13 As shown. The original fault data consisted of 4800 sampling points, which were segmented to obtain data groups with 96, 48, 24, and 16 data points respectively. Each data group was divided into training and testing sets in a 3:1 ratio, and the same CNN network was used for both training and testing. Ten rounds of validation experiments were conducted, and the average was taken as the final accuracy for this data length. The confusion matrix was calculated using the results of the last experiment. Figure 14 As shown in the figure; the final network accuracy is shown in Table 4 in the appendix.
[0110] Table 4 Final Network Accuracy
[0111] Table 4 Final network accuracy
[0112]
[0113] It can be concluded that the diagnostic network performs best when the sliding window size is 200 sampling points, providing a better description of the features in the data. When selecting a window size of 50 sampling points for wind turbine vibration data, the limited information obtained due to the short window length leads to weaker correlations between data points, thus reducing the accuracy of the final network diagnosis. An improvement was observed when the window size was set to 100 sampling points. The optimal effect and highest diagnostic accuracy were achieved when the window length was 200 points. Therefore, a non-overlapping window of 200 points is used for data partitioning.
[0114] Step 3: Generate data fault diagnosis
[0115] After determining the size of the sliding window, a non-overlapping sliding window was used to partition the datasets for the original training data, generated data, and test data. The original training data consisted of 3 data points per class, with 1200 sampling points per data point, for a total of 54 training data points. The generated data consisted of 6 data points per class, with 1200 sampling points per data point, for a total of 108 generated data points. The test dataset consisted of 1 data point per class, with 1200 sampling points per data point, for a total of 18 test data points.
[0116] To illustrate the effectiveness of this invention, several commonly used generative networks, including GAN, ACGAN, and DCGAN, were trained using the same training dataset, and the hyperparameters used during training were identical to those used for DSGAN. After training, a generative dataset of the same size was generated, and the data was partitioned using the same non-overlapping sliding window.
[0117] A dual-stream diagnostic network was trained using raw data, generated data, and a mixture of raw and generated data as training datasets, and the diagnostic accuracy was validated on the same test set. The results of ten rounds of validation are shown in Table 5. As can be seen from the table, all networks trained using the mixed generated and raw datasets achieved higher diagnostic accuracy than those trained using a single dataset. Furthermore, the dual-stream network trained using both raw data and the DSGAN-enhanced dataset achieved the highest diagnostic accuracy, validating the superiority of using DSGAN for data augmentation and also verifying the effectiveness of this invention.
[0118] Table 5. Diagnostic accuracy of different networks on different training sets
[0119] Table 8 Diagnostic accuracy of different networks with varying training datasets
[0120]
[0121] In addition to providing the aforementioned method for diagnosing wind turbine faults, this invention also provides a fault diagnosis system corresponding to the aforementioned fault diagnosis method, specifically including:
[0122] The module is used to build deep networks and temporal networks. The GFG-AWF module is designed for the two types of features extracted by the two networks. The GFG-AWF module is designed with an exponential similarity weight calculation index. At the same time, a method for feature fusion of increasing and decreasing dimensions is designed to perform feature fusion at the terminals of the dual-stream generator and the dual-stream discriminator.
[0123] Diagnostic module: Used to build a dual-stream diagnostic network, trained using a generated augmented dataset and the original dataset to achieve fault diagnosis with small sample data.
[0124] In practice, the above modules can be implemented as independent entities or combined in any way to be implemented as the same or several entities. For the specific implementation of each unit, please refer to the previous method implementation examples, which will not be repeated here.
[0125] Figure 15 This is a schematic diagram of the structure of a computer device disclosed in this invention. (Reference) Figure 15 As shown, the computer device 400 includes at least a memory 402 and a processor 401; the memory 402 is connected to the processor via a communication bus 403 and is used to store computer instructions executable by the processor 401. The processor 401 is used to read computer instructions from the memory 402 to implement the steps of the wind turbine fault diagnosis method described in any of the above embodiments.
[0126] For the above-described apparatus embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The apparatus embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0127] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal disks or removable disks), magneto-optical disks, and CD-ROMs and DVD-ROMs. Processors and memory may be supplemented by or incorporated into dedicated logic circuitry.
[0128] Finally, it should be noted that although this specification contains many specific implementation details, these should not be construed as limiting the scope of any invention or the scope of the claims, but rather are primarily used to describe the features of specific embodiments of a particular invention. Certain features described in the various embodiments of this specification may also be implemented in combination in a single embodiment. On the other hand, various features described in a single embodiment may also be implemented separately in various embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described above and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation of a sub-combination.
[0129] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0130] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.
[0131] The above description is merely a preferred embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method for fault diagnosis of wind turbine generators based on a dual-stream generative adversarial network, characterized in that, Includes the following steps: We construct deep networks and temporal networks, and design GFG based on the two types of features extracted by the two networks. AWF module, GFG The AWF module incorporates an exponential similarity weight calculation index and a method for fusion of ascending and descending dimensions features, which is then used to perform feature fusion at the terminals of the dual-stream generator and the dual-stream discriminator. A dual-stream diagnostic network was built and trained using a generated augmented dataset and the original dataset to achieve fault diagnosis on small sample data. The GFG In the design and development of the AWF module, the design method for the exponential similarity weight calculation index includes: The View operation is used to reshape a tensor to a specified shape, and the shapes of the two features are aligned by reshaping to obtain... and : (6) use The method concatenates two tensors along a specified direction to obtain concatenated features, where Represents a fully connected operation. Indicates the output dimension of the fully connected layer: (7) Then, the concatenated features are input into a fully connected layer and aggregated into global features. Then calculate the network to extract features. , With global features cosine similarity and And perform layer normalization on it: ; ; Weighting is performed by combining the results with an exponential function. and The calculation is shown in the following formula: (10) (11); The method for fusion of increasing and decreasing dimensions features includes: The resulting weight vector , Corresponding reshaping features , Element-wise multiplication yields a weighted feature vector. and Next, the features are concatenated along the dimensional direction to obtain a two-dimensional concatenated feature. Finally, a two-dimensional single-channel convolutional kernel of size 3 is used to convolve the two-dimensional concatenated feature to obtain the final fused feature. : (12); The features extracted by the two networks and GFG The method of combining AWF modules includes the following steps: Using randomly generated one-dimensional random data of length n As input to the two-stream generator, the loss of the two-stream generator is set as shown in the following equation: (13) (14) in, Represents the logarithm to the base 2. , and For depth and temporal feature extraction and fusion operations of a dual-stream generator; , and For depth and temporal feature extraction and fusion operations of the dual-stream discriminator, This is for the operation of calculating the mean. For the output of the dual-stream generator, For the loss of the two-stream generator, the length is... Real fault data Input dual-stream discriminant network, combined with The final loss of the discriminant network is obtained as follows: (15) right and Perform step-by-step adversarial training to minimize the training differences between the two networks: (16)。 2. The wind turbine fault diagnosis method according to claim 1, characterized in that, Methods for building deep networks include: Input The sequence data is denoted as , The number of sampling points in the input sequence is represented by the following forward propagation process for its depth feature extraction: (1) (3) (4) in Represents the output of the deep generative feature extraction stream. It is the output of each convolutional activation block. represent Activation function Represents the convolution operation. This represents the global average pooling operation. The representative is responsible for flattening the surface.
3. The wind turbine fault diagnosis method according to claim 2, characterized in that, The methods for building a time network include: BiLSTM is used to learn temporal features simultaneously in both the positive and negative time directions. The process of extracting temporal features is as follows: (5) The output of the time feature extraction stream, This represents the computational operation corresponding to inputting the input sequence into the bidirectional long short-term memory network.
4. The fault diagnosis system of the wind turbine fault diagnosis method according to any one of claims 1-3, characterized in that, include: Building Module: Used to build deep networks and temporal networks, and to design GFG for the two types of features extracted by the two networks. AWF module, GFG The AWF module incorporates an exponential similarity weight calculation index and a method for fusion of ascending and descending dimensions features, which is then used to perform feature fusion at the terminals of the dual-stream generator and the dual-stream discriminator. Diagnostic module: Used to build a dual-stream diagnostic network, trained using a generated augmented dataset and the original dataset to achieve fault diagnosis with small sample data.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed, it implements the steps of the wind turbine fault diagnosis method according to any one of claims 1-3.
6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the wind turbine fault diagnosis method as described in any one of claims 1-3.
