Next Article in Journal
Advanced Analytic Self-Similar Solutions of Regular and Irregular Diffusion Equations
Previous Article in Journal
Quality-Enhancing Techniques for Model-Based Reconstruction in Magnetic Particle Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fault Diagnosis Analysis of Angle Grinder Based on ACD-DE and SVM Hybrid Algorithm

1
Faculty of Mechanical Engineering & Automation, Zhejiang Sci-Tech University, Hangzhou 310018, China
2
Key Laboratory of Transplanting Equipment and Technology of Zhejiang Province, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(18), 3279; https://doi.org/10.3390/math10183279
Submission received: 1 August 2022 / Revised: 1 September 2022 / Accepted: 7 September 2022 / Published: 9 September 2022
(This article belongs to the Section Engineering Mathematics)

Abstract

:
Due to the complex structure of the angle grinder and the existence of multiple rotating parts, the coupling phenomenon of the data results in the complexity and chaos of the data. The market scale of angle grinder is huge. Manual diagnosis and traditional diagnosis are difficult to meet the requirements, so a fault diagnosis method of angle grinder that is based on adaptive parameters and chaos theory of dual-strategy differential evolution algorithm (ACD-DE) and SVM model hybrid algorithm is proposed by combining a chaos-mapping algorithm, dynamic and adaptive scale factor, and crossover factor. The effectiveness and robustness of the algorithm are proven by solving eight test functions. The acceleration signal is decomposed by wavelet packet decomposition and reconstruction, and a variety of sensor signals are processed and constructed as feature vectors. The training set and the test set of the fault diagnosis model are divided. SVM model is used as the fault diagnosis model and optimized by ACD-DE. Based on the fault data of the angle grinder, the hybrid algorithm is compared with other optimization algorithms and other machine learning models; the comparison results show that the performance of the improved differential evolution algorithm is improved, in which the precision rate is 98.81%, the recall rate is 98.74%, and the F1 score is 0.9877. Experiments show that the hybrid algorithm has strong diagnosis accuracy and robustness.

1. Introduction

An angle grinder is a kind of grinding tool, which includes rotating parts such as the gearbox, bearing, and motor. The motor consists of rotor and stator [1]. In recent years, the angle grinder has been widely used in the stone-processing industry and machinery-manufacturing industry because of its simple and compact structure, stable operation, and long service life. However, the running state of the angle grinder is that the motor drives the gear and grinding disc to rotate at a high speed. When people work in hand, it is easy to cause serious injuries. Therefore, it is necessary to detect and comprehensively diagnose the potential faults of its rotating parts to prevent the occurrence of major casualties [2]. However, the existing potential fault diagnosis method of angle grinder is traditional manual detection. First, a batch of angle grinders is selected by sampling for manual simulation test, and then, the angle grinder damaged in the test is disassembled, and finally, the faulty parts are judged and comprehensively analyzed. This method has the problems of low automation, backward technology, and low diagnostic accuracy. Moreover, the structure of the angle grinder is complex, and there are multiple rotating parts, which leads to the coupling phenomenon of the collected angle grinder data. The data are complex and disordered, and the annual output of the angle grinder is huge, with a market scale of about CNY 600 billion. For the angle grinder data, the existing manual diagnosis and traditional diagnosis methods are difficult to meet the demand. Therefore, in order to improve the accuracy of angle grinder diagnosis, reduce labor consumption and product consumption, and realize the rapid diagnosis of the entire batch of angle grinder products, this paper introduces an artificial intelligence algorithm to realize complex data and a huge amount of analysis.
Artificial intelligence has developed rapidly in recent years, and some scholars have applied artificial intelligence algorithms to fault diagnosis of different objects. Salman Khalid et al. proposed a fault diagnosis scheme for SPP system using wavelet packet noise reduction and principal component analysis to achieve feature extraction and then using a variety of artificial intelligence algorithms to classify to verify the effectiveness [3]. Salman Khalid et al. proposed a sensor optimization selection method based on machine learning for boiler and steam turbine fault analysis, which greatly reduced the number of sensors and verified the effectiveness of the algorithm. However, in the above two schemes, the algorithm parameters are set based on experience, which makes it difficult to achieve the optimal classification results [4]. Deepam Goyal et al. analyzed the experimental vibration data of different bearing defects under different loads and operating conditions, used discrete wavelet transform to denoise the signal, and used SVM model to complete fault diagnosis. However, the classification accuracy of the proposed algorithm varies greatly under different loads, and the generalization ability of the model is poor [5]. H. Safaeipour et al. proposed an early fault diagnosis scheme for a three-tank system, but the scheme is based on mathematical model, and the modeling process is difficult, and the calculation is large [6]. Konar and Chatopadhyay combined continuous wavelet transform with SVM model for bearing fault diagnosis of induction motor and improved the performance of the algorithm by inputting the characteristic matrix into SVM for diagnosis [7]. However, parameter setting by using grid search method is easily affected by human subjective factors, which makes the best diagnostic performance of the SVM model difficult to achieve. Armaki and Roshanfekr proposed a method to diagnose the rotor rod fracture fault in induction motor and used SVM model to realize the fault classification of induction motor [8]. However, when setting the parameters of SVM model, it depends on expert experience, which makes it difficult to reach the optimal state of results of the SVM model in diagnosis. Although the SVM model performs well in fault diagnosis of rotating parts, whether parameter setting is reasonable or not seriously affects the diagnostic performance of the algorithm. The parameters set by experience are often accidental, which makes it difficult to give full play to the performance of SVM model in diagnosis.
Although some scholars have studied the parameter optimization of SVM—for example, HuYuxia and ZhangHongtao proposed an improved chaotic algorithm and optimized the SVM regression model, which has been verified in Lorenz system, proving that the proposed MSCOA algorithm improves the prediction accuracy of SVM [9]—the algorithm is aimed at the difference between the regression model and the classification model in this paper, and it is difficult to ensure that the algorithm has a better improvement effect in the classification model. Zhou Junbo et al. proposed a rolling bearing fault diagnosis method based on the whale grey wolf optimization algorithm and SVM model. The convergence performance of the algorithm was verified by the bearing data set of Case Western Reserve University [10]. However, although the accuracy of diagnosis can be improved by combining a variety of optimization algorithms, the model is complex, and the operation time is long, which makes it difficult to meet the needs.
The differential evolution algorithm (DE) is widely used in fault diagnosis and other fields because of its fast optimization speed, less controlled parameters, and strong robustness. Some scholars have applied the DE algorithm to fault diagnosis based on the machine SVM model. Cao Longhan et al. proposed a method of optimizing the SVM based on the DE algorithm and applied it to the fault diagnosis of diesel engine valve and established a diesel engine valve clearance fault diagnosis model based on DE algorithm optimized SVM model [11]. Tapas Bhadra et al. proposed an SVM parameter optimization algorithm based on DE algorithm. Experiments show that the performance of the DE algorithm to optimize the SVM model is better than that of a single classifier [12]. The dynamic parameters of SVM model are set by the DE algorithm, which improves the performance of the SVM model. As an optimization algorithm, the search breadth and depth of the DE algorithm have a great impact on the performance of the SVM model. However, with the iteration, the mutation operation in the DE algorithm will rapidly reduce the search breadth and search depth of SVM model, making the algorithm fall into a local optimal solution.
To solve the above problems, a fault diagnosis method of angle grinders that is based on adaptive parameters and chaos theory of dual strategy differential evolution algorithm (ACD-DE) and an SVM model hybrid algorithm is proposed. In view of the complex and huge data of the angle grinder, the ACE-DE-SVM hybrid algorithm improves the depth and breadth of the search and the robustness of the algorithm, reduces the consumption and cost of the calculation time to a certain extent, and improves the efficiency of the actual diagnosis. The research mainly includes three main parts. In the first part, a chaos algorithm is introduced in the initial population stage of DE algorithm to ensure the generation of uniform population, and adaptive parameters are introduced in the mutation to improve the optimization ability of the algorithm. In the second part, the effectiveness of ACD-DE algorithm is verified by eight test functions. In the third part, the actual angle grinder fault data are taken as an example to compare with other algorithms. The convergence of the SVM model optimized by the ACD-DE algorithm is verified.

2. Materials and Methods

2.1. Fault Diagnosis of Angle Grinder Based on SVM Model

The SVM model can solve high-dimensional and small sample problems without relying on the whole data set and has good generalization ability. It has been widely used in the field of fault diagnosis and has always been one of the classical classification algorithms in the field of fault diagnosis. The SVM model finds a partition hyperplane in the angle grinder sample space, classifies the angle grinder sample data of different categories, and ensures that the minimum distance from the angle grinder sample data of different categories to this hyperplane is the largest.
The sample of the angle grinder is set to S = { ( x 1 , y 1 ) , ( x 2 , y 2 ) , ( x 3 , y 3 ) , ( x n , y n ) } , each data point x i = { x i 1 , x i 2 , x i 3 , , x i p } is a row vector of p features, and each class label is a value y i , and the divided hyperplane can be represented by the following Equation (1) [13].
w T x + b = 0
where w is the normal vector of the hyperplane, which determines the direction of the hyperplane, and b is a bias, which determines the distance between the hyperplane and the origin.
Considering that there is abnormal noise in the actual collected angle grinder sample data, which makes the angle grinder sample data not linearly separable, soft interval is introduced to solve this problem. The introduction of soft interval can allow some controversial data in the angle grinder samples to be misclassified and avoid the occurrence of over fitting. The optimization problem that consists of objective function and constraints of the SVM model is shown in Equation (2):
m i n Φ ( w , ξ , b ) = 1 2 w 2 + C i = 1 n ξ i
s . t .   y i ( w T x i + b ) 1 ξ i   ( ξ i > 0 ; i = 1 , 2 , , n )
where C is the penalty factor, which determines the penalty degree of the algorithm on the angle grinder sample data of error classification, and ξ i is the slack variable.
The constraint is introduced into Equation (2), and the Lagrange function is introduced to obtain Equation (3):
L = Φ ( w , ξ , b ) i = 1 n α i ( y i ( w T x i + b ) 1 + ξ i )
where α i are the Lagrange multipliers, the partial derivative of the variable in Equation (3) is calculated and set to equal to 0, the kernel function is introduced, and the constraints of soft interval support vector machine on dual variables are used to convert the equation into Equation (4):
m a x φ ( α ) = i = 1 n α i 1 2 i = 1 n j = 1 n α i α j y i y j K ( x i , x j )
s . t .   i = 1 n α i y i = 0 ,   0 α i C ,   i = 1 , 2 , , n
where K ( x i , x j ) is the kernel function, and C is the penalty factor; the Gaussian radial basis kernel function is selected as the kernel function of SVM, so its expression is shown in Equation (5):
K ( x i , x j ) = e g x i x j 2
where g is the kernel function parameter, which controls the range and shape of Gaussian kernel, and improper selection of SVM model parameters will lead to under fitting or over fitting and will affect the classification results. Therefore, the parameters of SVM model need to be set reasonably.

2.2. ACD-DE Algorithm for Optimizing SVM Model

2.2.1. Chaos Initialization

The calculation accuracy, the result and convergence speed of DE algorithm are closely related to the initialization mode of population. The traditional differential evolution algorithm initializes the population in a random method. The population particles generated by this method are easy to be unevenly distributed in the required space, which makes the algorithm difficult to converge to the global optimal solution. In order to overcome the shortcomings of initializing population, a method of initializing population based on logistic chaotic mapping algorithm is proposed in this paper. Because the chaotic mapping algorithm has the characteristics of nonlinearity, ergodicity, and randomness, when initializing the population, it can not only ensure that the initialized population has good randomness but also makes use of the ergodicity of the algorithm to make every point in the space be traversed without repetition [14]. Therefore, in order to obtain a uniform population, the logistic chaos algorithm is introduced into the process of initializing the population. The equation of logistic chaotic mapping algorithm is shown in Equation (6):
x i + 1 = x i ( 1 x i ) μ   ,   μ = [ 0 , 4 ]
where x i is the chaotic sequence generated by Logistic chaotic mapping algorithm, and when μ is close to 4, the logistic chaotic algorithm has chaotic properties. Therefore, in order to ensure the chaotic state of the system, this paper sets μ = 4 .

2.2.2. Dynamic Mutation Strategy

DE algorithm uses the mutation strategy to complete the individual mutation. The traditional DE algorithm uses DE/rand/1 as the mutation strategy. Although this strategy ensures the diversity of the population and the search breadth, due to the strong randomness of this strategy, the algorithm deviates from the optimal solution in the operation process. The mutation strategy DE/best/2 selects the best individual in the contemporary population for mutation, which ensures the evolution direction of the population and search depth, but it will increase the possibility of falling into local optimal solution. Therefore, in order to have better search breadth in the initial stage and better search depth in the later stage, a new dynamic mutation strategy is proposed, as shown in Equation (7):
{ v j ( g + 1 ) = x r 1 ( g ) + F ( x r 2 ( g ) x r 3 ( g ) )   ,   r a n d < p v j ( g + 1 ) = x r 1 ( g ) + F ( x b e s t ( g ) x r 1 ( g ) ) + F ( x r 2 ( g ) x r 3 ( g ) )   ,   o t h e r
where v j ( g + 1 ) is the intermediate of mutation strategy of differential evolution algorithm; r 1 , r 2 , and r 3 are random numbers randomly generated in [ 1 , P O P ] that are not equal to each other; F represents the scale factor, usually between ( 0 , 2 ] , and rand is the random number between ( 0 , 1 ) ; p is the adaptive probability, and the calculation formula is shown in Equation (8):
p = n s 1 n s 2 + n s 1
where n s 1 is the number of individuals who successfully completed evolution using mutation strategy 1 in the previous generation iteration, n s 2 is the number of individuals who successfully completed evolution using mutation strategy 2 in the previous generation iteration. p is initially set to 0.5.

2.2.3. Adaptive Parameters

The DE algorithm mainly consists of three control parameters: population POP, scale factor F , and crossover factor C r . Population POP is mainly related to individual D. if the population is too small, the population diversity will be reduced, and the search breadth of the algorithm will be affected; if the population is too large, the running time and running cost of the algorithm are increased. Generally, the size of the population is set to P O P [ 5 D , 10 D ] [15]. Scale factor F and crossover factor C r are very important to the convergence speed and accuracy of the algorithm. In the traditional DE algorithm, the scale factor F and crossover factor C r are set as constants. This method will lead to premature convergence to the local optimal solution or require a large number of iterations to converge. In order to solve the above problems, the individual is set to 7D, and the crossover factor C r of JaDE algorithm is introduced into the ACD-DE algorithm [16]. The self-adaption crossover factor C r is shown in Equations (9) and (10) below:
C r = r a n d ( μ C r , 0.1 )
μ C r = ( 1 c ) μ C r + c m e a n ( S C r )
where S C r is the set of all successful crossover factor C r in this generation, and c is a constant between 0 and 1.
The scale factor F is randomly generated according to the Cauchy distribution. Compared with other distribution forms, Cauchy distribution can ensure the diversity of scale factor F and avoid premature convergence caused by greedy selection.

2.3. Flow Chart of the Fault Diagnosis Method of Angle Grinder Based on Hybrid Algorithm of ACD-DE Algorithm and SVM Model

A fault diagnosis method of the angle grinder, which is based on adaptive parameters and chaos theory of dual strategy differential evolution algorithm (ACD-DE) and an SVM model hybrid algorithm, is proposed. The penalty factor C and kernel function parameter g of the SVM model are optimized by the ADE-DE algorithm to improve the performance of the SVM model. The optimization problem that consists of objective function and constraints of the SVM model is used as fitness function to judge the advantages and disadvantages of the algorithm. The specific flow chart of the ADE-DE algorithm optimizing the SVM model is shown in Figure 1.

2.4. Fault Data Acquisition of Angle Grinder

The angle grinder CT13499-115 developed by Zhejiang Crown Power Tools Manu Co., Ltd. in Zhejiang, China was selected as the experimental object. The experimental object is shown in the Figure 2.
By simulating the load applied on the main shaft of the angle grinder on the eddy current dynamometer, the electrical parameters, temperature, and vibration data of the angle grinder during stable operation are collected. The equipment is the data acquisition test bench (10 Nm eddy current motor test system and temperature and triaxial acceleration sensors). The test bench is shown in Figure 3, under the environment of constant humidity and temperature.
According to historical data and relevant literature [17,18,19,20,21], the common fault types of the angle grinder are mainly divided into four categories, which are (1) bearing defects, (2) rotor dynamic balance failure, (3) bevel gear wear, and (4) bearing rubber sleeve defects. The signals of the angle grinder under four types of faults and normal conditions are collected by using the data acquisition test platform, including the current, speed, torque, output power, vibration, and seven temperature signals. The temperature sensors are installed at the rear bearing of the head housing output shaft, the front bearing of the head housing rotor, the brush holder, the rear bearing of the casing rotor, the stator winding, the stator iron core, and the front bearing of the front cover output shaft. The sampling frequency of dynamometer and temperature sensor is set to 1 Hz, and the sampling frequency of acceleration sensor is set to 5 KHz. The relevant parameters of data acquisition are shown in the Table 1.
First, the angle grinder operates for 5 s under no-load condition and 2 min under load condition so that the working state of the angle grinder tends to be thermally stable. Then, electrical parameters, temperature, and vibration data are collected. The number of samples of each fault type is 5000, and different labels are marked for data according to different fault types.

2.5. Feature Extraction of Vibration Data

In this paper, the time domain feature extraction and the frequency domain feature extraction were carried out for the high-frequency vibration signals in three directions, respectively. Among them, five dimensioned and four dimensionless time domain features were selected [22], and the time domain features are shown in Table 2. The time domain features of vibration signals in the x-axis direction under normal and fault conditions are shown in Table 3.
When there is a problem with the angle grinder, the vibration impact of the gear and rotor will change when they rotate at high speed, resulting in changes in the energy distribution in the signal. Therefore, the energy in different frequency bands of the angle grinder vibration signal can be characterized and used for the angle grinder fault diagnosis. The constructed feature is called the energy spectrum of the vibration signal [23]. In this paper, the db3 wavelet basis is used to transform and reconstruct the vibration signal, in which the number of decomposition layers is three, and the energy spectra of different frequency bands are extracted as frequency domain features. The energy spectrum of the vibration signal in the x-axis direction is shown in Figure 4. The nodes are sorted from low-frequency band to high-frequency band. Eight nodes are selected as the frequency domain features of the angle grinder. The frequency domain features of the vibration signal in the x-axis direction under normal and fault conditions are shown in Table 4.
The data set contains a variety of data types, and the data range between each data is different. Therefore, to ensure the diagnosis accuracy, we must normalize the above segmented data set. The min–max standard normalization method was adopted [24], and the normalization function is shown in Equation (11):
X = x i x min x max x min
where X is the normalized data, and x min and x max are the minimum and maximum values of the data set before normalization, respectively.

2.6. Evaluation Index Model of Model

The precision rate, recall rate, and harmonic average value F1 score were selected as the evaluation indicators [25], as shown in Equations (12)–(14):
P = T P T P + F P × 100 %
R = T P T P + F N × 100 %
F 1 = 2 P R P + R
where T P is the number of positive samples correctly identified as positive samples, F P is the number of negative samples incorrectly identified as positive samples, and F N is the number of positive samples incorrectly identified as negative samples.

3. Results

3.1. Verification of Test Function

In order to evaluate the performance of the algorithm in many aspects, eight test functions were selected for experiments. The details of the test functions are shown in Table 5. F1–F3 are the unimodal functions with only one extreme value; F4–F8 are the multimodal functions with multiple local optimal solutions. D represents the characteristic dimension, s represents the interval of the value, and f min represents the theoretical global optimal value.
Because the optimization problem of SVM model is convex function [26], it shows that the optimization problem is continuous and differentiable in the feasible region, and there are one or more minimum values in the feasible region. Therefore, the test function is used to verify the convergence and robustness of ACD-DE algorithm, which provides support for the subsequent fault diagnosis of angle grinder.
On the basis of eight test functions, the ACD-DE algorithm is compared with the traditional DE algorithm and typical DE algorithm variants. The traditional DE algorithm takes DE/rand/1/bin as the mutation strategy and sets the scale factor F = 0.5 and crossover factor Cr = 0.3, and the DE algorithm variants are jDE [27] and SaDE [28].
Considering the scientificity of algorithm and function verification, the specific parameters of the algorithm selected in this paper are the same as those in ref. [27] and ref. [28]. The common parameters of the intelligent optimization algorithm are set as follows: the number of individuals in the population is the same as the characteristic dimension of the function and is set to 30, the number of iterations of the population is set to 3000, the population size is set to 100, and each algorithm runs 20 times, respectively. The evaluation indexes are the average value and standard deviation after 20 times of operation. The experimental data results are shown in Table 6, and the best result is shown bolded. The logarithm of the median convergence after each algorithm runs 20 times is used to draw the convergence curve of the loss function, which is used to compare the convergence speed between the algorithms. The convergence curve is shown in Figure 5.
It can be seen from Table 6 that F1, F2, and F8 converge to the theoretical global optimal solution when ACD-DE algorithm is used. F3, F4, F5, and F6 do not converge to the global optimal solution but are closer to the theoretical global optimal solution than the traditional DE algorithms and typical DE algorithm variants. However, in function F7, the JDE algorithm converges to a better solution.
Compared with other algorithms, ACD-DE algorithm has significantly improved the convergence speed in F3, F4, F5, and F6. ACD-DE algorithm converged faster before 500 generations and fell into local optimal solution after 500 generations in F7. Although the four algorithms can converge to the theoretical global optimal solution, the ACD-DE algorithm has the fastest convergence speed in F8. Combined with Table 6 and Figure 5, it can be seen that under the chaotic mapping algorithm, the global optimization ability has been greatly improved, and the convergence speed of the algorithm has been accelerated. Under the dynamic mutation strategy and adaptive parameters, the algorithm has better local optimization ability in the later stage. The ACD-DE algorithm shows good convergence performance in most test functions, which proves the convergence and robustness of the algorithm. It can be seen that the ACD-DE algorithm can show good convergence and robustness in SVM model.

3.2. Analysis of Experimental Results of SVM Optimized by Algorithms in Angle Grinder Data

In order to verify the convergence and robustness of the proposed algorithm in angle grinder fault diagnosis, experiments were carried out; four algorithms were used to optimize the parameters of SVM model, and the four optimization algorithms were compared, namely DE, jDE, SaDE, and ACD-DE. Considering the scientificity of the algorithms, the specific parameters of the algorithm selected are the same as those in ref. [27] and ref. [28]. The common parameters of the intelligent optimization algorithm are set as follows: the number of individuals in the population is set to 2, the number of iterations of the population is set to 50, the population size is set to 14. The fitness function is set to the accuracy after 5-fold cross validation to avoid over fitting.
The accuracy after 5-fold cross validation is shown in Figure 6. By comparing the four algorithms, it can be found that the ACD-DE algorithm has greatly improved the convergence speed and accuracy. ACD-DE algorithm has completed the convergence in about 24 generations and converged to 1.194%; before the 6th generation, the fitness function of the traditional DE algorithm has been kept at about 10, which shows that the algorithm has poor global search ability in the application situation and converges to 1.772% until the 34th generation; jDE algorithm began to converge from the third generation and converged to 1.482% at the 26th generation; SaDE algorithm converged from the first generation and converges to 1.502% at the 48th generation. Compared with other algorithms, ACD-DE algorithm combines the advantages of the chaotic mapping algorithm and dynamic adjustment, makes up for the shortcomings of traditional DE algorithm that make it easy to fall into local optimization, and improves the convergence speed and convergence accuracy of the algorithm.
In order to further verify the performance of the ACD-DE-SVM hybrid algorithm, the ACD-DE-SVM hybrid algorithm was compared with the non-optimized SVM model and other machine learning models, such as KNN, BP neural network, random forest, and decision tree. The data set used is the above data, and the 5-fold cross validation was carried out. The precision rate, recall rate, and harmonic average value F1 score were selected as the evaluation indicators.
The comparison results are shown in Figure 7, in which the non-optimized SVM model and other machine learning models are trained using the parameters of literatures [25,26,27,28,29]. Table 7 shows the running time of different models.
Compared with the non-optimized SVM model, the ACD-DE-SVM hybrid algorithm has greatly improved the precision rate, recall rate, and F1 score by 7.25%, 7.17%, and 0.0721%, respectively. It can be seen that ACD-DE algorithm greatly improves the classification performance of SVM model. Compared with other machine learning models, the ACD-DE-SVM hybrid algorithm has an improved accuracy by 1.77%, 1.33%, 6.45%, and 2.1%; recall by 1.7%, 1.33%, 3.75%, and 2.73%; and F1 score by 0.0173, 0.0133, 0.0512, and 0.02594, respectively. It can be seen from Table 7 that the running time of the ACD-DE-SVM hybrid algorithm is greatly reduced compared with SVM model. Combined with Figure 7 and Table 7, it can be seen that ACD-DE-SVM hybrid algorithm is better than random forest and neural network in terms of running time and running results. Although the running time of ACD-DE-SVM hybrid algorithm is 5.47 s and 11.63 s longer than the KNN algorithm and decision tree algorithm, respectively, the running results are better than these two algorithms. Therefore, the convergence and robustness of ACD-DE-SVM hybrid algorithm were further verified.
In order to further verify the generalization ability of ACD-DE-SVM hybrid algorithm, it was applied to the actual diagnosis environment of the angle grinder. First, 50 angle grinders that were tested in the company were randomly selected. Whether there was a fault and the specific fault situation were unknown. Secondly, the angle grinder was installed on the data acquisition test bench. After waiting for the angle grinder to reach the thermal stability state, the data were collected, and the collection time is 1 min; that is, the number of samples collected by each machine is 60. Then, the collected data were integrated and processed according to the data set format. Finally, the processed data were input into the ACD-DE-SVM hybrid algorithm to judge the fault type. In order to avoid the contingency of the diagnosis result, the result with the most times was selected as the model diagnosis result of the angle grinder.
By comparing the diagnosis results of the model with the actual disassembly results, the accuracy of the model diagnosis is 96%, and the diagnosis results of two angle grinders was inconsistent with the actual disassembly results. Some diagnosis results are shown in Table 8. The results of diagnosis errors are shown in bold in the Table 8.
Figure 8 shows the disassembly results of the angle grinder No. 2. The rotor and bearing of the angle grinder have no obvious faults. The surface of the rotor commutator is worn smoothly, the bearing operates flexibly, the stator and rotor iron core and coil are normal, and there is no wear and damage, but some tooth surfaces of the bevel gear have serious wear (the range drawn by the red circle in Figure 8b,c).

4. Conclusions

(1)
Aiming at the problem that the model makes it difficult to meet the required accuracy requirements due to the penalty factor C and kernel function parameter g in the SVM model, this paper introduces intelligent optimization algorithm to realize parameter optimization. The traditional DE algorithm uses random initialization population and fixed difference strategy, scale factor, and crossover factor when optimizing the algorithm, which makes the algorithm easily fall into local optimal value. Therefore, an ACD-DE algorithm to optimize the parameters of SVM algorithm is proposed and applied to the fault diagnosis of angle grinder.
(2)
The ACD-DE algorithm was calculated and analyzed in eight test functions. By comparing with the traditional DE algorithm and two variants of the DE algorithm, the convergence and robustness of the algorithm were verified. The optimization problem of SVM algorithm is introduced. The correlation between the optimization problem and the test functions was verified, and the ACD-DE algorithm was used to optimize the SVM model.
(3)
The angle grinders were used to collect temperature, electrical parameters, and vibration signals, and the vibration signals are processed in time and frequency domain. The data set was constructed, and the performances of the ACD-DE-SVM hybrid algorithm, DE-SVM algorithm, iDE-SVM algorithm, and SaDE-SVM algorithm were compared. Then, the obtained penalty factor C and kernel function parameter g were encapsulated in the model and compared with other machine learning models. Finally, in order to verify the generalization ability of the ACD-DE-SVM hybrid algorithm, it was applied to the fault diagnosis of an actual angle grinder. The comparison of various DE algorithms shows that the ACD-DE algorithm has a great improvement in convergence speed and convergence accuracy, which were increased by 0.578%, 0.288%, and 0.308%, respectively. By comparing ACD-DE-SVM hybrid algorithm with other machine learning models, it can be concluded that the ACD-DE-SVM hybrid algorithm effectively improves the accuracy, recall, and F1 value of the algorithm on the basis of reducing the running time of the algorithm. In the actual angle grinder fault diagnosis, comparing the model diagnosis results with the actual disassembly results, the accuracy of the model diagnosis is 96%, which verifies the generalization ability of the algorithm.

Author Contributions

Conceptualization, J.J. and C.Z.; methodology, C.Z.; software, C.Z.; validation, M.M., J.C., and Z.Z.; formal analysis, Z.Z.; investigation, J.J.; resources, J.C.; data curation, J.C.; writing—original draft preparation, C.Z.; writing—review and editing, Z.Z.; visualization, M.M.; supervision, C.Z.; project administration, J.J.; funding acquisition, J.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Jinhua Science and technology project (grant number 2020-1-008) and the Leading Goose Program of Zhejiang Province (grant number 2022C02052).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available upon reasonable request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fatima, S.; Effendi, M.; Rosli, M.F. An integration between sustainability and design for manufacturing and assembly (DFMA) analysis for angle grinder. In Green Design and Manufacture: Advanced and Emerging Applications, Proceedings of the 4th International Conference on Green Design and Manufacture, Ho Chi Minh City, Vietnam, AIP Conference Proceedings, 29–30 April 2018; AIP Publishing LLC: Melville, NY, USA, 2018; Volume 2030. [Google Scholar] [CrossRef]
  2. Zhang, E.R.; Zhuang, X.L. A Design of Angle Grinder with Multiple Protection Functions. Electr. Tool. 2019, 06, 11–14. [Google Scholar] [CrossRef]
  3. Salman, K.; Woocheol, L.; Heung, S.K. Intelligent Steam Power Plant Boiler Waterwall Tube Leakage Detection via Machine Learning-Based Optimal Sensor Selection. Sensors 2020, 20, 6356. [Google Scholar] [CrossRef]
  4. Salman, K.; Hyunho, H.; Heung, S.K. Real-World Data-Driven Machine-Learning-Based Optimal Sensor Selection Approach for Equipment Fault Detection in a Thermal Power Plant. Mathematics 2021, 9, 2814. [Google Scholar] [CrossRef]
  5. Deepam, G.; Anurag, C.; Pabla, B.S.; Dhami, S.S. Support vector machines based non-contact fault diagnosis system for bearings. J. Intell. Manuf. 2020, 31, 1275–1289. [Google Scholar] [CrossRef]
  6. Hossein, S.; Mehdi, F.; Amin, R. Incipient fault detection in nonlinear non-Gaussian noisy environment. Measurement 2021, 174, 109008. [Google Scholar] [CrossRef]
  7. Konar, P.; Chattopadhyay, P. Bearing fault detection of induction motor using wavelet and Support Vector Machines (SVMs). Appl. Soft Comput. 2011, 11, 4203–4211. [Google Scholar] [CrossRef]
  8. Armaki, M.G.; Roshanfekr, R. A new approach for fault detection of broken rotor bars in induction motor based on support vector machine. In Proceedings of the 18th Iranian Conference on Electrical Engineering, Esfahan, Iran, 11–13 May 2010; pp. 732–738. [Google Scholar] [CrossRef]
  9. Hu, Y.X.; Zhang, H.T. Chaos Optimization Method of SVM Parameters Selection for Chaotic Time Series Forecasting. Phys. Procedia 2012, 25, 588–594. [Google Scholar] [CrossRef]
  10. Zhou, J.B.; Xiao, M.H.; Niu, Y.; Ji, G.J. Rolling Bearing Fault Diagnosis Based on WGWOA-VMD-SVM. Sensors 2022, 22, 6281. [Google Scholar] [CrossRef]
  11. Cao, L.H.; Wu, M.L. Diesel engine valve fault diagnosis method based on DE-SVM and its application. Chin. J. Sci. Instrum. 2011, 32, 323–328. [Google Scholar] [CrossRef]
  12. Tapas, B.; Sanghamitra, B. Differential Evolution Based Optimization of SVM Parameters for Meta Classifier Design. Procedia Technol. 2012, 4, 50–57. [Google Scholar] [CrossRef]
  13. Achmad, W.; Yang, B.S. Support vector machine in machine condition monitoring and fault diagnosis. Mech. Syst. Signal Processing 2007, 21, 2560–5274. [Google Scholar] [CrossRef]
  14. Xiang, L. Research on Improvements and Applications of Social Spider Optimization Algorithm; Jiangnan University: Jiangsu, China, 2020. [Google Scholar] [CrossRef]
  15. Yang, Q.W.; Cai, L. A Survey of Differential Evolution Algorithms. Pattern Recognit. Artif. Intell. 2008, 21, 506–513. [Google Scholar]
  16. Zhang, J.; Sanderson, A.C. JADE: Adaptive Differential Evolution with Optional External Archive. IEEE Trans. Evol. Comput. 2009, 13, 945–958. [Google Scholar] [CrossRef]
  17. Wei, H.W.; Wang, Y. Modal Analysis of a Electric Tool. Appl. Mech. Mater. 2014, 527, 176–179. [Google Scholar] [CrossRef]
  18. Montoya, E.; Purswell, J.P. Hazard Analysis of a Handheld Angle Grinder. Adv. Intell. Syst. Comput. 2019, 970, 528–535. [Google Scholar]
  19. Sun, H.; Gao, Q. Model Analysis of Spur Bevel Gear. J. Soochow Univ. 2011, 31, 36–38. [Google Scholar]
  20. Li, G.S.; Liu, Q.K. Analysis of Fatigue Life and Fatigue Reliability of Angle Grinder Rotor Shaft. Electr. Tool 2018, 4, 14–20. [Google Scholar] [CrossRef]
  21. Yin, H.X. Analysis and Suggestions on Unqualified Items in the National Supervision and Random Inspection of Electric Tools. Electr. Tool 2021, 5, 9–13. [Google Scholar]
  22. Lei, Y.G.; He, Z.J. A new approach to intelligent fault diagnosis of rotating machinery. Expert Syst. Appl. 2008, 35, 1593–1600. [Google Scholar] [CrossRef]
  23. He, Q.B. Vibration signal classification by wavelet packet energy flow manifold learning. J. Sound Vib. 2013, 332, 1881–1894. [Google Scholar] [CrossRef]
  24. Patro, S.; Sahu, K.K. Normalization: A preprocessing stage. arXiv 2015, arXiv:1503.06462. [Google Scholar] [CrossRef]
  25. Dinh, T.V.; Nguyen, H. Predicting Rainfall-Induced Soil Erosion Based on a Hybridization of Adaptive Differential Evolution and Support Vector Machine Classification. Math. Probl. Eng. 2021, 2021, 1–20. [Google Scholar] [CrossRef]
  26. Tang, H.L. Discussion on the Relation of Two Types Common Classification in SVM; Chongqing University: Chongqing, China, 2005. [Google Scholar]
  27. Brest, J.; Greiner, S. Self-Adapting Control Parameters in Differential Evolution: A Comparative Study on Numerical Benchmark Problems. IEEE Trans. Evol. Comput. 2006, 10, 646–657. [Google Scholar] [CrossRef]
  28. Qin, A.K.; Huang, V.L. Differential Evolution Algorithm with Strategy Adaptation for Global Numerical Optimization. IEEE Trans. Evol. Comput. 2008, 13, 398–417. [Google Scholar] [CrossRef]
  29. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  30. Han, E.H.; Karypis, G. Text categorization using weight adjusted k-nearest neighbor classification. In Proceedings of the Pacific-asia Conference on Knowledge Discovery and Data Mining, Hong Kong, China, 16–18 April 2001; Springer: Berlin/Heidelberg, Germany, 2001. [Google Scholar]
  31. Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  32. Yan, Z.H.; Zeng, L. The BP Neural Network with MATLAB. In Proceedings of the 2013 International Conference on Electrical, Control and Automation Engineering(ECAE 2013), Hong Kong, China, 1–2 December 2013. [Google Scholar]
  33. Nguyen, N.T.; Nguyen, H.P. Fault Diagnosis of Voltage Source Inverter for Induction Motor Drives Using Decision Tree. In Proceedings of the 9th International Conference on Robotic, Vision, Signal Processing and Power Applications, Penang, Malaysia, 2–3 February 2016; Volume 398, pp. 819–826. [Google Scholar]
Figure 1. Flow chart of fault diagnosis method of angle grinder based on ACD-DE algorithm and SVM model.
Figure 1. Flow chart of fault diagnosis method of angle grinder based on ACD-DE algorithm and SVM model.
Mathematics 10 03279 g001
Figure 2. The angle grinder CT13499-115.
Figure 2. The angle grinder CT13499-115.
Mathematics 10 03279 g002
Figure 3. The data acquisition test bench. (1) Eddy current dynamometer; (2) angle grinder; (3) triaxial acceleration sensor; (4) constant current excitation power supply; (5) USB-6001; (6) upper computer; (7) TP700 data recorder.
Figure 3. The data acquisition test bench. (1) Eddy current dynamometer; (2) angle grinder; (3) triaxial acceleration sensor; (4) constant current excitation power supply; (5) USB-6001; (6) upper computer; (7) TP700 data recorder.
Mathematics 10 03279 g003
Figure 4. Energy spectrum of vibration signal in x-axis direction. (a) Energy spectrum in normal state; (b) energy spectrum under bearing defects; (c) energy spectrum under rotor dynamic balance failure; (d) energy spectrum under bevel gear wear; (e) energy spectrum under bearing rubber sleeve defects.
Figure 4. Energy spectrum of vibration signal in x-axis direction. (a) Energy spectrum in normal state; (b) energy spectrum under bearing defects; (c) energy spectrum under rotor dynamic balance failure; (d) energy spectrum under bevel gear wear; (e) energy spectrum under bearing rubber sleeve defects.
Mathematics 10 03279 g004
Figure 5. Median convergence characteristics of DE, jDE, SaDE, and ACD-DE on test functions. (a) Convergence curve of F3; (b) convergence curve of F4; (c) convergence curve of F5; (d) convergence curve of F6; (e) convergence curve of F7; (f) convergence curve of F8.
Figure 5. Median convergence characteristics of DE, jDE, SaDE, and ACD-DE on test functions. (a) Convergence curve of F3; (b) convergence curve of F4; (c) convergence curve of F5; (d) convergence curve of F6; (e) convergence curve of F7; (f) convergence curve of F8.
Mathematics 10 03279 g005
Figure 6. Fitness function curve under different optimization algorithms.
Figure 6. Fitness function curve under different optimization algorithms.
Mathematics 10 03279 g006
Figure 7. Comparison results of models.
Figure 7. Comparison results of models.
Mathematics 10 03279 g007
Figure 8. Disassembly results of angle grinder No. 2. (a) Bearing; (b) front view of bevel gear; (c) side view of bevel gear; (d) rotor.
Figure 8. Disassembly results of angle grinder No. 2. (a) Bearing; (b) front view of bevel gear; (c) side view of bevel gear; (d) rotor.
Mathematics 10 03279 g008
Table 1. Relevant parameters of data acquisition.
Table 1. Relevant parameters of data acquisition.
Number of SamplesSampling Frequency of Triaxial AccelerationSampling Frequency of Electrical Parameters and Temperature
50005000 Hz1 Hz
Table 2. Expression of time domain features.
Table 2. Expression of time domain features.
Dimensioned Time Domain FeaturesExpressionDimensionless Time Domain FeaturesExpression
Average value x ¯ = 1 N i = 1 N x ( i ) Crest factor C = max { | x ( i ) | } x R M S
Square amplitude x s m r = ( 1 N i = 1 N | x ( i ) | ) 2 Pulse factor I = max { | x ( i ) | } x ¯ a b s
Variance x v = 1 N 1 i = 1 N ( x ( i ) x ¯ ) 2 Margin factor C L = max { | x ( i ) | } | 1 N i = 1 N | x ( i ) | | 2
Root mean square x R M S = 1 N i = 1 N ( x ( i ) ) 2 Kurtosis factor C K = 1 N i = 1 N x ( i ) 4 x R M S 4
Standard deviation S = i = 1 N ( x ( i ) x ¯ ) 2 N
Table 3. Time domain features of vibration signal in x-axis direction.
Table 3. Time domain features of vibration signal in x-axis direction.
ClassAverage ValueSquare AmplitudeVarianceRoot Mean SquareStandard DeviationCrest FactorPulse FactorMargin FactorKurtosis Factor
Normal0.000110.06030.00680.08250.08252.63383.18303.66402.4199
10.00260.16060.05560.23580.23583.74714.67195.50082.8930
20.00420.24130.11900.34500.34503.78234.64425.40682.7312
30.00450.16960.06340.25190.25204.01415.04985.96233.2401
40.00560.21010.10040.31690.31683.64624.62435.49992.8037
Table 4. Frequency domain features of vibration signal in x-axis direction.
Table 4. Frequency domain features of vibration signal in x-axis direction.
ClassNode 0Node 1Node 2Node 3Node 4Node 5Node 6Node 7
Normal91.12157.78600.63870.27060.03640.05470.07010.0217
135.777925.693419.05618.10332.97193.50943.02161.8661
228.405157.28577.87212.56480.93930.98301.18540.7642
345.528638.47589.04734.11211.51751.20820.76190.3481
460.842417.78643.402511.75343.32831.16850.89370.8243
Table 5. Test functions.
Table 5. Test functions.
Test FunctionDs f min
F 1 = i = 1 D x i 2 30 | s | 100 0
F 2 = i = 1 D 1 ( 100 ( x i 2 x i + 1 ) 2 + ( x i 1 ) 2 ) 30 | s | 100 0
F 3 = ( i = 1 D ( j = 1 i x i ) 2 ) ( 1 + 0.4 | N ( 0 , 1 ) | ) 30 | s | 32 0
F 4 = 20 exp ( 0.2 1 D i = 1 D x i 2 ) exp ( 1 D i = 1 D cos ( 2 π x i ) ) + 20 + e 30 | s | 32 0
F 5 = i = 1 D x i 2 4000 30R0
F 6 = i = 1 D | x i | + i = 1 D | x i | 30 | s | 10 0
F 7 = max { | x i | , 1 i D } 30 | s | 100 0
F 8 = 1 + i = 1 D x i 2 4000 i = 1 D cos ( x i i + 1 ) 30 | s | 100 0
Table 6. Comparison results of four optimization algorithms.
Table 6. Comparison results of four optimization algorithms.
Test FunctionDEjDESaDEACD-DE
MeanStdMeanStdMeanStdMeanStd
F18.87 × 10−435.12 × 10−430.60670.72136.97 × 10−722.75 × 10−7100
F28.66× 10−206.12 × 10−202.91 × 10−233.27 × 10−235.11 × 10−623.74 × 10−6200
F3152.691292.22.90503.16362.73992.70420.21240.2011
F47.01 × 10−151.34 × 10−155.61 × 10−151.81 × 10−153.99 × 10−151.61 × 10−302.01 × 10−150
F52.24 × 10−461.15 × 10−467.73 × 10−421.15 × 10−419.47 × 10−774.19 × 10−768.0 × 10−1251 × 10−124
F62.01 × 10−256.47 × 10−262.31 × 10−221.62 × 10−221.39 × 10−375.57 × 10−373.34 × 10−634 × 10−63
F72.73 × 10−45.55 × 10−55.16 × 10−56.93 × 10−51.08 × 10−43.42 × 10−40.00250.0064
F800000000
Table 7. Running time of different models.
Table 7. Running time of different models.
ModelRunning Time/S
SVM (optimized)16.11
SVM (non−optimized) [29]308.21
KNN [30]10.64
Random forest [31]24.36
BP neural network [32]17.98
Decision tree [33]4.48
Table 8. Comparison between diagnosis results and actual disassembly results.
Table 8. Comparison between diagnosis results and actual disassembly results.
Number of Angle GrinderDiagnosis ResultDisassembly Result
1NormalNormal
2Bevel gear wearBevel gear wear
3NormalNormal
4NormalNormal
48Bearing defectsBevel gear wear
49NormalNormal
50Bevel gear wearNormal
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jia, J.; Zhang, C.; Chen, J.; Zhu, Z.; Mao, M. Fault Diagnosis Analysis of Angle Grinder Based on ACD-DE and SVM Hybrid Algorithm. Mathematics 2022, 10, 3279. https://doi.org/10.3390/math10183279

AMA Style

Jia J, Zhang C, Chen J, Zhu Z, Mao M. Fault Diagnosis Analysis of Angle Grinder Based on ACD-DE and SVM Hybrid Algorithm. Mathematics. 2022; 10(18):3279. https://doi.org/10.3390/math10183279

Chicago/Turabian Style

Jia, Jiangming, Chenan Zhang, Jianneng Chen, Zheng Zhu, and Ming Mao. 2022. "Fault Diagnosis Analysis of Angle Grinder Based on ACD-DE and SVM Hybrid Algorithm" Mathematics 10, no. 18: 3279. https://doi.org/10.3390/math10183279

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop