Next Article in Journal
A Multi-Modal Egocentric Activity Recognition Approach towards Video Domain Generalization
Next Article in Special Issue
Robust Cooperative Fault-Tolerant Control for Uncertain Multi-Agent Systems Subject to Actuator Faults
Previous Article in Journal
Robust Offloading for Edge Computing-Assisted Sensing and Communication Systems: A Deep Reinforcement Learning Approach
Previous Article in Special Issue
Convolutional Neural Network with Attention Mechanism and Visual Vibration Signal Analysis for Bearing Fault Diagnosis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Tool Condition Monitoring Using Machine Tool Spindle Current and Long Short-Term Memory Neural Network Model Analysis

Faculty of Mechanical Engineering, University of Maribor, Smetanova ul. 17, 2000 Maribor, Slovenia
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(8), 2490; https://doi.org/10.3390/s24082490
Submission received: 23 February 2024 / Revised: 26 March 2024 / Accepted: 11 April 2024 / Published: 12 April 2024
(This article belongs to the Special Issue AI-Assisted Condition Monitoring and Fault Diagnosis)

Abstract

:
In cutting processes, tool condition affects the quality of the manufactured parts. As such, an essential component to prevent unplanned downtime and to assure machining quality is having information about the state of the cutting tool. The primary function of it is to alert the operator that the tool has reached or is reaching a level of wear beyond which behaviour is unreliable. In this paper, the tool condition is being monitored by analysing the electric current on the main spindle via an artificial intelligence model utilising an LSTM neural network. In the current study, the tool is monitored while working on a cylindrical raw piece made of AA6013 aluminium alloy with a custom polycrystalline diamond tool for the purposes of monitoring the wear of these tools. Spindle current characteristics were obtained using external measuring equipment to not influence the operation of the machine included in a larger production line. As a novel approach, an artificial intelligence model based on an LSTM neural network is utilised for the analysis of the spindle current obtained during a manufacturing cycle and assessing the tool wear range in real time. The neural network was designed and trained to notice significant characteristics of the captured current signal. The conducted research serves as a proof of concept for the use of an LSTM neural network-based model as a method of monitoring the condition of cutting tools.

1. Introduction

The state of the cutting tool is a vital part of reaching the quality targets for machined components. As such, the lack of this information leads to uncertainty in manufacturing and has various consequences for the process as a whole. These consequences include a drop in product quality, unplanned downtime causing losses in productivity, and, of course, all the economic losses associated. During the machining of aluminium alloys, a turning tool experiences different mechanisms of wear; the primary mechanism of wear is adhesion, followed by diffusion at elevated temperatures, as well as oxidative wear [1]. The unplanned downtime that occurs as a direct consequence of excessive tool wear was estimated to be 7 to 20 percent [2].
For Industry 4.0, a major component is prognostic and health management systems (PHM) [3] that focus on efficiently detecting industrial components that have deviated from normal operation parameters or predicting when failures are likely to occur.
Thus, a reliable, real-time tool condition monitoring system is the heart of intelligent manufacturing and autonomous production lines [4]. There are two categories of tool condition monitoring systems, i.e., direct and indirect methods. With direct methods, the state of the cutting tool is evaluated visually through an optical microscope. The method has a high degree of accuracy and gives the best evaluation of the tool condition. It has, however, serious real-time limitations as it requires the cutting process to be interrupted to analyse the tool. Further, it requires specific optical equipment, which is not appropriate for the industrial environment in which these systems are to be installed. The indirect methods, despite providing lower accuracy, are much simpler to implement in industrial applications for economic reasons and their resistance to contaminated environments. They rely on correlating one or more sensor signals to the tool wear state. For this, multiple variables and detection methods can be used [5].
The cutting force signal is one of the most reliable, as it is in direct correlation to the state of the cutting edge and is therefore very sensitive to changes in tool state [5,6]. In their research, Li et al. [6] introduced a force-based system, with experimental results reaching 96.76% accuracy. Research by leading authors, such as the work carried out by Amigo et al. [7] and Urbikain et al. [8], focused on cutting force signals in relation to tool wear, has confirmed that in terms of pure accuracy, this is one of, if not the best, indirect measure signal sources. Despite their excellent qualities, the use of force-based systems has some drawbacks, as obtaining these values requires sensitive dynamometers and often other sensors. The use of these types of sensors in an industrial setting has problems of practicality due to environmental contamination as well as cost effectiveness.
Another interesting approach is the utilisation of thermography for tool wear analysis. Brili et al. [9] utilised the images captured by a thermal imagery camera, extracting features that correlate with the tool state. The accuracy of the developed system ranged from 96.25% to 100%. Despite the excellent accuracy of the developed system, it has similar problems as the cutting force approach, mainly in terms of cost effectiveness when implementing it in an industrial setting.
Systems for industrial applications gravitate towards low-cost, robust sensors that do not interfere with the monitored process. Rmili et al. [10] developed a system that correlates the vibrations that are produced during machining to tool wear. The proposed method is interesting; however, it has certain limitations. Specifically, the vibratory signals are very sensitive and influenced by many variables (environment, location of sensors, type of cutting fluid, etc.), a lot of which cannot be kept consistent for an industrial implementation.
For an industrial implementation of a system, it is always the most practical to use the machine’s internal data, such as power or electric current. This allows for even easier integration and is also the most cost-effective. As such, a lot of research has been conducted in the area of utilising these signals. Drouillet et al. [2] used the spindle internal power sensor signal to predict the remaining useful life of the tool (RUL). Jamshidi et al.’s [4] research focused on utilising the current signal to develop an alerting system that sends a warning before the tool wear begins to reach a critical level. Our research focuses on these same signals, as the overview of the literature showed that it is a highly accessible signal that requires no additional modifications or additions to the machine, with only a slight decrease in the tool wear to signal correlation.
There exist different methods of signal analysis for the purposes of TCMs. Among those, we can include conventional statistical analysis [11], the combination of time and frequency analysis [12], fractal analysis [4], as well as utilising artificial intelligence, such as genetic algorithms [13], and image analysis with a convolutional neural network [9]. There are also frameworks that further improve convolutional neural networks. One such framework is spatiotemporal pattern networks (STPN), which enable adaptive feature learning when dealing with multivariate time series. Together, these networks are referred to as ST-CNN [14].
Along with the type of signal and the analysis method, a third vital part of a tool for condition monitoring systems is data processing. As raw data can rarely be used without problems, additional processing is required to extract relevant features from the data. In their research, Tapia et al. utilised an interquartile range [15], whereas Aldekoa et al. divided their data into areas of interest based on their knowledge of the manufacturing process [16].
The nature of our observed signals and their end application supports the use of an artificial intelligence approach. Particularly promising for data series analysis are recurrent neural networks such as long short-term memory networks [17,18]. These networks provide the ability to shift the focus of the analysis from general statistical parameters and absolute values, allowing for the recognition of inherent patterns in the acquired signals [17].
The tool condition monitoring concept proposed also looks to add redundancy to the LSTM network predictions. This addition, in the form of a unanimous voting algorithm (UVA), works to remove spontaneous errors and even further increases the classification accuracy of the TCM system.
In this study, an external measurement system was used to obtain the current data from the main spindle of a purpose designed CNC lathe. The reason for this style of measurement was to test the concept without altering the production line. The conducted research serves as a proof-of-concept for the use of an LSTM neural network model in combination with an UVA redundancy algorithm as a tool for condition monitoring in an industrial setting. The innovative approach allows for real-time tool monitoring with the potential for complete integration into the machine’s system, as shown in Figure 1.
This study intends to demonstrate that combining LSTM network models with existing voting-based concepts to add redundancy makes a classification system more reliable than existing models. Functionality is compared against multiple alternative models using more advanced sensing methods that do not use such support systems as the UVA used in the presented case.
The study has a strong focus on developing a system that is feasible for industrial implementation; thus, the model is based solely on the spindle current and no other signals, which allows for its introduction to be simple and without the need for large investments.

2. Materials and Methods

The main objective of this research is to prove that the current signal recorded on the main spindle is suitable and sufficient for determining the level of tool wear when analysed with a neural network classification model.
There is a considerable presence of noise in the current signal on the main spindle. That is the advantage of the recurrent neural network approach, as it allows for the analysis of not only the absolute current values but also the entire current graphed over the entire machining cycle.
The work is divided into the following: (I) experiment—acquisition of current time sequences during the milling cycle; (II) training a LSTM classification model—sequences filtered and divided into test and training groups, training the neural network on the latter group; (III) testing the model—the trained model was tested on previously unseen current signals; and (IV) improving functionality with an unanimous voting system algorithm (UVS)—improving the functionality by adding redundancy further improves the model’s accuracy.

2.1. Experiment

The turning process is affected by several factors as a consequence of machine properties, tool and mount type, cutting parameters, and external disturbances [6]. Despite obtaining the data from a production line in normal operation, most of these factors were held constant while the measurements were conducted. That is due to the CNC lathe being set up to conduct a single type of machining on consistent input material.
The current signal was recorded throughout the entire useful lifetime of the tool, which was roughly 1000 manufacturing cycles.
This style of data acquisition was conducted due to several factors, the chief of which was obtaining the data during normal operation of the production line. Due to limitations in obtaining data on the physical side, we decided to focus on data processing to eliminate unrepresentative current sequences (expected down times, outliers, etc.).

2.2. Categorising Tool Wear Levels

Tool wear can be analysed in several ways. Direct means, such as inspection of the tools under an optical microscope by an experienced examiner, can determine the wear level in great detail. There are also empirical methods, such as the Niakis method [19], that allow us to remove the human factor from the inspection process.
The main aim of the research is the development of an intelligent system that determines tool wear for the purposes of classifying tool wear and alerting the operator. For that reason, despite the fact that exact wear level prediction was feasible, a more practical approach was taken by assigning the tool wear to predetermined classes based on the actions required to maintain the production line. The wear classes were determined based on previous experience and the required quality standards of the final product. Currently, the tools are replaced every 1000 cycles to ensure sufficient surface quality. This led to separating the tool’s useful life into 3 categories (low, moderate, and high wear level).
As there was no secondary method to determine tool wear, buffer zones (50 machining cycles) were left between classes to protect against border cases in the training of the neural network. The breakdown of classes can be seen in Table 1.

2.3. Current Signal Acquisition

The current signal was recorded with external measurement equipment, and the effective current value was monitored at the output of the spindle drive (Sinamics CU320-2 PN), as well as other electrical parameters. The measuring equipment used was an MI2792 Power Q4 power quality analyser manufactured by Metrel. The main parameters of the device are provided in Table 2.
The measurements of the signal were conducted in 100 ms intervals and outputted as the average values of the effective current in those intervals. This signal-capturing method was used to reduce the amount of noise in the recorded dataset.

2.4. Experimental Setup

As mentioned, most of the machining parameters for the process we are obtaining our data from are already known (Table 3). These parameters are held constant and ensure that all the data obtained are acquired under identical circumstances, with the only significantly varying factor being tool wear. Ensuring the model is trained on a consistent database is paramount to generating a robust model.
The exact equipment used in the experiment and the cutting tool assembly are presented in Figure 2.

2.5. Long Short-Term Memory Network

The current-time sequences were classified using an artificial intelligence method. Specifically, a recurrent long short-term memory network. This style of artificial neural network was used because of its advantages when compared to regular feed-forward neural networks. In a classical neural network, the inputs are individual data points. This style of inputting data is applicable when different variables are used simultaneously to predict tool wear.
Typically, 3 to 8 input variables are used [20]. Examples include the following: number of revolutions, machining time, and cutting force [21]; material of the tool, the sharpening mode, the nominal diameter, the number of revolutions, the feed rate, and the drilling length [21]; depth of cut, cutting speed, and feed to the tooth [22]. The maximum number of inputs that were utilized successfully when using fully connected neural networks was 20 [23]. In the case of using time sequences as neural network inputs, such as in this study, a fully connected neural network would have more than 100 individual inputs, each being a separate datapoint.
Such an input net size would be too expansive for a fully connected layer to process, as it would create an expansive network with a high training and execution time. Not only that, but in this method, the seemingly significant parts of the current signal would have to be determined to reduce complexity, adding to the risk of potentially faulty personal perception.
By using an LSTM memory network, these issues can be avoided, as recursive neural networks can take data sequences as single inputs. This type of network also does not require the significant parts of the signal to be determined in advance, as the network is trained to analyse not only the individual data points but also the relationships between them. This results in the network analysing the shape of the signal rather than the absolute current values.
What differentiates this type of neural network from a classic feed-forward network is the recurrent LSTM layer consisting of repeating modules, as shown in Figure 3. These contain 4 independent neural networks that allow the network to add or remove information in the training phase.
Mathematically, this layer is described with the following formulae [24]:
f t = σ ( W f * [ h t 1   ,   x t ] + b f
i t = σ ( W i * [ h t 1   ,   x t ] + b i
o t = σ ( W o * [ h t 1   ,   x t ] + b o
c ˜ t = t a n h ( W c * [ h t 1   ,   x t ] + b c
c t = f t c t 1 + i t c ˜ t  
h t = o t tan h ( c t )
where the initial values are co = 0 and ho = 0, and the operator denotes an element-wise product. Where d and h refer to the number of input sequences and the number of hidden units, respectively, the variables are defined as:
  • x t d : input vector to the LSTM module;
  • f t ( 0 , 1 ) h : activation vector of the forget gate;
  • i t ( 0 , 1 ) h : update gate activation vector;
  • o t ( 0 , 1 ) h : output gate activation vector;
  • h t ( 1 , 1 ) h : hidden state or LSTM output vector;
  • c ˜ t h : cell input activation vector;
  • c t h : cell value vector;
    W h x d and b h : matrices of NN weights and bias vector parameters that adapt during training.
The development of LSTM is a lengthy process; however, starting point structures are freely available. In the study, some of the network’s parameters were additionally optimised to achieve the best compromise between functionality and response time. The parameters chosen for optimisation were the number of training iterations and the network learning rate (see Figure 4 and Figure 5).

2.6. Unanimous Voting System Algorithm

To additionally reduce the occurrence of false alarms in the final monitoring application, a way to add redundancy in the analysis was required. The proposed solution is a simple voting system where the neural network model triggers the appropriate alarm based on multiple consecutive analyses, requiring them to be identical.
The unanimous voting system is a basic algorithm that compares 3 consecutive classifications that the neural network prediction model performs in real time. When the system recognises an identical wear level after three machining cycles in a row, the process can be interrupted, with the minimum risk of a false alarm downtime. The flowchart for the final monitoring application can be seen in Figure 6.

3. Results and Discussion

In Section 2.3, the process of acquiring the spindle current data in relation to time as well as the distribution of that data into three categories of tool wear is presented. The entire data set was split into two groups for training and testing the neural network. Initially, the LSTMNN was trained on a set of designated training data, and later, the performance of the model was further tested with a set of testing signals—ones the network did not encounter during training. The size and distribution of the described sets are given in Table 4.
The classification quality was evaluated using the parameters of accuracy, recall, and precision [25] to ensure reliability. To visualise the results of the model’s classification attempts, contingency tables were used.
The trained model was then implemented with the unanimous voting algorithm and had its accuracy tested again.

3.1. Training Set Results

Firstly, the training process was conducted, and then all the training data were classified. The resulting contingency table is depicted in Figure 7.
A brisk inspection of Figure 7 shows that a trained network correctly determined 1102 out of 1106 current signals after being tasked with classifying them.
The signals that resulted in false predictions were additionally analysed to determine the error source. Inspection showed that the false prediction resulted from current data sequences that were located on the edges of the wear intervals (see Table 1). Thus, the false predictions are mostly concentrated in the “moderate wear” class with two border zones.

3.2. Testing Set Results

Firstly, the training process was conducted, and then all the training data were classified. The resulting contingency table is depicted in Figure 8.
The change in model performance can be most easily evaluated via accuracy. A slight decrease in the said parameter can be observed between the training and testing data classifications (99.64% falling down to 96.93%), but not outside of what is expected.
The network correctly categorised 347 out of 358 current signals. When observing the error distribution, the bulk of the models’ errors are in the “moderate wear” class, as was observed with the categorisation of training data. Additionally, all but one of the errors are one class over, with a tendency towards the higher wear class. This fact is important from a practical point of view for the intended implementation of such a system in an industrial setting. A random error distribution, despite its high accuracy, would be unfavourable.

3.3. Unanimous Voting System (UVS)

While a classification accuracy of ~97% is certainly high, additional methods were consulted to improve the reliability of the model even further. A method that was implemented is an inherent redundancy that requires the model to make three consecutive identical tool wear estimations (Figure 8), before resulting in an alarm or notification to the process overview interface. A more detailed description can be found in Section 2.6.
This, along with the inherent model accuracy of 96.93%, increases the predictive system’s accuracy to effectively 100% (99.99%).

4. Discussion

The study presented addresses the following two main questions: whether the condition of the cutting tool used in CNC turning can be monitored with an artificial neural network, and whether the current signal captured on the main spindle is a sufficient feature for that application.
The current sequences are analysed using a long short-term memory recurrent neural network. An individual current signal data sequence consisted of a continuous 5 s spindle current measurement coinciding with the machining cycle. The obtained sequences of data were then divided into groups based on the age of the cutting tool in terms of machining cycles. The conclusions of the research are the following:
  • Cutting tools were successfully divided into groups according to tool wear.
  • The proposed method is confirmed to be applicable to a tool condition monitoring system.
  • The current signal is a sufficient feature for determining tool wear.
  • The accuracy of the proposed system ranges from 96.93% to effectively 100%, with additional wear prediction redundancy in the form of a UVA.
The results are more than encouraging when compared to other studies utilising the neural network modelling approach. The results are as follows: 5%, 10.7%, and 22% errors for estimated tool wear for milling tools [26]; 99% accuracy for useful life prediction using a neuro-fuzzy network with wireless sensor [27]; comparison of predicting exact tool wear with different algorithms, where the LSTM reached an accuracy of 92.54% [28]; a similar study classifying the tool wear rather than predicting the exact value [29] achieved an accuracy of 95.25%, the highest when compared to RNN (85.26%) and Feedforward NN (79.35%). Convolutional neural networks are also commonly used, reaching accuracy as high as 96.25% [9].
In Table 5, the methods are further described and compared to the results of our research. The main comparisons that are being focused on are the overall accuracy of the models as well as the measuring equipment required to obtain the signal on which the predictions are based. The latter is used to illustrate the applicability of such a system for an industrial application, where low cost and resistance to contamination are prioritized.
The proposed classification system based on LSTM Neural Network spindle current analysis with added redundancy is more accurate and allows for easier integration than other similar TCM systems.

5. Conclusions and Future Work

The system presented is an intelligent tool condition monitoring solution, showing high potential with its high accuracy and reliability, low investment cost (most necessary adaptations are digital), and high level of possible integration into the process machinery. It serves the goal of removing unpredictable decision-making based on human operator experience and knowledge, in line with the ideals of Industry 4.0.
The future development of this system will include improving data acquisition, expanding the dataset, and using more reliable measures of establishing tool wear in the training data. The latter can be achieved by visually inspecting the tool plates or utilizing the Niakis method [19]. Further, it is intended to expand upon the way class distribution is determined and increase the number of said classes. These would include classes to address the areas of uncertainty that can be observed when classifying the cases on the borders of wear intervals.
The generalizability of the model has not been directly examined in this study. However, based on other studies in the field of machine learning-based TCM systems [31], it can be concluded that LSTM networks have the ability to reach a certain level of generalisation, especially when utilised with existing redundancy concepts. This is also one of the future development goals for the system. By training and testing on a larger dataset with variations in the machining parameters such as cutting speed, feed rate, and cut depth, as well as changes in material, we could develop a robust system that can adjust to changes in manufacturing conditions. Additionally, more advanced methods of integrating redundancy would be considered, such as majority voting utilising multiple LSTM models trained on similar but separate data.
Finally, as industrial applicability is a large goal, utilising the machine’s internal sensors to record the current signal is a must. The ability to use the signals already existing on the equipment would be a great benefit, both in terms of reducing cost and complexity.

Author Contributions

Conceptualization, S.K.; methodology, N.T.; validation, S.K.; formal analysis, N.T.; investigation, N.T. and S.K.; data curation, N.T.; writing—original draft preparation, N.T.; writing—review and editing, S.K.; funding acquisition, S.K. All authors have read and agreed to the published version of the manuscript.

Funding

The authors acknowledge the financial support from the Slovenian Research Agency (Research Core Funding No. P2-0157).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data Availability Statements are available in all Sections.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Meng, X.; Lin, Y.; Mi, S. The Research of Tool Wear Mechanism for High-Speed Milling ADC12 Aluminum Alloy Considering the Cutting Force Effect. Materials 2021, 14, 1054. [Google Scholar] [CrossRef] [PubMed]
  2. Drouillet, C.; Karandikar, J.; Nath, C.; Journeaux, A.-C.; El Mansori, M.; Kurfess, T. Tool life predictions in milling using spindle power with the neural network technique. J. Manuf. Process. 2016, 22, 161–168. [Google Scholar] [CrossRef]
  3. Biggio, L.; Kastanis, I. Prognostics and Health Management of Industrial Assets: Current Progress and Road Ahead. Front. Artif. Intell. 2020, 3, 578613. [Google Scholar] [CrossRef] [PubMed]
  4. Jamshidi, M.; Chatelain, J.-F.; Rimpault, X.; Balazinski, M. Tool Condition Monitoring Using Machine Tool Spindle Electric Current and Multiscale Analysis while Milling Steel Alloy. J. Manuf. Mater. Process. 2022, 6, 115. [Google Scholar] [CrossRef]
  5. Pimenov, D.Y.; Gupta, M.K.; da Silva, L.R.; Kiran, M.; Khanna, N.; Krolczyk, G.M. Application of measurement systems in tool condition monitoring of Milling: A review of measurement science approach. Measurement 2022, 199, 111503. [Google Scholar] [CrossRef]
  6. Li, N.; Chen, Y.; Kong, D.; Tan, S. Force-based tool condition monitoring for turning process using v-support vector regression. Int. J. Adv. Manuf. Technol. 2016, 91, 351–361. [Google Scholar] [CrossRef]
  7. Amigo, F.; Urbikain, G.; de Lacalle, L.L.; Pereira, O.; Fernández-Lucio, P.; Fernández-Valdivielso, A. Prediction of cutting forces including tool wear in high-feed turning of Nimonic® C-263 superalloy: A geometric distortion-based model. Measurement 2023, 211, 112580. [Google Scholar] [CrossRef]
  8. Urbikain, G.; de Lacalle, L.L. MoniThor: A complete monitoring tool for machining data acquisition based on FPGA programming. SoftwareX 2019, 11, 100387. [Google Scholar] [CrossRef]
  9. Brili, N.; Ficko, M.; Klančnik, S. Tool Condition Monitoring of the Cutting Capability of a Turning Tool Based on Thermography. Sensors 2021, 21, 6687. [Google Scholar] [CrossRef]
  10. Rmili, W.; Ouahabi, A.; Serra, R.; Leroy, R. An automatic system based on vibratory analysis for cutting tool wear monitoring. Measurement 2016, 77, 117–123. [Google Scholar] [CrossRef]
  11. Arslan, H.; Er, A.O.; Orhan, S.; Aslan, E. Tool Condition Monitoring in Turning Using Statistical Parameters of Vibration Signal. Int. J. Acoust. Vib. 2016, 21, 371–378. [Google Scholar] [CrossRef]
  12. Choi, Y.J.; Park, M.S.; Chu, C.N. Prediction of drill failure using features extraction in time and frequency domains of feed motor current. Int. J. Mach. Tools Manuf. 2008, 48, 29–39. [Google Scholar] [CrossRef]
  13. Liao, X.; Zhou, G.; Zhang, Z.; Lu, J.; Ma, J. Tool wear state recognition based on GWO–SVM with feature selection of genetic algorithm. Int. J. Adv. Manuf. Technol. 2019, 104, 1051–1063. [Google Scholar] [CrossRef]
  14. Han, T.; Liu, C.; Wu, L.; Sarkar, S.; Jiang, D. An adaptive spatiotemporal feature learning approach for fault diagnosis in complex systems. Mech. Syst. Signal Process. 2019, 117, 170–187. [Google Scholar] [CrossRef]
  15. Tapia, E.; Lopez-Novoa, U.; Sastoque-Pinilla, L.; López-De-Lacalle, L.N. Implementation of a scalable platform for real-time monitoring of machine tools. Comput. Ind. 2024, 155, 104065. [Google Scholar] [CrossRef]
  16. Aldekoa, I.; del Olmo, A.; Sastoque-Pinilla, L.; Sendino-Mouliet, S.; Lopez-Novoa, U.; de Lacalle, L.N.L. Early detection of tool wear in electromechanical broaching machines by monitoring main stroke servomotors. Mech. Syst. Signal Process. 2023, 204, 110773. [Google Scholar] [CrossRef]
  17. Chan, Y.-W.; Kang, T.-C.; Yang, C.-T.; Chang, C.-H.; Huang, S.-M.; Tsai, Y.-T. Tool wear prediction using convolutional bidirectional LSTM networks. J. Supercomput. 2021, 78, 810–832. [Google Scholar] [CrossRef]
  18. Sun, H. Optimizing Manufacturing Scheduling with Genetic Algorithm and LSTM Neural Networks. Int. J. Simul. Model. 2023, 22, 508–519. [Google Scholar] [CrossRef]
  19. Niaki, F.A.; 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]
  20. Pontes, F.J.; Ferreira, J.R.; Silva, M.B.; Paiva, A.P.; Balestrassi, P.P. Artificial neural networks for machining processes surface roughness modeling. Int. J. Adv. Manuf. Technol. 2009, 49, 879–902. [Google Scholar] [CrossRef]
  21. Spaic, O.; Krivokapic, Z.; Kramar, D. Development of family of artificial neural networks for the prediction of cutting tool condition. Adv. Prod. Eng. Manag. 2020, 15, 164–178. [Google Scholar] [CrossRef]
  22. Savkovic, B.; Kovac, P.; Rodic, D.; Strbac, B.; Klancnik, S. Comparison of artificial neural network, fuzzy logic and genetic algorithm for cutting temperature and surface roughness prediction during the face milling process. Adv. Prod. Eng. Manag. 2020, 15, 137–150. [Google Scholar] [CrossRef]
  23. Gouarir, A.; Martínez-Arellano, G.; Terrazas, G.; Benardos, P.; Ratchev, S. In-process Tool Wear Prediction System Based on Machine Learning Techniques and Force Analysis. Procedia CIRP 2018, 77, 501–504. [Google Scholar] [CrossRef]
  24. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  25. Brili, N.; Ficko, M.; Klančnik, S. Automatic Identification of Tool Wear Based on Thermography and a Convolutional Neural Network during the Turning Process. Sensors 2021, 21, 1917. [Google Scholar] [CrossRef] [PubMed]
  26. Chi, Y.; Dai, W.; Lu, Z.; Wang, M.; Zhao, Y. Real-Time Estimation for Cutting Tool Wear Based on Modal Analysis of Monitored Signals. Appl. Sci. 2018, 8, 708. [Google Scholar] [CrossRef]
  27. Zhang, C.; Yao, X.; Zhang, J.; Jin, H. Tool Condition Monitoring and Remaining Useful Life Prognostic Based on a Wireless Sensor in Dry Milling Operations. Sensors 2016, 16, 795. [Google Scholar] [CrossRef] [PubMed]
  28. Cai, W.; Zhang, W.; Hu, X.; Liu, Y. A hybrid information model based on long short-term memory network for tool condition monitoring. J. Intell. Manuf. 2020, 31, 1497–1510. [Google Scholar] [CrossRef]
  29. Tao, Z.; An, Q.; Liu, G.; Chen, M. A novel method for tool condition monitoring based on long short-term memory and hidden Markov model hybrid framework in high-speed milling Ti-6Al-4V. Int. J. Adv. Manuf. Technol. 2019, 105, 3165–3182. [Google Scholar] [CrossRef]
  30. Cooper, C.; Wang, P.; Zhang, J.; Gao, R.X.; Roney, T.; Ragai, I.; Shaffer, D. Convolutional neural network-based tool condition monitoring in vertical milling operations using acoustic signals. Procedia Manuf. 2020, 49, 105–111. [Google Scholar] [CrossRef]
  31. Schueller, A.; Saldaña, C. Generalizability analysis of tool condition monitoring ensemble machine learning models. J. Manuf. Process. 2022, 84, 1064–1075. [Google Scholar] [CrossRef]
Figure 1. A schematic overview of a proposed tool condition monitoring system using AI to assess tool wear based on the spindle electric current signal.
Figure 1. A schematic overview of a proposed tool condition monitoring system using AI to assess tool wear based on the spindle electric current signal.
Sensors 24 02490 g001
Figure 2. Key components of the experiment include: (a) workpieces utilised in the machining process; (b) configuration of the power quality analyser to assess the output from the spindle drive; (c) assembly of the cutting tool; and (d) geometry of the cutting plate.
Figure 2. Key components of the experiment include: (a) workpieces utilised in the machining process; (b) configuration of the power quality analyser to assess the output from the spindle drive; (c) assembly of the cutting tool; and (d) geometry of the cutting plate.
Sensors 24 02490 g002aSensors 24 02490 g002b
Figure 3. Schematic representation of the LSTM recurring layer.
Figure 3. Schematic representation of the LSTM recurring layer.
Sensors 24 02490 g003
Figure 4. Optimisation of the number of training iterations against classification accuracy and the training cycle duration.
Figure 4. Optimisation of the number of training iterations against classification accuracy and the training cycle duration.
Sensors 24 02490 g004
Figure 5. Optimisation of the learning rate against classification accuracy and the training cycle duration.
Figure 5. Optimisation of the learning rate against classification accuracy and the training cycle duration.
Sensors 24 02490 g005
Figure 6. The flowchart for the final tool condition monitoring application that has an integrated algorithm for additional redundancy.
Figure 6. The flowchart for the final tool condition monitoring application that has an integrated algorithm for additional redundancy.
Sensors 24 02490 g006
Figure 7. Contingency table of classification results when analysing the training data set.
Figure 7. Contingency table of classification results when analysing the training data set.
Sensors 24 02490 g007
Figure 8. Contingency table of classification results when analysing the testing data set.
Figure 8. Contingency table of classification results when analysing the testing data set.
Sensors 24 02490 g008
Table 1. Tool wear class assignment based on the number of completed machining cycles.
Table 1. Tool wear class assignment based on the number of completed machining cycles.
Number of Machining CyclesClass
0–300Low wear
350–650Moderate wear
700–1000High wear
Table 2. Specifications of the power quality analyser MI2792 Power Q4.
Table 2. Specifications of the power quality analyser MI2792 Power Q4.
Measurement MethodMeasuring RangeMeasurement AccuracyResponse Time
Flexible current clamps1 mA–30 A±0.25%<1 µs
Table 3. Boundary conditions and constant parameters in our experimental setup.
Table 3. Boundary conditions and constant parameters in our experimental setup.
Part of Experimental SetupParameterBasic Experiment
Cutting parametersCutting depth0.5 mm
Cutting speed530 m/min
Feed rate3.3 m/min
CoolingExternal emulsion cooling
Workpiece materialMaterial typeAluminium alloy
ProducerImpol LLT
ENAW-6082
Yield strength260 MPa
Cutting toolTypeCustom designed
ProducerWalter tools
MaterialPolycrystalline diamond
GeometryPositive
Corner radius1.2 mm
Cutting edge length12 mm
LatheProducerUnior
Type572-0000-0
Table 4. Number of current data sequences in the training and testing data sets.
Table 4. Number of current data sequences in the training and testing data sets.
ElementLowModerateHighCombined
Training set3263794011106
Testing set81136141358
Table 5. Comparison of the model proposed (first line) in the study against existing research.
Table 5. Comparison of the model proposed (first line) in the study against existing research.
MethodObserved SignalMeasuring RequirementsAccuracyReference
LSTM neural networkCurrentInternal current sensors96.93–99.99%/
Modal analysisVibrationsDynamometers78–95%[26]
Neuro-fuzzy networkVibrationsWireless accelerometer99%[27]
LSTM neural networkForceMultiple external sensors92.54%[28]
LSTM-hidden Markov modelForceDynamometer95.25%[29]
CNNThermal imageThermal camera96.25%[9]
CNNAcoustic signalSpherical beamformer65–99.5%[30]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Turšič, N.; Klančnik, S. Tool Condition Monitoring Using Machine Tool Spindle Current and Long Short-Term Memory Neural Network Model Analysis. Sensors 2024, 24, 2490. https://doi.org/10.3390/s24082490

AMA Style

Turšič N, Klančnik S. Tool Condition Monitoring Using Machine Tool Spindle Current and Long Short-Term Memory Neural Network Model Analysis. Sensors. 2024; 24(8):2490. https://doi.org/10.3390/s24082490

Chicago/Turabian Style

Turšič, Niko, and Simon Klančnik. 2024. "Tool Condition Monitoring Using Machine Tool Spindle Current and Long Short-Term Memory Neural Network Model Analysis" Sensors 24, no. 8: 2490. https://doi.org/10.3390/s24082490

APA Style

Turšič, N., & Klančnik, S. (2024). Tool Condition Monitoring Using Machine Tool Spindle Current and Long Short-Term Memory Neural Network Model Analysis. Sensors, 24(8), 2490. https://doi.org/10.3390/s24082490

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