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

A Novel Method for Intelligent Fault Diagnosis of Bearing Based on Capsule Neural Network

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

기본 정보

저자
  1. Zhijian Wang — School of Mechanical Engineering, Xi'an Jiaotong University, Shanxi, 030619|||School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051
  2. Likang Zheng — School of Energy and Power Engineering, North University of China, Taiyuan, Shanxi, 030051
  3. Wenhua Du — School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051
  4. Wenan Cai — School of Mechanical Engineering, Jinzhong University, Jinzhong, Shanxi, 030600
  5. Jie Zhou — School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051
  6. Wang Jingtai — School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051
  7. Xiaofeng Han — School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051
  8. Gaofeng He — School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051
DOI
10.1155/2019/6943234
저널
Complexity
발행년도
2019
발행기관
Hindawi Publishing Corporation
피인용수
92
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1155/2019/6943234
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W2949062331

평가 내용

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

초록

In the era of big data, data‐driven methods mainly based on deep learning have been widely used in the field of intelligent fault diagnosis. Traditional neural networks tend to be more subjective when classifying fault time‐frequency graphs, such as pooling layer, and ignore the location relationship of features. The newly proposed neural network named capsules network takes into account the size and location of the image. Inspired by this, capsules network combined with the Xception module (XCN) is applied in intelligent fault diagnosis, so as to improve the classification accuracy of intelligent fault diagnosis. Firstly, the fault time‐frequency graphs are obtained by wavelet time‐frequency analysis. Then the time‐frequency graphs data which are adjusted the pixel size are input into XCN for training. In order to accelerate the learning rate, the parameters which have bigger change are punished by cost function in the process of training. After the operation of dynamic routing, the length of the capsule is used to classify the types of faults and get the classification of loss. Then the longest capsule is used to reconstruct fault time‐frequency graphs which are used to measure the reconstruction of loss. In order to determine the convergence condition, the three losses are combined through the weight coefficient. Finally, the proposed model and the traditional methods are, respectively, trained and tested under laboratory conditions and actual wind turbine gearbox conditions to verify the classification ability and reliable ability.

본문 71,464자

본문 펼치기
Hindawi Complexity Volume 2019, Article ID 6943234, 17 pages [https://doi.org/10.1155/2019/6943234](https://doi.org/10.1155/2019/6943234) # _Research Article_ A Novel Method for Intelligent Fault Diagnosis of Bearing Based on Capsule Neural Network Zhijian Wang , <sup>1,2</sup> Likang Zheng , <sup>3</sup> Wenhua Du , <sup>1</sup> Wenan Cai , <sup>4</sup> Jie Zhou , <sup>1</sup> Jingtai Wang , <sup>1</sup> Xiaofeng Han, <sup>1</sup> and Gaofeng He 1 _1_ _School of Mechanical Engineering, North University of China, Taiyuan, Shanxi, 030051, China_ _2School of Mechanical Engineering, Xi’an Jiaotong University, Shanxi, 030619, China_ _3School of Energy and Power Engineering, North University of China, Taiyuan, Shanxi, 030051, China_ _4School of Mechanical Engineering, Jinzhong University, Jinzhong, Shanxi, 030600, China_ Correspondence should be addressed to Wenhua Du; dwh@nuc.edu.cn and Wenan Cai; caiwenan0008@link.tyut.edu.cn Received 8 April 2019; Revised 17 May 2019; Accepted 3 June 2019; Published 20 June 2019 Academic Editor: Diego R. Amancio [Copyright © 2019 Zhijian Wang et al. This is an open access article distributed under the Creative Commons Attribution License,](https://creativecommons.org/licenses/by/4.0/) which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. In the era of big data, data-driven methods mainly based on deep learning have been widely used in the field of intelligent fault diagnosis. Traditional neural networks tend to be more subjective when classifying fault time-frequency graphs, such as pooling layer, and ignore the location relationship of features. The newly proposed neural network named capsules network takes into account the size and location of the image. Inspired by this, capsules network combined with the Xception module (XCN) is applied in intelligent fault diagnosis, so as to improve the classification accuracy of intelligent fault diagnosis. Firstly, the fault time-frequency graphs are obtained by wavelet time-frequency analysis. Then the time-frequency graphs data which are adjusted the pixel size are input into XCN for training. In order to accelerate the learning rate, the parameters which have bigger change are punished by cost function in the process of training. After the operation of dynamic routing, the length of the capsule is used to classify the types of faults and get the classification of loss. Then the longest capsule is used to reconstruct fault time-frequency graphs which are used to measure the reconstruction of loss. In order to determine the convergence condition, the three losses are combined through the weight coefficient. Finally, the proposed model and the traditional methods are, respectively, trained and tested under laboratory conditions and actual wind turbine gearbox conditions to verify the classification ability and reliable ability. 1. Introduction The rolling bearing is the most commonly used part in mechanical equipment. In the working process, the bearing may be damaged due to improper assembly, poor lubrication, water, and foreign body invasion, corrosion, overload, etc. [1]. Due to the processing technology, working environment, and other reasons, the fault signal is nonlinear and nonstationary, which makes the dynamic mutation of the fault signal unable to be detected effectively. So, it is difficult to identify the fault type of bearing accurately and stably. Compared with other machine parts, the rolling bearing works badly, which causes the probability of failure to be high and the unpredictability strong. Therefore, the fault diagnosis of rolling bearings is of great significance to ensure the safety of equipment, personal property, and maintenance cost [2]. In recent years, methods based on signal processing [3] or deep learning [4, 5] are widely used to solve practical engineering problems [6–9]. Moreover, in the field of compound fault diagnosis of rotating machinery, with the continuous exploration of many researchers, novel intelligent fault diagnosis methods emerge in an endless flow. For example, the methods based on the entropy [10, 11] of signal processing include maximum kurtosis spectral entropy deconvolution (MKSED) [12], multipoint optimal minimum entropy deconvolution adjusted (MOMEDA) [13], modified multiscale symbolic dynamic entropy (MMSDE) [14], and minimum entropy deconvolution [15]. In addition, there are other ways, such as improved ensemble local mean decomposition (IELMD) [16, 17], kernel regression residual [18], and modified variable modal decomposition (MVMD) [19, 20]. Methods based on big data and machine learning or 2 Complexity deep learning include support vector machine (SVM) [21, 22], extreme learning machine (ELM) [23], kernel extreme learning machine (KELM) [24], deep belief network (DBN) [25], and convolutional neural network (CNN) [26, 27]. In general, these methods can solve most classification problems well. But for composite fault diagnosis, their fault test accuracy rate is not too high. Moreover, this kind of algorithm always fails when there is not enough data to meet the convergence condition or causes overfitting phenomenon, which will lead to low test accuracy [28]. For example, the traditional convolution neural network requires a lot of training samples to meet the convergence condition. Moreover, people may subjectively reduce the dimension of filter [29] on the pooling of convolution neural network layer, which can result in a substantial loss on the pooling layer information and even causes a phenomenon that the input has a small change but the output is hardly changed. However, as for time-frequency graphs, a very small change may be the different type of bearing fault type or the large change of fault size. To summarize, the traditional convolutional neural network is difficult to achieve a high fault test accuracy. Based on these disadvantages of traditional convolutional neural network, the capsule neural network (CapsNet) architecture was proposed by Hinton and his assistants in November 2017 [30], which can retain the exact position, inclination, size, and other parameters of the feature in the time-frequency graphs when training the deep learning method, so as to make the slight changes in the input also bring about slight changes in the output. In the famous handwritten digital image data set (Minst), CapsNet has reached the most advanced performance of the current deep learning algorithms. CapsNeth architecture is made up of capsules rather than neurons. A capsule is a small group of neurons that can learn to examine a particular object in an area of an image. Its output is a vector, the length of each vector represents the estimated probability of the existence of the feature, and its direction records the object of attitude parameters, such as accurate position, inclination, and size. If the feature changes slightly, the capsule will output a vector with the same length but slightly different direction, which is helpful to improve the test accuracy of bearing fault diagnosis. The input of the deep learning algorithm in the fault diagnosis is fault time-frequency graphs and the two common time-frequency analysis methods are short-time Fourier time-frequency analysis and wavelet time-frequency analysis. Short-time Fourier transform (STFT) used to play a dominant role in the field of signals and is an indispensable analysis method [31]. However, due to its own limitations, it is unable to deal with the nonstationary signals in real life, and there is a contradiction between noise suppression and signal protection in the process of signal denoising. After the idea of wavelet transform, the wavelet transform replaces the position of Fourier transform in signal processing. Firstly, wavelet has very good time-frequency characteristics and can decompose many different frequency signals in nonstationary signals into nonoverlapping frequency bands, which can solve the problems encountered in signal filtering, signal-noise separation, and feature extraction well [32]. Secondly, due to the time-frequency characteristic of localization, the choice of wavelet basis is flexible and the calculation speed is very fast, which makes wavelet transform a powerful tool for signal denoising. Wavelet denoising can effectively remove noise and retain the original signal, thus improving the signal-tonoise ratio of the signal. Therefore, the continuous wavelet transform can effectively separate the effective part of the signal from the noise, greatly improve the feature extraction performance of fault diagnosis [33], and finally improve the fault recognition rate. In addition, improving the network structure can improve the learning ability and reliable ability of the neural network. For example, using the Inception of modules and convolution in GoogLeNet can help neural network in different areas to capture more target-oriented characteristic, accelerate the calculation speed, and increase the depth of the neural network [34, 35]. Besides, Xception module is the extreme version of Inception [36]; Xception module completely decoupled across the channel correlation and spatial correlation and has achieved the classification accuracy of 94.5% in the classification of ImageNet database [37]. In terms of the convergence condition of the deep learning algorithm, most of them only consider the classification loss as the only index of convergence and do not consider the influence on the model when the parameters change a lot or the reconstruction loss, which may make the model difficult to converge or require a lot of time to converge [38]. However, most samples are collected under ideal working conditions in the laboratory, which may lead to the contingency when verifying the feasibility of the deep learning method. In other words, this deep learning method can only diagnose the gearbox under the specific working conditions [39, 40], which means that the reliably is very poor. Based on the above, a novel intelligent fault diagnosis method of capsules network combined with the Xception module was proposed and the weight coefficient of loss was taken into account, in order to improve the convergence speed of the neural network classification, robustness, and learning ability. In order to verify XCN model of classification ability and reliable ability, the ideal laboratory condition of samples and the actual work condition of samples were chosen to train and test, respectively, and compare with other deep learning methods. 2. The Basic Theory of the Model _2.1._ _Wavelet_ _Transform_ _and_ _Time-Frequency_ _Transform._ Compared with the short-time Fourier transform (STFT) method, the wavelet basis of continuous wavelet transform is no longer a trig function of infinite length, but a wavelet basis function of finite length that will decay. The wavelet basis can be stretched, which solves the problem that the time resolution and the frequency resolution cannot be both [41], so it can better and effectively extract the effective information in the bearing fault time domain signal. Assuming the function ?(?) ∈? <sup>2</sup> (?), its Fourier transform ?(?) satisfies the condition Complexity 3 ∞ ?? = ∫ 0 ?????(?)???? 2 ??< ∞ (1) ? where the function ?(?) is called the parent wavelet or wavelet basis. After scaling and shifting the parent wavelet, a wavelet function cluster can be generated, whose expression is as follows: <sup>1</sup> √? <sup>?(?−?</sup> ? ??,? (?) = √? <sup>1</sup> ? <sup>)</sup> (2) The output of the capsule is a vector, the length of each vector represents the estimated probability of the existence of the object, and its direction records the object of attitude parameters. If the object changes slightly, the capsule will also output a vector with the same length but slightly different direction. So, the capsules are isotropic. For example, if the capsule neural network outputs an eight-dimensional capsule, its vector length represents the estimated probability of the existence of the object, and its direction in the eightdimensional space represents its various parameters, such as the exact position of the object or the number of rotation angles. Then, when the object rotates by a certain angle or moves by a certain distance, it only changes the direction of the output vector, not its length, so it has little effect on the recognition rate of capsule neural network. Moreover, this phenomenon is not found in traditional neural networks, such as convolutional neural networks. Convolution neural network, such as the traditional neural network, mostly through pooling mechanisms which choose the maximum value of the region or in a fixed area average, extracts main features to next layers, which makes the neural network of subjectivity much bigger. Therefore, the pooling operation may reduce the recognition rate of the neural network greatly. The capsule neural network proposed a very significant mechanism called the dynamic routing mechanism. In the capsule neural network, the output of the capsule is set as a vector, which makes it possible to use a powerful dynamic routing mechanism to ensure that the output of the capsule is sent to the appropriate parent node in the above layer. Initially, the output is routed to all possible parent nodes after the coupling sum is reduced by a factor of 1. For each possible parent node, the capsule calculates the prediction vector by multiplying its own output by a weight matrix. If the scalar product of this prediction vector and the output of a possible parent node are larger than others, there is top-down feedback, which has the effect of increasing the coupling coefficient of this parent node and reducing the coupling coefficient of other parent nodes. This increases the contribution of the capsule to that parent node and further increases the scalar product of the capsule prediction vector and the output of that parent node. So, this operation is more efficient than the primitive form of routing implemented through pooling, where all feature detectors in the next layer are ignored, except for the most active feature detectors in the local layer. In Hinton's paper, he demonstrated that [30]. Then, he imported the images in Minst into the capsule neural network with dynamic routing and the convolution neural network with pooling, respectively, finally finding the capsule neural network in the digital recognition accuracy compared to convolution neural network, and capsule neural network is significantly higher than the convolutional neural network on the highly overlapping digital image recognition. So dynamic routing mechanism is a very effective way. Take a three-layer capsule neural network architecture for identifying digital images in Minst, which is shown in Figure 1. The architecture can be simply represented as consisting of only two convolutional layers and one fully connected layer. Conv1 is activated by 256, 9×9 convolution kernels, stride 1, and ReLU function. The layer converted the where ? is the scale factor and ? is the translation factor. The scale factor ? is used to scale the wavelet basis, while the scale factor ? is used to change the position of the window on the time axis. The continuous wavelet transform of the signal ?(?) is defined as ???(?, ?) = <sup>1</sup> ∞ <sup>1</sup> √? <sup>∫</sup> −∞ ?(?) ?( <sup>?−?</sup> (3) ? <sup>) ??</sup> However, most of the fault signals of the rolling bearings are impulse fault signals, whose time-domain waveform is damped and freely attenuated vibration, while the timedomain waveform feature of Morlet wavelet is vibration attenuation from the central position to both sides. And their signals are similar [42, 43]. Therefore, the Morlet of continuous wavelet transform is selected as a wavelet basis, and its function is as follows: ?(?) = ? <sup>−?2/2</sup> ? <sup>??0?</sup> (4) After determining the wavelet base and scale, the actual frequency sequence ? is combined with the time series to draw the wavelet time-frequency graphs. _2.2. The Principle of Capsule Network._ Capsule network is a novel type of neural network proposed by Hinton and his assistant in October 2017, which uses the module length of the activation vector of the capsule to describe the probability of the existence of the feature, and uses the direction of the activation vector of the capsule to represent the parameters of the corresponding instance [30]. Unlike previous neural networks which are composed of nerve neurons, capsule neural networks are composed of many capsules with specific meanings and directions. Activation of neuronal activity within the capsule represents various properties of a specific feature presented in the image. These properties can include many different types of instantiation parameters, such as posture (position, size, and direction), deformation, velocity, reflectivity, tone, and texture. At the network level, the capsule neural network is composed of many layers. The lowest level capsules are called vector capsules, and they use only a small portion of the image as input, respectively. The small area is called the perceptual domain and it attempted to detect whether a particular pattern exists and how it is posed. At higher levels, capsules called routing capsules are used to detect larger and more complex objects. 4 Complexity <u><mark>DigitCaps</mark></u> Primary Caps 6 L 2 10 10 9×9 ReLU Conv1 9×9 20 WCD = [8 × 16] 16 Figure 1: Three-layer capsule neural network. Concat 1×1 Convolution 3×3 Convolution 5×5 Convolution 3×3 Convolution Input Figure 2: Inception module. pixel intensity into a matrix. Then, the matrix is used as the activated part of the local feature detector input by the basic capsule. The length of the activation vector for each capsule in the DigitCaps layer represents the probability of the specific object and is used to calculate the classification loss. ??? is a weight matrix for each input in the Primary Capsule, and ‖? 2‖ is the length of the longest capsule. _2.3._ _Xception_ _Module._ In order to obtain a deeper feature graph, the traditional neural network tends to increase the number of layers of convolution, which will bring too many parameters and make it difficult to train. More importantly, it increases the time and space consumption. Moreover, the convolution kernel of the same layer in the traditional convolutional neural network is single, but the correlation between different channels in the time-frequency graphs is not very much, which requires the use of different convolution kernel for different channels. To solve these problems, Inception provides a different way to extract deeper feature maps. By using convolution kernels of different sizes in the same layer, different sizes of sensing fields can be obtained to improve the classification effect. Its architecture is shown in Figure 2. An input feature graph is processed by the convolution kernel of 1×1, 3×3, and 5×5 at the same time, and the obtained features are combined, which can extract many kinds of features and obtain better results. However, there is a serious problem with this structure that the number of parameters is much larger than that of using a single convolution kernel, and such a huge amount of calculation will make the model inefficient. This was inspired by the 1×1 convolution kernel in the Network. In Network, 1×1 convolution kernel is added to Inception. Its architecture is shown in Figure 3. To take an example which is shown in Figure 4, assuming that the dimension of the input feature graph is 256, the output dimension is also 256. There are two operations. The first is that the 256-dimensional input goes through a convolution layer of 3×3×256 directly. And the output is a 256-dimensional feature graph, so the number of parameters is 256×3×3×256=589824. The second is that firstly the 256-dimensional input passes through a convolution layer of 1×1×64, then through a convolution layer of 3×3×64, and finally through a convolution layer of 1×1×256. The output dimension is 256, but the number of parameters is 256×1×1×64+64×3× 3×64+64×1×1×256=69632. That reduces the number of parameters for the first operation to one in nine. For convolution, the convolution kernel can be viewed as a three-dimensional filter: channel dimension and spatial dimension (width and height of the feature graph). The conventional convolution operation is actually the joint mapping of channel correlation and spatial correlation. Inception module is based on the assumption that the channel correlation and spatial correlation between the channels in the convolutional layer can be decoupled. So, mapping the channel correlation and spatial correlation can get better results separately. Complexity 5 Concat 5×5 Convolution 1×1 Convolution 3×3 Convolution 1×1 Convolution 1×1 Convolution 3×3 Convolution 1×1 Convolution Input First process Second Process Figure 3: Inception module with 1×1 convolution. Input Output 1×1×64 3×3×64 1×1×256 256 dim 256 dim Input Output 3×3×256 256 dim 256dim Figure 4: Comparison of the convolution process with and without 1×1 convolution. Based on the Inception hypothesis, it can be found that when the number of channels increases, it is more reasonable to assume that cross-channel correlation and spatial correlation mapping are completely separated. Based on the above findings and assumptions, the Xception module was proposed. Firstly, it uses 1x1 convolution map to map cross-channel correlation, and then there is an independent spatial convolution on each output channel of 1×1 convolution to map spatial correlation. The channel correlation convolution of 1×1 is carried out, and the number of convolution kernels with different types of subsequent convolving is the same as the number of output channels of 1×1 convolution. Various feature maps are output during the whole Xcepiton module process, and each output can be represented by the following function: ? <sup>?</sup> ? <sup>?</sup> ? <sup>= ?(??</sup> ? <sup>?</sup> ? <sup>)</sup> (5) ? <sup>?</sup> ? ? <sup>?−1</sup> ? ?? <sup>?</sup> <sup>+ ?</sup> ? <sup>?</sup> ? <sup>?</sup> (6) <sup>?</sup> ? <sup>= ∑</sup> <sup>?−1</sup> ? × ??? <sup>?</sup> ? <sup>?</sup> = ? <sup>?</sup> ? <sup>?−1</sup> + ? <sup>?</sup> (8) And the gradient descent method is used to reduce the error of the whole process; its function is as follows: ∇?(? <sup>?</sup> ) = <sup>??</sup> (9) ?? <sup>?</sup> where ∇?(? <sup>?</sup> ) is the error ?(? <sup>?</sup> ) with the changing of ? <sup>?</sup> . Although the architecture of the Xception module is basically the same as Inception, the improvement of Xception module performance is not due to the increase of model capacity but due to the more efficient use of model parameters. Because the parts of the image with a long distance do not matter much, different convolution kernels are adopted in the Xception module. Inspired by convolution decomposition, it is used for different convolution kernels. For example, the 7×7 convolution kernels are decomposed into two onedimensional convolution kernels 1×7 and 7×1. And the 3×3 convolution kernel is same for two one-dimensional convolution kernels 1×3 and 3×1. Such operation can not only accelerate the calculation but also further increase the network depth, which is helpful to improve the learning ability of the neural network. This is because what is useful is the homology of the information, not the invariance, and the sorting of the information rather than the discarding of the information. In addition, it also routes every part of the input into neurons that know how to process it, which means finding the best path. However, pooling operation determined by human factors performs poorly in handling dynamic routing, so it is not good for the establishment of neural network. ? where ? <sup>?</sup> ? <sup>is</sup> <sup>the</sup> <sup>output</sup> <sup>of</sup> <sup>the</sup> <sup>convolution</sup> <sup>channel</sup> <sup>?</sup> <sup>of</sup> <sup>the</sup> convolution layer ?, ? <sup>?</sup> ? <sup>is the net activation of the convolution</sup> channel ? of the convolution layer ?, ??? <sup>?</sup> <sup>is</sup> <sup>the</sup> <sup>weight</sup> coefficients between the layer ? and the layer ?, and ?? <sup>?</sup> <sup>is the</sup> threshold offset term of the channel ? of the convolution layer ?. Then, all outputs are connected together through a full connection operation; its function is as follows: ? <sup>?</sup> = ?(? <sup>?</sup> ) (7) 6 Complexity <mark>Concat</mark> 5×1 Convolution 1×5 Convolution <mark>Output Channel</mark> 1×1 Convolution <mark>Input</mark> 7×1 Convolution 1×7 Convolution 3×1 Convolution 1×3 Convolution 1×1 Convolution 3×1 Convolution 1×3 Convolution Figure 5: Xception module. Building an improved Xcepiton module without pooling layer is shown in Figure 5. 3. Establishment of a Novel Capsule Neural Network with Xception Module (XCN) ??? = exp (???) ∑? exp (???) (12) ?∧?|? = ????? (13) _3.1._ _Input_ _and_ _Dynamic Routing_ _of_ _Capsule Neural_ _Network._ When the time-frequency graphs of bearing fault are recognized by the capsule neural network, the selection of the structure parameters of the capsule neural network has a significant influence on the recognition results. Therefore, only when the appropriate parameters are selected can the classification and recognition performance of the capsule neural network for bearing faults be truly reflected. The input of the capsule neural network is time-frequency graphs whose size can be chosen as a variety of sizes. In this paper, for the sake of simplicity, the pixel size of all time-frequency graphs was chosen as 256×256. Then, multiple normal timefrequency graphs and failure time-frequency graphs were imported into the XCN model. The length of the output vector of the capsule was used to represent the probability that the entity represented by the capsule exists in the current input. In addition, a nonlinear squashing function was used to ensure that the short vector is compressed to nearly 0 and the long vector is compressed to slightly less than 1: ?????????? ??????????2 ?????????? ?????????? 2 ?? 2 ????? ???????????? ?????????? V? = 1 + <sup>??</sup> ??????????????? ????? ???????????? where ??? is the coupling coefficient determined by the iterative dynamic routing process. The sum of coupling coefficients between the capsule ? and all capsules in the higher layer is 1, which is determined by routing softmax. The initial logic ??? of routing softmax is the logarithmic prior probability; that is, the capsule ? should be coupled with the capsule ?. The logarithmic prior probability of the same time can be used as the discriminant learning of all other weights. They depend on the location and type of the two capsules, not on the current input image. Then, the initial coupling coefficient achieves iterative refinement by measuring the consistency between the current output V ? of each capsule ? in the higher layer and the predicted ??|? of the capsule ?. Consistency is the index dot product ???= V ?× ??|?. This consistency is considered to be a logarithmic likelihood ratio and is added to the initial logic ??? before new values are calculated for all coupling coefficients between capsule ? and higher level capsules. In the convolutional capsule layers, each capsule outputs a vector local network to each type of capsule in the higher layer and uses a different transformation matrix for each part of the network and each type of capsule. This operation, which Hinton calls dynamic routing between capsules, is used in the propagation of Primary caps layer to Digital caps layer. Figure 6 shows the dynamic routing mechanism. Details of dynamic routing algorithm are shown in Procedure 1. _3.2._ _Output_ _Vector_ _Processing_ _Method._ The time-frequency graphs are imported into the XCN model. Finally, capsule vectors with many different meanings are obtained. The modules of all capsule vectors are calculated and the corresponding fault type of the capsule vector with the maximum module value is obtained. (10) where V? is the vector output of the capsule ? and ?? is its total input. In addition to the first layer of the capsule body, the total input ?? of the capsule is a weighted sum of the prediction vector ??|? of all the capsules from the next layer, which is generated by multiplying the output ?? of the following layer of capsules by the weight matrix ???. ?? = ∑ ? ????∧?|? (11) Complexity 7 (1) procedure Routing (?∧?|?, _r_, _l_ ) (2) for all capsule _i_ in layer _l_ and capsule _j_ in layer( _l_ +1): ?ij ←?0 (3) for _r_ iterations do (4) for all capsule _i_ in layer _l_ : ?i ←????????(??) ∧ (5) for all capsule _j_ in layer( _l_ +1): ?? ←?∑? ??? ??|? (1) procedure Routing ( ∧ (5) for all capsule _j_ in layer( _l_ +1): ?? ←?∑? ??? ??|? (6) for all capsule _j_ in layer( _l_ +1): V? ←??????ℎ(??) (7) for all capsule _i_ in layer _l_ and capsule _j_ in layer( _l_ +1): ?ij ←??ij + ?∧?|?.V? return V? (7) for all capsule _i_ in layer _l_ and capsule _j_ in layer( _l_ +1): ?ij ←??ij + Capsule i Capsule j Previous layers Upper layers Procedure 1: Routing algorithm. distributions by describing the distance between them. The method of capsule neural network to solve the multiclassification problem is to set output capsules ?, where ? is the number of categories, and each capsule represents a different category. For each sample, an n-dimensional array formed of the length of each output capsule can be obtained by the capsule neural network. Each dimension in the array corresponds to a category. Ideally, if a sample belongs to the category ?, the output value of the output node corresponding to that category should be 1, while the output value of all other nodes should be 0. Figure 6: Dynamic routing mechanism. In order to know the fault identification rate of XCN model intuitively, the specific capsules are generated fault time-frequency graphs through reconstruction. In the process of training, all the vectors in the Digital Caps layer except the correct capsule vector are shielded; that is, only the correct capsule is kept and the other capsules are set to zero. Then, the Digital Caps layer is used to reconstruct the input graph. The output of the digital capsule is fed into a decoder composed of three inverse routing iterations which are formed of the full connection layer, and the linear unit activation function is added in each layer of the full connection layer to ensure that the feature graph of the output of each layer is positive. Then, the original fault time-frequency graph and the reconstructed fault time-frequency graph are fused into a 256×256 target graph. The reconstructed flow chart is shown in Figure 7. In order to measure the difference between reconstructed graph and truth graph in texture details and structure and minimize the loss of texture details and structure information of reconstructed graph, in this paper, the reconstruction loss function of XCN model uses ? 2 norm to measure the distance between reconstructed graph and truth graph. The formula is Take an example of identifying handwritten Numbers in Minst, which fall into 10 categories, from 0 to 9. When the number 1 is recognized, the closer the output 10-dimensional array of the capsule neural network [0, 1, 0, 0, 0, 0, 0, 0, 0], the better. The ideal probability distribution on handwritten number classification is defined as ?(?) and the probability distribution of the output of the capsule neural network as ?(?). Then the cross entropy of this sample classification is ?(?, ?) = −∑?(?) × log10 ?(?) (15) The cross entropy represents the uncertainty of the random variable or the whole system. The higher the entropy is, the greater the uncertainty of the random variable or the whole system will be. However, cross entropy describes the distance between two probability distributions. While the output length of the capsule neural network is not necessarily a probability distribution nor is necessarily between 0 and 1, softmax regression is a very useful way to transform the results of the forward propagation of the capsule neural network into a probability distribution. Assuming the output of the neural network is ?1, ?2, ?3, ⋅⋅⋅, ??, the output after softmax regression processing is ∑ <sup>?</sup> (16) <sup>?</sup> ?=1 <sup>???</sup> <sup>?(?(?) −?)</sup> = <sup>‖?(?) −?‖2</sup> ? ? ?? = <sup>?(?(?) −?)</sup> ? ???????(?)? = ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> <sup>=</sup> ∑ <sup>?</sup> (14) where ? represents the input original graph, ?(?) represents the reconstructed graph, and ?? represents the reconstruction loss. _3.3._ _Adjustment_ _of_ _Capsule_ _Neural_ _Network._ Cross entropy measures the difference information between two probability Softmax transformed the output of the capsule neural network into a probability distribution. In this way, the output of the capsule neural network is also turned into a probability distribution, and the distance between the predicted probability distribution and the actual answer probability distribution can be calculated by cross entropy. 8 Complexity <mark>DigitCaps</mark> ReLu ReLu Sofmax 9×9 9×9 16 Figure 7: Reconstruction mechanism. Then the cross entropy loss function of the capsule neural network is ?(?, ?) = − ? ∑ ? ?(??) × log10 ?? (17) where ?? is its correct output, ?(??) is its probability, and ?? is the actual probability. In the neural network, the minimal fluctuation of some parameters of weights will often lead to the change of the value of the loss function, which will lead to the overfitting of the model or the long convergence time, which will affect the prediction performance. In order to improve this phenomenon, the ? 2 norm is introduced as the punishment for the parameters whose weight changes greatly each time the structure of the capsule neural network is adjusted. ? 2norm refers to the sum of squares of the weight of ownership divided by the number of samples. The expression is as follows: ? ‖?‖2 = <sup>√</sup> ∑ ?=1 ? ∑ ?=1 ? <sup>2</sup> ?? <sup>2</sup> (18) of classification. Therefore, the weight coefficient ? must be set a series of values, and then test its performance and adjust through experiments. Similarly, the selection of the weight coefficient ? also needs to go through the appropriate selection. The flowchart of XCN model is shown in Figure 8. _3.4._ _Feasibility_ _Discussion_ _of_ _XCN_ _Model._ When the XCN model is used to identify bearing fault signals, the timedomain signals collected by the sensor need to be converted into time-frequency graphs. In the process of fault timefrequency graphs processing, the signal noise reduction and feature extraction are carried out firstly. And then the timefrequency graphs with pixel adjustment are taken as the input of the capsule neural network. In this paper, a capsule neural network was established with a convolutional layer, a dynamic routing layer, a full connection layer, and a reconstructed decoder. In order to improve the depth and dimension of the neural network, the Xception module was added to the neural network to improve the fault classification accuracy. When using XCN model to identify time-frequency graphs, different parameter settings have a great impact on the identification results of the capsule neural network, including the number of iterations, batch size, size and number of convolution kernels, the number of layers of Xception module, the selection of convolution parameters, and the weight coefficient. In order to discuss the feasibility of the XCN model, the bearing failure data set provided by Case Western Reserve University was used to train and test the XCN model. Figure 9 shows the experimental station of Case Western Reserve University. All the algorithm program code was written in and run on a computer with CPU i7-4790K@4.00GHz, RAM 16.00G, GPU Nvidia Geforce GTX960, and operating system Win7. The experiment was carried out with a 2 HP motor and fan end bearing data was all collected at 12,000 samples per second, and the acceleration data were measured near and away from the motor bearing. In this data set, all the data are from the bearings damaged by the test bench. In other words, the load of each bearing is the same (in this paper, test bearing data under no-load condition was selected), but the health condition of the bearing is different. For the acquisition of faulty bearings, three different kinds of damage were caused to the outer ring, inner ring, or balls of the bearing by electrical discharge machining and their failure diameter was selected for a class of test bearing data sets of where ??? is the weight of the parameter ? in the layer ?. Then, combine the loss function, penalty function of the XCN model, and the reconstruction loss in the reconstruction through the regularization term coefficient ? and ?, so that when the gradient of the adjustment function ? reaches the minimum value, it can be considered that the capsule neural network has been convergent. The expression of the adjustment function ? of the capsule neural network is as follows: ?= ?(?, ?) + ?‖?‖ <sup>2</sup> 2 <sup>+ ??</sup> ? (19) where ? is the adjustment function of the capsule neural network, ?(?, ?) is the loss function, ? and ? are the weight coefficients, ‖?‖ <sup>2</sup> 2 <sup>is the square of the penalty function, and ?</sup> ? is the reconstruction loss. In order to ensure the accuracy of the classification and avoid over-fitting during training, ? and ? should be appropriately selected. For example, the size of ?(?, ?) and ‖?‖ <sup>2</sup> 2 <sup>is between</sup> <sup>0 and</sup> <sup>1. If the</sup> <sup>loss function</sup> <sup>is set</sup> <sup>in a large</sup> proportion, it will lead to the nonconvergence of the training process of the capsule neural network. If the penalty function is set in a large proportion, it will lead to the low accuracy Complexity 9 Data acquisition Rolling bearing test 8 6 4 2 0 −2 −4 6 5 4 3 2 1 Training XCN 5 4 3 2 1 Increase the number of training samples −60 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0 0.05 0.1 0.15 0.2 Map to the convolution layer Map to Xception calculation Dynamic routing & fully connecting Classification & reconstruction Calculate the adjustment function gradient Input sample completed Y Meet the iteration termination condition Y Testng XCN 6 5 4 3 2 1 Fetch initial data 5 4 3 2 1 N 0 0 0.05 0.1 0.15 0.2 Time-frequency transformation XCN afer training N Intelligent fault diagnosis Test sample Fault diagnosis Result & analysis Figure 8: Intelligent fault diagnosis flow chart based on XCN. 0.007 inches. Therefore, there are 4 types of time-frequency graphs of bearings, including the healthy bearings. In view of the rich information contained in the timefrequency graphs and the fact that the input of the capsule neural network must be a two-dimensional matrix, when studying the fault identification performance of the XCN model, time-frequency conversion processing of timedomain signals is required firstly. In this paper, the timefrequency conversion method is chosen as the continuous wavelet transform, and the wavelet basis is the Morlet wavelet. One sample of four different types in the data set is taken out for continuous wavelet transform, respectively, and the results are shown in Figure 10. In order to reduce the influence of noise, the zero mean normalization method was adopted, which not only ensures the distribution of the original signal but also eliminates the influence of dimension and converts the data into the same distribution. The formula is as follows: ? <sup>∗</sup> = <sup>?−?</sup> (20) ? 10 Complexity Figure 9: Experimental station of Case Western Reserve University. where ? is the input, ? <sup>∗</sup> is the output of the time-frequency graph, and ? and ? are the mean and variance of ?, respectively. The input time-frequency graphs pixel size of bearing failure was selected as 256×256. The selection of capsule vector should be carried out first when the time-frequency graphs with appropriate pixel adjustment are imported into the capsule neural network for training. In this paper, the tonal distribution of time-frequency graphs and its change speed and direction are selected to transform the characteristics. Eighty percent of the samples from bearing data set provided by Case Western Reserve University were randomly selected for training to select parameters, and twenty percent of the samples were tested to verify the reliability of the selected parameters. _(1)_ _Selection_ _of_ _Batch_ _Size_ . Batch size refers to the process of training the neural network, in which a certain number of samples are randomly selected for batch training each time. Then the parameters of weight are adjusted once until all training samples are input. This process is called the completion of an iteration. If a larger batch size value is selected, the memory utilization can be improved through parallelization, so as to improve the running speed. In other words, the convergence speed will be faster, but the times of adjusting the weight will be less, thus reducing the classification accuracy. While choosing a smaller batch size can improve classification accuracy, it will lead to longer computing time. Therefore, in the case of limited memory capacity, when selecting the batch size, the requirements of classification accuracy and computing time should be weighed to ensure that the time cost can be reduced as much as possible under the premise of sufficient classification accuracy. The selection principle of batch size number must first meet the requirement that the number of training samples can be divided. Therefore, the selected batch sizes are 2, 4, 5, 8, 10, 20, 25, 30, and 50, respectively. When discussing the influence of batch size on classification results, in order to simplify the complexity of the discussion, the preliminary assumption of the number of iterations is 10, the preliminary assumption of the convolution kernel is 3×3, 5×5, and 7×7 whose number is 1, respectively, and the weight coefficient is 0.4 and 0.6, respectively. The experiment was repeated for ten times, and the average value of the classification results of ten times was taken as the final classification accuracy. Then the relationship between the classification accuracy and batch size was shown in Figure 11. As can be seen from Figure 11, when the batch size is within 10, the change of the batch size has little influence on the classification accuracy, while when the batch size is larger than 10, the classification accuracy obviously decreases with the increase of the batch size. As a result, the total sample batch size must meet the first condition that it can be divided exactly by the training sample in certain cases. Secondly, choosing the smaller batch size can increase the recognition rate of fault, which contributes to the failure of judgment. Such as the trial, when the batch size is selected as 5, 8, 10, or 20, the classification accuracy is the highest. Combined with the time cost factor, the batch size was selected as 20. _(2)_ Selection of Iteration Times. In essence, iteration is a process of continuous approximation and fitting. If the number of iterations is too small, the fitting effect will be not ideal. When the number of iterations increases to a certain degree, the fitting error will no longer decrease, but the time cost will increase with the increase of the number of iterations. Therefore, it is necessary to select an appropriate number of iterations, which can achieve a relatively low time cost under the condition of satisfying a certain recognition rate. When discussing the influence of iteration times on classification results, in order to simplify the complexity of discussion, the batch size is selected as 20 according to the previous section, the convolution kernel is preliminarily assumed to be 3×3, 5×5, and 7×7 whose number is 1, respectively, and the weight coefficients are 0.4 and 0.6, respectively. The experiment was repeated for five times, and the average of the five classification results was taken as the final classification accuracy. And the relationship between the classification accuracy and the number of iterations is shown in Figure 12. As can be seen from Figure 12, with the increase of iteration times, the classification accuracy increases gradually. When the number of iterations reached 6, the classification accuracy was more than 96%; when the number of iterations was more than 10, the classification accuracy was more than 98.5%; and with the increase of the number of iterations, the classification accuracy tended to be stable. Therefore, under the conditions of the number of samples and the size of graphs in this paper, the selection of 10 iterations can not only meet the requirements of high classification accuracy, but also reduce the time cost. _(3) Selection of the_ _Size and Quantity of Convolution Kernel_ . The larger the size of the convolution kernel is, the larger the representable feature space of the network will be and the stronger the learning ability will be. However, there will be more parameters to be trained and the calculation will be more complex, which will lead to the phenomenon of overfitting easily. Meanwhile, the training time will be greatly increased. 1×1 convolution can increase across the channel correlation to improve the utilization rate of XCN model parameters, which can be used in the Xception module but does not make sense in the feature extraction. As the size of an even number of convolution kernels even symmetrically for zero padding operations, there is no guarantee that the input graph size and output characteristics graph size remain Complexity 11 700 600 500 400 300 200 100 700 600 500 400 300 200 100 0 5 10 15 20 Time t (s) (a) Inner ring fault 0 5 10 15 20 Time t (s) (c) Ball fault 5 10 15 20 Time t (s) (b) Outer ring fault 0 5 10 15 20 Time t (s) (d) Health 700 600 500 400 300 200 100 700 600 500 400 300 200 100 Figure 10: Signal time-frequency graphs of the experimental station of Case Western Reserve University. Relationship between classification accuracy and batch size 97 96 95 94 93 92 91 90 89 2 4 5 8 10 20 25 30 50 Batch size Figure 11: Relationship between classification accuracy and batch size. 12 Complexity 100 80 60 40 20 Relationship between classification accuracy and iteration times 0 0 5 10 15 20 Iteration times Figure 12: Relationship between classification accuracy and iteration times. the same. In order to ensure that the size of the input and output characteristics graph is changeless, the convolution kernel size is chosen as the positive odd except 1. In the case of reaching the same receptive field, the smaller the size of the convolution kernel, the faster the operation. To simplify the complexity of the discussion, the maximum convolution kernel is selected as 9×9, the number of different convolution kernels is selected as 3, and the number of a single convolution kernels is no more than 2. The size and number of convolution kernels of each convolution layer constitute a set of parameters, in which the optimal combination will largely determine the performance of the neural network. The batch size is selected as 20 according to the previous section, the number of iterations is 10, and the weight coefficient is 0.4 and 0.6, respectively. The experiment was repeated for five times, and the average value of the five classification results was taken as the final classification accuracy. The relationship between the classification accuracy and the size and quantity of the convolution kernel is shown in Figure 13. In Figure 13, 3/5/7 represents the convolution kernel combination of 3×3, 5×5, and 7×7. And label 1-2-1 indicates that, in the convolution kernel combination, the number of the first convolution kernel is 1, the number of the second convolution kernel is 2, and the number of the third convolution kernel is 1. And the same is true for other labels. According to Figure 13, when the combination of convolution kernels is 3/5/7, overall classification accuracy is higher than other combination. In addition, in the combination of 3/5/7 and label is 2-2-1, the classification accuracy reaches 98.9%, which shows that the 3×3, 5×5, and 7×7 convolution kernels are better than other combinations to extract features. Furthermore, in the convolution kernels, combination of 3×3 and 5×5 is able to extract features more than 7 x 7 convolution kernels. _(4) Selection of Weight Coefficients_ ? _and_ ?. The weight value of the weight coefficient ? represents the size of the degree of punishment on the XCN model when the parameters are adjusted every time. And choosing the appropriate weight coefficient ? can enhance the robustness of the XCN Relationship between classification accuracy and the number of convolution kernels and the number of dimensional iterations 100 95 90 85 80 75 70 3/5/7 3/7/9 3/5/9 5/7/9 Te number of convolution kernels and the number of dimensional iterations 1-1-1 2-1-1 1-2-1 1-1-2 2-2-1 2-1-2 1-2-2 2-2-2 Figure 13: Relationship between classification accuracy and the number of convolution kernels and the number of dimensional iterations. model. The weight of the weight coefficient ? indicates the proportion of reconstruction loss. And choosing the appropriate weight coefficient ? can enhance the classification accuracy of XCN model. The loss function ?(?, ?), the penalty function ‖?‖ <sup>2</sup> 2 <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>reconstruction</sup> <sup>loss</sup> <sup>?</sup> ? <sup>are</sup> <sup>all</sup> from 0 to 1, because it reduces the impact of dimensionality, so the range of the weight coefficients ? and ? is selected to be from 0 to 1. In order to simplify the complexity of the discussion, the weight coefficients ? and ? are reserved as one decimal place. According to the above section, the batch size is selected as 20, the number of iterations is selected as 10, the convolution kernel combination is selected as 3/5/7, and the quantity allocation is selected as 2-2-1. The experiment was repeated for five times, and the average value of the classification results of five times was taken as the final classification accuracy. Then the relationship between the classification accuracy and the weight coefficient is shown in Figure 14. It can be seen from Figure 14 that, with the increase of ?, the classification accuracy tends to increase. With the increase of ?, the classification accuracy first increases and then decreases. When the selection ? is 0.7 and ? is 0.6, the classification accuracy reaches 98.5%, while the classification accuracy of XCN is the highest. In order to verify the reliability of the selected parameters, the parameters of the XCN model are selected according to the above conclusions as follows: batch size 20, iteration number 10, convolution kernel combination 3/5/7, quantity allocation 2-2-1, and weight coefficients 0.7 and 0.6, respectively. The test was repeated for ten times, and the test results are shown in Table 1. As can be seen from Table 1, under the selected XCN model parameters, when the time-frequency graphs of three Complexity 13 Table 1: Training accuracy and test accuracy of each type of fault. The fault types Average accuracy of training sample set (%) Average accuracy of test sample set (%) Inner ring fault 99.8 99.2 Outer ring fault 100 99.7 Ball fault 98.5 96.3 Relationship between classification accuracy and weight coefficients  and   is 0.7, is 0.6 100 80 60 40 20 1 0.9 0. 8 0.7 0.9 1 0.7 0 . 6 0 . 8 0.9 0 . 6 0.5 0 . 7 0 . 8 0.5 0.4 0.3 0.4 0.5 0.6 0 . 7 0.3 0.2 0.1 0 0.1 0.2 0.3 0.4  0.2 0.1 0 0.1 0.2  Figure 14: Relationship between classification accuracy and weight coefficients ? and ?. kinds of fault signal were identified, the test accuracy and the training accuracy are similar. And the diagnosis accuracy is 96.3% in the diagnosis of outer ring fault, which may be related to time-frequency methods, samples, or other issues, and the rest were over 99%, which shows the reliability of parameter selection and XCN feasibility of the model. _3.5. Reliably of the XCN Model_ _Experiment_ _1_ (the test bearing data set of Western Reserve University). In order to verify the superiority of the proposed method, the XCN model proposed in the previous section is compared with other deep learning algorithms for nearly three years: DWAE+ELM [23] which is based on deep wavelet autoencoder with extreme learning machine, CapsNet which is based on standard capsule neural network, MPE+ISVM+BT [22] which is based on multiscale permutation entropy and improved support vector machine based binary tree, AE+ES+CNN [26] which is based on an acoustic emission analysis-based bearing fault diagnosis invariant under fluctuations of rotational speeds using envelope spectrums and a convolutional neural network, and DBN [25] which is based on the standard deep belief network. Finally, the test accuracy of each algorithm is shown in Table 2 and Figure 15. As can be seen from Table 2 and Figure 15, the fault diagnosis accuracy of these six models in the bearing data set tested by the Western Reserve University is generally higher than 90%, and the diagnostic accuracy of XCN model is significantly higher than the other models. The recognition rates of XCN model in outer ring fault, inner ring fault, and ball fault are 99.2%, 99.7%, and 96.3%, respectively. By comparing XCN model with CapsNet, it can be seen that the former has higher diagnostic accuracy than the latter in the three fault types, which proves that Xception can help improve the classification accuracy of CapsNet. By comparing XCN model with the other four models, except in the outer ring fault diagnosis, the classification accuracy of SVM is 100% higher than XCN, and the classification accuracy of XCN is all higher than other methods. Therefore, it can be preliminarily concluded that XCN has certain advantages over other methods in bearing fault diagnosis. _Experiment 2_ (the test bearing data set of wind turbine gearbox in actual working conditions). For gearbox under the actual working conditions, there are always some mechanical working changes, such as speed and load. Due to the lack of reliable ability, these deep learning methods can only be effective under conditions similar to training data. In other words, these methods may fail if the working condition of the gearbox changes. In order to discuss the reliability of the XCN model and compare it with other deep learning methods, they were imported to the samples obtained from the wind turbine gearbox under actual working conditions to train and test.Table 3 is the parameters of a wind turbine gearbox under actual working conditions. Figure 16 is a real picture of three faults of a wind power gearbox. The sampling frequency is 5333Hz, and the gearbox transmission ratio is 113.4. The three fault types of wind turbine gearbox are shown in Figure 16. Firstly, the collected time-domain signals were transformed into time-frequency graphs through continuous wavelet time-frequency transformation. Secondly, the timefrequency graphs were imported into the XCN model after adjusting the pixel size. Finally, the same input was imported 14 Complexity 100 95 90 85 Inner ring fault Outer ring fault Ball fault XCN DWAE+ELM CapsNet MPE+ISVM+BT AE+ES+CNN DBN Figure 15: Average classification accuracy of different algorithms based on the test bearing data set of Western Reserve University. Table 2: Average classification accuracy of different algorithms. Average accuracy of XCN DWAE+ELM CapsNet MPE+ISVM+BT AE+ES+CNN DBN test sample set (%) Inner ring fault 99.2 95.2 95.6 96.4 95.4 93.1 Outer ring fault 99.7 95.2 95.3 100 92.6 94.3 Ball fault 96.3 95.2 91.9 96.4 92.2 89.3 Table 3: Parameters of wind power gearbox under a certain actual working condition. Parameters of a wind power gearbox (including three planetary wheels) Part name Number of teeth Rotate speed (r/min) Wind turbines / 92 The ring gear 92 0 The planets gear 37 -23.78 The sun gear 16 108 Intermediate gear 91 108 Intermediate gear shaft 20 491.4 Final big gear 96 491.4 Output gear shaft 26 1814.4 into other algorithms such as DWAE+ELM [23], CapsNet, MPE+ISVM+BT [22], AE+ES+CNN [26], and DBN [25] and tested the failure diagnosis performance of these methods. In this experiment, sixty percent of the adjusted timefrequency graphs were used for algorithm training and forty percent were used for testing. The experiment was repeated five times.Table 4 and Figure 17 show the fault identification rates of the three algorithms. It can be seen from Table 4 and Figure 17 that XCN model in these kinds of fault identification is obviously better than the other methods. In addition, XCN model in the recognition rate of outer ring fault and inner ring fault reached 98.7% and 97.2%, respectively, but the recognition rate of tapered roller fault is only 94.5%, which may be because the noise is too large and the time-frequency method is poor. By comparing the fault identification rates of these algorithms, it can be seen that the XCN model has great advantages in the fault identification of the wind turbine gearbox. Moreover, combined with the experiment in the previous section, it can be shown that the XCN model has a certain reliable ability rather than being limited to the working environment of the laboratory. 4. Conclusion This paper takes the intelligent diagnosis of bearing faults as the research object, combines the capsule neural network which belongs to the category of deep learning with the Xception module, and then applies it to the fault identification of the wind turbine gearbox. Firstly, the time-domain Complexity 15 Table 4: Average classification accuracy of different algorithms. Average accuracy of test XCN DWAE+ELM CapsNet MPE+ISVM+BT AE+ES+CNN DBN sample set (%) Inner ring fault 97.2 88.6 95.6 87.6 90.4 89.1 Outer ring fault 98.7 91.3 94.3 90.3 92.6 91.3 Tapered roller fault 94.5 88.6 91.9 92.3 87.2 84.3 (a) Inner ring fault (b) Outer ring fault (c) Tapered roller fault Figure 16: Fault types of wind turbine gearbox under actual working condition. 100 98 96 94 92 90 88 86 84 82 80 Inner ring fault Outer ring fault Tapered roller fault XCN DWAE+ELM CapsNet MPE+ISVM+BT AE+ES+CNN DBN Figure 17: Average classification accuracy of different algorithms based on the test bearing data set of wind turbine gearbox in actual working conditions. signals of faulty bearings provided by Case Western Reserve University were transformed into time-frequency graphs through a continuous wavelet transform of Morlet wavelet basis. Then, the pixel size of the time-frequency graphs was normalized and adjusted. Secondly, XCN model was trained to select better model parameters. Then, the trained XCN model was tested to study its classification effect. As can be seen from the above, the average classification accuracy is over 96%. Thirdly, the classification effect of XCN model on the fault of the wind turbine gearbox under actual working conditions was studied. And the average classification accuracy is over 94%, which shows the reliability of XCN model and provides a novel method for the fault diagnosis of the gearbox. Finally, other fault diagnosis algorithms based on big data were applied to the fault diagnosis of wind turbine gearbox. It can be seen from the experimental results that the classification accuracy of XCN model is significantly higher than other algorithms on the three fault types. By comparing CapsNet and CNN, it can be seen that, except for rolling fault diagnosis, CapsNet is obviously better than CNN in the other two types of fault diagnosis, which also indicates the inadequacy of such subjective operation as pooling. By comparing XCN and CapsNet, it can be seen that, among the three fault diagnoses, XCN is obviously better than CapsNet, which indicates that the Xception module is of great help to improve the classification accuracy. However, it can also be seen that, in terms of ball fault diagnosis and tapered roller fault, the classification accuracy of all algorithms is low, which may be related to the high noise caused by the harsh working environment of wind turbine gearbox or the weak ability of time-frequency conversion method to extract effective features. And it also points out the direction of future research. In the era of big data, there will be a great demand for intelligent fault diagnosis methods based on deep learning. With the development of deep learning, it will become the main method to solve the gearbox fault diagnosis. However, there are still many problems to be solved to improve the recognition rate and reliable ability of these algorithms. In future work, this topic is still a research focus. Data Availability The data used to support the findings of this study are available from the corresponding author upon request. Conflicts of Interest The authors declare that they have no conflicts of interest. 16 Complexity Acknowledgments This work was supported in part by the Shanxi Provincial Natural Science Foundation of China under Grants 201801D221237, 201801D121186, and 201801D121187 and in part by the Science Foundation of the North University of China under Grant XJJ201802. At the same time, we would like to thank Professor Wang Junyuan from North University of China for his guidance in the experimental section. References [1] B. R. Randall and A. J´erˆome, “Ball bearing diagnostics - a tutorial,” _Mechanical Systems & Signal Processing_, vol. 25, no. 2, pp. 485–520, 2011. [2] Y. G. Lei, J. Lin, M. J. Zuo, and Z. J. He, “Condition monitoring and fault diagnosis of planetary gearboxes,” _Measurement_, vol. 48, no. 2, pp. 292–305, 2014. [3] C. Shen, J. Yang, J. Tang, J. Liu, and H. Cao, “Parallel pro cessing algorithm of temperature and noise error for microelectro-mechanical system gyroscope based on variational mode decomposition and augmented nonlinear differentiator,” _Review of Scientific Instruments_, vol. 89, no. 7, Article ID 076107, 2018. [4] S. Chong, S. Rui, L. Jie et al., “Temperature drift modeling of MEMS gyroscope based on genetic-Elman neural network,” _Mechanical Systems_ _and Signal_ _Processing_, vol. 72-73, pp. 897– 905, 2016. [5] H. Cao, Y. Zhang, C. Shen, Y. Liu, and X. Wang, “Temperature energy influence compensation for MEMS vibration gyroscope based on RBF NN-GA-KF method,” _Shock and Vibration_, vol. 2018, Article ID 2830686, 10 pages, 2018. [6] X. Guo, J. Tang, J. Li, C. Shen, and J. Liu, “Attitude measurement based on imaging ray tracking model and orthographic projection with iteration algorithm,” _ISA Transactions_, 2019. [7] X. Guo, J. Tang, J. Li, C. Wang, C. Shen, and J. Liu, “Determine turntable coordinate system considering its non-orthogonality,” _Review of Scientific Instruments_, vol. 90, no. 3, Article ID 033704, 2019. [8] C. Shen, X. Liu, H. Cao et al., “Brain-like navigation scheme based on MEMS-INS and place recognition,” _Applied Sciences_, vol. 9, no. 8, p. 1708, 2019. [9] H. Cao, Y. Zhang, Z. Han et al., “Pole-zero-temperature com pensation circuit design and experiment for dual-mass mems gyroscope bandwidth expansion,” _IEEE/ASME Transactions on_ _Mechatronics_, vol. 24, 2019. [10] Y. Li, X. Wang, Z. Liu, X. Liang, and S. Si, “The entropy algorithm and its variants in the fault diagnosis of rotating machinery: a review,” _IEEE Access_, vol. 6, pp. 66723–66741,2018. [11] Y. Li, X. Wang, S. Si, and S. Huang, “Entropy based fault classification using the case western reserve university data: a benchmark study,” _IEEE_ _Transactions_ _on_ _Reliability_, pp. 1–14, 2019. [12] Z. Wang, J. Zhou, J. Wang et al., “A novel fault diagnosis method of gearbox based on maximum kurtosis spectral entropy deconvolution,” _IEEE Access_, vol. 7, pp. 29520–29532, 2019. [13] Z. Wang, W. Du, J. Wang et al., “Research and application of improved adaptive MOMEDA fault diagnosis method,” _Measurement_, vol. 140, pp. 63–75, 2019. [14] Y. Li, Y. Yang, G. Li, M. Xu, and W. Huang, “A fault diag nosis scheme for planetary gearboxes using modified multiscale symbolic dynamic entropy and mRMR feature selection,” _Mechanical Systems and Signal Processing_, vol. 91, pp. 295–312, 2017. [15] S. Wang, J. Xiang, H. Tang, X. Liu, and Y. Zhong, “Minimum entropy deconvolution based on simulation-determined band pass filter to detect faults in axial piston pump bearings,” _ISA_ _Transactions_, vol. 88, pp. 186–198, 2019. [16] Z. Wang, J. Wang, W. Cai et al., “Application of an improved ensemble local mean decomposition method for gearbox composite fault diagnosis,” _Complexity_,vol.2019,ArticleID1564243, 17 pages, 2019. [17] Y. Gao, F. Villecco, M. Li, and W. Song, “Multi-scale Permuta tion entropy based on improved LMD and HMM for rolling bearing diagnosis,” _Entropy_, vol. 19, no. 4, article 176, 2017. [18] H. Liu and J. Xiang, “Kernel regression residual decomposition based synchroextracting transform to detect faults in mechanical systems,” _ISA Transactions_, vol. 87, pp. 251–263, 2019. [19] Z. Wang, G. He, W. Du et al., “Application of parameter optimized variational mode decomposition method in fault diagnosis of gearbox,” _IEEE Access_, vol. 7, pp. 44871–44882, 2019. [20] Z. Wang, J. Wang, and W. Du, “Research on fault diagnosis of gearbox with improved variational mode decomposition,” _Sensors_, vol. 10, p. 3510, 2018. [21] Y. Li, Y. Yang, X. Wang, B. Liu, and X. Liang, “Early fault diagnosis of rolling bearings based on hierarchical symbol dynamic entropy and binary tree support vector machine,” _Journal of Sound and Vibration_, vol. 428, pp. 72–86, 2018. [22] Y. B. Li, M. Q. Xu, Y. Wei, and W. H. Huang, “A new rolling bearing fault diagnosis method based on multiscale permutation entropy and improved support vector machine based binary tree,” _Measurement_, vol. 77, pp. 80–94, 2016. [23] S. Haidong, J. Hongkai, L. Xingqiu, and W. Shuaipeng, “Intelli gent fault diagnosis of rolling bearing using deep wavelet autoencoder with extreme learning machine,” _Knowledge-Based_ _Systems_, vol. 140, pp. 1–14, 2018. [24] K. Li, L. Su, J. Wu, H. Wang, and P. Chen, “A rolling bearing fault diagnosis method based on variational mode decomposition and an improved kernel extreme learning machine,” _Applied_ _Sciences (Switzerland)_, vol. 7, no. 10, Article ID 1004, 2017. [25] Z. Shang, X. Liao, R. Geng, M. Gao, and X. Liu, “Fault diagnosis method of rolling bearing based on deep belief network,” _Journal of Mechanical Science and Technology_, vol. 32, no. 11, pp. 5139–5145, 2018. [26] D. K. Appana, A. Prosvirin, and J.-M. Kim, “Reliable fault diagnosis of bearings with varying rotational speeds using envelope spectrum and convolution neural networks,” _Soft_ _Computing_, vol. 22, no. 20, pp. 6719–6729, 2018. [27] L. Jing, M. Zhao, P. Li, and X. Xu, “A convolutional neural network based feature learning and fault diagnosis method for the condition monitoring of gearbox,” _Measurement_, vol. 111, pp. 1–10, 2017. [28] Z. Tao, H. Muzhou, and L. Chunhui, “Forecasting stock index with multi-objective optimization model based on optimized neural network architecture avoiding overfitting,” _Computer_ _Science and Information Systems_, vol. 15, no. 1, pp. 211–236, 2018. [29] X. Liu, Y. Yang, and J. Zhang, “Resultant vibration signal model based fault diagnosis of a single stage planetary gear train with an incipient tooth crack on the sun gear,” _Journal of Renewable_ _Energy_, vol. 122, pp. 65–79, 2018. [30] S. Sabour, N. Frosst, and G. E. Hinton, “Dynamic routing between capsules,” in _Proceedings of the 31st Annual Conference_ _on Neural Information Processing Systems, NIPS 2017_, pp. 3857– 3867, USA, December 2017. Complexity 17 [31] S. Meignen and D.-H. Pham, “Retrieval of the modes of multicomponent signals from downsampled short-time Fourier transform,” _IEEE Transactions on Signal Processing_, vol. 66, no. 23, pp. 6204–6215, 2018. [32] T. Abuhamdia, S. Taheri, and J. Burns, “Laplace wavelet trans form theory and applications,” _Journal of Vibration and Control_, vol. 24, no. 9, pp. 1600–1620, 2018. [33] A. Cardinali and G. P. Nason, “Locally stationary wavelet packet processes: basis selection and model fitting,” _Journal_ _of_ _Time_ _Series Analysis_, vol. 38, no. 2, pp. 151–174, 2017. [34] M. Haris, M. R. Widyanto, and H. Nobuhara, “Inception learning super-resolution,” _Applied_ _Optics_, vol. 56, no. 22, pp. 6043–6048, 2017. [35] M. F. Haque and D. Kang, “Multi scale object detection based on single shot multibox detector with feature fusion and inception network,” _The_ _Journal_ _of_ _Korean Institute_ _of_ _Information_ _Tech-_ _nology_, vol. 16, no. 10, pp. 93–100, 2018. [36] M. Mahdianpari, B. Salehi, M. Rezaee, F. Mohammadimanesh, and Y. Zhang, “Very deep convolutional neural networks for complex land cover mapping using multispectral remote sensing imagery,” _Remote Sensing_, vol. 10, no. 7, p. 1119, 2018. [37] L. Bai, Y. Zhao, and X. Huang, “A CNN accelerator on FPGA using depthwise separable convolution,” _IEEE Transactions_ _on_ _Circuits and Systems II: Express Briefs_, vol. 65, no. 10, pp. 1415– 1419, 2018. [38] R. Giryes, Y. C. Eldar, A. M. Bronstein, and G. Sapiro, “Tradeoffs between convergence speed and reconstruction accuracy in inverse problems,” _IEEE Transactions on Signal Processing_, vol. 66, no. 7, pp. 1676–1690, 2018. [39] Z. Chen, F. Han, L. Wu et al., “Random forest based intelligent fault diagnosis for PV arrays using array voltage and string currents,” _Energy_ _Conversion_ _and_ _Management_, vol. 178, pp. 250–264, 2018. [40] R. Paul, R. Shandilya, and R. K. Sharma, “Comparative study and analysis of pulse rate measurement by vowel speech and EVM,” in _Proceedings of the International Conference on ISMAC_ _in_ _Computational_ _Vision_ _and_ _Bio-Engineering_ _2018_ _(ISMAC-_ _CVB)_, pp. 137–146, 2019. [41] H. Yang and H. Pan, “The adaptive analysis of shock signals on the basis of improved morlet wavelet clusters,” _Shock_ _and_ _Vibration_, vol. 2018, Article ID 9892713, 13 pages, 2018. [42] K. De´ak, T. Mankovits, and I. Kocsis, “Optimal wavelet selection for the size estimation of manufacturing defects of tapered roller bearings with vibration measurement using Shannon Entropy Criteria,” _Strojniski Vestnik:_ _Journal of Mechanical Engineering_, vol. 63, no. 1, pp. 3–14, 2017. [43] S. H. Khan, M. Hayat, M. Bennamoun, F. A. Sohel, and R. Togneri, “Cost-sensitive learning of deep feature representations from imbalanced data,” _IEEE_ _Transactions_ _on_ _Neural_ _Networks_ _and_ _Learning_ _Systems_, vol. 29, no. 8, pp. 3573–3587, 2018.

섹션 본문 95문단 · 52,283자

(제목 없음)

1In the era of big data, data-driven methods mainly based on deep learning have been widely used in the field of intelligent fault diagnosis.Traditional neural networks tend to be more subjective when classifying fault time-frequency graphs, such as pooling layer, and ignore the location relationship of features.The newly proposed neural network named capsules network takes into account the size and location of the image.Inspired by this, capsules network combined with the Xception module (XCN) is applied in intelligent fault diagnosis, so as to improve the classification accuracy of intelligent fault diagnosis.Firstly, the fault time-frequency graphs are obtained by wavelet time-frequency analysis.Then the time-frequency graphs data which are adjusted the pixel size are input into XCN for training.In order to accelerate the learning rate, the parameters which have bigger change are punished by cost function in the process of training.After the operation of dynamic routing, the length of the capsule is used to classify the types of faults and get the classification of loss.Then the longest capsule is used to reconstruct fault time-frequency graphs which are used to measure the reconstruction of loss.In order to determine the convergence condition, the three losses are combined through the weight coefficient.Finally, the proposed model and the traditional methods are, respectively, trained and tested under laboratory conditions and actual wind turbine gearbox conditions to verify the classification ability and reliable ability.

Introduction

2The rolling bearing is the most commonly used part in mechanical equipment.In the working process, the bearing may be damaged due to improper assembly, poor lubrication, water, and foreign body invasion, corrosion, overload, etc. [1].Due to the processing technology, working environment, and other reasons, the fault signal is nonlinear and nonstationary, which makes the dynamic mutation of the fault signal unable to be detected effectively.So, it is difficult to identify the fault type of bearing accurately and stably.Compared with other machine parts, the rolling bearing works badly, which causes the probability of failure to be high and the unpredictability strong.Therefore, the fault diagnosis of rolling bearings is of great significance to ensure the safety of equipment, personal property, and maintenance cost [2].

3In recent years, methods based on signal processing [3] or deep learning [4,5] are widely used to solve practical engineering problems [6][7][8][9].Moreover, in the field of compound fault diagnosis of rotating machinery, with the continuous exploration of many researchers, novel intelligent fault diagnosis methods emerge in an endless flow.For example, the methods based on the entropy [10,11] of signal processing include maximum kurtosis spectral entropy deconvolution (MKSED) [12], multipoint optimal minimum entropy deconvolution adjusted (MOMEDA) [13], modified multiscale symbolic dynamic entropy (MMSDE) [14], and minimum entropy deconvolution [15].In addition, there are other ways, such as improved ensemble local mean decomposition (IELMD) [16,17], kernel regression residual [18], and modified variable modal decomposition (MVMD) [19,20].Methods based on big data and machine learning or 2 Complexity deep learning include support vector machine (SVM) [21,22], extreme learning machine (ELM) [23], kernel extreme learning machine (KELM) [24], deep belief network (DBN) [25], and convolutional neural network (CNN) [26,27].In general, these methods can solve most classification problems well.But for composite fault diagnosis, their fault test accuracy rate is not too high.Moreover, this kind of algorithm always fails when there is not enough data to meet the convergence condition or causes overfitting phenomenon, which will lead to low test accuracy [28].

4For example, the traditional convolution neural network requires a lot of training samples to meet the convergence condition.Moreover, people may subjectively reduce the dimension of filter [29] on the pooling of convolution neural network layer, which can result in a substantial loss on the pooling layer information and even causes a phenomenon that the input has a small change but the output is hardly changed.However, as for time-frequency graphs, a very small change may be the different type of bearing fault type or the large change of fault size.To summarize, the traditional convolutional neural network is difficult to achieve a high fault test accuracy.

5Based on these disadvantages of traditional convolutional neural network, the capsule neural network (CapsNet) architecture was proposed by Hinton and his assistants in November 2017 [30], which can retain the exact position, inclination, size, and other parameters of the feature in the time-frequency graphs when training the deep learning method, so as to make the slight changes in the input also bring about slight changes in the output.In the famous handwritten digital image data set (Minst), CapsNet has reached the most advanced performance of the current deep learning algorithms.CapsNeth architecture is made up of capsules rather than neurons.A capsule is a small group of neurons that can learn to examine a particular object in an area of an image.Its output is a vector, the length of each vector represents the estimated probability of the existence of the feature, and its direction records the object of attitude parameters, such as accurate position, inclination, and size.If the feature changes slightly, the capsule will output a vector with the same length but slightly different direction, which is helpful to improve the test accuracy of bearing fault diagnosis.

6The input of the deep learning algorithm in the fault diagnosis is fault time-frequency graphs and the two common time-frequency analysis methods are short-time Fourier time-frequency analysis and wavelet time-frequency analysis.Short-time Fourier transform (STFT) used to play a dominant role in the field of signals and is an indispensable analysis method [31].However, due to its own limitations, it is unable to deal with the nonstationary signals in real life, and there is a contradiction between noise suppression and signal protection in the process of signal denoising.After the idea of wavelet transform, the wavelet transform replaces the position of Fourier transform in signal processing.Firstly, wavelet has very good time-frequency characteristics and can decompose many different frequency signals in nonstationary signals into nonoverlapping frequency bands, which can solve the problems encountered in signal filtering, signal-noise separation, and feature extraction well [32].Secondly, due to the time-frequency characteristic of localization, the choice of wavelet basis is flexible and the calculation speed is very fast, which makes wavelet transform a powerful tool for signal denoising.Wavelet denoising can effectively remove noise and retain the original signal, thus improving the signal-tonoise ratio of the signal.Therefore, the continuous wavelet transform can effectively separate the effective part of the signal from the noise, greatly improve the feature extraction performance of fault diagnosis [33], and finally improve the fault recognition rate.

7In addition, improving the network structure can improve the learning ability and reliable ability of the neural network.For example, using the Inception of modules and convolution in GoogLeNet can help neural network in different areas to capture more target-oriented characteristic, accelerate the calculation speed, and increase the depth of the neural network [34,35].Besides, Xception module is the extreme version of Inception [36]; Xception module completely decoupled across the channel correlation and spatial correlation and has achieved the classification accuracy of 94.5% in the classification of ImageNet database [37].

8In terms of the convergence condition of the deep learning algorithm, most of them only consider the classification loss as the only index of convergence and do not consider the influence on the model when the parameters change a lot or the reconstruction loss, which may make the model difficult to converge or require a lot of time to converge [38].However, most samples are collected under ideal working conditions in the laboratory, which may lead to the contingency when verifying the feasibility of the deep learning method.In other words, this deep learning method can only diagnose the gearbox under the specific working conditions [39,40], which means that the reliably is very poor.

9Based on the above, a novel intelligent fault diagnosis method of capsules network combined with the Xception module was proposed and the weight coefficient of loss was taken into account, in order to improve the convergence speed of the neural network classification, robustness, and learning ability.In order to verify XCN model of classification ability and reliable ability, the ideal laboratory condition of samples and the actual work condition of samples were chosen to train and test, respectively, and compare with other deep learning methods.

Wavelet Transform and Time-Frequency Transform.

10Compared with the short-time Fourier transform (STFT) method, the wavelet basis of continuous wavelet transform is no longer a trig function of infinite length, but a wavelet basis function of finite length that will decay.The wavelet basis can be stretched, which solves the problem that the time resolution and the frequency resolution cannot be both [41], so it can better and effectively extract the effective information in the bearing fault time domain signal.

11Assuming the function () ∈ 2 (), its Fourier transform () satisfies the condition Complexity 3

12where the function () is called the parent wavelet or wavelet basis.After scaling and shifting the parent wavelet, a wavelet function cluster can be generated, whose expression is as follows:

13where is the scale factor and is the translation factor.The scale factor is used to scale the wavelet basis, while the scale factor is used to change the position of the window on the time axis.

14The continuous wavelet transform of the signal () is defined as

15However, most of the fault signals of the rolling bearings are impulse fault signals, whose time-domain waveform is damped and freely attenuated vibration, while the timedomain waveform feature of Morlet wavelet is vibration attenuation from the central position to both sides.And their signals are similar [42,43].Therefore, the Morlet of continuous wavelet transform is selected as a wavelet basis, and its function is as follows:

16After determining the wavelet base and scale, the actual frequency sequence is combined with the time series to draw the wavelet time-frequency graphs.

The Principle of Capsule Network.

17Capsule network is a novel type of neural network proposed by Hinton and his assistant in October 2017, which uses the module length of the activation vector of the capsule to describe the probability of the existence of the feature, and uses the direction of the activation vector of the capsule to represent the parameters of the corresponding instance [30].Unlike previous neural networks which are composed of nerve neurons, capsule neural networks are composed of many capsules with specific meanings and directions.Activation of neuronal activity within the capsule represents various properties of a specific feature presented in the image.These properties can include many different types of instantiation parameters, such as posture (position, size, and direction), deformation, velocity, reflectivity, tone, and texture.

18At the network level, the capsule neural network is composed of many layers.The lowest level capsules are called vector capsules, and they use only a small portion of the image as input, respectively.The small area is called the perceptual domain and it attempted to detect whether a particular pattern exists and how it is posed.At higher levels, capsules called routing capsules are used to detect larger and more complex objects.

19The output of the capsule is a vector, the length of each vector represents the estimated probability of the existence of the object, and its direction records the object of attitude parameters.If the object changes slightly, the capsule will also output a vector with the same length but slightly different direction.So, the capsules are isotropic.For example, if the capsule neural network outputs an eight-dimensional capsule, its vector length represents the estimated probability of the existence of the object, and its direction in the eightdimensional space represents its various parameters, such as the exact position of the object or the number of rotation angles.Then, when the object rotates by a certain angle or moves by a certain distance, it only changes the direction of the output vector, not its length, so it has little effect on the recognition rate of capsule neural network.Moreover, this phenomenon is not found in traditional neural networks, such as convolutional neural networks.

20Convolution neural network, such as the traditional neural network, mostly through pooling mechanisms which choose the maximum value of the region or in a fixed area average, extracts main features to next layers, which makes the neural network of subjectivity much bigger.Therefore, the pooling operation may reduce the recognition rate of the neural network greatly.The capsule neural network proposed a very significant mechanism called the dynamic routing mechanism.In the capsule neural network, the output of the capsule is set as a vector, which makes it possible to use a powerful dynamic routing mechanism to ensure that the output of the capsule is sent to the appropriate parent node in the above layer.Initially, the output is routed to all possible parent nodes after the coupling sum is reduced by a factor of 1.For each possible parent node, the capsule calculates the prediction vector by multiplying its own output by a weight matrix.If the scalar product of this prediction vector and the output of a possible parent node are larger than others, there is top-down feedback, which has the effect of increasing the coupling coefficient of this parent node and reducing the coupling coefficient of other parent nodes.This increases the contribution of the capsule to that parent node and further increases the scalar product of the capsule prediction vector and the output of that parent node.So, this operation is more efficient than the primitive form of routing implemented through pooling, where all feature detectors in the next layer are ignored, except for the most active feature detectors in the local layer.In Hinton's paper, he demonstrated that [30].Then, he imported the images in Minst into the capsule neural network with dynamic routing and the convolution neural network with pooling, respectively, finally finding the capsule neural network in the digital recognition accuracy compared to convolution neural network, and capsule neural network is significantly higher than the convolutional neural network on the highly overlapping digital image recognition.So dynamic routing mechanism is a very effective way.

21Take a three-layer capsule neural network architecture for identifying digital images in Minst, which is shown in Figure 1.The architecture can be simply represented as consisting of only two convolutional layers and one fully connected layer.Conv1 is activated by 256, 9×9 convolution kernels, stride 1, and ReLU function.The layer converted the pixel intensity into a matrix.Then, the matrix is used as the activated part of the local feature detector input by the basic capsule.The length of the activation vector for each capsule in the DigitCaps layer represents the probability of the specific object and is used to calculate the classification loss.

22is a weight matrix for each input in the Primary Capsule, and ‖ 2 ‖ is the length of the longest capsule.

Xception Module.

23In order to obtain a deeper feature graph, the traditional neural network tends to increase the number of layers of convolution, which will bring too many parameters and make it difficult to train.More importantly, it increases the time and space consumption.Moreover, the convolution kernel of the same layer in the traditional convolutional neural network is single, but the correlation between different channels in the time-frequency graphs is not very much, which requires the use of different convolution kernel for different channels.

24To solve these problems, Inception provides a different way to extract deeper feature maps.By using convolution kernels of different sizes in the same layer, different sizes of sensing fields can be obtained to improve the classification effect.Its architecture is shown in Figure 2.

25An input feature graph is processed by the convolution kernel of 1×1, 3×3, and 5×5 at the same time, and the obtained features are combined, which can extract many kinds of features and obtain better results.However, there is a serious problem with this structure that the number of parameters is much larger than that of using a single convolution kernel, and such a huge amount of calculation will make the model inefficient.This was inspired by the 1×1 convolution kernel in the Network.In Network, 1×1 convolution kernel is added to Inception.Its architecture is shown in Figure 3.

26To take an example which is shown in Figure 4, assuming that the dimension of the input feature graph is 256, the output dimension is also 256.There are two operations.

27The first is that the 256-dimensional input goes through a convolution layer of 3×3×256 directly.And the output is a 256-dimensional feature graph, so the number of parameters is 256×3×3×256=589824.

28The second is that firstly the 256-dimensional input passes through a convolution layer of 1×1×64, then through a convolution layer of 3×3×64, and finally through a convolution layer of 1×1×256.The output dimension is 256, but the number of parameters is 256×1×1×64+64×3× 3×64+64×1×1×256=69632.That reduces the number of parameters for the first operation to one in nine.

29For convolution, the convolution kernel can be viewed as a three-dimensional filter: channel dimension and spatial dimension (width and height of the feature graph).The conventional convolution operation is actually the joint mapping of channel correlation and spatial correlation.Inception module is based on the assumption that the channel correlation and spatial correlation between the channels in the convolutional layer can be decoupled.So, mapping the channel correlation and spatial correlation can get better results separately.Based on the Inception hypothesis, it can be found that when the number of channels increases, it is more reasonable to assume that cross-channel correlation and spatial correlation mapping are completely separated.

30Based on the above findings and assumptions, the Xception module was proposed.Firstly, it uses 1x1 convolution map to map cross-channel correlation, and then there is an independent spatial convolution on each output channel of 1×1 convolution to map spatial correlation.The channel correlation convolution of 1×1 is carried out, and the number of convolution kernels with different types of subsequent convolving is the same as the number of output channels of 1×1 convolution.Various feature maps are output during the whole Xcepiton module process, and each output can be represented by the following function:

31where is the output of the convolution channel of the convolution layer , is the net activation of the convolution channel of the convolution layer , is the weight coefficients between the layer and the layer , and is the threshold offset term of the channel of the convolution layer .

32Then, all outputs are connected together through a full connection operation; its function is as follows:

33And the gradient descent method is used to reduce the error of the whole process; its function is as follows:

34where ∇( ) is the error ( ) with the changing of .Although the architecture of the Xception module is basically the same as Inception, the improvement of Xception module performance is not due to the increase of model capacity but due to the more efficient use of model parameters.

35Because the parts of the image with a long distance do not matter much, different convolution kernels are adopted in the Xception module.Inspired by convolution decomposition, it is used for different convolution kernels.For example, the 7×7 convolution kernels are decomposed into two onedimensional convolution kernels 1×7 and 7×1.And the 3×3 convolution kernel is same for two one-dimensional convolution kernels 1×3 and 3×1.Such operation can not only accelerate the calculation but also further increase the network depth, which is helpful to improve the learning ability of the neural network.This is because what is useful is the homology of the information, not the invariance, and the sorting of the information rather than the discarding of the information.In addition, it also routes every part of the input into neurons that know how to process it, which means finding the best path.However, pooling operation determined by human factors performs poorly in handling dynamic routing, so it is not good for the establishment of neural network.Building an improved Xcepiton module without pooling layer is shown in Figure 5.

Establishment of a Novel Capsule Neural

36Network with Xception Module (XCN)

Input and Dynamic Routing of Capsule Neural Network.

37When the time-frequency graphs of bearing fault are recognized by the capsule neural network, the selection of the structure parameters of the capsule neural network has a significant influence on the recognition results.Therefore, only when the appropriate parameters are selected can the classification and recognition performance of the capsule neural network for bearing faults be truly reflected.The input of the capsule neural network is time-frequency graphs whose size can be chosen as a variety of sizes.In this paper, for the sake of simplicity, the pixel size of all time-frequency graphs was chosen as 256×256.Then, multiple normal timefrequency graphs and failure time-frequency graphs were imported into the XCN model.The length of the output vector of the capsule was used to represent the probability that the entity represented by the capsule exists in the current input.In addition, a nonlinear squashing function was used to ensure that the short vector is compressed to nearly 0 and the long vector is compressed to slightly less than 1: where V is the vector output of the capsule and is its total input.In addition to the first layer of the capsule body, the total input of the capsule is a weighted sum of the prediction vector | of all the capsules from the next layer, which is generated by multiplying the output of the following layer of capsules by the weight matrix .

38∧ | = (13) where is the coupling coefficient determined by the iterative dynamic routing process.The sum of coupling coefficients between the capsule and all capsules in the higher layer is 1, which is determined by routing softmax.The initial logic of routing softmax is the logarithmic prior probability; that is, the capsule should be coupled with the capsule .The logarithmic prior probability of the same time can be used as the discriminant learning of all other weights.They depend on the location and type of the two capsules, not on the current input image.Then, the initial coupling coefficient achieves iterative refinement by measuring the consistency between the current output V of each capsule in the higher layer and the predicted | of the capsule .

39Consistency is the index dot product = V × | .This consistency is considered to be a logarithmic likelihood ratio and is added to the initial logic before new values are calculated for all coupling coefficients between capsule and higher level capsules.

40In the convolutional capsule layers, each capsule outputs a vector local network to each type of capsule in the higher layer and uses a different transformation matrix for each part of the network and each type of capsule.

41This operation, which Hinton calls dynamic routing between capsules, is used in the propagation of Primary caps layer to Digital caps layer.Figure 6 shows the dynamic routing mechanism.

42Details of dynamic routing algorithm are shown in Procedure 1.

Output Vector Processing Method.

43The time-frequency graphs are imported into the XCN model.Finally, capsule vectors with many different meanings are obtained.The modules of all capsule vectors are calculated and the corresponding fault type of the capsule vector with the maximum module value is obtained.

44(1) procedure Routing ( ∧ | ,r,l) (2) for all capsule i in layer l and capsule j in layer(l+1): ij ← 0 (3) for r iterations do (4) for all capsule i in layer l: i ← ( ) (5) for all capsule j in layer(l+1): ← ∑ ∧ | (6) for all capsule j in layer(l+1): V ← ℎ( ) (7) for all capsule i in layer l and capsule j in layer(l+1):

Capsule i Capsule j

45Upper layers Previous layers In order to know the fault identification rate of XCN model intuitively, the specific capsules are generated fault time-frequency graphs through reconstruction.In the process of training, all the vectors in the Digital Caps layer except the correct capsule vector are shielded; that is, only the correct capsule is kept and the other capsules are set to zero.Then, the Digital Caps layer is used to reconstruct the input graph.The output of the digital capsule is fed into a decoder composed of three inverse routing iterations which are formed of the full connection layer, and the linear unit activation function is added in each layer of the full connection layer to ensure that the feature graph of the output of each layer is positive.Then, the original fault time-frequency graph and the reconstructed fault time-frequency graph are fused into a 256×256 target graph.The reconstructed flow chart is shown in Figure 7.

46In order to measure the difference between reconstructed graph and truth graph in texture details and structure and minimize the loss of texture details and structure information of reconstructed graph, in this paper, the reconstruction loss function of XCN model uses 2 norm to measure the distance between reconstructed graph and truth graph.The formula is

47where represents the input original graph, () represents the reconstructed graph, and represents the reconstruction loss.

Adjustment of Capsule Neural Network.

48Cross entropy measures the difference information between two probability distributions by describing the distance between them.The method of capsule neural network to solve the multiclassification problem is to set output capsules , where is the number of categories, and each capsule represents a different category.For each sample, an n-dimensional array formed of the length of each output capsule can be obtained by the capsule neural network.Each dimension in the array corresponds to a category.Ideally, if a sample belongs to the category , the output value of the output node corresponding to that category should be 1, while the output value of all other nodes should be 0. Take an example of identifying handwritten Numbers in Minst, which fall into 10 categories, from 0 to 9. When the number 1 is recognized, the closer the output 10-dimensional array of the capsule neural network [0, 1, 0, 0, 0, 0, 0, 0, 0], the better.The ideal probability distribution on handwritten number classification is defined as () and the probability distribution of the output of the capsule neural network as ().Then the cross entropy of this sample classification is

49The cross entropy represents the uncertainty of the random variable or the whole system.The higher the entropy is, the greater the uncertainty of the random variable or the whole system will be.However, cross entropy describes the distance between two probability distributions.While the output length of the capsule neural network is not necessarily a probability distribution nor is necessarily between 0 and 1, softmax regression is a very useful way to transform the results of the forward propagation of the capsule neural network into a probability distribution.Assuming the output of the neural network is 1 , 2 , 3 , ⋅ ⋅ ⋅ , , the output after softmax regression processing is

50Softmax transformed the output of the capsule neural network into a probability distribution.In this way, the output of the capsule neural network is also turned into a probability distribution, and the distance between the predicted probability distribution and the actual answer probability distribution can be calculated by cross entropy.Then the cross entropy loss function of the capsule neural network is

51where is its correct output, ( ) is its probability, and is the actual probability.

52In the neural network, the minimal fluctuation of some parameters of weights will often lead to the change of the value of the loss function, which will lead to the overfitting of the model or the long convergence time, which will affect the prediction performance.In order to improve this phenomenon, the 2 norm is introduced as the punishment for the parameters whose weight changes greatly each time the structure of the capsule neural network is adjusted. 2 norm refers to the sum of squares of the weight of ownership divided by the number of samples.The expression is as follows:

53where is the weight of the parameter in the layer .

54Then, combine the loss function, penalty function of the XCN model, and the reconstruction loss in the reconstruction through the regularization term coefficient and , so that when the gradient of the adjustment function reaches the minimum value, it can be considered that the capsule neural network has been convergent.The expression of the adjustment function of the capsule neural network is as follows:

55where is the adjustment function of the capsule neural network, (, ) is the loss function, and are the weight coefficients, ‖‖ 2 2 is the square of the penalty function, and is the reconstruction loss.

56In order to ensure the accuracy of the classification and avoid over-fitting during training, and should be appropriately selected.For example, the size of (, ) and ‖‖ 2 2 is between 0 and 1.If the loss function is set in a large proportion, it will lead to the nonconvergence of the training process of the capsule neural network.If the penalty function is set in a large proportion, it will lead to the low accuracy of classification.Therefore, the weight coefficient must be set a series of values, and then test its performance and adjust through experiments.Similarly, the selection of the weight coefficient also needs to go through the appropriate selection.

57The flowchart of XCN model is shown in Figure 8.

Feasibility Discussion of XCN Model.

58When the XCN model is used to identify bearing fault signals, the timedomain signals collected by the sensor need to be converted into time-frequency graphs.In the process of fault timefrequency graphs processing, the signal noise reduction and feature extraction are carried out firstly.And then the timefrequency graphs with pixel adjustment are taken as the input of the capsule neural network.In this paper, a capsule neural network was established with a convolutional layer, a dynamic routing layer, a full connection layer, and a reconstructed decoder.In order to improve the depth and dimension of the neural network, the Xception module was added to the neural network to improve the fault classification accuracy.When using XCN model to identify time-frequency graphs, different parameter settings have a great impact on the identification results of the capsule neural network, including the number of iterations, batch size, size and number of convolution kernels, the number of layers of Xception module, the selection of convolution parameters, and the weight coefficient.In order to discuss the feasibility of the XCN model, the bearing failure data set provided by Case Western Reserve University was used to train and test the XCN model.Figure 9 shows the experimental station of Case Western Reserve University.All the algorithm program code was written in and run on a computer with CPU i7-4790K@4.00GHz,RAM 16.00G, GPU Nvidia Geforce GTX960, and operating system Win7.

59The experiment was carried out with a 2 HP motor and fan end bearing data was all collected at 12,000 samples per second, and the acceleration data were measured near and away from the motor bearing.In this data set, all the data are from the bearings damaged by the test bench.In other words, the load of each bearing is the same (in this paper, test bearing data under no-load condition was selected), but the health condition of the bearing is different.For the acquisition of faulty bearings, three different kinds of damage were caused to the outer ring, inner ring, or balls of the bearing by electrical discharge machining and their failure diameter was selected for a class of test bearing data sets of 0.007 inches.Therefore, there are 4 types of time-frequency graphs of bearings, including the healthy bearings.

60In view of the rich information contained in the timefrequency graphs and the fact that the input of the capsule neural network must be a two-dimensional matrix, when studying the fault identification performance of the XCN model, time-frequency conversion processing of timedomain signals is required firstly.In this paper, the timefrequency conversion method is chosen as the continuous wavelet transform, and the wavelet basis is the Morlet wavelet.

61One sample of four different types in the data set is taken out for continuous wavelet transform, respectively, and the results are shown in Figure 10.

62In order to reduce the influence of noise, the zero mean normalization method was adopted, which not only ensures the distribution of the original signal but also eliminates the influence of dimension and converts the data into the same distribution.The formula is as follows:

63Complexity where is the input, * is the output of the time-frequency graph, and and are the mean and variance of , respectively.

64The input time-frequency graphs pixel size of bearing failure was selected as 256×256.The selection of capsule vector should be carried out first when the time-frequency graphs with appropriate pixel adjustment are imported into the capsule neural network for training.In this paper, the tonal distribution of time-frequency graphs and its change speed and direction are selected to transform the characteristics.Eighty percent of the samples from bearing data set provided by Case Western Reserve University were randomly selected for training to select parameters, and twenty percent of the samples were tested to verify the reliability of the selected parameters.

65(1) Selection of Batch Size.Batch size refers to the process of training the neural network, in which a certain number of samples are randomly selected for batch training each time.Then the parameters of weight are adjusted once until all training samples are input.This process is called the completion of an iteration.If a larger batch size value is selected, the memory utilization can be improved through parallelization, so as to improve the running speed.In other words, the convergence speed will be faster, but the times of adjusting the weight will be less, thus reducing the classification accuracy.While choosing a smaller batch size can improve classification accuracy, it will lead to longer computing time.Therefore, in the case of limited memory capacity, when selecting the batch size, the requirements of classification accuracy and computing time should be weighed to ensure that the time cost can be reduced as much as possible under the premise of sufficient classification accuracy.The selection principle of batch size number must first meet the requirement that the number of training samples can be divided.Therefore, the selected batch sizes are 2, 4, 5, 8, 10, 20, 25, 30, and 50, respectively.When discussing the influence of batch size on classification results, in order to simplify the complexity of the discussion, the preliminary assumption of the number of iterations is 10, the preliminary assumption of the convolution kernel is 3×3, 5×5, and 7×7 whose number is 1, respectively, and the weight coefficient is 0.4 and 0.6, respectively.The experiment was repeated for ten times, and the average value of the classification results of ten times was taken as the final classification accuracy.Then the relationship between the classification accuracy and batch size was shown in Figure 11.As can be seen from Figure 11, when the batch size is within 10, the change of the batch size has little influence on the classification accuracy, while when the batch size is larger than 10, the classification accuracy obviously decreases with the increase of the batch size.As a result, the total sample batch size must meet the first condition that it can be divided exactly by the training sample in certain cases.Secondly, choosing the smaller batch size can increase the recognition rate of fault, which contributes to the failure of judgment.Such as the trial, when the batch size is selected as 5, 8, 10, or 20, the classification accuracy is the highest.Combined with the time cost factor, the batch size was selected as 20.

66(2) Selection of Iteration Times.In essence, iteration is a process of continuous approximation and fitting.If the number of iterations is too small, the fitting effect will be not ideal.When the number of iterations increases to a certain degree, the fitting error will no longer decrease, but the time cost will increase with the increase of the number of iterations.Therefore, it is necessary to select an appropriate number of iterations, which can achieve a relatively low time cost under the condition of satisfying a certain recognition rate.When discussing the influence of iteration times on classification results, in order to simplify the complexity of discussion, the batch size is selected as 20 according to the previous section, the convolution kernel is preliminarily assumed to be 3×3, 5×5, and 7×7 whose number is 1, respectively, and the weight coefficients are 0.4 and 0.6, respectively.The experiment was repeated for five times, and the average of the five classification results was taken as the final classification accuracy.And the relationship between the classification accuracy and the number of iterations is shown in Figure 12.As can be seen from Figure 12, with the increase of iteration times, the classification accuracy increases gradually.When the number of iterations reached 6, the classification accuracy was more than 96%; when the number of iterations was more than 10, the classification accuracy was more than 98.5%; and with the increase of the number of iterations, the classification accuracy tended to be stable.Therefore, under the conditions of the number of samples and the size of graphs in this paper, the selection of 10 iterations can not only meet the requirements of high classification accuracy, but also reduce the time cost.

67(3) Selection of the Size and Quantity of Convolution Kernel.The larger the size of the convolution kernel is, the larger the representable feature space of the network will be and the stronger the learning ability will be.However, there will be more parameters to be trained and the calculation will be more complex, which will lead to the phenomenon of overfitting easily.Meanwhile, the training time will be greatly increased.1×1 convolution can increase across the channel correlation to improve the utilization rate of XCN model parameters, which can be used in the Xception module but does not make sense in the feature extraction.As the size of an even number of convolution kernels even symmetrically for zero padding operations, there is no guarantee that the input graph size and output characteristics graph size remain the same.In order to ensure that the size of the input and output characteristics graph is changeless, the convolution kernel size is chosen as the positive odd except 1.In the case of reaching the same receptive field, the smaller the size of the convolution kernel, the faster the operation.To simplify the complexity of the discussion, the maximum convolution kernel is selected as 9×9, the number of different convolution kernels is selected as 3, and the number of a single convolution kernels is no more than 2. The size and number of convolution kernels of each convolution layer constitute a set of parameters, in which the optimal combination will largely determine the performance of the neural network.The batch size is selected as 20 according to the previous section, the number of iterations is 10, and the weight coefficient is 0.4 and 0.6, respectively.The experiment was repeated for five times, and the average value of the five classification results was taken as the final classification accuracy.The relationship between the classification accuracy and the size and quantity of the convolution kernel is shown in Figure 13.In Figure 13, 3/5/7 represents the convolution kernel combination of 3×3, 5×5, and 7×7.And label 1-2-1 indicates that, in the convolution kernel combination, the number of the first convolution kernel is 1, the number of the second convolution kernel is 2, and the number of the third convolution kernel is 1.And the same is true for other labels.According to Figure 13, when the combination of convolution kernels is 3/5/7, overall classification accuracy is higher than other combination.In addition, in the combination of 3/5/7 and label is 2-2-1, the classification accuracy reaches 98.9%, which shows that the 3×3, 5×5, and 7×7 convolution kernels are better than other combinations to extract features.Furthermore, in the convolution kernels, combination of 3×3 and 5×5 is able to extract features more than 7 x 7 convolution kernels.Relationship between classification accuracy and the number of convolution kernels and the number of dimensional iterations , and the reconstruction loss are all from 0 to 1, because it reduces the impact of dimensionality, so the range of the weight coefficients and is selected to be from 0 to 1.In order to simplify the complexity of the discussion, the weight coefficients and are reserved as one decimal place.According to the above section, the batch size is selected as 20, the number of iterations is selected as 10, the convolution kernel combination is selected as 3/5/7, and the quantity allocation is selected as 2-2-1.The experiment was repeated for five times, and the average value of the classification results of five times was taken as the final classification accuracy.Then the relationship between the classification accuracy and the weight coefficient is shown in Figure 14.It can be seen from Figure 14 that, with the increase of , the classification accuracy tends to increase.With the increase of , the classification accuracy first increases and then decreases.When the selection is 0.7 and is 0.6, the classification accuracy reaches 98.5%, while the classification accuracy of XCN is the highest.

68In order to verify the reliability of the selected parameters, the parameters of the XCN model are selected according to the above conclusions as follows: batch size 20, iteration number 10, convolution kernel combination 3/5/7, quantity allocation 2-2-1, and weight coefficients 0.7 and 0.6, respectively.The test was repeated for ten times, and the test results are shown in Table 1.

69As can be seen from Table 1, under the selected XCN model parameters, when the time-frequency graphs of three Complexity 13 kinds of fault signal were identified, the test accuracy and the training accuracy are similar.And the diagnosis accuracy is 96.3% in the diagnosis of outer ring fault, which may be related to time-frequency methods, samples, or other issues, and the rest were over 99%, which shows the reliability of parameter selection and XCN feasibility of the model.

Reliably of the XCN Model

70Experiment 1 (the test bearing data set of Western Reserve University).In order to verify the superiority of the proposed method, the XCN model proposed in the previous section is compared with other deep learning algorithms for nearly three years: DWAE+ELM [23] which is based on deep wavelet autoencoder with extreme learning machine, CapsNet which is based on standard capsule neural network, MPE+ISVM+BT [22] which is based on multiscale permutation entropy and improved support vector machine based binary tree, AE+ES+CNN [26] which is based on an acoustic emission analysis-based bearing fault diagnosis invariant under fluctuations of rotational speeds using envelope spectrums and a convolutional neural network, and DBN [25] which is based on the standard deep belief network.Finally, the test accuracy of each algorithm is shown in Table 2 and Figure 15.

71As can be seen from Table 2 and Figure 15, the fault diagnosis accuracy of these six models in the bearing data set tested by the Western Reserve University is generally higher than 90%, and the diagnostic accuracy of XCN model is significantly higher than the other models.The recognition rates of XCN model in outer ring fault, inner ring fault, and ball fault are 99.2%, 99.7%, and 96.3%, respectively.By comparing XCN model with CapsNet, it can be seen that the former has higher diagnostic accuracy than the latter in the three fault types, which proves that Xception can help improve the classification accuracy of CapsNet.By comparing XCN model with the other four models, except in the outer ring fault diagnosis, the classification accuracy of SVM is 100% higher than XCN, and the classification accuracy of XCN is all higher than other methods.Therefore, it can be preliminarily concluded that XCN has certain advantages over other methods in bearing fault diagnosis.

72Experiment 2 (the test bearing data set of wind turbine gearbox in actual working conditions).For gearbox under the actual working conditions, there are always some mechanical working changes, such as speed and load.Due to the lack of reliable ability, these deep learning methods can only be effective under conditions similar to training data.In other words, these methods may fail if the working condition of the gearbox changes.

73In order to discuss the reliability of the XCN model and compare it with other deep learning methods, they were imported to the samples obtained from the wind turbine gearbox under actual working conditions to train and test.Table 3 is the parameters of a wind turbine gearbox under actual working conditions.

74Figure 16 is a real picture of three faults of a wind power gearbox.The sampling frequency is 5333Hz, and the gearbox transmission ratio is 113.4.The three fault types of wind turbine gearbox are shown in Figure 16.

75Firstly, the collected time-domain signals were transformed into time-frequency graphs through continuous wavelet time-frequency transformation.Secondly, the timefrequency graphs were imported into the XCN model after adjusting the pixel size.Finally, the same input was imported into other algorithms such as DWAE+ELM [23], CapsNet, MPE+ISVM+BT [22], AE+ES+CNN [26], and DBN [25] and tested the failure diagnosis performance of these methods.In this experiment, sixty percent of the adjusted timefrequency graphs were used for algorithm training and forty percent were used for testing.The experiment was repeated five times.Table 4 and Figure 17 show the fault identification rates of the three algorithms.

76It can be seen from Table 4 and Figure 17 that XCN model in these kinds of fault identification is obviously better than the other methods.In addition, XCN model in the recognition rate of outer ring fault and inner ring fault reached 98.7% and 97.2%, respectively, but the recognition rate of tapered roller fault is only 94.5%, which may be because the noise is too large and the time-frequency method is poor.By comparing the fault identification rates of these algorithms, it can be seen that the XCN model has great advantages in the fault identification of the wind turbine gearbox.Moreover, combined with the experiment in the previous section, it can be shown that the XCN model has a certain reliable ability rather than being limited to the working environment of the laboratory.

Conclusion

77This paper takes the intelligent diagnosis of bearing faults as the research object, combines the capsule neural network which belongs to the category of deep learning with the Xception module, and then applies it to the fault identification of the wind turbine gearbox.Firstly, the time-domain signals of faulty bearings provided by Case Western Reserve University were transformed into time-frequency graphs through a continuous wavelet transform of Morlet wavelet basis.Then, the pixel size of the time-frequency graphs was normalized and adjusted.Secondly, XCN model was trained to select better model parameters.Then, the trained XCN model was tested to study its classification effect.As can be seen from the above, the average classification accuracy is over 96%.Thirdly, the classification effect of XCN model on the fault of the wind turbine gearbox under actual working conditions was studied.And the average classification accuracy is over 94%, which shows the reliability of XCN model and provides a novel method for the fault diagnosis of the gearbox.Finally, other fault diagnosis algorithms based on big data were applied to the fault diagnosis of wind turbine gearbox.It can be seen from the experimental results that the classification accuracy of XCN model is significantly higher than other algorithms on the three fault types.By comparing CapsNet and CNN, it can be seen that, except for rolling fault diagnosis, CapsNet is obviously better than CNN in the other two types of fault diagnosis, which also indicates the inadequacy of such subjective operation as pooling.By comparing XCN and CapsNet, it can be seen that, among the three fault diagnoses, XCN is obviously better than CapsNet, which indicates that the Xception module is of great help to improve the classification accuracy.However, it can also be seen that, in terms of ball fault diagnosis and tapered roller fault, the classification accuracy of all algorithms is low, which may be related to the high noise caused by the harsh working environment of wind turbine gearbox or the weak ability of time-frequency conversion method to extract effective features.And it also points out the direction of future research.In the era of big data, there will be a great demand for intelligent fault diagnosis methods based on deep learning.With the development of deep learning, it will become the main method to solve the gearbox fault diagnosis.However, there are still many problems to be solved to improve the recognition rate and reliable ability of these algorithms.In future work, this topic is still a research focus.

Figure 1 :Figure 2 :

78Figure 1: Three-layer capsule neural network.

Figure 3 :Figure 4 :

79Figure 3: Inception module with 1×1 convolution.

Figure 5 :

80Figure 5: Xception module.

Figure 6 :

81Figure 6: Dynamic routing mechanism.

16 Figure 7 :

82Figure 7: Reconstruction mechanism.

Figure 8 :

83Figure 8: Intelligent fault diagnosis flow chart based on XCN.

Figure 9 :

84Figure 9: Experimental station of Case Western Reserve University.

Figure 10 :Figure 11 :

85Figure 10: Signal time-frequency graphs of the experimental station of Case Western Reserve University.

Figure 12 :

86Figure 12: Relationship between classification accuracy and iteration times.

( 4 )

87Selection of Weight Coefficients and .The weight value of the weight coefficient represents the size of the degree of punishment on the XCN model when the parameters are adjusted every time.And choosing the appropriate weight coefficient can enhance the robustness of the XCN

Figure 13 :

88Figure 13: Relationship between classification accuracy and the number of convolution kernels and the number of dimensional iterations.

Figure 14 :

89Figure 14: Relationship between classification accuracy and weight coefficients and .

Figure 15 :

90Figure 15: Average classification accuracy of different algorithms based on the test bearing data set of Western Reserve University.

Figure 16 :Figure 17 :

91Figure 16: Fault types of wind turbine gearbox under actual working condition.

Table 1 :

92Training accuracy and test accuracy of each type of fault.

Table 2 :

93Average classification accuracy of different algorithms.

Table 3 :

94Parameters of wind power gearbox under a certain actual working condition.

Table 4 :

95Average classification accuracy of different algorithms.

참고문헌 42건

  1. A new rolling bearing fault diagnosis method based on multiscale permutation entropy and improved support vector machine based binary tree Measurement · Elsevier BV · 2015 10.1016/j.measurement.2015.08.034
  2. Rolling element bearing diagnostics—A tutorial Mechanical Systems and Signal Processing · Elsevier BV · 2010 10.1016/j.ymssp.2010.07.017
  3. Condition monitoring and fault diagnosis of planetary gearboxes: A review Measurement · Elsevier BV · 2013 10.1016/j.measurement.2013.11.012
  4. Temperature drift modeling of MEMS gyroscope based on genetic-Elman neural network Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.11.004
  5. Optimal Wavelet Selection for the Size Estimation of Manufacturing Defects of Tapered Roller Bearings with Vibration Measurement using Shannon Entropy Criteria Strojniški vestnik – Journal of Mechanical Engineering · University of Ljubljana · 2016 10.5545/sv-jme.2016.3989
  6. A fault diagnosis scheme for planetary gearboxes using modified multi-scale symbolic dynamic entropy and mRMR feature selection Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2016.12.040
  7. Locally Stationary Wavelet Packet Processes: Basis Selection and Model Fitting Journal of Time Series Analysis · Wiley · 2017 10.1111/jtsa.12230
  8. Multi-Scale Permutation Entropy Based on Improved LMD and HMM for Rolling Bearing Diagnosis Entropy · Multidisciplinary Digital Publishing Institute · 2017 10.3390/e19040176
  9. Laplace wavelet transform theory and applications Journal of Vibration and Control · SAGE Publishing · 2017 10.1177/1077546317707103
  10. A convolutional neural network based feature learning and fault diagnosis method for the condition monitoring of gearbox Measurement · Elsevier BV · 2017 10.1016/j.measurement.2017.07.017
  11. Inception learning super-resolution Applied Optics · Optica Publishing Group · 2017 10.1364/ao.56.006043
  12. A Rolling Bearing Fault Diagnosis Method Based on Variational Mode Decomposition and an Improved Kernel Extreme Learning Machine Applied Sciences · Multidisciplinary Digital Publishing Institute · 2017 10.3390/app7101004
  13. Intelligent fault diagnosis of rolling bearing using deep wavelet auto-encoder with extreme learning machine Knowledge-Based Systems · Elsevier BV · 2017 10.1016/j.knosys.2017.10.024
  14. Forecasting stock index with multi-objective optimization model based on optimized neural network architecture avoiding overfitting Computer Science and Information Systems · ComSIS Consortium · 2017 10.2298/csis170125042t
  15. Resultant vibration signal model based fault diagnosis of a single stage planetary gear train with an incipient tooth crack on the sun gear Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.01.072
  16. Early fault diagnosis of rolling bearings based on hierarchical symbol dynamic entropy and binary tree support vector machine Journal of Sound and Vibration · Elsevier BV · 2018 10.1016/j.jsv.2018.04.036
  17. Reliable fault diagnosis of bearings with varying rotational speeds using envelope spectrum and convolution neural networks Soft Computing · Springer Science+Business Media · 2018 10.1007/s00500-018-3256-0
  18. Note: Parallel processing algorithm of temperature and noise error for micro-electro-mechanical system gyroscope based on variational mode decomposition and augmented nonlinear differentiator Review of Scientific Instruments · American Institute of Physics · 2018 10.1063/1.5037052
  19. Very Deep Convolutional Neural Networks for Complex Land Cover Mapping Using Multispectral Remote Sensing Imagery Remote Sensing · Multidisciplinary Digital Publishing Institute · 2018 10.3390/rs10071119
  20. The Adaptive Analysis of Shock Signals on the Basis of Improved Morlet Wavelet Clusters Shock and Vibration · Hindawi Publishing Corporation · 2018 10.1155/2018/9892713
  21. A CNN Accelerator on FPGA Using Depthwise Separable Convolution IEEE Transactions on Circuits & Systems II Express Briefs · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcsii.2018.2865896
  22. Retrieval of the Modes of Multicomponent Signals From Downsampled Short-Time Fourier Transform IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsp.2018.2875390
  23. Research on Fault Diagnosis of Gearbox with Improved Variational Mode Decomposition Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18103510
  24. Random forest based intelligent fault diagnosis for PV arrays using array voltage and string currents Energy Conversion and Management · Elsevier BV · 2018 10.1016/j.enconman.2018.10.040
  25. The Entropy Algorithm and Its Variants in the Fault Diagnosis of Rotating Machinery: A Review IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2873782
  26. Multi Scale Object Detection Based on Single Shot Multibox Detector with Feature Fusion and Inception Network The Journal of Korean Institute of Information Technology · Indonesian Institute of Information Technology · 2018 10.14801/jkiit.2018.16.10.93
  27. Temperature Energy Influence Compensation for MEMS Vibration Gyroscope Based on RBF NN‐GA‐KF Method Shock and Vibration · Hindawi Publishing Corporation · 2018 10.1155/2018/2830686
  28. Kernel regression residual decomposition-based synchroextracting transform to detect faults in mechanical systems ISA Transactions · Elsevier BV · 2018 10.1016/j.isatra.2018.12.004
  29. Fault diagnosis method of rolling bearing based on deep belief network Journal of Mechanical Science and Technology · Springer Science+Business Media · 2018 10.1007/s12206-018-1012-0
  30. Minimum entropy deconvolution based on simulation-determined band pass filter to detect faults in axial piston pump bearings ISA Transactions · Elsevier BV · 2018 10.1016/j.isatra.2018.11.040
  31. Comparative Study and Analysis of Pulse Rate Measurement by Vowel Speech and EVM Lecture notes in computational vision and biomechanics · Springer International Publishing · 2019 10.1007/978-3-030-00665-5_15
  32. Pole-Zero Temperature Compensation Circuit Design and Experiment for Dual-Mass MEMS Gyroscope Bandwidth Expansion IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tmech.2019.2898098
  33. A Novel Fault Diagnosis Method of Gearbox Based on Maximum Kurtosis Spectral Entropy Deconvolution IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2900503
  34. Research and application of improved adaptive MOMEDA fault diagnosis method Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.03.033
  35. Determine turntable coordinate system considering its non-orthogonality Review of Scientific Instruments · American Institute of Physics · 2019 10.1063/1.5084799
  36. Entropy Based Fault Classification Using the Case Western Reserve University Data: A Benchmark Study IEEE Transactions on Reliability · Institute of Electrical and Electronics Engineers · 2019 10.1109/tr.2019.2896240
  37. Application of Parameter Optimized Variational Mode Decomposition Method in Fault Diagnosis of Gearbox IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2909300
  38. Brain-Like Navigation Scheme based on MEMS-INS and Place Recognition Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9081708
  39. Attitude measurement based on imaging ray tracking model and orthographic projection with iteration algorithm ISA Transactions · Elsevier BV · 2019 10.1016/j.isatra.2019.05.009
  40. Application of an Improved Ensemble Local Mean Decomposition Method for Gearbox Composite Fault Diagnosis Complexity · Hindawi Publishing Corporation · 2019 10.1155/2019/1564243
  41. Tradeoffs Between Convergence Speed and Reconstruction Accuracy in Inverse Problems IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsp.2018.2791945
  42. Cost-Sensitive Learning of Deep Feature Representations From Imbalanced Data IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tnnls.2017.2732482