<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1108845</article-id><article-id pub-id-type="publisher-id">OALibJ-117858</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Bearing Fault Diagnosis Based on Wavelet Transform and Convolutional Neural Network
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chenxue</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xiaoqi</surname><given-names>Yin</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jiaxue</surname><given-names>Chen</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Hang</surname><given-names>Yang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Li</surname><given-names>Hong</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Faculty of Electronic Information Engineering, Huaiyin Institute of Technology, Huai’an, China</addr-line></aff><pub-date pub-type="epub"><day>30</day><month>05</month><year>2022</year></pub-date><volume>09</volume><issue>06</issue><fpage>1</fpage><lpage>14</lpage><history><date date-type="received"><day>5,</day>	<month>May</month>	<year>2022</year></date><date date-type="rev-recd"><day>14,</day>	<month>June</month>	<year>2022</year>	</date><date date-type="accepted"><day>17,</day>	<month>June</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Rolling bearings are the most prone to failures in mechanical equipment, and the vibration signal is unstable. Therefore, according to this characteristic of the bearing, the time-frequency characteristics of the bearing vibration signal are adaptively extracted. This paper proposes a wavelet transform-based method. And the bearing fault diagnosis method of convolutional neural network realizes intelligent diagnosis. Firstly, the fault signal of the rolling bearing is converted into a wavelet time-frequency map by using wavelet transform, and it is divided into training set samples and test set samples. Secondly, the experimental samples are input into the constructed convolutional neural network model for training, and the training continues updating the network parameters; finally, the training results and accuracy are obtained by testing. The experimental results show that 100% accuracy can be obtained by inputting the wavelet time-frequency map of vibration signal into the convolution neural network model for classification. The results prove the feasibility, stability and convenience of this method in fault diagnosis.
 
</p></abstract><kwd-group><kwd>Roller Bearing</kwd><kwd> Fault Diagnosis</kwd><kwd> Continuous Wavelet Transform</kwd><kwd> Convolution Neural Network</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Rolling bearings are at the core of mechanical equipment. In the modern manufacturing industry, machinery and equipment are developing in the direction of intelligence and automation. Under the influence of various factors, rolling bearings are very easy to damage and fail. The faulty rolling bearing directly affects the operation of the entire machinery and equipment. More seriously in this case, it will also cause damage to the entire machinery and equipment.</p><p>If the rolling bearing fails, it is very likely to be the cause of many accidents, that is, when the bearing fails, many accidents may occur. Therefore, the study of bearing failure is of great significance to improve the stability of mechanical equipment operation and the safety of personnel.</p><p>At present, more and more scholars have begun to study fault diagnosis. With the development of technology, researchers began to develop in the direction of intelligence on the basis of traditional signal processing and proposed more intelligent diagnosis methods. At present, the research methods of fault diagnosis mostly take extracting the characteristics of fault vibration signal as the main research means for fault data analysis. The methods of extracting characteristics mainly include fast Fourier transform, short-time Fourier transform, time-frequency analysis, etc. The difficulty of this kind of method mainly lies in how to extract more fault features faster and more effectively.</p><p>With the development of artificial intelligence technology, the method of fault diagnosis has further developed to the intelligent fault diagnosis method with deep learning as an important means. Zhang Wei et al. [<xref ref-type="bibr" rid="scirp.117858-ref1">1</xref>] used the concept of superconvolution kernel and subconvolution kernel to design a new parallel cross-DCNN (PC-DCNN) model to realize bearing fault diagnosis under noisy environment and different workloads; Shao Haidong et al. [<xref ref-type="bibr" rid="scirp.117858-ref2">2</xref>] proposed a deep wavelet autoencoder (DWAE) method based on extreme learning machine for the problem of unsupervised feature learning of raw vibration data, which was applied to the analysis of experimental bearing vibration signals; Li Heng [<xref ref-type="bibr" rid="scirp.117858-ref3">3</xref>] aiming at the vibration signal of rolling bearing with strong non-stationarity and easy interference by strong background noise, a fault diagnosis method based on short-time Fourier transform and convolutional neural network was proposed, which realized end-to-end fault pattern recognition; Chen Renxiang et al. [<xref ref-type="bibr" rid="scirp.117858-ref4">4</xref>] proposed a fault diagnosis method for rolling bearing faults based on convolutional neural network and discrete wavelet transform for the self-adaptive extraction of time-frequency features and intelligent diagnosis of rolling bearing fault diagnosis; Sun Yan et al. [<xref ref-type="bibr" rid="scirp.117858-ref5">5</xref>] based on the accuracy of bearing fault diagnosis, combined with the time-frequency domain characteristics of vibration signals, proposed an improved capsule network diagnosis method in time-frequency domain.</p><p>The convolutional neural network has good accuracy in the recognition and classification of one-dimensional data and two-dimensional images. In this paper, a lightweight convolution neural network model is adopted. The bearing fault data are preprocessed by means of wavelet transform and data set enhancement. After being transformed into a time domain diagram, it is used as the training sample of a neural network to achieve high fault diagnosis accuracy.</p></sec><sec id="s2"><title>2. Wavelet Transform</title><p>Wavelet transform is often used to analyze the time-scale of signals [<xref ref-type="bibr" rid="scirp.117858-ref6">6</xref>]. It is a commonly used scientific research mathematical tool after Fourier transform in recent years, and has the characteristics of multi-resolution analysis.</p><p>The “permissive” condition is an important condition that restricts the reversibility of wavelets. Wavelet transform is only meaningful within a limited window, beyond the limit of the window, the functions are all zero, that is to say, the definition domain of wavelet transform is only partially non-zero [<xref ref-type="bibr" rid="scirp.117858-ref7">7</xref>]. The so-called wavelet transform means that the components it contains have no direct current trend at all, but are in the form of an oscillating wave.</p><p>ψ ( t ) is a wavelet mother function, which needs to satisfy the conditions of tolerance, limited energy and zero mean [<xref ref-type="bibr" rid="scirp.117858-ref8">8</xref>], which are respectively shown by Equations (1.1)-(1.3):</p><p>ψ ( t ) ↔ ψ ( ω ) (1.1)</p><p>C φ = ∫ − ∞ ∞ | ψ ( ω ) | 2 | ω | d ω &lt; ∞ (1.2)</p><p>ψ ( 0 ) = ∫ − ∞ ∞ ψ ( t ) d t = 0 (1.3)</p><p>When the above conditions are met, assuming the original signal is x(t), the continuous wavelet transform and inverse transform of the signal x(t) can be defined as:</p><p>C ( τ , a ) = 1 a ∫ − ∞ ∞ x ( t ) ψ * ( t − τ a ) d t (1.4)</p><p>x ( t ) = 1 C ψ ∬ C ( τ , a ) 1 a 2 ψ ( t − τ a ) d τ d a (1.5)</p><p>In Formulas (1.4) and (1.5), the scale factor is represented by a, and the condition of a &gt; 0 must be satisfied; in the formula, the displacement is reflected by τ, and there is no positive or negative requirement; because a and τ are both continuous variables, so also known as Continuous Wavelet Transform (CWT) [<xref ref-type="bibr" rid="scirp.117858-ref9">9</xref>].</p><p>The continuous wavelet time-frequency diagram can reflect the characteristics of the signal, and the frequency of the signal at different times can be seen in the diagram. Converting the signal into a wavelet time-frequency diagram is more convenient for signal processing and analysis. The wavelet transform is the time-scale analysis of the signal, that is, the transformation of the signal from the time domain to the scale domain. Therefore, it is necessary to obtain the frequency solution corresponding to the signal scale by Equation (1.6) to plot the frequency and wavelength diagram of the signal, namely the wavelet time-frequency diagram.</p><p>F a = F c f s a (1.6)</p><p>In the Formula (1.6), F<sub>c</sub> represents half of the wavelet characteristics and is the center frequency of the wavelet. The sampling frequency of the signal is represented by f<sub>s</sub> in the formula, and the actual frequency corresponding to a is represented by F<sub>a</sub> [<xref ref-type="bibr" rid="scirp.117858-ref10">10</xref>].</p></sec><sec id="s3"><title>3. Convolutional Neural Networks</title><sec id="s3_1"><title>3.1. Principle of Convolutional Neural Network</title><p>Convolutional Neural Networks are a versatile type of neural network. The input layer, convolutional layer, pooling layer, fully connected layer, and output layer make up the convolutional neural network [<xref ref-type="bibr" rid="scirp.117858-ref11">11</xref>]. The local connection conforms to the sparse response of biological neurons and can be used as the connection method of CNN, which reduces the size parameters of the convolutional neural network model to a certain extent, and can also reduce the dependence on training data [<xref ref-type="bibr" rid="scirp.117858-ref12">12</xref>].</p><p>Convolution layer: The combination of many convolution kernels finally forms a convolution layer. The convolution operation can denoise the signal and enhance the features of the signal [<xref ref-type="bibr" rid="scirp.117858-ref13">13</xref>].</p><p>Convolutional layer gradient calculation:</p><p>x j l = f ( ∑ i ∈ M j x i l − 1 ∗ w i j l + b i l ) (2.1)</p><p>x j l represents the jth feature map of the convolutional layer l, the activation function is represented by f, and M<sub>j</sub> represents the set of input features [<xref ref-type="bibr" rid="scirp.117858-ref14">14</xref>].</p><p>When the matrix size of the input convolution layer is w &#215; w, the size of the convolution kernel in the convolution layer is k &#215; k, the stride is s, and the padding value is p, then the calculation of the image size is generated after convolution formula:</p><p>w ′ = w + 2 p − k s + 1 (2.2)</p><p>Pooling layer, also known as the downsampling layer, can effectively control overfitting. After the convolutional layer, there will be a downsampling layer, and the purpose is to reduce the parameter amount of the feature map obtained by the convolution. There are two types of pooling layers. When the pooling core moves to an area, the maximum pooling layer (Max Pooling) is to take the maximum value of the area, and the average pooling layer (Mean Pooling) is to take the average value of the area. The pooling kernel is equivalent to a filter in the pooling layer, and the purpose is to make the features more concentrated.</p><p>Fully connected layer: The main function of the fully connected layer is classification. The full connection connects all nodes in the n − 1 layer with all the nodes in the n layer, that is, integrates the features extracted by the previous convolution, and then uses Softmax logistic regression for classification.</p></sec><sec id="s3_2"><title>3.2. MobileNet</title><p>At present, most neural networks run on servers with strong computing power, but huge networks cannot run on ordinary computers or mobile terminals. Due to the limited computing power of mobile devices, the MobileNet neural network is proposed for this problem.</p><p>The main idea of MobileNet-V1 is to use Depthwise Separable Convolution [<xref ref-type="bibr" rid="scirp.117858-ref15">15</xref>] instead of convolutional layers. Depthwise Separable Convolution is a depthwise separable convolution. Depthwise separable convolution is mainly used in model compression. It replaces the original cross-channel 3 &#215; 3 convolution operation with a single-channel 3 &#215; 3 convolution plus 1 &#215; 1 convolution. A comparison of traditional convolutional layers and depthwise separable convolutions is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>The traditional convolution layer is to convolve the three RGB channels at the same time, and the image with the number of channels M is convolved to obtain a feature map with the number of channels N. The traditional convolution operation uses N different A &#215; A &#215; M to traverse the input feature map in the form of a sliding window, and the number of convolution kernel parameters of size A &#215; A is A &#215; A &#215; M &#215; N.</p><p>In MobileNet, the convolution is divided into two parts: depthwise convolution and pointwise convolution. Depthwise sets convolution kernels for each channel of the input feature map respectively, and these convolution kernels only work in this channel [<xref ref-type="bibr" rid="scirp.117858-ref16">16</xref>]. Because the multi-channel of convolution is abandoned, the number of parameters of Depthwise is A &#215; A &#215; M. Pointwise convolution can use 1 &#215; 1 convolution to operate, mainly to increase and decrease dimension or to perform feature fusion, so the parameter quantity is M &#215; N &#215; B &#215; B [<xref ref-type="bibr" rid="scirp.117858-ref17">17</xref>]. Therefore, the ratio of efficiency improvement can be calculated according to the above theory, as shown in Formula (2.3):</p><p>A A M B B + M N B B A A M N B B = 1 N + 1 A 2 (2.3)</p><p>The number of input feature channels in the formula is M, the size of the convolution kernel is A in the formula, the number of 1 &#215; 1 convolution kernels is N, and B &#215; B represents the size of the output feature map of the convolution layer.</p><p>From Formula (2.3), assuming that a 3 &#215; 3 convolution is input, the parameter and calculation amount of MobileNet is about 1/8 of that of ordinary convolution.</p><p>The activation function adopted by MobileNet-V1 limits the maximum output value to 6, which is the ReLU6 activation function, as shown in Formula (2.4).</p><p>f ( x ) = min ( max ( 0 , x ) , 6 ) (2.4)</p><p>This article adopts the MobileNet-V2 [<xref ref-type="bibr" rid="scirp.117858-ref18">18</xref>] structure. The difference from MobileNet-V1 is that the MobileNet-V2 structure adds a 1 &#215; 1 convolutional layer to the Depthwise convolution, the purpose of which is to “expand” the channel. As the number increases, more features can be obtained. And at the end of the structure, linear structure is used instead of ReLu to prevent it from destroying the characteristics. And learned the structure of the residual network in the network, and finally formed a linear bottlenecks structure, as shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p></sec></sec><sec id="s4"><title>4. Experimental Tests</title><sec id="s4_1"><title>4.1. Experimental Dataset</title><p>The data used in this experiment is the experimental data of the 6205-2RS JEM SKF bearing in the Western Reserve University rolling bearing experiment. The platform consists of a 1.5 KW electric motor; a torque sensor/decoder; a power test meter and an electronic controller [<xref ref-type="bibr" rid="scirp.117858-ref19">19</xref>]. The bearing damage in the experiment is a single point damage by EDM; the bearing damage is a single point damage by EDM; SKF bearings are used to detect damage with diameters of 0.007, 0.014, and 0.021 inches respectively; when testing the vibration signal of the bearing The acceleration sensor is used, the motor speed is 1796 rpm, the load horsepower of the motor is 0 HP, the sampling frequency is 12 kHz, and the number of rolling elements is 9.</p><p>In this experiment, the bearing data of Western Reserve University is divided into 10 categories according to different fault sizes and faults in different positions, each category includes 1000 samples, and they are divided into training samples and test samples according to the ratio of 4:1. The experimental data are shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p><xref ref-type="table" rid="table2">Table 2</xref> shows the structural parameters of the bearing 6205-2RS JEM SKF in the experiment.</p><p>The empirical formula for failure frequency is:</p><p>Inner ring fault frequency:</p><p>f i = 0.6 &#215; Z &#215; f r (3.1)</p><p>Outer ring fault frequency:</p><p>f o = 0.4 &#215; Z &#215; f r (3.2)</p><p>Cage failure frequency:</p><p>f c = 0.381 − 0.4 &#215; f r (3.3)</p><p>Rolling element failure frequency:</p><p>f b = 0.23 &#215; Z &#215; f r ( Z &lt; 10 ) ;   f b = 0.18 &#215; Z &#215; f r ( Z &gt; 10 ) (3.4)</p><p>Among them, f<sub>r</sub> is the rotation frequency, and Z is the number of rolling elements. The failure frequency of the rolling bearing can be calculated from the above empirical formula, as shown in <xref ref-type="table" rid="table3">Table 3</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Data sheet of 6205 SKF rolling bearing</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Fault size/mm</th><th align="center" valign="middle" >file name</th></tr></thead><tr><td align="center" valign="middle" >Normal Baseline Data</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >97</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >Outer Race Position Relative to Load Zone (Load Zone Centered at 6:00)</td><td align="center" valign="middle" >0.1778</td><td align="center" valign="middle" >130</td></tr><tr><td align="center" valign="middle" >0.3556</td><td align="center" valign="middle" >197</td></tr><tr><td align="center" valign="middle" >0.5334</td><td align="center" valign="middle" >234</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >Ball</td><td align="center" valign="middle" >0.1778</td><td align="center" valign="middle" >118</td></tr><tr><td align="center" valign="middle" >0.3556</td><td align="center" valign="middle" >185</td></tr><tr><td align="center" valign="middle" >0.5334</td><td align="center" valign="middle" >222</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >Inner Race</td><td align="center" valign="middle" >0.1778</td><td align="center" valign="middle" >105</td></tr><tr><td align="center" valign="middle" >0.3556</td><td align="center" valign="middle" >169</td></tr><tr><td align="center" valign="middle" >0.5334</td><td align="center" valign="middle" >209</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Bearing parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Inside Diameter</th><th align="center" valign="middle" >Outside Diameter</th><th align="center" valign="middle" >Thickness</th><th align="center" valign="middle" >Ball Diameter</th><th align="center" valign="middle" >Pitch Diameter</th></tr></thead><tr><td align="center" valign="middle" >25</td><td align="center" valign="middle" >52</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >7.94</td><td align="center" valign="middle" >39.04</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Bearing failure frequency</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Inner race fault frequency/Hz</th><th align="center" valign="middle" >Outer race fault frequency/Hz</th><th align="center" valign="middle" >Cage failure frequency/Hz</th><th align="center" valign="middle" >Rolling element failure frequency/Hz</th></tr></thead><tr><td align="center" valign="middle" >162.1860</td><td align="center" valign="middle" >107.3640</td><td align="center" valign="middle" >11.9293</td><td align="center" valign="middle" >70.5838</td></tr></tbody></table></table-wrap><p><xref ref-type="fig" rid="fig3">Figure 3</xref> is the signal time-domain diagram of different parts of the bearing in the experiment when faults occur under different conditions. The signal time-domain diagram is the original signal time-domain diagram obtained from the data in the bearing data set after time-domain transformation. From the time domain diagram of the signal in <xref ref-type="fig" rid="fig3">Figure 3</xref>, it can be found that it is difficult to accurately determine the fault location of the bearing and the type of the bearing failure only by relying on the time domain diagram of the fault signal.</p></sec><sec id="s4_2"><title>4.2. Network Model Parameters</title><p>The core of mobilenet-v2 adopted in this paper consists of 17 bottlenecks. The network model of mobilenet-v2 is shown in <xref ref-type="table" rid="table4">Table 4</xref>, where t refers to the dimension extended in the residual block. C is the dimension of the output, which can be used to judge the number of convolution kernels. S is the step size of convolution, and N is that the current line operation is repeatedly applied N times.</p></sec><sec id="s4_3"><title>4.3. Experimental Process</title><p>The software used in this article includes Python3.9.2, MatLab R2017b and Origin 2019b, the operating system is Windows 10, the processor of the experimental environment is AMD Ryzen 7 4800H with Radeon Graphics 2.90 GHz, and the memory is 16 GB.</p><p>This experiment adopts the bearing fault diagnosis method of wavelet transform and convolutional neural network. First, the data in the bearing data set of Western Reserve University is converted into a wavelet time-frequency map by using the MatLab software, and then there are 1000 samples for each fault, a total of ten faults, and the total number of samples reaches 10,000. According to the 4:1 ratio The ratio is divided into training test set and verification test set, input the training test set into the built convolutional neural network model, set 0.001 as the learning rate of the training parameters of this experiment, the loss function uses cross entropy, the training period is set to 100, update the network model, input the validation test set into the trained network model, get the accuracy rate, and finally perform image prediction to get the accuracy rate.</p><p>Because the experimental data set used in this experiment is large, too many or too few samples will have an impact on the accuracy of the experiment. Therefore, it is necessary to find an appropriate number of batch samples to improve the accuracy of the experiment and the efficiency of the experiment to a great extent [<xref ref-type="bibr" rid="scirp.117858-ref20">20</xref>]. In this paper, the number of four batch samples is set, and the experiments are carried out in turn. The diagnostic results are shown in <xref ref-type="table" rid="table5">Table 5</xref>.</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Mobilenet-v2 network model parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Input</th><th align="center" valign="middle" >Operator</th><th align="center" valign="middle" >t</th><th align="center" valign="middle" >c</th><th align="center" valign="middle" >n</th><th align="center" valign="middle" >s</th></tr></thead><tr><td align="center" valign="middle" >2242 &#215; 3</td><td align="center" valign="middle" >Conv2d</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >32</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >1122 &#215; 32</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >1122 &#215; 16</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >24</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >562 &#215; 24</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >32</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >282 &#215; 32</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >64</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >142 &#215; 64</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >96</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >142 &#215; 96</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >160</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >72 &#215; 160</td><td align="center" valign="middle" >bottleneck</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >320</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >72 &#215; 320</td><td align="center" valign="middle" >Conv2d 1 &#215; 1</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >1280</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >72 &#215; 1280</td><td align="center" valign="middle" >Avgpool 7 &#215; 7</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >-</td></tr><tr><td align="center" valign="middle" >1 &#215; 1 &#215; 1280</td><td align="center" valign="middle" >Conv2d 1 &#215; 1</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >k</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> The influence of batch sample number on accuracy</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Number of batch samples</th><th align="center" valign="middle" >Average diagnostic accuracy &#215; 100%</th><th align="center" valign="middle" >Average training time/s</th></tr></thead><tr><td align="center" valign="middle" >16</td><td align="center" valign="middle" >99.63</td><td align="center" valign="middle" >2.75</td></tr><tr><td align="center" valign="middle" >32</td><td align="center" valign="middle" >98.39</td><td align="center" valign="middle" >1.34</td></tr><tr><td align="center" valign="middle" >64</td><td align="center" valign="middle" >98.35</td><td align="center" valign="middle" >1.13</td></tr><tr><td align="center" valign="middle" >128</td><td align="center" valign="middle" >97.39</td><td align="center" valign="middle" >0.89</td></tr></tbody></table></table-wrap><p>It can be seen from the table that when the number of batch samples is 32, the accuracy reaches the highest, and the average training time is close to the best result, so the number of batch samples in this model is 32.</p></sec><sec id="s4_4"><title>4.4. Experimental Results and Analysis</title><p>The experimental model selected GoogLeNet, VGG16 model and MobileNet model for comparison, and input the processed wavelet time-frequency map into the above model for training. The training parameters of the three network models are all set to a learning rate of 0.001, the loss function uses cross entropy, the training period is set to 100, and each batch of training images is 32. During the training process, the loss rate and accuracy rate are recorded every time the model completes one cycle of training. The final training accuracy and loss rate of the three models are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>It can be seen from the above figure that the loss rate of MobileNet is kept below 0.25, the accuracy rate can be kept above 0.97, and the fluctuation of the curve is small. The loss rate of VGG16 starts from about 1.5 and drops to close to 0, and the accuracy rate can also be maintained. Above 0.97, the fluctuation range of the curve is larger than that of MobileNet. The loss rate of GoogleNet starts from about 2.5 and drops below 0.25, and the accuracy rate increases from about 0.8 to more than 0.97, which is the largest fluctuation. In terms of loss</p><p>rate, the loss rate of VGG is relatively high at the beginning of training, but after several iterations, the loss rate is close to 0, which is better than that of GoogLeNet and MobileNet; in terms of accuracy, the accuracy rate of MobileNet is not only high, but the basic accuracy rate can reach 1 (<xref ref-type="table" rid="table6">Table 6</xref>). The accuracy rate is still very stable, significantly better than the VGG16 and GoogLeNet models. Therefore, on the whole, the MobileNet model, as a lightweight network model, is superior to the other two networks in terms of loss rate and accuracy.</p><p>Select an inner ring fault data with a speed of 1797 rpm and 0.18 mm from the bearing data set of Western Reserve University, convert it into a wavelet time-frequency map through MatLab, and input it into the built MobileNet model for prediction, as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. As shown, it can be seen that the prediction accuracy can reach 0.956.</p><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Experimental results of different networks</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Networks</th><th align="center" valign="middle" >accuracy/%</th></tr></thead><tr><td align="center" valign="middle" >MobileNet</td><td align="center" valign="middle" >100</td></tr><tr><td align="center" valign="middle" >GoogLeNet</td><td align="center" valign="middle" >99.98</td></tr><tr><td align="center" valign="middle" >VGG16</td><td align="center" valign="middle" >99.86</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Conclusion</title><p>This paper proposes a bearing fault diagnosis method based on wavelet transform and convolutional neural network. Firstly, the fault signal data of the bearing is converted into a signal time-frequency map by the method of the wavelet transform, and then the convolutional neural network MobileNet network model is used to carry out parameter training and learning to avoid the tedious and complex process of traditional signal processing and relies on the characteristics of personnel experience, which effectively reduces the difficulty in the fault diagnosis process and enhances the intelligence of the diagnosis process. The training results also demonstrate the accuracy and stability of this method. However, there are still many areas for improvement and further research in this method. In the experiment of this paper, the choice of parameters will have a great impact on the experimental results when the algorithm comparison experiment is carried out. In the following experiments, you can try to optimize the parameters with better effect to obtain a better network structure model, and explore the relationship between the experimental results and the changed parameters.</p></sec><sec id="s6"><title>Acknowledgements</title><p>Thanks for the support and help from the teachers and the project team in the process of writing the thesis.</p></sec><sec id="s7"><title>Availability of Data and Materials</title><p>Case Western Reserve University Bearing Failure Dataset:</p><p>Download a Data File|Case School of Engineering|Case Western Reserve University</p></sec><sec id="s8"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest.</p></sec><sec id="s9"><title>Cite this paper</title><p>Li, C.X., Yin, X.Q., Chen, J.X., Yang, H. and Hong, L. (2022) Bearing Fault Diagnosis Based on Wavelet Transform and Convolutional Neural Net- work. Open Access Library Journal, 9: e8845. https://doi.org/10.4236/oalib.1108845</p></sec></body><back><ref-list><title>References</title><ref id="scirp.117858-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, W., Li, C.H., Peng, G.L., et al. (2018) A Deep Convolutional Neural Network with New Training Methods for Bearing Fault Diagnosis under Noisy Environment and Different Working Load. Mechanical Systems and Signal Processing, 100, 439-453. https://doi.org/10.1016/j.ymssp.2017.06.022</mixed-citation></ref><ref id="scirp.117858-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Shao, H.D., Jiang, H.K., Li, X.Q., et al. (2018) Intelligent Fault Diagnosis of Rolling Bearing Using Deep Wavelet Auto-Encoder with Extreme Learning Machine. Knowledge-Based Systems, 140, 1-14. https://doi.org/10.1016/j.knosys.2017.10.024</mixed-citation></ref><ref id="scirp.117858-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Li, H., Zhang, Q., Qin, X.R. and Sun, Y.T. (2018) Bearing Fault Diagnosis Method Based on Short-Time Fourier Transform and Convolutional Neural Network. Vibration and Shock, 37, 124-131.</mixed-citation></ref><ref id="scirp.117858-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Chen, R.X., Huang, X., Yang, L.X., Tang, B.P., Yu, T.W. and Zhou, J. (2018) Fault Diagnosis of Rolling Bearings Based on Convolutional Neural Network and Discrete Wavelet Transform. Chinese Journal of Vibration Engineering, 31, 883-891.</mixed-citation></ref><ref id="scirp.117858-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Sun, Y. and Peng, G.L. (2021) Bearing Fault Diagnosis Based on Improved Capsule Network in Time-Frequency Domain. Combined Machine Tool and Automated Machining Technology, No. 2, 6-8+13.</mixed-citation></ref><ref id="scirp.117858-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Duan, C.D. and Zhang, R. (2019) Fault Diagnosis of Locomotive Bearings Based on Improved Empirical Wavelet Transform. China Mechanical Engineering, 30, 631-637.</mixed-citation></ref><ref id="scirp.117858-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Li, Y.H., Wang, G.T., Lu Shuang, L., et al. (2016) Vibration Experiment Analysis of Loose Transformer Windings. Noise and Vibration Control, 36, 34-37.</mixed-citation></ref><ref id="scirp.117858-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Xu, Y.G., Meng, Z.P. and Zhao, G.L. (2014) Research on Bearing Composite Fault Diagnosis Based on Double Tree Complex Wavelet Transform. Journal of Instrument and Instrument, 35, 447-452.</mixed-citation></ref><ref id="scirp.117858-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Wen, B.H., Sun, L.J. and Yu, H.F. (2008) Application of Multi-Scale Wavelet Analysis in Fault Diagnosis of Coal Mine Main Fan. Journal of Xi’an University of Science and Technology, 28, 638-642.</mixed-citation></ref><ref id="scirp.117858-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Qian, G.C., Zhao, Z.Y., Zou, D.X., Liu, H.W., Li, C.X. and Yao, C.G. (2017) Detection of Transformer Winding Deformation Fault Types Based on Continuous Wavelet Transform. High Voltage Technology, 43, 2016-2023.  
https://doi.org/10.1109/ICMA.2016.7558853</mixed-citation></ref><ref id="scirp.117858-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Zhou, J.Y. and Zhao, Y.M. (2017) Review of Convolutional Neural Networks in Image Classification and Object Detection. Computer Engineering and Applications, 53, 34-41.</mixed-citation></ref><ref id="scirp.117858-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Lou, J.Y., Nan, G.F. and Song, C.C. (2021) Fault Diagnosis of Rolling Bearing Based on Wavelet Packet Decomposition and Convolutional Neural Network. Journal of Light Industry, 36, 79-87.</mixed-citation></ref><ref id="scirp.117858-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Li, C.J., Li, F.C. and Liu, J.F. (2019) Recognition of Digital Verification Code Based on Convolutional Neural Network. Electronic Design Engineering, 27, 107-111.</mixed-citation></ref><ref id="scirp.117858-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Li, D.J., Guo, H.T., Zhang, B.M., Zhao, C., Lu, J. and Yu, D.X. (2020) Feature Extraction from Remote Sensing Images Combined with Dual Vision Fully Convolutional Networks. Chinese Journal of Image Graphics, 25, 535-545.</mixed-citation></ref><ref id="scirp.117858-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Chollet, F. (2017) Xception: Deep Learning with Depthwise Separable Convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, 21-26 July 2017, 1251-1258.  
https://doi.org/10.1109/CVPR.2017.195</mixed-citation></ref><ref id="scirp.117858-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, Y.Y., Zhang, S., Zhang, Y., Ji, J.M., Duan, Y.F., Huang, Y.T., Peng, J. and Zhang, Y.X. (2020) Autonomous Driving Perception and Computing Based on Multimodal Fusion. Computer Research and Development, 57, 1781-1799.</mixed-citation></ref><ref id="scirp.117858-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, Z.H. and Wang, R. (2020) Improved Face Recognition Method Based on MobileFaceNet Network. Journal of Beijing University of Aeronautics and Astronautics, 46, 1756-1762.</mixed-citation></ref><ref id="scirp.117858-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Sandler, M., Howard, A., Zhu, M., et al. (2018) Mobilenetv2: Inverted Residuals and Linear Bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, 18-23 June 2018, 4510-4520.  
https://doi.org/10.1109/CVPR.2018.00474</mixed-citation></ref><ref id="scirp.117858-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Chen, C.Z. and Wei, W. (2020) Extraction of Faulty Weak Signals Based on Improved LMD and Wavelet Packet Noise Reduction. Mechanical Design and Manufacturing, No. 1, 165-168+172.</mixed-citation></ref><ref id="scirp.117858-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Chen, J.X., Yin, X.Q., Li, C.X., Yang, H. and Hong, L. (2020) One-Dimensional Convolutional Neural Network Based Bearing Fault Diagnosis. Open Access Library Journal, 9, 1-11. https://doi.org/10.4236/oalib.1108644</mixed-citation></ref></ref-list></back></article>