Next Article in Journal
A Band-Stop Filter-Based LQR Control Method for Semi-Active Seat Suspension to Mitigate Motion Sickness
Next Article in Special Issue
TOPSIS-Based Methodology for Selecting Fused Filament Fabrication Machines
Previous Article in Journal
Guide Robot Based on Image Processing and Path Planning
Previous Article in Special Issue
Near-Zero Parasitic Shift Rectilinear Flexure Stages Based on Coupled n-RRR Planar Parallel Mechanisms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Artificial Neural Networks in Predicting Surface Quality and Machining Time

by
Andrei Raul Osan
and
Raul Florentin Drenţa
*
Department of Engineering and Management of Technology, Technical University of Cluj-Napoca, North University Center of Baia Mare, 430122 Baia Mare, Romania
*
Author to whom correspondence should be addressed.
Machines 2025, 13(7), 561; https://doi.org/10.3390/machines13070561
Submission received: 28 April 2025 / Revised: 6 June 2025 / Accepted: 23 June 2025 / Published: 27 June 2025
(This article belongs to the Special Issue Recent Developments in Machine Design, Automation and Robotics)

Abstract

This paper explores the use of artificial neural networks to optimize metal machining processes. It has two main components. The first component focuses on developing a neural network in EasyNN to predict quality errors of metal surfaces machined with toroidal milling. The input data are extracted from the experimental values of the machining operations, and the output data are the measured surface roughness values. The network created not only predicts the quality errors but also identifies the key parameters influencing their quality, such as cutting speed, feed rate, and tool geometry, which are crucial for process optimization. The second component underscores the accuracy of the neural network′s predictions by using MatLab to develop a neural network that estimates the machining time, a key factor in cost calculation and efficient order planning. The experimental data used to train the network come from a restricted set of machining jobs. The obtained results demonstrate an adequate estimation of the machining time, thus facilitating the optimization of the entire metal machining process, positively impacting the cost and efficiency of industrial operations.

1. Introduction

We hear more and more about artificial intelligence, software that can answer certain questions, and applications that help mankind by allowing us to understand and link information. All these software are based on artificial neural networks, where artificial intelligence manages to provide answers through a computational algorithm, through tens, hundreds, thousands, and millions of hidden neurons [1,2].
If we consider the level of continuous development of cutting surface machining, new technologies, optimizations, tools, machines, software, and precision measuring instruments, we consider the involvement of artificial neural networks in machining to be more than necessary.
The application of artificial neural networks in cutting process performance improvement has been extensively studied in different research [3,4]. These studies, along with the prediction of machined surface quality and output quality, demonstrate the practicality and applicability of these tools [5,6]. Other approaches of artificial neural networks in machining process improvement have been applied in the study of cutting tool wear [7] as well as the study of cutting forces [8,9]. These practical applications of artificial neural networks in the field of machining instill confidence in their effectiveness and utility.
Implementing artificial neural networks for surface quality monitoring [10] or tool wear monitoring [11] in chip machining by either milling or turning offers a wealth of opportunities, leading to lower production costs.
EasyNN plus, a specialized software for building and using neural networks, played a crucial role in this research. It provided a user-friendly graphical user interface and multiple facilities related to network manipulation, making it an ideal tool for our study.
According to Boujelbene et al., milling operation is the most important and widely used technology for obtaining complex surfaces. A computer numerically controlled (CNC) milling machine and CAD/CAM software (PowerMILL 2015) capable of realizing an NC program are needed to perform this operation. In this process, the machine should move as fast as possible with well-defined trajectories according to the cutting tool typology [12]. The optimization of milling operations is always a hot topic in manufacturing because the ability to carry out machining processes at maximum performance is irreplaceable in increasing production efficiency. However, obtaining reliable and practicable solutions is still challenging for milling operations [13].
The actual machining time depends on the CNC, dynamic machine architecture, setup times, space ergonomics, and their implementation, as well as the CAM software used [14].
Current CAD/CAM software estimates the milling time mathematically by dividing the tool path length by the user-set feed rate value, excluding the machining limitation and the machine/CNC feed rate oscillation. This approach, however, does not account for the actual conditions of the machining process, leading to inaccurate estimates. For these reasons, the CAM-estimated time is not the correct one. As a result, in this paper, we will only summarize the basic time.
Some authors have proposed artificial neural networks for feature recognition [15] to further establish relationships between the number of features and part cost [16].
Other authors have presented models using artificial intelligence to estimate machining time with average errors of 10 and 20 min [17] or manufacturing time with a percentage error of less than 25% [18]. Artificial intelligence tools for estimating manufacturing costs in the design phase have also been studied [19,20,21,22], as well as the effectiveness of different types of ANNs in estimating machining times [23,24,25,26,27].
The main goal of this work is to develop and validate a model based on artificial neural networks, capable of providing a fast and accurate estimation of machining times and the quality of surface for industrial parts. This approach is intended to be a viable and efficient alternative to the traditional simulation methods used in CAM software, methods that, although accurate, involve a significant consumption of time and resources.
The overall objective is to create an intelligent tool that supports companies in the field of machining in optimizing production processes, by reducing the time needed to estimate costs and delivery times. In this regard, the proposed neural network will allow the automatic and real-time deduction of processing times and surface quality, thus providing valuable decision-making support in the bidding, planning and execution phases of orders.

2. Materials and Methods

The present paper aims to investigate the applicability of artificial neural networks in two essential directions for the machining industry: on the one hand, the prediction of surface quality by estimating roughness in the case of flat surfaces, and on the other hand, the estimation of execution times in the machining process of concave cylindrical surfaces.
The choice of these two characteristics—surface quality and process duration—reflects the current requirements of the economic environment, which aims to achieve high-quality finishes in the shortest possible manufacturing time. The simultaneous fulfillment of these objectives leads, implicitly, to the reduction in production costs and to the observance of delivery deadlines, essential aspects for the competitiveness of companies.
Regarding the approach of the two types of surfaces analyzed in this work, the high potential of artificial neural networks to be applied in a wide range of contexts is highlighted, while also being able to work in parallel in any circumstances.

2.1. Experimental Research on Flat Surface Processing with Toroidal Milling Cutter

The experimental investigation that underpinned this study was detailed in previously published papers [2], aiming to collect the input and output data needed to train the artificial neural network. As for the practical experiment, it consisted of processing 27 test samples on a five-axis CNC machining center, model Okuma MU-400VA from Okuma Deutschland GmbH from Köln, Germany. (Figure 1A).
The number of samples was established based on the Taguchi method, using the minimum number of tests necessary to obtain statistically relevant results.
Geometrically, each specimen had dimensions of 40 × 40 × 20 mm3. The finishing operation was carried out on a flat and rough surface, with the pieces being fixed in a vice with the help of a special clamping device.
The finishing machining was performed with a toroidal milling cutter with a diameter of Ø16 and a corner radius of 4 (Figure 1B) in the presence of the cutting liquid. The cutting liquid, which is a coolant and lubricant, helps to reduce heat and friction during the machining process, thereby improving the surface quality. The machining was carried out with a constant chip depth (ap = 0.5 mm) and radial depth (ae = 0.3 mm) (Figure 2b).
The CAM program was generated in the PowerMILL software (Figure 2a), which can generate the tool paths by respecting the required machining regimes and the transmitted inclination angle.
In order to execute the processing of the 27 surfaces included in the scope of this study, the experimental framework was designed in accordance with the Taguchi method, as described in detail in prior research. This method provides a robust and systematic approach for optimizing process parameters by minimizing variability and identifying the most influential factors with a reduced number of experimental runs. Based on this framework, it was established that a portion of the cutting regime parameters would be held constant throughout the experimentation. This decision was made to ensure consistency and control over extraneous variables, thereby isolating the effects of the key parameters under investigation. The specific values and constraints of these constant parameters were defined in alignment with the technical specifications and machining conditions presented earlier.
In parallel, three primary technological parameters were selected to serve as variable inputs for the development and training of the artificial neural network (ANN) model proposed in this study. These input variables, as listed in Table 1, are cutting speed, tool tilt angle, and feed per tooth. The selection of these particular variables was guided by both theoretical and empirical considerations. From a theoretical standpoint, these parameters are known to play a decisive role in determining machining outcomes, particularly with respect to surface integrity and overall process efficiency. Empirical evidence from previous investigations further supports their significant influence on surface roughness, dimensional accuracy, material removal rate, and tool wear.
By incorporating these three variables into the ANN model, the objective is to enable a predictive framework capable of capturing the nonlinear relationships between input parameters and machining responses. Their selection reflects a deliberate focus on optimizing both surface quality and processing time, two of the most critical performance indicators in modern manufacturing environments. The ANN′s ability to model these complex interdependencies is expected to provide valuable insights for process optimization and decision-making in advanced machining applications.

2.2. Experimental Research on the Machining of Concave Cylindrical Surfaces with Toroidal Milling Cutter

Our analysis of the concave cylindrical surface reveals a consistent cylindrical shape along the entire length of the surface. The surface, with a diameter of Ø85 and a height of 5 mm, measures 40 × 40 mm2, as shown in Figure 3. The practical experiments on the concave cylindrical surface are presented in Table 2, which details nine surfaces, each created using toroidal milling. The table includes a column highlighting the execution times of each experiment, excluding the constant auxiliary times, to provide a clear comparison of the experiments.
Regarding the cutting regimes, the three variables in the table (Table 2) are the focus, while the rest remain constant. The cutting depth is consistently set at 0.5 mm (ap = 0.5 mm) and the radial depth at 0.3 mm (ae = 0.3 mm) for each experiment, all conducted in the presence of emulsion, which serves as a crucial element in the process. As for the clamping method, the pad is securely clamped between the two clamping trays of the vice, which are further reinforced with clamping for extra rigidity and security.
In order to be able to carry out the machining, CAM programs are needed; they were created using the PowerMILL software, a software able to create the tool, and more importantly, to create the routes to be covered by the tool with the corresponding inputs and outputs. We decided that each machining would be one-way, with the tool paths parallel. For machining the surface with the toroidal milling cutter, in the case of the 55° inclination, 138 lines were needed. Figure 4a shows an image during the simulation of the toroidal toolpath on the concave cylindrical surface.
Figure 4b presents the actual practical experiment conducted on the OKUMA MU-400VA CNC. This figure vividly demonstrates how the toroidal milling cutter effectively processes the concave cylindrical surface, providing a tangible application of the theoretical concepts discussed.
It is important to note that throughout the machining of the concave cylindrical surface with the toroidal milling cutter, the tool axis constantly maintains the desired inclination angle concerning the surface.

Experimental Results

Following the processing and simulation in CAM software, different processing times resulted during the realization of the nine surfaces with different regimes, as presented in Table 2.

3. Results and Discussion

3.1. Implementing the Artificial Neural Network in EasyNN

An example of a neural network constructed utilizing EasyNN software is presented below. A neural network must be constructed to predict the roughness values Ra, measured both in parallel and perpendicularly, as well as the roughness Rt, also measured in both orientations.
The data input is a critical step in the process. The input data consists of the cutting speed, the feed per tooth, and the feed angle, which are the three variables utilized to machine each SPLN-TR surface. The output data are characterized by the roughness measurements taken in both parallel and perpendicular orientations to the feed direction. These measurements are denoted as the theoretical surface roughness, Rt, and the arithmetic mean roughness, Ra.
The database depicted in Figure 5 is structured as a data grid. The rows correspond to the examples, while the columns denote the inputs and outputs associated with each example. The initial column specifies the type and designation of the input and output example. The subsequent three columns denote the three process variables that are being materialized as input data, while the final four columns indicate the measured values of roughness, representing the output data.
After loading the database, the subsequent step involves verifying the usability of the data via the “Query” function, followed by the establishment of the neural network.
The neural network is established using the previously loaded data grid. This process is initiated through the “new network” function, which generates the new network dialog. This dialog facilitates the specification of the neural network configuration, enabling it to learn information from the database.
The learning progress indicates the advancement of the learning process. Figure 6 illustrates the learning process graph, which displays the maximum, average, and minimum training error values. The graph progressively narrows as learning advances, ensuring visibility of the complete learning curve. A maximum of 200,000,000 learning cycles can be represented in the graph; however, in this instance, only 3873 learning cycles are required.
Figure 6 displays a vertical scale on the left side, ranging from 0 to 1, which indicates the position of the curve. The horizontal scale is labeled in accordance with the quantity of the learning cycles.
Below the horizontal scale, the network is displayed, indicating the number of inputs, outputs, and hidden neurons. In this instance, a variant with 10 hidden neurons has been selected. The window displays the quantity of connections among nodes, specifically 30 connections between the input layer and the hidden layer, and 40 connections between the hidden layer and the output neurons.
The right side of the graph displays the window containing the learning and validation data. The learning rate is configured at 0.5, the momentum is established at 0.8, and the training process is programmed to terminate when the error threshold reaches 0.15. The recorded maximum error is 0.01492259, while the minimum error is 0.000024. The average of the errors is calculated to be 0.0376863.
Upon completion of the settings, the configuration of the analyzed neural network is illustrated in Figure 7.
To utilize the neural network effectively, it is essential to select the source and destination of the connections for the purpose of connecting and disconnecting the nodes. Connections can be established between any nodes or layers, allowing for flexible integration across the system. Feedback and layer-level connections are feasible.
The quantity of nodes within hidden layers may be adjusted, and additional hidden layers can be incorporated as required. The nodes will be reestablished utilizing the connections stored in the network′s memory. The connections will be maintained in a manner that closely resembles their prior configuration.

3.2. Implementing the Artificial Neural Network in MATLAB

Neural networks primarily function by identifying a relationship that links the output parameters to the input parameters. Throughout the training process. Upon completion of the training process, the neural network demonstrates functionality in scenarios that were not part of the training dataset.
Cutting parameters represent critical factors that significantly impact process plans. The optimal selection of cutting parameters results in a decrease in cutting actions, which subsequently leads to reduced energy consumption and, consequently, cost reduction. This study aims to implement cutting parameter prediction through the utilization of artificial neural networks (ANNs). Neural networks are widely utilized tools that have demonstrated effectiveness in addressing optimization problems, particularly in the adaptive control of machine tools and in pattern recognition applications.
The MATLAB R2015a program includes a set of functions and graphical interfaces designed for the manipulation of Artificial Neural Networks, collectively referred to as the Neural Network Toolbox. The subsequent sections will outline the methodology for utilizing the basic functions and interacting with the graphic interfaces.
Prior to the development of an artificial neural network, it is essential to establish the input data and the output data. The computer resources outlined in the preceding chapter are applicable in this context.
In order to generate the input and output data, we selected to analyze the fundamental time derived from the processing of nine cylindrical-concave specimens using the toroidal milling cutter. Consequently, the two process variables are identified as input data, specifically the cutting speed and the feed per tooth. The output data and target information are represented by the fundamental time required to process each surface.
The artificial neural network was developed in the MATLAB environment, using the input and output data presented above. The structure of the network comprises two layers and was trained using the TRAINLM (Levenberg–Marquardt) algorithm, known for its efficiency in regression problems. For the hidden layer, 10 neurons were chosen, a choice made after preliminary tests to ensure a balance between complexity and generalization capacity.
In terms of network performance, the training process ended after three epochs with the network reaching a satisfactory level of convergence. The dataset was divided as follows: about 77% of the data was allocated for training and 11% each was used for validation and testing for the purpose of evaluating the robustness and accuracy of the model.
The first step in generating a neural network consists of providing the input and output data necessary for the artificial neural network to train and learn, a process presented in Appendix A.
Upon completion of the training and learning phase of the artificial neural network, the subsequent stage involves simulation (refer to Figure 8) and the generation of predictions (see Figure 9) based on the trained neural network and new input data.

3.3. The Output Produced by the Artificial Neural Network Created Using EasyNN

The prediction view comprises two windows that display the proximity of the predicted value for each example. Five examples analogous to the initial data were generated for the purpose of validating the network (see Figure 10). The values on both axes are scaled within the range of 0 to 1. The anticipated outcomes for the example converge towards the actual values as the training advances.
When the predicted values are in close proximity to the true values, the corresponding points will align along the diagonal line. If a majority of the data points are situated near the diagonal line, it indicates that the network may be overfitted and could potentially fail to produce accurate values.
Figure 11 illustrates the values of the arithmetic roughness Ra column, which were measured in parallel. The vertical scale on the left represents values ranging from 0 to 1.
The vertical scale on the right displays the actual value derived from the maximum and minimum values in the column. The blue line represents the true value, the red line indicates the moving average, and the black dotted line illustrates the overall trend.
The network undergoes training following the completion of 3873 cycles. The error rate is 0.003755, as indicated in the network information presented in Figure 12.
The error visualization is depicted through the absolute and relative errors generated across 27 examples, arranged in descending order. The highest recorded error occurs on the SPLN-TR-25 surface, with a value of 0.0147965418. Despite being the maximum value, it remains below the established threshold of 0.15, which is the maximum permissible error.
The minimum error value is documented on the SPLN-TR-4 surface, recorded as 0.0000252056.
The importance function is illustrated by showing the relative significance of each input column. The significance is determined by the total of the absolute weights associated with the connections from the input node to each node in the first hidden layer. Entries are organized in descending order of significance, beginning with the entry of highest importance.
Figure 13, derived from the provided network data, indicates that the feed per tooth is the most significant input column, with a value of 135.3001. This parameter has a substantial impact on the output values, while the inclination angle of the tool axis exhibits the least influence.
The sensitivity visualization illustrates the extent to which output values vary in response to changes in input values. The inputs are configured to median values, after which each input is incrementally adjusted from the minimum value to the maximum value. The output variation is documented as each input is incrementally raised from the minimum to the maximum, thereby determining the sensitivity to the change. Inputs that are deemed insensitive will not be shown.
The inputs are presented in a descending sequence based on sensitivity, starting with the most sensitive input. Figure 14 indicates that the feed per tooth input column values exhibit the highest sensitivity, while the cutting speed values demonstrate the lowest sensitivity.

3.4. Analysis of Neural Network Predictions in MATLAB Alongside Statistical Evaluations in CAM

After the artificial neural network underwent training and learning, it produced time predictions for each cutting regime based on the new input values.
Table 3, presented below, displays the updated values of the cutting regimes and times, as determined by the neural network.
To assess the accuracy percentage of the neural network, a simulation of the processing was conducted in the CAM software for each trial, as detailed in Appendix B.
Table 4 presents comparisons indicating an average prediction accuracy of 91.98%, accompanied by an average difference of −32 s. This accuracy and average could potentially improve if the predicted time value for the CICV-TR-4 surface were more precise. Despite this error, it can be concluded that the neural network is effectively applicable for predicting processing time.
The process variables represent the input values utilized for the creation of the artificial neural network in the MATLAB software and indicate the cutting modes. It is important to note that only the cutting speed and the feed per tooth are subject to variation, while the remaining cutting modes are maintained at constant levels.
The output data is represented by the machining time associated with each surface. The exposed machining time indicates the point at which the tool initiates the machining process, while auxiliary times and preparation times are regarded as constant and excluded from consideration. The times listed are the results derived from simulating each machining process within the CAM software.

4. Conclusions

Artificial neural networks (ANNs) are being integrated into various aspects of daily life, improving processes across multiple industries. In manufacturing, particularly within machining processes, artificial neural networks (ANNs) have shown significant potential for enhancing surface quality prediction and optimizing processes. This study highlights that the performance of artificial neural networks (ANNs) can be markedly improved by engaging in continuous training using precise and meticulously curated datasets.
This study utilized experimental data gathered from machining operations to effectively train an artificial neural network (ANN) with EasyNN software. The ANN was designed to predict surface roughness parameters, specifically Ra and Rt, based on input variables including cutting speed, feed per tooth, and tool inclination angle. The network demonstrated minimal error margins in the predictions of minimum, maximum, and average roughness, with feed per tooth recognized as the most significant input variable. The tool inclination angle demonstrated a negligible effect on the output variables, a finding that was corroborated by sensitivity analysis.
In a similar manner, a second artificial neural network (ANN) was developed using MATLAB to forecast machining time, utilizing a constrained dataset derived from experimental trials focused on concave cylindrical surfaces. Despite utilizing only nine datasets for training, the model achieved a prediction accuracy of 92%. This indicates that increasing the volume of training data could enhance the prediction accuracy towards 100%. This predictive capability provides substantial benefits for industrial applications, including accurate cost estimation, workload scheduling, and deadline forecasting.
Our findings are consistent with and build upon recent studies published in Machines, contributing to the advancement of the field. For example, Saric et al. (2023) in the paper [23] is illustrated the viability of machining time prediction through neural computing, attaining accuracies near 90%, yet did not provide comprehensive sensitivity analyses on input parameters. In a similar vein, another study conducted by Reiff C et al. (2021) [28] utilized deep learning techniques for the prediction of surface quality, with a primary emphasis on turning operations rather than milling of complex geometries. Additionally, Kotha Amarnath S. et al. (2025) [29] utilized neural networks for the purpose of tool wear monitoring; however, they did not investigate the direct integration of these networks into machining time estimation [3].
The current study presents a unique approach by simultaneously predicting surface quality and machining time, utilizing experimentally validated data. Additionally, it identifies the relative importance and sensitivity of each input variable. This work offers a robust, experimentally grounded validation of ANN potential in intelligent machining, in contrast to some previous approaches that relied heavily on simulated or theoretical data.
In future developments, the expansion of the dataset and the integration of additional variables, including tool wear, vibration, and cutting forces, have the potential to enhance the ANN models, thereby advancing their capability for real-time intelligent decision-making in manufacturing systems.

Author Contributions

Conceptualization, A.R.O.; methodology, A.R.O.; software, A.R.O.; validation, R.F.D. and A.R.O.; formal analysis, A.R.O.; data curation, A.R.O.; writing—original draft preparation, A.R.O.; writing—review and editing, R.F.D.; visualization, R.F.D.; supervision, R.F.D.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

All data supporting the findings of this study are included within the article.

Acknowledgments

During the preparation of this manuscript, the authors used QuillBot for English language corrections (especially grammar). After using this tool/service, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial Neural Network
SPLN-TR-(1–27)Flat surface machined with toroidal cutter number 1–27
CICV-TR-(1–9)Concave cylindrical surface machined with toroidal cutter no. (1–9)
CAMComputer-Aided Manufacturing
CNCComputer Numerical Control
CADComputer-Aided Design
RaArithmetic Average Roughness
RtMaximum Height of the Roughness Profile
apAxial Depth of Cut
aeRadial Depth of Cut
EasyNNEasy Neural Network software
MATLABMatrix Laboratory (software for numerical computing)
RNAArtificial Neural Network (Romanian abbreviation)

Appendix A

Generating Neural Network and Predictions

The initial phase of neural network generation involves supplying the requisite input and output data essential for the training and learning processes of the artificial neural network.
Figure A1. Input and output data of the artificial neural network.
Figure A1. Input and output data of the artificial neural network.
Machines 13 00561 g0a1
Figure A2. Input data for generating predictions.
Figure A2. Input data for generating predictions.
Machines 13 00561 g0a2
Data loading is performed in the Neural Network/Data Manager module where the input and output data shown above are loaded.
Figure A3. Data loading.
Figure A3. Data loading.
Machines 13 00561 g0a3
Figure A4. Creating the neural network for predicting working time.
Figure A4. Creating the neural network for predicting working time.
Machines 13 00561 g0a4
Figure A5. Architecture of the neural network for predicting working time.
Figure A5. Architecture of the neural network for predicting working time.
Machines 13 00561 g0a5
Figure A6. Training the neural network for predicting working time.
Figure A6. Training the neural network for predicting working time.
Machines 13 00561 g0a6
Figure A7. Teaching the neural network to predict working time.
Figure A7. Teaching the neural network to predict working time.
Machines 13 00561 g0a7

Appendix B

Processing Time Simulations in CAM Software

Table A1. New input values and machining times after CAM simulation.
Table A1. New input values and machining times after CAM simulation.
ExperimentCutting Speed [m/min]Feed Per Tooth [mm/tooth]CAM Simulation Time [s]
CICV-TR-1800.11964
CICV-TR-21000.13745
CICV-TR-31200.15523
CICV-TR-41400.17407
CICV-TR-51600.19345
CICV-TR-61800.17481
CICV-TR-72000.15393
CICV-TR-82200.13367
CICV-TR-92400.11381
Figure A8. Machining time after CAM simulation of surface CICV-TR-1.
Figure A8. Machining time after CAM simulation of surface CICV-TR-1.
Machines 13 00561 g0a8
Figure A9. Machining time after CAM simulation of surface CICV-TR-2.
Figure A9. Machining time after CAM simulation of surface CICV-TR-2.
Machines 13 00561 g0a9
Figure A10. Machining time after CAM simulation of surface CICV-TR-3.
Figure A10. Machining time after CAM simulation of surface CICV-TR-3.
Machines 13 00561 g0a10
Figure A11. Machining time after CAM simulation of surface CICV-TR-4.
Figure A11. Machining time after CAM simulation of surface CICV-TR-4.
Machines 13 00561 g0a11
Figure A12. Machining time after CAM simulation of surface CICV-TR-5.
Figure A12. Machining time after CAM simulation of surface CICV-TR-5.
Machines 13 00561 g0a12
Figure A13. Machining time after CAM simulation of surface CICV-TR-6.
Figure A13. Machining time after CAM simulation of surface CICV-TR-6.
Machines 13 00561 g0a13
Figure A14. Machining time after CAM simulation of surface CICV-TR-7.
Figure A14. Machining time after CAM simulation of surface CICV-TR-7.
Machines 13 00561 g0a14
Figure A15. Machining time after CAM simulation of surface CICV-TR-8.
Figure A15. Machining time after CAM simulation of surface CICV-TR-8.
Machines 13 00561 g0a15
Figure A16. Machining time after CAM simulation of surface CICV-TR-9.
Figure A16. Machining time after CAM simulation of surface CICV-TR-9.
Machines 13 00561 g0a16

References

  1. Pop-Suărășan, A.; Ungureanu, N. The implication imposed by prescriptive maintanance implementation into the industry 4.0. A Current state analysis. Acta Teh. Napocesis Ser. Appled Math. Eng. 2023, 66, 157–164. [Google Scholar]
  2. Oșan, A.; Bănică, M.; Năsui, V. Processing of plane surfaces with toroidal milling versus ball nose end mill. In Acta Technica Napocensis; Series Applied Mathematics, Mechanics, and Engineering; Technical University of Cluj-Napoca: Cluj-Napoca, Romania, 2020. [Google Scholar]
  3. Tansel, I.; Ozcelik, B.; Bao, W.; Chen, P.; Yenilmez, A. Selection of optimal cutting conditions by using GONNS. Int. J. Mach. Tools Manuf. 2006, 46, 26–35. [Google Scholar] [CrossRef]
  4. De Filippis, L.; Serio, L.M.; Facchini, F.; Mummolo, F.F.A.G. ANN Modelling to Optimize Manufacturing Process. In Advanced Applications for Artificial Neural Networks; El-Shahat, A., Ed.; Intechopen: London, UK, 2018. [Google Scholar]
  5. Mundada, V.; Narala, S.K.R. Optimization of Milling Operations Using Artificial Neural Networks (ANN) and Simulated Annealing Algorithm (SAA). Mater. Today Proc. 2018, 5, 4971–4985. [Google Scholar] [CrossRef]
  6. Chen, Y.; Sun, R.; Gao, Y.; Leopold, J.A. ANN prediction model for surface roughness considering the effects of cutting forces and tool vibrations. Measurement 2017, 98, 25–34. [Google Scholar] [CrossRef]
  7. Hesser, D.F.; Markert, B. Tool wear monitoring of a retrofitted CNC milling machine using artificial neural networks. Manuf. Lett. 2019, 19, 1–4. [Google Scholar] [CrossRef]
  8. El-Mounayri, H.; Briceno, J.F.; Gadallah, M. A new artificial neural network approach to modeling ball-end milling. Int. J. Adv. Manuf. Technol. 2010, 47, 527–534. [Google Scholar] [CrossRef]
  9. Al-Abdullah, K.I.A.-L.; Abdi, H.; Lim, C.P.; Yassin, W.A. Force and temperature modelling of bone milling using artificial neural networks. Measurement 2018, 116, 25–37. [Google Scholar] [CrossRef]
  10. Kunto, M.; Aslan, A. A Review of Indirect Tool Condition Monitoring Systems and Decision-Making Methods in Turning: Critical Analysis and Trends. Sensors 2021, 21, 108. [Google Scholar]
  11. Pimenov, D.Y. Artificial intelligence systems for tool condition monitoring in machining: Analysis and critical review. J. Intell. Manuf. 2023, 34, 2079–2121. [Google Scholar] [CrossRef]
  12. Boujelbene, M.; Moisan, A.; Tounsi, N.; Brenier, B. Productivity enhancement in dies and molds manufacturing by the use of C1 continuous tool path. Int. J. Mach. Tools Manuf. 2004, 44, 101–107. [Google Scholar] [CrossRef]
  13. Altintas, Y. Manufacturing Automation Metal Cutting Mechanics. Machine Tool Vibrations and CNC Design; Cambridge University: New York, NY, USA, 2007. [Google Scholar]
  14. Yan, X.; Shirase, K.; Hirao, M.; Yasui, T. NC program evaluator for higher machining productivity. Int. J. Mach. Tools Manuf. 1999, 39, 1563–1573. [Google Scholar] [CrossRef]
  15. Kataraki, P.S.; Abu Mansor, M.S. Automatic designation of feature faces to recognize interacting and compound volumetric features for prismatic parts. Eng. Comput. 2020, 36, 1499–1515. [Google Scholar] [CrossRef]
  16. Ning, F.; Shi, Y.; Cai, M.; Xu, W.; Zhang, X. Manufacturing cost estimation based on the machining process and deep-learning method. J. Manuf. Syst. 2020, 56, 11–22. [Google Scholar] [CrossRef]
  17. Atia, M.R.; Khalil, J.; Mokhtar, M. A Cost estimation model for machining operations.; an ann parametric approach. J. Al-Azhar Univ. Eng. Sect. 2017, 12, 878–885. [Google Scholar] [CrossRef]
  18. Florjanič, B.; Kuzman, K. Estimation of time for manufacturing of injection moulds using artificial neural networks-based model. Polim. Časopis Plast. Gumu. 2012, 33, 12–21. [Google Scholar]
  19. Yoo, S.; Kang, N. Explainable artificial intelligence for manufacturing cost estimation and machining feature visualization. Expert Syst. Appl. 2021, 183, 115430. [Google Scholar] [CrossRef]
  20. Tsai, M.-H.; Lee, J.-N.; Tsai, H.-D.; Shie, M.-J.; Hsu, T.-L.; Chen, H.-S. Applying a Neural Network to Predict Surface Roughness and Machining Accuracy in the Milling of SUS304. Electronics 2023, 12, 981. [Google Scholar] [CrossRef]
  21. Djurović, S.; Lazarević, D.; Ćirković, B.; Mišić, M.; Ivković, M.; Stojčetović, B.; Petković, M.; Ašonja, A. Modeling and Prediction of Surface Roughness in Hybrid Manufacturing–Milling after FDM Using Artificial Neural Networks. Appl. Sci. 2024, 14, 5980. [Google Scholar] [CrossRef]
  22. Qu, D.; Liang, W.; Zhang, Y.; Gu, C.; Zhan, Y. Research on Machining Quality Prediction Method Based on Machining Error Transfer Network and Grey Neural Network. J. Manuf. Mater. Process. 2024, 8, 203. [Google Scholar] [CrossRef]
  23. Saric, T.; Simunovic, G.; Simunovic, K. Estimation of Machining Time for CNC Manufacturing Using Neural Computing. Int. J. Simul. Model. 2016, 15, 663–675. [Google Scholar] [CrossRef]
  24. Sable, Y.S.; Dharmadhikari, H.M.; More, S.A.; Sarris, I.E. Exploring Artificial Neural Network Techniques for Modeling Surface Roughness in Wire Electrical Discharge Machining of Aluminum/Silicon Carbide Composites. J. Compos. Sci. 2025, 9, 259. [Google Scholar] [CrossRef]
  25. Mane, S.; Patil, R.B.; Al-Dahidi, S. Predictive Modeling of Surface Roughness and Cutting Temperature Using Response Surface Methodology and Artificial Neural Network in Hard Turning of AISI 52100 Steel with Minimal Cutting Fluid Application. Machines 2025, 13, 266. [Google Scholar] [CrossRef]
  26. Abaza, B.F.; Gheorghita, V. Artificial Neural Network Framework for Hybrid Control and Monitoring in Turning Operations. Appl. Sci. 2025, 15, 3499. [Google Scholar] [CrossRef]
  27. Turan, İ.; Özlü, B.; Ulaş, H.B.; Demir, H. Prediction and Modelling with Taguchi, ANN and ANFIS of Optimum Machining Parameters in Drilling of Al 6082-T6 Alloy. J. Manuf. Mater. Process. 2025, 9, 92. [Google Scholar] [CrossRef]
  28. Reiff, C.; Buser, M.; Betten, T.; Onuseit, V.; Hoßfeld, M.; Wehner, D.; Riedel, O. A Process-Planning Framework for Sustainable Manufacturing. Energies 2021, 14, 5811. [Google Scholar] [CrossRef]
  29. Kotha Amarnath, S.; Inturi, V.; Rajasekharan, S.G.; Priyadarshini, A. Combining Sensor Fusion and a Machine Learning Framework for Accurate Tool Wear Prediction During Machining. Machines 2025, 13, 132. [Google Scholar] [CrossRef]
Figure 1. (A) CNC 5 axis Okuma MU-400VA. (B) Toroidal milling Ø16.
Figure 1. (A) CNC 5 axis Okuma MU-400VA. (B) Toroidal milling Ø16.
Machines 13 00561 g001aMachines 13 00561 g001b
Figure 2. (a) Simulation of machining in CAM at the 3 angles. (b) Processing on CNC at the 3 angles.
Figure 2. (a) Simulation of machining in CAM at the 3 angles. (b) Processing on CNC at the 3 angles.
Machines 13 00561 g002
Figure 3. Shape of the machining surface.
Figure 3. Shape of the machining surface.
Machines 13 00561 g003
Figure 4. (a) Simulating the toroidal cutter path in PowerMILL on CICV-TR. (b) Machining the concave cylindrical surface with the toroidal cutter.
Figure 4. (a) Simulating the toroidal cutter path in PowerMILL on CICV-TR. (b) Machining the concave cylindrical surface with the toroidal cutter.
Machines 13 00561 g004
Figure 5. The database entered to create the neural network using EasyNN plus software. (”*” is degrees).
Figure 5. The database entered to create the neural network using EasyNN plus software. (”*” is degrees).
Machines 13 00561 g005
Figure 6. The learning graph.
Figure 6. The learning graph.
Machines 13 00561 g006
Figure 7. Neural network structure.
Figure 7. Neural network structure.
Machines 13 00561 g007
Figure 8. Training the artificial neural network for working time prediction.
Figure 8. Training the artificial neural network for working time prediction.
Machines 13 00561 g008
Figure 9. Artificial neural network predictions.
Figure 9. Artificial neural network predictions.
Machines 13 00561 g009
Figure 10. Value prediction chart.
Figure 10. Value prediction chart.
Machines 13 00561 g010
Figure 11. The value of the column representing the roughness Ra measured parallel.
Figure 11. The value of the column representing the roughness Ra measured parallel.
Machines 13 00561 g011
Figure 12. Information on neural network error values.
Figure 12. Information on neural network error values.
Machines 13 00561 g012
Figure 13. Importance values of the input columns of the neural network.
Figure 13. Importance values of the input columns of the neural network.
Machines 13 00561 g013
Figure 14. The sensitivity value of input columns on output values.
Figure 14. The sensitivity value of input columns on output values.
Machines 13 00561 g014
Table 1. Cutting regimes and measured roughness values.
Table 1. Cutting regimes and measured roughness values.
ExperimentCutting Speed [m/min]Angle of Inclination [°]Feed Per Tooth [mm/tooth]Ra Parallel [µm]Rt Parallel [µm]Ra Perpendicular
[µm]
Rt Perpendicular
[µm]
SPLN-TR-180150.110.160.9260.4642.92
SPLN-TR-280150.150.2891.680.4032.593
SPLN-TR-380150.190.2641.7060.3762.4
SPLN-TR-480350.110.1941.4660.4942.613
SPLN-TR-580350.150.3112.4130.4353.499
SPLN-TR-680350.190.2882.7190.4252.953
SPLN-TR-780550.110.452.6090.6884.273
SPLN-TR-880550.150.7274.4130.6324.353
SPLN-TR-980550.190.8944.6390.7615.84
SPLN-TR-10170150.110.6893.4860.6724.519
SPLN-TR-11170150.150.8174.6460.7565.406
SPLN-TR-12170150.190.8765.0940.8516.086
SPLN-TR-13170350.110.5973.2470.7865.579
SPLN-TR-14170350.150.6933.9060.8054.826
SPLN-TR-15170350.191.0715.761.1197.666
SPLN-TR-16170550.110.4573.2730.5353.619
SPLN-TR-17170550.150.7734.3060.6275.106
SPLN-TR-18170550.191.1316.1030.8126.293
SPLN-TR-19210150.110.533.7860.5494.053
SPLN-TR-20210150.150.8594.8330.7574.759
SPLN-TR-21210150.190.8934.7990.8696.326
SPLN-TR-22210350.110.5683.8990.5434.146
SPLN-TR-23210350.150.5983.7530.5734.496
SPLN-TR-24210350.190.5132.9660.6184.586
SPLN-TR-25210550.110.4023.5520.4453.7
SPLN-TR-26210550.150.4022.9930.4753.853
SPLN-TR-27210550.190.4233.1860.5964.56
Table 2. Run time for machining concave cylindrical surfaces with toroidal milling cutter.
Table 2. Run time for machining concave cylindrical surfaces with toroidal milling cutter.
ExperimentCutting Speed [m/min]Angle of Inclination [°]Feed Per Tooth [mm/tooth]Execution Time [s]
CICV-TR-18055°0.11964
CICV-TR-28055°0.15734
CICV-TR-38055°0.19601
CICV-TR-417055°0.11508
CICV-TR-517055°0.15399
CICV-TR-617055°0.19337
CICV-TR-721055°0.11430
CICV-TR-821055°0.15343
CICV-TR-921055°0.19292
Table 3. The new input values and predicted times.
Table 3. The new input values and predicted times.
ExperimentCutting Speed [m/min]Feed Per Tooth [mm/tooth]Estimated Time [s]
CICV-TR-1800.11964.18
CICV-TR-21000.13751.83
CICV-TR-31200.15528.36
CICV-TR-41400.17233.85
CICV-TR-51600.19305.43
CICV-TR-61800.17514.38
CICV-TR-72000.15404.33
CICV-TR-82200.13375.40
CICV-TR-92400.11365.49
Table 4. Analysis of the time estimates generated by RNA in relation to the time derived from CAM simulations.
Table 4. Analysis of the time estimates generated by RNA in relation to the time derived from CAM simulations.
ExperimentRunning Time [s]Prediction Error [s]Prediction Accuracy Percentage [%]
CAM Simulation ValuesRNA Predicted Values
CICV-TR-19649640100
CICV-TR-2745751−699.19
CICV-TR-3523528−599.04
CICV-TR-440723317457.24
CICV-TR-53453054088.4
CICV-TR-6481514−3393.13
CICV-TR-7393404−1197.2
CICV-TR-8367375−897.82
CICV-TR-93813651695.8
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

Osan, A.R.; Drenţa, R.F. Application of Artificial Neural Networks in Predicting Surface Quality and Machining Time. Machines 2025, 13, 561. https://doi.org/10.3390/machines13070561

AMA Style

Osan AR, Drenţa RF. Application of Artificial Neural Networks in Predicting Surface Quality and Machining Time. Machines. 2025; 13(7):561. https://doi.org/10.3390/machines13070561

Chicago/Turabian Style

Osan, Andrei Raul, and Raul Florentin Drenţa. 2025. "Application of Artificial Neural Networks in Predicting Surface Quality and Machining Time" Machines 13, no. 7: 561. https://doi.org/10.3390/machines13070561

APA Style

Osan, A. R., & Drenţa, R. F. (2025). Application of Artificial Neural Networks in Predicting Surface Quality and Machining Time. Machines, 13(7), 561. https://doi.org/10.3390/machines13070561

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