Fusion: Practice and Applications

Regression Analysis and Artificial Neural Network Approach to Predict of Surface Roughness in Milling Process

Zaineb Hameed Neamah, Ahmad Al-Talabi, Asma A. Mohammed Ali
Volume 13, Issue 1, pp. 37-48 (2023)
DOI: https://doi.org/10.54216/FPA.130103
Online: https://www.americaspg.com/journal/3/article/2039

Abstract

Surface roughness (Ra) has a significant influence on the fatigue strength, corrosion resistance, and aesthetic appeal of machine components. Ra is hence a crucial manufacturing process parameter. This study predicts Ra of aluminum alloy Al-7024 after milling. Regression analysis and artificial neural network (ANN) modeling approaches are suggested for predicting Ra values. For better surface roughness, the cutting parameter must be set properly. Spindle speed, feed rate, and depth of cut have been chosen as predictors. Through 31 study cases, regression and ANN were used to examine how these parameters affected Ra. The measurement of surface roughness, together with comprehensive Ra analysis and regression analysis. The findings of this investigation indicate that Ra was predicted by both the regression and ANN models. convergent results from model predictions are obtained. This convergence highlights the promising methodology used in this work to forecast Ra in the milling of Al-7024. The findings demonstrated that, in comparison to the regression model, which had an average variation from the actual values of roughly 1%, The surface roughness was accurately predicted by the ANN model.

Keywords: Prediction; Surface Roughness; Milling; Artificial Neural Networks and Regression Analysis.

1. Introduction

The current manufacturing process pays close attention to a machined part's surface roughness. The fatigue strength, corrosion resistance, and tribological qualities of machined components are influenced by the features of the machined surface. The surface finish created after machining determines the material quality. To provide safe turning operations, the machined surface must be controlled [1]. How closely a final product complies to requirements, such as size and surface quality, is what determines its quality [2]. Therefore, monitoring, and characterizing surface qualities are key components of production processes. Surface finish, surface texture, and surface roughness together define and identify the quality of a surface. One of the crucial aspects of a work piece's quality in the turning process is its surface roughness. A work item may need to be trashed or redone because the cutting circumstances have an influence on the quality of the surfaces. Numerous research has been done to forecast the value of roughness as a result [3]. The milling process modeling to forecast surface roughness is presented in this work. For greater surface roughness, the cutting parameter must be set properly. Unfortunately, the traditional approach of trial and error is time- and money-consuming. The goal of this research is to create a mathematical model utilizing artificial neural networks and regression analysis. Spindle speed, feed rate, and depth of cut are three separate predictors that can be used to determine surface roughness. The format of this essay is as follows: Prior research is then briefly reviewed. The results and predictions are then presented and examined. At the conclusion of the article, conclusions are drawn.

2. Literature review

Hiba K. Hussein et al [4] (2022) In the milling process, Ra of Aluminum Al-7075 is anticipated and reduced. The formula for a conventional mathematical model must include Ra minimization. To estimate the least Ra value, a model is being developed to handle actual Ra experimental data from the milling process. For predicting the minimal Ra value, two model strategies are recommended: regression and artificial neural networks (ANN). The process parameters that were examined were cut speed, feed rate, and cut depth. Through 27 research cases, regression and ANN were utilized to examine how these factors affected Ra.

Saadat Ali Rizvi et al [5] (2021) investigated the effects of different machining input parameters, such as cutting speed (v c), feed rate (f), depth of cut, and nose radius (r), on output, i.e., surface roughness (Ra and R q), and metal removal rate (MRR), of the C40 steel using an artificial neural network (ANN) technique.

Jignesh G. Parmar et al (2012) [6] When end milling M.S. material with a carbide tool, the effects of different cutting settings on the surface roughness are explored experimentally. An artificial neural network (ANN) is used to ascertain how the surface roughness and the cutting input parameters are related (spindle speed, feed and depth of cut). The results of this study might be put to use in the workplace to make surface roughness prediction quicker and less expensive.

Yung-Chih Lin et al (2020) [7] offers surface roughness modeling for machined products based on machining vibration and cutting parameters (spindle speed, cutting depth, and feed rate). Prediction models were developed using multiple regression analysis and an artificial neural network (ANN) modeling approach.

Cheng-Hung Chen et al (2021) [8] To predict the surface roughness of the treated workpiece, a back propagation neural network (BPNN) was recommended. An ANOVA was used to analyze the effects of milling factors such as spindle speed, feed rate, cutting depth, and milling distance. The experimental results show that the root mean square error (RMSE) of the back propagation neural network is 0.008, which is much smaller than the 0.021 achieved by the traditional linear regression technique.

Acayaba and de Escalona [9] A multiple regression model was also developed to assess average surface roughness. It has two hidden layers with five neural connections each and a validity of 0.72 in terms of mean square error. The implication is that Artificial Neural Ne work has a better predictive ability.

Zain et al. [10] provide the Artificial Neural Network (ANN) model for predicting the performance measure in the machining process with the presumption that ANN is the major approach for assessing surface roughness. For surface roughness prediction using neural networks, a variety of processing parameters can be used [13–20].

Zerti et al. [11] utilized response surface approaches and artificial neural networks for output modeling. The parametric analysis method can be used to analyse data using a variety of statistical techniques. Input and output for neural networks that forecast additional processing parameters are both provided by surface roughness.

Thangarasu et al. [12], An artificial neural network was used to predict the side wear of cutting tools based on how the cutting force and surface roughness interact.

3. Methodology

Recently, two methods have been used on the aluminum alloy in comparison. The milling procedure produced the experimental results. ANOVA, regression analysis, and ANN models will all be employed for comparison and verification to predict better results. The ANN approach creates a correlation between system parameters by using their input and output variables. MATLAB has been used to create an ANN model using the back propagation approach. This investigation will show that both methods may accurately estimate surface roughness to a similar degree. Flow Chart Steps for Prediction of the surface roughness shown in figure (1).  Steps for an artificial neural network model The typical steps for creating neural networks to fix problems are:

1. Collect the data. 2. Establish a network. 3. Set the network up. 4. Set the weights and biases to zero.

5. Train the network 6.Validate the network, 7. Run a network test. 8. ANN outcome  ANOVA and regression analysis model steps The following steps are included in the process to define a model of the process:

1. The following phases are included in the process to define a model of the process: 1. Deciding on the levels and the components that will be included in the process. 2. Randomly combining every potential component level in the experiment. 3. Using parametric analyses of variance to analyze the data gathered (ANOVA). 4. Creating a model for multiple regression. 5. Verifying the model's validity

Figure 1. Flow Chart Steps for Surface Roughness Prediction
Figure 1. Flow Chart Steps for Surface Roughness Prediction

4. Experimental Work

The alloy of aluminum 7024 that will be machined is chosen. The AL work piece's measurements during the milling process were 100 mm by 150 mm by 3 mm. The alloy Al-7024's key chemical structure is listed in the table (1). The surface roughness value was calculated using a surface roughness tester. The input parameters [Spindle speed (rpm), feed rate (mm/rev), and depth of cut (mm)] were used to calculate the value of the surface roughness (Ra).

Table 1. Chemical Composition of Aluminum 7024
Table 1. Chemical Composition of Aluminum 7024

Each region has a variety of cutting circumstances, and depending on those variables, the surface roughness value will vary. After carrying out the experimental work, we used the 31 study cases provided in table (2) as the experimental data to determine the roughness for each region using the Pocket Surf tester. First, using case studies, regression analysis, and neural network models are used to compare and forecast results for surface roughness.

Table 2. Case Studies Information on the Impact of Cutting Parameters on Surface Finish
Table 2. Case Studies Information on the Impact of Cutting Parameters on Surface Finish

NO. Spindle speed

Feed rate (M m/min)

Depth of cut

Surface Roughness Ra

(Mm) 31 1250 150 0.75 1.7

4.1 ANOVA and Regression Analysis Model The relationship between surface roughness and a few chosen machining factors is predicted using regression analysis. The research considered both the direct impacts of these factors as well as the results of their interactions [13]. The experiment's input data and surface roughness reading values are shown in Table (2). The Excel software is used to determine the constants for the multiple linear regression equation. The regression model was fed experimental input data (Speed, Feed rate, and Depth of cut) and the associated output data (Experimental roughness data). Surface Roughness and Regression Output are shown in Figure (2) and the results of the multiple linear regression model are shown in Table 3.

Figure 2. Regression Output and Surface Roughness
Figure 2. Regression Output and Surface Roughness
Table 3. Summary Output
Table 3. Summary Output

(rpm)

(mm)

Figure

4.2 Prediction of Surface Roughness Using Artificial Neural Network (ANN)

ANN is crucial because it can address nonlinear problems [14]. Additionally, ANN is used in this work to forecast the surface roughness using the MATLAB R2022a tool. The supplied ANN model has multiple layers, and the data were processed in the hidden levels of these layers. Cutting speed, feed rate, and depth of cut are provided to the network together with the desired output, surface roughness, during the training phase of an ANN. The weights are initially created randomly, and then changed using the back propagation process to reach a desired performance level [15-16]. The mentioned ANN model's network is trained using 31 trials. The network demonstrated effective training and learning to forecast the surface roughness output value for testing and validation. Figure (3) displays the neural network architecture, Figure (4) displays the neural network training results, and Figure (5) displays the error curve for the optimized neural network over the training, validation, and test data.

Figure 3. Neural Network Architecture
Figure 3. Neural Network Architecture

Figure (6) displays the Training State Plot. It is evident from Figure (7) below, The Curve for Correlation Among the Factors and Following the Regression Pattern, that most of the predicted and experimental values closely match each other on the regression line during the training phase, achieving R=0.995 in training values. Regression was found to be 0.982 in total values performance, which is an excellent result. Regression was found to be 0.972 and 0.994 in validation and testing, respectively. The occurrence of some real values that are not totally consistent with the predicted ones can often be attributed to a variety of sources. These elements might be the outcome of errors in experimental results brought on by the environment, tools, and observations. The neural network model won't lead to a coincidence between expected and actual values, and the residuals won't be both negative and positive. The performance of the given network depended on the quantity of the mean square in proportion to the increase in the number of epochs, with the best validation performance in Figure (5) above being 0.11387 at epoch number 6. Table 4 provides an overview of the neural network model.

Figure 4. Neural Network training results
Figure 4. Neural Network training results
Figure 5. Error Curve for Optimized Neural Network over the Training, Validation, and
Figure 5. Error Curve for Optimized Neural Network over the Training, Validation, and

Test Data

Figure 6. Training State Plot
Figure 6. Training State Plot
Figure 7. The Regression Pattern and the Curve for Correlation Among the Factors
Figure 7. The Regression Pattern and the Curve for Correlation Among the Factors
Table 4. Summary of Neural Network Model
Table 4. Summary of Neural Network Model
Figure

5. Discuss Results of Two Models

The outcome of data forecasting for the following two years using two models—ANN and regression analysis— is shown in Table 5. Less of a fraction of Ra's original data and the outcomes of the predictions were off. This study looked at the effects of three factors and could predict (Ra) values. The original Ra data and the Surface Roughness Using Artificial Neural Network Prediction result are shown in Figure (8). Comparison of the Original Ra Data with the Prediction by ANN and Prediction by Regression Analysis is shown in Figure (9). The findings demonstrated that, in comparison to the regression model, which had an average variation from the actual values of roughly 1%, the ANN model estimated surface roughness with a high degree of accuracy.

Table 5. The Result of Forecasting Data for the Next Two Years
Table 5. The Result of Forecasting Data for the Next Two Years
Figure
Figure 8. The Original Data of Ra and Prediction Result of Surface Roughness Using Artificial Neural Network
Figure 8. The Original Data of Ra and Prediction Result of Surface Roughness Using Artificial Neural Network
Figure 9. Comparing Between Original Ra Data with The Results of The Predication by ANN and The
Figure 9. Comparing Between Original Ra Data with The Results of The Predication by ANN and The

Predication by Regression Analysis

6. Conclusions

Regression analysis and an artificial neural network were utilized in the current study to assess the surface roughness of the alloy made of 7024 aluminums. When surface roughness was estimated using a regression model, it was discovered that there was a disparity of about between the value obtained using NN and the value with a satisfactory estimation. It is discovered that both models lowered the experimental data's minimum surface roughness value by around 0.987%. In reducing surface roughness, very comparable outcomes were obtained. Overall, it can be said that when ANN and regression are used to estimate the lowest surface roughness, similar results are obtained. Regression and artificial neural networks both offered promising ways to predict how surface roughness will behave in response to changing machining process parameters. Due to its simplicity and capacity to predict the behavior of the nonlinear system, NN may really be seen as a potent instrument to estimate surface roughness value with these fair results.

References

Figure
Figure
  1. Dijmărescu, Manuela-Roxana, et al. "Surface Roughness Analysis and Prediction with an Artificial
  2. Yang, Dayong, et al. "Surface Roughness Prediction and Optimization in the Orthogonal Cutting of
  3. Kosarac, Aleksandar, et al. "Neural-Network-Based Approaches for Optimization of Machining
  4. Hussein, Hiba K., Israa R. Shareef, and Iman A. Zayer. "Mathematical Modelling of Engineering
  5. Rizvi, Saadat Ali, and Wajahat Ali. "An artificial neural network approach to prediction of surface
  6. Parmar, Jignesh G., and Alpesh Makwana. "Prediction of surface roughness for end milling process using
  7. Lin, Yung-Chih, et al. "Prediction of surface roughness based on cutting parameters and machining
  8. Chen, Cheng-Hung, Shiou-Yun Jeng, and Cheng-Jian Lin. "Prediction and analysis of the surface
  9. Acayaba, G.M.A., de Escalona, P.M. (2015). Prediction of surface roughness in low speed turning of
  10. Ahmad, N.; Janahiraman, T.V.; Tarlochan, F. Modeling of Surface Roughness in Turning Operation
  11. 21. Zerti, A.; Yallese, M.A.; Zerti, O.; Nouioua, M.; Khettabi, R. Prediction of Mechanical Engineers.
  12. Thangarasu, S.S.; Mohanraj, T.; Devendran, K. Tool wear prediction in hard turning of EN8 steel using
  13. Srinivasan, D., et al. "Investigation of surface roughness and material removal rate of WEDM of SS304
  14. Tam, Vivian WY, et al. "A prediction model for compressive strength of CO2 concrete using regression
  15. Mouloodi, Saeed, et al. "Feedforward backpropagation artificial neural networks for predicting
  16. Al Basheer, O., "On Some Novel Simplex Linear Codes Defined Over the Algebraic Ring F2+vF2 ",