Study on Methods and a System for Real-Time Monitoring of the Remaining Useful Life of a Milling Cutter
Abstract
1. Introduction
2. Research Methodology
2.1. Signal Processing Methodologies
2.1.1. Methodologies for the Sampling and Processing of Spindle Load Current
2.1.2. Outlier Detection Using Quartiles
2.2. Modeling Method
2.2.1. Generalized Regression Neural Network (GRNN) Methodology
2.2.2. K-Fold Cross-Validation Methodology
2.3. Experimental Setup
2.4. Development of Tool Wear Monitoring Methodologies
2.4.1. Utilization of the GRNN Methodology for Tool Residual Life Estimation
2.4.2. GRNN Model Training Paradigms
- GRNN model training paradigm A-1Training paradigm A-1 employs the entirety of the experimental data from all three materials to train the model. The optimal smoothing parameters, which minimize the predictive error of RUL across the three materials, are determined in accordance with the model training methodology previously delineated. Subsequently, the predictive accuracy of the model is validated for each individual material by utilizing their respective validation datasets.
- GRNN model training paradigm A-2Training paradigm A-2 involves the utilization of discrete training datasets for each of the three materials, culminating in the development of three distinct predictive models, each specifically tailored to estimate the RUL of tools used on a particular material. The optimal smoothing parameters for each material-specific model are determined by minimizing the training error within that specific material’s dataset. Subsequently, the predictive accuracy of these three distinct models is assessed using their respective validation datasets, and the results are compared with those obtained from the model trained under paradigm A-1. This comparative analysis aims to elucidate the discrepancies in predictive accuracy observed between the two distinct data classification methodologies when applied to the validation datasets.
- GRNN model training paradigm BIn training paradigm B, nine distinct experimental datasets were generated for each of the three materials, encompassing three variations in machining parameters and three replicates per variation. Subsequently, the aggregate experimental data was randomized and partitioned into five distinct subsets, representing 100%, 75%, 50%, 25%, and 0% of the total dataset, respectively. Each of these five subsets was amalgamated with the complete experimental datasets of the remaining two materials, resulting in the training of five unique RUL prediction models. Consequently, the model trained using the 100% dataset in paradigm B mirrors the training dataset utilized in paradigm A-1. The predictive accuracy of these models, trained with varying dataset sizes, was then evaluated using the respective validation datasets for each of the three materials. This evaluation aimed to compare the predictive accuracy against that of the model trained under paradigm A-1, which employed the entire dataset of all three materials, thereby facilitating the determination of the optimal dataset size for achieving the most favorable cost-effectiveness ratio.
- Workflow for GRNN model training in tool residual life prediction
- Cutting experiments were performed using three distinct ferrous materials (AISI 1045, AISI 4140, AISI W2), with three variations in machining parameters and three replicates per variation, to collect spindle current, tool usage time, and current rise rate data.
- A 1.4-fold increase in spindle current was established as the cessation criterion for tool life.
- The dataset was preprocessed to define input and output variables. Input parameters, including depth of cut, material hardness, tool usage time, and current rise rate, were meticulously selected to predict the RUL. The output variable was defined as the actual RUL for each data point.
- Data planning and organization involved partitioning the experimental data for each of the three materials, allocating 80% for training purposes and the remaining 20% for model testing. The testing dataset, which was not utilized in model fine-tuning, served to evaluate the predictive accuracy of the trained model.
- All experimental data underwent normalization to enforce a uniform scale across all features within the training dataset during the model training process.
- Workflow for GRNN model training paradigm A
- A baseline model was trained utilizing the complete preliminary experimental dataset encompassing all three material hardness levels (AISI 1045, AISI 4140, AISI W2), enabling the prediction of RUL across varying material hardness.
- Ten-fold cross-validation was employed to optimize the smoothing parameters of the training data, thereby minimizing the predictive error.
- Following an initial training iteration, outliers were identified and removed from the training dataset, and the model was subsequently retrained.
- The baseline model’s performance was validated by computing the RMSE and MAPE across the three material hardness levels, serving as a comparative benchmark.
- Material-specific predictive models for tool residual life were independently trained for each of the three material hardness levels.
- Ten-fold cross-validation was applied to fine-tune the material-specific models, aiming to minimize the predictive error.
- Outliers were removed from the training datasets based on the initial training results, and the material-specific models were subsequently retrained.
- The performance of each material-specific model was validated by computing the RMSE and MAPE for its respective material hardness level.
- A comparative analysis was conducted to evaluate the discrepancies in predictive accuracy between the baseline model and the material-specific models, thereby assessing the impact of different training methodologies.
- Workflow for GRNN model training paradigm A
- A baseline model was trained utilizing the complete preliminary experimental dataset, encompassing all three material hardness levels (AISI 1045, AISI 4140, AISI W2), enabling the prediction of tool residual life across varying material hardness.
- Ten-fold cross-validation was employed to optimize the model’s smoothing parameters, thereby minimizing the predictive error.
- Following an initial training iteration, outliers were identified and removed from the training dataset, and the model was subsequently retrained.
- The baseline model’s performance was validated by computing the RMSE and MAPE across the three material hardness levels, using the validation dataset, and serving as a comparative benchmark.
- Data partitioning was conducted, wherein subsets comprising 75%, 50%, 25%, and 0% of the experimental data for a specific material were generated through random sampling. Each subset was then amalgamated with the complete experimental datasets of the remaining two materials, resulting in the training of distinct models.
- Ten-fold cross-validation was employed to fine-tune the models trained with the partitioned datasets, aiming to minimize the predictive error.
- Outliers were removed from the training datasets based on the initial training results, and the models were subsequently retrained.
- The performance of each model trained with partitioned datasets was validated by computing the RMSE and MAPE using the respective validation dataset for the specific material, and the results were compared with the errors obtained from the baseline model trained with the complete dataset of all three materials.
3. Tool Wear Surveillance and Diagnostic System
3.1. Configuration and Operational Procedures for the Tool Wear Surveillance and Diagnostic System
3.1.1. User Pre-Configuration Interface
- Configuring controller connectivity parameter sub-interfaceAs outlined in Section 2.3, the monitoring system architecture employs Servbox as an intermediary for controller communication. The Connection IP and PORT adhere to the default format for invoking Servbox via TMTC commands, the syntax and controller compatibility of which are detailed in the TMTC user manual. The Connection ID serves as a user-defined identifier for the machine connected to Servbox, which can be modified within Servbox to suit specific requirements. This functionality enables users to retrieve data from diverse controller brands by altering the Connection ID when Servbox is concurrently connected to multiple machines.
- Configuring ammeter connectivity parameter sub-interfaceThe PA310 ammeter utilizes the RS485 communication protocol to transmit data to the host PC. This research employed the EasyModBus API provided by Hsin Cheng Corporation (Taoyuan City, Taiwan) to establish a direct communication interface with the ammeter. Users must verify that the COM port assigned to the ammeter matches the configuration settings to establish a successful connection. Subsequently, a clamp meter is installed on the spindle power supply to acquire spindle current data.
- Configuring detailed tool parameter configuration sub-interfaceThe tool detail parameter configuration function enables the specification of detailed tool parameters, such as tool name, number of flutes, and diameter. Users sequentially define and store the detailed parameters for each tool, following the tool number sequence in the machine tool magazine. The system automatically generates a file corresponding to each tool number in a designated directory to store the tool’s detailed parameters. Upon selection of a tool number with pre-configured details, the software autonomously searches the directory for a file matching the selected tool number and populates the interface with the stored parameters. During machining, when a block executes a tool change command, the system promptly displays the current tool number and automatically imports the associated detailed parameters into the tool wear surveillance and diagnostic system.
- Threshold and machining parameter sub-interfaceThis sub-interface facilitates the configuration of monitoring thresholds and machining parameters for specific programs. The monitoring interface provides real-time display of the imported program name, prompting users to specify the depth of cut, material hardness, and machining mode (roughing or finishing) associated with the program. Upon selection of the roughing mode, surface roughness threshold settings are automatically disabled, and the surface roughness prediction module is deactivated during machining monitoring. Users define a critical RUL threshold multiplier (recommended value: 1.4×) to establish the tool replacement criterion. Conversely, when the finishing mode is engaged, users are required to stipulate both the baseline surface roughness value—representing the surface finish achievable with a new tool under the designated machining parameters—and the permissible surface roughness threshold. The system will subsequently initiate a tool replacement notification upon the projected surface roughness surpassing the established threshold. The configured parameters are stored in a file named after the program within a designated directory. Similar to the tool detail parameter configuration sub-interface, the system automatically searches for and populates the interface with previously stored settings when a program is selected from the dropdown menu.
- Machining program importation and diagnostic region sub-interfaceUpon selection of the “input” dropdown menu within the program importation interface, the system initiates a search for all files with the “.nc” extension within the designated directory, presenting them for user program importation. To mitigate the potential for misinterpretations arising from fluctuations in tool cutting volume, the system provides a user-definable diagnostic block feature, thereby minimizing the impact of cutting volume variations on anomaly surveillance. Users are required to manually define contiguous program segments characterized by consistent cutting volumes to serve as diagnostic blocks. Diagnostic procedures are exclusively activated when the machining block traverses a designated stable cutting region; conversely, diagnostic processes are suspended when the machining block is situated outside these regions. The system automatically designates the leading segment within the stable cutting region (identified by the two lowest sequential block numbers) as the program’s initial machining current acquisition zone, which is visually distinguished by a red background. Subsequently, users select a stable cutting region exhibiting machining conditions analogous to the initial current acquisition zone to function as the diagnostic block for machining anomaly surveillance, which is visually represented by a cyan background. Anomaly surveillance is initiated upon the machining block’s entry into the user-defined diagnostic region.
3.1.2. Real-Time Machining Status Monitoring Interface
- Controller status sub-interfaceThe controller status sub-interface verifies the connectivity of Servbox with the controller and peripheral devices. A green “Connect” indicator illuminates upon successful establishment of all device connections; conversely, a red “Disconnect” indicator signals a failure in Servbox connectivity with the controller or data acquisition (DAQ) system. The CNC operational status indicator mirrors the machine tool’s alert lights, providing real-time visualization of the controller’s current operational state (paused, running, or alarm). Workpiece engagement detection involves the real-time monitoring of collected current values, which are subsequently compared against idle current values to ascertain tool engagement with the workpiece.
- Machining parameter surveillance sub-interfaceThe machining parameter surveillance sub-interface provides real-time visualization of the following data points: the current machining program’s operational mode (roughing or finishing), the programmed depth of cut, the commanded spindle speed, the active feed rate, the cumulative workpiece count recorded by the controller, and the current positional status of the machine tool’s feed axes.
- Current tool and detailed tool parameter display sub-interfaceUpon the machining block reaching a tool change command, the tool parameter surveillance sub-interface promptly displays the currently selected tool number. The system then retrieves and populates the status fields with user-defined detailed tool parameters corresponding to the displayed tool number by searching within a designated directory. The system polls the controller at a frequency of 0.5 s to update the current execution line number. In instances where the selected tool number does not correspond to an actual physical tool change, it is recommended to introduce a delay of at least one second within the tool change block to ensure accurate tool number acquisition by the system.
- Program and block content monitoring sub-interfaceUpon initiating monitoring, the developed system automatically retrieves the machining program name and imports the corresponding pre-stored program data and threshold configurations. This approach is necessitated by Servbox’s limitation to extracting only the current machining program name and execution line number from the SINUMERIK controller. The system’s monitoring sub-interface provides real-time visualization of the user-defined initial machining current acquisition zone (indicated by a red background) and the anomaly diagnostic region (indicated by a cyan background). The currently executing block within the program is highlighted in real time, with the block’s content also displayed in a dedicated lower panel. Anomaly monitoring is automatically activated when the system’s execution reaches a user-defined region and is suspended upon the block’s departure from the diagnostic region.
- Machining status and anomaly surveillance sub-interfaceThe machining status and anomaly surveillance sub-interface features time-domain monitoring panels for vibration and current values. The vibration panel displays a 10 s time-domain plot, representing the average of the top 20% of vibration values sampled every 0.1 s. Users can select specific axes (X, Y, or Z) for vibration monitoring via a dropdown menu, with the system dynamically displaying the selected axis’s vibration data on the time-domain plot. The current panel presents a 30 s time-domain plot of the spindle current, updated at a frequency of one sample per second, based on measured current values. The system calculates the tooth passing frequency and feed per tooth based on the current spindle speed, number of flutes, and feed rate. The sub-interface provides real-time visualization of measured current, tri-axial vibration values, and estimated RUL for user reference. During roughing operations, the critical tool life threshold and current machining current multiplier are displayed in real time. During finishing operations, the surface roughness threshold and predicted surface roughness are displayed. The system triggers a red light indicator to alert users when a threshold is exceeded, signaling the need for tool replacement.
4. Experimental Validation and Discourse
4.1. Training and Validation of the Tool Residual Life Prediction Model
4.1.1. Training Outcomes for Model Training Paradigm A
- Model training paradigm A-1
- 2.
- Model training paradigm A-2
4.1.2. Training Outcomes for Model Training Paradigm B
- 1.
- Model training paradigm B AISI 1045-specific model
- 2.
- Model training paradigm B_AISI 4140-specific model
- 3.
- Model training paradigm B_AISI W2-specific model
4.1.3. Validation of the Tool Residual Life Prognostic Module
4.2. Discussion of Limitations
5. Conclusions
- The RUL prognostic model, trained with experimental data from materials of varying hardness, exhibited an increase in predictive accuracy for specific hardness materials commensurate with the expansion of the training dataset. However, the marginal gains in model accuracy diminished as the training dataset size increased. Specifically, utilizing approximately 50% of the initial experimental data, augmented with a substantial volume of relevant data, yielded a predictive accuracy comparable to that achieved with the complete dataset. Furthermore, training the model with 75% of the total dataset resulted in a predictive accuracy statistically indistinguishable from that obtained with the full dataset.
- The RUL prognostic model, as validated through physical machining experiments, demonstrated a need for substantial improvement in predicting RUL under complex machining conditions. This limitation primarily stemmed from the slope calculation methodology employed within the validation experimental system. Consequently, it is recommended that future studies involving complex machining operations focus on acquiring stable and continuous signal features to facilitate more accurate slope calculations, which are essential for precise RUL prognostication.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Almeshaiei, E.A.; Oraby, S.E.; Mahmoud, M.A. Tool Wear Prediction Approach for Turning Operations Based on General Regression Neural Network (GRNN) Technique. In Adaptive Computing in Design and Manufacture VI; Springer: London, UK, 2004; pp. 161–172. [Google Scholar]
- Yosinski, J.; Clune, J.; Bengio, Y.; Lipson, H. How transferable are features in deep neural networks? Adv. Neural Inf. Process. Syst. 2014, 27, 3320–3328. [Google Scholar]
- Altintas, Y. Prediction of Cutting Forces and Tool Breakage in Milling from Feed Drive Current Measurements. J. Eng. Ind. 1992, 114, 386–392. [Google Scholar] [CrossRef]
- Li, X. Real-time tool wear condition monitoring in turning. Int. J. Prod. Res. 2001, 39, 981–992. [Google Scholar] [CrossRef]
- Del Olmo, A.; De Lacalle, L.N.; De Pissón, G.M.; Pérez-Salinas, C.; Ealo, J.A.; Sastoque, L.; Fernandes, M.H. Tool wear monitoring of high-speed broaching process with carbide tools to reduce production errors. Mech. Syst. Signal Process. 2022, 172, 109003. [Google Scholar] [CrossRef]
- de Lacalle, L.N.; Lamikiz, A.; Sánchez, J.A.; de Bustos, I.F. Simultaneous measurement of forces and machine tool position for diagnostic of machining tests. IEEE Trans. Instrum. Meas. 2005, 54, 2329–2335. [Google Scholar] [CrossRef]
- Peña, B.; Aramendi, G.; Rivero, A.; de Lacalle, L.N. Monitoring of drilling for burr detection using spindle torque. Int. J. Mach. Tools Manuf. 2005, 45, 1614–1621. [Google Scholar] [CrossRef]
- De Lacalle, L.N.; Lamikiz, A.; Sánchez, J.A.; De Bustos, I.F. Recording of real cutting forces along the milling of complex parts. Mechatronics 2006, 16, 21–32. [Google Scholar] [CrossRef]
- Song, K.; Wang, M.; Liu, L.; Wang, C.; Zan, T.; Yang, B. Intelligent recognition of milling cutter wear state with cutting parameter independence based on deep learning of spindle current clutter signal. Int. J. Adv. Manuf. Technol. 2020, 109, 929–942. [Google Scholar] [CrossRef]
- Kim, T.Y.; Kim, J. Adaptive cutting force control for a machining center by using indirect cutting force measurements. Int. J. Mach. Tools Manuf. 1996, 36, 925–937. [Google Scholar] [CrossRef]
- Wang, S.M.; Tsou, W.S.; Huang, J.W.; Chen, S.E.; Wu, C.C. Development of a Method and a Smart System for Tool Critical Life Real-Time Monitoring. J. Manuf. Mater. Process. 2024, 8, 194. [Google Scholar] [CrossRef]
- Specht, D.F. A general regression neural network. IEEE Trans. Neural Netw. 1991, 2, 568–576. [Google Scholar] [CrossRef] [PubMed]
- Brownlee, J. A Gentle Introduction to k-Fold Cross-Validation. Machine Learning Mastery. 2023. Available online: https://machinelearningmastery.com/k-fold-cross-validation/ (accessed on 12 January 2026).










| Name | Mode | Flutes | Helix Angle | Coating | Diameter (mm) |
|---|---|---|---|---|---|
| T01 | PPE0603 | 3 | 45° | TiSiN | 6 |
| Experimental Material Designation | Material Hardness |
|---|---|
| AISI 1045 | Rockwell B 84 ± 2 |
| AISI 4140 | Rockwell B 92 ± 2 |
| AISI W2 | Rockwell C 55 ± 2 |
| Expt. No. | Width (mm) | Depth (mm) | Chip Load (mm/flout) | Speed (rpm) | Feed (mm/min) |
|---|---|---|---|---|---|
| 01 | 2.0 | 0.5 | 0.005 | 10,000 | 150 |
| 02 | 3.0 | 0.5 | 0.005 | 10,000 | 150 |
| 03 | 4.0 | 0.5 | 0.005 | 10,000 | 150 |
| Material Type | Mean Total Manufacturing Cycle Time (s) | Mean RMSE (s) |
|---|---|---|
| AISI 1045 | 6251 | 280 |
| AISI 4140 | 6613 | 241 |
| AISI W2 | 9880 | 462 |
| Model | Mean Total Manufacturing Cycle Time (s) | Mean RMSE (s) |
|---|---|---|
| AISI 1045-specific model | 6251 | 323 |
| AISI 4140-specific model | 6613 | 242 |
| AISI W2-specific model | 9880 | 482 |
| Percentage of AISI 1045 Experimental Data | Model Smoothing Parameter Values | Mean RMSE (s) | RMSE Ratio Relative to Model A-1 |
|---|---|---|---|
| 0% | 2.5 × | 2265 | 8.09 |
| 25% | 3.0 × | 783 | 2.80 |
| 50% | 2.5 × | 511 | 1.83 |
| 75% | 3.0 × | 349 | 1.25 |
| 100% (Model A-1) | 2.5 × | 280 | 1.00 |
| Percentage of AISI 4140 Experimental Data |
Model Smoothing
Parameter Values | Mean RMSE (s) |
RMSE Ratio
Relative to Model A-1 |
|---|---|---|---|
| 0% | 3.0 × | 2825 | 11.72 |
| 25% | 2.5 × | 1363 | 5.66 |
| 50% | 3.0 × | 449 | 1.86 |
| 75% | 3.0 × | 339 | 1.40 |
| 100% (Model A-1) | 2.5 × | 241 | 1.00 |
| Percentage of AISI W2 Experimental Data | Model Smoothing Parameter Values | Mean RMSE (s) | RMSE Ratio Relative to Model A-1 |
|---|---|---|---|
| 0% | 3.0 × | 280 | 6.07 |
| 25% | 3.0 × | 773 | 1.67 |
| 50% | 2.5 × | 593 | 1.28 |
| 75% | 3.0 × | 450 | 0.97 |
| 100% (Model A-1) | 2.5 × | 462 | 1.00 |
| Model Training Type | Mean RMSE (s) |
|---|---|
| Model training paradigm B_0% AISI W2-specific model | 3029 |
| Model training paradigm B_25% AISI W2-specific model | 2113 |
| Model training paradigm B_50% AISI W2-specific model | 1984 |
| Model training paradigm B_75% AISI W2-specific model | 1914 |
| Model Training paradigm A-1 | 1772 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, S.-M.; Tsou, W.-S.; Huang, J.-W.; Chen, S.-E.; Wu, C.-C. Study on Methods and a System for Real-Time Monitoring of the Remaining Useful Life of a Milling Cutter. Appl. Sci. 2026, 16, 958. https://doi.org/10.3390/app16020958
Wang S-M, Tsou W-S, Huang J-W, Chen S-E, Wu C-C. Study on Methods and a System for Real-Time Monitoring of the Remaining Useful Life of a Milling Cutter. Applied Sciences. 2026; 16(2):958. https://doi.org/10.3390/app16020958
Chicago/Turabian StyleWang, Shih-Ming, Wan-Shing Tsou, Jian-Wei Huang, Shao-En Chen, and Chia-Che Wu. 2026. "Study on Methods and a System for Real-Time Monitoring of the Remaining Useful Life of a Milling Cutter" Applied Sciences 16, no. 2: 958. https://doi.org/10.3390/app16020958
APA StyleWang, S.-M., Tsou, W.-S., Huang, J.-W., Chen, S.-E., & Wu, C.-C. (2026). Study on Methods and a System for Real-Time Monitoring of the Remaining Useful Life of a Milling Cutter. Applied Sciences, 16(2), 958. https://doi.org/10.3390/app16020958
