Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Next Article in Journal
Adaptive Point-Line Fusion: A Targetless LiDAR–Camera Calibration Method with Scheme Selection for Autonomous Driving
Previous Article in Journal
Optimized OTSU Segmentation Algorithm-Based Temperature Feature Extraction Method for Infrared Images of Electrical Equipment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Piecewise Cubic Hermite Interpolating Polynomial-Enhanced Convolutional Gated Recurrent Method under Multiple Sensor Feature Fusion for Tool Wear Prediction

1
School of Mechanical Engineering, Southwest Jiaotong University, Chengdu 610031, China
2
School of Mathematics, Sichuan University, Chengdu 610065, China
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(4), 1129; https://doi.org/10.3390/s24041129
Submission received: 27 December 2023 / Revised: 20 January 2024 / Accepted: 25 January 2024 / Published: 8 February 2024
(This article belongs to the Section Fault Diagnosis & Sensors)

Abstract

:
The monitoring of the lifetime of cutting tools often faces problems such as life data loss, drift, and distortion. The prediction of the lifetime in this situation is greatly compromised with respect to the accuracy. The recent rise of deep learning, such as Gated Recurrent Unit Units (GRUs), Hidden Markov Models (HMMs), Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), Attention networks, and Transformers, has dramatically improved the data problems in tool lifetime prediction, substantially enhancing the accuracy of tool wear prediction. In this paper, we introduce a novel approach known as PCHIP-Enhanced ConvGRU (PECG), which leverages multiple—feature fusion for tool wear prediction. When compared to traditional models such as CNNs, the CNN Block, and GRUs, our method consistently outperformed them across all key performance metrics, with a primary focus on the accuracy. PECG addresses the challenge of missing tool wear measurement data in relation to sensor data. By employing PCHIP interpolation to fill in the gaps in the wear values, we have developed a model that combines the strengths of both CNNs and GRUs with data augmentation. The experimental results demonstrate that our proposed method achieved an exceptional relative accuracy of 0.8522, while also exhibiting a Pearson’s Correlation Coefficient (PCC) exceeding 0.95. This innovative approach not only predicts tool wear with remarkable precision, but also offers enhanced stability.

1. Introduction

In industrial scenarios, when equipment is used for processing, the lifetime and maintenance of the equipment are factors that must be considered. For example, in the context of Computerized Numerical Control (CNC) machine processing, the maintenance of the tool’s lifetime is particularly important and has the highest priority. This is due to the necessity for more frequent replacement of severely worn tools, thereby increasing the downtime and maintenance expenses along the production line. Meanwhile, tool wear affects the quality of machined parts, leading to uneven machined surfaces, dimensional inaccuracies, and potential damage to the workpiece. Severely worn tools can even pose a safety hazard to the working environment and the operators. In essence, the prediction of tool wear not only contributes to heightened production efficiency, cost control, and product quality assurance, but also aligns with the trend towards intelligent manufacturing. This progression fosters the development of the manufacturing industry in a direction that is more advanced, sustainable, and intelligent.
The state of cutting tools has an important impact on production efficiency and surface processing quality. Therefore, online monitoring and real-time prediction of tool wear are of great significance, and they also have become the most discussed and researched hot topic in the mechanical field. Over the years, researchers have explored various methodologies and techniques to predict tool wear, aiming to enhance productivity, optimize the tool lifetime, and minimize machine downtime [1,2,3]. The earliest monitoring of cutting tool conditions started with a single variable, known as direct measurement, and gradually evolved to fewer variables, known as indirect measurement. For instance, the optical image method was the earliest traditional method applied to tool wear monitoring [4,5]; it uses the reflectance of the worn surface to evaluate the wear of the tool. Contact resistance measurement is performed using electrical resistance and the radioactive elements [6]. However, a single signal has its own drawbacks. While some processes are too complicated, some are not suitable for large workpieces, some will be affected by noise, some signal acquisition will be delayed, and some are expensive (acoustic emission monitoring of the equipment). Therefore, multiple sensor signals are widely used to monitor tool wear. The incorporation of multi-signal conditions, which involves monitoring and analyzing a wide range of parameters including vibration, temperature, acoustic emission, and cutting force, among others, has provided a more-comprehensive understanding of the tool’s behavior during machining processes. By considering a multitude of signals, engineers can gain a more nuanced insight into the complex interactions that affect tool wear and failure. This not only leads to more accurate predictions, but also enables proactive maintenance and optimization strategies. Multiple sensor signals mean multiple features, and their fusion starts to become the key [7,8].
In recent years, with the popularity of machine learning and deep learning, new directions have opened up for research on cutting tools, and numerous related studies have sprung up using methods such as Artificial Neural Networks (ANNs) [9,10], Support Vector Machines (SVMs) [11,12,13], the Hidden Markov Model (HMM) [14,15,16,17], Gaussian Process Regression (GPR), etc. [18,19]. With the rise of deep learning, these types of methods have advanced to a new level [20]. In the contemporary landscape of modern manufacturing, the incorporation of multi-signal conditions and the utilization of deep learning in tool lifetime prediction are essential for fostering efficiency, reliability, and competitiveness. Deep learning methods have shown significant promise in tool wear prediction for machining processes due to their ability to automatically learn complex patterns and relationships from large datasets [21]. They have the potential to outperform traditional analytical and empirical models by capturing intricate nonlinearities in the machining process. Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), Attention networks, and so on, have skyrocketed in the mechanical field [22,23,24]. These models, primarily known for their remarkable achievements in areas such as computer vision and language translation, have found substantial relevance in the realm of mechanical production as well, underpinning the evolution of smart manufacturing.
It is important to note that deep learning methods require large, labeled datasets for effective training, which can be a challenge in some machining scenarios. Data augmentation is a technique widely used in machine learning to artificially increase the size of a training dataset by applying various transformations to the original data. This helps improve the model’s generalization and robustness. When it comes to machine learning for tool wear prediction, data augmentation can be particularly beneficial in enhancing the model’s ability to recognize patterns associated with different states of tool wear. Usually, in the collection of data on tool wear, only the values of the sensor signals (such as the cutting force, vibration, acoustic emission, and current) are collected, but the value of the tool wear is not measured. The main reason is that the signal acquisition sensors are attached to, for example, a CNC machine tool, so they can collect the data at a relatively high frequency, and the amount of wear of the tool is measured after the tool has been used for a constant interval, so the frequency of the obtained data is much lower. Therefore, we need to use data augmentation methods to improve the data availability. Data augmentation is a commonly used technique in machine learning, involving the transformation and expansion of training data to enhance their diversity and richness. It improves the model’s generalization capability, robustness, and accuracy. There are multiple methods available for data augmentation, including random erasing [25], data interpolation [26], and so on. By addressing issues such as overfitting, imbalanced data, missing data, and limited samples, data augmentation effectively enhances the performance and reliability of machine learning models [27].
In the context of tool wear prediction with deep learning, data augmentation refers to the technique of artificially increasing the size and diversity of the training dataset by applying various transformations to the original sensor data collected during machining processes, with the goal of enhancing the generalization and robustness of the deep learning model by exposing it to a wider range of variations and scenarios that may be encountered in real-world tool wear conditions. For tool wear prediction, the input data often consist of sensor readings, such as vibration signals, acoustic signals, current signals, or other sensor data collected during the cutting or machining process. In such operating conditions, tool wear stages, or machining scenarios simulated by introducing variations to sensor data using a data augmentation method, the Piecewise Cubic Hermite Interpolating Polynomial (PCHIP) interpolation method can be used to obtain the uniformly spaced interpolation data series. In a modified grey model proposed by Wang F et al. to predict the RUL of rolling bearings based on vibration data, the PCHIP method was used to process the original data, and this method managed to maintain the trend characteristics of the original signal while improving the reliability of RUL prediction results [28].
The PCHIP-Enhanced ConvGRU (PECG) model we introduced adeptly merges CNN and GRU networks to effectively capture the time series characteristics of the tool wear data. In our study, thanks to the National Natural Science Foundation of China, we were able utilize real industrial tool data versus synthetic datasets, which lends credence to the model’s wear prediction results. In real scenarios, we employed the PCHIP method to interpolate and supplement the wear data, aimed at addressing incomplete tool wear data due to rapid sensor data acquisition. This approach alleviates the issue of high-dimensional but insufficient measurement data obtained from sensor-based tool wear measurements. Notably, PCHIP interpolation substantially elevated the relative prediction accuracy of the model from 0.8005 to 0.8522. Our methodology further involves the extraction of local features via the CNN layer, leveraging the resulting feature map as input for the GRU encoder to capture temporal dependencies. While fully exploiting the time series information processing capabilities of GRU, PECG effectively harnesses the spatial feature learning process of CNN, thereby organically combining and maximizing the strengths of both.
In summary, based on the research trend of multi-feature fusion in the industry, and the advantages of deep learning to mine data, a new PECG method under multiple feature fusion for tool wear prediction has been developed. Our proposed method has the following contributions:
  • By employing the Piecewise Cubic Hermite Interpolating Polynomial method in tandem with an understanding of the patterns associated with missing tool wear data, we successfully interpolated and completed the wear data. This approach effectively resolves the challenge posed by high-dimensional tool wear measurement data collected by sensors, a scenario often characterized by relatively insufficient measurement data.
  • We extract local features through the CNN layer, leveraging the feature map as input for the GRU encoder to capture temporal dependencies. The PECG model effectively harnesses the spatial feature learning capacity of CNN while fully optimizing the time series data processing abilities of GRU. This results in the seamless integration and maximization of the strengths of both models, making it particularly well-suited for processing data characterized by both time series and spatial features.
  • These two aspects are combined to form a comprehensive PECG method.
The remainder of this paper is organized as follows. Section 2 introduces the data interpolation method, PCHIP. Section 3 describes the proposed wear prediction model in detail. In Section 4, we conduct experimental studies to compare the proposed model with other methods and confirm its superiority. Section 5 provides conclusions. The abbreviations are listed at the end of this paper.

2. PCHIP Interpolation Method

In the data acquisition process, the varying methods of acquiring data have led to a significantly higher volume of sensor data compared to wear data, resulting in a lack of corresponding wear data for certain sensor readings. Consequently, there are missing values within the wear data. Previous approaches involved the deletion of sensor data lacking corresponding wear data, inadvertently discarding valuable information inherent in the sensor data. To address this issue, we have introduced the PCHIP interpolation method to substitute the missing wear data. Through this method, we establish a one-to-one correspondence between sensor data and tool wear data, ensuring the maximization of information encapsulated within the sensor data. This approach enables us to fully leverage the information gleaned from sensor data while circumventing the loss of valuable insights.
There are many interpolation methods. Among them, the simplest method is to define a piecewise linear function between each number of points. The linear method is fast and easy to implement, but linear interpolation does not produce a smooth curve. To solve this problem, a higher-order polynomial can be chosen between each pair of data points, and we can specify the gradient of this polynomial to ensure that the overall approximation function is continuous and has continuous derivatives. Cubic spline interpolation resolves sudden changes in gradients in the case of linear interpolation. But this also introduces a problem that the interpolation may be outside the range of our data point values, which can lead to overshooting issues.
We use Piecewise Cubic Hermite Interpolating Polynomial (PCHIP) to avoid the above two problems. The cubic Hermite polynomial is defined as follows:
p ( t ) = h 00 ( t ) p 0 + h 10 ( t ) x k + 1 x k m 0 + h 01 ( t ) p 1 + h 11 ( t ) x k + 1 x k m 1
where h 00 , h 10 , h 01 , h 11 are Hermite basis functions. PCHIP interpolates using a piecewise cubic polynomial P ( x ) with these properties:
  • On each subinterval x k     x     x ( k + 1 ) , the polynomial P ( x ) is a cubic Hermite interpolating polynomial for the given data points with specified derivatives at the interpolation points.
  • P ( x ) interpolates y, that is, p ( x j ) = y j , and the first derivative d p d x is continuous. The second derivative d 2 p d x 2 is probably not continuous, so jumps at x j are possible.
  • The cubic interpolant P ( x ) is shape-preserving. The slopes at x j are chosen in such a way that P ( x ) preserves the shape of the data and respects monotonicity. Therefore, on intervals where the data are monotonic, so is P ( x ) , and at points where the data have a local extremum, so does P ( x ) .
These properties of the piecewise cubic polynomial maintain the monotonicity of the points on the interpolation curve [29]. They solve the problem of overshoot and the curve of the interpolation result is smooth at the same time.

3. Model Construction

Data-driven methods predict tool wear using predictive models trained by machine learning or pattern recognition algorithms [30]. When dealing with data-driven works, deep learning is able to learn from large amounts of data and identify subtle patterns and relationships between tool wear value and sensor data.
As shown in Figure 1, the proposed PECG mainly includes two stages: data preprocessing and model construction. After the data preprocessing, we successfully resolved the problem of missing wear data by employing the PCHIP interpolation technique. The processed data were subsequently utilized to train the proposed model. The details of the model construction are illustrated below.

3.1. Convolutional Neural Network

CNNs are primarily used for image classification tasks and have become dominant in various computer vision tasks, but they can also be used for regression problems. A CNN has five basic layers: convolutional layer, pooling layer, activation layer, fully connected layer, and dropout layer. In this paper, we use a CNN as a feature extractor and pass the features to a GRU. In that case, the CNN in our method incorporates a convolutional layer followed by batch normalization and an activation layer. The equation for this process is as follows:
c i k = ReLU W k x i + b k
where W k indicates the convolutional filter, * denotes the convolution operation, b k is the bias, and the activation function is ReLU. Here, c i k represents the encoding result, which is the extracted feature we use in the followed GRU.

3.2. Gated Recurrent Unit

The Gated Recurrent Unit (GRU) is a type of Recurrent Neural Network (RNN) architecture that has gained popularity in recent years due to its ability to model sequential data with greater efficiency and accuracy. In this paper, we use a GRU model after the CNN to obtain wear predictions. In a GRU model, there are two gates: an update gate and a reset gate. The update gate determines how much of the previous hidden state should be retained and how much of the current input should be added to the new hidden state, while the reset gate controls how much of the previous hidden state should be ignored. These gating mechanisms allow the GRU model to selectively remember or forget information from the past. Equations for this process are as follows:
r t = σ W i r x t + b i r + W h r h ( t 1 ) + b h r
z t = σ W i z x t + b i z + W h z h ( t 1 ) + b h z
n t = tanh W i n x t + b i n   +   r t W h n h ( t 1 ) + b h n
h t   =   1 z t n t + z t h ( t 1 )
where h t is the hidden state at time t, x t is the input at time t, h ( t 1 ) is the hidden state of the layer at time t 1 or the initial hidden state at time o, and r t , z t , n t are the reset, update, and new gates, respectively. σ is the sigmoid function, and ∗ is the Hadamard product. Then, the result of the hidden state is imported to a fully connected layer and the output is the wear prediction result.

3.3. Model Framework

The framework of PECG is illustrated in Figure 2. And details of our model structure are shown in Table 1. In a CNN, the convolutional layers are used to extract features from the input data. CNN has the ability to capture complex patterns and relationships in the input data. In that case, after analyzing the data, which have high-dimensional sensor data as input, we first use a one one-dimensional ten-layer CNN as an encoder to extract features and reduce the dimensionality of the data. The output of the CNN encoder is then imported to a GRU. Finally, the wear prediction is completed through a fully connected layer.

4. Experiment and Result

4.1. Experimental Conditions

We utilized tool data acquired with support from the National Natural Science Foundation of China, gathered from real industrial settings, as input for the model, rather than relying on virtual datasets available through networks. This approach significantly enhances the credibility of the wear prediction results. The milling cutter under consideration is the APMT1135 carbide cutter, a product of Duracarb. Its fundamental parameters include a tool tip angle of 85 degrees, a blade relief angle of 11 degrees, a blade length of 11 mm, a thickness of 3.5 mm, an inscribed circle diameter of 6.35 mm, and a maximum cutting depth of 9 mm. Figure 3 depicts the actual state of tool wear observed on the machinery.
There are four types of sensor signal collected during the cutting process: three-way force signals, three-way vibration signals, acoustic signals, and current signals. The sensor devices are shown in Figure 4 and Figure 5. After one cutting path is completed (or after multiple cutting paths are completed), the experimental tool is removed and the wear amount is measured through a visual microscope. The measurement process of tool wear amount is illustrated in Figure 6.
The vibration signal is captured using the PCB365A15 three-way acceleration sensor, while the cutting force sensor employed is the KISTLER 9257B three-way load cell. Additionally, the setup includes the Bruel Kjaer’s 4966-H-041 acoustic sensor, the PAC-WD acoustic emission sensor, and the POLARISMMI200B (current model: CSA201-P030T01) current sensor. These diverse datasets have been instrumental in supporting the publication of several articles on milling cutter life prediction and intelligent operation in esteemed journals [24,31,32,33,34]. Furthermore, these datasets represent the lifecycle patterns observed in carbide cutters.

4.2. Dataset

We carry out basic data cleaning for the collected wear data, which is divided into three parts: standardization, partial correction, and elimination. When we collect these eight types of data, we first standardize them:
x s = x i x ¯ σ
where x s is the standardized data. x ¯ represents the mean of the data. σ represents the standard deviation of the data.
The reason for this is obvious: to scale the data so that they fall into a small, specific interval. Standardization solves the problem of small difference in working conditions by scaling according to variance. It is often used in some comparison and evaluation index processing to remove the unit restriction of the data and convert it into a dimensionless pure value, so that indicators of different units or magnitudes can be compared and weighted.
The signal drift of the data is shown in Figure 7. The obvious missing and drifting parts of life data monitoring are shown in the red and green boxes, respectively. We use Exponential Moving Average (EMA) to bring significantly drifting segments of the data back into the normal range:
v t = β · v t 1 + ( 1 β ) · θ t
where v t represents the average value of the first t bars ( v 0 = 0 ), β is the weighting value (generally set to 0.9–0.999), and θ t is the standardized data.
Furthermore, we eliminate obviously abnormal data [35]:
δ = 1 m 1 k = 1 m ( S K k = 1 m S K m ) 2
where δ is the abnormal data. The pseudocodes for describing the processes to display the data that cannot be used directly and need to be eliminated are shown in the following Algorithm 1.
Our dataset includes data collected from 28 milling cutters under eight different cutting conditions. The details of the cutting conditions of the cutters are shown in Table 2. In this table, Cm_n is the sign of a cutter, which means no. n cutter under condition m. The signals of cutters C4_3 and C7_9 are used as the test data, and the rest of the cutters are used as the training set. Deep learning makes it possible to involve all signals, making wear prediction accurate and efficient. Single sensor signals often have their own limitations, but deep learning possesses powerful feature learning capabilities. By using a multi-signal variable matrix for prediction, it is possible to extract rich information from multiple features, effectively avoiding the limitations associated with relying on a single feature. We use a total of eight variables: current, force (three directions, x,y,z), sound, and vibration (three directions, x,y,z) to predict the wear process.
Algorithm 1 Signal_Segment ( S i g o r g , L w , d w )
Inputs:
S i g o r g —original time-domain signal
L w —width of sliding window
d w —moving step length of sliding window
Outputs:
M a t w i n d o w —data window matrix
 
1: Calculate  c l
2: Initialize  M a t w i n d o w
3: for  i = 1 to c l do
4: if  i = 1
5: Assign the data from 1 to L w in S i g o r g to the ith column of the M a t w i n d o w .
6: else if  i ! = c l
7: Assign the data who are located from the ( i d w + 1 ) th to the ( i d w + 1 + L w ) th in S i g o r g to the ith column of M a t w i n d o w .
8: else
9: Assign the data who are located from the ( i d w + 1 ) th to the end of S i g o r g to the ith column of M a t w i n d o w and replace the Null in the ith column with 0.
11: End if
12: End for
Figure 8 shows the used sensor signal of cutter C4_3, including the vibration signal, current signal, sound signal, and force signal. It can be found that there is no clear trend in the data. In that case, we employ our model to extract more information.
The wear data of the tool indicate that the process of tool wear can be divided into three stages: the initial wear stage, the normal wear stage, and the rapid wear stage. First, there is the initial wear stage. Due to the regrinding of the tool, the cutting edge and tool surface are not smooth enough, resulting in a small actual contact area between the back surface of the tool and the cutting surface, but with high pressure. Therefore, the wear is rapid but for a short period of time. Next is the normal wear stage. After the initial wear, the contact area between the back surface of the tool and the workpiece increases, and the pressure per unit area decreases gradually. The micro-rough surface of the back surface of the tool is smoothed out, resulting in a slower wear rate. This stage represents the tool’s effective working phase. Finally, there is the rapid wear stage. When the amount of tool wear reaches a certain limit, the cutting force and cutting temperature increase dramatically, leading to an accelerated tool wear rate until the tool loses its cutting ability. This stage is referred to as the rapid wear stage. The tool must be replaced before entering the rapid wear stage. As shown in Figure 9, three tools, C1_1, C2_1, and C4_3, demonstrate the three stages of wear. It can be observed that initially, the tool wear rapidly increases within a short period, then the growth rate slows down until the rapid wear stage, where the wear value starts to increase rapidly again.
After data cleaning, we utilized the PCHIP method to conduct data augmentation on the missing portions of tool wear in the dataset, aiming to expand the application of information within the dataset. The interpolation results are depicted in Figure 10 and Figure 11. Figure 10 showcases the interpolated outcome for C6_1, and Figure 11 displays the interpolated outcome for C8_1. The PCHIP interpolation method significantly resolves the problem of missing wear data, enabling the utilization of rich sensor feature information associated with the previously absent wear values.
We evaluate the performance of interpolation methods by choosing the data which do not have missing wear values and part of the true wear values, comparing the true wear values with the interpolation values. We compare PCHIP with three other common approaches—cubic spline, spline and linear by PCC, MAE, RMSE, MAPE, and standard deviation. The result is shown in Table 3. It shows that the result of PCHIP is the best among all methods below. According to the results below, it can be seen that PCHIP interpolation is better than other interpolation methods in PCC, MAE, RMSE, and standard deviation. PCHIP has the best interpolation performance. Therefore, we choose the PCHIP interpolation method to perform wear data interpolation work.

4.3. Prediction Results and Comparison

To demonstrate the effectiveness of the proposed methods, we compare it with the other three methods on the same test dataset. We represent the proposed method as PECG. And the other three models are denoted as CNN, CNN Blocks, and GRU. The CNN method only uses a one-dimensional CNN. And the CNN Blocks method contains a configurable number of convolutional blocks. The GRU method only includes a GRU model. The tool wear prediction result of the cutters C4_3 and C7_9 using the four different models is shown in Figure 12 and Figure 13. It can be seen that our combination of CNN and GRU is superior to the model which only uses CNN or RNN. It shows that PECG can effectively extract features from high-dimensional data and as we can see, it can more accurately capture the underlying trend in the data. The CNN Blocks model captures the trend at first, but when the wear value suddenly changes, it fails to complete the prediction. This result also demonstrates that our model produces more robust and less volatile predictions compared to the other models.
To further quantify the effectiveness of our proposed model, we introduced five key evaluation metrics, including Pearson Correlation Coefficient (PCC), Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), Standard Deviation, and Relative Accuracy. These metrics were calculated using the same test set to assess the performance of our model. The equations for these metrics are as follows:
  • Pearson Correlation Coefficient (PCC)
    PCC measures the linear correlation between predicted and actual values, ranging from −1 to 1.
    PCC = n i = 1 n x i y i i = 1 n x i i = 1 n y i n i = 1 n x i 2 i = 1 n x i 2 n i = 1 n y i 2 i = 1 n y i 2
  • Mean Absolute Error (MAE)
    MAE measures the average absolute difference between predicted and actual values.
    MAE = 1 n i = 1 n y i y i ^
  • Root Mean Squared Error (RMSE)
    RMSE measures the square root of the average squared difference between predicted and actual values.
    RMSE = 1 n i = 1 n y i y ^ i 2
  • Standard Deviation
    The standard deviation of errors is an indicator of the robustness of a model. A lower standard deviation signifies a higher degree of stability of the prediction performance.
    SD = i = 1 n e i e ¯ 2 n
  • Relative Accuracy
    Relative accuracy is a measure of the error or difference between a measured or calculated value and the true value of a quantity, ranging from 0 to 1.
    RA = 1 1 n i = 1 n y i y ^ i i = 1 n y i
The metrics of the four models are illustrated in Table 4 and Figure 14. Among these models, PECG performs the best in all metrics. GRU performs the worst due to poor feature extraction. The PCC of GRU is quite low, at only 0.1947, and the relative accuracy is 0.6383, which is terrible, too. The results shows that the single GRU is not suitable for performing regression. It can be seen that the CNN Blocks method performs better than CNN. Its PCC is 16.4% higher than CNN. Nevertheless, its performance can be improved. When we combine GRU with CNN Blocks, PECG outperforms those of all other models tested, providing strong evidence for its superior performance. The PCC of PECG is 0.9538, which highlights the strong correlation between predicted and actual wear values. Its standard deviation is about half of CNN. As a result of the integration of CNN Blocks and GRU, the relative accuracy of PECG is 0.8522, which is superior to the other three models. The design of PECG is less complex than the time–space attention model [24], while delivering superior performance outcomes. The relative accuracy of the time–space attention model is 0.7890. In comparison, PECG exhibits a relative accuracy that is 8% higher.
In order to further illustrate the effectiveness of the PCHIP method, we take prediction results of four models trained without interpolation processing of missing data on the test set as the baseline. By comparing the predictive outcomes of interpolated and non-interpolated models, it can be inferred that the four models trained on interpolated data exhibit superior performance across all metrics when compared to the models trained on non-interpolated data. Results are shown in Figure 15. It can be seen from the dark blue bars that PECG outperforms other models even when we do not use the PCHIP interpolation method. This demonstrates the superiority of our model architecture. When combined with the PCHIP method, all major metrics of the four models have been improved, further illustrating the effectiveness of the interpolation method we have adopted. The light blue bars in Figure 15 show that by incorporating the PCHIP interpolation method, noteworthy improvements are observed among the evaluated models. Specifically, the standard deviation of CNN Blocks decreases from 53.5264 to 28.8696, representing a significant reduction of approximately 46%. Similarly, the RMSE of PECG decreased from 41.0460 to 28.5240, indicating a substantial decline of approximately 31%. These findings underscore the efficacy of the employed interpolation approach.

4.4. Phm 2010 Dataset Results

We validate the performance of the proposed method on the PHM 2010 dataset [37]. The platform of the PHM 2010 competition is shown in Figure 16. The cutting conditions of the dataset remain unchanged, utilizing a 6 mm ball nose tungsten carbide cutter to perform straight tool path cuts on the sidewall of an aluminum alloy blank. The experimental parameters are shown in Table 5. C1 and C4 are used as the training set, while C6 is used as the testing set. The tool scrap standard is 170 μ m [18]. The results of different methods are shown below. As is shown in Figure 11, the proposed ConvGRU performs the best when the tool wear value is less than 170 μ m. It seems that the other three models predict more accurately than ConvGRU after the wear value exceeds 170 μ m. However, in practice, these good performances have no practical significance, because when the tool wear value reaches 170 μ m, it is considered to have reached the scrapping criteria and is no longer used. Therefore, the prediction results before reaching the tool scrap criteria are more important. As shown in Figure 17, the proposed ConvGRU model outperforms the other three models significantly in this aspect.
We also prove the effectiveness of data augmentation on the PHM 2010 dataset. Firstly, we randomly selected 20% of the data from the dataset and removed these data points to simulate the scenario where tool wear values are missing in practice. Then, we applied PCHIP interpolation to fill in the missing data, and trained the ConvGRU model on the interpolated dataset. The results are shown in Table 6 and Figure 18. As shown in Table 6, after adopting the data augmentation method of PCHIP interpolation, the prediction performance of the PECG model outperforms the simple ConvGRU model, which is trained without interpolation, in terms of four evaluation metrics: PCC, Relative Accuracy, MAE, and RMSE. Furthermore, the prediction results of PECG are very close to the original dataset, indicating that the proposed PECG model with the data augmentation method PCHIP yields favorable results and exhibits a small gap compared to the results of the model trained by the actual dataset. Therefore, PECG effectively addresses the issue of missing wear data in practical applications while also reducing the cost of multiple wear value measurements.

5. Conclusions

In this paper, we introduce an efficient interpolation method known as PCHIP to address the challenge of missing data, specifically in the context of 397 wear prediction. Additionally, we present a novel model named PECG designed for wear prediction tasks.
CNNs possess a remarkable ability to learn hierarchical features from high-dimensional data, rendering them highly effective in capturing informative features for regression tasks. On the other hand, GRUs are known for their efficiency with fewer parameters and faster training speeds. GRUs, as a type of RNN, excel at capturing and modeling long-term dependencies within sequential data, making them particularly suited for time-series regression tasks. Moreover, the inclusion of gating mechanisms in GRUs means they need to learn a limited number of parameters, leading to accelerated training and improved generalization performance when compared to traditional RNNs.
In our approach, we unify CNN and GRU to craft the innovative PECG model. Initially, CNN plays a pivotal role in reducing the input data’s dimensionality and complexity, thus enabling precision in modeling temporal dependencies by the GRU. This fusion capitalizes on the exceptional feature extraction capabilities of CNN and the adeptness of GRU in handling time-series data. Consequently, PECG emerges as an effective predictive model for tool wear prediction, harnessing the strengths of both CNN and GRU.

Author Contributions

Conceptualization, J.H. and Y.W.; Methodology, J.H., L.Y. and H.L.; Validation, K.W.; Writing—original draft, J.H. and L.Y.; Writing—review & editing, Y.W. and H.G.; Supervision, Y.W. and H.G.; Funding acquisition, H.G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China No. 51775452.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SAEStacked Autoencoder
RULRemaining Useful Life
GRUGated Recurrent Unit
HMMHidden Markov Model
CNNConvolutional Neural Network
CNN BlockConvolutional Neural Network Block
PCHIPPiecewise Cubic Hermite Interpolating Polynomial
PECGPCHIP-Enhanced ConvGRU
PCCPearson’s Correlation Coefficient
CNC machineComputerized Numerical Control Machine
MGRUMulti-head gated recurrent unit
PCAPrincipal component analysis
ANNArtificial Neural Network
SVMSupport Vector Machine
GPRGaussian Process Regression
RNNRecurrent Neural Network
DNNDeep Neural Network
ReLURectified Linear Unit
EMAExponential Moving Average
MAEMean Absolute Error
RMSERoot Mean Square Error
MAPEMean Absolute Percentage Error

References

  1. Bhattacharyya, P.; Sengupta, D.; Mukhopadhyay, S. Cutting force-based real-time estimation of tool wear in face milling using a combination of signal processing techniques. Mech. Syst. Signal Process. 2007, 21, 2665–2683. [Google Scholar] [CrossRef]
  2. Song, W.; Liu, H.; Zio, E. Long-range dependence and heavy tail characteristics for remaining useful life prediction in rolling bearing degradation. Appl. Math. Model. 2022, 102, 268–284. [Google Scholar] [CrossRef]
  3. Li, Q.; Ma, Z.; Li, H.; Liu, X.; Guan, X.; Tian, P. Remaining useful life prediction of mechanical system based on performance evaluation and geometric fractional Lévy stable motion with adaptive nonlinear drift. Mech. Syst. Signal Process. 2023, 184, 109679. [Google Scholar] [CrossRef]
  4. Oguamanam, D.; Raafat, H.; Taboun, S. A machine vision system for wear monitoring and breakage detection of single-point cutting tools. Comput. Ind. Eng. 1994, 26, 575–598. [Google Scholar] [CrossRef]
  5. Pedersen, K.B. Wear measurement of cutting tools by computer vision. Int. J. Mach. Tools Manuf. 1990, 30, 131–139. [Google Scholar] [CrossRef]
  6. Cook, N.H. Tool wear sensors. Wear 1980, 62, 49–57. [Google Scholar] [CrossRef]
  7. Beruvides, G.; Quiza, R.; Del Toro, R.; Haber, R.E. Sensoring systems and signal analysis to monitor tool wear in microdrilling operations on a sintered tungsten-copper composite material. Sens. Actuators A Phys. 2013, 199, 165–175. [Google Scholar] [CrossRef]
  8. Aliustaoglu, C.; Ertunc, H.M.; Ocak, H. Tool wear condition monitoring using a sensor fusion model based on fuzzy inference system. Mech. Syst. Signal Process. 2009, 23, 539–546. [Google Scholar] [CrossRef]
  9. Arnaiz-González, Á.; Fernández-Valdivielso, A.; Bustillo, A.; López de Lacalle, L.N. Using artificial neural networks for the prediction of dimensional error on inclined surfaces manufactured by ball-end milling. Int. J. Adv. Manuf. Technol. 2016, 83, 847–859. [Google Scholar] [CrossRef]
  10. Wiciak-Pikuła, M.; Felusiak-Czyryca, A.; Twardowski, P. Tool wear prediction based on artificial neural network during aluminum matrix composite milling. Sensors 2020, 20, 5798. [Google Scholar] [CrossRef] [PubMed]
  11. Lu, M.C.; Wan, B.S. Study of high-frequency sound signals for tool wear monitoring in micromilling. Int. J. Adv. Manuf. Technol. 2013, 66, 1785–1792. [Google Scholar] [CrossRef]
  12. Wang, J.; Xiang, Z.; Cheng, X.; Zhou, J.; Li, W. Tool Wear State Identification Based on SVM Optimized by the Improved Northern Goshawk Optimization. Sensors 2023, 23, 8591. [Google Scholar] [CrossRef] [PubMed]
  13. Przybyś-Małaczek, A.; Antoniuk, I.; Szymanowski, K.; Kruk, M.; Kurek, J. Application of Machine Learning Algorithms for Tool Condition Monitoring in Milling Chipboard Process. Sensors 2023, 23, 5850. [Google Scholar] [CrossRef] [PubMed]
  14. Geramifard, O.; Xu, J.X.; Zhou, J.H.; Li, X. A physically segmented hidden markov model approach for continuous tool condition monitoring: Diagnostics and prognostics. IEEE Trans. Ind. Inform. 2012, 8, 964–973. [Google Scholar] [CrossRef]
  15. Liao, Z.; Gao, D.; Lu, Y.; Lv, Z. Multi-scale hybrid HMM for tool wear condition monitoring. Int. J. Adv. Manuf. Technol. 2016, 84, 2437–2448. [Google Scholar] [CrossRef]
  16. Li, W.; Liu, T. Time varying and condition adaptive hidden Markov model for tool wear state estimation and remaining useful life prediction in micro-milling. Mech. Syst. Signal Process. 2019, 131, 689–702. [Google Scholar] [CrossRef]
  17. Yu, J.; Liang, S.; Tang, D.; Liu, H. A weighted hidden Markov model approach for continuous-state tool wear monitoring and tool life prediction. Int. J. Adv. Manuf. Technol. 2017, 91, 201–211. [Google Scholar] [CrossRef]
  18. Li, D.; Li, Y.; Liu, C. Gaussian process regression model incorporated with tool wear mechanism. Chin. J. Aeronaut. 2022, 35, 393–400. [Google Scholar] [CrossRef]
  19. Kong, D.; Chen, Y.; Li, N. Gaussian process regression for tool wear prediction. Mech. Syst. Signal Process. 2018, 104, 556–574. [Google Scholar] [CrossRef]
  20. Serin, G.; Sener, B.; Ozbayoglu, A.M.; Unver, H.O. Review of tool condition monitoring in machining and opportunities for deep learning. Int. J. Adv. Manuf. Technol. 2020, 109, 953–974. [Google Scholar] [CrossRef]
  21. Liu, M.; Yao, X.; Zhang, J.; Chen, W.; Jing, X.; Wang, K. Multi-sensor data fusion for remaining useful life prediction of machining tools by IABC-BPNN in dry milling operations. Sensors 2020, 20, 4657. [Google Scholar] [CrossRef]
  22. Wu, X.; Liu, Y.; Zhou, X.; Mou, A. Automatic identification of tool wear based on convolutional neural network in face milling process. Sensors 2019, 19, 3817. [Google Scholar] [CrossRef] [PubMed]
  23. Cai, W.; Zhang, W.; Hu, X.; Liu, Y. A hybrid information model based on long short-term memory network for tool condition monitoring. J. Intell. Manuf. 2020, 31, 1497–1510. [Google Scholar] [CrossRef]
  24. Feng, T.; Guo, L.; Gao, H.; Chen, T.; Yu, Y.; Li, C. A new time–space attention mechanism driven multi-feature fusion method for tool wear monitoring. Int. J. Adv. Manuf. Technol. 2022, 120, 5633–5648. [Google Scholar] [CrossRef]
  25. Zhong, Z.; Zheng, L.; Kang, G.; Li, S.; Yang, Y. Random erasing data augmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 34, pp. 13001–13008. [Google Scholar]
  26. Shukla, S.N.; Marlin, B.M. Interpolation-prediction networks for irregularly sampled time series. arXiv 2019, arXiv:1909.07782. [Google Scholar]
  27. Long, Y.; Zhou, W.; Luo, Y. A fault diagnosis method based on one-dimensional data enhancement and convolutional neural network. Measurement 2021, 180, 109532. [Google Scholar] [CrossRef]
  28. Wang, F.; Liu, X.; Liu, C.; Li, H.; Han, Q. Remaining useful life prediction method of rolling bearings based on Pchip-EEMD-GM (1, 1) model. Shock Vib. 2018, 2018, 3013684. [Google Scholar] [CrossRef]
  29. Fritsch, F.N.; Carlson, R.E. Monotone piecewise cubic interpolation. SIAM J. Numer. Anal. 1980, 17, 238–246. [Google Scholar] [CrossRef]
  30. Li, Z.; Liu, R.; Wu, D. Data-driven smart manufacturing: Tool wear monitoring with audio signals and machine learning. J. Manuf. Process. 2019, 48, 66–76. [Google Scholar] [CrossRef]
  31. He, J.; Gao, H.; Li, S.; Guo, L.; Lei, Y.; Cao, A. An intelligent maintenance decision-making based on cutters economic life. Int. J. Prod. Econ. 2024, 267, 109075. [Google Scholar] [CrossRef]
  32. You, Z.; Gao, H.; Guo, L.; Liu, Y.; Li, J.; Li, C. Machine vision based adaptive online condition monitoring for milling cutter under spindle rotation. Mech. Syst. Signal Process. 2022, 171, 108904. [Google Scholar] [CrossRef]
  33. Sun, Y.; Li, S.; Gao, H.; Zhang, X.; Lv, J.; Liu, W.; Wu, Y. Transfer learning: A new aerodynamic force identification network based on adaptive emd and soft thresholding in hypersonic wind tunnel. Chin. J. Aeronaut. 2023, 36, 351–365. [Google Scholar] [CrossRef]
  34. Sun, Y.; He, J.; Gao, H.; Song, H.; Guo, L. A New Semi-supervised Tool-wear Monitoring Method using Unreliable Pseudo-Labels. Measurement 2023, 226, 113991. [Google Scholar] [CrossRef]
  35. Li, C.; Guo, L.; Gao, H.; Li, Y. Similarity-measured isolation forest: Anomaly detection method for machine monitoring data. IEEE Trans. Instrum. Meas. 2021, 70, 1–12. [Google Scholar] [CrossRef]
  36. Dai, W.; Liang, K.; Wang, B. State monitoring method for tool wear in aerospace manufacturing processes based on a convolutional neural network (CNN). Aerospace 2021, 8, 335. [Google Scholar] [CrossRef]
  37. 2010 PHM Society Conference Data Challenge. Available online: https://phmsociety.org/phm_competition/2010-phm-society-conference-data-challenge (accessed on 1 April 2023).
  38. Benkedjouh, T.; Zerhouni, N.; Rechak, S. Tool wear condition monitoring based on continuous wavelet transform and blind source separation. Int. J. Adv. Manuf. Technol. 2018, 97, 3311–3323. [Google Scholar] [CrossRef]
Figure 1. The framework of PECG method.
Figure 1. The framework of PECG method.
Sensors 24 01129 g001
Figure 2. Structure of PECG.
Figure 2. Structure of PECG.
Sensors 24 01129 g002
Figure 3. Real situation of tool wear on machine tools.
Figure 3. Real situation of tool wear on machine tools.
Sensors 24 01129 g003
Figure 4. Sensor layout a. PHI Mechatronics Technology Laboratory, Chengdu, China.
Figure 4. Sensor layout a. PHI Mechatronics Technology Laboratory, Chengdu, China.
Sensors 24 01129 g004
Figure 5. Sensor layout b. PHI Mechatronics Technology Laboratory, Chengdu, China.
Figure 5. Sensor layout b. PHI Mechatronics Technology Laboratory, Chengdu, China.
Sensors 24 01129 g005
Figure 6. Wear amount collection. PHI Mechatronics Technology Laboratory, Chengdu, China.
Figure 6. Wear amount collection. PHI Mechatronics Technology Laboratory, Chengdu, China.
Sensors 24 01129 g006
Figure 7. Signal loss and signal drift.
Figure 7. Signal loss and signal drift.
Sensors 24 01129 g007
Figure 8. Monitoring signal data of C4_3.
Figure 8. Monitoring signal data of C4_3.
Sensors 24 01129 g008
Figure 9. Wear stage of C1_1, C2_1, C4_3.
Figure 9. Wear stage of C1_1, C2_1, C4_3.
Sensors 24 01129 g009
Figure 10. Interpolation results of C6_1.
Figure 10. Interpolation results of C6_1.
Sensors 24 01129 g010
Figure 11. Interpolation results of C8_1.
Figure 11. Interpolation results of C8_1.
Sensors 24 01129 g011
Figure 12. Tool wear prediction results of C4_3.
Figure 12. Tool wear prediction results of C4_3.
Sensors 24 01129 g012
Figure 13. Tool wear prediction results of C7_9.
Figure 13. Tool wear prediction results of C7_9.
Sensors 24 01129 g013
Figure 14. Tool wear performance estimation results of four networks.
Figure 14. Tool wear performance estimation results of four networks.
Sensors 24 01129 g014
Figure 15. Comparison results with and without interpolation.
Figure 15. Comparison results with and without interpolation.
Sensors 24 01129 g015
Figure 16. PHM 2010 competition platform [38].
Figure 16. PHM 2010 competition platform [38].
Sensors 24 01129 g016
Figure 17. Comparison of results on PHM 2010 dataset.
Figure 17. Comparison of results on PHM 2010 dataset.
Sensors 24 01129 g017
Figure 18. Tool wear prediction performance of PECG on PHM 2010 dataset.
Figure 18. Tool wear prediction performance of PECG on PHM 2010 dataset.
Sensors 24 01129 g018
Table 1. Details of model structure.
Table 1. Details of model structure.
LayerFeature MapsKernel SizeParameter Number
CNN-Block_112855504
CNN-Block_2-10128582,304
GRU38412399,072
Table 2. Tool working conditions.
Table 2. Tool working conditions.
ConditionCutterSpindle SpeedFeed RateDepth of Cut
Condition 1C1_1 C1_22750 rpm220 mm/min1.75 mm
Condition 2C2_13000 rpm200 mm/min1.75 mm
Condition 3C3_13000 rpm240 mm/min1.75 mm
Condition 4C4_1 …C4_63000 rpm250 mm/min1.75 mm
Condition 5C5_13250 rpm275 mm/min1.75 mm
Condition 6C6_13500 rpm250 mm/min1.75 mm
Condition 7C7_1 …C7_93500 rpm300 mm/min1.75 mm
Condition 8C8_1 …C8_74500 rpm400 mm/min1.5 mm
Table 3. Results of interpolation methods.
Table 3. Results of interpolation methods.
MethodsPCCMAERMSEMAPEStandard Deviation
pchip [29]0.99483.17014.79020.01914.7682
cubic spline0.99423.29685.02780.01895.0265
spline0.99323.34275.44070.02065.4278
linear0.99343.25145.43060.02015.3822
Bold indicates optimal performance.
Table 4. Tool wear performance estimation results of four networks.
Table 4. Tool wear performance estimation results of four networks.
MethodsPCCRelative AccuracyMAERMSEStandard Deviation
CNN [36]0.79570.789840.215856.345644.3952
CNN Blocks0.92580.809734.015241.862228.8696
GRU0.19470.638356.679470.639170.6137
PECG0.95380.852223.836228.524022.2840
Bold indicates optimal performance.
Table 5. PHM 2010 competition experimental parameters.
Table 5. PHM 2010 competition experimental parameters.
ClassificationModel/ValueClassificationValue
Machine modelRoders Tech RFM 760Radial cutting depth0.125 mm
Workpiece materialNickel-based superalloy 718Axial cutting depth0.2 mm
Tool3-tooth ball nose milling cutterNumber of sensors3
Spindle speed10,400 RPMNumber of sensing channels7
Feed rate1555 mm/minSampling frequency50 kHZ
Table 6. Tool wear prediction performance of PECG on PHM 2010 dataset.
Table 6. Tool wear prediction performance of PECG on PHM 2010 dataset.
DataPCCRelative AccuracyMAERMSE
Original data0.97930.872418.715224.8331
Missing data0.95920.834422.495927.0046
Interpolated data0.96900.862219.630825.4882
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

He, J.; Yuan, L.; Lei, H.; Wang, K.; Weng, Y.; Gao, H. A Novel Piecewise Cubic Hermite Interpolating Polynomial-Enhanced Convolutional Gated Recurrent Method under Multiple Sensor Feature Fusion for Tool Wear Prediction. Sensors 2024, 24, 1129. https://doi.org/10.3390/s24041129

AMA Style

He J, Yuan L, Lei H, Wang K, Weng Y, Gao H. A Novel Piecewise Cubic Hermite Interpolating Polynomial-Enhanced Convolutional Gated Recurrent Method under Multiple Sensor Feature Fusion for Tool Wear Prediction. Sensors. 2024; 24(4):1129. https://doi.org/10.3390/s24041129

Chicago/Turabian Style

He, Jigang, Luyao Yuan, Haotian Lei, Kaixuan Wang, Yang Weng, and Hongli Gao. 2024. "A Novel Piecewise Cubic Hermite Interpolating Polynomial-Enhanced Convolutional Gated Recurrent Method under Multiple Sensor Feature Fusion for Tool Wear Prediction" Sensors 24, no. 4: 1129. https://doi.org/10.3390/s24041129

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