Skip to main content
. 2019 Mar 3;19(5):1088. doi: 10.3390/s19051088
Algorithm 1 General Procedure of the Proposed Method
Input: Given the bearing dataset composed of vibration signal samples, the architecture and hyper-parameters of the proposed CNN and the RF classifier
Output: The diagnostic results, and the testing accuracy and efficiency
Step 1: Generate the training dataset and the test dataset
1.1: Obtain the spectrums of n vibration signal samples for training and m samples for testing using the signal-to-image conversion method.
1.2: Use the spectrums to generate the training dataset Xs and the test dataset Xt.
Step 2: Construct and train the CNN for multi-level features extraction
2.1 Construct the CNN and initialize the parameters θ{W,b} (weight vectors and bias) of the CNN randomly.
2.2 Train the CNN on the training dataset Xs, calculate the outputs of layers in the CNN using Equations (1)–(4).
2.3 Calculate the outputs of the output layer and the loss function of softmax classifier using Equations (9) and (10).
2.4 Optimize the parameters θ{W,b} through minimizing the Equation (10) using the mini-batch stochastic gradient descent method.
2.5 Repeat (2.2)–(2.4) until meeting the training requirements, and finish the training process of the CNN.
2.6 Extract the features x2, x4, x5 in layer S2, S4 and FC5 from the trained CNN, and xj donates the output feature map of jth level.
Step 3: Use multi-level features to train multiple RF classifiers
3.1 Use the extracted features x2, x4, x5 to train the classifiers RF1, RF2, RF3, respectively.
3.2 Output the diagnostic results of three RF classifiers separately.
Step 4: Output the final result using the ensemble method
Aggregate the outputs of three RF classifiers with the winner-take-all ensemble strategy to output the final diagnostic result.
Step 5: Validate the performance of the proposed method
Validate the performance of the proposed method on test dataset Xt and output the testing accuracy and efficiency of the proposed method