원시데이터 수집 시스템
선정목록으로

Image Based Detection of Coating Wear on Cutting Tools with Machine Learning

관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. J.M. van der Wolf
  2. Nithin Kumar Bandaru
  3. Martin Dienwiebel
  4. Hans‐Christian Möhring
DOI
10.36897/jme/196725
저널
Journal of Machine Engineering
발행년도
2024
발행기관
Publishing House of Wrocław Board of Scientific Technical Societies Federation NOT
피인용수
2
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.36897/jme/196725
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4404973564

평가 내용

관련도
관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Wear of cutting tools is known to affect the surface integrity of the workpiece and significantly contributes to machine downtime. To establish wear-resistant cutting tools, several coating strategies have been introduced. It has been shown that the wear rate increases dramatically once the coating is worn through. Detecting coating layer loss is therefore a good indicator of the remaining useful life of the cutting tool. Based on cutting experiments conducted with a TiN/AlTiN-coated cutting tool, an image dataset was generated and pre-processed using multiple algorithms, such as Canny edge detection and Hough line transforms. For the classification task four machine learning Algorithms consisting of Random Forests, Decision Trees, Support Vector Machines and a Feed Forward Neural Network were implemented. The results demonstrate that all four algorithms lead to a good classification performance, with Decision Trees showing the best performance with a F1-score of 0.95. Therefore, this research provides an efficient data processing and classification framework for detecting coating wear on cutting tools.

본문 34,942자

본문 펼치기
_Journal of Machine Engineering, 2025_, _Vol. 25, No. 1, 57-67_ _ISSN 1895-7595 (Print)_ _ISSN 2391-8071 (Online)_ Received _: 06 November 2024_ / Accepted: _02 December 2024_ / Published online: _03 December 2024_ _wear detection,_ _coated cutting tools_ _machine learning_ <mark>Jan WOLF</mark> <sup>1*</sup> <mark>, Nithin Kumar BANDARU</mark> <sup>2</sup> <mark>,</mark> <mark>Martin DIENWIEBEL</mark> <sup>2</sup> <mark>, Hans-Christian MÖHRING</mark> <sup>1</sup> IMAGE BASED DETECTION OF COATING WEAR ON CUTTING TOOLS WITH MACHINE LEARNING Wear of cutting tools is known to affect the surface integrity of the workpiece and significantly contributes to machine downtime. To establish wear-resistant cutting tools, several coating strategies have been introduced. It has been shown that the wear rate increases dramatically once the coating is worn through. Detecting coating layer loss is therefore a good indicator of the remaining useful life of the cutting tool. Based on cutting experiments conducted with a TiN/AlTiN-coated cutting tool, an image dataset was generated and pre-processed using multiple algorithms, such as Canny edge detection and Hough line transforms. For the classification task four machine learning Algorithms consisting of Random Forests, Decision Trees, Support Vector Machines and a Feed Forward Neural Network were implemented. The results demonstrate that all four algorithms lead to a good classification performance, with Decision Trees showing the best performance with a F1-score of 0.95. Therefore, this research provides an efficient data processing and classification framework for detecting coating wear on cutting tools. 1. INTRODUCTION Subtractive manufacturing processes like milling, drilling or turning are characterized by removing material of a workpiece with a geometrically defined cutting edge. Besides the accuracy and stiffness of the machine itself, the interaction of the tool and the workpiece is key for an economically and technologically advanced production. The importance of the tool is highlighted by the fact that up to 20% of machine downtime is caused by tool failure [1]. In addition to economic implications wear of cutting tools causes continuously changed process state variables such as cutting forces and temperatures [2], causes dynamically worse process conditions which affect the workpieces surface integrity and ultimately causes deviation from the target geometry [3]. Developing wear-resistant tools and coatings to delay the tool failure significantly improved the lifetime of tools. Coated cutting tools are now state of the art. The coating works as a barrier for heat transfer to the underlying substrate, lowers the friction coefficient and thus the amount of the thermo-mechanical loads. Coatings have ______________ 1 <mark>Institute for Machine Tools (IfW), University of Stuttgart, Germany</mark> 2 <mark>Institute for Applied Materials (IAM), Karlsruhe Institute of Technology, Germany</mark> - <mark>E-mail: jan.wolf@ifw.uni-stuttgart.de</mark> https://doi.org <mark>/10.36897/jme/196725</mark> <u>58</u> _<u><mark>J. Wolf et al./</mark></u>_ _<u>Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ evolved from a simple titanium nitride (TiN) coating to mostly aluminium titanium nitride (AlTiN) coatings. Developing better coatings and strategies such as multi-layered coating systems is still an active research topic. Wear of cutting tools follows a so called S-curve, which manifests itself as a comparably rapid wear development which then transfers into a steady wear development and finally into a rapid wear development again until the tool breaks down. Detecting the loss of a coating with its superior wear resistant is therefore an important task to predict the remaining tool life. Recently researchers focused on the development of wear detection and prediction techniques [4] for an implementation of accurate predictive maintenance. The latter also contains Finite Element Analysis (FEA) of the cutting process, where the nodes of the tools mesh are displaced based on calculation of the thermo-mechanical loads and a pre-determined wear-equation of which the Usui-equation is most widely adopted. The approach was successfully implemented for multiple processes in 2D [5, 6] and 3D [7, 8]. The benefit of this approach lies in the explain ability of the wear progress. However, the downside of FEA for wear detection and prediction is the significant computational resources required, which can still take multiple hours even for 2D simulations. In addition, complex models like the Johnson-Cook material model and friction models for the workpiece and tool material need to be available. Thus, FEA is not widely adopted in industrial applications for wear prediction. Data-driven models, in contrast to FEA, often do not provide insights into the rules leading to their decisions, but they are much more computationally efficient and easier to incorporate into industrial use. Prerequisites are a dataset for training which features the worn and unworn state of the tool. In the past, as listed below several researchers focused on capturing tool wear with these methods. Time series classification play a major role in these efforts, as they are easy to collect and come with the benefit of an in-situ collectable data source. In [9], a tool wear classification approach was presented which transformed scaled time series data of a dynamometer for force measurement into images based on Gramian Angular Summation Fields which is a transformation from Cartesian coordinates to polar coordinates succeeded by an encoding to a matrix. Following this pre-processing technique, a Convolutional Neural Network (CNN) based on the CIFAR-10 architecture is trained. The authors achieved a correct classification of tool wear by up to 80%. Force signals are considered to be the most effective signal type due to a high correlation with the wear state of the tool [10]. However, dynamometers for high precision force measurement are expensive which hinders the application in industry. Measuring the cutting forces indirectly by using machine internal control data and using their time series as input for machine learning algorithms was applied in multiple articles such as [11], where an additional edge device collected the necessary data. A more cost-efficient alternative are vibration sensors. However, they are reported to have sensitivity issues, particularly in distinguishing between multiple sources of machining, which is especially problematic in an industrial context [12]. With the disadvantages of the above-mentioned sensor signals and the goal to find an easily transferable sensor signal, one can conclude that images yield benefits in comparison to time series signals as they capture the state of the wear without interference from external signals such as noise of vibration from other processes and peripheral systems of the machine. That is why multiple researchers focused on this signal type as an input to their machine learning models. Deep Learning employing Convolutional Neural Networks (CNN) played a _<u><mark>J. Wolf et al</mark></u>_ _<u>/Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ <u>59</u> crucial role in this effort. In [2], a Deep Learning-based method for the automatic detection of wear in drilling, end milling, and ball milling tools is proposed. Although CNNs typically achieve high accuracy in detecting wear, they come with a downside of requiring a significant amount of training data, which is costly to collect [13]. To overcome this challenge and enhance the robustness of the CNN, data augmentation techniques were applied [14]. A multistage deep learning pipeline consisting of a CNN for tool detection, followed by a Tool wear segmentation step with a U-Net architecture based on a Fully Convolutional Network is applied to detect the tool wear on the cutting edge and succeeded by a rule based algorithm to detect the flank wear [15]. Transferring the knowledge gained by training a CNN on a generated dataset to a new cutting tool is challenging and still part of ongoing research [16]. Transfer-learning is commonly used with pre-trained CNN architectures that have initialized weights and biases. However, transferring the ability to detect tool wear with altered features - such as coating color, shape, background, or light intensity – using a small dataset for retraining is challenging. When considering the literature about tool wear, it becomes obvious that most researchers didn’t focus on the coating of the tool when collecting their dataset. Thus, this important milestone didn’t get much attention in predicting the remaining tool life. After reviewing the existing approaches and keeping the applicability and transferability of a tool wear detection algorithm in mind, the following statements can be drawn: Tool wear is a significant technologic issue when accurate parts need to be machined and is further an economical issue when considering machine downtime. Capturing a coating loss is key to predict an increase in the wear rate. For a further self-optimizing manufacturing systems proposed by Möhring [17], a low-cost, explainable and to other processes transferable solution for wear detection is necessary. Therefore, there is a need to study simple yet efficient data-driven methods and algorithms to detect coating layer loss, which is equivalent to detecting the substrate. 2. MATERIALS AND METHODS 2.1 DATASET GENERATION Turning operations are characterized by a spinning workpiece and a clamped tool. Relative movement is provided by the axis of the turning machine. A process which belongs to these operations is grooving. The process aims to directly transfer the negative form of the cutting edge onto the workpiece. In this study, the profile of the cutting is parallel to the workpiece axis. The used tools cutting edge is 10 mm long. They are coated via Physical vapor deposition (PVD) with an AlTiN coating with a black appearance. An additional TiN layer with a golden appeal was added via PVD. The workpiece is made of normalized AISI 1045. The materials composition is listed in Table 1. Table 1. DIN EN ISO 683-1 of used normalized AISI 1045 C Si Mn P S Cr Mo Ni Al Cu 0.431 0.233 0.653 0.011 0.024 0.124 0.005 0.018 0.029 0.029 <u>60</u> _<u><mark>J. Wolf et al./</mark></u>_ _<u>Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ The experimental setup is depicted in Fig. 1. The depth of cut was set to 0.1 mm and the cutting speed was 150m/min. Machining takes place without any coolant or lubrication. In compliance with the tool manufacturer Paul Horn GmbH, the depth of the groove was set to 3.5 mm. Given that the tool's geometry is unprofiled, leading to the assumption of orthogonal cutting, only the upper 3 mm of the cutting edge were used for cutting to ensure efficient material usage. Thus, after each cutting operation the workpiece was repositioned 3 mm along the z-axis as depicted in Fig. 1 (right). In total 1000 cutting operations were performed to cause a worn through coating. clamping claw jaws for clamping acceleration sensor 3 1 z coated tool dynamometer workpiece workpiece d = 90 mm z 4 2 3 mm workpiece tool x revolver x y Fig. 1. Experimental setup for grooving (left) and schematic drawing (right) To monitor the tool’s condition throughout its lifetime, a USB-Camera with a custom made, 3D printed fixture for a repeatable positioning was implemented in the VLC 250 vertical lathe machine by EMAG. The used camera is a TOOLCRAFT USB microscope with five mega pixels, remote LED lighting rings and is connected to a laptop. A distinct challenge in monitoring the condition of the tool with images instead of time-series signals like cutting force or acceleration is the necessity to closely access the tool with the camera. On the one side, the process conditions in machining are harsh were different sized chips with temperatures of several hundred degrees and considerable kinetic energy are produced. Furthermore, wear occurs in exactly these subsections of the rake surface and flank surface of the tool, where it is in contact with either the workpiece or the chip. Thus, an in-situ observation becomes very difficult. To overcome these difficulties, the camera was positioned on a sphere, accessible by moving the machine's revolver with the mounted cutting tool. This way, the camera was places outside the region where hot chips could potentially damage the equipment. Moving the revolver was automated by implementing a loop in the G-Code. Images were taken every five, cuts which resulted in a database of 200 pictures. To guarantee an easier distinction between the background of the machine and the tools surface, the light in the machine was turned off for the duration of capturing the image. A variety of recorded images is depicted in Fig. 2 where the virgin tool (top left) features a clear golden colour from the TiN coating. The other images have a large grey appearing part on the right side of the images in common. However, these surfaces were not actively taking part in the cutting process, since only the left third was used for cutting. The actual wear for the tool therefore takes place in these areas. The wear of the coating then progresses with each cut until a full _<u><mark>J. Wolf et al</mark></u>_ _<u>/Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ <u>61</u> coating layer loss is achieved after 1000 cuts (bottom right). The area of the rake face, which is in contact with the chip, is marked in Fig. 2. TiN substrate AlTiN TiN 1 mm 1 mm TiN damaged edge substrate 1 mm 1 mm Fig. 2. Examples of recorded images. Virgin tool (top left), after 335 cuts (top right), after 675 cuts (bottom left) and after 1000 cuts (bottom right) 2.2 DATASET PREPARATION An important step in training machine–learning algorithms is to prepare the dataset. In this case a manual labelling of the images was executed in two distinct classes. One class resembles an unworn coating and the other one a worn through coating, where the substrate of the tool is noticeable. The following steps were taken. First, the image is converted to a binary image, meaning that it consists only of black and white pixels by carefully setting a threshold. Since the images feature an excellent black background this can be done with perfect sensitivity. In the next step, the edges of the tool were detected via a Canny edge detection algorithm. This algorithm is one of the most used edge detection algorithms. The algorithm follows a multi-stage process, where the first step involves convolving the image with a Gaussian kernel _G_, as stated in equation 1, for noise reduction. 1 ?(?, ?) = ) (1) 2?? <sup>2</sup> <sup>exp(−?2</sup> 2? <sup>+ ?2</sup> <sup>2</sup> The intensity gradients of the image are then calculated via a Sobel operator for calculating the horizontal and vertical derivative of an image _I_ . The operator is shown in equation 2. Then the edge gradient and the direction can be calculated as shown in equation 3. <u>62</u> _<u><mark>J. Wolf et al./</mark></u>_ _<u>Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ ?? = [ 1 0 −1 2 0 −2 1 0 −1 ] ∗? ?? = [ 1 2 1 0 0 0 −1 −2 −1 (2) ] ∗? ?= √?? 2 + ??2 Ө = arctan2 (??, ??) (3) When determining the location of the upper left corner of the tool, the next step is to identify lines on the detected contours. To achieve that, a Hough transform was applied to the output of the Canny edge detector. Due to the tools good alignment with the camera, only focusing on horizontal and vertical lines is expedient. A line in an Euclidian space of dimension two ? <sup>2</sup> is usually represented in cartesian coordinates with the slope _m_ and an offset _c_ . However, when defining lines which are close to being vertical, these parameters obtain large values. Thus, as shown by Duda and Hart [18], using the polar coordinate system yields benefits and leads to the formulation in equation 4, where _ρ_ is the algebraic distance from the origin while _θ_ is the angle of the lines normal. (4) ?= ?????+ ????? Edges of the tool then were found by a determination of the intersection between the determined lines. Lastly, the image was automatically cut to only contain the information required for wear determination while leaving out all sections were no contact between chip and tool takes place. This process was iterated with each image of the dataset. The OpenCV library was applied for all tasks requiring image processing [19]. After applying the above-mentioned algorithms the image dimensionality is further reduced by extracting meaningful features for the classifiers. Since wear can not only be detected due to edges and challenging image processing, the authors decided to extract the mean and standard deviation of the RGB color space by calculating a histogram of the intensity of the basic colors over each pixel. This reduces the input parameters of the classifier to just six parameters. 2.3 APPLIED ALGORITHMS FOR WEAR DETECTION OF COATED CUTTING TOOLS Classifiers try to capture the function between input and output parameters. In this case the input vector _x_ consists of six features while one output is defined which features two classes (worn/unworn). For high dimensional input data machine–learning algorithms can effectively achieved this. Since the acquired dataset is limited in its size, algorithms such as CNNs which were introduced in Chapter 1 are not considered. Moreover, the implementation of well established algorithms for small datasets were taken into account. Due to an easy to label dataset supervised machine learning techniques were chosen. Tree–based machine learning algorithms are known to deliver good results in classification tasks, even when compared to more complex algorithms [20]. They have the ability to handle continuous and discrete data, can learn non-linear relationships between attributes, need comparably low computational resources and are of a non-parametric design [21]. A Decision Tree splits the data into homogenous subsets by selecting a promising feature. The quantification of the splits accuracy is then performed via the Gini Impurity. _<u><mark>J. Wolf et al</mark></u>_ _<u>/Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ <u>63</u> Another tree–based architecture studied in this context are random forests. This algorithm is a classifier based on a tree-structured classifier consisting of multiple classifiers { _h_ ( _x_, ??) _k_ = 1,…}with independent distributed random vectors {??} [22]. The algorithm builds an ensemble of decision trees [23]. By drawing a subset of the training data with replacement, multiple trees are created, followed by a vote to determine the best decision tree based on a new data input [24]. Support Vector Machines (SVM) were implemented for the classification as well. The technique was developed by Vapnik for classification and regression tasks. SVM have been widely used for classification tasks due to their good generalization capability [25]. SVM classifiers are based on the mapping of an input vector ?? by the function _ϕ_ to a higher dimensional feature space where a hyperplane separates the two classes [26]. Key aspect is finding a hyperplane that maximizes the distance, also called margin, between the closest data points of the classes and the hyperplane. Finding this hyperplane requires the solution of the optimization problem [27] stated in equation (5), where _C_ corresponds to the penalty term. _A_ linear kernel was implemented. min ?,?,ξ <sup>1</sup> 2 ?=1 ? min 2 <sup>???+ ?∑ξ?</sup> (5) subject to ??(? <sup>?</sup> ?(??) + ?) ≥ 1 - ξ?, ξ? ≥0 As a last approach, a Feed Forward Neural Network (FFNN) is implemented. The basis of FFNN are perceptrons, which are connected to each other [28]. During training weights ?? with _i_ ∈[1,n] are updated via backpropagation [29]. Non-linear behavior is introduced via activation functions such as Rectified Linear Units (ReLU). When considering one neuron with input ?? and the bias _b_, the output _y_ is calculated according to equation (6). ? ?= ????(∑???? + ? ?=1 ) (6) with ReLU(?) = { <sup>?,</sup> <sup>?≥0</sup> 0, ?< 0 The chosen network architecture consists of an input layer with six neurons, each corresponding to an extracted feature, a hidden layer and an output layer with two neurons, utilizing the softmax activation function. Only one hidden layer was chosen to keep the training parameters at a manageable range considering the size of the dataset. To find the optimal hyperparameters of the network for the classification task, a grid search was implemented regarding the optimum parameters for neurons in the hidden layer (4, 8, 12, 16, 32), the activation function (ReLU, tanh) and the batch size (10, 20, 40). An adam optimizer was used with a learning rate of 0.001 and the loss function is binary cross-entropy. To evaluate the algorithm's performance on the classification task, the dataset was divided into subsets, with 80% used for training and 20% for testing. In the case of the neural network, the training dataset was again split into training (80%) and validation (20%) subsets. Before generating the subsets, the original dataset was shuffled. <u>64</u> _<u><mark>J. Wolf et al./</mark></u>_ _<u>Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ 3. RESULTS Preparing the image so it explicitly contains areas of interest for the chosen algorithms is key to ensure decision making solely based on the contact length on the rake face. Figure 3 shows the results from the described approach in Chapter 2.2. It starts by a defining successful threshold for the input image to a binary image. A threshold of 10 out of 256 delivered good result (left). The successive Canny edge detector finds the edges of the tool with high repeatability (middle). However, as it is shown, an unwanted outline is detected, when small particles are attached to the tool. To tackle the issue of small segments being detected as an independent line by the following Hough transform, a threshold of the minimum edge length considered for line detection had to be set. This lead to a satisfactory line determination (right). 1 mm 1 mm 1 mm Fig. 3. Result of the data pre-processing with the proposed methods The dataset pre-processing is a vital step in reducing the input vector of the image from thousands of pixels to a representative vector with smaller dimension. This was executed by finding the standard deviation and mean of the colors red, green and blue. The results of this step are depicted in Fig. 4. The difference of the color histogram of a tool with 10 cuts (left) and 1000 cuts (right) is visible, which proves that a correlation between color change and wear of the tool exists. The _x_ -axis represents color intensity based on RGB color–coding, with 0 meaning the absence and 255 meaning maximum intensity of that color. It should be noted that no cutting fluid was used in these experiments, which improved image quality by eliminating light reflections caused by lubricants attached to the tools surface. If the proposed approach is applied to a process where lubricants are used, we recommend removing lubricant droplets before capturing the image. One way to achieve this could be by using compressed air to clean the tool's cutting edge, a step that can also be automated within the process. Regarding the outcome of the trained algorithms, it becomes clear that all of them are up to the task of classifying the labeled and pre-processed dataset. The decision tree achieved an F1 score of 0.95. The Random Forest algorithm could classify a test dataset with an F1-score of 0.9. The FFNN achieved an F1-score of 0.89 while SVM resulted in the classification performance with an F1-score of 0.86. The conducted grid search delivered the best F1-score with a hidden layer of 12 neurons, ReLU as the activation function and a batch size of 10. The depth of the used decision tree is six. The number of decision trees in the random forest was 100. _<u><mark>J. Wolf et al</mark></u>_ _<u>/Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ <u>65</u> Fig. 4. Resulting histogram for tool after 10 cuts (left) and after 1000 cuts (right) Although the decision tree is one of the simplest machine learning methods for this classification task, it yielded the best results. The results of training the algorithms are summarized in table 2, where the metrics precision and recal, which lead to the F1-score are also listed. The precision corresponds to the accuracy of positive predictions by the models, while the recall measures how well the models capture the actual positives. Table 2. Classification performance of the chosen machine learning algorithms on a test dataset. <u>Metric</u> <u>Decision Tree</u> <u>Random Forest</u> <u>SVM</u> <u>FFNN</u> <u>Precision</u> <u>0.95</u> <u>0.86</u> <u>0.86</u> <u>0.89</u> <u>Recall</u> <u>0.95</u> <u>0.95</u> <u>0.90</u> <u>0.85</u> <u>F1-score</u> <u>0.95</u> <u>0.90</u> <u>0.88</u> <u>0.87</u> The data leading to the above mentioned metrics are displayed in Table 3. It can be seen that the false-positive rate of Random Forest and SVM is higher compared to the Decision Tree and FFNN. Table 3. Confusion score of the implemented algorithms. <u>True Positive</u> <u>True negative</u> <u>False Positive False Negative</u> <u>Decision Tree</u> <u>19</u> <u>19</u> <u>1</u> <u>1</u> <u>Random Forest</u> <u>19</u> <u>17</u> <u>3</u> <u>1</u> <u>SVM</u> <u>18</u> <u>17</u> <u>3</u> <u>2</u> <u>FFNN</u> <u>17</u> <u>18</u> <u>2</u> <u>3</u> 4. CONCLUSION Detecting the loss of a tool's coating is crucial for predicting its remaining lifespan, as the wear rate increases significantly from that point onward. Detecting this point in time comes down to a classification problem. Despite existing machine learning-based wear detection techniques, it remains challenging to develop robust methods that are easily transferable, cost-efficient, and capable of providing good classification performance even <u>66</u> _<u><mark>J. Wolf et al./</mark></u>_ _<u>Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ with small datasets. Therefore, this study proposes an approach containing two steps. First a dataset prepossessing for extracting meaningful features in the form of mean and standard deviation of each color channel. This step is succeeded by training of multiple machine learning algorithms. In total four algorithms were tested on the image dataset of a TiN/AlTiN coated cutting tool. Amongst Decision Tree, Random Forest, Support Vector Machines and Feed Forward Neural Networks, the Decision Tree proofed to classify a worn through coating on the rake surface with the highest F1-score of 0.95. This study successfully provided an efficient data pre-processing framework and suggests a machine–learning model to tackle the issue of detecting coating layer loss with a cost-effective sensor method. For a more industrial friendly application of the proposed approach, the authors suggest to implement an inductive sensor to trigger capturing of the image if the tool is present in front of the camera. Furthermore, an industrial computer (IPC) in combination with a cost-effective sensor and camera can be implemented and retrofitted to CNC machines, making the proposed approach highly transferable. Therefore, the applicability of the findings is valuable for end-users in industry as well as for tool manufacturers, as it enables an automated testing of the wear resistance of their developed coatings over time. Future research will focus on predicting the wear progression of the coating using machine learning, by training algorithms like U-Nets for image segmentation to automatically identify the areas of wear on the cutting tool. Using the area of wear as the input, additional algorithms will be trained and evaluated for their predictive capability in relation to tool wear. ACKNOWLEDGEMENTS _The scientific work has been supported by the DFG within the research priority program SPP 2402. The authors thank_ _the DFG for this funding and intensive technical support. The authors would like to express their gratitude to Paul Horn_ _GmbH for generously providing the necessary tools._ REFERENCES [1] KURADA S., BRADLEY C., 1997, _A Review of Machine Vision Sensors for Tool Condition Monitoring_, Computers in Industry, 28/1, 55–72, https://doi.org/10.1016/S0166-3615(96)00075-9. [2] BERGS T., HOLST C., GUPTA P., AUGSPURGER, T., 2020, _Digital image processing with deep learning for_ _automated cutting tool wear detection_, Procedia Manufacturing, 48, 947–958. https://doi.org/10.1016/j.promfg. 2020.05.134 [3] BONIFACIO M., DINIZ A., 1994, _Correlating Tool Wear, Tool Life, Surface Roughness and Tool Vibration in_ _Finish Turning wit Coated Carbide Tools_, Wear, 173, 137–144, https://doi.org/10.1016/0043-1648(94)90266-6. [4] CHEHREHZAD M., KECIBAS G., BESIROVA C., URESIN U., Irican M., Lazoglu, I., 2024, _Tool Wear_ _Prediction Through AI-Assisted Digital Shadow Using Industrial Edge Device_, Journal of Manufacturing Processes, 113, 117–130, https://doi.org/10.1016/j.jmapro.2024.01.052 [5] WOLF J., REEBER T., BANDARU NK., DIENWIEBEL M., MÖHRING H.-C., 2024, _Transient Wear_ _Modelling of Coated Cutting Tools_, Procedia CIRP x [6] METHON G., COURBON C., SAOUBI R., GIRINON M., RECH J., 2021, _Numerical Modeling of Wear in_ _Orthogonal Cutting of Multilayer Coated Tools,_ Procedia CIRP, 102, 67–72, https://doi.org/10.1016/j.procir. 2021.09.012. [7] ATTANASIO A., FAINI F., OUTEIRO JC., 2017, _FEM Simulation of Tool Wear in Drilling_, Procedia CIRP, 58, 440–444, https://doi.org/10.1016/j.procir.2017.03.249. _<u><mark>J. Wolf et al</mark></u>_ _<u>/Journal of Machine Engineering</u>_ <u>,</u> _<u>2025, Vol. 25, No. 1, 57-67</u>_ <u>67</u> [8] BINDER M., KLOCKE F., DOEBBLER B., 2017, _An Advanced Numerical Approach on Tool Wear Simulation_ _for Tool and Process Design in Metal Cutting,_ Simulation Modelling Practice and Theory, 70, 65–82, https://doi.org/10.1016/j.simpat.2016.09.001 _._ [9] MARTINEZ-ARELLANO G., TERAZZAS G., RATCHEV S., 2019, _Tool Wear Classification Using Time_ _Series Imaging and Deep Learning_, Int Journal of Advanced Manufacturing Technology, 104, 3547–3662, https://doi.org/10.1007/s00170-019-04090-6. [10] WANG M., Wang J., 2012, _CHMM for tool condition monitoring and remaining useful life prediction_, International Journal of Advanced Manufacturing Technology, 59, 463-471. _https://doi.org/_ 10.1007/s00170-0113536-7. [11] REEBER T., HENNINGER J., WEINGARZ N., SIMON P., BERNDT M., GLATT M., KIRSCH B., EISSELER R., AURICH J., MÖHRING H.-C., 2024 _Tool condition monitoring in drilling processes using anomaly detection_ _approaches based on control internal data_, Procedia Cirp, 121, 216-221. _https://doi.org/_ 10.1016/j.procir.2023. 08.066. [12] MUNARO R., ATTANASIO A., DEL PRETE A., 2023, _Tool Wear Monitoring with Artificial Intelligence_ _Methods: A Review,_ Journal of Manufacturing and Material Processing, 7, 129. https://doi.org/10.3390/ jmmp7040129. [13] COLANTONIO L., EQUETER L., DEHOMBREUX P., DUCOBU F., 2021, _A Systematic Literature Review of_ _Cutting Tool Wear Monitoring in Turning by Using Artificial Intelligence Techniques_, Machines, 9, 351. https://doi.org/ 10.3390/machines9120351. [14] MIAO H., ZHAO Z., SUN C., LI B., YAN R., 2021, _A U-Net-Based Approach for Tool Wear Area Detection_ _and Identification._ IEEE Transactions on Instrumentation and Measurement, 70, 1–10, https://doi.org/ 10.1109/TIM.2020.3033457. [15] HOLST C., YAVUZ T., GUPTA P., GANSER P., BERGS T., 2022, _Deep Learning and Rule-Based Image_ _Processing Pipeline for Automated Metal Cutting Tool Wear Detection and Measurement_, IFAC PapersOnLine, 55, 534-539, https://doi.org/10.1016/j.ifacol.2022.04.249. [16] GUPTA J., PATHAL S., KUMAR G., 2022, _Deep Learning (CNN) and Transfer Learning: A Review_, Journal of Physics: Conference Series, 2273, https://doi.org/10.1088/1742-6596/2273/1/012029. [17] MÖHRING H-C., WIEDERKEHR P., ERKORKMAZ K., KAKINUMA Y., 2020, _Self-Optimizing Machining_ _Systems_, CIRP ANNALS – Manufacturing Technology, 69, 740-763, https://doi.org/10.1016/j.cirp.2020.05.007. [18] DUDA R., HART E., 1972, _Use of the Hough Transformation to Detect Lines and Curves in Pictures_, Communications of the ACM, 15, 11-15, https://doi.org/10.1145/361237.361242. [19] BRADSKI G., 2000, _The OpenCV Library,_ Dr. Dobb's J Software Tools. [20] BLOCKEEL H., DEVOS L., FRENAY B., NANFACK G., NIJSSEN S., 2023, _Decision Trees: from Efficient_ _Predicition to Responsible AI_, Frontiers in Artificial Intelligence, 6, 1124553. https://doi.org/10.3389/frai. 2023.1124553. [21] FLETSCHER S., ISLAM Z., 2019, _Decision Tree Classification with Differential Privacy: A Survey_, ACM Computing Surveys, 52/4, 83, https://doi.org/10.1145/3337064. [22] BREIMAN L., 2001, _Random Forests_, Machine Learning, 45, 5–32. https://doi.org/10.1023/A:1010933404324. [23] KULKARNI V., SINHA P., 2013, _Random Forest Classifiers: A Survey and Future Research Directions_, International Journal of Advanced Computing, 36, 1144-1153. [24] BELGIU M., DRAGUT L., 2016, _Random Forest in Remote Sensing: A Review of Applications and Future_ _Direction_, ISPRS Journal of Photogrammetry and Remote Sensing, 114, 24-31. http://dx.doi.org/10.1016/ j.isprsjprs.2016.01.011. [25] CERVANTES J., GARCIA-LAMONT F., RODRIGUEZ-MAZAHUA L., LOPZ A., 2020, _A Comprehensive_ _Survey on Support Vector Machine Classification: Applications, Challenges and Trends_, Neurocomputing, 408, 189–215, https://doi.org/10.1016/j.neucom.2019.10.118. [26] SRIAVASTAVA D., BHAMBHU L., 2009, _Data Classification Using Support Vector Machine_, Journal of Theoretical and Applied Information Technology, 12, 1–7. [27] HSU C.-W., CHANG C.-C., LIN C.-J., 2016, _A Practical Guide to Support Vector Classification_, https://www.csie.ntu. edu.tw/~cjlin/papers/guide/guide.pdf (last accessed 21.10.2024). [28] REEBER T., WOLF J., MÖHRING, H-C., 2024, _A Data-Driven Approach for Cut-ting Force Prediction in FEM_ _Machining Simulations Using Gradient Boosted Machines_, Journal of Manufacturing and Materials Processing, 8, 107, https://doi.org/10.3390/jmmp8030107. [29] MEHLIG B., 2021, _Machine Learning with Neural Networks_, Cambridge University Press, Cambridge, UK,. [https://doi.org/10.1017/9781108860604.](https://doi.org/10.1017/9781108860604)

섹션 본문 34문단 · 24,554자

(제목 없음)

1Wear of cutting tools is known to affect the surface integrity of the workpiece and significantly contributes to machine downtime.To establish wear-resistant cutting tools, several coating strategies have been introduced.It has been shown that the wear rate increases dramatically once the coating is worn through.Detecting coating layer loss is therefore a good indicator of the remaining useful life of the cutting tool.Based on cutting experiments conducted with a TiN/AlTiN-coated cutting tool, an image dataset was generated and pre-processed using multiple algorithms, such as Canny edge detection and Hough line transforms.For the classification task four machine learning Algorithms consisting of Random Forests, Decision Trees, Support Vector Machines and a Feed Forward Neural Network were implemented.The results demonstrate that all four algorithms lead to a good classification performance, with Decision Trees showing the best performance with a F1-score of 0.95.Therefore, this research provides an efficient data processing and classification framework for detecting coating wear on cutting tools.

INTRODUCTION

2Subtractive manufacturing processes like milling, drilling or turning are characterized by removing material of a workpiece with a geometrically defined cutting edge.Besides the accuracy and stiffness of the machine itself, the interaction of the tool and the workpiece is key for an economically and technologically advanced production.The importance of the tool is highlighted by the fact that up to 20% of machine downtime is caused by tool failure [1].In addition to economic implications wear of cutting tools causes continuously changed process state variables such as cutting forces and temperatures [2], causes dynamically worse process conditions which affect the workpieces surface integrity and ultimately causes deviation from the target geometry [3].Developing wear-resistant tools and coatings to delay the tool failure significantly improved the lifetime of tools.Coated cutting tools are now state of the art.The coating works as a barrier for heat transfer to the underlying substrate, lowers the friction coefficient and thus the amount of the thermo-mechanical loads.Coatings have ______________ evolved from a simple titanium nitride (TiN) coating to mostly aluminium titanium nitride (AlTiN) coatings.Developing better coatings and strategies such as multi-layered coating systems is still an active research topic.Wear of cutting tools follows a so called S-curve, which manifests itself as a comparably rapid wear development which then transfers into a steady wear development and finally into a rapid wear development again until the tool breaks down.Detecting the loss of a coating with its superior wear resistant is therefore an important task to predict the remaining tool life.

3Recently researchers focused on the development of wear detection and prediction techniques [4] for an implementation of accurate predictive maintenance.The latter also contains Finite Element Analysis (FEA) of the cutting process, where the nodes of the tools mesh are displaced based on calculation of the thermo-mechanical loads and a pre-determined wear-equation of which the Usui-equation is most widely adopted.The approach was successfully implemented for multiple processes in 2D [5,6] and 3D [7,8].The benefit of this approach lies in the explain ability of the wear progress.However, the downside of FEA for wear detection and prediction is the significant computational resources required, which can still take multiple hours even for 2D simulations.In addition, complex models like the Johnson-Cook material model and friction models for the workpiece and tool material need to be available.Thus, FEA is not widely adopted in industrial applications for wear prediction.

4Data-driven models, in contrast to FEA, often do not provide insights into the rules leading to their decisions, but they are much more computationally efficient and easier to incorporate into industrial use.Prerequisites are a dataset for training which features the worn and unworn state of the tool.In the past, as listed below several researchers focused on capturing tool wear with these methods.Time series classification play a major role in these efforts, as they are easy to collect and come with the benefit of an in-situ collectable data source.In [9], a tool wear classification approach was presented which transformed scaled time series data of a dynamometer for force measurement into images based on Gramian Angular Summation Fields which is a transformation from Cartesian coordinates to polar coordinates succeeded by an encoding to a matrix.Following this pre-processing technique, a Convolutional Neural Network (CNN) based on the CIFAR-10 architecture is trained.The authors achieved a correct classification of tool wear by up to 80%.Force signals are considered to be the most effective signal type due to a high correlation with the wear state of the tool [10].However, dynamometers for high precision force measurement are expensive which hinders the application in industry.Measuring the cutting forces indirectly by using machine internal control data and using their time series as input for machine learning algorithms was applied in multiple articles such as [11], where an additional edge device collected the necessary data.A more cost-efficient alternative are vibration sensors.However, they are reported to have sensitivity issues, particularly in distinguishing between multiple sources of machining, which is especially problematic in an industrial context [12].

5With the disadvantages of the above-mentioned sensor signals and the goal to find an easily transferable sensor signal, one can conclude that images yield benefits in comparison to time series signals as they capture the state of the wear without interference from external signals such as noise of vibration from other processes and peripheral systems of the machine.That is why multiple researchers focused on this signal type as an input to their machine learning models.Deep Learning employing Convolutional Neural Networks (CNN) played a crucial role in this effort.In [2], a Deep Learning-based method for the automatic detection of wear in drilling, end milling, and ball milling tools is proposed.Although CNNs typically achieve high accuracy in detecting wear, they come with a downside of requiring a significant amount of training data, which is costly to collect [13].To overcome this challenge and enhance the robustness of the CNN, data augmentation techniques were applied [14].A multistage deep learning pipeline consisting of a CNN for tool detection, followed by a Tool wear segmentation step with a U-Net architecture based on a Fully Convolutional Network is applied to detect the tool wear on the cutting edge and succeeded by a rule based algorithm to detect the flank wear [15].Transferring the knowledge gained by training a CNN on a generated dataset to a new cutting tool is challenging and still part of ongoing research [16].Transfer-learning is commonly used with pre-trained CNN architectures that have initialized weights and biases.However, transferring the ability to detect tool wear with altered features such as coating color, shape, background, or light intensityusing a small dataset for retraining is challenging.

6When considering the literature about tool wear, it becomes obvious that most researchers didn't focus on the coating of the tool when collecting their dataset.Thus, this important milestone didn't get much attention in predicting the remaining tool life.After reviewing the existing approaches and keeping the applicability and transferability of a tool wear detection algorithm in mind, the following statements can be drawn:

7Tool wear is a significant technologic issue when accurate parts need to be machined and is further an economical issue when considering machine downtime.Capturing a coating loss is key to predict an increase in the wear rate.For a further self-optimizing manufacturing systems proposed by Möhring [17], a low-cost, explainable and to other processes transferable solution for wear detection is necessary.Therefore, there is a need to study simple yet efficient data-driven methods and algorithms to detect coating layer loss, which is equivalent to detecting the substrate.

DATASET GENERATION

8Turning operations are characterized by a spinning workpiece and a clamped tool.Relative movement is provided by the axis of the turning machine.A process which belongs to these operations is grooving.The process aims to directly transfer the negative form of the cutting edge onto the workpiece.In this study, the profile of the cutting is parallel to the workpiece axis.The used tools cutting edge is 10 mm long.They are coated via Physical vapor deposition (PVD) with an AlTiN coating with a black appearance.An additional TiN layer with a golden appeal was added via PVD.The workpiece is made of normalized AISI 1045.The materials composition is listed in Table 1.The experimental setup is depicted in Fig. 1.The depth of cut was set to 0.1 mm and the cutting speed was 150m/min.Machining takes place without any coolant or lubrication.In compliance with the tool manufacturer Paul Horn GmbH, the depth of the groove was set to 3.5 mm.Given that the tool's geometry is unprofiled, leading to the assumption of orthogonal cutting, only the upper 3 mm of the cutting edge were used for cutting to ensure efficient material usage.Thus, after each cutting operation the workpiece was repositioned 3 mm along the z-axis as depicted in Fig. 1 (right).In total 1000 cutting operations were performed to cause a worn through coating.To monitor the tool's condition throughout its lifetime, a USB-Camera with a custom made, 3D printed fixture for a repeatable positioning was implemented in the VLC 250 vertical lathe machine by EMAG.The used camera is a TOOLCRAFT USB microscope with five mega pixels, remote LED lighting rings and is connected to a laptop.A distinct challenge in monitoring the condition of the tool with images instead of time-series signals like cutting force or acceleration is the necessity to closely access the tool with the camera.On the one side, the process conditions in machining are harsh were different sized chips with temperatures of several hundred degrees and considerable kinetic energy are produced.Furthermore, wear occurs in exactly these subsections of the rake surface and flank surface of the tool, where it is in contact with either the workpiece or the chip.Thus, an in-situ observation becomes very difficult.To overcome these difficulties, the camera was positioned on a sphere, accessible by moving the machine's revolver with the mounted cutting tool.This way, the camera was places outside the region where hot chips could potentially damage the equipment.Moving the revolver was automated by implementing a loop in the G-Code.Images were taken every five, cuts which resulted in a database of 200 pictures.To guarantee an easier distinction between the background of the machine and the tools surface, the light in the machine was turned off for the duration of capturing the image.A variety of recorded images is depicted in Fig. 2 where the virgin tool (top left) features a clear golden colour from the TiN coating.The other images have a large grey appearing part on the right side of the images in common.However, these surfaces were not actively taking part in the cutting process, since only the left third was used for cutting.The actual wear for the tool therefore takes place in these areas.The wear of the coating then progresses with each cut until a full An important step in training machine-learning algorithms is to prepare the dataset.In this case a manual labelling of the images was executed in two distinct classes.One class resembles an unworn coating and the other one a worn through coating, where the substrate of the tool is noticeable.The following steps were taken.First, the image is converted to a binary image, meaning that it consists only of black and white pixels by carefully setting a threshold.Since the images feature an excellent black background this can be done with perfect sensitivity.In the next step, the edges of the tool were detected via a Canny edge detection algorithm.This algorithm is one of the most used edge detection algorithms.The algorithm follows a multi-stage process, where the first step involves convolving the image with a Gaussian kernel G, as stated in equation 1, for noise reduction.

9The intensity gradients of the image are then calculated via a Sobel operator for calculating the horizontal and vertical derivative of an image I.The operator is shown in equation 2. Then the edge gradient and the direction can be calculated as shown in equation 3.

10When determining the location of the upper left corner of the tool, the next step is to identify lines on the detected contours.To achieve that, a Hough transform was applied to the output of the Canny edge detector.Due to the tools good alignment with the camera, only focusing on horizontal and vertical lines is expedient.A line in an Euclidian space of dimension two 2 is usually represented in cartesian coordinates with the slope m and an offset c.However, when defining lines which are close to being vertical, these parameters obtain large values.Thus, as shown by Duda and Hart [18], using the polar coordinate system yields benefits and leads to the formulation in equation 4, where ρ is the algebraic distance from the origin while θ is the angle of the lines normal.

11Edges of the tool then were found by a determination of the intersection between the determined lines.Lastly, the image was automatically cut to only contain the information required for wear determination while leaving out all sections were no contact between chip and tool takes place.This process was iterated with each image of the dataset.The OpenCV library was applied for all tasks requiring image processing [19].

12After applying the above-mentioned algorithms the image dimensionality is further reduced by extracting meaningful features for the classifiers.Since wear can not only be detected due to edges and challenging image processing, the authors decided to extract the mean and standard deviation of the RGB color space by calculating a histogram of the intensity of the basic colors over each pixel.This reduces the input parameters of the classifier to just six parameters.

APPLIED ALGORITHMS FOR WEAR DETECTION OF COATED CUTTING TOOLS

13Classifiers try to capture the function between input and output parameters.In this case the input vector x consists of six features while one output is defined which features two classes (worn/unworn).For high dimensional input data machine-learning algorithms can effectively achieved this.Since the acquired dataset is limited in its size, algorithms such as CNNs which were introduced in Chapter 1 are not considered.Moreover, the implementation of well established algorithms for small datasets were taken into account.Due to an easy to label dataset supervised machine learning techniques were chosen.

14Tree-based machine learning algorithms are known to deliver good results in classification tasks, even when compared to more complex algorithms [20].They have the ability to handle continuous and discrete data, can learn non-linear relationships between attributes, need comparably low computational resources and are of a non-parametric design [21].A Decision Tree splits the data into homogenous subsets by selecting a promising feature.The quantification of the splits accuracy is then performed via the Gini Impurity.

15Another tree-based architecture studied in this context are random forests.This algorithm is a classifier based on a tree-structured classifier consisting of multiple classifiers {h(x, ) k = 1,…}with independent distributed random vectors { } [22].The algorithm builds an ensemble of decision trees [23].By drawing a subset of the training data with replacement, multiple trees are created, followed by a vote to determine the best decision tree based on a new data input [24].

16Support Vector Machines (SVM) were implemented for the classification as well.The technique was developed by Vapnik for classification and regression tasks.SVM have been widely used for classification tasks due to their good generalization capability [25].SVM classifiers are based on the mapping of an input vector by the function ϕ to a higher dimensional feature space where a hyperplane separates the two classes [26].Key aspect is finding a hyperplane that maximizes the distance, also called margin, between the closest data points of the classes and the hyperplane.Finding this hyperplane requires the solution of the optimization problem [27] stated in equation ( 5), where C corresponds to the penalty term.A linear kernel was implemented.

17As a last approach, a Feed Forward Neural Network (FFNN) is implemented.The basis of FFNN are perceptrons, which are connected to each other [28].During training weights with i∈ [1,n] are updated via backpropagation [29].Non-linear behavior is introduced via activation functions such as Rectified Linear Units (ReLU).When considering one neuron with input and the bias b, the output y is calculated according to equation (6).

18The chosen network architecture consists of an input layer with six neurons, each corresponding to an extracted feature, a hidden layer and an output layer with two neurons, utilizing the softmax activation function.Only one hidden layer was chosen to keep the training parameters at a manageable range considering the size of the dataset.To find the optimal hyperparameters of the network for the classification task, a grid search was implemented regarding the optimum parameters for neurons in the hidden layer (4,8,12,16,32), the activation function (ReLU, tanh) and the batch size (10,20,40).An adam optimizer was used with a learning rate of 0.001 and the loss function is binary cross-entropy.

19To evaluate the algorithm's performance on the classification task, the dataset was divided into subsets, with 80% used for training and 20% for testing.In the case of the neural network, the training dataset was again split into training (80%) and validation (20%) subsets.Before generating the subsets, the original dataset was shuffled.

20with ReLU() = { , ≥ 0 0, < 0

RESULTS

21Preparing the image so it explicitly contains areas of interest for the chosen algorithms is key to ensure decision making solely based on the contact length on the rake face.Figure 3 shows the results from the described approach in Chapter 2.2.It starts by a defining successful threshold for the input image to a binary image.A threshold of 10 out of 256 delivered good result (left).The successive Canny edge detector finds the edges of the tool with high repeatability (middle).However, as it is shown, an unwanted outline is detected, when small particles are attached to the tool.To tackle the issue of small segments being detected as an independent line by the following Hough transform, a threshold of the minimum edge length considered for line detection had to be set.This lead to a satisfactory line determination (right).The dataset pre-processing is a vital step in reducing the input vector of the image from thousands of pixels to a representative vector with smaller dimension.This was executed by finding the standard deviation and mean of the colors red, green and blue.The results of this step are depicted in Fig. 4. The difference of the color histogram of a tool with 10 cuts (left) and 1000 cuts (right) is visible, which proves that a correlation between color change and wear of the tool exists.The x-axis represents color intensity based on RGB color-coding, with 0 meaning the absence and 255 meaning maximum intensity of that color.It should be noted that no cutting fluid was used in these experiments, which improved image quality by eliminating light reflections caused by lubricants attached to the tools surface.If the proposed approach is applied to a process where lubricants are used, we recommend removing lubricant droplets before capturing the image.One way to achieve this could be by using compressed air to clean the tool's cutting edge, a step that can also be automated within the process.

22Regarding the outcome of the trained algorithms, it becomes clear that all of them are up to the task of classifying the labeled and pre-processed dataset.The decision tree achieved an F1 score of 0.95.The Random Forest algorithm could classify a test dataset with an F1-score of 0.9.The FFNN achieved an F1-score of 0.89 while SVM resulted in the classification performance with an F1-score of 0.86.

23The conducted grid search delivered the best F1-score with a hidden layer of 12 neurons, ReLU as the activation function and a batch size of 10.The depth of the used decision tree is six.The number of decision trees in the random forest was 100.Although the decision tree is one of the simplest machine learning methods for this classification task, it yielded the best results.The results of training the algorithms are summarized in table 2, where the metrics precision and recal, which lead to the F1-score are also listed.The precision corresponds to the accuracy of positive predictions by the models, while the recall measures how well the models capture the actual positives.The data leading to the above mentioned metrics are displayed in Table 3.It can be seen that the false-positive rate of Random Forest and SVM is higher compared to the Decision Tree and FFNN.

CONCLUSION

24Detecting the loss of a tool's coating is crucial for predicting its remaining lifespan, as the wear rate increases significantly from that point onward.Detecting this point in time comes down to a classification problem.Despite existing machine learning-based wear detection techniques, it remains challenging to develop robust methods that are easily transferable, cost-efficient, and capable of providing good classification performance even with small datasets.Therefore, this study proposes an approach containing two steps.First a dataset prepossessing for extracting meaningful features in the form of mean and standard deviation of each color channel.This step is succeeded by training of multiple machine learning algorithms.In total four algorithms were tested on the image dataset of a TiN/AlTiN coated cutting tool.Amongst Decision Tree, Random Forest, Support Vector Machines and Feed Forward Neural Networks, the Decision Tree proofed to classify a worn through coating on the rake surface with the highest F1-score of 0.95.This study successfully provided an efficient data pre-processing framework and suggests a machine-learning model to tackle the issue of detecting coating layer loss with a cost-effective sensor method.For a more industrial friendly application of the proposed approach, the authors suggest to implement an inductive sensor to trigger capturing of the image if the tool is present in front of the camera.Furthermore, an industrial computer (IPC) in combination with a cost-effective sensor camera can be implemented and retrofitted to CNC machines, making the proposed approach highly transferable.Therefore, the applicability of the findings is valuable for end-users in industry as well as for tool manufacturers, as it enables an automated testing of the wear resistance of their developed coatings over time.Future research will focus on predicting the wear progression of the coating using machine learning, by training algorithms like U-Nets for image segmentation to automatically identify the areas of wear on the cutting tool.Using the area of wear as the input, additional algorithms will be trained and evaluated for their predictive capability in relation to tool wear.

Fig. 1 .

25Fig. 1.Experimental setup for grooving (left) and schematic drawing (right)

26is achieved after 1000 cuts (bottom right).The area of the rake face, which is in contact with the chip, is marked in Fig.2.

Fig. 2 .

27Fig. 2. Examples of recorded images.Virgin tool (top left), after 335 cuts (top right), after 675 cuts (bottom left) and after 1000 cuts (bottom right)

28( ( ) + ) ≥ 1 -ξ , ξ ≥0 = (∑ + =1 )

Fig. 3 .

29Fig. 3. Result of the data pre-processing with the proposed methods

Fig. 4 .

30Fig. 4. Resulting histogram for tool after 10 cuts (left) and after 1000 cuts (right)

Table 1 .

31DIN EN ISO 683-1 of used normalized AISI 1045

320.431 0.233 0.653 0.011 0.024 0.124 0.005 0.018 0.029 0.029

Table 2 .

33Classification performance of the chosen machine learning algorithms on a test dataset.

Table 3 .

34Confusion score of the implemented algorithms.

참고문헌 21건

  1. A review of machine vision sensors for tool condition monitoring Computers in Industry · Elsevier BV · 1997 10.1016/s0166-3615(96)00075-9
  2. Correlating tool wear, tool life, surface roughness and tool vibration in finish turning with coated carbide tools Wear · Elsevier BV · 1994 10.1016/0043-1648(94)90266-6
  3. CHMM for tool condition monitoring and remaining useful life prediction The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2011 10.1007/s00170-011-3536-7
  4. Use of the Hough transformation to detect lines and curves in pictures Communications of the ACM · Association for Computing Machinery · 1972 10.1145/361237.361242
  5. Random forest in remote sensing: A review of applications and future directions ISPRS Journal of Photogrammetry and Remote Sensing · Elsevier BV · 2016 10.1016/j.isprsjprs.2016.01.011
  6. An advanced numerical approach on tool wear simulation for tool and process design in metal cutting Simulation Modelling Practice and Theory · Elsevier BV · 2016 10.1016/j.simpat.2016.09.001
  7. FEM Simulation of Tool Wear in Drilling Procedia CIRP · Elsevier BV · 2017 10.1016/j.procir.2017.03.249
  8. Random Forests Machine Learning · Springer Science+Business Media · 2001 10.1023/a:1010933404324
  9. Tool wear classification using time series imaging and deep learning The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2019 10.1007/s00170-019-04090-6
  10. Decision Tree Classification with Differential Privacy ACM Computing Surveys · Association for Computing Machinery · 2019 10.1145/3337064
  11. A comprehensive survey on support vector machine classification: Applications, challenges and trends Neurocomputing · Elsevier BV · 2020 10.1016/j.neucom.2019.10.118
  12. Self-optimizing machining systems CIRP Annals · Elsevier BV · 2020 10.1016/j.cirp.2020.05.007
  13. A U-Net-Based Approach for Tool Wear Area Detection and Identification IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2020 10.1109/tim.2020.3033457
  14. Machine Learning with Neural Networks 2021 10.1017/9781108860604
  15. A Systematic Literature Review of Cutting Tool Wear Monitoring in Turning by Using Artificial Intelligence Techniques Machines · Multidisciplinary Digital Publishing Institute · 2021 10.3390/machines9120351
  16. Deep Learning (CNN) and Transfer Learning: A Review Journal of Physics Conference Series · IOP Publishing · 2022 10.1088/1742-6596/2273/1/012029
  17. Deep learning and rule-based image processing pipeline for automated metal cutting tool wear detection and measurement IFAC-PapersOnLine · Elsevier BV · 2022 10.1016/j.ifacol.2022.04.249
  18. Tool Wear Monitoring with Artificial Intelligence Methods: A Review Journal of Manufacturing and Materials Processing · Multidisciplinary Digital Publishing Institute · 2023 10.3390/jmmp7040129
  19. Tool wear prediction through AI-assisted digital shadow using industrial edge device Journal of Manufacturing Processes · Elsevier BV · 2024 10.1016/j.jmapro.2024.01.052
  20. A Data-Driven Approach for Cutting Force Prediction in FEM Machining Simulations Using Gradient Boosted Machines Journal of Manufacturing and Materials Processing · Multidisciplinary Digital Publishing Institute · 2024 10.3390/jmmp8030107
  21. Transient Wear Modelling of Coated Cutting Tools Procedia CIRP · Elsevier BV · 2024 10.1016/j.procir.2024.10.323