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

Fault Diagnosis of Rolling Bearing Based on Shift Invariant Sparse Feature and Optimized Support Vector Machine

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

기본 정보

저자
  1. Haodong Yuan — College of Information Science and Technology, Donghua University, Shanghai 201620, China
  2. Nailong Wu — College of Information Science and Technology, Donghua University, Shanghai 201620, China
  3. Xinyuan Chen — College of Information Science and Technology, Donghua University, Shanghai 201620, China
  4. Yueying Wang — School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200444, China
DOI
10.3390/machines9050098
저널
Machines
발행년도
2021
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
27
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/machines9050098
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W3160363968

평가 내용

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

초록

The vibration signal of rotating machinery fault is a periodic impact signal and the fault characteristics appear periodically. The shift invariant K-SVD algorithm can solve this problem effectively and is thus suitable for fault feature extraction of rotating machinery. With the over-complete dictionary learned by the training samples, including thedifferent classes, shift invariant sparse feature for the training as well as test samples can be formed through sparse codes and employed as the input of classifier. A support vector machine (SVM) with optimized parameters has been extensively used in intelligent diagnosis of machinery fault. Hence, in this study, a novel fault diagnosis method of rolling bearings using shift invariant sparse feature and optimized SVM is proposed. Firstly, dictionary learning by shift invariant K-SVD algorithm is conducted. Then, shift invariant sparse feature is constructed with the learned over-complete dictionary. Finally, optimized SVM is employed for classification of the shift invariant sparse feature corresponding to different classes, hence, bearing fault diagnosis is achieved. With regard to the optimized SVM, three methods including grid search, generic algorithm (GA), and particle swarm optimization (PSO) are respectively carried out. The experiment results show that the shift invariant sparse feature using shift invariant K-SVD can effectively distinguish the bearing vibration signals corresponding to different running states. Moreover, optimized SVM can significantly improve the diagnosis precision.

본문 51,034자

본문 펼치기
The vibration signal of rotating machinery fault is a periodic impact signal and the fault characteristics appear periodically. The shift invariant K-SVD algorithm can solve this problem effectively and is thus suitable for fault feature extraction of rotating machinery. With the overcomplete dictionary learned by the training samples, including thedifferent classes, shift invariant sparse feature for the training as well as test samples can be formed through sparse codes and employed as the input of classifier. A support vector machine (SVM) with optimized parameters has been extensively used in intelligent diagnosis of machinery fault. Hence, in this study, a novel fault diagnosis method of rolling bearings using shift invariant sparse feature and optimized SVM is proposed. Firstly, dictionary learning by shift invariant K-SVD algorithm is conducted. Then, shift invariant sparse feature is constructed with the learned over-complete dictionary. Finally, optimized SVM is employed for classification of the shift invariant sparse feature corresponding to different classes, hence, bearing fault diagnosis is achieved. With regard to the optimized SVM, three methods including grid search, generic algorithm (GA), and particle swarm optimization (PSO) are respectively carried out. The experiment results show that the shift invariant sparse feature using shift invariant K-SVD can effectively distinguish the bearing vibration signals corresponding to different running states. Moreover, optimized SVM can significantly improve the diagnosis precision. Machines 2021, 9, 98. https://doi.org/10.3390/machines9050098 https://www.mdpi.com/journal/machines Machines 2021, 9, 98 2 of 17 with modified K-SVD [13]. Zeng et al. implemented group-based K-SVD denoising algorithm for bearing fault diagnosis [14].If the long signal has the same internal structure, namely a pattern that recurs periodically, namely these internal structures will be translated to different positions in the long signal, which is called shift invariant. In this case, the same dictionary atom, namely the base function, can be used to express the internal pattern of the signal, regardless of its moving position, while the shift invariant dictionary learning algorithm can solve this problem. Some shift invariant dictionary learning algorithms have been put forward, e.g., shift invariant sparse coding [15], convolutional sparse representation [16], shift invariant K-SVD [17], etc. In the fault vibration signal of rotating machinery, there exists periodic recurrence impulses, hence, shift invariant dictionary learning algorithm is particularly suitable to diagnose the fault of rotating machinery. Recently, these algorithms have been used for mechanical fault diagnosis. Liu et al. used shift-invariant sparse coding for feature extraction and achieved fault diagnosis of rolling bearings [18]. Feng et al. utilized shift invariant K-SVD to acquire vibration patterns hidden in planetary gearbox signals with strong background noise [19]. Tang et al. implemented shift invariant sparse coding to realize bearing and gear fault detection [20]. Chen et al. combined shift invariant K-SVD with the Wigner-Ville distribution and applied it to fault diagnosis of wind turbine bearings [21]. Ding put forward a fault diagnosis method based on convolution sparse coding and applied it to wheelset bearing in high-speed train [22]. Li et al. put forward a shift-invariant manifold learning method to enhance the transient characteristics of bearing fault [23]. Ding et al. put forward a sparse feature extraction method using periodic convolution sparse representation and applied it to machinery fault detection [24]. He et al. combined convolutional sparse representation with bandwidth optimization and proposed a fault detection method for wheelset bearing [25]. Zhou et al. put forward a new method for the diagnosis of bearing fault using shift-invariant dictionary learning and hidden Markov model [26]. In this paper, shift invariant K-SVD algorithm is conducted to generate sparse feature of the vibration signals of rolling bearing.After feature extraction, the intelligent machinery fault diagnosis is the problem of classification, which belongs to the problem of pattern recognition. Thus, the pattern recognition methods can be used, e.g., support vector machine (SVM)[27][28][29][30][31], artificial neural network (ANN) [32], deep learning [33], etc. Compared with neural network, SVM [34] utilizes structural risk minimization, and can thus avoid over-fitting, local minimization, and low convergence speed. Besides, SVM is more effective for training samples with a small number and high dimension. When the data cannot be linearly discriminated, a kernel function which can translate the data to high dimensional feature space is always utilized in SVM, where the radial basis function (RBF) kernel is the most broadly employed. The discrimination ability of SVM is greatly affected by the parameters Introduction Sparse representation has been widely employed in image, video, and speech signal processing [1][2][3]. In recent years, a growing number of researchers utilize sparse representation to machinery fault diagnosis and performance degradation assessment [4]. Yu et al. proposed a novel classification method based on group sparse representation for bearing and gear fault diagnosis [5]. Peng et al. applied sparse representation to extract bearing fault features [6]. Fan et al. put forward a transient feature extraction method using sparse representation in wavelet basis [7]. Introduction For sparse representation, we can construct an over-complete dictionary through predefined dictionary, which needs prior knowledge of the signals, and is therefore not feasible in an engineering practice. The dictionary can also be formed by randomly choosing some samples from the training samples if the number of training samples is large enough. However, if the dataset is very large, this method does not work well, therefore we need more effective dictionary learning algorithms, e.g., K-means singular value decomposition (K-SVD) [8], method of optimal directions (MOD) [9], etc. K-SVD algorithm was first proposed for processing images and has been extensively applied to image processing [10][11][12]. In machinery fault diagnosis, K-SVD has also been employed. Zhu put forward a cutting force denoising method for micro-milling condition monitoring including kernel function parameter and penalization factor, hence it is very essential to conduct the optimization of the parameters by means of intelligent evolutionary algorithms, e.g., particle swarm optimization (PSO) [35] and generic algorithm (GA) [36,37]. For machinery fault diagnosis, SVM with optimized parameters has been widely used. Lu et al. applied an adaptive feature extraction method and optimized SVM based on PSO to drivetrain gearbox fault diagnosis [29]. Wang et al. utilized SVM based on GA to realize bearing fault diagnosis [30]. Three methods including grid search, GA, and PSO are respectively conducted to optimize SVM in this paper. Introduction In this study, a novel method using shift invariant sparse feature and optimized SVM is put forward to realize bearing fault diagnosis. First of all, shift invariant K-SVD is adopted to learn an over-complete dictionary, whose training samples come from the vibration signals of rolling bearings at different running states. After that, the shift invariant sparse feature is constructed through sparse codes solved by the learned dictionary, which can be used as the input of SVM. In the end, optimized SVM using three different methods is implemented to distinguish different running states of rolling bearings including normal state, the fault of inner race, outer race and rolling element, hence intelligent fault diagnosis of rolling bearings can be achieved. Introduction The remaining part of the paper includes: Section 2 introduces feature extraction method with shift invariant K-SVD. In Section 3, the pattern recognition method using optimized SVM is demonstrated. Then, the proposed bearing fault diagnosis model is presented in Section 4. Subsequently in Section 5, the experiment of rolling bearing fault is conducted to validate the effectiveness of the proposed method. At last, in Section 6, the conclusion is acquired. Feature Extraction Using Shift Invariant K-SVD Algorithm With regard to periodic impact signals, the same fault mode appears repeatedly at different times, which shows shift invariant characteristics. However, when using the K-SVD dictionary learning method, the learned dictionary will demonstrate that multiple different basis functions belong to the same fault feature mode, which just correspond to the different impact positions, that is, the K-SVD algorithm does not consider the shift invariant characteristics in the periodic impact signals, while the shift invariant K-SVD algorithm (SI-KSVD) [16] can effectively solve this problem, in which each fault mode, namely basis function, can appear at any moment and a translation of the same basis function is conducted to represent the periodically recurring signal characteristics. Although the fault characteristics may be submerged in strong noise and interference, the characteristic of periodic recurrence makes the shift-invariant K-SVD algorithm easier to converge to these recurring characteristic patterns. Therefore, a shift-invariant K-SVD algorithm is very suitable to extract the feature of periodic impact signals and thus a sparse feature based on shift invariant K-SVD algorithm can be formed. Feature Extraction Using Shift Invariant K-SVD Algorithm In summary, for the feature extraction method using shift invariant K-SVD, there are two stages: dictionary learning and sparse coefficients solving. Firstly, dictionary learning using shift-invariant K-SVD is carried out to obtain a redundant dictionary. Afterwards, sparse codes can be solved, and the discriminative sparse feature is constructed based on the sparse codes. Shift Invariant K-SVD Algorithm For a long signal x ∈ R p×1 , assuming that there are a total of K basis functions d k ∈ R q×1 (q p), each basis function corresponds to a characteristic pattern and the over-complete dictionary D is constructed by translating a series of basis functions d k in the time domain. The goal of shift invariant K-SVD is to obtain several basis functions through dictionary learning based on a long signal x, thereby forming a total over-complete dictionary D, whose objective function is [17]: Shift Invariant K-SVD Algorithm where T τ is the shift operator that translates the basis function d k to time τ and extends it to obtain a dictionary atom with the same length as the original long signal, where the basis function d k in this atom starts at time τ and all the rest is set to 0. For each basis function d k of length q, it can be translated up to time p − q + 1 and thus forming a total of p − q + 1 dictionary atoms and the total over-complete dictionary D contains K × (p − q + 1) dictionary atoms. s k,τ is the sparse coefficient with respect to the dictionary atom after basis function d k is translated to time τ and extended. s is the sparse coefficient vector of the long signal x and T is the sparsity prior. Similar to the two-step iterative process of the K-SVD dictionary learning algorithm, the shift invariant K-SVD algorithm is also a two-step iterative algorithm, which includes the sparse coefficient solving stage and the dictionary updating stage. During the sparse coefficient solving stage, each basis function is fixed. Due to excessive atoms of the overcomplete dictionary, the calculation is very time-consuming. Using the fast matching pursuit algorithm [38] can greatly improve the computing efficiency. During the dictionary Machines 2021, 9, 98 4 of 17 update stage, each basis function is updated in sequence. When the basis function d k is updated, other basis functions remain fixed and the sparse coefficients of the dictionary atoms corresponding to the basis function d k are also updated. Shift Invariant K-SVD Algorithm In the dictionary update stage, for a given basis function or feature pattern d κ , let the activation part in the corresponding coefficients be obtained in the first step of sparse decomposition stage, namely the set of non-zero elements be σ κ = {τ|s κ,τ = 0 }, defining the signalx κ with no contribution from other basis functions d k (k = κ), as shown below: Shift Invariant K-SVD Algorithm where r is the residual signal. From Equation (1), the optimal basis function can be updated by the following equation: Shift Invariant K-SVD Algorithm The above equation can be expressed: Shift Invariant K-SVD Algorithm where T * τ is the operator corresponding to T τ , which can extract a segment with the same length q as the basis function d κ from the long signal and the segment starts at time τ. Shift Invariant K-SVD Algorithm Using only the activation information corresponding to the basis function d κ in the first sparse decomposition stage, i.e., the set of non-zero coefficients σ κ , the sparse coefficient and the new basis functions can be simultaneously updated. By Equation (4), the matrix formed by the basis function d κ and the segment T * τxκ corresponding to σ κ can be obtained and then the singular value decomposition can be performed on it. After the singular value decomposition, the largest singular value is retained, which means that the first principal component can be selected to obtain the best basis function and corresponding sparse coefficients: Shift Invariant K-SVD Algorithm The flow of shift invariant K-SVD algorithm is as follows: Shift Invariant K-SVD Algorithm (1) Given the long signal x and the length q and number K of basis functions. The initial basis functions are formed by randomly truncating segments with length q from the long signal x and then normalizing the segments. Set the number of iterations t = 1 and tolerance error ε; Shift Invariant K-SVD Algorithm (2) Solving the sparse coefficient stage. The fast-matching pursuit algorithm is conducted to obtain the sparse coefficient s corresponding to the long signal; Shift Invariant K-SVD Algorithm (3) Basis function update stage. Each basis function is updated in turn and assuming that when updated to the k-th basis function d κ , defining the set of sparse coefficients σ k activated by the basis function d κ , thus the basis function d κ and the corresponding sparse coefficient (s k,τ ) τ∈σ k can be updated through Equations (5) and (6); (4) Let t = t + 1 and judge whether the iteration is terminated. If the ratio of the reconstruction error x − ∑ k ∑ τ s k,τ T τ d k 2 2 of the two adjacent iterations is less than ε, the iteration is terminated, otherwise steps (2)-(4) are repeated. Shift Invariant K-SVD Algorithm If there are multiple long signals x i (i = 1, 2, . . . , N) forming a training set X, shift invariant K-SVD can still be utilized to learn the basis functions. Firstly, shift invariant K-SVD algorithm is employed for the first long signal x 1 , where the initial basis functions D 0 is constructed by randomly truncating segments from the long signals and then be normalized. Through this learning, sparse coefficients s 1 and corresponding basis functions D 1 can be obtained. The basis functions D 1 obtained through the shift invariant dictionary learning is more capable of sparsely representing the signal sample x 1 than the previous initial basis functions, which means that D 1 is closer to the nature of the signal x 1 . Then, D 1 is used as the initial basis functions and shift invariant K-SVD algorithm is applied to the second long signal x 2 , thus sparse coefficients s 2 and corresponding basis functions D 2 can be obtained. After that, D 2 is used as the initial basis functions and shift invariant K-SVD is applied to the third long signal x 3 .The above iterative process continues until the last long signal x N and sparse coefficients s N and corresponding basis functions D N are obtained. If the algorithm needs to continue, the basis functions D N is used as the initial basis functions and shift invariant K-SVD algorithm is applied to the first long signal x 1 and then the above iterative process is repeated in the order of the long signal. Whether the algorithm stops or not generally depends on whether the basis functions D has stabilized, which means that the relative error of two adjacent iterations of the basis functions D is less than the tolerance error. Finally, the basis functions D are learned through the algorithm. Shift Invariant Sparse Feature After the shift invariant dictionary learning, K basis functions is obtained. Each basis function d i (i = 1, 2, . . . , K) is translated in the time domain and extended to the length of the original long signal and then the sub-dictionary D i corresponding to the basis function d i can be acquired, which contains p-q+1 dictionary atoms. If there are L classes of signals and each class contains multiple training samples that are long signals, the shift invariant K-SVD algorithm is conducted for each class of samples and the K basis functions are employed for the training samples of each class and thus LK subdictionaries {D i |i = 1, 2, . . . , LK} can be obtained. Then, a whole redundant dictionary D = [D 1 , D 2 , . . . , D LK ] with LK sub-dictionaries can be formed by concatenating the subdictionaries. For each signal sample, matching pursuit algorithm is applied based on the over-complete dictionary D to solve the sparse coefficient s = [s 1 ; s 2 ; . . . , s LK ] where s i (i = 1, 2, . . . , LK) corresponds to each sub-dictionary D i . Afterwards, the l 1 norm, l 2 norm or maximum absolute value F i (i = 1, 2, . . . , LK) of the sparse coefficient vector s i corresponding to the sub-dictionary D i with p − q + 1 dictionary atoms is computed and thus LK-dimensional sparse feature F = [F 1 , F 2 , . . . , F LK ] can be obtained for each signal. Moreover, M(M ≥ 2) maximum absolute values F i (i = 1, 2, . . . , LKM) of the sparse coefficient vector s i are also computed, which is denoted as M-Max and thus LKMdimensional sparse feature F = [F 1 , F 2 , . . . , F LKM ] can be obtained for each signal. The LK-dimensional or LKM-dimensional sparse feature is named shift invariant sparse feature. Shift Invariant Sparse Feature From the perspective of sparse representation, the sub-dictionary with regard to the class of the test sample is more adaptive to the test sample, i.e., the sub-dictionary with regard to the class of the test sample is more likely to be activated to approximate the test sample. Assuming that the class label of test sample y j is j(j = 1, 2, . . . , L), the sub-dictionaries D i (i = K(j − 1) + 1, K(j − 1) + 2, . . . , Kj) corresponding to the class j are more likely to be activated, i.e., solving the sparse coefficient using the whole overcomplete dictionary D and then the non-zero terms in the sparse coefficients corresponding to the sub-dictionaries D i are most likely to appear in s i (i = K(j − 1) + 1, K(j − 1) + 2, . . . , Kj), thus the l 1 norm, l 2 norm or M(M ≥ 1) maximum absolute values of the sparse coefficient vector s i corresponding to the sub-dictionaries D i are larger than the other sub-dictionaries. Therefore, the shift invariant sparse feature corresponding to different classes is distinguishable and can be employed as the input of classifier. Classification with Optimized SVM In this study, LIBSVM [39] is applied to the classification task including multiple classes using one-against-one method. RBF kernel K(x i , x j ) = e −g x i −x j 2 is suitable to conduct non-linear classification, where g denotes the width of RBF kernel. Moreover, penalization factor c also has a large impact on SVM performance. Consequently, the parameters (c, g) should be jointly optimized in order to get best SVM. In the following Machines 2021, 9, 98 6 of 17 subsections, three different methods including grid search, GA, and PSO are respectively carried out to optimize SVM. Classification with Optimized SVM The whole process of optimized SVM is as follows: firstly, linear normalization to [0, 1] is conducted on both the training set and test set; then, based on the training set, cross validation using the different parameters (c, g) is carried out and the best parameters that own the highest cross validation accuracy can be achieved, which is regarded as the best SVM model that corresponds to the training set; at last, the test set is predicted with the best SVM model. Grid Search The parameters (c, g) are given with an interval in grid form and all of the parameters are calculated to search the highest cross validation accuracy. Genetic Algorithm Genetic algorithm (GA) imitates the genetic and evolutionary process of organisms in nature [36], which operates on the coding of the decision variables and takes the objective function as search information while using the information of all points. Hence, GA owns excellent global search ability. The shortcomings of GA are that the local search ability is weak and the result is easily affected by the parameters. Genetic Algorithm GA consists of the following steps: population initialization, individual evaluation, selection operation, cross operation, mutation operation, and the decision of stopping criterion. In this study, the fitness value of GA is cross validation accuracy of SVM using the training set. With regard to the selection operation, it is to select relatively good individuals from the current population and copy them to the next population. Firstly, the total fitness of all individuals in the population is computed, then the relative fitness of each individual is computed as the individual selection probability, and finally the roulette method is employed to select new individuals. For the cross operation, the crossover operator is applied to the population, and two chromosomes are randomly selected for crossover. Whether to perform the crossover operation or not is determined by the crossover probability. The crossover position is randomly selected and the crossover position of the two chromosomes is the same. With respect to the mutation operation, the mutation operator is applied to the population, and a chromosome is randomly selected for mutation. Whether to perform the mutation operation or not is determined by the mutation probability. The position of the mutation is randomly selected, i.e., which gene is selected for mutation. After the mutation is completed the feasibility of the chromosome is tested. Particle Swarm Optimization PSO is also an evolutionary algorithm [35]. Compared with genetic algorithm, there are no crossover and mutation operations in PSO and the particles are only updated through internal velocity and thus PSO is easier to realize. However, when dealing with a complex problem with a high dimension, PSO always suffers premature convergence and the convergence performance is poor and thus the optimal solution cannot be guaranteed. Particle Swarm Optimization Suppose there are N particles in the particle swarm and the ith particle is p i = (p i1 , p i2 , . . . , p iK ), (where K represents the parameter numbers that should be optimized, in this study K = 2), whose velocity is expressed by v i = (v i1 , v i2 , . . . , v iK ). The fitness value of the ith particle is the cross-validation accuracy of SVM based on p i . In the iteration process, the best value of the ith particle that indicates the local best is represented by pbest i , while the best particle that indicates the global best is represented by gbest. Firstly, the initialization of the particles is implemented by a random number in the specified range. For the kth iteration, the ith particle and its velocity are renewed as follows [35]: where wv and wp are elastic coefficients for velocity update and particle update, respectively. c 1 and c 2 are acceleration coefficients, which represents the local and global search ability, respectively. r 1 and r 2 are random numbers uniformly distributed in [0, 1]. Each iteration indicates one generation, and the termination of iterations is determined by the maximum generations. When the iterations end, the global best value is obtained which signifies the best cross validation accuracy. Bearing Fault Diagnosis Method Using Shift Invariant Sparse Feature and Optimized SVM In this paper, a fault diagnosis method for rolling bearing using shift invariant sparse feature and optimized SVM is proposed. There are a total of five stages in the proposed method: dictionary learning with shift invariant K-SVD, sparse feature extraction, optimization of SVM, best SVM training and fault diagnosis. Figure 1 describes the whole process of the proposed method, and the description with regard to each stage is introduced in detail as follows: Description of the Experiment The proposed scheme based on shift invariant sparse feature and optimized SVM is verified by the experiment of rolling bearings fault through artificial processing. Figure 2 shows the test rig [26]. An AC motor drives the shaft through coupling and the shaft is supported by rolling bearings (GB203) at 720 rpm. The vibration signals are acquired by data acquisition system (NI PXI-1042), where the acceleration sensor (Kistler 8791A250) is located on the bracket that is fixed on the rolling bearing and the sampling rate is 25.6 kHz. The electro-discharge machining is carried out on the surface of the outer race, inner race, and rolling element of the rolling bearings, and three different classes of fault containing the fault of outer race (ORF), inner race (IRF) and rolling element (REF) are obtained, respectively. Consequently, including the normal state there are a total of four states. Description of the Experiment With respect to the data set, there are a total of 120 samples containing four running (1) Dictionary learning with shift invariant K-SVD. Using the training set, an overcomplete dictionary is obtained with shift invariant K-SVD. Description of the Experiment (2) Sparse feature extraction. Using the learned over-complete dictionary, sparse feature of all samples can be constructed as shown in Section 2.2, which can be employed as the input of SVM. Description of the Experiment (3) Optimization of SVM. Three methods including grid search, GA, and PSO are respectively implemented to get the best (c, g), which has the best cross validation accuracy. Description of the Experiment (4) SVM model training. Using the training set, the best SVM model can be learned with the best c and g. Description of the Experiment (5) Fault diagnosis. For the test set, the category label of each test sample is predicted through the learned SVM model, therefore fault diagnosis of rolling bearings is achieved. Description of the Experiment The proposed scheme based on shift invariant sparse feature and optimized SVM is verified by the experiment of rolling bearings fault through artificial processing. Figure 2 shows the test rig [26]. An AC motor drives the shaft through coupling and the shaft is supported by rolling bearings (GB203) at 720 rpm. The vibration signals are acquired by data acquisition system (NI PXI-1042), where the acceleration sensor (Kistler 8791A250) is located on the bracket that is fixed on the rolling bearing and the sampling rate is 25.6 kHz. The electro-discharge machining is carried out on the surface of the outer race, inner race, and rolling element of the rolling bearings, and three different classes of fault containing the fault of outer race (ORF), inner race (IRF) and rolling element (REF) are obtained, respectively. Consequently, including the normal state there are a total of four states. Feature Extraction with Shift Invariant Sparse Feature Firstly, based on each class of training samples shift invariant K-SVD algorithm for multiple training samples is carried out to learn the dictionary corresponding to each class. The basis function length is 256 points and the basis function number is 4. When using matching pursuit algorithm for sparse decomposition, the sparsity prior T should be set. Theoretically, the sparsity prior T should be given as the quotient of the original signal length divided by the length of the basis function, but in order to allow correction of the sparse decomposition error, the sparsity can be set to 1.2 times the quotient [19], namely 1.2 × 2048/256 ≈ 10. In addition, the basis function number is generally set to greater than 2. If the basis function number is too large, the calculation amount is greatly increased and most basis functions will converge to noise. Conversely, in case there are too few basis functions, the fault feature components are hard to extract. In this paper, 4 basis functions are selected and the influence of different numbers of basis functions on the classification results is discussed in the next section. Feature Extraction with Shift Invariant Sparse Feature Firstly, based on each class of training samples shift invariant K-SVD algorithm for multiple training samples is carried out to learn the dictionary corresponding to each class. The basis function length is 256 points and the basis function number is 4. When using matching pursuit algorithm for sparse decomposition, the sparsity prior T should be set. Theoretically, the sparsity prior T should be given as the quotient of the original signal length divided by the length of the basis function, but in order to allow correction of the sparse decomposition error, the sparsity can be set to 1.2 times the quotient [19], namely 1.2 × 2048/256 ≈ 10. In addition, the basis function number is generally set to The training set is formed by randomly selecting 150 samples from the 300 samples corresponding to different states, while the test set is constructed by the remaining samples. Hence, the training and test set both containing 600 samples are respectively generated. Feature Extraction with Shift Invariant Sparse Feature Firstly, based on each class of training samples shift invariant K-SVD algorithm for multiple training samples is carried out to learn the dictionary corresponding to each class. The basis function length is 256 points and the basis function number is 4. When using matching pursuit algorithm for sparse decomposition, the sparsity prior T should be set. Theoretically, the sparsity prior T should be given as the quotient of the original signal length divided by the length of the basis function, but in order to allow correction of the sparse decomposition error, the sparsity can be set to 1.2 times the quotient [19], namely 1.2 × 2048/256 ≈ 10. In addition, the basis function number is generally set to greater than 2. If the basis function number is too large, the calculation amount is greatly increased and most basis functions will converge to noise. Conversely, in case there are too few basis functions, the fault feature components are hard to extract. In this paper, 4 basis functions are selected and the influence of different numbers of basis functions on the classification results is discussed in the next section. Feature Extraction with Shift Invariant Sparse Feature The learned four basis functions corresponding to each class is demonstrated in Figure 4. From the figure, it can be found that the basis functions belonging to different classes are significantly different. Figures 6 and 7, respectively, where the subdictionary no. 1~4, 5~8, 9~12, 13~16 denotes normal, the fault of inner race, rolling element and outer race, respectively. Feature Extraction with Shift Invariant Sparse Feature From the above two figures, we can find that for the test samples, the sub-dictionaries corresponding to the class of the samples are more likely to be activated, whose values are significantly larger than other sub-dictionaries, which reveals that shift invariant K-SVD can enable the signals of the same class to produce similar sparse feature, hence the shift invariant sparse feature is discriminative and can be employed as the input feature vector of the classifier. After basis functions with regard to each class have been learned, the sub-dictionaries for each class can be formed, and thus the over-complete dictionary can be constructed by concatenating the sub-dictionaries. Using the over-complete dictionary, the sparse coefficients of all samples are calculated with the sparsity prior 10 and the sparse coefficients of four test samples with respect to four classes are demonstrated in Figure 5. As shown in the figure, each sample is more likely to be activated by the atoms corresponding to the category of the sample. Then, the shift invariant sparse feature can be computed based on the sparse codes and l 1 norm, l 2 norm or M-Max. Hence, 16-dimensional (l 1 norm, l 2 norm and Max), 32-dimensional (M = 2), or 48-dimensional (M = 3) feature vector is respectively acquired with regard to each sample. Feature Extraction with Shift Invariant Sparse Feature Through the shift invariant K-SVD algorithm, matching pursuit algorithm and l 1 norm, the shift invariant sparse feature can be obtained. The test sample randomly selected for four different states and the sum of shift invariant sparse feature of test samples from the same state are demonstrated in Figures 6 and 7, respectively, where the sub-dictionary no. 1~4, 5~8, 9~12, 13~16 denotes normal, the fault of inner race, rolling element and outer race, respectively. Machines 2021, 9, x FOR PEER REVIEW 11 of 18 From the above two figures, we can find that for the test samples, the sub-dictionaries corresponding to the class of the samples are more likely to be activated, whose values are significantly larger than other sub-dictionaries, which reveals that shift invariant K-SVD can enable the signals of the same class to produce similar sparse feature, hence the shift invariant sparse feature is discriminative and can be employed as the input feature vector of the classifier. Fault Diagnosis Using Shift Invariant Sparse Feature After the feature of the training set and test set was extracted, SVM was utilized for classification. Firstly, standard SVM, which means that (c, g) are not optimized but specified instead, was employed. Then, the influence of the parameter sets of shift invariant sparse feature was analyzed. In the end, the optimization of SVM was carried out. Diagnosis Result with Standard SVM With regard to standard SVM, (c, g) are both set to 1. Based on the same learned over-complete dictionary, different methods for generating sparse feature, there are a total of five feature extraction methods using different sparse feature, including maximum absolute values, 2 maximum absolute values, 3 maximum absolute values, l 1 norm and l 2 norm, which are denoted as Max, 2-Max, 3-Max, L1, and L2, respectively, whose classification results are demonstrated in Table 1. Figure 8 respectively describes the detailed classification results corresponding to four classes. Fault Diagnosis Using Shift Invariant Sparse Feature After the feature of the training set and test set was extracted, SVM was utilized for classification. Firstly, standard SVM, which means that (c, g) are not optimized but specified instead, was employed. Then, the influence of the parameter sets of shift invariant sparse feature was analyzed. In the end, the optimization of SVM was carried out. Diagnosis Result with Standard SVM With regard to standard SVM, (c, g) are both set to 1. Based on the same learned overcomplete dictionary, different methods for generating sparse feature, there are a total of five feature extraction methods using different sparse feature, including maximum absolute values, 2 maximum absolute values, 3 maximum absolute values, l1 norm and l2 norm, which are denoted as Max, 2-Max, 3-Max, L1, and L2, respectively, whose classification results are demonstrated in Table 1. Figure 8 respectively describes the detailed classification results corresponding to four classes. Table 1 indicates that the different methods to construct sparse features have great impact on diagnosis result, in which the sparse feature using L1 (l1 norm) achieves the highest accuracy and thus l1 norm is utilized in the subsequent classification task using optimized SVM. The accuracy of the feature extraction method based on Max (Maximum absolute values) is the lowest, which is due to that the Max method ignores a lot of important sparse feature information in the sparse codes. However, with the increase of M, the accuracy is improved. Figure 8 shows that on the whole, the rolling element fault acquired the worst result, which signifies that rolling element fault is very complicated and harder to recognize. For normal and outer race fault, the method based on L1 (l1 norm) outperforms all the other methods. Influence of Parameter Set of Shift Invariant Sparse Feature With the feature extraction method based on L1 (l1 norm) and standard SVM, which means (c, g) are both set to 1, the influence of the parameter set of shift invariant sparse feature was discussed. In shift invariant K-SVD algorithm, the number of base functions Table 1 indicates that the different methods to construct sparse features have great impact on diagnosis result, in which the sparse feature using L1 (l 1 norm) achieves the highest accuracy and thus l 1 norm is utilized in the subsequent classification task using optimized SVM. The accuracy of the feature extraction method based on Max (Maximum absolute values) is the lowest, which is due to that the Max method ignores a lot of important sparse feature information in the sparse codes. However, with the increase of M, the accuracy is improved. Figure 8 shows that on the whole, the rolling element fault acquired the worst result, which signifies that rolling element fault is very complicated and harder to recognize. For normal and outer race fault, the method based on L1 (l 1 norm) outperforms all the other methods. Influence of Parameter Set of Shift Invariant Sparse Feature With the feature extraction method based on L1 (l 1 norm) and standard SVM, which means (c, g) are both set to 1, the influence of the parameter set of shift invariant sparse feature was discussed. In shift invariant K-SVD algorithm, the number of base functions K for each class has a great influence on the whole fault diagnosis method so different K varying from {2, 3, . . . , 10} was respectively conducted. Influence of Parameter Set of Shift Invariant Sparse Feature For different K, the dictionary size increased rapidly as K increases, whose classification results and dictionary training time are illustrated in Figures 9 and 10, respectively. The average sparse coding time for one sample using different K is shown in Figure 11. Figure 9 shows that in general the diagnosis accuracy grows with the increasing number of base functions K, yet becomes steady when dictionary size reaches a relatively large value. Nevertheless, Figures 10 and 11 show that the dictionary training time rises quickly if dictionary size is increased and then the time of sparse coding for the training samples and test samples also grows quickly. Therefore, a proper value of K should be selected in addition to considering the diagnosis precision, the computing, and memory consumption must also be taken into account comprehensively. In this paper, K is set to 4. For different K, the dictionary size increased rapidly as K increases, whose classification results and dictionary training time are illustrated in Figures 9 and 10, respectively. The average sparse coding time for one sample using different K is shown in Figure 11. Figure 9 shows that in general the diagnosis accuracy grows with the increasing number of base functions K, yet becomes steady when dictionary size reaches a relatively large value. Nevertheless, Figures 10 and 11 show that the dictionary training time rises quickly if dictionary size is increased and then the time of sparse coding for the training samples and test samples also grows quickly. Therefore, a proper value of K should be selected in addition to considering the diagnosis precision, the computing, and memory consumption must also be taken into account comprehensively. In this paper, K is set to 4. For different K, the dictionary size increased rapidly as K increases, whose classification results and dictionary training time are illustrated in Figures 9 and 10, respectively. The average sparse coding time for one sample using different K is shown in Figure 11. Figure 9 shows that in general the diagnosis accuracy grows with the increasing number of base functions K, yet becomes steady when dictionary size reaches a relatively large value. Nevertheless, Figures 10 and 11 show that the dictionary training time rises quickly if dictionary size is increased and then the time of sparse coding for the training samples and test samples also grows quickly. Therefore, a proper value of K should be selected in addition to considering the diagnosis precision, the computing, and memory consumption must also be taken into account comprehensively. In this paper, K is set to 4. Diagnosis Results Using Optimized SVM Using shift invariant sparse feature, optimized SVM with three methods including grid search, GA and PSO were respectively conducted. For all the methods, the selection ranges of (c, g) are restricted to 2 −10 to 2 10 and 5-fold cross validation is used. As for grid search, the logarithms of c and g based on 2 are stepped with the step size 1. With regard to GA and PSO, the fitness represents the c ross-validation accuracy and the population size is 20, the max generations are 100. The other parameters of GA including crossover and mutation probability are set to 0.4 and 0.2, respectively, while the other parameters of PSO are: wv = 1, wp = 1, c1 = 1.5 and c2 = 1.7. The result of the grid search is demonstrated in Figure 12, while Figures 13 and 14 demonstrate the fitness curves of GA and PSO, respectively. The figures show that the loops in the GA algorithm are terminated at the 50th generation and based on the training set, the best cross validation accuracies of the three methods corresponding to the best (c, g) are relatively high. Diagnosis Results Using Optimized SVM . Figure 12. Optimized SVM using grid search. Best c=8 g=1 CVAccuracy=96.6667% Diagnosis Results Using Optimized SVM log2g Accuracy(%) Figure 11. Average sparse coding time using different K. Diagnosis Results Using Optimized SVM Using shift invariant sparse feature, optimized SVM with three methods including grid search, GA and PSO were respectively conducted. For all the methods, the selection ranges of (c, g) are restricted to 2 −10 to 2 10 and 5-fold cross validation is used. As for grid search, the logarithms of c and g based on 2 are stepped with the step size 1. With regard to GA and PSO, the fitness represents the c ross-validation accuracy and the population size is 20, the max generations are 100. The other parameters of GA including crossover and mutation probability are set to 0.4 and 0.2, respectively, while the other parameters of PSO are: wv = 1, wp = 1, c1 = 1.5 and c2 = 1.7. The result of the grid search is demonstrated in Figure 12, while Figures 13 and 14 demonstrate the fitness curves of GA and PSO, respectively. The figures show that the loops in the GA algorithm are terminated at the 50th generation and based on the training set, the best cross validation accuracies of the three methods corresponding to the best (c, g) are relatively high. Figure 11. Average sparse coding time using different K. Diagnosis Results Using Optimized SVM Using shift invariant sparse feature, optimized SVM with three methods includ grid search, GA and PSO were respectively conducted. For all the methods, the select ranges of (c, g) are restricted to 2 −10 to 2 10 and 5-fold cross validation is used. As for g search, the logarithms of c and g based on 2 are stepped with the step size 1. With reg to GA and PSO, the fitness represents the c ross-validation accuracy and the populat size is 20, the max generations are 100. The other parameters of GA including crosso and mutation probability are set to 0.4 and 0.2, respectively, while the other parame of PSO are: wv = 1, wp = 1, c1 = 1.5 and c2 = 1.7. The result of the grid search is demonstra in Figure 12, while Figures 13 and 14 demonstrate the fitness curves of GA and PSO, spectively. The figures show that the loops in the GA algorithm are terminated at the 5 generation and based on the training set, the best cross validation accuracies of the th methods corresponding to the best (c, g) are relatively high. Diagnosis Results Using Optimized SVM . Figure 12. Optimized SVM using grid search. Using the best (c, g), the optimized SVM model is obtained based on the training samples, which can be employed to acquire the category labels of the test set. For LIBSVM, the default values of (c, g) are (1, 1/k) (k denotes data dimension). SVM with default (c, g) was also conducted for comparison with optimized SVM. Table 2 demonstrates the diagnosis results and computation time of different methods. The table indicates that the proposed method based on the shift invariant sparse feature and optimized SVM can effectively distinguish different operating conditions, thus the fault diagnosis of rolling bearings is achieved. Under default parameters (c, g), the diagnosis precision is not high, therefore different parameters of SVM have significant impact on the diagnosis precision and it is necessary to conduct the process of parameter optimization. For the three optimization methods, the PSO method acquires the highest accuracy. Moreover, the computation times of GA and PSO are much longer than grid search so the efficiency of the algorithms needs to be improved. Of course, the classification accuracies and computation times of the optimization algorithms are affected by the parameters set of the algorithms themselves. Generally speaking, when the dataset scale is small, using grid search is sufficient to meet the demand, but if the dataset scale is too large it is better to use GA or PSO algorithm. Using the best (c, g), the optimized SVM model is obtained based on the training samples, which can be employed to acquire the category labels of the test set. For LIBSVM, the default values of (c, g) are (1, 1/k) (k denotes data dimension). SVM with default (c, g) was also conducted for comparison with optimized SVM. Table 2 demonstrates the diagnosis results and computation time of different methods. The table indicates that the proposed method based on the shift invariant sparse feature and optimized SVM can effectively distinguish different operating conditions, thus the fault diagnosis of rolling bearings is achieved. Under default parameters (c, g), the diagnosis precision is not high, therefore different parameters of SVM have significant impact on the diagnosis precision and it is necessary to conduct the process of parameter optimization. For the three optimization methods, the PSO method acquires the highest accuracy. Moreover, the computation times of GA and PSO are much longer than grid search so the efficiency of the algorithms needs to be improved. Of course, the classification accuracies and computation times of the optimization algorithms are affected by the parameters set of the algorithms themselves. Generally speaking, when the dataset scale is small, using grid search is sufficient to meet the demand, but if the dataset scale is too large it is better to use GA or PSO algorithm. Using the best (c, g), the optimized SVM model is obtained based on the training samples, which can be employed to acquire the category labels of the test set. For LIBSVM, the default values of (c, g) are (1, 1/k) (k denotes data dimension). SVM with default (c, g) was also conducted for comparison with optimized SVM. Table 2 demonstrates the diagnosis results and computation time of different methods. The table indicates that the proposed method based on the shift invariant sparse feature and optimized SVM can effectively distinguish different operating conditions, thus the fault diagnosis of rolling bearings is achieved. Under default parameters (c, g), the diagnosis precision is not high, therefore different parameters of SVM have significant impact on the diagnosis precision and it is necessary to conduct the process of parameter optimization. For the three optimization methods, the PSO method acquires the highest accuracy. Moreover, the computation times of GA and PSO are much longer than grid search so the efficiency of the algorithms needs to be improved. Of course, the classification accuracies and computation times of the optimization algorithms are affected by the parameters set of the algorithms themselves. Generally speaking, when the dataset scale is small, using grid search is sufficient to meet the demand, but if the dataset scale is too large it is better to use GA or PSO algorithm. Conclusions In this paper, a new fault diagnosis method for rolling bearing based on shift invariant sparse feature and optimized SVM is proposed. The shift invariant sparse feature is applied for extracting shift invariant features of the vibration signals of rolling bearings, which presents the characteristics of periodic recurrence of fault impact. The experiment of rolling bearing fault was carried out and through the analysis of experimental vibration signal, it can be found out that shift invariant sparse feature based on shift invariant K-SVD is very discriminative, which can effectively distinguish different states of rolling bearings. For shift invariant sparse feature based on different methods, l 1 norm achieves the highest classification accuracy. The influence of the parameter in shift invariant sparse feature, namely the number of basis functions is also discussed, which shows that the number of basis functions should be set comprehensively considering the diagnosis precision, the computing, and memory consumption. As for optimized SVM, the classification results indicate that parameter optimization is very essential for SVM and optimized SVM using the methods of grid search, GA, or PSO can dramatically improve the classification ability of SVM. With respect to the three methods, although PSO owns the longest running time, it obtains the highest classification accuracy. In future work, combining other effective shift invariant dictionary learning methods to obtain superior sparse features of bearing fault will be explored. For the optimized SVM, improved optimization methods based on GA or PSO can be considered to further enhance the optimization ability. Data Availability Statement: The data used to support the findings of this study are available from the corresponding author upon request.

섹션 본문 57문단 · 48,939자

(제목 없음)

1The vibration signal of rotating machinery fault is a periodic impact signal and the fault characteristics appear periodically. The shift invariant K-SVD algorithm can solve this problem effectively and is thus suitable for fault feature extraction of rotating machinery. With the overcomplete dictionary learned by the training samples, including thedifferent classes, shift invariant sparse feature for the training as well as test samples can be formed through sparse codes and employed as the input of classifier. A support vector machine (SVM) with optimized parameters has been extensively used in intelligent diagnosis of machinery fault. Hence, in this study, a novel fault diagnosis method of rolling bearings using shift invariant sparse feature and optimized SVM is proposed. Firstly, dictionary learning by shift invariant K-SVD algorithm is conducted. Then, shift invariant sparse feature is constructed with the learned over-complete dictionary. Finally, optimized SVM is employed for classification of the shift invariant sparse feature corresponding to different classes, hence, bearing fault diagnosis is achieved. With regard to the optimized SVM, three methods including grid search, generic algorithm (GA), and particle swarm optimization (PSO) are respectively carried out. The experiment results show that the shift invariant sparse feature using shift invariant K-SVD can effectively distinguish the bearing vibration signals corresponding to different running states. Moreover, optimized SVM can significantly improve the diagnosis precision. Machines 2021, 9, 98. https://doi.org/10.3390/machines9050098 https://www.mdpi.com/journal/machines Machines 2021, 9, 98 2 of 17 with modified K-SVD [13]. Zeng et al. implemented group-based K-SVD denoising algorithm for bearing fault diagnosis [14].If the long signal has the same internal structure, namely a pattern that recurs periodically, namely these internal structures will be translated to different positions in the long signal, which is called shift invariant. In this case, the same dictionary atom, namely the base function, can be used to express the internal pattern of the signal, regardless of its moving position, while the shift invariant dictionary learning algorithm can solve this problem. Some shift invariant dictionary learning algorithms have been put forward, e.g., shift invariant sparse coding [15], convolutional sparse representation [16], shift invariant K-SVD [17], etc. In the fault vibration signal of rotating machinery, there exists periodic recurrence impulses, hence, shift invariant dictionary learning algorithm is particularly suitable to diagnose the fault of rotating machinery. Recently, these algorithms have been used for mechanical fault diagnosis. Liu et al. used shift-invariant sparse coding for feature extraction and achieved fault diagnosis of rolling bearings [18]. Feng et al. utilized shift invariant K-SVD to acquire vibration patterns hidden in planetary gearbox signals with strong background noise [19]. Tang et al. implemented shift invariant sparse coding to realize bearing and gear fault detection [20]. Chen et al. combined shift invariant K-SVD with the Wigner-Ville distribution and applied it to fault diagnosis of wind turbine bearings [21]. Ding put forward a fault diagnosis method based on convolution sparse coding and applied it to wheelset bearing in high-speed train [22]. Li et al. put forward a shift-invariant manifold learning method to enhance the transient characteristics of bearing fault [23]. Ding et al. put forward a sparse feature extraction method using periodic convolution sparse representation and applied it to machinery fault detection [24]. He et al. combined convolutional sparse representation with bandwidth optimization and proposed a fault detection method for wheelset bearing [25]. Zhou et al. put forward a new method for the diagnosis of bearing fault using shift-invariant dictionary learning and hidden Markov model [26]. In this paper, shift invariant K-SVD algorithm is conducted to generate sparse feature of the vibration signals of rolling bearing.After feature extraction, the intelligent machinery fault diagnosis is the problem of classification, which belongs to the problem of pattern recognition. Thus, the pattern recognition methods can be used, e.g., support vector machine (SVM)[27][28][29][30][31], artificial neural network (ANN) [32], deep learning [33], etc. Compared with neural network, SVM [34] utilizes structural risk minimization, and can thus avoid over-fitting, local minimization, and low convergence speed. Besides, SVM is more effective for training samples with a small number and high dimension. When the data cannot be linearly discriminated, a kernel function which can translate the data to high dimensional feature space is always utilized in SVM, where the radial basis function (RBF) kernel is the most broadly employed. The discrimination ability of SVM is greatly affected by the parameters

Introduction

2Sparse representation has been widely employed in image, video, and speech signal processing [1][2][3]. In recent years, a growing number of researchers utilize sparse representation to machinery fault diagnosis and performance degradation assessment [4]. Yu et al. proposed a novel classification method based on group sparse representation for bearing and gear fault diagnosis [5]. Peng et al. applied sparse representation to extract bearing fault features [6]. Fan et al. put forward a transient feature extraction method using sparse representation in wavelet basis [7].

3For sparse representation, we can construct an over-complete dictionary through predefined dictionary, which needs prior knowledge of the signals, and is therefore not feasible in an engineering practice. The dictionary can also be formed by randomly choosing some samples from the training samples if the number of training samples is large enough. However, if the dataset is very large, this method does not work well, therefore we need more effective dictionary learning algorithms, e.g., K-means singular value decomposition (K-SVD) [8], method of optimal directions (MOD) [9], etc. K-SVD algorithm was first proposed for processing images and has been extensively applied to image processing [10][11][12]. In machinery fault diagnosis, K-SVD has also been employed. Zhu put forward a cutting force denoising method for micro-milling condition monitoring including kernel function parameter and penalization factor, hence it is very essential to conduct the optimization of the parameters by means of intelligent evolutionary algorithms, e.g., particle swarm optimization (PSO) [35] and generic algorithm (GA) [36,37]. For machinery fault diagnosis, SVM with optimized parameters has been widely used. Lu et al. applied an adaptive feature extraction method and optimized SVM based on PSO to drivetrain gearbox fault diagnosis [29]. Wang et al. utilized SVM based on GA to realize bearing fault diagnosis [30]. Three methods including grid search, GA, and PSO are respectively conducted to optimize SVM in this paper.

4In this study, a novel method using shift invariant sparse feature and optimized SVM is put forward to realize bearing fault diagnosis. First of all, shift invariant K-SVD is adopted to learn an over-complete dictionary, whose training samples come from the vibration signals of rolling bearings at different running states. After that, the shift invariant sparse feature is constructed through sparse codes solved by the learned dictionary, which can be used as the input of SVM. In the end, optimized SVM using three different methods is implemented to distinguish different running states of rolling bearings including normal state, the fault of inner race, outer race and rolling element, hence intelligent fault diagnosis of rolling bearings can be achieved.

5The remaining part of the paper includes: Section 2 introduces feature extraction method with shift invariant K-SVD. In Section 3, the pattern recognition method using optimized SVM is demonstrated. Then, the proposed bearing fault diagnosis model is presented in Section 4. Subsequently in Section 5, the experiment of rolling bearing fault is conducted to validate the effectiveness of the proposed method. At last, in Section 6, the conclusion is acquired.

Feature Extraction Using Shift Invariant K-SVD Algorithm

6With regard to periodic impact signals, the same fault mode appears repeatedly at different times, which shows shift invariant characteristics. However, when using the K-SVD dictionary learning method, the learned dictionary will demonstrate that multiple different basis functions belong to the same fault feature mode, which just correspond to the different impact positions, that is, the K-SVD algorithm does not consider the shift invariant characteristics in the periodic impact signals, while the shift invariant K-SVD algorithm (SI-KSVD) [16] can effectively solve this problem, in which each fault mode, namely basis function, can appear at any moment and a translation of the same basis function is conducted to represent the periodically recurring signal characteristics. Although the fault characteristics may be submerged in strong noise and interference, the characteristic of periodic recurrence makes the shift-invariant K-SVD algorithm easier to converge to these recurring characteristic patterns. Therefore, a shift-invariant K-SVD algorithm is very suitable to extract the feature of periodic impact signals and thus a sparse feature based on shift invariant K-SVD algorithm can be formed.

7In summary, for the feature extraction method using shift invariant K-SVD, there are two stages: dictionary learning and sparse coefficients solving. Firstly, dictionary learning using shift-invariant K-SVD is carried out to obtain a redundant dictionary. Afterwards, sparse codes can be solved, and the discriminative sparse feature is constructed based on the sparse codes.

Shift Invariant K-SVD Algorithm

8For a long signal x ∈ R p×1 , assuming that there are a total of K basis functions d k ∈ R q×1 (q p), each basis function corresponds to a characteristic pattern and the over-complete dictionary D is constructed by translating a series of basis functions d k in the time domain. The goal of shift invariant K-SVD is to obtain several basis functions through dictionary learning based on a long signal x, thereby forming a total over-complete dictionary D, whose objective function is [17]:

9where T τ is the shift operator that translates the basis function d k to time τ and extends it to obtain a dictionary atom with the same length as the original long signal, where the basis function d k in this atom starts at time τ and all the rest is set to 0. For each basis function d k of length q, it can be translated up to time p − q + 1 and thus forming a total of p − q + 1 dictionary atoms and the total over-complete dictionary D contains K × (p − q + 1) dictionary atoms. s k,τ is the sparse coefficient with respect to the dictionary atom after basis function d k is translated to time τ and extended. s is the sparse coefficient vector of the long signal x and T is the sparsity prior. Similar to the two-step iterative process of the K-SVD dictionary learning algorithm, the shift invariant K-SVD algorithm is also a two-step iterative algorithm, which includes the sparse coefficient solving stage and the dictionary updating stage. During the sparse coefficient solving stage, each basis function is fixed. Due to excessive atoms of the overcomplete dictionary, the calculation is very time-consuming. Using the fast matching pursuit algorithm [38] can greatly improve the computing efficiency. During the dictionary Machines 2021, 9, 98 4 of 17 update stage, each basis function is updated in sequence. When the basis function d k is updated, other basis functions remain fixed and the sparse coefficients of the dictionary atoms corresponding to the basis function d k are also updated.

10In the dictionary update stage, for a given basis function or feature pattern d κ , let the activation part in the corresponding coefficients be obtained in the first step of sparse decomposition stage, namely the set of non-zero elements be σ κ = {τ|s κ,τ = 0 }, defining the signalx κ with no contribution from other basis functions d k (k = κ), as shown below:

11where r is the residual signal. From Equation (1), the optimal basis function can be updated by the following equation:

12The above equation can be expressed:

13where T * τ is the operator corresponding to T τ , which can extract a segment with the same length q as the basis function d κ from the long signal and the segment starts at time τ.

14Using only the activation information corresponding to the basis function d κ in the first sparse decomposition stage, i.e., the set of non-zero coefficients σ κ , the sparse coefficient and the new basis functions can be simultaneously updated. By Equation (4), the matrix formed by the basis function d κ and the segment T * τxκ corresponding to σ κ can be obtained and then the singular value decomposition can be performed on it. After the singular value decomposition, the largest singular value is retained, which means that the first principal component can be selected to obtain the best basis function and corresponding sparse coefficients:

15The flow of shift invariant K-SVD algorithm is as follows:

16(1) Given the long signal x and the length q and number K of basis functions. The initial basis functions are formed by randomly truncating segments with length q from the long signal x and then normalizing the segments. Set the number of iterations t = 1 and tolerance error ε;

17(2) Solving the sparse coefficient stage. The fast-matching pursuit algorithm is conducted to obtain the sparse coefficient s corresponding to the long signal;

18(3) Basis function update stage. Each basis function is updated in turn and assuming that when updated to the k-th basis function d κ , defining the set of sparse coefficients σ k activated by the basis function d κ , thus the basis function d κ and the corresponding sparse coefficient (s k,τ ) τ∈σ k can be updated through Equations (5) and (6); (4) Let t = t + 1 and judge whether the iteration is terminated. If the ratio of the reconstruction error x − ∑ k ∑ τ s k,τ T τ d k 2 2 of the two adjacent iterations is less than ε, the iteration is terminated, otherwise steps (2)-(4) are repeated.

19If there are multiple long signals x i (i = 1, 2, . . . , N) forming a training set X, shift invariant K-SVD can still be utilized to learn the basis functions. Firstly, shift invariant K-SVD algorithm is employed for the first long signal x 1 , where the initial basis functions D 0 is constructed by randomly truncating segments from the long signals and then be normalized. Through this learning, sparse coefficients s 1 and corresponding basis functions D 1 can be obtained. The basis functions D 1 obtained through the shift invariant dictionary learning is more capable of sparsely representing the signal sample x 1 than the previous initial basis functions, which means that D 1 is closer to the nature of the signal x 1 . Then, D 1 is used as the initial basis functions and shift invariant K-SVD algorithm is applied to the second long signal x 2 , thus sparse coefficients s 2 and corresponding basis functions D 2 can be obtained. After that, D 2 is used as the initial basis functions and shift invariant K-SVD is applied to the third long signal x 3 .The above iterative process continues until the last long signal x N and sparse coefficients s N and corresponding basis functions D N are obtained. If the algorithm needs to continue, the basis functions D N is used as the initial basis functions and shift invariant K-SVD algorithm is applied to the first long signal x 1 and then the above iterative process is repeated in the order of the long signal. Whether the algorithm stops or not generally depends on whether the basis functions D has stabilized, which means that the relative error of two adjacent iterations of the basis functions D is less than the tolerance error. Finally, the basis functions D are learned through the algorithm.

Shift Invariant Sparse Feature

20After the shift invariant dictionary learning, K basis functions is obtained. Each basis function d i (i = 1, 2, . . . , K) is translated in the time domain and extended to the length of the original long signal and then the sub-dictionary D i corresponding to the basis function d i can be acquired, which contains p-q+1 dictionary atoms. If there are L classes of signals and each class contains multiple training samples that are long signals, the shift invariant K-SVD algorithm is conducted for each class of samples and the K basis functions are employed for the training samples of each class and thus LK subdictionaries {D i |i = 1, 2, . . . , LK} can be obtained. Then, a whole redundant dictionary D = [D 1 , D 2 , . . . , D LK ] with LK sub-dictionaries can be formed by concatenating the subdictionaries. For each signal sample, matching pursuit algorithm is applied based on the over-complete dictionary D to solve the sparse coefficient s = [s 1 ; s 2 ; . . . , s LK ] where s i (i = 1, 2, . . . , LK) corresponds to each sub-dictionary D i . Afterwards, the l 1 norm, l 2 norm or maximum absolute value F i (i = 1, 2, . . . , LK) of the sparse coefficient vector s i corresponding to the sub-dictionary D i with p − q + 1 dictionary atoms is computed and thus LK-dimensional sparse feature F = [F 1 , F 2 , . . . , F LK ] can be obtained for each signal. Moreover, M(M ≥ 2) maximum absolute values F i (i = 1, 2, . . . , LKM) of the sparse coefficient vector s i are also computed, which is denoted as M-Max and thus LKMdimensional sparse feature F = [F 1 , F 2 , . . . , F LKM ] can be obtained for each signal. The LK-dimensional or LKM-dimensional sparse feature is named shift invariant sparse feature.

21From the perspective of sparse representation, the sub-dictionary with regard to the class of the test sample is more adaptive to the test sample, i.e., the sub-dictionary with regard to the class of the test sample is more likely to be activated to approximate the test sample. Assuming that the class label of test sample y j is j(j = 1, 2, . . . , L), the sub-dictionaries D i (i = K(j − 1) + 1, K(j − 1) + 2, . . . , Kj) corresponding to the class j are more likely to be activated, i.e., solving the sparse coefficient using the whole overcomplete dictionary D and then the non-zero terms in the sparse coefficients corresponding to the sub-dictionaries D i are most likely to appear in s i (i = K(j − 1) + 1, K(j − 1) + 2, . . . , Kj), thus the l 1 norm, l 2 norm or M(M ≥ 1) maximum absolute values of the sparse coefficient vector s i corresponding to the sub-dictionaries D i are larger than the other sub-dictionaries. Therefore, the shift invariant sparse feature corresponding to different classes is distinguishable and can be employed as the input of classifier.

Classification with Optimized SVM

22In this study, LIBSVM [39] is applied to the classification task including multiple classes using one-against-one method. RBF kernel K(x i , x j ) = e −g x i −x j 2 is suitable to conduct non-linear classification, where g denotes the width of RBF kernel. Moreover, penalization factor c also has a large impact on SVM performance. Consequently, the parameters (c, g) should be jointly optimized in order to get best SVM. In the following Machines 2021, 9, 98 6 of 17 subsections, three different methods including grid search, GA, and PSO are respectively carried out to optimize SVM.

23The whole process of optimized SVM is as follows: firstly, linear normalization to [0, 1] is conducted on both the training set and test set; then, based on the training set, cross validation using the different parameters (c, g) is carried out and the best parameters that own the highest cross validation accuracy can be achieved, which is regarded as the best SVM model that corresponds to the training set; at last, the test set is predicted with the best SVM model.

Grid Search

24The parameters (c, g) are given with an interval in grid form and all of the parameters are calculated to search the highest cross validation accuracy.

Genetic Algorithm

25Genetic algorithm (GA) imitates the genetic and evolutionary process of organisms in nature [36], which operates on the coding of the decision variables and takes the objective function as search information while using the information of all points. Hence, GA owns excellent global search ability. The shortcomings of GA are that the local search ability is weak and the result is easily affected by the parameters.

26GA consists of the following steps: population initialization, individual evaluation, selection operation, cross operation, mutation operation, and the decision of stopping criterion. In this study, the fitness value of GA is cross validation accuracy of SVM using the training set. With regard to the selection operation, it is to select relatively good individuals from the current population and copy them to the next population. Firstly, the total fitness of all individuals in the population is computed, then the relative fitness of each individual is computed as the individual selection probability, and finally the roulette method is employed to select new individuals. For the cross operation, the crossover operator is applied to the population, and two chromosomes are randomly selected for crossover. Whether to perform the crossover operation or not is determined by the crossover probability. The crossover position is randomly selected and the crossover position of the two chromosomes is the same. With respect to the mutation operation, the mutation operator is applied to the population, and a chromosome is randomly selected for mutation. Whether to perform the mutation operation or not is determined by the mutation probability. The position of the mutation is randomly selected, i.e., which gene is selected for mutation. After the mutation is completed the feasibility of the chromosome is tested.

Particle Swarm Optimization

27PSO is also an evolutionary algorithm [35]. Compared with genetic algorithm, there are no crossover and mutation operations in PSO and the particles are only updated through internal velocity and thus PSO is easier to realize. However, when dealing with a complex problem with a high dimension, PSO always suffers premature convergence and the convergence performance is poor and thus the optimal solution cannot be guaranteed.

28Suppose there are N particles in the particle swarm and the ith particle is p i = (p i1 , p i2 , . . . , p iK ), (where K represents the parameter numbers that should be optimized, in this study K = 2), whose velocity is expressed by v i = (v i1 , v i2 , . . . , v iK ). The fitness value of the ith particle is the cross-validation accuracy of SVM based on p i . In the iteration process, the best value of the ith particle that indicates the local best is represented by pbest i , while the best particle that indicates the global best is represented by gbest. Firstly, the initialization of the particles is implemented by a random number in the specified range. For the kth iteration, the ith particle and its velocity are renewed as follows [35]: where wv and wp are elastic coefficients for velocity update and particle update, respectively. c 1 and c 2 are acceleration coefficients, which represents the local and global search ability, respectively. r 1 and r 2 are random numbers uniformly distributed in [0, 1]. Each iteration indicates one generation, and the termination of iterations is determined by the maximum generations. When the iterations end, the global best value is obtained which signifies the best cross validation accuracy.

Bearing Fault Diagnosis Method Using Shift Invariant Sparse Feature and Optimized SVM

29In this paper, a fault diagnosis method for rolling bearing using shift invariant sparse feature and optimized SVM is proposed. There are a total of five stages in the proposed method: dictionary learning with shift invariant K-SVD, sparse feature extraction, optimization of SVM, best SVM training and fault diagnosis. Figure 1 describes the whole process of the proposed method, and the description with regard to each stage is introduced in detail as follows:

Description of the Experiment

30The proposed scheme based on shift invariant sparse feature and optimized SVM is verified by the experiment of rolling bearings fault through artificial processing. Figure 2 shows the test rig [26]. An AC motor drives the shaft through coupling and the shaft is supported by rolling bearings (GB203) at 720 rpm. The vibration signals are acquired by data acquisition system (NI PXI-1042), where the acceleration sensor (Kistler 8791A250) is located on the bracket that is fixed on the rolling bearing and the sampling rate is 25.6 kHz. The electro-discharge machining is carried out on the surface of the outer race, inner race, and rolling element of the rolling bearings, and three different classes of fault containing the fault of outer race (ORF), inner race (IRF) and rolling element (REF) are obtained, respectively. Consequently, including the normal state there are a total of four states.

31With respect to the data set, there are a total of 120 samples containing four running (1) Dictionary learning with shift invariant K-SVD. Using the training set, an overcomplete dictionary is obtained with shift invariant K-SVD.

32(2) Sparse feature extraction. Using the learned over-complete dictionary, sparse feature of all samples can be constructed as shown in Section 2.2, which can be employed as the input of SVM.

33(3) Optimization of SVM. Three methods including grid search, GA, and PSO are respectively implemented to get the best (c, g), which has the best cross validation accuracy.

34(4) SVM model training. Using the training set, the best SVM model can be learned with the best c and g.

35(5) Fault diagnosis. For the test set, the category label of each test sample is predicted through the learned SVM model, therefore fault diagnosis of rolling bearings is achieved.

36The proposed scheme based on shift invariant sparse feature and optimized SVM is verified by the experiment of rolling bearings fault through artificial processing. Figure 2 shows the test rig [26]. An AC motor drives the shaft through coupling and the shaft is supported by rolling bearings (GB203) at 720 rpm. The vibration signals are acquired by data acquisition system (NI PXI-1042), where the acceleration sensor (Kistler 8791A250) is located on the bracket that is fixed on the rolling bearing and the sampling rate is 25.6 kHz. The electro-discharge machining is carried out on the surface of the outer race, inner race, and rolling element of the rolling bearings, and three different classes of fault containing the fault of outer race (ORF), inner race (IRF) and rolling element (REF) are obtained, respectively. Consequently, including the normal state there are a total of four states.

Feature Extraction with Shift Invariant Sparse Feature

37Firstly, based on each class of training samples shift invariant K-SVD algorithm for multiple training samples is carried out to learn the dictionary corresponding to each class. The basis function length is 256 points and the basis function number is 4. When using matching pursuit algorithm for sparse decomposition, the sparsity prior T should be set. Theoretically, the sparsity prior T should be given as the quotient of the original signal length divided by the length of the basis function, but in order to allow correction of the sparse decomposition error, the sparsity can be set to 1.2 times the quotient [19], namely 1.2 × 2048/256 ≈ 10. In addition, the basis function number is generally set to greater than 2. If the basis function number is too large, the calculation amount is greatly increased and most basis functions will converge to noise. Conversely, in case there are too few basis functions, the fault feature components are hard to extract. In this paper, 4 basis functions are selected and the influence of different numbers of basis functions on the classification results is discussed in the next section.

38Firstly, based on each class of training samples shift invariant K-SVD algorithm for multiple training samples is carried out to learn the dictionary corresponding to each class. The basis function length is 256 points and the basis function number is 4. When using matching pursuit algorithm for sparse decomposition, the sparsity prior T should be set. Theoretically, the sparsity prior T should be given as the quotient of the original signal length divided by the length of the basis function, but in order to allow correction of the sparse decomposition error, the sparsity can be set to 1.2 times the quotient [19], namely 1.2 × 2048/256 ≈ 10. In addition, the basis function number is generally set to The training set is formed by randomly selecting 150 samples from the 300 samples corresponding to different states, while the test set is constructed by the remaining samples. Hence, the training and test set both containing 600 samples are respectively generated.

39Firstly, based on each class of training samples shift invariant K-SVD algorithm for multiple training samples is carried out to learn the dictionary corresponding to each class. The basis function length is 256 points and the basis function number is 4. When using matching pursuit algorithm for sparse decomposition, the sparsity prior T should be set. Theoretically, the sparsity prior T should be given as the quotient of the original signal length divided by the length of the basis function, but in order to allow correction of the sparse decomposition error, the sparsity can be set to 1.2 times the quotient [19], namely 1.2 × 2048/256 ≈ 10. In addition, the basis function number is generally set to greater than 2. If the basis function number is too large, the calculation amount is greatly increased and most basis functions will converge to noise. Conversely, in case there are too few basis functions, the fault feature components are hard to extract. In this paper, 4 basis functions are selected and the influence of different numbers of basis functions on the classification results is discussed in the next section.

40The learned four basis functions corresponding to each class is demonstrated in Figure 4. From the figure, it can be found that the basis functions belonging to different classes are significantly different. Figures 6 and 7, respectively, where the subdictionary no. 1~4, 5~8, 9~12, 13~16 denotes normal, the fault of inner race, rolling element and outer race, respectively.

41From the above two figures, we can find that for the test samples, the sub-dictionaries corresponding to the class of the samples are more likely to be activated, whose values are significantly larger than other sub-dictionaries, which reveals that shift invariant K-SVD can enable the signals of the same class to produce similar sparse feature, hence the shift invariant sparse feature is discriminative and can be employed as the input feature vector of the classifier. After basis functions with regard to each class have been learned, the sub-dictionaries for each class can be formed, and thus the over-complete dictionary can be constructed by concatenating the sub-dictionaries. Using the over-complete dictionary, the sparse coefficients of all samples are calculated with the sparsity prior 10 and the sparse coefficients of four test samples with respect to four classes are demonstrated in Figure 5. As shown in the figure, each sample is more likely to be activated by the atoms corresponding to the category of the sample. Then, the shift invariant sparse feature can be computed based on the sparse codes and l 1 norm, l 2 norm or M-Max. Hence, 16-dimensional (l 1 norm, l 2 norm and Max), 32-dimensional (M = 2), or 48-dimensional (M = 3) feature vector is respectively acquired with regard to each sample.

42Through the shift invariant K-SVD algorithm, matching pursuit algorithm and l 1 norm, the shift invariant sparse feature can be obtained. The test sample randomly selected for four different states and the sum of shift invariant sparse feature of test samples from the same state are demonstrated in Figures 6 and 7, respectively, where the sub-dictionary no. 1~4, 5~8, 9~12, 13~16 denotes normal, the fault of inner race, rolling element and outer race, respectively. Machines 2021, 9, x FOR PEER REVIEW 11 of 18 From the above two figures, we can find that for the test samples, the sub-dictionaries corresponding to the class of the samples are more likely to be activated, whose values are significantly larger than other sub-dictionaries, which reveals that shift invariant K-SVD can enable the signals of the same class to produce similar sparse feature, hence the shift invariant sparse feature is discriminative and can be employed as the input feature vector of the classifier.

Fault Diagnosis Using Shift Invariant Sparse Feature

43After the feature of the training set and test set was extracted, SVM was utilized for classification. Firstly, standard SVM, which means that (c, g) are not optimized but specified instead, was employed. Then, the influence of the parameter sets of shift invariant sparse feature was analyzed. In the end, the optimization of SVM was carried out.

Diagnosis Result with Standard SVM

44With regard to standard SVM, (c, g) are both set to 1. Based on the same learned over-complete dictionary, different methods for generating sparse feature, there are a total of five feature extraction methods using different sparse feature, including maximum absolute values, 2 maximum absolute values, 3 maximum absolute values, l 1 norm and l 2 norm, which are denoted as Max, 2-Max, 3-Max, L1, and L2, respectively, whose classification results are demonstrated in Table 1. Figure 8 respectively describes the detailed classification results corresponding to four classes.

Fault Diagnosis Using Shift Invariant Sparse Feature

45After the feature of the training set and test set was extracted, SVM was utilized for classification. Firstly, standard SVM, which means that (c, g) are not optimized but specified instead, was employed. Then, the influence of the parameter sets of shift invariant sparse feature was analyzed. In the end, the optimization of SVM was carried out.

Diagnosis Result with Standard SVM

46With regard to standard SVM, (c, g) are both set to 1. Based on the same learned overcomplete dictionary, different methods for generating sparse feature, there are a total of five feature extraction methods using different sparse feature, including maximum absolute values, 2 maximum absolute values, 3 maximum absolute values, l1 norm and l2 norm, which are denoted as Max, 2-Max, 3-Max, L1, and L2, respectively, whose classification results are demonstrated in Table 1. Figure 8 respectively describes the detailed classification results corresponding to four classes. Table 1 indicates that the different methods to construct sparse features have great impact on diagnosis result, in which the sparse feature using L1 (l1 norm) achieves the highest accuracy and thus l1 norm is utilized in the subsequent classification task using optimized SVM. The accuracy of the feature extraction method based on Max (Maximum absolute values) is the lowest, which is due to that the Max method ignores a lot of important sparse feature information in the sparse codes. However, with the increase of M, the accuracy is improved. Figure 8 shows that on the whole, the rolling element fault acquired the worst result, which signifies that rolling element fault is very complicated and harder to recognize. For normal and outer race fault, the method based on L1 (l1 norm) outperforms all the other methods.

Influence of Parameter Set of Shift Invariant Sparse Feature

47With the feature extraction method based on L1 (l1 norm) and standard SVM, which means (c, g) are both set to 1, the influence of the parameter set of shift invariant sparse feature was discussed. In shift invariant K-SVD algorithm, the number of base functions Table 1 indicates that the different methods to construct sparse features have great impact on diagnosis result, in which the sparse feature using L1 (l 1 norm) achieves the highest accuracy and thus l 1 norm is utilized in the subsequent classification task using optimized SVM. The accuracy of the feature extraction method based on Max (Maximum absolute values) is the lowest, which is due to that the Max method ignores a lot of important sparse feature information in the sparse codes. However, with the increase of M, the accuracy is improved. Figure 8 shows that on the whole, the rolling element fault acquired the worst result, which signifies that rolling element fault is very complicated and harder to recognize. For normal and outer race fault, the method based on L1 (l 1 norm) outperforms all the other methods.

48With the feature extraction method based on L1 (l 1 norm) and standard SVM, which means (c, g) are both set to 1, the influence of the parameter set of shift invariant sparse feature was discussed. In shift invariant K-SVD algorithm, the number of base functions K for each class has a great influence on the whole fault diagnosis method so different K varying from {2, 3, . . . , 10} was respectively conducted.

49For different K, the dictionary size increased rapidly as K increases, whose classification results and dictionary training time are illustrated in Figures 9 and 10, respectively. The average sparse coding time for one sample using different K is shown in Figure 11. Figure 9 shows that in general the diagnosis accuracy grows with the increasing number of base functions K, yet becomes steady when dictionary size reaches a relatively large value. Nevertheless, Figures 10 and 11 show that the dictionary training time rises quickly if dictionary size is increased and then the time of sparse coding for the training samples and test samples also grows quickly. Therefore, a proper value of K should be selected in addition to considering the diagnosis precision, the computing, and memory consumption must also be taken into account comprehensively. In this paper, K is set to 4. For different K, the dictionary size increased rapidly as K increases, whose classification results and dictionary training time are illustrated in Figures 9 and 10, respectively. The average sparse coding time for one sample using different K is shown in Figure 11. Figure 9 shows that in general the diagnosis accuracy grows with the increasing number of base functions K, yet becomes steady when dictionary size reaches a relatively large value. Nevertheless, Figures 10 and 11 show that the dictionary training time rises quickly if dictionary size is increased and then the time of sparse coding for the training samples and test samples also grows quickly. Therefore, a proper value of K should be selected in addition to considering the diagnosis precision, the computing, and memory consumption must also be taken into account comprehensively. In this paper, K is set to 4. For different K, the dictionary size increased rapidly as K increases, whose classification results and dictionary training time are illustrated in Figures 9 and 10, respectively. The average sparse coding time for one sample using different K is shown in Figure 11. Figure 9 shows that in general the diagnosis accuracy grows with the increasing number of base functions K, yet becomes steady when dictionary size reaches a relatively large value. Nevertheless, Figures 10 and 11 show that the dictionary training time rises quickly if dictionary size is increased and then the time of sparse coding for the training samples and test samples also grows quickly. Therefore, a proper value of K should be selected in addition to considering the diagnosis precision, the computing, and memory consumption must also be taken into account comprehensively. In this paper, K is set to 4.

Diagnosis Results Using Optimized SVM

50Using shift invariant sparse feature, optimized SVM with three methods including grid search, GA and PSO were respectively conducted. For all the methods, the selection ranges of (c, g) are restricted to 2 −10 to 2 10 and 5-fold cross validation is used. As for grid search, the logarithms of c and g based on 2 are stepped with the step size 1. With regard to GA and PSO, the fitness represents the c ross-validation accuracy and the population size is 20, the max generations are 100. The other parameters of GA including crossover and mutation probability are set to 0.4 and 0.2, respectively, while the other parameters of PSO are: wv = 1, wp = 1, c1 = 1.5 and c2 = 1.7. The result of the grid search is demonstrated in Figure 12, while Figures 13 and 14 demonstrate the fitness curves of GA and PSO, respectively. The figures show that the loops in the GA algorithm are terminated at the 50th generation and based on the training set, the best cross validation accuracies of the three methods corresponding to the best (c, g) are relatively high.

51. Figure 12. Optimized SVM using grid search. Best c=8 g=1 CVAccuracy=96.6667%

52log2g Accuracy(%) Figure 11. Average sparse coding time using different K.

53Using shift invariant sparse feature, optimized SVM with three methods including grid search, GA and PSO were respectively conducted. For all the methods, the selection ranges of (c, g) are restricted to 2 −10 to 2 10 and 5-fold cross validation is used. As for grid search, the logarithms of c and g based on 2 are stepped with the step size 1. With regard to GA and PSO, the fitness represents the c ross-validation accuracy and the population size is 20, the max generations are 100. The other parameters of GA including crossover and mutation probability are set to 0.4 and 0.2, respectively, while the other parameters of PSO are: wv = 1, wp = 1, c1 = 1.5 and c2 = 1.7. The result of the grid search is demonstrated in Figure 12, while Figures 13 and 14 demonstrate the fitness curves of GA and PSO, respectively. The figures show that the loops in the GA algorithm are terminated at the 50th generation and based on the training set, the best cross validation accuracies of the three methods corresponding to the best (c, g) are relatively high. Figure 11. Average sparse coding time using different K.

54Using shift invariant sparse feature, optimized SVM with three methods includ grid search, GA and PSO were respectively conducted. For all the methods, the select ranges of (c, g) are restricted to 2 −10 to 2 10 and 5-fold cross validation is used. As for g search, the logarithms of c and g based on 2 are stepped with the step size 1. With reg to GA and PSO, the fitness represents the c ross-validation accuracy and the populat size is 20, the max generations are 100. The other parameters of GA including crosso and mutation probability are set to 0.4 and 0.2, respectively, while the other parame of PSO are: wv = 1, wp = 1, c1 = 1.5 and c2 = 1.7. The result of the grid search is demonstra in Figure 12, while Figures 13 and 14 demonstrate the fitness curves of GA and PSO, spectively. The figures show that the loops in the GA algorithm are terminated at the 5 generation and based on the training set, the best cross validation accuracies of the th methods corresponding to the best (c, g) are relatively high.

55. Figure 12. Optimized SVM using grid search. Using the best (c, g), the optimized SVM model is obtained based on the training samples, which can be employed to acquire the category labels of the test set. For LIBSVM, the default values of (c, g) are (1, 1/k) (k denotes data dimension). SVM with default (c, g) was also conducted for comparison with optimized SVM. Table 2 demonstrates the diagnosis results and computation time of different methods. The table indicates that the proposed method based on the shift invariant sparse feature and optimized SVM can effectively distinguish different operating conditions, thus the fault diagnosis of rolling bearings is achieved. Under default parameters (c, g), the diagnosis precision is not high, therefore different parameters of SVM have significant impact on the diagnosis precision and it is necessary to conduct the process of parameter optimization. For the three optimization methods, the PSO method acquires the highest accuracy. Moreover, the computation times of GA and PSO are much longer than grid search so the efficiency of the algorithms needs to be improved. Of course, the classification accuracies and computation times of the optimization algorithms are affected by the parameters set of the algorithms themselves. Generally speaking, when the dataset scale is small, using grid search is sufficient to meet the demand, but if the dataset scale is too large it is better to use GA or PSO algorithm. Using the best (c, g), the optimized SVM model is obtained based on the training samples, which can be employed to acquire the category labels of the test set. For LIBSVM, the default values of (c, g) are (1, 1/k) (k denotes data dimension). SVM with default (c, g) was also conducted for comparison with optimized SVM. Table 2 demonstrates the diagnosis results and computation time of different methods. The table indicates that the proposed method based on the shift invariant sparse feature and optimized SVM can effectively distinguish different operating conditions, thus the fault diagnosis of rolling bearings is achieved. Under default parameters (c, g), the diagnosis precision is not high, therefore different parameters of SVM have significant impact on the diagnosis precision and it is necessary to conduct the process of parameter optimization. For the three optimization methods, the PSO method acquires the highest accuracy. Moreover, the computation times of GA and PSO are much longer than grid search so the efficiency of the algorithms needs to be improved. Of course, the classification accuracies and computation times of the optimization algorithms are affected by the parameters set of the algorithms themselves. Generally speaking, when the dataset scale is small, using grid search is sufficient to meet the demand, but if the dataset scale is too large it is better to use GA or PSO algorithm. Using the best (c, g), the optimized SVM model is obtained based on the training samples, which can be employed to acquire the category labels of the test set. For LIBSVM, the default values of (c, g) are (1, 1/k) (k denotes data dimension). SVM with default (c, g) was also conducted for comparison with optimized SVM. Table 2 demonstrates the diagnosis results and computation time of different methods. The table indicates that the proposed method based on the shift invariant sparse feature and optimized SVM can effectively distinguish different operating conditions, thus the fault diagnosis of rolling bearings is achieved. Under default parameters (c, g), the diagnosis precision is not high, therefore different parameters of SVM have significant impact on the diagnosis precision and it is necessary to conduct the process of parameter optimization. For the three optimization methods, the PSO method acquires the highest accuracy. Moreover, the computation times of GA and PSO are much longer than grid search so the efficiency of the algorithms needs to be improved. Of course, the classification accuracies and computation times of the optimization algorithms are affected by the parameters set of the algorithms themselves. Generally speaking, when the dataset scale is small, using grid search is sufficient to meet the demand, but if the dataset scale is too large it is better to use GA or PSO algorithm.

Conclusions

56In this paper, a new fault diagnosis method for rolling bearing based on shift invariant sparse feature and optimized SVM is proposed. The shift invariant sparse feature is applied for extracting shift invariant features of the vibration signals of rolling bearings, which presents the characteristics of periodic recurrence of fault impact. The experiment of rolling bearing fault was carried out and through the analysis of experimental vibration signal, it can be found out that shift invariant sparse feature based on shift invariant K-SVD is very discriminative, which can effectively distinguish different states of rolling bearings. For shift invariant sparse feature based on different methods, l 1 norm achieves the highest classification accuracy. The influence of the parameter in shift invariant sparse feature, namely the number of basis functions is also discussed, which shows that the number of basis functions should be set comprehensively considering the diagnosis precision, the computing, and memory consumption. As for optimized SVM, the classification results indicate that parameter optimization is very essential for SVM and optimized SVM using the methods of grid search, GA, or PSO can dramatically improve the classification ability of SVM. With respect to the three methods, although PSO owns the longest running time, it obtains the highest classification accuracy. In future work, combining other effective shift invariant dictionary learning methods to obtain superior sparse features of bearing fault will be explored. For the optimized SVM, improved optimization methods based on GA or PSO can be considered to further enhance the optimization ability.

Data Availability Statement:

57The data used to support the findings of this study are available from the corresponding author upon request.

참고문헌 38건

  1. Shift-invariant dictionary learning for sparse representations: extending K-SVD HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2008
  2. Fault Diagnosis Method for the Train Axle Box Bearing Based on KPCA and GA-SVM Applied Mechanics and Materials · Trans Tech Publications · 2013 10.4028/www.scientific.net/amm.441.376
  3. Sparse representation and its applications in micro-milling condition monitoring: noise separation and tool condition monitoring The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2013 10.1007/s00170-013-5258-5
  4. Multi-frame compression: theory and design Signal Processing · Elsevier BV · 2000 10.1016/s0165-1684(00)00072-4
  5. Sparse representation of transients in wavelet basis and its application in gearbox fault feature extraction Mechanical Systems and Signal Processing · Elsevier BV · 2014 10.1016/j.ymssp.2014.10.016
  6. Fault diagnosis for drivetrain gearboxes using PSO-optimized multiclass SVM classifier 2014 10.1109/pesgm.2014.6939892
  7. Adaptive feature extraction using sparse coding for machinery fault diagnosis Mechanical Systems and Signal Processing · Elsevier BV · 2010 10.1016/j.ymssp.2010.07.019
  8. Image Denoising by Sparse 3-D Transform-Domain Collaborative Filtering IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2007 10.1109/tip.2007.901238
  9. Sparse representation based latent components analysis for machinery weak fault detection Mechanical Systems and Signal Processing · Elsevier BV · 2014 10.1016/j.ymssp.2014.01.011
  10. LIBSVM ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2011 10.1145/1961189.1961199
  11. The Nature of Statistical Learning Theory 1995 10.1007/978-1-4757-2440-0
  12. $rm K$-SVD: An Algorithm for Designing Overcomplete Dictionaries for Sparse Representation IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2006 10.1109/tsp.2006.881199
  13. Sparse Signal Representations of Bearing Fault Signals for Exhibiting Bearing Fault Features Shock and Vibration · Hindawi Publishing Corporation · 2015 10.1155/2016/1835127
  14. Detection and diagnosis of bearing faults using shift-invariant dictionary learning and hidden Markov model Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.11.022
  15. Efficient Algorithms for Convolutional Sparse Representations IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2495260
  16. Complex signal analysis for planetary gearbox fault diagnosis via shift invariant dictionary learning Measurement · Elsevier BV · 2016 10.1016/j.measurement.2016.04.078
  17. Classification of machinery vibration signals based on group sparse representation Journal of Vibroengineering · JVE International · 2016 10.21595/jve.2015.16459
  18. Particle swarm optimization Swarm Intelligence · Springer Science+Business Media · 2007 10.1007/s11721-007-0002-0
  19. Fault Diagnosis for a Wind Turbine Generator Bearing via Sparse Representation and Shift-Invariant K-SVD IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tii.2017.2662215
  20. Fault detection of a wheelset bearing in a high-speed train using the shock-response convolutional sparse-coding technique Measurement · Elsevier BV · 2017 10.1016/j.measurement.2017.12.010
  21. Image-set based face recognition using K-SVD dictionary learning International Journal of Machine Learning and Cybernetics · Springer Science+Business Media · 2018 10.1007/s13042-017-0782-5
  22. Fault diagnosis of wind turbine bearing based on stochastic subspace identification and multi-kernel support vector machine Journal of Modern Power Systems and Clean Energy · Springer Nature · 2018 10.1007/s40565-018-0402-8
  23. K-SVD Based Denoising Algorithm for DoFP Polarization Image Sensors 2022 IEEE International Symposium on Circuits and Systems (ISCAS) · 2018 10.1109/iscas.2018.8350922
  24. Continuous-Time Opinion Dynamics With Stochastic Multiplicative Noises IEEE Transactions on Circuits & Systems II Express Briefs · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcsii.2018.2867944
  25. Feature Extraction Using EMD and Classifier Through Artificial Neural Networks for Gearbox Fault Diagnosis Advances in intelligent systems and computing · Springer Nature · 2018 10.1007/978-981-13-1822-1_28
  26. A hybrid multi-objective genetic local search algorithm for the prize-collecting vehicle routing problem Information Sciences · Elsevier BV · 2018 10.1016/j.ins.2018.11.006
  27. Speech denoising based on Group Sparse Representation in the case of Gaussian Noise 2018 10.1109/icdsp.2018.8631594
  28. Establishment of a deep learning network based on feature extraction and its application in gearbox fault diagnosis Artificial Intelligence Review · Springer Science+Business Media · 2019 10.1007/s10462-019-09710-x
  29. Rolling element bearing fault diagnosis based on multi-scale global fuzzy entropy, multiple class feature selection and support vector machine Transactions of the Institute of Measurement and Control · SAGE Publishing · 2019 10.1177/0142331219844555
  30. Group-Based K-SVD Denoising for Bearing Fault Diagnosis IEEE Sensors Journal · IEEE Sensors Council · 2019 10.1109/jsen.2019.2910868
  31. Medical Image Denoising Using Bilateral Filter and the K-SVD Algorithm Journal of Physics Conference Series · IOP Publishing · 2019 10.1088/1742-6596/1229/1/012007
  32. Sparse Representation-Based Video Quality Assessment for Synthesized 3D Videos IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2929433
  33. Transient feature self-enhancement via shift-invariant manifold sparse learning for rolling bearing health diagnosis Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.106957
  34. Sparse feature extraction based on periodical convolutional sparse representation for fault detection of rotating machinery Measurement Science and Technology · IOP Publishing · 2020 10.1088/1361-6501/abb0bf
  35. Attitude data-based deep hybrid learning architecture for intelligent fault diagnosis of multi-joint industrial robots Journal of Manufacturing Systems · Elsevier BV · 2020 10.1016/j.jmsy.2020.08.010
  36. Fault Detection and Behavior Analysis of Wheelset Bearing Using Adaptive Convolutional Sparse Coding Technique Combined with Bandwidth Optimization Shock and Vibration · Hindawi Publishing Corporation · 2020 10.1155/2020/8879732
  37. Theoretical Investigations on Kurtosis and Entropy and Their Improvements for System Health Monitoring IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2020 10.1109/tim.2020.3031125
  38. Deleted Work 1955