원시데이터 수집 시스템
선정목록으로

Fault diagnosis for wind turbines with graph neural network model based on one-shot learning

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Shuai Yang — Chongqing Technology and Business University, National Research Base of Intelligent Manufacturing Service, Chongqing, People's Republic of China
  2. Yifei Zhou — School of Management Science and Engineering, Chongqing Technology and Business University, Chongqing, People's Republic of China
  3. Xu Chen — School of Management Science and Engineering, Chongqing Technology and Business University, Chongqing, People's Republic of China
  4. Chuan Li — School of Management Science and Engineering, Chongqing Technology and Business University, Chongqing, People's Republic of China
  5. Heng Song — Institute of Management Research, China Railway No. 4 Engineering Group, Shanghai 201600, People's Republic of China
DOI
10.1098/rsos.230706
저널
Royal Society Open Science
발행년도
2023
발행기관
Royal Society
피인용수
6
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1098/rsos.230706
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4383263105

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Because of the harsh working environment, there is usually a lack of effective data from the gearboxes of wind turbines for fault classification. In this paper, a fault-diagnosis model based on graph neural networks and one-shot learning is proposed to solve the problem of fault classification with limited data. In the proposed method, the short-time Fourier transform is used to convert one-dimensional vibration signals into two-dimensional data, then feature vectors are extracted from the two-dimensional data, and small-sample learning is achieved. An experimental rig was built to simulate the real working scenario of a wind turbine, and the results indicate the high classification accuracy of the proposed method. Furthermore, its effectiveness is verified in comparisons with Siamese, matching and prototypical networks, with the proposed method outperforming all of them.

본문 30,647자

본문 펼치기
royalsocietypublishing.org/journal/rsos ## Research Cite this article: Yang S, Zhou Y, Chen X, Li C, Song H. 2023 Fault diagnosis for wind turbines with graph neural network model based on one-shot learning. R. Soc. Open Sci. 10: 230706. https://doi.org/10.1098/rsos.230706 Received: 1 June 2023 Accepted: 12 June 2023 Subject Category: Engineering Subject Areas: mechanical engineering Keywords: wind turbine, fault diagnosis, deep learning, graph neural network, convolutional neural network, one-shot learning Author for correspondence: Shuai Yang e-mail: [jerryyang@ctbu.edu.cn](mailto:jerryyang@ctbu.edu.cn) # Fault diagnosis for wind turbines with graph neural network model based on one-shot learning ### Shuai Yang 1, Yifei Zhou 2, Xu Chen 2, Chuan Li 2 and Heng Song 3 1Chongqing Technology and Business University, National Research Base of Intelligent Manufacturing Service, Chongqing, People’s Republic of China 2School of Management Science and Engineering, Chongqing Technology and Business University, Chongqing, People’s Republic of China 3Institute of Management Research, China Railway No. 4 Engineering Group, Shanghai 201600, People’s Republic of China SY, [0000-0001-8015-1578](http://orcid.org/0000-0001-8015-1578) Because of the harsh working environment, there is usually a lack of effective data from the gearboxes of wind turbines for fault classification. In this paper, a fault-diagnosis model based on graph neural networks and one-shot learning is proposed to solve the problem of fault classification with limited data. In the proposed method, the short-time Fourier transform is used to convert one-dimensional vibration signals into twodimensional data, then feature vectors are extracted from the two-dimensional data, and small-sample learning is achieved. An experimental rig was built to simulate the real working scenario of a wind turbine, and the results indicate the high classification accuracy of the proposed method. Furthermore, its effectiveness is verified in comparisons with Siamese, matching and prototypical networks, with the proposed <mark>method outperforming all of them.</mark> ## 1. Introduction Wind power has played a leading role in renewable energy for the past four decades and will potentially be a major form of energy in the near future. Based on its growth, wind energy has also been one of the fastest-growing forms of energy because of its reliability and cost-effectiveness [1]. However, the extreme operating conditions of wind turbines expose them to highfrequency failure, and so it is critical to minimize property losses and prevent casualties through early detection of these impending faults [2]. © 2023 The Authors. Published by the Royal Society under the terms of the Creative Commons Attribution License [http://creativecommons.org/licenses/by/4.0/,](http://creativecommons.org/licenses/by/4.0/) which permits As the most important transmission part of a wind turbine, the gearbox has been shown to account for the highest failure rate [3]. In recent years, gearbox diagnosis has been the subject of much research, leading to widespread interest in data-driven gearbox fault diagnosis. The general steps of this type of approach are: (i) signal collection, (ii) data processing and feature extraction, and (iii) fault detection [4]. Among various data-driven methods, deep learning models such as deep belief networks (DBNs) [5] and convolutional neural networks (CNNs) have been applied widely to the diagnosis of mechanical faults. Regarding the DBN approach, Wang et al. [6] proposed an algorithm based on local tangent space alignment and a DBN, and experimental results indicated that the proposed method not only reduces the dimension of high-dimensional data but also improves the classification accuracy of the intelligent diagnosis model. Also, Dai et al. [7] proposed a new transformer fault-diagnosis method based on a DBN with rectified linear units (ReLU-DBN), which improved the accuracy of fault diagnosis through multi-dimensional and multi-layer mapping. However, the weak anti-noise ability and poor stability of DBNs mean that their industrial applications are limited. First proposed by LeCun et al. [8] to apply backpropagation to handwritten zip codes, CNNs as typical representatives of deep learning have made significant progress in image classification, object detection and other fields [9]. Lee et al. [10] proposed an induction-motor fault-diagnosis system based on a CNN model, and experimental results confirmed that the proposed method is suitable for diagnosing rotor and bearing faults in induction motors. Zhang et al. [11] improved the performance of typical CNNs by optimizing the impact of the ordering of input measurement parameters, and in simulation experiments the proposed method performed well in terms of precision, stability and comprehensibility. CNNs have achieved good results in many fields, such as image recognition and natural language processing, but their efficient processing is limited to regular Euclidean data such as grids and sequences. However, in non-Euclidean data, the number and order of neighbouring nodes of central nodes are not fixed, so it is difficult to define convolution kernels for such data. The most typical form of non-Euclidean data is the graph structure, and hence graph neural networks (GNNs) came into being. The data objects processed by GNNs are graph data with irregular structures, so in practice various non-Euclidean distance problems can be abstracted into graph structures. Hua et al. [12] proposed a fault-prediction method for a distributed network based on a GNN, which improved the accuracy of the algorithm by 3%. Shanshan et al. [13] proposed a fault-diagnosis method for rolling bearings based on a CNN and GNN, which involves converting one-dimensional feature data into graph data and then using a threelayer GNN; results showed that the method has a fault-diagnosis accuracy of more than 90%. However, all the aforementioned deep-learning models require a large amount of data for training to reach a high accuracy [14]. In 2003, Li et al. [15] proposed one-shot learning (OSL); most machinelearning-based object-classification algorithms require hundreds or thousands of images or very large databases for training, whereas the main goal of OSL is to learn object classification from one or very few training images. When aimed at classification problems, OSL can achieve high classification accuracy with a small amount of training data, such as one or a few visual images [16]. Because of the harsh working environment, effective data from the gearboxes of wind turbines are usually limited, so this paper proposes a GNN model based on OSL for fault classification. The remainder of this paper is structured as follows. The methodology of the proposed method is introduced in §2, and it is evaluated experimentally in §3. Results are presented and discussed in §4, and conclusions are drawn in §5. ## 2. Methodology #### 2.1. Convolutional neural network extraction of vector features Image feature recognition and retrieval are realized by extracting vector features with a CNN, and the process is shown in figure 1. A CNN was chosen for feature extraction and classification because of its shared convolutional kernel and high processing power, and the steps are as follows. (i) Input. The input of a CNN is an image, which is usually a multi-channel matrix. (ii) Convolutional layer. This consists of a series of convolutional kernels, each of which slides over the input image and performs convolutional operations on local regions. (iii) Pooling layer. This is used to reduce both the spatial dimensions of the feature map and the computational effort by extracting the main features by pooling the maximum or average values of the local areas. (iv) Fully connected layer. After multiple convolutions and poolings, the f t i t d t t f d t d t th f ll t d l hi h i ll <mark>2</mark> convolutional layer pooling layer high-level feature pooling layers Figure 1. Convolutional neural network (CNN) feature-recognition framework. CNN _f_ ( _Xpin_ ) <mark>3</mark> _Xpin_ prediction _pin_, _Xqin_ _hW_ ( _Xp_ _qin_ ) _Xqin_ CNN _f_ ( _Xqin_ ) Figure 2. CNN feature-extraction prediction map. tasks. (v) Output layer. The final layer is the output layer, which selects the appropriate activation and loss functions according to the specific task and produces the corresponding outputs [17]. During the feature-extraction process of the CNN, the convolution window slides over the image, and the elements in the window are convolved. All the outputs generated during the traversal process form feature maps by position, and how many feature maps each layer must design depends on how many features must be learned. The quality of the design of the number of feature maps directly affects the final network performance, so we use a CNN approach for feature extraction, as shown in figure 2, which consists of an input layer, two CNNs, a distance metric and an output layer. In the output layer, we represent x <sup>in</sup> p <sup>, xin</sup> q <sup>as</sup> a pair of samples of the same or different classes, where x <sup>in</sup> p <sup>, xin</sup> q <sup>are the two data as input.</sup> The two identical CNNs are connected by a distance metric between their outputs, and they use the same distance parameters and weights. Convolutional layers with 3–3 filters use ReLU activation functions [18]. Additionally, batch normalization is used to speed up learning by normalizing the input layer, and dropout is added for normalization. Flatten is used to convert two-dimensional matrices to vectors, and the distance metric is calculated as a vector as <sup>in</sup> p <sup>, xin</sup> q <sup>in</sup> p <sup>, xin</sup> q df ðx <sup>in</sup> p <sup>in</sup> p <sup>, x</sup> q <sup>in</sup> q <sup>inÞ ¼ jf ðxin</sup> p <sup>in</sup> p <sup>Þ �</sup> <sup>f ðxin</sup> q <sup>in</sup> q <sup>Þj,</sup> ð2:1Þ where f( · ) is the CNN and |x| is the element-wise absolute value of the vector. The output of the proposed OSL model represents the similarity probability between two input samples and is obtained by hwðx <sup>in</sup> p <sup>in</sup> p <sup>, x</sup> q <sup>in</sup> q <sup>inÞ ¼ s ðFCðdf ðxin</sup> p <sup>,</sup> <sup>in</sup> p <sup>, x</sup> q <sup>in</sup> q <sup>inÞÞÞ,</sup> ð2:2Þ where σ( · ) is a sigmoid function, FC( · ) is a fully connected layer and w is a vector of learnable weights used to collect each parameter that should be determined in the model. #### 2.2. Data preprocessing with short-time Fourier transform The Fourier transform (FT) was once the most widely used method for signal processing. However, the fast FT can only reflect the character of the signal in the frequency domain, so instead the short-time FT (STFT) is chosen to treat the non-stationary signal as a series of short-time signals and divide the signal i t l ll i t l A lidi ti i d i d t l l t th f t t _S_ ( _τ_ ) _γ_ ( _τ_ - _t_ ) FT STFT <mark>4</mark> Figure 3. Schematic of implementation of continuous-time short-time Fourier transform (STFT). node initialization support query 1 0 0.5 0 0.5 1 0 0 0.5 0.5 Figure 4. Schematic of GNN edge node initialization. The STFT of a continuous-time signal S(t) is expressed mathematically as STFTðt, vÞ ¼ ðþ1 SðtÞ, gðt � tÞ e <sup>�jvt</sup> dt �1 ¼ hSðtÞ, gðt � tÞe <sup>�jvt</sup> i ¼ hSðtÞ, gt,vðt � tÞi, ð2:3Þ where γ(t) is a window function that is usually real and even. In addition, for the continuous-time signal S(t), Ð þ1 ω is the angular frequency and j is the imaginary unit, with j <sup>2</sup> = −1. Finally, cn ¼ hS, cni ¼ �1 <sup>SðtÞC</sup> n <sup>�ðtÞ dt is</sup> Ð þ1 ω is the angular frequency and j is the imaginary unit, with j <sup>2</sup> = −1. Finally, cn ¼ hS, cni ¼ �1 <sup>SðtÞC</sup> n <sup>�ðtÞ dt is</sup> called the inner product or dot product. The STFT of the continuous-time signal S(t) is realized as shown schematically in figure 3. In the time domain, the window function is used to cut off the signal S(t). The window is moved to the starting point of the signal, at which time the centre position of the window function is at t = t0, and the signal is windowed as yðtÞ ¼ SðtÞ � Wðt � t0Þ, ð2:4Þ where t is the time translation parameter, S(t) is the original signal and W(t − t0) is the sequence of real window functions. The intercepted signal can be obtained by multiplying the window function and the original signal y(t), with the intercepted signal y(t) being the signal of execution time corresponding to t [20]. #### 2.3. Fault classification with graph neural network based on one-shot learning A GNN is a graph domain information processing method based on deep learning. Because of their good performance and interpretability, GNNs have become widely used for graph analysis. Many important datasets exist in the form of graphs or networks, and if neural networks and graph analysis can be combined, then many problems will be solved. The most important components of a graph structure are the vertices and edges, which are represented as G ¼ ðV, EÞ, ð2:5Þ where G represents the graph structure, V represents the nodes and E represents the edges connecting the nodes. I th l ifi ti t k th ll l d t di id d i t t t d t d <mark>5</mark> GNN input output _V_ (nodes) Figure 5. Graph neural network (GNN) model structure. _P_ ( _Y_ | _τ_ ) independent most studies still use a large number of images for pre-training Figure 6. Diagram of general deep network. train set val set test set model training model validating model testing between all the samples, with the edge labels assigned explicitly in the initialization stage (i.e. edge weight initialization) and then updated explicitly. Finally, the edge weights are used as the basis for classification to discriminate among the unknown samples, which is also a GNN. In terms of how this network differs from other networks, the general network updates the nodes, i.e. the features of the image for classification, and an edge has only one of two values, i.e. 0 or 1. The adjacency matrix is shared in each iteration of the model and is not updated, but the GNN finally uses the edge weights as the main classification basis, and only the initial value of the edge weight of 0.5 can be changed and updated [21]. Herein, each node represents an image, and the weight of each edge represents the relationship (distance or similarity) between two images. The weights are calculated specifically as Ae i <sup>ð</sup>, <sup>k</sup> j <sup>Þ</sup> i <sup>ð</sup>, <sup>k</sup> j <sup>Þ</sup> <sup>¼ w</sup> eu <sup>(x</sup> i <sup>ðkÞ</sup> i <sup>ðkÞ, xð</sup> j <sup>kÞ</sup> <sup>ð</sup> j <sup>kÞ) ¼ MLP</sup> eu <sup>ðabsðxð</sup> i <sup>kÞ</sup> <sup>ð</sup> i <sup>kÞ</sup> - x <sup>ð</sup> j <sup>kÞÞÞ,</sup> ð2:6Þ where x <sup>k</sup> is received as the input of a GNN layer, and w = MLP is a symmetric function parametrized with (for example) a neural network. Herein, a stacked MLP is considered after the absolute difference between two vector nodes. The adjacency matrix is computed before every convolutional layer. The input is preprocessed data, and the fault data may include graph data, with each node representing graph data, followed by the corresponding weight calculation of the input data, and then the output of the model is sent through a multi-layer GNN to determine the fault category, which is shown in figure 5. As shown in figure 6, when the training starts, the dataset is divided into three parts, with each part input separately into the model; this differs from the general deep network that uses training and testing separately. During small-sample classification, most methods use all the samples at once to construct a graph structure, regardless of whether the labels are known or unknown, so from the perspective of sample utilization, this construction method can be used to a certain extent, but it often takes a long time to train [22]. So, as mentioned before, OSL is used to provide only one or a few training samples; i.e. it needs only a small number of labelled samples for learning. Figure 7 shows the architecture of the proposed OSL d l I th t i i h th i t i f l f ith th l diff t <mark>6</mark> training set _ST_ output _pin_ x _qin_ _xp_ _in_ model one-shot learning model same category _pin, Xq_ _hW_ ( _Xp_ _qin_ ) _in_ training phase test phase _xp_ _pin_ x _qin_ different category _t_ = 1 _t_ = 0 output _hW_ ( _X_ <sup>_ˆ_</sup> _, S_ 1) label test sample support set _Ss_ model _S_ 1 _S_ 2 one-shot learning _hW_ ( _X_ <sup>_ˆ_</sup> _, S_ 1) _X_ <sup>_ˆ_</sup> one-shotlearning _hW_ ( _X_ <sup>_ˆ_</sup> _, S_ 1) test ( _X_ <sup>_ˆ_</sup> _, SS_ ) _Sk_ model _hW_ ( _X_ <sup>_ˆ_</sup> _, S_ 1) air fan wind turbine Figure 7. One-shot learning strategy. Figure 8. Experimental set-up. gear box sensors data acquisition system ## 3. Experimental verification To verify the effectiveness of the proposed method, experiments were carried out at Chongqing Technology and Business University. Figure 8 shows the experimental apparatus, which comprised a wind turbine, a fan, a data acquisition system, sensors and a workstation. The fan was used to simulate the wind in the natural environment, and the generated wind rotated the turbine blades to drive the rotation of the gears. The vibration signals of the vibration X and Y axes were each collected by an acceleration sensor and transmitted to the workstation through the high-speed data acquisition system. The vibration data were obtained from the sun gear in the gearbox, which had eight different conditions, i.e. (1) healthy, (2) light pitting, (3) medium pitting, (4) missing half tooth, (5) missing full tooth, (6) medium double pitting, (7) pitting + missing tooth, and (8) 0.3–0.5 worn. The details of the sun gear are shown in table 1. Each test involved a sampling time of 20 s and was repeated 10 times. Three different frequencies (35 Hz, 40 Hz and 50 Hz) were selected for each fault, and all the loads Th ib ti i l f th X d Y ll t d b l t ith Table 1. Condition patterns of sun gear used in experiment. label image condition 1 healthy 2 light pitting 3 medium pitting 4 missing half tooth 5 missing full tooth 6 medium double pitting 7 pitting + missing tooth 8 0.3–0.5 worn The loss and accuracy functions of the model are <mark>7</mark> cross ~~l~~ oss ¼ � X k tk log yk ð3:1Þ and <u>TP þ TN</u> accuracy ¼ TP þ TN þ FP þ FN <sup>,</sup> ð3:2Þ where yk is the output of the neural network and tk is the correct solution label. True positive (TP) means correct division into positive samples, true negative (TN) means correct division into negative samples, false positive (FP) means incorrect division into positive samples and false negative (FN) means incorrect division into negative samples. All raw data are converted into image data, as shown in figure 9. The output vibration signal is first subjected to STFT to convert the one-dimensional signal into two-dimensional data. The output data are then input into the CNN for feature extraction, and finally each image is processed into a 64dimensional feature vector. Finally, this is input to the neural network, using leaky ReLU as the activation function and using the cross entropy loss function as the loss metric, and its accuracy is calculated. ## 4. Main results I th i t 9600 l ll t d d d i STFT i M tl b t t CNN feature extraction <mark>8</mark> STFT transform data acquisition Figure 9. Flowchart of proposed method. GNN model _P_ ( _Y_ | _τ_ ) 20 20 20 40 40 40 60 60 60 80 80 80 100 100 100 120 120 120 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 (1) (2) (3) 20 40 60 80 100 120 1 2 3 4 5 6 7 8 20 40 60 80 100 120 1 2 3 4 5 6 7 8 20 40 60 80 100 120 20 40 60 80 100 120 20 20 40 40 60 60 80 80 100 100 120 120 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 (4) (5) (6) 1 2 3 4 5 6 7 8 20 40 60 80 100 120 1 2 3 4 5 6 7 8 (7) (8) Figure 10. Transformed graphs under different conditions: (1) healthy; (2) light pitting; (3) medium pitting; (4) missing half tooth; (5) missing full tooth; (6) medium double pitting; (7) pitting + missing tooth; (8) 0.3–0.5 worn. different states, figure 10 shows the collected vibration signals in eight states converted into two-dimensional data. For comparison, methods other than the proposed OSL image classification method were used to classify faults under the same dataset, with the proposed method found to be superior to a Siamese network, a matching network, and a prototypical network. These were chosen for comparison for the following reasons: Siamese networks are simple and effective and are used widely in computer science, face recognition, finance and other fields; a matching network combines an attention structure and a memory network to build a fast learning network; a prototypical network is an algorithm for semi-supervised learning and is an effective few-shot learning model with fewer parameters than traditional network models. Table 2 and figure 11 compare the accuracies of the different models, whose parameter values are given in table 3. All 9600 collected samples were given to the proposed model, and its highest accuracy was 94.7475% in the results of five runs. Meanwhile, the accuracies of the Siamese, matching d t t i l t k l 89 35% 85 36% d 80 63% ti l th d <mark>9</mark> 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% comparison of model results Siamese network matching network prototypical network GNN-OSL 93.80% 92.74% <u>94.75%</u> 94.43% 89.35% <u>88.54%</u> <u>86.65%</u> <u>88.33%</u> 83.12% ~~85.35%~~ <u>84.58%</u> 84.72% 80.63% 79.54% 80.25% <u>78.86%</u> 1 2 3 4 Figure 11. Comparison of model results. Table 2. Comparison of results under different models. model accuracy Siamese network 89.3501% matching network 85.3600% prototypical network 80.6250% GNN-OSL 94.7475% Table 3. Parameter values of each model. model <mark>learning</mark> <mark>rate</mark> <mark>batch_size</mark> <mark>iterations</mark> Siamese network 0.007 32 10 000 matching network 0.007 5 10 000 prototypical network 0.0001 64 10 000 GNN-OSL 0.007 32 10 000 ## 5. Conclusion Herein, a fault-diagnosis GNN model based on OSL was proposed for classifying the faults of windturbine gearboxes. In most cases, there is a lack of effective data from gearboxes for fault classification, but the proposed method can obtain a high-accuracy training model with small datasets. This method converts one-dimensional vibration signals into two-dimensional data by using STFT. After extracting feature vectors from the two-dimensional data, the method implements OSL. To verify the proposed method, an experimental rig was built to simulate the real working scenario of a wind turbine. With 10 000 iterations and a learning rate of 0.007, the classification accuracy of this proposed method can reach 94.75%. Finally, to further verify the effectiveness of the proposed method, it was compared with Siamese, matching and prototypical networks under the same number f it ti Th i f th t k l 89 35% 85 36% d 80 63% ti l Despite the effectiveness of the proposed method, an issue remains to be addressed in future work. The experiment reported herein verified the applicability of the model only for wind turbines, and its effectiveness for other rotating equipment remains to be seen. In future work, we will incorporate transfer learning into the proposed method and apply it to various rotating equipment under different operating conditions in order to verify further its universality. Data accessibility. This article has no additional data. Authors’ contributions. S.Y.: funding acquisition, supervision, writing—review and editing; Y.Z.: methodology, writing— original draft; X.C.: data curation, formal analysis; C.L.: software, validation; H.S.: data curation, writing—review and editing. All authors gave final approval for publication and agreed to be held accountable for the work performed therein. Conflict of interest declaration. We declare we have no competing interests. Funding. This work was supported partially by China’s National Natural Science Foundation (grant no. 51905058), the Chongqing Municipal Education Commission’s Science and Technology Research Program (grant no. KJZDK202100804), the Venture & Innovation Support Program for Chongqing Overseas Returnees (grant no. cx2021075), and the China Railway Group Limited via its open competition mechanism to select the best candidates (2021-major-14). ## References <mark>10</mark> 1. Koh JH, Ng EYK. 2015 Downwind offshore wind turbines: opportunities, trends and technical challenges. Renew. Sustain. Energy Rev. 54, 797–808. [(doi:10.1016/j.rser.2015.10.096)](http://dx.doi.org/10.1016/j.rser.2015.10.096) 2. Li J, Ying Y, Ren Y, Xu S, Bi D, Chen X, Xu Y. 2019 Research on rolling bearing fault diagnosis based on multi-dimensional feature extraction and evidence fusion theory. R. Soc. Open Sci. 6, 181488. [(doi:10.1098/rsos.181488)](http://dx.doi.org/10.1098/rsos.181488) 3. Lim JT. 2022 Machine learning on fault diagnosis in wind turbine. Fluids 7, 371–327. [(doi:10.3390/fluids7120371)](https://doi.org/10.3390/fluids7120371) 4. Wang MH, Lu SD, Hsieh CC, Hung CC. 2022 Fault detection of wind turbine blades using multi-channel CNN. Sustainability 14, 1781. [(doi:10.3390/su14031781)](http://dx.doi.org/10.3390/su14031781) 5. Zou Y, Zhang Y, Mao H. 2021 Fault diagnosis on the bearing of traction motor in high-speed trains based on deep learning. Alexandria Eng. J. 60, [1209–1219. (doi:10.1016/j.aej.2020.10.044)](http://dx.doi.org/10.1016/j.aej.2020.10.044) 6. Wang JG, Liu JT. 2022 LTSA and deep confidence network for fault diagnosis of planetary gearbox. Mech. Des. Manuf. 2022, 5–8. [(doi:10.19356/j.cnki.1001-3997.](http://dx.doi.org/10.19356/j.cnki.1001-3997.20211116.024) [20211116.024)](http://dx.doi.org/10.19356/j.cnki.1001-3997.20211116.024) 7. Dai J, Song H, Sheng G, Jiang X. 2017 Dissolved gas analysis of insulating oil for power transformer fault diagnosis with deep belief network. IEEE Trans. Dielectr. Electr. Insul. 24, 2828–2835. [(doi:10.1109/TDEI.](http://dx.doi.org/10.1109/TDEI.2017.006727) [2017.006727)](http://dx.doi.org/10.1109/TDEI.2017.006727) 8. LeCun Y, Bottou L, Bengio Y, Haffner P. 1998 Gradient-based learning applied to document recognition. Proc. IEEE 86, 2278–2324. [(doi:10.](http://dx.doi.org/10.1109/5.726791) [1109/5.726791)](http://dx.doi.org/10.1109/5.726791) 9. Badrinarayanan V, Kendall A, Cipolla R. 2017 SegNet: a deep convolutional encoder-decoder architecture for image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 39, 2481–2495. [(doi:10.1109/TPAMI.2016.2644615)](http://dx.doi.org/10.1109/TPAMI.2016.2644615) 10. Lee J-H, Pack J-H, Lee I-S. 2019 Fault diagnosis of induction motor using convolutional neural network. Appl. Sci. 9, 2950. [(doi:10.3390/](http://dx.doi.org/10.3390/app9152950) [app9152950)](http://dx.doi.org/10.3390/app9152950) 11. Zhang T, Dai J. 2021 Mechanical fault diagnosis methods based on convolutional neural network: a review. J. Phys: Conf. Ser. 1750, 012048. [(doi:10.23919/ChiCC.2017.8029130)](http://dx.doi.org/10.23919/ChiCC.2017.8029130) 12. Hua Y, Wang LX, Jian SZ, Zhang X. 2020 Fault prediction of distribution network based on graph neural network. Comput. Syst. Appl. 29, 131–135. [(doi:10.1007/s00202-021-01223-7)](http://dx.doi.org/10.1007/s00202-021-01223-7) 13. Shanshan D, Renwen C, Fei L, Hao L. 2022 Fault diagnosis algorithm of rolling bearing based on convolutional graph neural network. Appl. Single Chip Microcomput. Embedded Syst. 22, 38-4151. [(doi:10.1109/TIM.2021.3087834)](http://dx.doi.org/10.1109/TIM.2021.3087834) 14. Li F-F, Fergus R, Perona P. 2006 One-shot learning of object categories. IEEE Trans. Pattern Anal. Mach. Intell. 28, 594–611. [(doi:10.1109/](http://dx.doi.org/10.1109/TPAMI.2006.79) [TPAMI.2006.79)](http://dx.doi.org/10.1109/TPAMI.2006.79) 15. Li S, Wang Z, Cao X, Li Z, Song X. 2021 Large volumetric optical-resolution photoacoustic microscopy with image fusion based on CNN feature extraction. In Current Developments in Lens Design and Optical Engineering XXII, vol. 11814, [pp. 95–100. SPIE. (doi:10.1117/12.2592123).](http://dx.doi.org/10.1117/12.2592123) 16. Hao GC, Tan H, Cheng Z, Wang W. 2019 BGabor-NSPWVD time-frequency analysis algorithm with strong robustness and high aggregation degree of sharpening. Chin. J. Autom. 45, 566–576. [(doi:10.16383/j.](http://dx.doi.org/10.16383/j.aas.c170530) [aas.c170530)](http://dx.doi.org/10.16383/j.aas.c170530) 17. Venton J, Harris PM, Sundar A, Smith NA, Aston PJ. 2021 Robustness of convolutional neural networks to physiological electrocardiogram noise. Phil. Trans. R. Soc. A 379, 20200262. [(doi:10.1098/rsta.2020.0262)](http://dx.doi.org/10.1098/rsta.2020.0262) 18. Atanbori J, Rose S. 2022 MergedNET: a simple approach for one-shot learning in siamese networks based on similarity layers. Neurocomputing 509, 1–10. [(doi:10.1016/j.](http://dx.doi.org/10.1016/j.neucom.2022.08.070) [neucom.2022.08.070)](http://dx.doi.org/10.1016/j.neucom.2022.08.070) 19. Zhang HK, Li Y, Jiang YN. 2018 Deep learning for hyperspectral imagery classification: the state of the art and prospects. Acta Autom. Sinica 44, 961–977. [(doi:10.16383/j.aas.2018.](http://dx.doi.org/10.16383/j.aas.2018.c170190) [c170190)](http://dx.doi.org/10.16383/j.aas.2018.c170190) 20. Pho HA, Lee S, Tuyet-Doan VN, Kim YH. 2020 Radar-based face recognition: one-shot learning approach. IEEE Sensors J. 21, 6335–6341. [(doi:10.1109/JSEN.2020.3036465)](http://dx.doi.org/10.1109/JSEN.2020.3036465) 21. Garcia V, Bruna J. 2017 Few-shot learning with graph neural networks. arXiv. [(doi:10.48550/](https://doi.org/10.48550/arXiv.1711.04043) [arXiv.1711.04043)](https://doi.org/10.48550/arXiv.1711.04043) 22. Yan B, Wang C, Guo G, Lou Y. 2020 Tinygnn: learning efficient graph neural networks. In Proc. of the 26th ACM SIGKDD Int. Conf. on Knowledge Discovery & Data Mining pp. 1848– 1856. [(doi:10.1145/3394486.3403236)](http://dx.doi.org/10.1145/3394486.3403236) 23. Cong B, Ling H, Chen JN, Chen S. 2018 Optimization of deep convolutional neural network for large scale image classification. J. Softw. 29, 1029–1038. (doi: [10.1016/j.](http://dx.doi.org/10.1016/j.neucom.2018.04.034) [neucom.2018.04.034)](http://dx.doi.org/10.1016/j.neucom.2018.04.034)

섹션 본문 31문단 · 18,402자

(제목 없음)

1Because of the harsh working environment, there is usually a lack of effective data from the gearboxes of wind turbines for fault classification. In this paper, a fault-diagnosis model based on graph neural networks and one-shot learning is proposed to solve the problem of fault classification with limited data. In the proposed method, the short-time Fourier transform is used to convert one-dimensional vibration signals into twodimensional data, then feature vectors are extracted from the two-dimensional data, and small-sample learning is achieved. An experimental rig was built to simulate the real working scenario of a wind turbine, and the results indicate the high classification accuracy of the proposed method. Furthermore, its effectiveness is verified in comparisons with Siamese, matching and prototypical networks, with the proposed method outperforming all of them.

Introduction

2Wind power has played a leading role in renewable energy for the past four decades and will potentially be a major form of energy in the near future. Based on its growth, wind energy has also been one of the fastest-growing forms of energy because of its reliability and cost-effectiveness [1]. However, the extreme operating conditions of wind turbines expose them to highfrequency failure, and so it is critical to minimize property losses and prevent casualties through early detection of these impending faults [2].

3As the most important transmission part of a wind turbine, the gearbox has been shown to account for the highest failure rate [3]. In recent years, gearbox diagnosis has been the subject of much research, leading to widespread interest in data-driven gearbox fault diagnosis. The general steps of this type of approach are: (i) signal collection, (ii) data processing and feature extraction, and (iii) fault detection [4]. Among various data-driven methods, deep learning models such as deep belief networks (DBNs) [5] and convolutional neural networks (CNNs) have been applied widely to the diagnosis of mechanical faults.

4Regarding the DBN approach, Wang et al. [6] proposed an algorithm based on local tangent space alignment and a DBN, and experimental results indicated that the proposed method not only reduces the dimension of high-dimensional data but also improves the classification accuracy of the intelligent diagnosis model. Also, Dai et al. [7] proposed a new transformer fault-diagnosis method based on a DBN with rectified linear units (ReLU-DBN), which improved the accuracy of fault diagnosis through multi-dimensional and multi-layer mapping. However, the weak anti-noise ability and poor stability of DBNs mean that their industrial applications are limited.

5First proposed by LeCun et al. [8] to apply backpropagation to handwritten zip codes, CNNs as typical representatives of deep learning have made significant progress in image classification, object detection and other fields [9]. Lee et al. [10] proposed an induction-motor fault-diagnosis system based on a CNN model, and experimental results confirmed that the proposed method is suitable for diagnosing rotor and bearing faults in induction motors. Zhang et al. [11] improved the performance of typical CNNs by optimizing the impact of the ordering of input measurement parameters, and in simulation experiments the proposed method performed well in terms of precision, stability and comprehensibility. CNNs have achieved good results in many fields, such as image recognition and natural language processing, but their efficient processing is limited to regular Euclidean data such as grids and sequences.

6However, in non-Euclidean data, the number and order of neighbouring nodes of central nodes are not fixed, so it is difficult to define convolution kernels for such data. The most typical form of non-Euclidean data is the graph structure, and hence graph neural networks (GNNs) came into being. The data objects processed by GNNs are graph data with irregular structures, so in practice various non-Euclidean distance problems can be abstracted into graph structures. Hua et al. [12] proposed a fault-prediction method for a distributed network based on a GNN, which improved the accuracy of the algorithm by 3%. Shanshan et al. [13] proposed a fault-diagnosis method for rolling bearings based on a CNN and GNN, which involves converting one-dimensional feature data into graph data and then using a threelayer GNN; results showed that the method has a fault-diagnosis accuracy of more than 90%.

7However, all the aforementioned deep-learning models require a large amount of data for training to reach a high accuracy [14]. In 2003, Li et al. [15] proposed one-shot learning (OSL); most machinelearning-based object-classification algorithms require hundreds or thousands of images or very large databases for training, whereas the main goal of OSL is to learn object classification from one or very few training images. When aimed at classification problems, OSL can achieve high classification accuracy with a small amount of training data, such as one or a few visual images [16]. Because of the harsh working environment, effective data from the gearboxes of wind turbines are usually limited, so this paper proposes a GNN model based on OSL for fault classification.

8The remainder of this paper is structured as follows. The methodology of the proposed method is introduced in §2, and it is evaluated experimentally in §3. Results are presented and discussed in §4, and conclusions are drawn in §5.

Convolutional neural network extraction of vector features

9Image feature recognition and retrieval are realized by extracting vector features with a CNN, and the process is shown in figure 1. A CNN was chosen for feature extraction and classification because of its shared convolutional kernel and high processing power, and the steps are as follows. (i) Input. The input of a CNN is an image, which is usually a multi-channel matrix. (ii) Convolutional layer. This consists of a series of convolutional kernels, each of which slides over the input image and performs convolutional operations on local regions. (iii) Pooling layer. This is used to reduce both the spatial dimensions of the feature map and the computational effort by extracting the main features by pooling the maximum or average values of the local areas. (iv) Fully connected layer. After multiple convolutions and poolings, the feature map is converted to vector form and connected to the fully connected layer, which is usually a multi-layer perceptron (MLP) that maps feature vectors to output classes or makes predictions for other royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 10: 230706 tasks. (v) Output layer. The final layer is the output layer, which selects the appropriate activation and loss functions according to the specific task and produces the corresponding outputs [17].

10During the feature-extraction process of the CNN, the convolution window slides over the image, and the elements in the window are convolved. All the outputs generated during the traversal process form feature maps by position, and how many feature maps each layer must design depends on how many features must be learned. The quality of the design of the number of feature maps directly affects the final network performance, so we use a CNN approach for feature extraction, as shown in figure 2, which consists of an input layer, two CNNs, a distance metric and an output layer. In the output layer, we represent x in p , x in q as a pair of samples of the same or different classes, where x in p , x in q are the two data as input. The two identical CNNs are connected by a distance metric between their outputs, and they use the same distance parameters and weights. Convolutional layers with 3-3 filters use ReLU activation functions [18]. Additionally, batch normalization is used to speed up learning by normalizing the input layer, and dropout is added for normalization. Flatten is used to convert two-dimensional matrices to vectors, and the distance metric is calculated as a vector as

11where f( · ) is the CNN and |x| is the element-wise absolute value of the vector. The output of the proposed OSL model represents the similarity probability between two input samples and is obtained by

12where σ( · ) is a sigmoid function, FC( · ) is a fully connected layer and w is a vector of learnable weights used to collect each parameter that should be determined in the model.

Data preprocessing with short-time Fourier transform

13The Fourier transform (FT) was once the most widely used method for signal processing. However, the fast FT can only reflect the character of the signal in the frequency domain, so instead the short-time FT (STFT) is chosen to treat the non-stationary signal as a series of short-time signals and divide the signal into several small intervals. A sliding time window is used to calculate the frequency spectrum to determine the frequency within a certain time interval, based on the traditional FT [19]. Figure 2. CNN feature-extraction prediction map.

14royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 10: 230706

15The STFT of a continuous-time signal S(t) is expressed mathematically as

16where γ(t) is a window function that is usually real and even. In addition, for the continuous-time signal S(t), ω is the angular frequency and j is the imaginary unit, with j 2 = −1. Finally, c n ¼ hS, c n i ¼ Ð þ1 À1 SðtÞC Ã n ðtÞ dt is called the inner product or dot product. The STFT of the continuous-time signal S(t) is realized as shown schematically in figure 3.

17In the time domain, the window function is used to cut off the signal S(t). The window is moved to the starting point of the signal, at which time the centre position of the window function is at t = t 0 , and the signal is windowed as

Fault classification with graph neural network based on one-shot learning

18A GNN is a graph domain information processing method based on deep learning. Because of their good performance and interpretability, GNNs have become widely used for graph analysis. Many important datasets exist in the form of graphs or networks, and if neural networks and graph analysis can be combined, then many problems will be solved. The most important components of a graph structure are the vertices and edges, which are represented as

19where G represents the graph structure, V represents the nodes and E represents the edges connecting the nodes.

20In the classification task, the small-sample data are divided into a support set and a query set, and as shown in figure 4, the GNN constructs a graph structure for classification. It establishes connections royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 10: 230706 between all the samples, with the edge labels assigned explicitly in the initialization stage (i.e. edge weight initialization) and then updated explicitly. Finally, the edge weights are used as the basis for classification to discriminate among the unknown samples, which is also a GNN. In terms of how this network differs from other networks, the general network updates the nodes, i.e. the features of the image for classification, and an edge has only one of two values, i.e. 0 or 1. The adjacency matrix is shared in each iteration of the model and is not updated, but the GNN finally uses the edge weights as the main classification basis, and only the initial value of the edge weight of 0.5 can be changed and updated [21]. Herein, each node represents an image, and the weight of each edge represents the relationship (distance or similarity) between two images. The weights are calculated specifically as where x k is received as the input of a GNN layer, and w = MLP is a symmetric function parametrized with (for example) a neural network. Herein, a stacked MLP is considered after the absolute difference between two vector nodes. The adjacency matrix is computed before every convolutional layer. The input is preprocessed data, and the fault data may include graph data, with each node representing graph data, followed by the corresponding weight calculation of the input data, and then the output of the model is sent through a multi-layer GNN to determine the fault category, which is shown in figure 5.

21As shown in figure 6, when the training starts, the dataset is divided into three parts, with each part input separately into the model; this differs from the general deep network that uses training and testing separately. During small-sample classification, most methods use all the samples at once to construct a graph structure, regardless of whether the labels are known or unknown, so from the perspective of sample utilization, this construction method can be used to a certain extent, but it often takes a long time to train [22].

22So, as mentioned before, OSL is used to provide only one or a few training samples; i.e. it needs only a small number of labelled samples for learning. Figure 7 shows the architecture of the proposed OSL model. In the training phase, the inputs are pairs of samples of either the same class or different classes, and the output is the probability of similarity between the inputs [23]. royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 10: 230706 5

Experimental verification

23To verify the effectiveness of the proposed method, experiments were carried out at Chongqing Technology and Business University. Figure 8 shows the experimental apparatus, which comprised a wind turbine, a fan, a data acquisition system, sensors and a workstation. The fan was used to simulate the wind in the natural environment, and the generated wind rotated the turbine blades to drive the rotation of the gears. The vibration signals of the vibration X and Y axes were each collected by an acceleration sensor and transmitted to the workstation through the high-speed data acquisition system.

24The vibration data were obtained from the sun gear in the gearbox, which had eight different conditions, i.e. (1) healthy, (2) light pitting, (3) medium pitting, (4) missing half tooth, (5) missing full tooth, (6) medium double pitting, (7) pitting + missing tooth, and (8) royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 10: 230706

25The loss and accuracy functions of the model are cross loss ¼ À X k t k log y k ð3:1Þ

26where y k is the output of the neural network and t k is the correct solution label. True positive (TP) means correct division into positive samples, true negative (TN) means correct division into negative samples, false positive (FP) means incorrect division into positive samples and false negative (FN) means incorrect division into negative samples. All raw data are converted into image data, as shown in figure 9. The output vibration signal is first subjected to STFT to convert the one-dimensional signal into two-dimensional data. The output data are then input into the CNN for feature extraction, and finally each image is processed into a 64dimensional feature vector. Finally, this is input to the neural network, using leaky ReLU as the activation function and using the cross entropy loss function as the loss metric, and its accuracy is calculated.

Main results

27In the experiments, 9600 samples were collected and preprocessed using STFT in Matlab to convert one-dimensional signals into two-dimensional images. To illustrate the signal of the fan in different states, figure 10 shows the collected vibration signals in eight states converted into two-dimensional data. For comparison, methods other than the proposed OSL image classification method were used to classify faults under the same dataset, with the proposed method found to be superior to a Siamese network, a matching network, and a prototypical network. These were chosen for comparison for the following reasons: Siamese networks are simple and effective and are used widely in computer science, face recognition, finance and other fields; a matching network combines an attention structure and a memory network to build a fast learning network; a prototypical network is an algorithm for semi-supervised learning and is an effective few-shot learning model with fewer parameters than traditional network models. Table 2 and figure 11 compare the accuracies of the different models, whose parameter values are given in table 3. All 9600 collected samples were given to the proposed model, and its highest accuracy was 94.7475% in the results of five runs. Meanwhile, the accuracies of the Siamese, matching and prototypical networks were only 89.35%, 85.36% and 80.63%, respectively, so the proposed method is the most accurate. royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 10: 230706

Conclusion

28Herein, a fault-diagnosis GNN model based on OSL was proposed for classifying the faults of windturbine gearboxes. In most cases, there is a lack of effective data from gearboxes for fault classification, but the proposed method can obtain a high-accuracy training model with small datasets. This method converts one-dimensional vibration signals into two-dimensional data by using STFT. After extracting feature vectors from the two-dimensional data, the method implements OSL.

29To verify the proposed method, an experimental rig was built to simulate the real working scenario of a wind turbine. With 10 000 iterations and a learning rate of 0.007, the classification accuracy of this proposed method can reach 94.75%. Finally, to further verify the effectiveness of the proposed method, it was compared with Siamese, matching and prototypical networks under the same number of iterations. The accuracies of those networks were only 89.35%, 85.36% and 80.63%, respectively, so the proposed method is the most accurate, which indicates its effectiveness. Figure 11. Comparison of model results. Despite the effectiveness of the proposed method, an issue remains to be addressed in future work. The experiment reported herein verified the applicability of the model only for wind turbines, and its effectiveness for other rotating equipment remains to be seen. In future work, we will incorporate transfer learning into the proposed method and apply it to various rotating equipment under different operating conditions in order to verify further its universality.

30Data accessibility. This article has no additional data. Authors' contributions. S.Y.: funding acquisition, supervision, writing-review and editing; Y.Z.: methodology, writingoriginal draft; X.C.: data curation, formal analysis; C.L.: software, validation; H.S.: data curation, writing-review and editing.

31All authors gave final approval for publication and agreed to be held accountable for the work performed therein.

참고문헌 16건

  1. Gradient-based learning applied to document recognition Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/5.726791
  2. One-shot learning of object categories IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2006 10.1109/tpami.2006.79
  3. Downwind offshore wind turbines: Opportunities, trends and technical challenges Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.10.096
  4. Dissolved gas analysis of insulating oil for power transformer fault diagnosis with deep belief network IEEE Transactions on Dielectrics and Electrical Insulation · Institute of Electrical and Electronics Engineers · 2017 10.1109/tdei.2017.006727
  5. Research on rolling bearing fault diagnosis based on multi-dimensional feature extraction and evidence fusion theory Royal Society Open Science · Royal Society · 2019 10.1098/rsos.181488
  6. Fault Diagnosis of Induction Motor Using Convolutional Neural Network Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9152950
  7. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2016.2644615
  8. TinyGNN: Learning Efficient Graph Neural Networks 2020 10.1145/3394486.3403236
  9. Radar-Based Face Recognition: One-Shot Learning Approach IEEE Sensors Journal · IEEE Sensors Council · 2020 10.1109/jsen.2020.3036465
  10. Fault diagnosis on the bearing of traction motor in high-speed trains based on deep learning Alexandria Engineering Journal · Elsevier BV · 2020 10.1016/j.aej.2020.10.044
  11. Mechanical Fault Diagnosis Methods Based on Convolutional Neural Network: a Review Journal of Physics Conference Series · IOP Publishing · 2021 10.1088/1742-6596/1750/1/012048
  12. Large volumetric optical-resolution photoacoustic microscopy with image fusion based on CNN feature extraction 2021 10.1117/12.2592123
  13. Robustness of convolutional neural networks to physiological electrocardiogram noise Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2021 10.1098/rsta.2020.0262
  14. Fault Detection of Wind Turbine Blades Using Multi-Channel CNN Sustainability · Multidisciplinary Digital Publishing Institute · 2022 10.3390/su14031781
  15. MergedNET: A simple approach for one-shot learning in siamese networks based on similarity layers Neurocomputing · Elsevier BV · 2022 10.1016/j.neucom.2022.08.070
  16. Machine Learning on Fault Diagnosis in Wind Turbines Fluids · Multidisciplinary Digital Publishing Institute · 2022 10.3390/fluids7120371