Bearing fault diagnosis method and device based on SCNGO optimized VMD and SVM, and medium
Through the VMD and SVM methods optimized based on SCNGO, the problems of insufficient fault feature extraction ability and poor data generalization ability in machine tool spindle bearing fault diagnosis are solved, achieving more efficient fault diagnosis, improving production efficiency and corporate competitiveness.
Patent Information
- Application Number
- CN202410830549.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-06-20
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-11
AI Technical Summary
Problems in fault diagnosis of machine tool spindle bearings include insufficient fault feature extraction capabilities, poor generalization ability in processing complex multi-dimensional data, and slow convergence speed of optimization methods.
The variational mode decomposition (VMD) and support vector machine (SVM) methods based on SCNGO optimization are used, and the parameters of VMD and SVM are optimized through the Northern Goshawk algorithm to improve the accuracy of fault feature extraction and classification.
It improves the accuracy and efficiency of spindle bearing fault diagnosis, ensures safe and stable operation of equipment, and improves production efficiency and corporate competitiveness.
Smart Images

Figure CN118760964A_ABST
Abstract
Description
[0001] The present invention claims the priority of the prior application filed by the applicant with the China Patent Office on June 20, 2024, entitled “Bearing fault diagnosis method, equipment and medium based on SCNGO optimized VMD and SVM” and application number 202410800369.4. Technical Field
[0002] The invention relates to the technical field of machine tool spindle bearing fault diagnosis, and in particular to a bearing fault diagnosis method, equipment and medium based on SCNGO optimized VMD and SVM. Background Art
[0003] The development level of CNC machine tools reflects the development level of a country's modern manufacturing industry to a large extent. Spindle bearings are an indispensable key basic component in CNC machine tools. Their health status significantly affects the operating accuracy, service reliability and even service life of the rotating system and even the entire equipment. With the continuous development of industrial production, the costs and losses caused by equipment downtime and maintenance are becoming increasingly prominent. Therefore, it has become an important issue to achieve preventive maintenance through bearing fault diagnosis and reduce production interruptions and maintenance costs.
[0004] At present, the diagnosis of spindle bearing faults mainly relies on traditional detection methods and empirical judgments, such as monitoring and analysis of parameters such as vibration, noise, and temperature. However, these methods are often limited by monitoring accuracy and professional technical level, and cannot meet the needs of high-precision and high-efficiency fault diagnosis. At the same time, with the development of information technology, data-driven intelligent diagnosis technology has gradually attracted attention. By collecting and analyzing a large amount of operating data, combined with machine learning, deep learning and other methods, it is possible to accurately diagnose spindle bearing faults. Therefore, the research on spindle bearing fault diagnosis aims to explore new diagnostic methods and technical means, improve the accuracy and efficiency of spindle bearing fault diagnosis, thereby ensuring the safe and stable operation of equipment, and improving production efficiency and corporate competitiveness.
[0005] Fault feature extraction is a very important step in the fault diagnosis of machine tool spindle bearings. Due to the complex operating environment of the machine tool spindle, the collected vibration signal contains strong noise, which makes it difficult to accurately extract the fault features. Therefore, how to effectively extract fault features has become one of the main research contents of machine tool spindle bearing fault diagnosis. With the development of information technology, data-driven intelligent diagnosis technology has gradually been applied to spindle bearing fault classification. Through methods such as big data analysis and machine learning, different types of faults can be automatically identified and classified, providing more accurate and efficient means for fault diagnosis and prevention. Therefore, conducting research on spindle bearing fault classification not only helps to deeply understand the characteristics and laws of spindle bearing faults, but also provides important references for the improvement of fault diagnosis technology and equipment maintenance management, and promotes the stable development of enterprise production.
[0006] At present, bearing fault diagnosis mainly adopts the time-frequency combined analysis method. Among them, variational mode decomposition (VMD) and support vector machine (SVM) are relatively common methods, which perform well in the feature extraction and fault diagnosis of complex bearing signals. VMD can effectively remove background noise and greatly improve the accuracy of subsequent bearing fault detection. However, the parameters [K, α] of VMD decomposition need to be set manually, which affects the decomposition performance. SVM is also widely used in bearing fault classification. Its basic idea is to separate data samples of different categories by finding an optimal hyperplane. The selection of two parameters in SVM (penalty factor C and kernel parameter g) is crucial. If the value of C is too large, the training accuracy will be high but the generalization will be poor, while if the value is too small, the training error will be large. If g is selected too small, the system will be too complex and the generalization ability will be poor, while if it is selected too large, the fault classification accuracy will be reduced.
[0007] To solve the above problems, many scholars have used intelligent optimization algorithms to optimize the parameters of VMD and SVM to find the optimal parameters and improve the accuracy of fault diagnosis. However, there are differences in optimization effects between different intelligent optimization algorithms. Therefore, it is necessary to find an intelligent optimization algorithm with fast convergence properties and good adaptability to machine tool spindle bearing faults. Summary of the invention
[0008] The main purpose of the present invention is to provide a bearing fault diagnosis method, device and medium based on SCNGO optimized VMD and SVM, so as to solve the problems existing in the prior art in the field of machine tool spindle bearing fault diagnosis, such as insufficient fault feature extraction capability, poor generalization capability for processing complex multidimensional data, and slow convergence speed of optimization method.
[0009] To achieve the above object, the present invention proposes a bearing fault diagnosis method based on SCNGO optimized VMD and SVM, the method comprising the following steps:
[0010] Obtain bearing data to be diagnosed;
[0011] Extracting features of the bearing data to be diagnosed to obtain feature data of the bearing to be diagnosed;
[0012] The characteristic data of the bearing to be diagnosed is input into a pre-trained SVM model for fault classification and identification to obtain a bearing fault diagnosis result, wherein the SVM model is trained based on the Northern Goshawk algorithm SCNGO to optimize VMD parameters and SVM parameters.
[0013] Wherein, before the step of obtaining the bearing data to be diagnosed, the step further includes:
[0014] The VMD parameters and SVM parameters were optimized based on the SCNGO algorithm and the SVM model was obtained through training.
[0015] The steps of optimizing VMD parameters and SVM parameters based on the SCNGO algorithm and training the SVM model include:
[0016] Preprocessing normal bearing data and bearing fault data of various fault types obtained from the experiment to obtain preprocessed data;
[0017] The preprocessed data is used as input data of the SCNGO algorithm, and the VMD parameters are optimized by the SCNGO algorithm to obtain the optimal parameter combination [K, α] of the optimized VMD;
[0018] The best parameter combination [K, α] of VMD is applied to the VMD modal decomposition algorithm to perform signal decomposition and reconstruction, and extract fault features to obtain fault feature data after VMD is optimized based on the SCNGO algorithm.
[0019] Based on the fault feature data, the SVM parameters are optimized by the SCNGO algorithm to obtain the optimal parameter combination [C, g] of the optimized SVM;
[0020] Based on the fault feature data and the optimized best parameter combination [C, g] of the SVM, the SVM model is trained by the SVM algorithm to obtain a trained SVM model.
[0021] The step of preprocessing the normal bearing data and bearing fault data of various fault types obtained by the experiment to obtain preprocessed data includes:
[0022] For the data of normal bearings, outer ring faulty bearings, rolling element faulty bearings, and inner ring faulty bearings obtained from the experiment, check whether the data has missing values, abnormal values, and / or process the abnormal values, and / or normalize or standardize the data so that the numerical ranges between different features are similar.
[0023] The step of using the preprocessed data as input data of the SCNGO algorithm, optimizing VMD parameters by the SCNGO algorithm, and obtaining the optimal parameter combination [K, α] of the optimized VMD includes:
[0024] Select the preprocessed data as the input data of the SCNGO algorithm;
[0025] Construct the fitness function of the SCNGO algorithm;
[0026] Initialize the parameters of the SCNGO algorithm and start iterating the parameters of the SCNGO algorithm;
[0027] Obtaining the running result of the SCNGO algorithm, and bringing the running result into the VMD algorithm;
[0028] The minimum permutation entropy is set as the fitness function of the SCNGO algorithm, and the optimal parameter combination [K, α] of VMD is obtained by the SCNGO algorithm with the minimum permutation entropy.
[0029] The step of applying the obtained optimal parameter combination [K, α] of VMD to the VMD modal decomposition algorithm, performing signal decomposition and reconstruction, and extracting fault features to obtain fault feature data after optimizing VMD based on the SCNGO algorithm includes:
[0030] The best parameter combination [K, α] of VMD obtained by optimizing VMD parameters using SCNGO algorithm is used as the initialization parameter of VMD decomposition;
[0031] Run VMD decomposition;
[0032] Obtain time domain and spectrum diagrams of each mode;
[0033] Based on the correlation analysis method, the IMF components that meet the requirements of the correlation with the target fault type are screened out from each component, and the signals of these screened IMF components are reconstructed to obtain the reconstructed modal components;
[0034] Perform envelope demodulation analysis on the reconstructed modal components;
[0035] Fault features are extracted based on the results of envelope demodulation analysis.
[0036] The step of training the SVM model by using the SVM algorithm based on the fault feature data and the optimized optimal parameter combination [C, g] of the SVM to obtain the trained SVM model includes:
[0037] Preprocessing the fault characteristic data to obtain a characteristic data set;
[0038] According to the known bearing state, the feature data set is marked to obtain a marked feature data set;
[0039] Divide the labeled feature dataset into training set and test set;
[0040] Based on the SVM algorithm, according to the features and labels of the training set and based on the optimal parameter combination [C, g] of the optimized SVM, an optimal decision boundary is learned through the optimization algorithm to maximize the interval of the classification boundary and minimize the classification error on the training set, so as to train the SVM model.
[0041] Wherein, the method further comprises:
[0042] After the SVM model training is completed, the accuracy, precision, and recall rate indicators of the SVM model in each category are evaluated through the test set to evaluate the performance of the SVM model and obtain the final trained SVM model.
[0043] The present invention also proposes a bearing fault diagnosis device based on SCNGO optimization of VMD and SVM, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM as described above is implemented.
[0044] The present invention further proposes a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM as described above is implemented.
[0045] The present invention proposes a bearing fault diagnosis method, device and medium based on SCNGO optimization of VMD and SVM. Aiming at the problem that the variational mode decomposition method is affected by parameter settings and the selection of sensitive modal components when extracting the fault characteristic frequency of the rolling bearing vibration signal and using SVM for fault diagnosis, a bearing fault diagnosis method based on SCNGO optimization of VMD and SVM is constructed, and the bearing characteristic data to be diagnosed is input into a pre-trained SVM model for fault classification and identification, and the bearing fault diagnosis result is obtained, wherein the SVM model is based on the Northern Goshawk algorithm SCNGO optimization of VMD parameters and SVM parameters and training. Experimental verification shows that the method can solve the problem that VMD and SVM are affected by parameter settings, successfully diagnose bearing faults, and solve the problems of insufficient fault feature extraction capability, poor generalization capability for processing complex multidimensional data, and slow convergence speed of optimization methods in the prior art in the field of machine tool spindle bearing fault diagnosis. Compared with the prior art, the scheme of the present invention improves the accuracy and efficiency of spindle bearing fault diagnosis, thereby ensuring the safe and stable operation of the equipment, and improving production efficiency and enterprise competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flow chart of the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM in the present invention.
[0047] Figure 2 The figure is a flow chart of the SCNGO optimization algorithm involved in the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM of the present invention.
[0048] Figure 3 It is a flow chart of fault feature extraction involved in the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM of the present invention.
[0049] Figure 4 It is a schematic diagram of the fault diagnosis process involved in the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM of the present invention. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0051] Reference Figure 1 The present invention proposes a bearing fault diagnosis method based on SCNGO optimized VMD and SVM, the method comprising the following steps:
[0052] Step S1, obtaining bearing data to be diagnosed;
[0053] Step S2, extracting features of the bearing data to be diagnosed to obtain feature data of the bearing to be diagnosed;
[0054] Step S3, inputting the bearing feature data to be diagnosed into a pre-trained SVM model for fault classification and identification to obtain a bearing fault diagnosis result, wherein the SVM model is trained based on the Northern Goshawk algorithm SCNGO to optimize VMD parameters and SVM parameters.
[0055] Wherein, before the step of obtaining the bearing data to be diagnosed, the step further includes:
[0056] Step S0, optimizing VMD parameters and SVM parameters based on SCNGO algorithm and training to obtain SVM model.
[0057] The steps of optimizing VMD parameters and SVM parameters based on the SCNGO algorithm and training the SVM model include:
[0058] Preprocessing normal bearing data and bearing fault data of various fault types obtained from the experiment to obtain preprocessed data;
[0059] The preprocessed data is used as input data of the SCNGO algorithm, and the VMD parameters are optimized by the SCNGO algorithm to obtain the optimal parameter combination [K, α] of the optimized VMD;
[0060] The best parameter combination [K, α] of VMD is applied to the VMD modal decomposition algorithm to perform signal decomposition and reconstruction, and extract fault features to obtain fault feature data after VMD is optimized based on the SCNGO algorithm.
[0061] Based on the fault feature data, the SVM parameters are optimized by the SCNGO algorithm to obtain the optimal parameter combination [C, g] of the optimized SVM;
[0062] Based on the fault feature data and the optimized best parameter combination [C, g] of the SVM, the SVM model is trained by the SVM algorithm to obtain a trained SVM model.
[0063] The step of preprocessing the normal bearing data and bearing fault data of various fault types obtained by the experiment to obtain preprocessed data includes:
[0064] For the data of normal bearings, outer ring faulty bearings, rolling element faulty bearings, and inner ring faulty bearings obtained from the experiment, check whether the data has missing values, abnormal values, and / or process the abnormal values, and / or normalize or standardize the data so that the numerical ranges between different features are similar.
[0065] The step of using the preprocessed data as input data of the SCNGO algorithm, optimizing VMD parameters by the SCNGO algorithm, and obtaining the optimal parameter combination [K, α] of the optimized VMD includes:
[0066] Select the preprocessed data as the input data of the SCNGO algorithm;
[0067] Construct the fitness function of the SCNGO algorithm;
[0068] Initialize the parameters of the SCNGO algorithm and start iterating the parameters of the SCNGO algorithm;
[0069] Obtaining the running result of the SCNGO algorithm, and bringing the running result into the VMD algorithm;
[0070] The minimum permutation entropy is set as the fitness function of the SCNGO algorithm, and the optimal parameter combination [K, α] of VMD is obtained by the SCNGO algorithm with the minimum permutation entropy.
[0071] The step of applying the obtained optimal parameter combination [K, α] of VMD to the VMD modal decomposition algorithm, performing signal decomposition and reconstruction, and extracting fault features to obtain fault feature data after optimizing VMD based on the SCNGO algorithm includes:
[0072] The best parameter combination [K, α] of VMD obtained by optimizing VMD parameters using SCNGO algorithm is used as the initialization parameter of VMD decomposition;
[0073] Run VMD decomposition;
[0074] Obtain time domain and spectrum diagrams of each mode;
[0075] Based on the correlation analysis method, the IMF components that meet the requirements of the correlation with the target fault type are screened out from each component, and the signals of these screened IMF components are reconstructed to obtain the reconstructed modal components;
[0076] Perform envelope demodulation analysis on the reconstructed modal components;
[0077] Fault features are extracted based on the results of envelope demodulation analysis.
[0078] The step of training the SVM model by using the SVM algorithm based on the fault feature data and the optimized optimal parameter combination [C, g] of the SVM to obtain the trained SVM model includes:
[0079] Preprocessing the fault characteristic data to obtain a characteristic data set;
[0080] According to the known bearing state, the feature data set is marked to obtain a marked feature data set;
[0081] Divide the labeled feature dataset into training set and test set;
[0082] Based on the SVM algorithm, according to the features and labels of the training set and based on the optimal parameter combination [C, g] of the optimized SVM, an optimal decision boundary is learned through the optimization algorithm to maximize the interval of the classification boundary and minimize the classification error on the training set, so as to train the SVM model.
[0083] Wherein, the method further comprises:
[0084] After the SVM model training is completed, the accuracy, precision, and recall rate indicators of the SVM model in each category are evaluated through the test set to evaluate the performance of the SVM model and obtain the final trained SVM model.
[0085] The present invention aims at the problem that the variational modal decomposition method is affected by parameter settings and the selection of sensitive modal components when extracting the fault characteristic frequency of the rolling bearing vibration signal and using SVM for fault diagnosis. A bearing fault diagnosis method based on SCNGO optimization of VMD and SVM is constructed, and the bearing characteristic data to be diagnosed is input into a pre-trained SVM model for fault classification and identification to obtain the bearing fault diagnosis result, wherein the SVM model is obtained by training based on the Northern Goshawk algorithm SCNGO to optimize VMD parameters and SVM parameters. Experimental verification shows that the method can solve the problem that VMD and SVM are affected by parameter settings, successfully diagnose bearing faults, and solve the problems of insufficient fault feature extraction capability, poor generalization capability for processing complex multidimensional data, and slow convergence speed of optimization methods in the prior art in the field of machine tool spindle bearing fault diagnosis. Compared with the prior art, the scheme of the present invention improves the accuracy and efficiency of spindle bearing fault diagnosis, thereby ensuring the safe and stable operation of the equipment and improving production efficiency and enterprise competitiveness.
[0086] The following is a detailed description of this embodiment:
[0087] The present invention proposes a bearing fault diagnosis method based on SCNGO optimized VMD and SVM, which can be implemented according to the following steps:
[0088] Step 1: Data preprocessing stage;
[0089] Step 2: Improved Northern Goshawk Algorithm (SCNGO) optimizes VMD parameters [K, α];
[0090] Step 3: VMD decomposition and signal reconstruction stage;
[0091] Step 4: Improved Northern Goshawk Algorithm (SCNGO) Optimize SVM Parameters [C, g] Phase
[0092] Step 5: Optimized SVM training model stage
[0093] Step 6: Fault diagnosis phase.
[0094] The specific process is as follows:
[0095] (1) Data preprocessing
[0096] Data preprocessing is performed on normal bearings, outer ring fault bearings, rolling element fault bearings, and inner ring fault bearings obtained from the experiment. Check whether the data has missing values, outliers, and other problems, and process the outliers to ensure the integrity and accuracy of the data. Normalize or standardize the data so that the numerical ranges between different features are similar, which is conducive to the convergence of the model and the training effect.
[0097] (2) Improved Northern Goshawk Algorithm (SCNGO) Optimization of VMD Parameters [K, α] Stage
[0098] Among them, the principle process of the improved northern goshawk algorithm (SCNGO) can be referred to Figure 2 As shown. The original Northern Goshawk algorithm algorithm process is as follows:
[0099] The first stage is the prey exploration stage: In this stage, the northern goshawk will randomly select a prey and pursue it. By randomly selecting prey in the search space, the best prey area is determined. Mathematical modeling is performed using equations (1) to (3).
[0100] P i =X k ,i=1,2,L,N,k=1,2,L,i-1,i+1,L,N (1)
[0101]
[0102]
[0103] Where X is the population of northern goshawks, which is an N·m matrix. i is the i-th suggested solution, N is the number of population members, and m is the number of problem variables. F is the obtained objective function value vector, F i is the objective function value obtained by the ith solution. Pi is the location of the bait of the ith northern goshawk, F Pi is the objective function value, k is a random natural number in the interval [1, N], X i new,Pl is the new state of the i-th proposed solution, X i,j new,Pl For its j-th dimension, F i new,Pl is the objective function value of the first stage of NGO, r takes a value interval of [0,1], I takes a value of 1 or 2, and the parameters r and I are used to search and update random behaviors in NGO.
[0104] The second stage is the capture stage: after the northern goshawk attacks the prey, the prey will try to escape. During the predation process, it is assumed that this hunting behavior occurs within a radius of R of the attack location, and is mathematically modeled using equations (4) to (6).
[0105]
[0106]
[0107]
[0108] Where R is the pursuit attack radius, t is the iteration counter, T is the maximum number of iterations, X i new,P2 is the new state of the i-th proposed solution, X i,j new,P2 For its j-th dimension, F i nex,P2 is the objective function value based on the second stage of NGO.
[0109] The present invention takes into account that a large number of iterative calculations are required based on NGO, and the calculation time is relatively long. The algorithm is highly sensitive to the initial parameters, and inappropriate selection of the initial parameters may cause the algorithm to fall into a local optimal solution. The original step search factor shows a linear decreasing trend, which is not conducive to further balancing the global search and local development capabilities of the northern goshawk algorithm. Therefore, the algorithm is improved, and the sine-cosine strategy is used to replace the position update formula of the original goshawk algorithm in the survey phase, and the original step search factor is improved.
[0110] The sine and cosine strategy settings are as follows:
[0111] r2=(1-(t / T) μ ) (1 / μ) (7)
[0112]
[0113] Where μ is a parameter that controls the update speed and must be greater than or equal to 1. r1, r3, and r4 are three random numbers, and ST is the threshold.
[0114] In the second phase of the capture phase, an improved R coefficient is used to update the position of the search agent. The new position is calculated based on the offset of the current position and a random perturbation. The updated position is also constrained to be within the given variable lower and upper limits. The improved R coefficient is as follows:
[0115]
[0116] Follow these steps to implement:
[0117] Extract the bearing fault data segment; construct the average envelope entropy function of the data segment; establish the SCNGO algorithm model, initialize the parameters, and start M algorithm iterations; in one iteration, start a loop with a population size of N; update the initial position information of the northern goshawk; update the position information of the adult northern goshawk; increase the number of secondary loops by 1; when the secondary loop ends, increase the number of main loops by 1; obtain the global optimal position and fitness function value.
[0118] Select preprocessed data as the input data of the SCNGO algorithm; then construct the fitness function of the SCNGO algorithm; initialize the parameters of the SCNGO algorithm and start iterating the parameters of the SCNGO algorithm; finally obtain the running results of the SCNGO algorithm and bring the results into the VMD algorithm. Set the minimum permutation entropy as the fitness function of the optimization algorithm, and then use the SCNGO optimization algorithm to obtain the optimal parameter combination [K, α] of VMD with the minimum permutation entropy, and apply the obtained optimal parameter combination to the VMD modal decomposition algorithm for signal decomposition.
[0119] (3) VMD decomposition and signal reconstruction stage
[0120] First, run VMD decomposition to obtain the corresponding modes and modal spectra; then perform fault feature extraction to obtain the reconstructed signal. The specific implementation steps are as follows: use the results of the SCNGO algorithm as the VMD decomposition initialization parameters; run VMD decomposition; obtain the time domain diagram and spectrum diagram of each mode. Finally, based on the correlation analysis method, select the components with strong correlation with the target fault type from many components, and reconstruct the signals of these selected IMF components. Perform envelope demodulation analysis on the reconstructed modal components to further extract fault features. The fault feature extraction process can refer to Figure 3 shown.
[0121] (4) Improved Northern Goshawk Algorithm (SCNGO) Optimization of SVM Parameters [C, g] Stage
[0122] First, the SCNGO algorithm randomly generates a set of initial individuals, which represent a set of possible solutions in the parameter space. Each individual contains two parameters: C (penalty parameter) and g (width of the kernel function). These individuals constitute the population of the algorithm. For each individual in the population, the algorithm trains an SVM model according to the parameter settings it represents, and evaluates the model using cross-validation techniques to obtain a fitness value. The fitness value is usually a performance indicator of the model on the cross-validation set, such as accuracy, F1 score, etc. The SCNGO algorithm uses adaptive evolutionary operations to update the population to gradually optimize the parameters. Specifically, the algorithm generates new individuals through selection, crossover, and mutation operations and adds them to the population. In this process, the selection probability of an individual is related to its fitness, and individuals with higher fitness are more likely to be selected. The above steps will be repeated multiple times until the predetermined number of iterations is reached or the termination condition is met. In each generation, the population will be continuously updated and evolved to find a better combination of parameters. At the end of the algorithm, the individual with the best fitness will be selected from the final population as the result of the optimization process. The parameters corresponding to these individuals are the optimal parameter combination obtained.
[0123] (5) Optimized SVM training model stage
[0124] After the optimization phase of the SCNGO algorithm is completed, the optimal parameter combination [C, g] is obtained. The present invention uses the optimal parameter combination [C, g] obtained by optimization, and uses the training set P_train and label T_train to train the SVM model. During the training process, the SVM algorithm will learn an optimal decision boundary through the optimization algorithm based on the characteristics and labels of the data set to maximize the interval of the classification boundary and minimize the classification error on the training set. After the model training is completed, the training set and the test set can be used to evaluate the performance of the model. According to the evaluation results, the performance of the model on the training set and the test set is analyzed to evaluate the generalization ability and overfitting degree of the model. Finally, the trained and evaluated SVM model can be used to perform bearing fault diagnosis tasks.
[0125] (6) Fault diagnosis phase.
[0126] Reference Figure 4 As shown, the normal bearing and various fault type fault data obtained in (3) above are preprocessed. For different fault types, distinguishing features are extracted. According to the known bearing status, the data is labeled and divided into categories such as normal bearing, inner ring fault, ball fault and outer ring fault. The labeled data set is divided into a training set and a test set to ensure that each category is evenly distributed in the training set and the test set. Use the optimized SVM model for training, and input the feature data and corresponding labels of the training set into the model for training. Use the test set to evaluate the trained model, and calculate the accuracy, precision, recall rate and other indicators of the model in each category to evaluate the performance of the model. Use the trained model to classify and identify faults of new data. The model will predict the fault category to which the data belongs based on the input feature data. The fault diagnosis process can refer to Figure 4 shown.
[0127] The present invention discloses a bearing fault diagnosis method based on SCNGO optimized VMD and SVM. Through experimental signal verification, the VMD and SVM optimized by SCNGO can more accurately identify the resonant frequency band and process complex multi-dimensional data such as bearing vibration signals under a strong noise background. It provides a new idea and method for early bearing fault diagnosis. The present invention solves the problems of insufficient fault feature extraction capability, poor generalization capability for processing complex multi-dimensional data, and slow convergence speed of optimization methods in the prior art of machine tool rolling bearing fault diagnosis.
[0128] In addition, the present invention also proposes a bearing fault diagnosis device based on SCNGO optimization of VMD and SVM, including a memory and a processor, wherein a computer program is stored on the memory, and when the computer program is executed by the processor, the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM as described above is implemented.
[0129] The present invention further proposes a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the bearing fault diagnosis method based on SCNGO optimization of VMD and SVM as described above is implemented.
[0130] The present invention proposes a bearing fault diagnosis method, device and medium based on SCNGO optimization of VMD and SVM. Aiming at the problem that the variational mode decomposition method is affected by parameter settings and the selection of sensitive modal components when extracting the fault characteristic frequency of the rolling bearing vibration signal and using SVM for fault diagnosis, a bearing fault diagnosis method based on SCNGO optimization of VMD and SVM is constructed, and the bearing characteristic data to be diagnosed is input into a pre-trained SVM model for fault classification and identification, and the bearing fault diagnosis result is obtained, wherein the SVM model is based on the Northern Goshawk algorithm SCNGO optimization of VMD parameters and SVM parameters and training. Experimental verification shows that the method can solve the problem that VMD and SVM are affected by parameter settings, successfully diagnose bearing faults, and solve the problems of insufficient fault feature extraction capability, poor generalization capability for processing complex multidimensional data, and slow convergence speed of optimization methods in the prior art in the field of machine tool spindle bearing fault diagnosis. Compared with the prior art, the scheme of the present invention improves the accuracy and efficiency of spindle bearing fault diagnosis, thereby ensuring the safe and stable operation of the equipment, and improving production efficiency and enterprise competitiveness.
[0131] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Equivalent structures or equivalent process changes made by the scheme using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A bearing fault diagnosis method based on SCNGO optimized VMD and SVM, characterized in that: The method comprises the following steps: Obtain bearing data to be diagnosed; Extracting features of the bearing data to be diagnosed to obtain feature data of the bearing to be diagnosed; The characteristic data of the bearing to be diagnosed is input into a pre-trained SVM model for fault classification and identification to obtain a bearing fault diagnosis result, wherein the SVM model is trained based on the Northern Goshawk algorithm SCNGO to optimize VMD parameters and SVM parameters.
2. The method according to claim 1, characterized in that: The step of obtaining the bearing data to be diagnosed also includes: The VMD parameters and SVM parameters were optimized based on the SCNGO algorithm and the SVM model was obtained through training.
3. The method according to claim 2, characterized in that The steps of optimizing VMD parameters and SVM parameters based on the SCNGO algorithm and training to obtain an SVM model include: Preprocessing normal bearing data and bearing fault data of various fault types obtained from the experiment to obtain preprocessed data; The preprocessed data is used as input data of the SCNGO algorithm, and the VMD parameters are optimized by the SCNGO algorithm to obtain the optimal parameter combination [K, α] of the optimized VMD; The best parameter combination [K, α] of VMD is applied to the VMD modal decomposition algorithm to perform signal decomposition and reconstruction, and extract fault features to obtain fault feature data after VMD is optimized based on the SCNGO algorithm. Based on the fault feature data, the SVM parameters are optimized by the SCNGO algorithm to obtain the optimal parameter combination [C, g] of the optimized SVM; Based on the fault feature data and the optimized best parameter combination [C, g] of the SVM, the SVM model is trained by the SVM algorithm to obtain a trained SVM model.
4. The method according to claim 3, characterized in that The step of preprocessing the normal bearing data and bearing fault data of various fault types obtained by the experiment to obtain preprocessed data includes: For the data of normal bearings, outer ring faulty bearings, rolling element faulty bearings, and inner ring faulty bearings obtained from the experiment, check whether the data has missing values, abnormal values, and / or process the abnormal values, and / or normalize or standardize the data so that the numerical ranges between different features are similar.
5. The method according to claim 3, characterized in that: The step of using the pre-processed data as input data of the SCNGO algorithm, optimizing VMD parameters by the SCNGO algorithm, and obtaining the optimal parameter combination [K, α] of the optimized VMD comprises: Select the preprocessed data as the input data of the SCNGO algorithm; Construct the fitness function of the SCNGO algorithm; Initialize the parameters of the SCNGO algorithm and start iterating the parameters of the SCNGO algorithm; Obtaining the running result of the SCNGO algorithm, and bringing the running result into the VMD algorithm; The minimum permutation entropy is set as the fitness function of the SCNGO algorithm, and the optimal parameter combination [K, α] of VMD is obtained by the SCNGO algorithm with the minimum permutation entropy.
6. The method according to claim 3, characterized in that The step of applying the obtained optimal parameter combination [K, α] of VMD to the VMD modal decomposition algorithm, performing signal decomposition and reconstruction, and extracting fault features to obtain fault feature data after VMD is optimized based on the SCNGO algorithm includes: The best parameter combination [K, α] of VMD obtained by optimizing VMD parameters using SCNGO algorithm is used as the initialization parameter of VMD decomposition; Run VMD decomposition; Obtain time domain and spectrum diagrams of each mode; Based on the correlation analysis method, the IMF components that meet the requirements of the correlation with the target fault type are screened out from each component, and the signals of these screened IMF components are reconstructed to obtain the reconstructed modal components; Perform envelope demodulation analysis on the reconstructed modal components; Fault features are extracted based on the results of envelope demodulation analysis.
7. The method according to claim 3, characterized in that The step of training the SVM model by using the SVM algorithm based on the fault feature data and the optimized optimal parameter combination [C, g] of the SVM to obtain the trained SVM model comprises: Preprocessing the fault characteristic data to obtain a characteristic data set; According to the known bearing state, the feature data set is marked to obtain a marked feature data set; Divide the labeled feature dataset into training set and test set; Based on the SVM algorithm, according to the features and labels of the training set and based on the optimal parameter combination [C, g] of the optimized SVM, an optimal decision boundary is learned through the optimization algorithm to maximize the interval of the classification boundary and minimize the classification error on the training set, so as to train the SVM model.
8. The method according to claim 7, characterized in that The method further comprises: After the SVM model training is completed, the accuracy, precision, and recall rate indicators of the SVM model in each category are evaluated through the test set to evaluate the performance of the SVM model and obtain the final trained SVM model.
9. A bearing fault diagnosis device based on SCNGO optimized VMD and SVM, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, a bearing fault diagnosis method based on SCNGO optimized VMD and SVM as described in any one of claims 1 to 8 is implemented.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the bearing fault diagnosis method based on SCNGO optimized VMD and SVM as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Bearing fault diagnosis method based on parameter optimization VMD-SVM
CN115901255A
