Wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network
Through spatiotemporal clustering and improved residual network, combined with acoustic emission data and Mel spectrum conversion, a deep subdomain adaptive network is constructed to solve the identification problem during low-speed operation in wind power pitch bearing fault monitoring and achieve efficient and accurate detection. Fault diagnosis, suitable for complex industrial environments.
Patent Information
- Application Number
- CN202410626365.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-20
AI Technical Summary
Existing wind power pitch bearing fault monitoring methods are inefficient and inaccurate when running at low speeds, and require a large amount of labeled data, making it difficult to achieve real-time fault identification, especially in complex industrial environments.
A method based on spatiotemporal clustering and improved residual network is used to construct wind power pitch bearing damage through spatiotemporal clustering fault map of acoustic emission data, Mel spectrum conversion, image preprocessing, deep subdomain adaptive network and domain transfer learning. Identify diagnostic models to achieve fault mode identification and diagnosis.
It improves the real-time and accuracy of wind power pitch bearing fault diagnosis, significantly improves the diagnosis efficiency and accuracy, can effectively identify bearing damage during low-speed operation, reduces the dependence on marked data, and is suitable for complex industrial environments.
Smart Images

Figure CN118503756B_ABST
Abstract
Description
Technical field:
[0001] The present invention relates to the field of wind turbine pitch bearing damage monitoring, and in particular to a wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network. Background technology:
[0002] The variable pitch bearing is a core component of the wind turbine, located between the hub and the blades, connected by high-strength bolts. This component is responsible for adjusting the angle of the blades to adapt to the main wind direction, thereby ensuring that the wind turbine can output power stably. However, since the variable pitch bearing is in a harsh environment and faces complex stress conditions, wind turbine breakage and other faults occur frequently. If not repaired in time, it may cause serious system failures and major safety accidents. Therefore, efficient and accurate fault monitoring is crucial to the safe and stable operation and economic development of wind farms.
[0003] Most of the existing bearing fault monitoring methods are vibration detection methods, because vibration signals can provide inherent information about bearing faults, but they only focus on identifying bearing faults at high speeds. When the bearing runs at low speeds, the acceleration value generated by the collision between the rolling element and the raceway surface defects becomes lower. Therefore, it is difficult to detect bearing fault information using vibration signals when the fan is running at low speed and under heavy load. Since acoustic emission signals can obtain low-energy signals, AE signals are used to diagnose low-speed bearing faults.
[0004] The use of traditional AE diagnostic methods in detection is time-consuming, laborious, inaccurate, fails to reflect the real-time fault conditions of bearings in a timely manner, and requires a large amount of labeled data for training. In various large-scale industrial production environments, it is difficult and time-consuming to collect a large amount of fault data containing necessary label information. Secondly, the changes in working conditions and the complexity of the industrial environment lead to significant differences in data distribution. This has greatly limited the application of intelligent diagnosis technology in the field of bearing failures. Summary of the invention:
[0005] The purpose of the present invention is to provide a wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network. This wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network is used to solve the problems in the prior art that the real-time fault situation of the bearing fault cannot be responded to in time and a large amount of labeled data is required for intelligent identification, and the accuracy and efficiency are low.
[0006] The technical solution adopted by the present invention to solve the technical problem is: the wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network includes the following steps:
[0007] S1. Collect acoustic emission data of continuously running wind turbine pitch bearings, including normal wear state data, slight wear state data, and severe wear state data of the outer ring of wind turbine pitch bearings;
[0008] S2, performing spatiotemporal clustering of acoustic emission data to generate a spatiotemporal clustering fault map;
[0009] S3. Determine the fault damage mode of the continuously operating wind turbine variable pitch bearing through the spatiotemporal clustering fault map, divide the collected acoustic emission data set, and obtain different types of labels: normal bearing wear data set, minor bearing fault wear data set, and severe bearing fault wear data set;
[0010] S4, performing Mel spectrum conversion on the divided acoustic emission data set to generate a Mel spectrum graph data set;
[0011] S5. Perform image preprocessing on the Mel-spectrogram image set. Image preprocessing includes resizing, random cropping, random horizontal flipping, and data enhancement. The image is converted into a PyTorch tensor, and the preprocessed data is randomly divided into a source domain dataset and a target domain dataset.
[0012] S6. Add the maximum mean difference function LMMD to the residual network ResNet50 neural network to generate the deep subdomain adaptive network DSAN;
[0013] S7. Insert the channel attention mechanism SE into the ResNet50 network part of the generated deep sub-domain adaptive network DSAN to generate a deep sub-domain adaptive network AMDSAN based on channel attention. AMDSAN consists of three parts: feature extraction, sub-domain adaptation and fault classification. AMDSAN is optimized.
[0014] S8. Use the domain transfer learning method to transfer the knowledge learned in the target domain to the source domain for model fault identification;
[0015] S9. Add Gaussian white noise to the target domain acoustic emission signal to simulate the noise interference in the actual operation of the wind turbine variable pitch bearing, convert the noisy acoustic emission signal into a Mel spectrum spectrum, input the target domain sample preprocessed by the Mel spectrum spectrum into AMDSAN for feature extraction, model training and verification recognition, evaluate the performance of AMDSAN, and select the best AMDSAN;
[0016] S10. Use the optimal AMDSAN obtained in S9 to perform damage pattern recognition on the Mel-spectrogram of acoustic emission samples.
[0017] The specific method of S2 in the above scheme is:
[0018] S21: AEWin Express-8 software from the American Physical Acoustics Company was used to collect acoustic emission data with a fixed threshold of 45 dB, PDT = 200, HDT = 800, and HLT = 1000;
[0019] S22: intercepting the 3600s time signal through the software data filtering function;
[0020] S23: extracting the time intervals between adjacent AE impacts;
[0021] S24: Generate a scatter plot for the extracted time intervals so that they are clustered and stratified in time and space.
[0022] The specific method of S4 in the above scheme is:
[0023] S41. Preprocessing the divided acoustic emission data set: pre-emphasis, framing, and windowing the signal;
[0024] S42. Fast Fourier Transform: Perform fast Fourier transform on each frame of the signal to obtain frequency domain information, which is expressed as follows:
[0025]
[0026] Where N is the number of sampling points, x(n) is the input signal, n is the sampling point index, and i is the current sampling point;
[0027] S43. Mel filtering: Use the Mel filter bank to weight the frequency domain information. The Mel filter bank calculates the energy of each Mel frequency band. Its frequency response relationship is as follows:
[0028]
[0029] Where H m (k) is the frequency response of the m-th Mel filter, k represents the k-dimensional spectrum in the spectrum diagram, and f(m) is the center frequency of the m-th filter;
[0030] S44. Logarithmic operation: The characteristics of the Mel filter output are squared to form a logarithmic Mel spectrogram. The calculation of the signal energy information S(m) obtained by logarithmic operation is shown in the following formula:
[0031]
[0032] Where E(k) is the two-dimensional matrix energy obtained by fast Fourier transform.
[0033] The specific method of S5 in the above scheme is:
[0034] The images are resized to 256x256 pixels, randomly cropped to 224x224 pixels, and randomly flipped horizontally. The processed data is converted into batch loading using torch.utils.data.DataLoader(), and shuffle=True is used to randomly shuffle the data before the start of each epoch.
[0035] The specific method for generating AMDSAN in the above scheme S7 is:
[0036] S71.Stage0 performs image preprocessing;
[0037] S72. insert the channel attention mechanism "squeeze and compress" module SE after the deep sub-domain adaptive network DSAN residual blocks Stage1, Stage2, Stage3, and Stage4 respectively;
[0038] S73. Convert the input image into a 1*2048 vector output through a pooling operation of a neural network;
[0039] S74. First compare the ResNet50 model, the basic model without improvement added in S6, to verify the recognition effect of the basic network selection on damage features, and then compare the effects of inserting the "squeeze and excite" module SE of the attention mechanism in each stage of S72, and compare the accuracy of adding a single-layer attention mechanism and a multi-layer attention mechanism. Select the network model with the highest accuracy and the least loss function as AMDSAN.
[0040] Methods for optimizing AMDSAN in the above solution S7:
[0041] The standard mini-batch stochastic gradient descent algorithm with momentum 0.9 and learning rate annealing strategy are used in Revgrad:
[0042] Where θ is the linear change of training progress from 0 to 1, η0 = 0.01, α = 10, β = 0.75;
[0043] At the same time, in order to suppress the noise activation in the early stage of training, the adaptation factor λ is not fixed, but gradually changed from 0 to 1 through gradual scheduling: Here, γ=10 is fixed in the whole process.
[0044] The specific method of S8 in the above scheme is:
[0045] S81. Convert the source and target domain datasets into time-frequency images of size 640*640 through Mel spectrum conversion. The network input is the labeled source domain data. and unlabeled target domain data The output is the predicted target domain dataset label
[0046] S82. From D s and D t Randomly select and
[0047] S83. Input the sample into SE-ResNet50 feature extractor to obtain the feature vector and
[0048] S84. Input into the fault classifier to obtain
[0049] S85. Calculate the activation layer L through LMMD and The difference in the distribution of related subdomains is used to obtain the adaptive loss function ε1, which is minimized to reduce the difference in the relevant local distribution between each pair of source and target domains:
[0050]
[0051]
[0052] In the formula, n represents the number of samples in the target domain dataset; λ is the adjustment parameter used to balance different factors; e represents the number of iterations of the current model during training, and es represents the total number of iterations of training;
[0053] S86. Use and To calculate the loss function ε d , ε d Minimize to predict the acoustic emission source domain samples; ε d The actual label is measured by using the cross entropy loss function With predicted labels The difference between is calculated as follows:
[0054]
[0055] Where c is the number of pitch bearing fault classifications, Represents the actual label of the source domain dataset sample and the predicted label Computed by the softmax function in the domain-sharing classifier, Defined as:
[0056]
[0057] In the formula The source domain dataset representing the output of the fully connected layer;
[0058] S87. After forward propagation ε total =ε d +ε1, AMDSAN has two loss functions, namely the LMMD domain adaptation loss function ε1 and the classification loss function ε d , ε total The overall optimization goal of the network model;
[0059] S88. Backward update feature extractor and fault classifier;
[0060] S89. Output the diagnosis result.
[0061] In the above scheme, when S9 trains AMDSAN, it uses the ten-fold cross-validation method to randomly divide the training set and the test set. That is, the experiment is repeated ten times and the average value is taken to obtain a more accurate training model. After each training, the model trained in the source domain is used to test and evaluate the target domain, and the accuracy is calculated to reflect the current training effect. When the accuracy reaches a certain iteration cycle and the accuracy does not continue to rise, it is considered that the AMDSAN training has reached the optimal level and is saved.
[0062] When evaluating AMDSAN in the above solution S9, the evaluation indicators accuracy, loss function, ROC curve and T-NSE are used to comprehensively evaluate the performance of the model:
[0063]
[0064] Where TP represents the number of true positive cases in the binary classification problem, FP represents the number of false positive cases in the binary classification problem, FN represents the number of false negative cases in the binary classification problem, and TN represents the number of true negative cases in the binary classification problem.
[0065] Beneficial effects:
[0066] 1. The present invention is a wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network deep subdomain adaptive residual network. It is a method for wind turbine pitch bearing damage identification based on acoustic emission technology, image recognition monitoring, and is a fault identification framework with real-time monitoring and high diagnosis rate. Its fault map recognition based on spatiotemporal clustering can realize online damage monitoring of bearings, and can transfer knowledge from the source domain to the target domain for fault diagnosis. The diagnostic accuracy and efficiency are significantly improved, which proves the effectiveness and application prospects of the proposed method in wind turbine pitch bearing fault diagnosis.
[0067] 2. The present invention is based on the collection of acoustic emission technology, extracts the time intervals of adjacent AE impacts, and proposes the concept of spatiotemporal clustering fault map STC to discover the early fault characteristics of variable pitch bearings. STC can create specific real-time fault maps, providing an intuitive visualization means for bearing fault detection. The time interval of AE impacts generated by the fault defects of the running variable pitch bearing can reflect the destructive pulse, which provides an immediate visual pattern for the bearing fault through a specific cluster distribution. STC is related to the extracted acoustic emission impact time, and its relationship graph with time is a scatter plot, which can reflect the special pattern of the variable pitch bearing status in real time. When a local fault or other defect occurs in the variable pitch bearing, STC will be discretely distributed around a specific value and present a horizontal straight line or bar with the test time. Taking into account the real-time nature of AE, an identification method for online monitoring has been developed to provide a clear diagnostic pattern for the visualization of the bearing fault detection process.
[0068] 3. The present invention adopts a method combining Mel spectrum, "squeeze and excitation" (SE) block and sub-domain adaptation, and proposes a new fault diagnosis method AMDSAN, which solves the problem of intelligent damage identification of wind turbine variable pitch bearings.
[0069] 4. The present invention transforms the traditional residual network ResNet50 and introduces the "squeeze and excite" module SE in the channel attention mechanism to improve its sensitivity to information features and suppress less useful features, thereby enhancing the ability to identify model damage. The accuracy of the best model is as high as 98.67%, and the loss function is only 0.0579.
[0070] 5. The currently popular fault diagnosis model based on domain adversarial neural network and global maximum mean difference is improved by removing the adversarial training mechanism and using the local maximum mean difference (LMMD) to align the distribution of the same fault type in different domains, making the diagnosis model simpler and more efficient.
[0071] 6. The spatiotemporal clustering fault map proposed in this invention can realize online damage monitoring of bearings, and the proposed network model can also transfer the knowledge of the source domain to the target domain for fault diagnosis. Compared with the existing methods, the diagnostic accuracy and efficiency are significantly improved, which proves the effectiveness and application prospects of the proposed method in wind turbine variable pitch bearing fault diagnosis.
[0072] 7. The present invention converts acoustic emission data into images and adopts deep learning algorithms, which greatly releases human labor and greatly improves work efficiency. Gaussian white noise of different dB is added to the target domain acoustic emission data to simulate noise interference, thereby verifying the robustness of the model. Description of the drawings:
[0073] Figure 1 This is the spatiotemporal clustering fault map proposed by the present invention.
[0074] Figure 2 A representative Mel spectrum spectrum is generated by using Mel spectrum conversion for noise-free acoustic emission data of the wind turbine pitch bearing of the present invention.
[0075] Figure 3 The present invention is a flow chart of the intelligent diagnosis network identification of wind turbine variable pitch bearing faults.
[0076] Figure 4 This is the AMDSAN network model structure after the present invention integrates the attention mechanism SE and the maximum mean difference function LMMD.
[0077] Figure 5 The confusion matrix and ROC curve of AMDSAN are compared with the deep domain adaptation network DAN, the multi-representation domain adaptation network MRAN, the unsupervised domain adaptation network D-Coral, and the deep subdomain adaptation network DSAN. The horizontal axis of the confusion matrix is the label of the actual state mode, and the vertical axis is the predicted label. As can be seen from the figure: the accuracy of DAN is 89.50%, the accuracy of MRAN is 97.33%, the accuracy of D-Coral is 90.83%, the accuracy of DSAN is 97.67%, and the accuracy of AMDSAN is 98.67%. The three corresponding lines in the ROC curve of AMDSAN correspond to Minor Wear, Normal Wear and Severe Wear, and the diagonal line in the middle is the random model. The closer the ROC curve is to the upper left corner of the coordinate, the better it is. The one closest to the upper left corner is the best classification of Minor Wear, followed by Normal Wear, and finally Severe Wear.
[0078] Figure 6 Visualization of t-Distributed Stochastic Neighbor Embedding (T-SNE) dimensionality reduction dataset.
[0079] Figure 7 The representative Mel spectrum graph is generated after the noise-added acoustic emission data of the wind turbine pitch bearing of the present invention is converted using Mel spectrum.
[0080] Figure 8 This is a graph showing the accuracy of the recognition ability of the present invention compared with other models under noise interference. Specific implementation method:
[0081] The present invention will be further described below in conjunction with the accompanying drawings:
[0082] This wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network includes the following steps:
[0083] S1. Use the existing acoustic emission detection equipment to connect the wind turbine pitch bearing to collect acoustic emission data;
[0084] S2, such as Figure 1 As shown, a spatiotemporal cluster fault map is generated for acoustic emission data;
[0085] (2.1) Using AEWin Express-8 software from the American Physical Acoustics Company, set a fixed threshold of 45db, PDT = 200, HDT = 800, and HLT = 1000 to collect acoustic emission data;
[0086] (2.2) The 3600s time signal is intercepted through the software data filtering function;
[0087] (2.3) Extract the time intervals between adjacent AE impacts;
[0088] (2.4) Generate a scatter plot for the extracted time intervals so that they are clustered and stratified in time and space. When the outer ring of the variable pitch bearing is damaged, the bearing rotation will produce obvious AE impact. Therefore, the time interval between two adjacent AE hits is extracted. If there is an obvious clustering phenomenon, it indicates that the damage state of the variable pitch bearing is obvious. Both the real-time nature of AE online monitoring and the severity of bearing damage failure are taken into account. Figure 1 As shown in a and b, the acoustic emission data of the variable pitch bearing were collected at the beginning of operation and after a period of operation. At this time, the bearing did not fail. The STC fault map was generated and it was found that: STC was discrete and randomly distributed without stratification. The discrete points were not arranged around the specific numerical STC, and there was no obvious aggregation at the specific numerical value. The variable pitch bearing initially generated a small number of acoustic emission impact signals of 395. After a period of operation, the acoustic emission impact signal generated was 35762. The impact signal mainly came from the friction signal generated during the operation of the bearing. The bearing continued to run for a period of time and pitting occurred. The bearing entered a state of slight wear. After collecting the acoustic emission data, spatiotemporal clustering was performed. The STC characteristic map is shown as follows Figure 1 As shown in c, the spectrum shows a stratified trend, the discrete points begin to move closer to a specific number, and the STC value does not exceed 1000. The acoustic emission impact signal generated by the bearing increases significantly to 50092. The AE hits mainly come from friction and minor fault signals. At this time, the bearing fails and malfunctions. After the variable pitch bearing test bench continues to operate, the bearing begins to wear severely and peeling occurs. Figure 1 The spatiotemporal clustering map shown in d is increasingly stratified and remains stable. The STC is distributed around a specific value. The collected acoustic emission impact signal is 13425, and the signal mainly comes from the fault signal of the bearing. Figure 1Figures c and d clearly show the STC distribution of the damaged bearing. Although there are many irregular discrete points in the figure, there are still obvious clusters. After real-time analysis of the acoustic emission data, it can be seen that the degree of bearing damage has a clear development trend.
[0089] S3, such as Figure 2 As shown in the figure, the three damage states of the bearing are normal wear, slight wear and severe wear; the acoustic emission data collected at each stage is converted into a Mel spectrum through Mel spectrum conversion, and the generated spectrum constitutes 3000 sample images for intelligent network pattern recognition. According to the ratio of 8:2, there are 2400 source domain samples for training, 800 for each category, and 600 for the target domain, 200 for each category. The steps to generate the Mel spectrum are:
[0090] (3.1) Preprocessing: pre-emphasize, frame and window the original signal.
[0091] (3.2) Fast Fourier Transform: Perform fast Fourier transform on each frame of the signal to obtain frequency domain information, where N is the number of sampling points, x(n) is the input signal, n is the sampling point index, and i is the current sampling point. The expression is as follows:
[0092]
[0093] (3.3) Mel filter: Use the Mel filter bank to weight the frequency domain information. The Mel filter bank calculates the energy of each Mel frequency band. Use equal-height Mel filters. Its frequency response relationship is as follows: H m (k) is the frequency response of the m-th Mel filter, k represents the k-dimensional spectrum in the spectrum diagram, and f(m) is the center frequency of the m-th filter.
[0094]
[0095] (3.4) Logarithmic operation: The characteristics of the Mel filter output are logarithmically squared to form a logarithmic Mel spectrogram. The logarithmic operation obtains the signal energy information S(m) as shown below, where E(k) is the two-dimensional matrix energy obtained by fast Fourier transform.
[0096]
[0097] S4. Preprocess the generated acoustic emission mel-spectrogram dataset. The preprocessing includes:
[0098] (4.1) Using transforms.Compose() creates a pipeline that combines multiple image transformations, where each transformation is applied to the image data in sequence.
[0099] (4.2) Use transforms.Resize([256,256]) to resize the image to 256x256 pixels. This resizing operation is often used to ensure that all images have the same size before being fed into the model.
[0100] (4.3) Use transforms.RandomCrop(224) to randomly crop the image to 224x224 pixels. Random cropping is a data augmentation technique that increases data diversity by cropping images at random locations, which helps model training.
[0101] (4.4) Use transforms.RandomHorizontalFlip() to randomly flip the image horizontally. Random horizontal flipping is also a data augmentation technique that increases the diversity of data without changing the semantic information of the image.
[0102] (4.5) Use transforms.ToTensor() to convert the image to a PyTorch tensor. Deep learning models usually accept tensors as input, so the image needs to be converted to a tensor before entering the model.
[0103] (4.6) Use torch.utils.data.DataLoader() to convert the processed data into batch loading. And through shuffle=True, the model randomly shuffles the data before each epoch, which helps the model learn better.
[0104] S5. Add the maximum mean difference function LMMD after the ResNet50 network to generate the deep sub-domain adaptive network DSAN.
[0105] S6. Add the channel attention mechanism SE to the ResNet50 part of the deep sub-domain adaptive network DSAN to generate a deep sub-domain adaptive network AMDSAN based on channel attention. The specific steps are as follows:
[0106] After the convolution operation of each stage stage0-stage4 of ResNet50, the channel attention mechanism "squeeze and excite" module SE is added, and the number of output channels is 256, 512, 1024 and 2048; the attention mechanism SE is inserted, and there are 5 parts respectively. Stage0-Stage4. Among them, Stage0 performs image preprocessing; the channel attention mechanism "squeeze and compress" module SE is inserted after the residual block Stage1, Stage2, Stage3, and Stage4 respectively. The overall structure is shown in the table below.
[0107]
[0108] The specific steps of S6 are as follows:
[0109] S61 inputs the training image of size (3,224,224) into stage0 and prepares the input image for network processing after preprocessing, including image resizing and normalization. After convolution and max pooling operations, the output image is of size (64,112,112);
[0110] S62 inputs the image of size (64, 112, 112) in S61 into stage1, and after passing through three Bottleneck modules, outputs an image of size (256, 56, 56);
[0111] S63 inputs the image of size (256, 56, 56) in S62 into stage2, and after passing through four Bottleneck modules, outputs an image of size (512, 28, 28);
[0112] S64 inputs the image of size (512, 28, 28) in S63 into stage3, and after passing through 6 Bottleneck modules, outputs an image of size (1024, 14, 14);
[0113] S65 inputs the image of size (1024, 14, 14) in S64 into stage4, and after passing through three Bottleneck modules, outputs an image of size (2048, 7, 7);
[0114] S66 converts the input image into a 1*2048 vector output through the pooling operation of the neural network.
[0115] S67 is compared with the unimproved basic model ResNet50 model in S5 as shown in the following table to verify the effectiveness of the selection of the basic network in identifying damage features. The accuracy of the Mel-ResNet50 combination is over 90%, and the loss function is 0.204, but the accuracy is still relatively low and the loss function is also relatively high, which is not satisfactory.
[0116]
[0117] S68 The following table shows the effect of inserting the "squeeze and excite" module SE of the attention mechanism in each stage of the AMDSAN network in S6, and compares the accuracy of adding a single-layer attention mechanism and a multi-layer attention mechanism, and selects the network model with the highest accuracy and the least loss function. The results show that after inserting the SE module in the third stage of the residual network, the accuracy is increased by 5.17%, and the lowest loss function is 0.0579. Therefore, it was finally determined that the selected AMDSAN network model is composed of adding the SE module in the third layer of the residual network ResNet50 and adding the maximum mean difference function LMMD at the end.
[0118]
[0119]
[0120] Through simulation experiments, it is found that the model accuracy is highest after inserting SE in the third stage of the ResNet50 network model, and the deep sub-domain adaptive residual network AMDSAN model based on channel attention is obtained as follows Figure 4 As shown in Figure 2, the model consists of three parts: feature extraction, subdomain adaptation and fault classification.
[0121] S69 improves the AMDSAN network model parameters:
[0122] In Revgrad, a standard mini-batch stochastic gradient descent algorithm with a momentum of 0.9 and a learning rate annealing strategy are used. To reduce computational cost, grid search is not used to select the learning rate, but the following formula is used to set it
[0123] Where θ is the linear change of training progress from 0 to 1, η0 = 0.01, α = 10, β = 0.75.
[0124] At the same time, in order to suppress the noise activation in the early stage of training, the adaptation factor λ is not fixed, but gradually changed from 0 to Here, γ=10 is fixed in the whole process.
[0125] S7. Use the domain transfer learning method to transfer the knowledge learned in the target domain to the source domain for model fault identification.
[0126] S71. Convert the source and target domain data sets into time-frequency images of size 640*640 through Mel spectrum conversion. The network input is the labeled source domain data. and unlabeled target domain data The output is the predicted target domain dataset label
[0127] S72. From D sand D t Randomly select and
[0128] S73. Input the sample into SE-ResNet50 feature extractor to obtain the feature vector
[0129] S74. Input into the fault classifier to obtain
[0130] S75. Calculate the activation layer L by LMMD and The difference in the distribution of related subdomains is used to obtain the adaptive loss function ε1. Minimizing ε1 can reduce the difference in the related local distribution between each pair of source domains and target domains. The calculation formula is:
[0131]
[0132]
[0133] In this definition, n represents the number of samples in the target domain dataset, λ is a tuning parameter used to balance different factors, e represents the number of iterations of the current model during training, and es represents the total number of iterations of training.
[0134] S76. Use and To calculate the loss function ε d , ε d Minimization can more accurately predict the acoustic emission source domain samples. d The actual label is measured by using the cross entropy loss function With predicted labels The calculation formula is:
[0135]
[0136] Where c is the number of pitch bearing fault classifications, Represents the actual label of the source domain dataset sample and the predicted label Computed by the softmax function in the domain-sharing classifier, Defined as:
[0137]
[0138] In the formula The source domain dataset representing the output of the fully connected layer.
[0139] S77. After forward propagation ε total=ε d +ε1. The proposed AMDSAN model has two loss functions, namely the LMMD domain adaptation loss function ε1 and the classification loss function ε d , ε total As the overall optimization goal of the proposed network model.
[0140] S78. Backward update of the feature extractor and the fault classifier.
[0141] S79. Output the diagnosis results and end.
[0142] S8. Add Gaussian white noise to the target domain acoustic emission signal to simulate the noise interference in the actual operation of the wind turbine variable pitch bearing. Convert the noisy acoustic emission signal into a Mel spectrum spectrum, input the target domain sample preprocessed by the Mel spectrum spectrum into the AMDSAN network model for feature extraction, model training and verification recognition, and use the accuracy rate to evaluate the model performance of AMDSAN.
[0143] S81. Figure 7 Representative Mel graph generated after adding noise. In order to verify the performance of the proposed model under noise interference, a noise experiment was designed. Gaussian white noise was added to the target domain acoustic emission signal to simulate the noise interference under real conditions during the operation of wind turbine variable pitch bearings. The noisy acoustic emission signal was converted into a Mel spectrum map, and the target domain samples preprocessed by the Mel spectrum map were input into the AMDSAN network model for feature extraction, model training and verification recognition. The accuracy was used to evaluate the model performance of AMDSAN.
[0144] Noise addition: Gaussian white noise is added to 200 waveform data in the target domain, respectively: SNR = 20dB, SNR = 15dB, SNR = 10dB, SNR = 5dB, representative Mel as follows Figure 7 The calculation formula of SNR is as follows:
[0145]
[0146] Where: SNR is signal-to-noise ratio; P signal is the effective signal power; P noise is the power of the noise signal. When the noise signal power is smaller, the SNR value is larger and the data quality is better. The noise addition situation is shown in the following table:
[0147]
[0148] S82. The network used the cross-validation method ten times during training, randomly dividing the training set and the test set, that is, the experiment was repeated ten times, and the average was taken to obtain a more accurate training model. After each training, the model trained in the source domain was used to test and evaluate the target domain, and the accuracy was calculated to reflect the current training effect. When the accuracy reaches a certain iteration cycle and the accuracy does not continue to rise, it is considered that the neural network model training has reached the optimal model. The optimal model is saved.
[0149] S83. Use the evaluation indicators accuracy, loss function, ROC curve and T-NSE to comprehensively evaluate the performance of the model:
[0150]
[0151] The symbols in the formula represent the number of true positive (TP), false positive (FP), false negative (FN), and true negative (TN) cases in the binary classification problem.
[0152] like Figure 5 As shown in Figure 1, in order to verify the fault diagnosis ability of the proposed network model AMDSAN and show its superiority, the accuracy rate is used as an evaluation indicator and compared with DAN, MRAN, D-Coral, DSAN and the proposed network AMDSAN. The average accuracy of AMDSAN in the pitch bearing damage identification task is as high as 98.67%. The model normalized confusion matrix and AMDSAN ROC curve in the noise-free test are shown in Figure 1. Figure 5 , the horizontal axis of the confusion matrix is the label of the actual state mode, and the vertical axis is the predicted label. Figure 5 The confusion matrix and ROC curve of AMDSAN are compared with the deep domain adaptation network DAN, the multi-representation domain adaptation network MRAN, the unsupervised domain adaptation network D-Coral, and the deep subdomain adaptation network DSAN. The horizontal axis of the confusion matrix is the label of the actual state mode, and the vertical axis is the predicted label. As can be seen from the figure: the accuracy of DAN is 89.50%, the accuracy of MRAN is 97.33%, the accuracy of D-Coral is 90.83%, the accuracy of DSAN is 97.67%, and the accuracy of AMDSAN is 98.67%. The three corresponding lines in the ROC curve of AMDSAN correspond to Minor Wear, Normal Wear and Severe Wear, and the diagonal line in the middle is the random model. The closer the ROC curve is to the upper left corner of the coordinate, the better it is. The one closest to the upper left corner is the best classification of Minor Wear, followed by Normal Wear, and finally Severe Wear.
[0153] like Figure 6The figure shows the visualization of the noise-free dataset in dimensionality reduction using t-distributed stochastic neighbor embedding (T-SNE). The specific results of the dimensionality reduction are visualized for the last hidden layer features of TD. Figure 6 It can be seen that data with different labels are projected to different areas, and data with the same label show obvious clustering phenomenon. This figure verifies that the proposed network AMDSAN has excellent performance in the variable pitch bearing fault diagnosis task.
[0154] like Figure 8 The figure shows the comparison of the recognition accuracy of different networks for variable pitch bearing data after adding noise. Figure 8 The comparison results of the proposed model and several other models in four transmission tasks are intuitively displayed.
[0155] S9. Use the AMDSAN network model to perform damage pattern recognition on the Mel-spectrogram of acoustic emission samples.
[0156] The computer device used in the present invention includes a memory and a processor, wherein the memory contains a computer program, and the processor executes the program to implement a wind turbine variable pitch bearing fault identification method based on a deep subdomain adaptive residual network with spatiotemporal clustering and a channel attention mechanism.
Claims
1. A wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network, Features The steps include: S1. Collect acoustic emission data of continuously running wind turbine pitch bearings, including normal wear state data, slight wear state data, and severe wear state data of the outer ring of wind turbine pitch bearings; S2, performing spatiotemporal clustering on the acoustic emission data to generate a spatiotemporal clustering fault map; S3. Determine the fault damage mode of the continuously operating wind turbine variable pitch bearing through the spatiotemporal clustering fault map, divide the collected acoustic emission data set, and obtain different types of labels: normal bearing wear data set, minor bearing fault wear data set, and severe bearing fault wear data set; S4, performing Mel spectrum conversion on the divided acoustic emission data set to generate a Mel spectrum graph data set; S5. Perform image preprocessing on the Mel-spectrogram image set. Image preprocessing includes resizing, random cropping, random horizontal flipping, and data enhancement. The image is converted into a PyTorch tensor, and the preprocessed data is randomly divided into a source domain dataset and a target domain dataset. S6. Add the maximum mean difference function LMMD to the residual network ResNet50 neural network to generate the deep subdomain adaptive network DSAN; S7. Insert the channel attention mechanism SE into the ResNet50 network part of the generated deep sub-domain adaptive network DSAN to generate a deep sub-domain adaptive network AMDSAN based on channel attention. AMDSAN consists of three parts: feature extraction, sub-domain adaptation and fault classification. AMDSAN is optimized. S8. Use the domain transfer learning method to transfer the knowledge learned in the target domain to the source domain for model fault identification; S9. Add Gaussian white noise to the target domain acoustic emission signal to simulate the noise interference in the actual operation of the wind turbine variable pitch bearing, convert the noisy acoustic emission signal into a Mel spectrum spectrum, input the target domain sample preprocessed by the Mel spectrum spectrum into AMDSAN for feature extraction, model training and verification recognition, evaluate the performance of AMDSAN, and select the best AMDSAN; S10. Use the optimal AMDSAN obtained in S9 to perform damage pattern recognition on the Mel-spectrogram of acoustic emission samples.
2. According to claim 1, the wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network, Features: The specific method of S2 is: S21: AEWin Express-8 software from the American Physical Acoustics Company was used to collect acoustic emission data with a fixed threshold of 45 dB, PDT = 200, HDT = 800, and HLT = 1000; S22: intercepting the 3600s time signal through the software data filtering function; S23: extracting the time intervals between adjacent AE impacts; S24: Generate a scatter plot for the extracted time intervals so that they are clustered and stratified in time and space.
3. According to claim 2, the wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network, Features: The specific method of S4 is: S41. Preprocessing the divided acoustic emission data set: pre-emphasis, framing, and windowing the signal; S42. Fast Fourier Transform: Perform fast Fourier transform on each frame of the signal to obtain frequency domain information, which is expressed as follows: Where N is the number of sampling points, x(n) is the input signal, n is the sampling point index, and i is the current sampling point; S43. Mel filtering: Use the Mel filter bank to weight the frequency domain information. The Mel filter bank calculates the energy of each Mel frequency band. Its frequency response relationship is as follows: Where H m (k) is the frequency response of the m-th Mel filter, k represents the k-dimensional spectrum in the spectrum diagram, and f(m) is the center frequency of the m-th filter; S44. Logarithmic operation: The characteristics of the Mel filter output are squared to form a logarithmic Mel spectrogram. The calculation of the signal energy information S(m) obtained by logarithmic operation is shown in the following formula: Where E(k) is the two-dimensional matrix energy obtained by fast Fourier transform.
4. According to claim 3, the wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network, Features: The specific method of S5 is: The images are resized to 256x256 pixels, randomly cropped to 224x224 pixels, and randomly flipped horizontally. The processed data is converted into batch loading using torch.utils.data.DataLoader(), and shuffle=True is used to randomly shuffle the data before the start of each epoch.
5. According to claim 4, the wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network, Features: The specific method for generating AMDSAN in S7 is: S71.Stage0 performs image preprocessing; S72. insert the channel attention mechanism "squeeze and compress" module SE after the deep sub-domain adaptive network DSAN residual blocks Stage1, Stage2, Stage3, and Stage4 respectively; S73. Convert the input image into a 1*2048 vector output through a pooling operation of a neural network; S74. First compare the ResNet50 model, the basic model without improvement added in S6, to verify the recognition effect of the basic network selection on damage features, and then compare the effects of inserting the "squeeze and excite" module SE of the attention mechanism in each stage of S72, and compare the accuracy of adding a single-layer attention mechanism and a multi-layer attention mechanism. Select the network model with the highest accuracy and the least loss function as AMDSAN.
6. The wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network according to claim 5, Features: The method for optimizing AMDSAN in S7 is as follows: The standard mini-batch stochastic gradient descent algorithm with momentum 0.9 and learning rate annealing strategy are used in Revgrad: Where θ is the linear change of training progress from 0 to 1, η 0 =0.01, α=10, β=0.75; At the same time, in order to suppress the noise activation in the early stage of training, the adaptation factor λ is not fixed, but gradually changed from 0 to 1 through gradual scheduling: Here, γ=10 is fixed in the whole process.
7. The wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network according to claim 6, Features: The specific method of S8 is: S81. Convert the source and target domain datasets into time-frequency images of size 640*640 through Mel spectrum conversion. The network input is the labeled source domain data. and unlabeled target domain data The output is the predicted target domain dataset label S82. From D s and D t Randomly select and S83. Input the sample into SE-ResNet50 feature extractor to obtain the feature vector and S84. Input into the fault classifier to obtain S85. Calculate the activation layer L through LMMD and The difference in the distribution of related subdomains gives the adaptive loss function ε 1 , ε l Minimize to reduce the relevant local distribution difference between each pair of source and target domains: In the formula, n represents the number of samples in the target domain dataset; λ is a tuning parameter used to balance different factors; e represents the number of iterations of the current model during training, and es represents the total number of iterations of training; S86. Use and To calculate the loss function ε d , ε d Minimize to predict the acoustic emission source domain samples; ε d The actual label is measured by using the cross entropy loss function With predicted labels The difference between is calculated as follows: Where c is the number of pitch bearing fault classifications, Represents the actual label of the source domain dataset sample and the predicted label Computed by the softmax function in the domain-sharing classifier, Defined as: In the formula The source domain dataset representing the output of the fully connected layer; S87. After forward propagation ε total =ε d +ε l AMDSAN has two loss functions, namely the LMMD domain adaptation loss function ε and the classification loss function ε d , ε total The overall optimization goal of the network model; S88. Backward update feature extractor and fault classifier; S89. Output the diagnosis result.
8. The wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network according to claim 7, Features: When S9 trains AMDSAN, a ten-fold cross-validation method is used to randomly divide the training set and the test set, that is, the experiment is repeated ten times, and the average value is taken to obtain a more accurate training model; after each training, the model trained in the source domain is used to test and evaluate the target domain, and the accuracy is calculated to reflect the current training effect; when the accuracy reaches a certain iteration cycle and the accuracy does not continue to increase, it is considered that the AMDSAN training has reached the optimal level and is saved.
9. The wind turbine pitch bearing damage identification and diagnosis method based on spatiotemporal clustering and improved residual network according to claim 8, Features: When evaluating AMDSAN in S9, the evaluation indicators accuracy, loss function, ROC curve and T-NSE are used to comprehensively evaluate the performance of the model: Where TP represents the number of true positive cases in the binary classification problem, FP represents the number of false positive cases in the binary classification problem, FN represents the number of false negative cases in the binary classification problem, and TN represents the number of true negative cases in the binary classification problem.
Citation Information
Patent Citations
Intra-class adaptation fault diagnosis method for bearing under variable working conditions
US20220327035A1
Method for diagnosis of fault in machine tool bearing
WO2022037068A1
