Next Article in Journal
MSST-RT: Multi-Stream Spatial-Temporal Relative Transformer for Skeleton-Based Action Recognition
Next Article in Special Issue
Deep Convolutional Clustering-Based Time Series Anomaly Detection
Previous Article in Journal
Estimation of Average Speed of Road Vehicles by Sound Intensity Analysis
Previous Article in Special Issue
Product Inspection Methodology via Deep Learning: An Overview
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of Tool Wear and Surface Roughness Development Using Deep Learning and Sensors Fusion

1
Department of Mechanical Engineering, National Chung Hsing University, Taichung 402, Taiwan
2
Department of Electrical and Computer Engineering, National Yang Ming Chiao Tung University, Hsinchu City 300, Taiwan
3
Department of Electrical and Computer Engineering, National Chiao Tung University, Hsinchu City 300, Taiwan
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(16), 5338; https://doi.org/10.3390/s21165338
Submission received: 24 June 2021 / Revised: 31 July 2021 / Accepted: 5 August 2021 / Published: 7 August 2021

Abstract

:
This paper proposes an estimation approach for tool wear and surface roughness using deep learning and sensor fusion. The one-dimensional convolutional neural network (1D-CNN) is utilized as the estimation model with X- and Y-coordinate vibration signals and sound signal fusion using sensor influence analysis. First, machining experiments with computer numerical control (CNC) parameters are designed using a uniform experimental design (UED) method to guarantee the variety of collected data. The vibration, sound, and spindle current signals are collected and labeled according to the machining parameters. To speed up the degree of tool wear, an accelerated experiment is designed, and the corresponding tool wear and surface roughness are measured. An influential sensor selection analysis is proposed to preserve the estimation accuracy and to minimize the number of sensors. After sensor selection analysis, the sensor signals with better estimation capability are selected and combined using the sensor fusion method. The proposed estimation system combined with sensor selection analysis performs well in terms of accuracy and computational effort. Finally, the proposed approach is applied for on-line monitoring of tool wear with an alarm, which demonstrates the effectiveness of our approach.

1. Introduction

In the manufacturing industry, tool wear and surface roughness play important roles during the machining process. Surface roughness and tool wear are performance indices for customers in finished products that affect the machining cost. Therefore, estimation models for tool wear and surface roughness should be developed. Recently, various estimation approaches have been proposed, e.g., artificial neural networks [1,2,3,4,5,6,7,8,9,10], regression [9,11,12,13,14,15,16], support vector machines [17,18,19,20], response surface methodology [21,22], random forest [18,23,24], and adaptive network-based fuzzy inference systems [25,26,27]. In general, the chosen model and data directly affect estimation accuracy. Most of these studies utilized vibration signals and focused on machine learning model selection; variation of the machining conditions was less common. In addition, the effective machining parameters or features should be analyzed and discussed prior to model construction. A variety of data corresponding to the machining parameters should be considered in the data collection process. This results in the effectiveness and performance of the estimation model. In this study, machining experiments with CNC parameters are designed using a uniform experimental design method (UED) to guarantee a variety of collected data.
With the development of artificial intelligence technology, deep learning is a branch of machine learning that can automatically extract features to represent the characteristics of the data [28,29,30,31,32,33]. In this study, we estimate the tool wear and surface roughness using a one-dimensional (1D) convolutional neural network (1D-CNN) with sensor fusion. The machining vibration signals and sound signals were utilized for the estimation. First, correlation analysis according to the Pearson correlation coefficient was used to evaluate the correlation between CNC parameters and tool wear. Subsequently, experiments were designed with different CNC parameter combinations using a uniform experimental design for data collection. During the machining process, vibration signals in three coordinates, sound signals, and spindle current signals were simultaneously collected. Then, an influential sensor analysis was presented to select sensors according to the RMSE of the 1D-CNN. Finally, a 1D-CNN with sensor fusion (X and Y coordinate vibrational signals and sound signals) technique is proposed.
The remainder of this paper is organized as follows. Section 2 introduces tool wear and surface roughness definitions, experimental setups, and data collection. Then, the estimation of tool wear and surface roughness using a 1D-CNN and sensor fusion are presented in Section 3, and Section 4 presents the experimental results and discussion. Finally, Section 5 presents the conclusions.

2. Problem Formulation and Experiment Setups

This section introduces the definitions of tool wear and surface roughness, experimental setups for machining, and data collection processes. To accelerate the tool wear status and collect effective data (including labeling), the proposed approach is also presented.

2.1. Tool Wear and Surface Roughness

Tool wear is the result of interactions between the physical and chemical domains and is caused by temperature and friction generated during the machining process [34]. According to ISO-8688 [35], tool wear is classified as uniform flank wear, non-uniform flank wear, and localized flank wear. Here, the standard for tool life end points adopts localized flank wear that achieves 0.35 mm to enable early warning. The measurement of tool wear was performed visually. In addition, the surface roughness is a measure of surface texture. A surface profile that results from the intersection of a real surface with a specified plane is quantified by the vertical deviations of a real surface from its ideal form.

2.2. Data Acquisition Devices and Measurement of Wear and Roughness

The experiment was conducted on a three-axis CNC machine tool (CHMER HM4030L), as shown in Figure 1. Figure 1a shows the CNC machine tool with the GENTEC controller. The workpiece material carbon steel (S50C) with low hardness (less than 5 HRC) was selected. The selected cutting tool is tungsten carbide end milling cutters with two blades and no coating, as shown in Figure 1b. In this study, four types of sensors were used, and the mounting locations are shown in Figure 2. Figure 2a shows the installed locations of the three-coordinate accelerometer and two sound sensors, and the current signals of the spindle are collected by the inverter (shown in Figure 2b). The vibration signals were collected from a tri-coordinate accelerometer (CTC AC230) that was mounted beside the spindle. The sound signals were collected from the PCB microphone and the Knowles MEMS microphone, which were fixed on a magnetic base holder. The current of the spindle was collected by inverters (KEB Combivert).
Figure 3 illustrates the flow chart for signal collection, which is summarized as follows. The sensor MEMS microphone, PCB microphone, tri-coordinate accelerometer, and inverter are installed as described above. Subsequently, the preprocessing operations, power amplification, and filtering were done for the collected signals. Herein, all signals were terminated at the junction box and an industrial computer with a capture module was used to acquire signals. The NI PXIe-6361 multifunction I/O module with a sampling rate of 100 kHz was applied because of the maximum sampling rate of these sensors, which is 20 kHz , and the NI PXIe-6361 multifunction I/O module with a sampling rate of 100 kHz was applied. To obtain the signals, LabView was used to build an environment for signal observation and to acquire signals.
For tool wear measurement, a camera (Deryuan RS-500), lens (MML6-HR65D), and ring light were mounted inside the machine tool, as shown in Figure 2a. The public image processing software ImageJ [36] was used to calculate the distance between the unworn contour and the location of maximum wear, as shown in Figure 4. For surface roughness measurements, the Surftest SJ400 (Mitutoyo) was used to measure the surface roughness.

2.3. Signal Analysis and Processing

The machining processing is defined as the time between the moment that the cutting tool touches the workpiece to the moment that the tool leaves the workpiece completely. However, there exist unstable signals, which might be caused by the impact of the cutting tool on the workpiece or a situation in which the spindle of machine tool has not warmed up. Thus, the collected signal should be preprocessed to remove it. In this paper, the stable status is defined as twice the magnitude of the signal when not machining as the threshold to decide the beginning of the stable state and end of the stable state. Figure 5a–c show that process of the signal cutting illustrated by the X-axis vibrational signals; Figure 5a is the original data; The threshold of the stable state is shown in Figure 5b; and Figure 5c shows the stable state signals after preprocessing. In general, normalization is the important procedure to reduce the variability of each cutting tool based on the various characteristics of cutting tools. Herein, we compute the root mean square (RMS) of the data over 1 s for normalization.

3. Estimation Model Development Using CNN and Sensor Fusion

This section introduces the estimation of tool wear and surface roughness using deep learning and sensor fusion. The flowchart of the proposed approach is shown in Figure 6. First, a correlation analysis between CNC parameters and performance indices (tool wear and surface roughness) is introduced for parameter selection. Subsequently, a UED is adopted to design experiments for machining and data collection [37]. Simultaneously, signals are collected from the sensors, and the corresponding tool wear and surface roughness are measured. All signals are sampled at 100k Hz and the sampling duration is 1 second, i.e., the data length is 105. After data pre-processing, an influential sensor analysis is introduced to minimize the number of sensors with accuracy preservation. A 1D-CNN with raw data inputs is adopted to develop the estimation model. Finally, the tool wear is estimated and the surface roughness system is developed.

3.1. One-Dimensional Convolutional Neural Network (1D-CNN)

Deep learning is a branch of machine learning [29,30,38]. By linear or non-linear transforms in multiple hidden layers, it is hoped that features that are sufficient to represent the characteristics of the data can be automatically extracted. In traditional machine learning, features are usually generated from an algorithm that is programmed by humans. The effective features are generated by experts conducting many analyses and discussions from data and understanding the characteristics of the data. It is also called feature engineering. Deep learning has the ability to automatically extract features (feature extraction) and can be regarded as feature learning, which can save time spent on feature engineering. The most common deep learning method is convolutional neural networks (CNNs), proposed by prof. LeCun [38]. In many research fields, CNNs are applied for the classification and prediction of signals and images. Feature extraction can be conducted automatically by convolution operations [39,40]. Recently, this process has been utilized for signal classification and prediction [30,31,32,38]. It has the ability to carry out input signal convolutional operations in the local area to get one-dimensional features, and various kernels extract specific characteristics from the input signals. This means that the CNN can be developed for automatic feature learning instead of feature extraction and selection by human experts. The inputs of 1D-CNN can be raw signal data or other one-dimensional data. The typical structure of a CNN is composed of three parts, which are the convolutional layers, pooling layers, and fully connected layers. CNNs make use of filters (also known as kernels) to automatically detect proper features. We here briefly introduce the utilized 1D-CNN, as shown in Figure 7, as follows.
Input: The input of 1D-CNN is one-dimensional data, for example, vibration signals.
Convolution layer: It applies the convolution operation to input and pass the result to the next layer. After convolution of inputs and filters, the feature map is obtained from activation function mapping. The filter operation and feature map of the k th convolutional layer is:
z l k = f ( α l x + b )
z k = [ z 1 k ,   z 2 k ,   ,   z N k ]
Length   L z = ceil ( L L C S C L )
where x 1 × L is the input, N is the filter number, l is index of filters ( l = 1 ,   2 ,   ,   N ), k is the index of the convolutional layer, z l k is the feature map, f is the non-linear activation function, α l is the kernel matrix of l th filter, b is the bias, L represents length of inputs, L C represents length of filters in convolutional layers, and S C L represents strides of length in convolutional layers.
Pooling Layer: Pooling layers play the role of retaining the information of feature maps. The command pooling method is max-pooling, as shown in following equation.
p l k = m a x ( z j k ,   z j + 1 k ,   ,   z j + L P k )
p k = [ p 1 k ,   p 2 k ,   ,   p ceil ( L z L P ) k ]
where r is the index of features after pooling where r = 1 ,   2 , ,   ceil ( L z L P ) , L P represents the length of filters in pooling layers, and p l k is the pooling result of the l th feature map after convolving the k th convolutional layer.
Flatten: The feature maps that are the result of convolution and pooling are flattened into one-dimensional features. The equation is shown below:
y = f ( a = 1 n w a h a + b )
where h a is the input of the neuron, w a is the weight of input h a , a = 1 ,   2 ,   ,   n , b is the bias, f is the activation function of the neuron, and y is the output of the neuron.
Fully connected layer: The fully connected layer is a backpropagation neural network. Herein, the estimation problem is applied, thus, the linear activation function is adopted.

3.2. Parameters Analysis

First, an experiment analysis is presented to select the machining parameters, and the corresponding machining path with a length of 100   mm , a cutting width of 2   mm , and a cutting depth of 1.5   mm is designed. There are many machining parameters in the CNC controller; here, we selected four general parameters (federate, acceleration time constant, maximum acceleration, and S-curve time constant) according to the interpolation method [10,41], and the corresponding ranges are shown in Table 1. Figure 8 shows the experimental design and results for the relationship between the CNC parameters, Vmax, AC, Amax, SC, and tool wear. The corresponding Pearson product-moment correlation coefficient computation (PCC) values are −0.9864, −0.4674, 0.9934, and 0.4162, respectively. From the values of PCC, the maximum feed rate ( V m a x ) was negatively correlated with tool wear. The maximum acceleration/deceleration ( A m a x ) was positively correlated with tool wear. The acceleration time constant after interpolation ( A C ) and the S-curve time constant (SC) are less correlated with tool wear. According to the experimental results, A C and SC, which are related to the interpolation computation of the controller, have less influence on tool wear. However, V m a x and A m a x , which are related to the cutting theory, have a greater influence on tool wear. Therefore, V m a x and A m a x were selected for the design of machining experiments using a UED [36]. Table 2 and Table 3 show the CNC parameter levels and parameter combinations based on the UED. The selection of CNC parameter levels was based on the suggestion of the cutler. Then, because of the finished cut, which requires a slow feed rate to smoothen the surface of the material, we set the maximum level of V m a x to 360   mm / min .
The experimental design is presented in Table 4 and Figure 9. Figure 9 shows a schematic of the experiment. In this study, two modes of the machining method were created in the experiment, namely normal milling and accelerated wear. Accelerated milling is designed to speed up the tool wear and to obtain the tool wear at different stages. In order to be closer to the actual industrial machining, three levels of V m a x and A m a x were selected in normal milling. The following procedure describes the experimental operations.
Experiment Procedure:
Step 1. Experimental Design—CNC parameters are selected based on an analysis of the CNC parameter and tool wear, and the combination of parameters is determined using the UED method (Table 3).
Step 2. Rough Cutting—Rough cutting is carried out to obtain the workpieces with a KAKINO shape.
Step 3. Finished Cutting and Data Collection—The finished cutting is employed to acquire the signals. When one finished cutting is completed, the cutting tool needs to be replaced, and the signal from these sensors must be saved.
Step 4. Measurement and Label—The tool wear value is measured using a camera (Deryuan RS-500) with the image processing tool (ImageJ), and the surface roughness is measured usin Surftest SJ400 (Mitutoyo).
Step 5. Accelerated wear—After one finished cutting is completed, the accelerated wear experiment is conducted to obtain the next tool wear stage.
Step 6. Repeat Steps 4–6 until the tool wear stage reaches 0.35 mm.

3.3. Influential Analysis for Sensor Selection

In industrial applications, low-cost and minimum add-on sensors are preferred for manufacturing. We here present an influential analysis pertaining to sensor selection. As mentioned above, even if some sensors are mounted on machine tools for research applications, there are also differences between these sensors, which are suitable for various applications. Signals that are collected by unsuitable sensors may cause the model recognition or prediction to become poor. This causes a difference in the results of classification or estimation based on the signals from these sensors as training data for the model. Therefore, it is important to select an appropriate sensor for model training.
Based on the concept of [42], sensors whose estimation is better using 1D-CNN are chosen, where the model input is the signal and the model output is the tool wear or surface roughness. The procedure is as follows:
Procedure for Sensor Selection
Step 1: Sensor selection—All signals of the six sensors are obtained to investigate the tool wear and surface roughness.
Step 2: Construct the 1D-CNN model—Six 1D-CNN models are established using each sensor’s raw signal as the model input and tool wear or the surface roughness as the model output. Figure 7 shows the construction of the 1D-CNN model for tool wear and surface roughness estimation.
Step 3: Calculate the RMSE values of each prediction model, which corresponds to the prediction error of the model.
Step 4: Ranking by RMSE—Sort the RMSE values of each tool wear and surface roughness estimation model.
Step 5: Influential sensor selection—Select the sensor signals according to the RMSE ranking.
Step 6: Sensor number decision—Determine the number of sensors according to requirements and cost.
Finally, the raw data of the selected sensors are the inputs of the proposed monitoring system, as shown in Figure 6. In actual machining, many uncertain factors affect the results of the sensors. The use of small sensors for collecting data or monitoring states is more influenced by external factors. In addition, it is impossible to use a few small sensors to obtain all the information of the machining condition. By combining the characteristics of sensors, external noises can be reduced. Therefore, sensor fusion plays an important role in the acquisition of data or the monitoring of states in the machining process.

4. Experimental Results and Discussions

In this section, the experimental results of tool wear and surface roughness are presented, and the relationship between tool wear and surface roughness is discussed. Subsequently, the relevant sensor selection is discussed. Finally, the 1D-CNN combined with sensor fusion based on the relevant sensor selection analysis is introduced, and the experimental results are presented.

4.1. Relationship between Tool Wear and Surface Roughness

Surface roughness is an important indicator that is used to measure the quality of finished products. The quality of the cutting tool influences the surface roughness of the workpiece when the cutting tool contacts the workpiece during the machining process. Thus, tool wear, which is a process of continuous variation, affects surface roughness. Therefore, the relationship between tool wear and surface roughness should be verified. We used the KAKINO path for actual milling. The relationship between tool wear and surface roughness is shown in Figure 10. From the experimental results and the PCC computation, it can be observed that tool wear is positively related to the surface roughness. Table 5 lists the PCC values of the different experiments. It can be verified that tool wear and surface roughness are positively related.

4.2. Results of Influential Sensor Selection Analysis

As mentioned above, the 1D-CNN model is established for the estimation of tool wear or surface roughness. The utilized 1D-CNN structure is shown in Figure 11 and Table 6. Here, six sensors are labeled by Sensors 1–3: X-Y-Z coordinate accelerometer (vibration signals), Sensor 4: PCB microphone (sound signals), Sensor 5: Knowles MEMS microphone (sound signals), and Sensor 6: spindle current signals. Table 7 introduces the data for different machining conditions. The sample length is 100,000 after the signal analysis and processing introduced in Section 2. Note that the data numbers are not the same due to different machining conditions. The training, validation, and testing data were 70%, 15%, and 15% of the data, respectively. In addition, the corresponding hyper-parameters for the influential sensor selection analysis are shown in Table 8. Table 9 and Table 10 show the corresponding estimated RMSE values of the testing data of the tool wear and surface roughness using 1D-CNN under different machining conditions and sensors, respectively. The definition of RMSE is as follows:
RMSE = 1 n i = 1 n ( y i y ^ i ) 2
where y i is the predicted value, y ^ i is the actual value, and n is the number of data points. It can be found that the average predictive ability of the tri-coordinate accelerometers in the estimation of tool wear are improved, and the estimation of the surface roughness of the tri-coordinate accelerometers is similar to the average estimation ability of the PCB microphone and the Knowles MEMS microphone. According to the results shown in Table 8 and Table 9, we can conclude that the relative influence of sensors for tool wear is sensor 2 > sensor 1 > sensor 3 > sensor 4 > sensor 5 > sensor 6, that is, influence ranking as Y-coordinate, X-coordinate, Z-coordinate, PCB microphone, Knowles MEMS microphone, and spindle current, respectively. In addition, for the surface roughness, the corresponding ranking is Y-coordinate, X-coordinate, PCB microphone, Knowles MEMS microphone, Z-coordinate, and spindle current, respectively. The results were employed for sensor fusion using 1D-CNN.

4.3. Estimation of Tool Wear and Surface Roughness Using 1D-CNN with Sensors Fusion

Based on the above results of the sensors’ influential ranking, we designed an experimental validation process by adding sensor signals step-by-step from the influence ranking. Table 11 shows the RMSE values of the testing data for the tool wear and the surface roughness for different sensor fusions. Note that ‘Number’ denotes the number of sensors for the CNN input, for example, if Number is equal to three, the inputs of the model are the X -, Y -, and Z-coordinates for estimation. Based on the experimental results obtained, the best RMSE of the testing data is a CNN that uses five sensor inputs. However, the corresponding RMSE values that were computed by the five models using these five signals as input data were very close. This means that the five sensors have a good predictive effect on the tool wear and surface roughness. Therefore, the best sensors for model training can be filtered out using the prediction results of a single sensor.
However, in the actual manufacturing of industrial applications, it is impossible to mount a large number of sensors on machine tools during the machining process because of cost considerations, machining environment constraints, and the ease of sensor installation. In this study, according to the design of the experimental path, the KAKINO path is a two-dimensional (2D) plane (X-Y plane). Therefore, based on the cutting theory, the signals of the X-coordinate and Y-coordinate accelerometers should be considered. To reduce the cost, Knowles MEMS microphone is an industrial technology that combines microelectronics and mechanical engineering, and it is cheaper than other sensors that are sound acquisition devices. Thus, the experiment is designed to combine the signals of the X-coordinate, Y-coordinate, and Knowles MEMS microphone as inputs of the 1D-CNN using the sensor fusion method. The corresponding RMSE values of the testing data of the tool wear and surface roughness were 0.0566 mm and 0.0592 μm, respectively. The results show that the estimation performance obtained, considering the cost reduction, can yield better results.

4.4. Verification of Influential Sensor Selection Analysis

To verify the feasibility of the influential sensor selection analysis, the exhaustion method was adopted to estimate tool wear and surface roughness with different numbers of sensor combinations. The RMSE values of each estimation model are shown in Figure 12, Figure 13, Figure 14 and Figure 15 for two, three, four, and five sensors, respectively. The current signals are removed owing to the incorrect RMSE results in Table 11. Figure 12, Figure 13, Figure 14 and Figure 15 show the predicted RMSE results of the tool wear and surface roughness in (a) and (b), respectively. According to the experimental results, the best estimation performances of different sensor combinations are generally consistent with the results of the influential sensor selection analysis. Table 12 shows a comparison of the results of the method of exhaustion and influential sensor selection analysis for tool wear and surface roughness, respectively. The results of the exhaustion method are the same as those of the influential sensor analysis. This validation demonstrates the effectiveness of the proposed approach, which has the ability to select the sensors.

4.5. Demonstration of On-Line Monitoring

Herein, the on-line monitoring result is introduced to demonstrate the effectiveness of the proposed approach. As result of sensor selection, X- and Y-acceleration vibration signals and sound signals are adopted to implement in the on-line monitoring. The proposed system acquires real-time signals by sensors and detects the tool wear amount by the trained AI model. Finally, alarming users based on the predicted wear amount. The Advantech industrial PC with CPU (ARMv8.2 HMP CPU) and NVIDIA GPU (384 CUDA Cores, 48 Tensor Cores, Performance up to 21 TOPS) is utilized, as illustrated in Figure 16. Figure 16a introduces hardware architecture and monitoring; Figure 16b shows the machining method; and Figure 16c is the monitoring result with alarm and validation (measured off-line). As shown in Figure 16b, three signals are real-time acquired and shown, and visual monitoring using a color bar is used for the alarm (shown in Figure 16c). The results demonstrate the effectiveness of our proposed approach.

5. Conclusions

This paper introduced a tool wear and surface roughness estimation system using deep learning and sensor fusion techniques. A one-dimensional convolutional neural network (1D-CNN) with X-and Y-coordinate vibration signals and sound signal fusion was proposed. The machining experiments with CNC parameters were designed by UED to guarantee a variety of collected data. The vibration, sound, and spindle current signals were collected and labeled according to the machining parameters. In addition, we proposed an influential sensor selection analysis to preserve the estimation accuracy and minimize the number of sensors. To verify the feasibility of influential sensor selection analysis, the method of exhaustion was adopted to estimate tool wear and surface roughness with different numbers of sensor combinations. The results show that the best estimation performances of different sensor combinations are mostly consistent with the results of the influential sensor selection analysis. Finally, the estimation system of tool wear and surface roughness with five sensors has the best estimation performance, the RMSE of tool wear is 0.0286   mm , and the RMSE of the surface roughness is 0.0368   μ m . We propose an experiment that combines the signals of the X-, Y-, and Knowles MEMS microphones for cost reduction. The corresponding RMSE of the testing data from the estimated tool wear model was approximately 0.0566   mm , and the RMSE of the testing data from the estimated tool wear model was approximately 0.0592   μ m . Finally, the proposed approach has been applied to on-line monitoring of tool wear with an alarm, which demonstrates the effectiveness of our approach.

Author Contributions

P.-M.H. and C.-H.L. initiated and developed ideas for this research. Both developed the presented novel methods, derived relevant formulations, and performed performance analyses of simulation and experimental results. P.-M.H. wrote the paper draft under the guidance of C.-H.L. and C.-H.L. finalized the paper. Both authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Ministry of Science and Technology, Taiwan, under contracts MOST-110-2634-F-009-024, 109-2218-E-005-015, and 109-2218-E-150-002.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. ASME. B46.1 Surface Texture (Surface Roughness, Waviness, and Lay); American Society of Mechanical: New York, NY, USA, 1995. [Google Scholar]
  2. Davim, J.P. A Note on the Determination of Optimal Cutting Conditions for Surface Finish Obtained in Turning Using Design of Experiments. J. Mater. Process. Technol. 2001, 116, 305–308. [Google Scholar] [CrossRef]
  3. Gopan, V.; Wins, K.L.D.; Surendran, A. Integrated ANN-GA Approach for Predictive Modeling and Optimization of Grinding Parameters with Surface Roughness as the Response. Mater. Today Proc. 2018, 5, 12133–12141. [Google Scholar] [CrossRef]
  4. Chiu, H.W.; Lee, C.H. Intelligent Machining System Based on CNC Controller Parameter Selection and Optimization. IEEE Access 2020, 8, 51062–51070. [Google Scholar] [CrossRef]
  5. Lin, Y.; He, S.; Lai, D.; Wei, J.; Ji, Q.; Huang, J.; Pan, M. Wear Mechanism and Tool Life Prediction of High-Strength Vermicular Graphite Cast Iron Tools for High-Efficiency Cutting. Wear 2020, 454–455, 203319. [Google Scholar] [CrossRef]
  6. Dadgari, A.; Huo, D.; Swailes, D. Investigation on Tool Wear and Tool Life Prediction in Micro-Milling of Ti-6Al-4V. Nanotechnol. Precis. Eng. 2018, 1, 218–225. [Google Scholar] [CrossRef]
  7. Kaya, B.; Oysu, C.; Ertunc, H.M. Force-Torque Based On-Line Tool Wear Estimation System for CNC Milling of Inconel 718 Using Neural Networks. Adv. Eng. Softw. 2011, 42, 76–84. [Google Scholar] [CrossRef]
  8. Özel, T.; Karpat, Y. Predictive Modeling of Surface Roughness and Tool Wear in Hard Turning Using Regression and Neural Networks. Int. J. Mach. Tools Manuf. 2005, 45, 467–479. [Google Scholar] [CrossRef]
  9. Liu, M.K.; Tseng, Y.H.; Tran, M.Q. Tool Wear Monitoring and Prediction Based on Sound Signal. Int. J. Adv. Manuf. Technol. 2019, 103, 3361–3373. [Google Scholar] [CrossRef]
  10. Chiu, H.W.; Lee, C.H. Prediction of Machining Accuracy and Surface Quality for CNC Machine Tools Using Data Driven Approach. Adv. Eng. Softw. 2017, 114, 246–257. [Google Scholar] [CrossRef]
  11. Lin, S.C.; Chang, M.F. A Study on the Effects of Vibrations on the Surface Finish Using a Surface Topography Simulation Model for Turning. Int. J. Mach. Tools Manuf. 1998, 38, 763–782. [Google Scholar] [CrossRef]
  12. Grzesik, W. A Revised Model for Predicting Surface Roughness in Turning. Wear 1996, 194, 143–148. [Google Scholar] [CrossRef]
  13. Jang, D.Y.; Choi, Y.G.; Kim, H.G.; Hsiao, A. Study of the Correlation between Surface Roughness and Cutting Vibrations to Develop an On-Line Roughness Measuring Technique in Hard Turning. Int. J. Mach. Tools Manuf. 1996, 36, 453–464. [Google Scholar] [CrossRef]
  14. Jose, B.; Nikita, K.; Patil, T.; Hemakumar, S.; Kuppan, P. Online Monitoring of Tool Wear and Surface Roughness by Using Acoustic and Force Sensors. Mater. Today Proc. 2018, 5, 8299–8306. [Google Scholar] [CrossRef]
  15. Gaikwad, V.S.; Jatti, V.S.; Chinchanikar, S.S.; Nandurkar, K.N. Investigation of Electric Discharge Machining Processes Parameters on Material Removal Rate, Tool Wear Rate and Surface Roughness During Machining of EN19. Mater. Today Proc. 2021, 44, 1478–1487. [Google Scholar] [CrossRef]
  16. García Plaza, E.; Núñez López, P.J. Surface Roughness Monitoring by Singular Spectrum Analysis of Vibration Signals. Mech. Syst. Signal. Process. 2017, 84, 516–530. [Google Scholar] [CrossRef]
  17. Akhavan Niaki, F.; Mears, L. A Comprehensive Study on the Effects of Tool Wear on Surface Roughness, Dimensional Integrity and Residual Stress in Turning IN718 Hard-to-Machine Alloy. J. Manuf. Process. 2017, 30, 268–280. [Google Scholar] [CrossRef]
  18. 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]
  19. Niu, B.; Sun, J.; Yang, B. Multisensory Based Tool Wear Monitoring for Practical Applications in Milling of Titanium Alloy. Mater. Today Proc. 2020, 22, 1209–1217. [Google Scholar] [CrossRef]
  20. Gomes, M.C.; Brito, L.C.; Bacci da Silva, M.; Viana Duarte, M.A. Tool Wear Monitoring in Micromilling Using Support Vector Machine with Vibration and Sound Sensors. Precis. Eng. 2021, 67, 137–151. [Google Scholar] [CrossRef]
  21. Yuvaraju, B.A.G.; Nanda, B.K. Prediction of Vibration Amplitude and Surface Roughness in Boring Operation by Response Surface Methodology. Mater. Today Proc. 2018, 5, 6906–6915. [Google Scholar] [CrossRef]
  22. Shrivastava, Y.; Singh, B. Tool chatter prediction based on empirical mode decomposition and response surface methodology. Measurement 2021, 173, 108585. [Google Scholar] [CrossRef]
  23. Hosseinpour-Zarnaq, M.; Omid, M.; Biabani-Aghdam, E. Fault diagnosis of tractor auxiliary gearbox using vibration analysis and random forest classifier. Inf. Process. Agric. 2021. [Google Scholar] [CrossRef]
  24. Balachandar, K.; Jegadeeshwaran, R. Friction stir welding tool condition monitoring using vibration signals and Random forest algorithm—A Machine learning approach. Mater. Today Proc. 2021, 46, 1174–1180. [Google Scholar] [CrossRef]
  25. Nguyen, D.; Yin, S.; Tang, Q.; Son, P.X.; Duc, L.A. Online Monitoring of Surface Roughness and Grinding Wheel Wear When Grinding Ti-6Al-4V Titanium Alloy Using ANFIS-GPR Hybrid Algorithm and Taguchi Analysis. Precis. Eng. 2019, 55, 275–292. [Google Scholar] [CrossRef]
  26. Phate, M.; Bendale, A.; Toney, S.; Phate, V. Prediction and optimization of tool wear rate during electric discharge machining of Al/Cu/Ni alloy using adaptive neuro-fuzzy inference system. Heliyon 2020, 6, e05308. [Google Scholar] [CrossRef] [PubMed]
  27. Wu, J.; Su, Y.; Cheng, Y.; Shao, X.; Deng, C.; Liu, C. Multi-sensor information fusion for remaining useful life prediction of machining tools by adaptive network based fuzzy inference system. Appl. Soft Comput. 2018, 68, 13–23. [Google Scholar] [CrossRef]
  28. Liu, Y.; Sun, P.; Wergeles, N.; Shang, Y. A Survey and Performance Evaluation of Deep Learning Methods for Small Object Detection. Expert Syst. Appl. 2021, 172, 114602. [Google Scholar] [CrossRef]
  29. Li, Y.; Sixou, B.; Peyrin, F. A Review of the Deep Learning Methods for Medical Images Super Resolution Problems. IRBM 2020, 42, 120–133. [Google Scholar] [CrossRef]
  30. Chen, H.Y.; Lee, C.H. Vibration Signals Analysis by Explainable Artificial Intelligence (XAI) Approach: Application on Bearing Faults Diagnosis. IEEE Access 2020, 8, 134246–134256. [Google Scholar] [CrossRef]
  31. Chen, H.Y.; Lee, C.H. Deep Learning Approach for Vibration Signals Applications. Sensors 2021, 21, 3929. [Google Scholar] [CrossRef] [PubMed]
  32. Lo, C.C.; Lee, C.H.; Huang, W.C. Prognosis of Bearing and Gear Wears Using Convolutional Neural Network with Hybrid Loss Function. Sensors 2020, 20, 3539. [Google Scholar] [CrossRef] [PubMed]
  33. Hung, C.W.; Zeng, S.X.; Lee, C.H.; Li, W.T. End-to-End Deep Learning by MCU Implementation: An Intelligent Gripper for Shape Identification. Sensors 2021, 21, 891. [Google Scholar] [CrossRef]
  34. Liang, X.; Liu, Z.; Wang, B. State-of-the-Art of Surface Integrity Induced by Tool Wear Effects in Machining Process of Titanium and Nickel Alloys: A Review. Measurement 2019, 132, 150–181. [Google Scholar] [CrossRef]
  35. ISO 8688-2. Tool Life Testing in Milling—Part. 2: End Milling; International Organization of Standards: Geneva, Switzerland, 1989. [Google Scholar]
  36. Rasband, W.S. ImageJ, Image Processing and Analysis in JAVA. 2012. Available online: https://imagej.nih.gov/ij/ (accessed on 7 August 2019).
  37. Fang, K.T.; Lin, D.K.J.; Winker, P.; Zhang, Y. Uniform Design: Theory and Application. Technometrics 2000, 42, 237–248. [Google Scholar] [CrossRef]
  38. Kiranyaz, S.; Ince, T.; Abdeljaber, O.; Avci, O.; Gabbouj, M. 1-D Convolutional Neural Networks for Signal Processing Applications. In Proceedings of the ICASSP 2019—2019 IEEE International Conference on Acoustics, Speech and Signal, Processing (ICASSP), Brighton, UK, 12–17 May 2019; pp. 8360–8364. [Google Scholar]
  39. Cintas, C.; Lucena, M.; Fuertes, J.M.; Delrieux, C.; Navarro, P.; González-José, R.; Molinos, M. Automatic feature extraction and classification of Iberian ceramics based on deep convolutional networks. J. Cult. Herit. 2020, 41, 106–112. [Google Scholar] [CrossRef]
  40. Cabrera, D.; Sancho, F.; Li, C.; Cerrada, M.; Sánchez, R.V.; Pacheco, F.; de Oliveira, J.V. Automatic feature extraction of time-series applied to fault severity assessment of helical gearbox in stationary and non-stationary speed operation. Appl. Soft Comput. 2017, 58, 53–64. [Google Scholar] [CrossRef]
  41. Suh, S.H.; Kang, S.K.; Chung, D.H.; Stroud, I. Theory and Design of CNC Systems; Springer Science and Business Media: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  42. Mohammadi, K.; Shamshirband, S.; Petković, D.; Yee, P.L.; Mansor, Z. Using ANFIS for Selection of More Relevant Parameters to Predict Dew Point Temperature. Appl. Therm. Eng. 2016, 96, 311–319. [Google Scholar] [CrossRef]
Figure 1. Experiment setup. (a) Three-axis CNC machine tool (HM4030L). (b) Tungsten carbide end milling cutters with 2 blades and no coating.
Figure 1. Experiment setup. (a) Three-axis CNC machine tool (HM4030L). (b) Tungsten carbide end milling cutters with 2 blades and no coating.
Sensors 21 05338 g001
Figure 2. Data acquisition devices. (a) The locations of sensors installation. (b) Inverter for measuring spindle current.
Figure 2. Data acquisition devices. (a) The locations of sensors installation. (b) Inverter for measuring spindle current.
Sensors 21 05338 g002
Figure 3. Illustration of signal acquisition.
Figure 3. Illustration of signal acquisition.
Sensors 21 05338 g003
Figure 4. Calculation of the distance between the unworn contour and the location of maximum wear.
Figure 4. Calculation of the distance between the unworn contour and the location of maximum wear.
Sensors 21 05338 g004
Figure 5. Signal analysis and processing, (a) The original signal data from X-coordinate accelerometer. (b) The threshold of the stable state. (c) The stable state.
Figure 5. Signal analysis and processing, (a) The original signal data from X-coordinate accelerometer. (b) The threshold of the stable state. (c) The stable state.
Sensors 21 05338 g005
Figure 6. Flow chart of the proposed methodology.
Figure 6. Flow chart of the proposed methodology.
Sensors 21 05338 g006
Figure 7. The structure of 1D-CNN.
Figure 7. The structure of 1D-CNN.
Sensors 21 05338 g007
Figure 8. Results of correlation analysis—CNC parameters versus tool wear. (a) Vmax; (b) AC; (c) Amax; and (d) SC.
Figure 8. Results of correlation analysis—CNC parameters versus tool wear. (a) Vmax; (b) AC; (c) Amax; and (d) SC.
Sensors 21 05338 g008
Figure 9. Illustration of experiments for tool wear.
Figure 9. Illustration of experiments for tool wear.
Sensors 21 05338 g009
Figure 10. Relationship between tool wear and surface roughness under different machining conditions.
Figure 10. Relationship between tool wear and surface roughness under different machining conditions.
Sensors 21 05338 g010
Figure 11. Structure of 1D-CNN.
Figure 11. Structure of 1D-CNN.
Sensors 21 05338 g011
Figure 12. Comparison of each combination of two sensors, (a) tool wear; (b) surface roughness.
Figure 12. Comparison of each combination of two sensors, (a) tool wear; (b) surface roughness.
Sensors 21 05338 g012
Figure 13. Comparison of each combination of three sensors, (a) tool wear; (b) surface roughness.
Figure 13. Comparison of each combination of three sensors, (a) tool wear; (b) surface roughness.
Sensors 21 05338 g013
Figure 14. Comparison of each combination of four sensors, (a) tool wear; (b) surface roughness.
Figure 14. Comparison of each combination of four sensors, (a) tool wear; (b) surface roughness.
Sensors 21 05338 g014
Figure 15. Comparison of each combination of five sensors, (a) tool wear; (b) surface roughness.
Figure 15. Comparison of each combination of five sensors, (a) tool wear; (b) surface roughness.
Sensors 21 05338 g015
Figure 16. On-line monitor implementation. (a) Hardware architecture; (b) machining method illustration; and (c) monitoring result with alarm and validation (measured off-line).
Figure 16. On-line monitor implementation. (a) Hardware architecture; (b) machining method illustration; and (c) monitoring result with alarm and validation (measured off-line).
Sensors 21 05338 g016
Table 1. Range of CNC parameters.
Table 1. Range of CNC parameters.
CNC ParameterRangeUnit
Maximum feed rate ( V m a x )0–6000mm/min
Acceleration time constant after interpolation ( A C )1–50ms
Maximum acceleration ( A m a x )0.001–2.5m/s2
S-curve time constant ( S C )0–5000.5 ms
Table 2. Selection level of UED for Vmax and Amax.
Table 2. Selection level of UED for Vmax and Amax.
Level V m a x   ( m m / m i n ) A m a x   ( m / s 2 )
Level 11200.1
Level 22401.3
Level 33602.5
Table 3. Selected values of Vmax and Amax.
Table 3. Selected values of Vmax and Amax.
Experiment V m a x   ( m m / m i n ) A m a x   ( m / s 2 )
EX 011200.1
EX 021201.3
EX 031202.5
EX 042400.1
EX 052401.3
EX 062402.5
EX 073600.1
EX 083601.3
EX 093602.5
Table 4. Experimental design for machining.
Table 4. Experimental design for machining.
ItemsUnitNormal MillingAccelerated Wear
Purpose--Signal CollectionAccelerated Wear
Workpiece Material--S50CS50C
Material HardnessHRC<550
V m a x mm / min 360/240/12020
A m a x m / s 2 0.1/1.3/2.50.3
Spindle Speed rpm 80008000
Milling Path--KAKINOStraight
Depth of Cut mm 10.9
Width of Cut mm 0.40.9
Table 5. Pearson’s correlation coefficient in different experiments.
Table 5. Pearson’s correlation coefficient in different experiments.
Experiment V m a x   ( mm / min ) A m a x   ( m / s 2 ) Pearson’s Correlation Coefficient
EX011200.10.9869
EX021201.30.9939
EX031202.50.9953
EX042400.10.9939
EX052401.30.9969
EX062402.50.9933
EX073600.10.9876
EX083601.30.9897
Ex093602.50.9790
Average0.9907
Table 6. Structure of 1D-CNN for the estimation of tool and surface roughness.
Table 6. Structure of 1D-CNN for the estimation of tool and surface roughness.
LayersFilter SizeStrideNumber of Filters or NodesActivation Function
Conv. 136530Sigmoid
Pool. 120--
Conv. 218530Sigmoid
Pool. 210--
Flatten--
Fully connected 1--128Sigmoid
Fully connected 264Sigmoid
Outputs1None
Table 7. The numbers of data in different machining conditions.
Table 7. The numbers of data in different machining conditions.
ConditionsSensorsTotal
Sensor 1Sensor 2Sensor 3Sensor 4Sensor 5Sensor 6
F120A0.16546365625776573623448
F120A1.35484975604295172682819
F120A2.56845624495305334613219
F240A0.12642682392112471841413
F240A1.33573473022283072521793
F240A2.52913052392712912271624
F360A0.12212331971702181601199
F360A1.32112181721471571441048
F360A2.5154139148137151191920
Total338432052868270030782249--
Table 8. Hyperparameters of 1D-CNN for influential sensor selection analysis.
Table 8. Hyperparameters of 1D-CNN for influential sensor selection analysis.
HyperparameterTypes or Values
Epoch5000
Batch Size16
Learning Rate0.00001
Loss FunctionMean Square Error
OptimizerAdamax
Table 9. RMSE values of testing data for tool wear.
Table 9. RMSE values of testing data for tool wear.
Conditions RMSE   Values   of   Testing   Data   ( m m )
Sensor 1Sensor 2Sensor 3Sensor 4Sensor 5Sensor 6
F120A0.10.05060.05030.0530.04640.04380.0969
F120A1.30.0580.06270.06210.06310.06960.0917
F120A2.50.05770.04510.04650.05980.05240.0918
F240A0.10.05960.05720.05330.07810.07410.0981
F240A1.30.0740.07180.08720.0730.08490.1022
F240A2.50.11160.09590.1090.1060.12790.1212
F360A0.10.09940.11290.12320.13950.14130.1276
F360A1.30.08330.08090.08120.08540.08860.139
F360A2.50.10310.09770.10350.10390.10510.1373
Average0.07750.07490.07990.08390.08750.1116
Table 10. RMSE values of testing data for surface roughness.
Table 10. RMSE values of testing data for surface roughness.
Conditions RMSE   Values   of   Testing   Data   ( μ m )
Sensor 1Sensor 2Sensor 3Sensor 4Sensor 5Sensor 6
F120A0.10.07360.05870.08630.07440.07910.0941
F120A1.30.07370.07410.0720.09060.09930.1049
F120A2.50.06830.04880.0570.07060.07040.1061
F240A0.10.07220.06630.06350.07580.08510.1246
F240A1.30.10420.09640.12370.11260.11490.1239
F240A2.50.11580.12390.12850.10160.10480.1312
F360A0.10.11390.11320.12560.11340.12080.1329
F360A1.30.11340.10350.13020.10190.10950.1328
F360A2.50.10250.10150.10580.10260.10860.1273
Average0.09310.08740.09920.09370.09920.1197
Table 11. RMSE values of testing data of the tool wear for different sensor fusions.
Table 11. RMSE values of testing data of the tool wear for different sensor fusions.
Tool Wear
NumberSensor 2Sensor 1Sensor 3Sensor 4Sensor 5Sensor 6
1 0.0977   mm --
2 0.0626   mm --
3 0.0523 mm --
4 0.0465   mm --
5 0.0286   mm --
6 0.0529   mm
Surface Roughness
NumberSensor 2Sensor 1Sensor 4Sensor 5Sensor 3Sensor 6
1 0.1015   μ m --
2 0.0571   μ m --
3 0.0546   μ m --
4 0.0543   μ m --
5 0.0368   μ m --
6 0.0653   μ m
Table 12. Comparison of influential sensor selection analysis and method of exhaustion.
Table 12. Comparison of influential sensor selection analysis and method of exhaustion.
Number of SensorsTool Wear
Influential Sensor Selection AnalysisMethod of Exhaustion
1Sensor 2Sensor 2
2Sensors 1 and 2Sensors 1 and 2
3Sensors 1, 2, and 3Sensors 1, 2, and 3
4Sensors 1, 2, 3, and 4Sensors 1, 2, 3, and 4
5Sensors 1, 2, 3, 4, and 5Sensors 1, 2, 3, 4, and 5
Number of SensorsSurface Roughness
1Sensors 2Sensors 2
2Sensors 1 and 2Sensors 1 and 2
3Sensors 1, 2, and 3Sensors 1, 2, and 3
4Sensors 1, 2, 4, and 5Sensors 1, 2, 3, and 4
5Sensors 1, 2, 3, 4, and 5Sensors 1, 2, 3, 4, and 5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Huang, P.-M.; Lee, C.-H. Estimation of Tool Wear and Surface Roughness Development Using Deep Learning and Sensors Fusion. Sensors 2021, 21, 5338. https://doi.org/10.3390/s21165338

AMA Style

Huang P-M, Lee C-H. Estimation of Tool Wear and Surface Roughness Development Using Deep Learning and Sensors Fusion. Sensors. 2021; 21(16):5338. https://doi.org/10.3390/s21165338

Chicago/Turabian Style

Huang, Pao-Ming, and Ching-Hung Lee. 2021. "Estimation of Tool Wear and Surface Roughness Development Using Deep Learning and Sensors Fusion" Sensors 21, no. 16: 5338. https://doi.org/10.3390/s21165338

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