1. Introduction
In the cutting of thin-walled parts, chatter occurs easily due to the weak rigidity of the workpiece, which will greatly affect the machined surface quality, reduce production efficiency [
1], accelerate tool wear [
2], and even affect the fatigue life of the workpiece [
3,
4,
5,
6]. Therefore, effective methods to predict, control, and monitor chatter have been a focus of research in the past 20 years. There has been a relatively solid research base in chatter prediction, the stability lobe diagram (SLD) can be calculated by various methods, such as zero-order analytical (ZOA) [
7], semi-discretization method (SDM) [
8], full-discretization method (FDM) [
9], differential quadrature method (DQM) [
10], etc. Based on the research results in chatter prediction, chatter suppression has also made some important progress, such as active control methods [
11,
12,
13] and passive damping control [
14,
15,
16]. However, the dynamic characteristics of the system are constantly changing and easily disturbed [
17]. As a result, the effectiveness of chatter suppression is easily affected by the accuracy of prediction methods. With the development of sensor technology and machine learning, the data-driven chatter monitoring method makes it possible to reproduce the machining process in real-time, which has become an intermediate to unify thin-walled parts cutting and chatter control.
In recent years, multi-sensor fusion technology has proved to be an effective way to monitor the cutting process [
18], which is mainly because multi-sensor fusion reflects a variety of physical phenomena of the cutting process, covers multiple frequency ranges, and shares complementary information from different perspectives. As to chatter detection, with the help of wavelet transform, Tran et al. [
19] identified milling chatter by the fusion of microphone and accelerometer sensors. Kuntoğlu et al. [
20] compared the effectiveness of different sensors in the turning process and proved the high robustness of multi-sensor fusion method by acquiring cutting forces, vibration, acoustic emission, temperature, and current measurements. Since the multi-sensor fusion provides the possibility for high redundancy monitoring, its application in tool condition monitoring is also increasing. For example, Zhou et al. [
21] monitored the condition of the cutting tool through a multi-sensor global feature extraction method during milling.
On the other hand, the development of machine learning technology makes the recognition of cutting conditions more convenient, which further promotes the practical application of the technology of milling process monitoring. Considering the advantage of identification accuracy, the supervised machine learning-based method is widely used in the monitoring of the cutting process. To avoid the influence of physical models, Denkena et al. [
22] proposed a SLD calculation algorithm through support vector machines (SVM) and artificial neural network (ANN), and the highest classification accuracy of the proposed algorithm reaches 94%. Shi et al. [
17] realized the early identification of chatter in high-speed milling by a kind of enhanced k-nearest neighbor method and a variety of extracted signal features. Wu et al. [
23] proposed a tool wear identification method that does not require professional experience, which monitors the milling process based on the CNN model and the charge-coupled device (CCD) image sensor data. Thanks to the automatic detection algorithm, the mean absolute percentage error between the identified results and real tool wear value is only 4.76%. Sener et al. presented a chatter detection method based deep convolutional neural network (DCNN). It has been proven that the accuracy will be better if the process parameters are input to DCNN [
24].
However, for cutting process monitoring, the supervised machine learning-based method has natural disadvantages, such as it must know the label of classification data in advance and need a complex process of training model. This limits the possibility of the practical application of condition identification, which is one of the main reasons why machine learning monitoring algorithms are difficult to be applied in commercial applications. Fortunately, some research on the application of unsupervised machine learning in cutting processes has emerged. Dun et al. [
25] implemented the identification of milling chatter by autoencoder and hybrid clustering algorithm, and Peng et al. [
26] implemented the monitoring of tool condition through extracting frequency-domain features of sound signals. However, the current methods mostly extract multiple features in the time domain, frequency domain, or time-frequency domain, and the recognition accuracy is still lower compared to supervised machine learning methods, which all lead to great inconvenience in their application to online monitoring. Therefore, an unsupervised machine learning method with convenient signal feature extraction and high recognition accuracy would be beneficial for the promotion of online monitoring for cutting conditions.
In fact, feature extraction is very important in pattern recognition. If the correlation between the extraction and the identification results is strong, even if the machine learning algorithm with low theoretical classification accuracy, such as unsupervised machine learning, can obtain better identification performance. The physical nature of the fractal feature, which describes the self-similar characteristics of signals, determines that the extracted feature is not easily influenced by the cutting process parameters, which provides a unique accuracy advantage for monitoring the nonlinear and non-stationary properties of chatter during the milling process [
27]. At present, the method of extracting the fractal dimension of the signal is mostly based on box counting, such as Diykh et al. [
28], who extracted the feature of fractal dimension of electronephhallgraphy (EEG) signals by box counting method, and classified the extracted datasets by combining support vector machine (SVM). Zhuo et al. also calculated the fractal dimension of the signals in the time-domain and frequency-domain separately by the box counting method for the identification of chatter in flank milling [
29].
However, for the milling process of thin-walled parts, especially the thin-walled parts of hard-to-cut materials, due to the position dependence characteristics, tool wear coupling factors, and the time-varying dynamic characteristics of the milling system, the cutting signal has not only the characteristics of self-similarity but also self-affinity. The box counting method is also not suitable for solving the data with self-affinity [
30]. On the other hand, the structure function method (SFM) has been widely used for the calculation of fractal dimension of rough surfaces because the self-affine characteristics of the surface profile can be considered in the process of constructing the function [
31,
32]. Therefore, it can be expected that the identification accuracy of cutting chatter can be improved by extracting features through the structure function method (SFM).
Given the problems of complex feature extraction and low identification accuracy in the current unsupervised machine learning-based cutting monitoring method, this paper first extracts the fractal features of signals by SFM and provides a novel chatter detection method based on fractal dimension and k-means clustering algorithm. The main advantage of the proposed method is that it can achieve the desired recognition accuracy by extracting only one kind of time-domain feature, which avoids the complicated process of combining multiple features extracted by traditional methods and improves the recognition accuracy of unsupervised machine learning-based methods. This provides a new idea for the research related to unsupervised machine learning-based cutting process monitoring. The rest of this paper is organized according to the following structure:
Section 2 introduces the chatter identification method based on fractal dimension and k-means clustering algorithm.
Section 3 describes the experimental design, feature extraction and experimental verification results in detail.
Section 4 discusses the effective method of judging the chatter, and conclusion is drawn in
Section 5.
2. Methodology
Commonly used time-domain features essentially describe the intensity and distribution characteristics of the signals. However, these physical features of signals are not necessarily related to the cutting conditions, and even changes in process parameters may affect such features. Considering the correlation between milling chatter and signal fractal features, the proposed method in this paper first extracts the time-domain features of the signal based on fractal theory, and then identifies the milling condition by data clustering. At the same time, three common time-domain features (root mean square, kurtosis, and skewness) are also extracted as the comparison to judge the accuracy of the proposed method.
2.1. Related Time-Domain Features
Since the subtle changes of the process will affect the parameters of signal features, the commonly used time-domain features have obvious advantages in identifying stationary signals. However, for nonlinear and non-stationary signals including cutting chatter, it is generally difficult to identify the state by time domain features alone.
Root mean square (RMS) is the most commonly used parameter in time-domain features, which is actually related to the total energy and reflects the strength of the milling signal. It has proven effective on many occasions. It can be expressed as:
where
N is the number of sampling points and represents the
ith sampling point in the cutting signal
.
Kurtosis, on the other hand, expresses the characteristics of the numerical distribution of random variables, as shown in Equation (2), which is essentially a fourth-order normalized central moment of the data. It reflects the steepness of the distribution pattern of all samples. In terms of signal morphology, kurtosis represents the sharpness of the signal peak compared to the normal distribution, and the larger the kurtosis value, the greater the difference between the distribution of the data and the normal distribution.
where,
represents the average value of the signal data and
is the standard deviation of signal data.
The expression of skewness is shown in Equation (3), which is similar to kurtosis and also expresses the numerical distribution characteristics of random variables. However, differing to kurtosis, it is the third-order normalized central moment of the sampling data, which represents the symmetry of the distribution. The larger the absolute value of skewness, the more it deviates from the normal distribution.
It is generally believed that when chatter occurs during milling, the amplitude of the signal increases and the data distribution changes, which in turn leads to changes in kurtosis and skewness. This is the basic principle of identifying chatter by the time-domain features of the signal.
2.2. Fractal Dimension Based on SFM
The structure function method (SFM) is usually used to calculate the fractal dimension of the profile of rough surfaces, which is actually a set of data Z(x) associated with a sampling position x that satisfies [
32,
33].
where
is defined as the structure function of the time-domain data,
is the length of the random sampling point interval, and < > denotes the temporal average. Equation (4) elaborates the power-law relationship between the arithmetic average of the signal amplitude on different time scales and the fractal dimension. When 1 <
D < 2,
C is a constant, which is also related to the fractal parameter [
34], and can be expressed as
where
G is the characteristic scale constant, and
represents the gamma function.
As for the signals of sound, acceleration, and cutting bending moment, the signal amplitude is actually composed of multiple discrete points according to the time series, i.e.,
As a result, a random sample point interval length
can be defined as
For a given signal, the number of discrete points is related to the sampling frequency of the signal. Therefore, the distance between two discrete points satisfies .
Then Equation (4) can be converted to
Taking the logarithm of both sides of Equation (8), it can be obtained that
Therefore, the distribution of the structure function of the cutting signal in the double logarithmic coordinate system can be obtained by substituting Equations (6) and (7). So that in the double logarithmic coordinates (log-log coordinates), if
and
is linear and the slope 0 <
< 2, it can be determined that the signal data have fractal characteristics. The fractal dimension of the cutting signal can then be calculated:
2.3. Methodology of Chatter Detection
Once the signal features are extracted, the different milling conditions can be identified from the extracted features, which is also known as chatter detection. Here, to avoid the complicated process of model training, k-means clustering is used to achieve the identification of milling conditions. As a typical unsupervised machine learning method, it does not need to know the labels of the data in advance, but its clustering results are more sensitive to the number of divided classes. As for this paper, the extracted data can be classified into two classes, namely stable and chatter, which means the number of classifications is clear. This is a basic prerequisite to be able to apply the k-means clustering algorithm.
Assuming that the set of extracted original features is
, the number of classifications is
k (
k ≤
n), i.e., the original data is divided into
k classes
, and the classification can be achieved by minimizing the following expression:
where
denotes the center vector (cluster center) of the classification
Si. In order to solve this NP-hard problem, Equation (11) is mostly solved by multiple iterations. The derivation of Equation (11) yields that the objective function is minimized when
is equal to the mean value of all the samples. That is
where,
denotes the total number of samples in the
ith cluster and
is the
jth sample in the
ith cluster. Therefore, the basic principle of the method is to assume that data of the same class are closer, and thus to recognize the milling condition by calculating the distance of the data in the feature space.
As shown in
Figure 1, the signals of acceleration, sound, and bending moment of the cutting process are acquired synchronously. The extracted multiple features are used as the three dimensions of the clustering data to fuse the multi-sensor information. Based on SFM, the fractal dimension of the multiple signals is then calculated. As a comparison, three kinds of commonly used time-domain features are also calculated. Further, the milling condition is identified by data clustering. In the process of pattern recognition, various signal features are clustered separately for accuracy comparison. Finally, the accuracy of the proposed method is verified by comparing the clustering output labels with the actual experimental milling condition, which is verified by various means such as workpiece inspection, FFT and cutting bending moment.
4. Discussion
As mentioned earlier, the clustering algorithm, as an unsupervised learning method, does not require prior knowledge of the data labels in identifying milling chatter. However, in this paper, in order to compare the discrimination accuracy of different signal features, definite labels are designed for each group of experiments, as in
Table 1, the first nine groups of experiments are for stable conditions and the last nine groups of experiments are for chatter condition. However, whether the designed process parameters can indeed achieve the corresponding milling conditions still needs to be determined after the experiments. Indirect means are usually used to determine the occurrence of milling chatter, such as checking whether there are chatter marks on the surface of the workpiece, but judging the machining stability by surface quality is prone to error because the surface quality is easily affected by a variety of factors [
25], which brings great uncertainty in tracking chatter by surface marks. Moreover, chatter is also not necessarily present throughout a process, thus judging based on the location of the chatter mark is not accurate. At the same time, it is difficult to detect the surface profile of the workpiece online. As a result, it is unrealistic to apply it in actual machining by stopping the machine after each cutting process to detect the surface quality.
Therefore, in actual experiments, the collected signals are mostly subjected to FFT to analyze the frequency components. When the signal spectrum contains only the tooth passage frequency, spindle rotation frequency and its harmonic frequency, the milling process is considered stable. On the contrary, it can be considered that milling chatter occurs if there are frequency components in the spectrum other than the tooth passage frequency, spindle rotation frequency and its harmonic frequency, and the extra frequency component is considered as the chatter frequency.
Figure 7 shows the FFT of the acceleration and sound signals of one group of experiments in the stable milling condition, where the green vertical line represents the spindle rotation frequency and its multiplier frequency. The blue solid line represents the FFT result of the signal. In
Figure 7, all of the signal spectra are the spindle rotation frequency and its multiplier frequency, which proves that the cutting process is in stable condition. As shown in
Figure 8, the frequency components that are neither the spindle rotation frequency nor its multiplier frequency are the chatter frequencies, i.e., the part marked by red circles. It can be seen that the chatter frequencies are mostly set in the low and medium frequency parts, mainly because, in the thin-walled parts milling process, the chatter frequencies are mostly related to the natural frequency of the workpiece, which is mostly in the low and medium frequency band.
Moreover, it is generally accepted that the cutting bending moment distribution can demonstrate the tool morphology to some extent, and it is often used in industrial software to monitor the tool condition. It was then found in this paper that the bending moment distribution does not necessarily correlate with tool condition alone, especially for thin-walled part milling, where milling chatter largely affects the tool morphology formed by the cutting bending moment distribution, which does not necessarily correlate with tool condition.
Figure 9 shows the bending moment distribution for the stable cutting condition, i.e., the bending moment polar plot.
Figure 9a–i represent nine groups of experiments for the stable milling condition, respectively. Benefiting from the stable contact between the tool and the workpiece, the bending moment distribution is more concentrated in the stable condition, and the tool morphology can be basically observed more obviously through the polar plot. In contrast,
Figure 10 shows nine sets of experiments in the chatter condition, and it can be seen that the cutting bending moment distribution is relatively scattered due to the occurrence of chatter, and the tool morphology can hardly be determined. It is therefore not accurate to monitor the tool condition only by polar plots.
5. Conclusions
In order to improve the recognition accuracy of time-domain features for milling chatter, this paper applies the structure function method (SFM) for the first time to extract the fractal dimension of the signal as the time-domain feature, which avoids the influence of process parameters on identification accuracy. And by applying the k-mean clustering algorithm, it is not necessary to know the data labels in advance before identifying the milling condition, which eliminates the process of training models. The proposed method is more applicable to the actual cutting process monitoring. In this paper, multiple signal features are compared through the same learning algorithm, which verifies the accuracy of different signal features through experiments. However, the over fitting and generalization ability of the model are not only related to the extracted signal features, but also affected by the learning algorithm. The purpose of this paper is to provide a chatter detection method that is computationally efficient and conducive to improving the identification accuracy, so the research topic of this paper focuses on the influence of the extracted signal features. The following conclusions can be obtained from the whole paper.
1. Unlike traditional chatter monitoring methods that require extraction of multiple signal features, the proposed monitoring method uses only one kind of time-domain feature and requires basically no prior knowledge in either signal feature extraction or condition recognition, which improves computational efficiency and avoids the complex process of extracting multiple signal features. Due to improved computational efficiency, the proposed method can be a research basis for online monitoring of chatter during the milling of thin-walled parts.
2. In this paper, multiple signal features are extracted and clustered separately, and the accuracy of identification for milling chatter is compared. The results show that the fractal dimensional clustering is the best, with 94.4% accuracy using only a single time-domain feature, which is even better than some supervised machine learning methods. If combined with other time-domain features, frequency-domain features, and time-frequency-domain features, it is expected to obtain higher recognition accuracy, which can help promote the application of unsupervised machine learning in milling chatter monitoring.
3. For the monitoring of chatter by the clustering algorithm, it is difficult to achieve accurate identification of milling conditions by using other time-domain features alone. According to the results of the experiments, the best recognition accuracy among the traditional time-domain features is the root mean square, which reaches 88.89%, but it requires more iterations compared with other features, which means more computation. Although the number of iterations of skewness and kurtosis is less, their recognition accuracy is only 61.11% and 13.89%, respectively. It is obvious that it is difficult to accurately recognize chatter by these two time-domain features alone.
4. It is generally believed that the cutting bending moment distribution can show the tool morphology to a certain extent, and some existing commercial products also monitor the tool wear process by the polar plot. However, according to the experimental results in this paper, milling chatter can greatly affect the bending moment distribution, which indicates that monitoring the tool condition by polar plots is not reliable.