Abstract
Keywords
Introduction
A roller bearing is a sort of key mechanical component, and it is meaningful to propose an efficient fault diagnosis technique for its reliability. The basic process of fault diagnosis involves data collection, feature extraction, and diagnostic model. 1 Vibration signal processing is widely used because it is sensitive to structural dynamic condition variation. 2 Therefore, it is feasible to extract features from vibration signals with efficient techniques.
As to the step of feature extraction, the non-linear feature is distinct due to many non-linear factors when roller bearing is working. 3 For this reason, the linear-based processing methods are not able to process vibration signals accurately. Some non-linear analytical techniques offer a feasible way in signal processing of roller bearing considering the non-linear character, such as information entropy analysis 4 and fractal dimensions. 5 Among the non-linear analytical techniques, the mathematical morphological particle analysis is able to describe the shape changing information on different scales, and it is apt to analyze the signal essence on different levels. 6 This method is widely used in image feature description, image segmentation, and image restoration,7,8 in addition to this field, there are still some studies in fault feature extraction.9,10 Pattern spectrum (PS) using opening operator is usually adopted in mechanical signal based on mathematical morphological particle analysis. Morphological erosion operator is introduced, and a new definition of improved pattern spectrum (IPS) is proposed for feature extraction by contrast with traditional PS.
As to the step of diagnostic method, typical artificial neural network (ANN) needs sufficient samples which are not practical. 11 Support vector machine (SVM) is proposed based on statistical learning theory, and it is able to obtain an optimal solution. 12 In order to get high accuracy with small sample number, SVM is brought into machine fault diagnosis.13–15 In view of the influence from the parameters for the effect of SVM, 16 typical algorithms have been introduced in this field, such as particle swarm optimization (PSO) and genetic algorithm (GA) algorithm.17–21 In order to get an optimal combination, fruit fly optimization algorithm (FOA) is introduced in parameters optimizing of SVM in this article.
In conclusion, a diagnostic method is developed based on IPS and fruit fly optimization algorithm–support vector machine (FOA-SVM). First, vibrating signal is processed based on IPS method and forming an efficient feature. And then, five statistic parameters are calculated as the feature sets. Finally, SVM is optimized with FOA, and the faulty samples can be identified with this model. The proposed method is verified by roller bearing vibration data including different fault types.
This article is organized as follows. In section “Theory of PS,” theory of PS is briefly introduced. In section “Proposition of feature extraction based on IPS,” feature extraction based on IPS is proposed. In section “Fault diagnosis flow using IPS and SVM,” the fault diagnosis flow using IPS and SVM is given, and in section “Application and discussion,” the proposed method is verified and the results are discussed. Finally, the conclusion of this article is given in section “Conclusion.”
Theory of PS
PS is used based on mathematical morphological particle analysis, which is an effective way in dealing with image granularity and shape features. The main idea is that analyzing images using structuring elements with different sizes and shapes to get the internal characteristics finally.
Mathematical morphological particle analysis is defined as follows. It is a set of image transformations meeting the following three conditions
Among the four basic mathematical operators, opening operation is able to meet the above three conditions so that mathematical morphological particle analysis is usually applied based on opening operator. Assuming that
Mathematical morphological particle analysis is defined as
PS is introduced using the definition above, and it is a form of curve presenting mathematical particle size distribution. The change information for different
When analyzing one-dimensional discrete signal,
Proposition of feature extractionbased on IPS
Proposition of IPS
Considering different features of morphological operators, morphological erosion operator is introduced and a definition of IPS proposed. Supposing
Mathematical erosion operator is introduced as
Operator is the key distinction comparing with definition of PS, mathematical opening operator is the combination of erosion and dilation operators, and mathematical opening operation is able to filter peak noise. As to the definition of PS, a weaker regularity may be got because of the coupled operation in mathematical opening operator. The monotonicity of IPS may be evident owning to the sole erosion operator in formula (7).
Simulation
Roller bearing simulation signal is modeling according to the operation and failure mechanisms 22
In the formula above, the parameters of

Time domain of simulation signal with different modulation frequencies.
Analyzing simulation signals with IPS proposed, the unit structuring element is set as

IPS and PS curves with
Comparing with traditional PS method, three PS curves are shown in Figure 2(b) with the same
Influence analysis
The unit structuring element
IPS curves with triangular structuring element are shown in Figure 3. The regularity is the same as Figure 2(a), and the

IPS curves based on triangular structuring element with different amplitudes: (a)
IPS curves with rectilinear structuring element are shown in Figure 4, which have no apparent distinction contrast with Figure 2(b); therefore,

IPS curves based on triangular structuring element with different amplitudes: (a)
According to the basic principle of multi-scale mathematical morphology, the length of rectilinear structuring element has the same influence as the largest analytical scale, so we focus on the largest analytical scale in this part. We set structuring element as

IPS curves based on triangular structuring element with different scales: (a) IPS curves when
Fault diagnosis flow using IPS and SVM
Fault diagnosis flow using IPS and FOA-SVM is proposed in Figure 6. First, unit structuring element as well as the maximum analytical scale should be set as a proper value. Second, analyze the signal with IPS method. In order to reduce the dimensions of IPS curve, calculate five statistic parameters and constituting feature vectors including the maximum value, the minimum value, the average value, the geometric mean, and the standard deviation. Third, FOA 23 is introduced in SVM parameters optimization using feature vectors of training samples. The optimization procedure is shown in Figure 7. Finally, the fault types will be diagnosed by the optimized SVM model.

Flowchart of the proposed method.

Process of FOA.
Application and discussion
Experimental setup
The bearing vibration data were employed from CWRU.24,25 The experimental setup is shown in Figure 8. The chosen vibration data contain four fault types under the load of 0.746 kW, and four typical signals are shown in Figure 9.

The experimental setup for bearing.

Time-domain waveform of the four fault types.
Descriptions of the bearing data sets are listed in Table 1. The data sets are divided into training and testing samples with 1:2 proportion randomly. Four types of bearing conditions are labeled as 1–4.
Description of bearing data set.
Feature extracting based on IPS
IPS is employed in feature extraction in this section, the maximum analytical scale is also set as

IPS curves distribution for 24 groups of testing sample.
A group of representative curves above are shown in Figure 11. It is clear that IPS curves present a decreasing trend along with the increase in the analytical scale. The curve of outer race fault has a maximum value in the range of scale section. The curve of inner race fault takes the second place. The curve of normal status has the minimum value, which has a less discrimination with curve for ball fault. Thus, feature extraction based on IPS has a good effect compared with PS curves calculated with traditional mathematical morphology spectrum as shown in Figure 12.

IPS curve of typical testing sample.

PS curve of typical testing sample.
The IPS calculated above has 19 dimensions that will increase the computational complexity for SVM model. Five statistic parameters are calculated to reduce the dimensions as shown in Figure 13.

Five statistics over the IPS.
Pattern using FOA-SVM
The five-dimensional features are used to train SVM, and FOA is introduced to get the optimal parameters of SVM including penalty factor and kernel function parameter
In the training process with FOA, the iteration generation is set as 100 and fruit fly group is set as 20. The classification accuracy for training features is set as objective function. In the end of optimization, the classification accuracy reaches the best value as 97.83%. In this situation, the optimal penalty parameter
After training with FOA, the testing feature set is input to the SVM model, and the output is shown in Figure 14. The misclassified samples include three in the training and four in the testing. The whole classification accuracy of the proposed approach reaches 87.5% (21/24) in training and reaches 91.7% (44/48) in testing data sets. The result indicates that the effectiveness and suitability of IPS as feature vectors.

The classification output using the proposed approach.
A typical backpropagation (BP) neural network is introduced for comparison. The structure is 5 × 15 × 1, and the training and testing samples have no differences with SVM. The recognition result of BP network is shown in Figure 15. Five samples are misclassified in training, and the training classification accuracy reaches 79.2% (19/24). Furthermore, eight samples are misclassified in the testing, and the testing classification accuracy reaches 81.8% (36/44). This comparison presents the advantage of SVM with FOA.

The classification output using BP network.
Conclusion
In this article, morphological erosion operator is introduced to the mathematical morphological particle analysis, and a fault diagnosis method using IPS and FOA-SVM is proposed. Experiments were conducted, and the proposed method is verified by roller bearing vibration data including different fault types. Some conclusions of the study are as follows:
Morphological erosion operator has different operation character compared with morphological opening operator, and IPS based on erosion operator is able to present morphological characters of signals on different scales, leading a better effect in distinguishing fault types.
Considering that morphological opening operation is defined as the sequential execution of morphological corrosion and dilation operation, the proposed method based on IPS has a less time-consumption and a better effect than traditional PS method. Analysis on the parameters’ influence approved its feasibility.
Considering that morphology operation involves only simple addition and subtraction, the proposed IPS method has a small calculation amount and high efficiency, and it is promising to introduce this method to online monitoring processing system.
The method proposed got a 91.7% classification accuracy toward testing data set and a better effect than BP neural network, reflecting a good effect and adaptability when facing small training samples.
