A high-accuracy intelligent fault feature selection method for rolling bearings
Through the hybrid feature selection method of Hilbert-Huang transform, ReliefF, and Laplace score, combined with the improved gray wolf optimization algorithm, the problems of feature redundancy and low model efficiency in rolling bearing fault diagnosis are solved, and high accuracy is achieved. Fault diagnosis and feature dimensionality reduction.
Patent Information
- Application Number
- CN202210123479.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-10
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-02-10
AI Technical Summary
In existing rolling bearing fault diagnosis methods, multi-domain feature extraction leads to feature redundancy, which reduces model computing efficiency and recognition performance, and increases the diagnostic error rate. A single filter evaluation criterion cannot accurately evaluate the comprehensive impact of features on diagnostic accuracy.
Hilbert-Huang transform is used to extract high-dimensional features, a hybrid algorithm of ReliefF and Laplace score is used for feature pre-selection, and the improved gray wolf optimization algorithm is used to search for the best feature subset and optimize SVM parameters to achieve high accuracy. Troubleshooting.
Through feature dimensionality reduction and parameter optimization, the accuracy and stability of rolling bearing fault diagnosis are significantly improved, the feature dimension is reduced, the diagnostic performance is improved, and feature redundancy and model recognition performance degradation are avoided.
Smart Images

Figure CN114626435B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of intelligent fault diagnosis of vibration signals, and in particular to a high-accuracy rolling bearing intelligent fault feature selection method. Background Art
[0002] Rolling bearings are key components in rotating machinery. Defects in any part of the rolling bearings may lead to deterioration of the operating conditions of the entire machine, and in severe cases may even cause significant economic losses and casualties. Therefore, efficient and accurate condition assessment and fault detection of bearings are crucial.
[0003] In recent years, data-driven intelligent diagnosis methods have been booming. Among these methods, selecting the features that best reflect the bearing status and building an effective diagnosis model are two important aspects to improve fault identification performance. In practical engineering applications, in order to ensure the final recognition effect, multi-domain feature extraction is often used to input as many features as possible into the diagnosis model. However, such methods will not only bring serious feature redundancy problems and reduce the operational efficiency of the model, but may also cause the model recognition performance to degrade and increase the diagnostic error rate. Therefore, adopting a reasonable fault feature extraction method and finding the optimal feature subset through an effective feature selection algorithm is a key step to achieve high diagnostic accuracy of rolling bearing faults.
[0004] ReliefF algorithm and Laplace score are two typical Filter mode feature selection methods. A single Filter evaluation criterion often cannot accurately evaluate the comprehensive impact of each feature on the diagnostic accuracy. Reasonable combination of these two methods can further improve the robustness of the feature selection algorithm and inherit the advantages of high computational efficiency of the Filter method. Since the Filter method has limitations in removing redundant features, the powerful global search capability of the improved Grey Wolf Optimization Algorithm can make up for this shortcoming, thereby achieving efficient fault feature dimensionality reduction and high-precision bearing fault diagnosis. Summary of the invention
[0005] The purpose of the present invention is to provide a high-accuracy rolling bearing intelligent fault feature selection method to achieve fault feature dimensionality reduction of vibration signals and diagnosis and identification of fault modes.
[0006] To achieve the above object, the present invention adopts the following technical solution:
[0007] A high-accuracy rolling bearing intelligent fault feature selection method comprises the following steps:
[0008] (1) The high-dimensional features of the vibration signal samples of typical bearing faults are extracted using the Hilbert-Huang transform method, and the initial feature set is obtained after normalization.
[0009] (2) Use the hybrid algorithm of ReliefF and Laplace score to pre-select features, calculate the comprehensive weight of each feature, and arrange them in descending order. Set a threshold, remove features that are less than the threshold, and preliminarily construct a sensitive feature subset;
[0010] (3) The traditional grey wolf optimization algorithm is improved by using the good point set initialization strategy, the convergence factor nonlinear adjustment strategy, and the Gaussian mutation strategy;
[0011] (4) Establish a fitness function, use the improved gray wolf optimization algorithm to complete the search for the best feature subset and simultaneously optimize the parameters of the SVM classifier;
[0012] (5) The SVM classifier is trained and tested using the optimal feature subset and the optimal parameter combination to achieve high-accuracy rolling bearing fault diagnosis.
[0013] In the step (1), in the time domain, five characteristic curves are obtained by calculating the maximum value, average value, mean square error, root mean square value and energy of each column of the Hilbert time-frequency spectrum matrix; then, the maximum value, average value, mean square error, root mean square value and standard deviation of the five characteristic curves are calculated respectively, and a total of 25 statistical features are extracted; in the frequency domain, similarly, 25 statistical features are obtained.
[0014] The step (2) is implemented by the following formula:
[0015]
[0016]
[0017] In formula (1), W represents the ReliefF weight vector of each feature, f i represents a feature to be evaluated, i is the feature number, R represents a random sample set, class(R) represents the category to which the sample set belongs, and H j represents the similar neighbor samples of the sample set, M j represents the heterogeneous neighbor samples of the sample set, j is the sample number, m is the number of iterations, k is the number of neighbor samples, diff is the distance between samples, c is the total number of classes different from sample R, and P(c) is the probability of the cth class;
[0018] In formula (2), L r represents the Laplace score of each feature, r is the feature number, x represents the node composed of the data set samples, α and β represent the node numbers, n represents the total number of nodes, and S αβ Denotes the weight matrix of the data sample, D αα represents a diagonal matrix, f r Represents the mean of the r-th dimension feature of the entire data set;
[0019] The two groups of weight values are standardized so that their mean is 0 and their standard deviation is 1, and the comprehensive weight CW of feature evaluation is obtained. r =W r -L r , W r , L r Respectively represent the feature weights after standardization, CW r The larger it is, the more important the feature is.
[0020] The step (3) is implemented by the following formula:
[0021] D=|C·X p (t)-X(t)| (3)
[0022] X(t+1)=X p (t)-A·D (4)
[0023] p n (k)={({g1(m)×z},…,{g d (m)×z}),1≤z≤m} (5)
[0024]
[0025]
[0026] Where D represents the distance vector between the gray wolf and the prey in the gray wolf optimization algorithm, t represents the current number of iterations of the algorithm, and X p is the position vector of the prey, X represents the position vector of a gray wolf, A and C are coefficient vectors, p n (k) represents the good point set in the good point set initialization strategy, g is the good point, d is the dimension of the Euclidean space cube, z is a positive integer between 1 and m, a is the nonlinear convergence factor, initial represents the initial state, and the initial value a initial =2, final represents the final state, the final value is a final =0, T max represents the maximum number of iterations, and N(0,1) represents the standard Gaussian distribution in the mutation operator.
[0027] In step (4), the fitness function is as follows:
[0028] fitness1=SVM accuracy (8)
[0029]
[0030] In the formula, fitness1 represents the fitness function of support vector machine optimization, fitness2 represents the fitness function of feature optimization, SVM accuracy is the classification accuracy of the support vector machine, L represents the number of selected features, N represents the total number of features in the subset, and w α With w β The weights corresponding to the classifier performance and the number of preferred features are set as w α =0.99, w β =0.01;
[0031] The fitness function and the update mechanism of the improved grey wolf optimization algorithm are used to complete the screening of the optimal subset and the optimization of SVM parameters.
[0032] Beneficial effects: The present invention utilizes a hybrid Filter method composed of ReliefF and LS to quickly select representative features and obtain efficient and accurate results; the present invention utilizes a good point set initialization strategy, a convergence factor nonlinear adjustment strategy, and a Gaussian mutation strategy to improve the traditional gray wolf optimization algorithm, and the proposed improved gray wolf optimization algorithm has more excellent optimization performance, which fundamentally solves the problems of slow convergence speed and low precision of the traditional algorithm; the present invention fully combines the advantages of the high efficiency and speed of the Filter method with the high accuracy of the adaptive heuristic algorithm, and optimizes the parameters of SVM while searching for the optimal subset, which can achieve high-accuracy fault classification with features of lower dimensions, and has stronger global search capabilities and more stable diagnostic performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a flow chart of the present invention;
[0034] Figure 2 It is the Hilbert-Huang transform feature extraction flow chart;
[0035] Figure 3 It is the classification accuracy based on the Filter method with different numbers of features;
[0036] Figure 4 It is a t-SNE two-dimensional distribution diagram; (a) is before feature selection; (b) is after feature selection;
[0037] Figure 5 It is the change of fitness function value of various optimization algorithms. DETAILED DESCRIPTION
[0038] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0039] like Figure 1As shown, a high-accuracy rolling bearing intelligent fault feature selection method of the present invention comprises the following steps:
[0040] Step 1: Use the Hilbert-Huang transform-based method to extract high-dimensional features from the vibration signal samples of typical bearing faults, and obtain the initial feature set after normalization.
[0041] Hilbert-Huang transform has good analysis effect on non-steady-state and nonlinear signals, and has the advantages of strong adaptability and high resolution. The Hilbert time-frequency spectrum can accurately reflect the change law of signal amplitude over time and frequency.
[0042] For the vibration signal of the bearing, its Hilbert time-frequency spectrum contains rich fault information. After obtaining the Hilbert time-frequency spectrum matrix, the Hilbert time-frequency spectrum matrix is used to construct a high-dimensional feature set: in the time domain, by calculating the maximum value, average value, mean square error, root mean square value and energy of each column of the Hilbert time-frequency spectrum matrix, 5 characteristic curves are obtained. Then the maximum value, average value, mean square error, root mean square value and standard deviation of these 5 characteristic curves are calculated respectively. A total of 25 statistical features are extracted in the time domain; in the frequency domain, 25 features can also be obtained. The feature extraction process is as follows: Figure 2 shown.
[0043] Step 2: Use the highly robust ReliefF and Laplace score hybrid algorithm to pre-select features, calculate the comprehensive weight of each feature, and arrange them in descending order. Set a threshold, eliminate features that are less than the threshold, and complete an initial screening of the feature subset.
[0044] When using the ReliefF algorithm for feature selection, for a feature that needs to be evaluated, first randomly select a sample point in the training set, then find k nearest neighbor samples in the same data set and different data sets, and then continuously update f. i The weights of each feature are obtained by using the weight vector of each feature. The implementation formula of the ReliefF algorithm is as follows:
[0045]
[0046] Where, W represents the ReliefF weight vector of each feature, f i represents a feature to be evaluated, i is the feature number, R represents a random sample set, class(R) represents the category to which the sample set belongs, and H j represents the similar neighbor samples of the sample set, M jrepresents the heterogeneous neighbor samples of the sample set, j is the sample number, m is the number of iterations, k is the number of neighbor samples, diff is the distance between samples, c is the total number of classes different from sample R, and P(c) is the probability of the cth class.
[0047] Laplace score is an unsupervised feature selection method that evaluates features based on their ability to maintain local manifold structures. By selecting features with smaller Laplace scores, the overall geometric structure information in the fault feature set can be retained to the maximum extent, which is beneficial for detecting bearing faults. The calculation formula for Laplace score is as follows:
[0048]
[0049] Where, L r represents the Laplace score of each feature, r is the feature number, x represents the node composed of the data set samples, α and β represent the node numbers, n represents the total number of nodes, and S αβ Denotes the weight matrix of the data sample, D αα represents a diagonal matrix, f r Represents the mean of the r-th dimension feature of the entire data set.
[0050] After finding the ReliefF weight and Laplace score of each feature in the initial feature set, the two sets of weight values are standardized to make their mean 0 and standard deviation 1. The ReliefF weight of the rth feature is W r LS is L r , then the comprehensive weight of the feature CW r =W r -L r , C.W. r The larger it is, the more important the feature is.
[0051] Step 3: Improve the traditional grey wolf optimization algorithm by using the good point set initialization strategy, convergence factor nonlinear adjustment strategy, and Gaussian mutation strategy.
[0052] The Gray Wolf Optimization Algorithm has the characteristics of strong global search capability, simple principle, and few parameters. It has been successfully applied to feature selection, parameter optimization, etc. The implementation process of the Gray Wolf Optimization Algorithm is as follows:
[0053] D=|C·X p (t)-X(t)| (3)
[0054] X(t+1)=X p (t)-A·D (4)
[0055] Where D represents the distance vector between the gray wolf and the prey in the gray wolf optimization algorithm; t represents the current number of iterations of the algorithm; Xp is the position vector of the prey; X represents the position vector of the gray wolf; A and C are both coefficient vectors.
[0056] The initial population of the traditional gray wolf optimization algorithm is generated by random numbers, which makes it difficult to ensure the diversity and uniformity of the population. It is easy to cause the initial individuals to be concentrated in a small range, causing the algorithm to fall into the optimal state. Therefore, the good point set initialization strategy will be used here to optimize the initial population distribution. The formula for the good point set initialization strategy is as follows:
[0057] p n (k)={({g1(m)×z},…,{g d (m)×z}),1≤z≤m} (5)
[0058] In the formula, p n (k) represents the good point set in the good point set initialization strategy, g is the good point, d represents the dimension of the Euclidean space cube, and z is a positive integer between 1 and m.
[0059] The convergence factor of the traditional gray wolf optimization algorithm decreases linearly from 2 to 0 during the iteration process. Due to the complexity of the hunting process of the gray wolf optimization algorithm, the linear convergence factor cannot accurately reflect the process. Therefore, a nonlinear adjustment strategy of the convergence factor based on the Sigmoid function is proposed here, namely:
[0060]
[0061] In the formula, a represents the nonlinear convergence factor, initial represents the initial state, and the initial value a initial =2, final represents the final state, the final value is a final =0, T max Indicates the maximum number of iterations.
[0062] When the gray wolf updates its position, the traditional GWO still has defects such as being easily trapped in local optimality and slow convergence. In order to further improve the algorithm performance and avoid algorithm complexity, the Gaussian mutation operator is added to the gray wolf position update equation. The basic form is as follows:
[0063]
[0064] Where a is the nonlinear convergence factor; N(0,1) represents the standard Gaussian distribution.
[0065] Step 4: Establish a reasonable fitness function, use the improved grey wolf optimization algorithm to complete the search for the best feature subset and simultaneously optimize the parameters of the SVM classifier.
[0066] When optimizing SVM parameters, the initial population size of the improved gray wolf optimization algorithm is set to 10, the maximum number of iterations is set to 10, and the selected fitness function is as follows.
[0067] fitness1=SVM accuracy (8)
[0068] Where fitness1 represents the fitness function of support vector machine optimization.
[0069] When performing subset search, the initial population size of the improved gray wolf optimization algorithm is set to 10, the maximum number of iterations is set to 80, and the fitness function is set as follows.
[0070]
[0071] In the formula, fitness2 represents the fitness function of feature optimization, SVM accuracy is the classification accuracy of the support vector machine; L represents the number of selected features; N represents the total number of features in the subset; w α With w β The weights corresponding to the classifier performance and the number of preferred features are set as w α =0.99, w β = 0.01. By using the fitness function and the update mechanism of the improved gray wolf optimization algorithm, the optimal subset screening and SVM parameter optimization can be completed.
[0072] Step 5: Use the optimal feature subset and the optimal parameter combination to train and test the SVM to achieve high-accuracy rolling bearing fault diagnosis.
[0073] Taking HRB6208 deep groove ball bearing as an example, the electric spark machining method is used to give the tested bearing a single damage of different degrees. The damage locations are located on the inner ring, outer ring and rolling element of the bearing. Each fault type contains three damage sizes, namely: 0.2mm, 0.6mm, and 1.2mm. Together with the normal condition, there are a total of 10 types of health states. Two sets of vibration signals are collected for each health state, with a sampling frequency of 12.8kHZ. The first 120,000 points of the first set of signals are evenly cut into 60 data samples, that is, the length of each data sample is 2000 points. The same operation is performed on the second set of signals. For each sample, the method in Section 1 is used for feature extraction, and the original high-dimensional feature set F consisting of 50 features can be obtained. In order to avoid the diagnosis results being interfered by samples and fitting, after feature extraction, 30 random samples from the two sets of signals are used as training sets and test sets respectively.
[0074] Firstly, the proposed hybrid filter method is used to pre-select the feature set, and the effect is compared with that of the single ReliefF algorithm and LS algorithm. The average accuracy of 10 diagnosis results is calculated respectively. The classification accuracy changes with different number of features obtained according to the weight arrangement. Figure 3 As shown in the figure, it can be seen that the hybrid method inherits the high computational efficiency of the traditional Filter method and can complete the rapid initial screening of high-dimensional feature sets. Therefore, the hybrid method has a better dimensionality reduction effect while ensuring good diagnostic accuracy, and it strikes a good balance between efficiency and accuracy, and can effectively reduce the computational complexity of subsequent search algorithms.
[0075] In order to achieve the best accuracy of the diagnostic model, the improved gray wolf optimization algorithm was used to perform secondary screening on the pre-selected feature subset, and the algorithm was used to simultaneously optimize the SVM parameters. The final diagnostic accuracy reached 97.33%, which was better than the 89.67% of the 50-dimensional feature before feature selection. The t-distributed neighborhood embedding (t-SNE) manifold learning algorithm was used to convert the feature set before and after feature selection into a two-dimensional distribution. The resulting distribution diagram is shown in Figure 2. Figure 4 As shown. Figure 4 As can be seen in (a), before feature selection, several states such as category 2 and category 3 are close to each other and overlap together. After feature selection, since the inferior features are eliminated, the state categories in the two-dimensional distribution map are distributed very widely, without confusion, and effective separation is achieved. Therefore, the method proposed in this paper effectively realizes the selection of the optimal feature subset, while eliminating irrelevant features, it also removes redundant features, and finally obtains a high diagnostic accuracy with a smaller feature dimension.
[0076] In order to further demonstrate the superiority of the improved gray wolf optimization algorithm in the field of feature selection, it is compared with three classic optimization algorithms: gray wolf optimization (GWO), particle swarm optimization (PSO), and genetic algorithm (GA). For the pre-selected subset obtained by the hybrid filter algorithm, the four algorithms are executed respectively, and the obtained fitness function curves are shown as follows: Figure 5 As shown in the figure. Among the several methods, only the IGWO algorithm converges to the global optimal solution, and the convergence speed is the fastest. The other three algorithms are at risk of falling into the local optimal solution. Therefore, the improved gray wolf optimization algorithm has significant advantages over other classic optimization algorithms in terms of convergence speed and convergence accuracy.
[0077] The present invention fully combines the advantages of the high efficiency and speed of the Filter method and the high accuracy of the adaptive heuristic algorithm, and optimizes the parameters of SVM while searching for the optimal subset, so that high-accuracy fault classification can be achieved with features of lower dimensions. The proposed improved gray wolf optimization algorithm has more excellent optimization performance, which fundamentally solves the problems of slow convergence speed and low accuracy of traditional algorithms, significantly improves the diagnostic accuracy of the classifier model, and effectively realizes the feature dimensionality reduction of the fault data set. Compared with similar inventions, it has better comprehensive performance.
Claims
1. A high-accuracy rolling bearing intelligent fault feature selection method, characterized by: The following steps are involved: (1) The high-dimensional features of the vibration signal samples of typical bearing faults are extracted using the Hilbert-Huang transform method, and the initial feature set is obtained after normalization. (2) Use the hybrid algorithm of ReliefF and Laplace score to pre-select features, calculate the comprehensive weight of each feature, and arrange them in descending order. Set a threshold, remove features that are less than the threshold, and preliminarily construct a sensitive feature subset; The step (2) is implemented by the following formula: In formula (1), W represents the ReliefF weight vector of each feature, f i represents a feature to be evaluated, i is the feature number, R represents a random sample set, class(R) represents the category to which the sample set belongs, and H j represents the similar neighbor samples of the sample set, M j represents the heterogeneous neighbor samples of the sample set, j is the sample number, m is the number of iterations, k is the number of neighbor samples, diff is the distance between samples, c is the total number of classes different from sample R, and P(c) is the probability of the cth class; In formula (2), L r represents the Laplace score of each feature, r is the feature number, x represents the node composed of the data set samples, α and β represent the node numbers, n represents the total number of nodes, and S αβ Denotes the weight matrix of the data sample, D αα represents a diagonal matrix, f r Represents the mean of the r-th dimension feature of the entire data set; The two groups of weight values are standardized so that their mean is 0 and their standard deviation is 1, and the comprehensive weight CW of feature evaluation is obtained. r =W r -L r , W r , L r Respectively represent the feature weights after standardization, CW r The larger it is, the more important the feature is; (3) The traditional grey wolf optimization algorithm is improved by using the good point set initialization strategy, the convergence factor nonlinear adjustment strategy, and the Gaussian mutation strategy; The step (3) is implemented by the following formula: D=C·X p (t)-X(t) (3) X(t+1)=X p (t)-A·D (4) p n (k)={({g1(m)×z},...,{g d (m)×z}),1≤z≤m} (5) Where D represents the distance vector between the gray wolf and the prey in the gray wolf optimization algorithm, t represents the current number of iterations of the algorithm, and X p is the position vector of the prey, X represents the position vector of a gray wolf, A and C are coefficient vectors, p n (k) represents the good point set in the good point set initialization strategy, g is the good point, d is the dimension of the Euclidean space cube, z is a positive integer between 1 and m, a is the nonlinear convergence factor, initial represents the initial state, and the initial value a initial =2, final represents the final state, the final value is a final =0, T max represents the maximum number of iterations, N(0,1) represents the standard Gaussian distribution in the mutation operator; (4) Establish a fitness function, use the improved gray wolf optimization algorithm to complete the search for the best feature subset and simultaneously optimize the parameters of the SVM classifier; (5) The SVM classifier is trained and tested using the optimal feature subset and the optimal parameter combination to achieve high-accuracy rolling bearing fault diagnosis.
2. The high-accuracy rolling bearing intelligent fault feature selection method according to claim 1 is characterized in that: In the step (1), in the time domain, five characteristic curves are obtained by calculating the maximum value, average value, mean square error, root mean square value and energy of each column of the Hilbert time-frequency spectrum matrix; then, the maximum value, average value, mean square error, root mean square value and standard deviation of the five characteristic curves are calculated respectively, and a total of 25 statistical features are extracted; in the frequency domain, similarly, 25 statistical features are obtained.
3. The high-accuracy rolling bearing intelligent fault feature selection method according to claim 1 is characterized in that: In step (4), the fitness function is as follows: fitness1=SVM accuracy (8) In the formula, fitness1 represents the fitness function of support vector machine optimization, fitness2 represents the fitness function of feature optimization, SVM accuracy is the classification accuracy of the support vector machine, L represents the number of selected features, N represents the total number of features in the subset, and w α With w β The weights corresponding to the classifier performance and the number of preferred features are set as w α =0.99, w β =0.01; The fitness function and the update mechanism of the improved grey wolf optimization algorithm are used to complete the screening of the optimal subset and the optimization of SVM parameters.
