Prediction of Surface Roughness and Optimization of Cutting Parameters of Stainless Steel Turning Based on RSM

The turning test of stainless steel was carried out by using the central composite surface design of response surface method (RSM) andTaguchi designmethod of central combination design.The influence of cutting parameters (cutting speed, feed rate, and cutting depth) on the surface roughness was analyzed.The surface roughness prediction model was established based on the second-order RSM. According to the test results, the regression coefficient was estimated by the least square method, and the regression equation was curve fitted. Meanwhile, the significance analysis was conducted to test the fitting degree and response surface design and analysis, in addition to establishing a response surface map and three-dimensional surface map. The life of the machining tool was analyzed based on the optimized parameters. The results show that the influence of feed rate on the surface roughness is very significant. Cutting depth is the second, and the influence of cutting speed is the least. Therefore, the cutting parameters are optimized and tool life is analyzed to realize the efficient and economical cutting of difficult-to-process materials under the premise of ensuring the processing quality.


Introduction
Surface quality is an important measure of the quality of machining, while surface roughness is one of the most important and basic parameters.It has a very important influence on the performance and service life of machinery and instruments [1,2].The surface roughness of mechanical parts not only affects the actual effects of the cooperation between parts, working accuracy, but also is closely related to the physical properties and chemical properties, such as thermal conductivity, electrical conductivity, stress, fatigue, and corrosion, in particular, the key parts of aerospace vehicles, the sealing, fatigue resistance, and corrosion resistance, which have higher requirements on the roughness [3].As the widely used metal in medical, metallurgy, shipbuilding, aerospace, and other fields, stainless steel has excellent properties such as good toughness, stress corrosion resistance, fatigue resistance, and fracture toughness [4].In this paper, typical stainless steel 1Cr18Ni9Ti is the experimental object; its performance is shown in Table 1.Due to the severe plastic deformation and hardening during the processing of stainless steel, a large amount of heat is generated, and the chips are easily adhered to the tool to form (BUE), which seriously affects the surface roughness of the machined surface.In addition, stainless steel chips are not easily curled and broken, resulting in secondary damage to the processed surface, affecting the quality of the machined surface.In the actual production and processing, machining process parameters such as cutting speed, feed rate, and cutting depth will directly affect the surface roughness of the part.The part surface quality is improved by optimizing the cutting parameters being widely used [5].
At present, there are mainly the following methods for predicting the quality of surface processing: processing theoretical analysis, experimental analysis, empirical analysis, and algorithm analysis.Researches of surface topography based on machining theory mainly emphasize dynamics in machining process, parameters of machining tool, chip forming mechanism [6], and so on.Texture superposition method is used to predict texture of milled surfaces (Kim and Chu [7]).The surface morphology of the machine workpiece depends on the maximum residual height due to tool eccentricity, and the maximum residual height is determined by tool trace and default residual amount.Therefore, three-dimensional surface topography of workpiece can be obtained by superposition according to given cutting conditions and cutter types.
Machined surface quality prediction researches are conducted to analyze the surface roughness by collecting and analyzing experiment data.Verma et al. [8] used the Taguchi method in the end milling process to identify the variables having a major influence on surface finish.A nonparametric time series processing technique called the singular spectrum analysis is used to model vibration signals in order to forecast surface finish in precision end milling [9]; Hao et al. [6] make the prediction of surface roughness thin-walled parts processing model combine with many theoretical analyses at the same time considering the tool and other factors, making the model accuracy error of 12.4%.At present, many researches focus on the prediction of surface quality using mathematical and algorithmic modeling.Lou et al. [10] adopted the statistical multiple regression technique to study the effect of variation of spindle speed, feed rate, and depth of cut on surface finish in the end milling of 6061 aluminum.Their proposed regression model predicted the surface roughness on the test data with an accuracy of 90.03%.
Choi et al. [9] proposed a generalized model that can predict the surface roughness and burns of alumina grinding wheels during the grinding of cylindrical surfaces.Genetic algorithms, neural networks, fuzzy logic, and expert systems are the most commonly used methods in the study of surface quality analysis using intelligent algorithm analysis.Although these methods can better predict the surface quality of the workpiece, the modeling process is more complicated, and the calculation is also very cumbersome.Common BP neural networks such as that of Lu Zesheng et al. [11] are based on genetic algorithms to predict the roughness of ultraprecision cutting surface, the programming is more complicated, the operator has more parameters such as the crossover rate and mutation rate, and the choice of these parameters has a very significant impact on the quality of the solution.However, most of these choices are currently based on empirical choice; moreover, the disadvantage of modeling this algorithm is that it has a certain dependence on the initial population selection.Chen et al. [12] used neural network to establish a prediction model of the end milling surface roughness.They analyzed the effect of tool edge geometry on machined surface scallop heights and verified that the scallop height was decreasing by increasing the tool axis tilt angle.Yang et al. [13,14] established a fuzzy networkbased surface roughness adaptive control system that can adapt to the cutting parameters.The system uses Kistler 9257B load cell dynamic measurement of milling force of the three orthogonal components and established a real-time monitoring method to improve the surface quality of the roughness of the milling.Issam Abu-Mahfouz et al. [15] used surface roughness prediction using support vector machines as a classification problem.By using three feature extraction algorithms to determine and predict the optimal attribute set required for surface roughness, the success rate reached 81%.Kalidass and Palanisamy [16] used regression and ANN models for predicting surface roughness measured during milling of AISI 304 steel using an uncoated carbide end mill cutter.They found that the ANN model was capable of better predictions of surface roughness than the regression model.Jin et al. [17,18] work is based on artificial neural network prediction algorithm of micromilling roughness model, using BP neural network algorithm; BP network structure is more complex and requires a lot of time and data training to ensure that the model predicted accuracy.This paper uses DCM Montgomery's methodology (RSM) that is a combination of mathematical and statistical principles of nonlinear regression for modeling and analysis of a number of independent variables affecting an independent response to a class of problems [19].The empirical formula model is adopted to approximate the relationship between input and output.This empirical model is often used to express the development law of some things or to describe the corresponding theories in the field of engineering scientific computing.In this paper, the prediction of the roughness of the machined surface is tackled.When the model is researched, many variables include the processing parameters such as feed rate, depth of cut, and cutting speed.The correspondingly formed surface roughness is an independent response.

Experimental Program and Design
2.1.Central Composite Design.The most common method for creating a quadratic model of a response surface is the central composite design (CCD).The entire experiment is composed of three parts: a cube point (each coordinate is 1 or -1), a central point (coordinate 0: the number is determined as required), and asterisk points (except for a coordinate +  or -, the other coordinates are 0, and the number is equal to twice the number of factors).A three-factor central composite design consists of a factor point, a central point, and an axial point; its type is central composite circumscribed design (CCC), central composite inscribed design (CCI), and central composite face-central design (CCF).In a typical CCD design, the number of levels of factors is five (-, -1, 0, 1, and + ) while the number of levels of each of the CCF factors is three (-1, 0, and 1).Therefore, it is extremely meaningful in the case where the replacement level is difficult, and the CCF approach preserves coherence.The experimental results that have been performed on the previous cubic point can be used in the subsequent CCF design, so it can be used in secondorder regression.At the same time, CCF has the highest estimation accuracy of the interaction term in the model coefficient estimation and also ensures sufficient coefficient estimation accuracy for the linear term and the quadratic term.Therefore, this experiment uses the central composite surface design (CCF).The schematic diagram is shown in Figure 1.

Experimental Regression Model.
When there are p variables, the general form of the quadratic regression equation is: Taking into account the cutting speed, feed rate and depth of cut will have an impact on the size of the surface roughness.Meanwhile, there are errors in the experiment and further to establish the cutting parameters on the surface roughness, the surface roughness of the quadratic regression equation was obtained: where   is the surface roughness;   is the surface roughness estimation;  is the test error;  is the estimated value of the coefficient;  is the processing parameter coding.  is the  component of the m-dimensional independent variable;  0 ,   ,   are the undetermined coefficients of the polynomial.In this paper, we arrange the undetermined coefficients in a certain order, which can form a vector ; we used n test points and the least square method to solve the vector . 1) According to the choice of system response output and input variables in the paper, the polynomial model response surface can be expressed as The purpose of the experiment is to obtain a set of optimal stainless steel processing parameters in order to obtain the best stainless steel surface quality.However, it is often difficult to obtain the optimal processing parameters in actual production [11].Therefore, this paper analyzes the impact of various factors on the response in the regression model; the inference and determination of the group level make the predicted value reach the optimal value.

Experimental Design.
In machining, the cutting surface roughness mainly depends on the height of the cutting residual area, cutting speed, and cutting depth [20].Factors that affect the height of the cutting residual area include tip radius, the main declination, declination, and feed [21].However, the tool nose radius, the main declination angle, and the declination angle are all determined by the tool.Therefore, the cutting speed (V), feed rate (), and cutting depth (  ) are the main cutting parameters that affect the roughness.Therefore, the experiment selected the above three kinds of cutting parameters as the influencing factor.This article is set to X1, X2, and X3 and divided into three horizontal design orthogonal experiments.Experimental machine equipment of Nanjing Agricultural University C6132A horizontal lathe was used; the tool material selection model is 41305A carbide cutting insert, tool performance shown in Table 2.The selected test workpiece material is ordinary stainless steel 1Cr18Ni9Ti-chemical composition: C ≤ 0.12%, Si ≤ 1%, Mn ≤ 2%, S ≤ 0.03%, P ≤ 0.035%, Cr(17%-19%), Ni(8%-11%), and TI(5(C-0.02)-0.8%).It belongs to austenitic material and is heat-treated at 920∼1150 ∘ C by water quenching (solution treatment).Specific mechanical and cutting performance are shown in Table 1, with the workpiece surface roughness detection using JB-4C surface roughness step tester and the instrument based on GB/T10610-1998 national standards and ISO5436 and ISO11562 international standards for manufacturing.The measured parameters for the outline of the arithmetic mean deviation   .

Process of Experiment and Test Analysis.
Assume that the cutting speed V is  1 , the cutting depth   is  2 , and the feed amount  is  3 ; meanwhile, the variation range of the processing parameters was determined: V is 70-150 (m/min),   is 0.08-0.16(mm), and  is 0.20-0.60(mm/r). 1 ,  0 , and  -1 , respectively, represent the 1 level, 0 level, and -1 level of each processing parameter variable and encode the above three variables: In ( 5), X  is the variable coding; Z  is the processing parameter variable; Z 0 is the 0 level of the processing parameter variable; and Δ is the range of variation, which can be calculated by Δ = (Z 1 − Z 0 )/r (in the CCF design,  = 1).The horizontal coding of the processing parameters is shown in Table 3, finish turning for twenty times was conducted; the cutting process (a) and processing equipment (b-c) are shown in Figure 2. The tool material belongs to the YG class of China model; the model of the tool holder is T39W20G.In order to avoid the effect of tool wear on the experiment, we uniformly used 20 new tools (as in Figure 2(c)) of the same type for cutting experiments and measured each test surface roughness; the results are shown in Table 4.

Two Randomly Selected Test Images of JB-4C Surface
Roughness Measuring Instrument.The surface roughness value was detected with cutting speed of 70/110 (m/min), feed rate of 0.6/0.2(mm/r), and cutting depth of 0.08/0.12(mm), respectively, by JB-4C surface roughness measuring instrument, and the roughness measurement method is a single measurement; the surface roughness values of 3.042/2.666(m) are shown in Figures 3 and 4. The above two sets of values are derived from twenty sets of experimental data, and the remaining complete data and corresponding code values are shown in Table 4.Meanwhile, in the above range, we did not find out the phase change of the material through the XRD test technology.

Taguchi Experimental Design.
Taguchi design is an experimental design method focused on minimizing process variability or making products and processes least sensitive to environmental variability, which was created by Dr. Kenichi Taguchi, Japan.It enables the design of an optimized and stable model to test data results under variable environmental conditions [22].Taguchi designs usually use orthogonal tables to design experiments and get more information by fewer tests.Therefore, L 20 (4 3 ) orthogonal table was designed combined with the response surface design based on Taguchi experimental design.20 in L 20 (4 3 ) means that 20 tests are to be done, of which 3 means 3 factors and 1 to 4 mean 4 levels.The processing parameters and experimental level are shown in Table 3.The above two methods combined with the design of the form in Table 4.

Experimental Results of the Analysis and Discussion
According to Table 4, the quadratic regression fitting curve of each factor to the surface roughness value was fitted by Matlab software, the regression equation of the single factor submodel is (7), and the Minitab was used to fit the curve diagram as shown in Figures 5-7: 3.2.Discussion.From the above fitting curve (Figures 5-7), response surface model, and surface map, it can be seen that surface roughness of stainless steel 1Cr18Ni9Ti decreases firstly and then increases with the cutting speed increases (as shown in Figure 8).It can get a better surface roughness value if we meet a certain cutting speed; the surface roughness begins to increase again when the cutting speed exceeds a certain speed value.Due to the low cutting temperature at low speeds (30 m/min-90 m/min), the stainless steel material adheres to the surface of the tool to form built-up edge, and the surface of the workpiece has obvious tearing and bursting, resulting in increased surface roughness.When the cutting speed is about 110 m/min, with the increase of cutting temperature, the material will have obvious softening effect, the built-up edge will disappear, the surface of the workpiece will be smooth, and the roughness value will become smaller.
With the increase of cutting speed (120 m/min-140 m/min), the cutting temperature rises significantly, the situation that the mountain-like defects are raised at a uniform distance from the surface is very serious, and the workpiece surface material undergoes severe plastic deformation and lateral flow in the cutting process due to the influence of cutting force and cutting temperature.In addition, the wear of the back of the tool is intensified.In the shear separation process, part of the workpiece material on the machined surface is carried away by chips or part of the chips is stuck on the processed surface, and the phenomenon of sticking occurs, resulting in a large roughness.However, the influence of feed rate on the surface roughness is very large.The surface roughness increases due to the increase of the feed rate leading to a proportional increase of the residual area of the machined surface (Figure 9).Because the feed rate affects the size of the residual surface area of the workpiece surface, it directly affects the size of the surface roughness.The increase in the feed rate leads to an increase in the residual area of the cutting and increases the roughness (Also including   ,   , and  V ).Cutting depth has a smaller effect on the surface roughness of the stainless steel, with a slight increase in surface roughness as cutting depth increases (Figure 10).As the depth of cut increases, the surface roughness of the part being machined increases.As the depth of cut increases, the cutting force of the cutting tool also increases, and the vibration of the tool system also increases.These factors make the part of the quality of the machined surface deteriorate.Therefore, in order to improve the surface quality of the parts, a smaller depth of cut should be used as far as possible to meet the processing requirements.Therefore, the combined effect of the three on the surface roughness is that feed rate accounts for a large proportion.The R-Sq value of it reaches 78%; the relationship between the cutting speed and roughness is more complicated; it reaches a better roughness near a certain value, so it presents a periodic change and provides a basis The effects of various factors on the surface roughness of 1Cr18Ni9Ti stainless steel were obtained:  >   > V.

Analysis and Verification of the Model.
In order to get the optimal regression equation of the roughness model of 1Cr18Ni9Ti, the linear term, the quadratic term, and the interaction term in (6) were analyzed by using Matlab software.The results are shown in Table 5.If the item  is less than or equal to 0.05 in the significance analysis, the item is significant [23]; otherwise, the item is not obvious.As shown in Table 5, the  value of the linear term X 3 is less than 0.001; it is quite significant; the proportion of the influence of feed rate on surface roughness is verified again.The  values of linear term of X 1 and X 2 are less than 0.05; the quadratic terms X 1 2 , X 2 2 , X 3 2 are significant ( value < 0.05), and the P values of interaction terms X 1 and X 2 , X 1 , and X 3 are greater than 0.05, so the above two interaction terms (greater than 0.05) cannot be considered significant.
The insignificant term was removed in the significant analysis and the second-order response surface model (equation ( 6)) was modified, in order to optimize the model according to the principle of regression equation optimization.Finally, the response surface analysis model equation of 1Cr18Ni9Ti stainless steel surface roughness is obtained: From the normalized residual histogram of surface roughness in Figure 11, it can be seen that No. 3 point is an abnormal value of surface roughness.The standardized     residuals map basically shows a straight line, so the above reasoning is reasonable.
In order to ensure the reliability of the model being built, it is verified again by actual machining.1Cr18Ni9Ti stainless steel was cut by random combination of process parameters and compared with the surface roughness results obtained by the model analysis.The results are shown in Table 6.The experimental data in Table 6 show that the relative error between the actual roughness and the model analysis is less than 7%, which verifies the reliability of the surface roughness analysis model.
The surface roughness value was detected with cutting speed of 85/92 (m/min), feed rate of 0.4/0.2(mm/r), and cutting depth of 0.11/0.12(mm),respectively, by JB-4C surface roughness measuring instrument, and the roughness measurement method is a single measurement; the surface roughness values of 2.605/2.121(m) are shown in Figures 12 and 13.Figures 12 and 13 correspond to the experimental results of No. 1 and No. 2 in Table 6.

Optimization of Test.
Many kinds of processing parameters optimization goals are investigated, improving the quality of surface processing for the optimization of the target.Process parameters are optimized by using response surface methodology according to the requirements of the surface roughness, and the optimization is solved by using Minitab.In this experiment, the cutting speed, cutting depth, and feed speed were used as constraints (as shown in Table 7),       From the previous conclusion (discussed in Section 3.2), it can be concluded that the predicted optimal response roughness is 1.85 (m), the cutting speed is 140 (m/min), cutting depth is 0.16 (mm), and feed rate 0.2 (mm/r) can achieve better roughness in the actual machining process, which accords with the optimal region of the model shown in Figures 8-10.Meanwhile, the roughness value of the predicted roughness model (unoptimized equation ( 6)) is 2.4791 (m), which is 10% higher than the expected value, as shown in Figure 14(a), and the value of prediction model roughness reached 1.85 (m) according to regression optimized model of ( 9), as shown in Figure 14(b); it is about 26% higher than the expected value, which greatly improved the machined surface quality of stainless steel 1Cr18Ni9Ti.

Verification Experiment Comparison.
We have conducted actual experimental tests on the above theoretical results.We have obtained experimental results for both the optimized model and the unoptimized model (as shown in Figures 15 and 16).It can be seen from the Figures 15 and 16 that the roughness of the optimized model is smaller than the roughness value of the unoptimized model, and both errors are within 8%, but the error of unoptimized model is 2.8%, and the error of optimized model is 7.3%.It is obvious that the model error of the latter is relatively large.We believe that the optimized model removes the insignificant term and leads to an increase in the error of the model.

Economic Analysis of Machining.
The production time of a single part in machining is mainly divided into three parts: preparation time, processing time, and tool replacement time.However, the production cost of a single part is divided into five elements: (1) preparation cost, (2) cutting process cost, (3) tool replacement costs, (4) tooling cost and depreciation cost, and (5) others.From the production time and cost point of view, the life of the tool will affect the processing efficiency, combined with the analysis of the results in Section 3.2; we will optimize the cutting parameters to improve the service life of the tool on the premise of ensuring the roughness.The machining test in this paper is excircle lathing; tool life formula is generally as follows [24]: In the formula, d is the diameter of the workpiece, L is the length of the workpiece, and A is the machining allowance.In this paper, d = 451 mm, L = d, and A = 2 mm.The unit of tool life is hour.
From (10), it can be seen that , , and   have influences on the tool life.According to the above conclusions, the influence of the feed amount on the roughness is the largest; in order to ensure the roughness, we first select a suitable feed rate.Under the premise of selecting  = 0.20 (mm/r), the tool  life is improved by optimizing the cutting speed v and the cutting depth ap.The influence of the cutting depth is small.Therefore, the main factor influencing the cutting speed is v, and the contour maps of the tool life and roughness are made in combination with ( 9) and ( 10), as shown in Figure 17.
As shown in Figure 17(a) which is contour map of T 0 , , and   , it reflects the relationship between tool life, cutting speed, and cutting depth.Figure 17(b) is contour map of   , , and   ; it reflects the relationship between roughness, cutting speed, and cutting depth.Figure 17(c) is contour map of T 0 ,   , , and   ; it can be seen that there are a lot of intersections with the tool life contour map when   = 2.2 m and   = 1.8 m.It shows that there are several sets of cutting parameters that can make the roughness of 2.2 m or 1.8 m; however, the tool life of multiple sets of cutting parameters is not the same.We can choose a combination of cutting parameters with long tool life under the premise of ensuring roughness; in this way, tool change time, tool change fees, processing costs, tooling fees, and depreciation fees can be reduced, increasing production efficiency.Therefore, in the actual production combined with the roughness prediction model, tool life formula, and actual processing conditions, select the optimal combination of cutting parameters.Therefore, we can combine the roughness prediction model, tool life formula, and actual machining conditions to select the optimal combination of cutting parameters under actual processing conditions.4.5.Discussion.In this paper, the Taguchi design method was used to design the turning test, and the roughness model prediction model was constructed by using the central composite surface design in the RSM.The response surface method is not as complex as the neural network algorithm, and it is easily migrated to predictive models in other cases where large amounts of data cannot be obtained.Compared to the self-adaptive neural network model in [25], this model does not need to do a lot of experiments.At the same time, this paper optimizes the model again and has higher prediction accuracy and smaller error than the paper [26].Combined with the surface roughness prediction model and the tool life contour map, the optimal cutting parameters can be selected in combination with the production conditions in the actual production.Three factors were considered: cutting speed, feed rate, and cutting depth.The least squares method  was used to estimate the regression coefficients, and the regression equation was curve fitted.At the same time, the predictive model and response surface design were tested and optimized, respectively.The response surface map and Matlab 3D surface map were established.The relationship between the factors and the accuracy of the prediction model were analyzed and the process parameters were optimized.established by second-order response surface method is reliable.It can provide some experimental evidences for the control of 1Cr18Ni9Ti surface roughness in the range of experimental parameters.Meanwhile, we found that the influence of feed rate on the surface roughness is the most significant, the cutting depth is the second, and the influence of cutting speed is smallest among the three factors that affect the turning surface roughness of stainless steel 1Cr18Ni9Ti through the prediction model and experimental analysis.

Conclusion
(2) The surface roughness of stainless steel workpieces can be effectively controlled through reasonable selection of process parameters; two sets of data were selected for comparison experiments under the conditions of the prediction model in the paper.We found that a lower surface roughness value can be obtained when  = 143.5354(m/min),   = 0.16 (mm), and  = 0.20 (mm/r); the value is less than the value of unoptimized model parameter ( = 99.0909(m/min),   = 0.16 (mm), and  = 0.20 (mm/r)).So we obtained a set of optimal parameters for turning stainless steel: cutting speed 140 (m/min), cutting depth 0.16 (mm), and feed rate 0.2 (mm/r).The surface roughness can be effectively controlled at about 1.85 (m).
(3) We can see that there are many sets of cutting parameters under the same roughness through the analysis of the contour map of the roughness and tool life; these parameters directly affect the service life of the tool.Under the premise of ensuring roughness, the processing parameters that can maximize the tool life can be selected according to contour maps, processing costs can be reduced, and production efficiency can be increased.It has guiding significance for economical processing.

Figure 5 :
Figure 5: Fitting curve of surface roughness of 1Cr18Ni9Ti and cutting speed.

Figure 6 :
Figure 6: Fitting curve of surface roughness of 1Cr18Ni9Ti and cutting depth.

Figure 7 :
Figure 7: Fitting curve of surface roughness of 1Cr18Ni9Ti and feed rate.

Figure 8 :Figure 9 :
Figure 8: Response surface model and surface diagram of surface roughness, cutting speed, and cutting depth.

Figure 10 :
Figure 10: Response surface model and surface diagram of surface roughness, cutting depth, and feed rate.
Optimized model response optimization analysis

( 1 ) 14 Mathematical
The response surface method can effectively model the nonlinear cutting parameters that have many influencing factors in the lathe turning process, and the model is significant.The reliability analysis and verification test show that the surface roughness analysis model of stainless steel 1Cr18Ni9Ti Contours map of T 0 , , and   Contours map of Ra, , and   Contour map with fixed feed rate

Figure 17 :
Figure 17: Tool life and roughness contour map.

Table 2 :
Experimental mechanical properties of the tool material.

Table 3 :
Factor encoding and level table.

Table 5 :
Analysis of the surface roughness of 1Cr18Ni9Ti and the significance of various factors.

Table 6 :
Experimental verification of model reliability.