Next Article in Journal
Design and Experimentation of the Millet Combine Harvester Header
Previous Article in Journal
RSSR Mechanism Design and Motion Control Strategy of a Carbon-Free Vehicle for Obstacle Avoidance Competition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Generic Multi-Objective Optimization of Machining Processes Using an End-to-End Evolutionary Algorithm

1
School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China
2
College of Artificial Intelligence, Southwest University, Chongqing 400715, China
*
Author to whom correspondence should be addressed.
Machines 2024, 12(9), 635; https://doi.org/10.3390/machines12090635
Submission received: 16 August 2024 / Revised: 4 September 2024 / Accepted: 10 September 2024 / Published: 11 September 2024
(This article belongs to the Section Advanced Manufacturing)

Abstract

:
Machining processes have been widely employed in the modern manufacturing industry to transform raw materials into final products, and they are of great importance in improving the environmental impact and production efficiency of this industry. The selection of appropriate machining process parameters can effectively improve the environmental impact and production efficiency of a process. However, most existing studies on the optimization of these parameters have targeted optimization techniques or modeling methods, and have seldom taken into consideration the adaptability of the machining process. Thus, they suffer from poor generalization and flexibility in actual deployment. Based on this, a generic optimization framework based on the end-to-end evolutionary algorithm was proposed in this study, which can be adapted to various machining optimization problems, to guide the operators in selecting the best parameters in an automated way. Firstly, a modeling framework was introduced to guide the operators to develop optimization objectives. Subsequently, a flexible optimization algorithm was employed to generate Pareto front solutions. Finally, the CRITIC-TOPSIS method was employed to provide a final solution from the different Pareto solutions generated. Experiments were conducted on a milling machine to demonstrate the effectiveness and advantages of the proposed method. The results showed that the proposed method is flexible and applicable for the optimization of the different machining steps and objectives.

1. Introduction

The manufacturing industry plays an indispensable role in modern society and has been widely involved in the manufacture of products that meet modern society’s requirements [1]. The machining process is regarded as the most important step in the manufacturing industry and is used to convert raw materials into the desired products [2,3]. Currently, the manufacturing industry is aiming for lower lead times, lower energy consumption, and higher quality owing to the increasing demand for environmental sustainability, competitiveness, and high-end products [4,5]. In general, the quality, energy consumption, and time of machining are directly affected by the process parameters. Hence, it is important to optimize these parameters [6]. However, these goals often conflict with each other, and the machining process is complicated and involves a wide range of chemical and physical reactions. Therefore, extensive research on the multi-objective optimization of machining processes has been conducted and applied in recent years [7,8,9].
As mentioned in the previous paragraph, many researchers have focused on determining suitable process parameters that can balance different objectives [10,11]. In general, existing studies on multi-objective optimization can be broadly classified into two categories: experiment-based and model-based optimization methods [12,13,14]. In the case of experiment-based optimization methods, mathematical relationships are first developed using various experimental techniques. Subsequently, a parameter selection method is employed to determine the most suitable parameters [15,16,17]. Kumar et al. proposed using the Taguchi method and gray relational analysis (GRA) to optimize the surface roughness and delamination of CNC (computer numerical control) drilling parameters for machining HCHCR steel [18]. Xiao et al. proposed the integration of the Taguchi method, the response surface method (RSM), and the modified multi-objective particle swarm optimization (MOPSO) algorithm to minimize energy and time [19]. In their research, the Taguchi method was used to design the experiment, and RSM was employed to develop regression models for the responses based on the experimental data. Akhtar et al. optimized the removal rate of the material (maximum), the roughness of the machined surface (minimum), and cutting force (smallest amount) using the L27 array of the Taguchi method [20]. By using these experimental-based optimization techniques, which have a high generalizability and applicability, the parameters for different machining processes can be readily obtained.
In model-based methods, the relationships between the process parameters and output targets are mostly determined using various physical mathematical formulas or multiple different deep learning algorithms [21,22,23]. Shin et al. proposed a component-based energy modeling methodology to optimize the machining process. In their study, component models that can predict energy on the tool-path level for specific machining configurations were developed [24]. Wang et al. developed a dual-objective optimization model for the selection of milling parameters and minimized the power consumption and processing time [25]. Wu et al. also proposed the use of a deep learning-based data-driven genetic algorithm for the multi-objective optimization of machining process parameters and to determine final solutions. In that study, deep learning was employed to develop data-driven surrogate functions, which were then employed as the optimized objective functions [26]. Cao et al. also proposed a multi-objective decision-making approach for the process parameters of high-speed dry hobbing based on K-means clustering, the multi-objective Runge Kutta optimizer (MORUN), and the analytic hierarchy process (AHP). Through the use of modeling-based optimization techniques, the machining process parameters could be selected prior to the machining process, and the cost and time of machining could be minimized [27].
Accordingly, both model- and experiment-based studies on the optimization of the CNC machining process have achieved huge success. However, most of the existing studies only focused on a specialized optimization process for use within a specific optimization framework and did not consider the dynamic characteristics of machining processes brought about by the manufacturing operations. Accordingly, previously developed optimization models often suffer from poor generalization, which hinders their application in the actual manufacturing industry. In general, problems exist in the following three key aspects.
(1)
During the objective modeling phase of optimization, conventional studies are often conducted under the assumption that modeling methods aimed at different objectives are the same. However, the characteristics of the different objectives vary greatly, resulting in variations in their representation. The lack of guidance in the construction of an objective model system for optimization leads to the poor adaptability of optimization systems to different types of machining processes. Accordingly, to help improve the generalization and flexibility of multi-objective optimization methods, a novel modeling framework that can be readily adapted to different machining optimization objectives is required.
(2)
During the multi-objective optimization stage of the machining process, conventional studies often use fixed optimized dimensions, and it is common practice to establish objective functions and constraints in a stationary state, which cannot be modified during the optimization process. In general, the machining steps and requirements are often changed during daily manufacturing operations, resulting in the state of the objective functions and constraints being dynamic. As a consequence, conventional single-step optimization methods are ineffective for different machining optimization tasks. While it is possible to develop a specialized optimization framework for each machining task, such an approach can be both costly and time-consuming.
(3)
Conventional studies have mostly conducted the multi-objective decision-making process in a subjective and specialized way to determine Pareto front solutions. This is effective when handling low-dimensional Pareto front searches. Unfortunately, in a multi-step machining process, the number of optimized dimensions is high. The conventional way of manually assigning weights and finding a final solution is prone to error, and it is hard for the operators to find the best approximate process parameters. On the basis of this, a novel method that can determine the final parameters for the operators in an objective and automated way is required.
The purpose of this research was to address a crucial gap in the field of optimization techniques by introducing a novel approach that can facilitate the optimization of different machining processes. To achieve this goal, a generic optimization framework based on the end-to-end evolutionary algorithm is presented in this paper, which covers the most common main stage during the optimization of the machining process. This framework allows for dynamic changes to the objective functions and constraints, which is a significant improvement compared with traditional optimization methods that are rigid and inflexible. At first, an objective modeling method was introduced, which covered a physical model, a data-driven model, and a physics-informed machine learning model. On the basis of this, a unified surrogate model was introduced to transfer the developed models into objective functions. In the second step of the method, the problem and constraints were outlined in detail. In this part, the researchers accounted for the potential impact of the different optimization processes. By defining these conditions, an optimization technique was introduced to generate Pareto front solutions. Following this, the intercriteria correlation technique for order preference by similarity to the ideal solution (CRITIC-TOPSIS) was employed to find the final parameters from the high-dimensional Pareto front solutions generated in the previous step.
The contributions of this study are twofold: First, an end-to-end multi optimization framework is introduced, which can help manufacturers to find the best parameters for optimization of the whole machining process with less involvement from experts. Second, a flexible and generic optimization method that can handle most machining process optimization problems is introduced in this study, which can greatly help operators optimize different machining processes.
Overall, this study makes an essential contribution to the field of optimization techniques for machining processes, and it is expected to have a significant impact on the manufacturing industry. The main contributions of this study can be summarized as follows.
(1)
A new approach is suggested for optimizing different CNC processes. This method is better equipped to handle the dynamic characteristics of the process and is therefore more appropriate for optimizing parameters in industrial settings compared with traditional methods.
(2)
A flexible optimization framework is proposed. Compared with conventional optimization studies, the proposed method can not only handle the variations in single-step machining optimization processes, but also those in the multi-step optimization process that was considered in this study.
(3)
A more objective method of determining parameters is proposed. Compared with the conventional method, the proposed method can be used to find the best approximate parameters not only from low-dimensional, but also high-dimensional Pareto front solutions in an automated way.
The rest of the article is organized as follows. In Section 2, the optimization problem is given. In particular, both the local and global optimization problems are given in this part. Next, the proposed optimization method is described in Section 3. Subsequently, the case study is given in Section 4. Then, the results and discussion are given in Section 5. Finally, conclusions are drawn in Section 6.

2. Optimization Problem Analysis

As mentioned above, manufacturing industries are pursuing high quality, high production rates, and a low energy consumption. Massive multi-step CNC machining processes are employed in the manufacturing industry [28]. As reported by many researchers, the factors mostly frequently changed in a factory are the cutting step and the machining requirements. In terms of the optimized parameters, a CNC machining process should be economically feasible and environmentally friendly. Simultaneously, the machining process should yield high-quality products [29,30]. In terms of the optimization process, it should be able to adapt to different cutting steps and machining requirements.

2.1. Analysis of the Optimization of the Parameters of a Machining Process

The number of machining steps is designated i in this study, and the optimized targets are defined as t . As a consequence, the optimization problem could be defined as multi-objective optimization problem with t objectives and the i-th machining step.
{ (1) min t 1 ,   t 2 max t 3 , . . , t z ,   w 1 , w 2 , w 3 ,   1,2 , 3 . . ,   i 2   t h   m a c h i n i n g   s t e p   (2) min t 1 ,   t 2 max t 3 , . . , t z , w 4 , w 5 , w 6 ,   i , 1   t h   , i t   t h   m a c h i n i n g   s t e p   (3) min t 1 ,   t 2 max t 3 , . . , t z ,   w 3 i 2 , w 3 i 1 , w 3 i ,   i t h   m a c h i n i n g   s t e p  
where w i denotes the weights assigned to different objectives in different machining steps. In order to better accommodate the multi-step machining process, an additional machining process optimization step was defined as follows:
min t 1 max t z , w i 1 , w i 2 , m a c h i n i n g   p r o c e s s
The constraints are defined as follows.
a p m i n a p a p m a x ,  
a e m i n a e a e m a x ,
f m i n f f m a x ,
r m i n r r m a x .
In the i -th step of the machining process, the constraints refer to the first, second, …, and i 1   t h machining steps, which are mostly focused on the process parameters. On the basis of the limitations of the machining tools, cutting tools, and safety, the constraints of the parameters can be set as described above.
For the i t h machining step, additional constraints should be considered as follows:
t z + 1 t c o n s
On the basis of the abovementioned definitions, the number of objectives was found to be 3 × i + 2 . These objectives included 3 × i local optimization objectives and two global objectives. After defining the objectives and constraints of optimization, in light of the analysis above, both global and local optimization problems for the different machining processes were considered during the optimization. In other words, by defining the optimized conditions and constraints, the proposed method can be adapted to different types of machining processes.

2.2. Optimization Problem in Machining Process

As mentioned above, the optimized method should adapt to different cutting steps and different machining requirements. The optimized results of the machining process should be economically feasible and environmentally friendly. Simultaneously, the machining process should yield a high-quality product. On the basis of this, this study proposed two case studies to demonstrate the effectiveness and generalizability of the proposed method [31]. In the first case, the optimization problem was defined as a multi-objective optimization problem with three conflicting objectives: maximum production rate, minimum energy consumption, and maximum cutting force. The number of machining steps was defined as four. In the second case, the optimization of a single machining step was defined as bi-objective optimization with two conflicting objectives: production rate optimization and energy consumption optimization. The maximum cutting force and surface roughness were used as the constraints. Accordingly, the optimized objectives and constraints could be defined. In the first case, the optimization problem was defined as follows:
{ (9) min E c ,   C f max M R R ,   w 1 , w 2 , w 3 ,   1,2   t h   m a c h i n i n g   s t e p (10) min E c ,   C f max M R R , w 4 , w 5 , w 6 ,   3   m a c h i n i n g   s t e p (11) min E c ,   C f max M R R ,   w 3 i 2 , w 3 i 1 , w 3 i ,   4 t h   m a c h i n i n g   s t e p  
subject to
{ (12) a p m i n a p a p m a x , (13) a e m i n a e a e m a x , (14) f m i n f f m a x , (15) r m i n r r m a x .
R i R m a x .
where R i denotes the surface roughness in the i t h machining step, and MRR denotes the material removal rate. To provide a more detailed description of multi-step optimization, the differences between single-step and multi-step optimization are presented in this section. We assumed that each machining step consists of three typical stages: initial, middle, and final. In the initial stage, such as in the rough milling process, the machining process focuses more on the material removal rate and energy consumption. For optimization in the middle stage, the machining process focuses more on the cutting force and energy consumption. In the final cutting stage, the machining process emphasizes the machined quality.
In terms of the second case, the optimization was defined as follows:
min E c max M R R
subject to
{ (17) a p m i n a p a p m a x , (18) a e m i n a e a e m a x , (19) f m i n f f m a x , (20) r m i n r r m a x .
R R m a x
C f < C f m a x

3. Proposed Optimization Method

3.1. Overall Framework

The overall framework of the end-to-end evolutionary algorithm method is shown in Figure 1. The figure shows that the proposed method comprises three parts: modeling, multi-objective decision making (MODM), and multi-attribute decision making (MADM). In the modeling stage, the physical model, the data-driven model using machine learning, the physics-informed machine learning model, and empirical functions were employed as the basis to represent the target variation. The surrogate model was followed with the these models to transfer the predictive functions into optimized objectives. For MODM, the non-dominated sorting genetic algorithm II (NSGA-II) was used. By using NSGA-II, the sets of parameters and Pareto fronts for each machining step could be obtained. Then, the criteria importance, obtained through the intercriteria correlation technique for order preference according to the similarity to the ideal solution (CRITIC-TOPSIS), was used in this study to provide a final solution for each target. In particular, the effects of local and global parameters were considered. Thus, the identified parameters could be fitted for the entire machining process. In this way, an end-to-end evolutionary algorithm was developed.

3.2. Objective Function Modeling Using the Proposed Method

As mentioned above, the optimization problem was conducted on the basis of the cutting force, surface roughness, energy consumption, and material removal rate. Thus, in order to carry out the optimization process, a predictive function for these objectives was developed. To demonstrate the generalization of the proposed method, the modeling method toward each objective is presented in this article.

3.2.1. Data-Driven Model of Energy Consumption

Considering that the energy consumption can be readily obtained using a power meter, it is complex to develop a highly accurate physical prediction model. Thus, a data-driven prediction model for the energy consumption of the machining process was employed to represent the energy consumption behavior using machine learning. In the data-driven energy consumption model, the data, namely, the input data, the parameters of the machining process, and the corresponding output data on energy consumption, had to be collected first. Then, machine learning algorithms were used to determine the relationship between the energy consumption and process parameters. Multiple machine learning algorithms exist. Considering the non-linear complexity of predicting energy consumption, the convolutional neural network (CNN) was used in this study to represent the energy consumption. The details of this machine learning strategy have been reported in many studies, so only a simplified introduction is given in this study [32,33].
The detailed structure of the CNN is presented in Figure 2. It can be seen from the figure that the CNN is composed of mostly convolutional and pooling layers. Convolutional and pooling operations were employed in this study to extract the features of energy consumption, and then the extracted features were transferred to the fully connected layers to realize the prediction process.

3.2.2. Physical Modeling of the Cutting Force

A flowchart of the cutting force modeling procedure is introduced in this part, based on earlier studies [34,35,36]. In this study, flat-end milling with N cutters was selected. Thus, the modeling procedure was developed on the basis of this. As shown in the flowchart in Figure 3, the main procedure related to the cutting force was to calculate the micro-element cutting force, which could be obtained by using the following physical formula.
{ (23) d F t , j j z = K t c h j j z · d z + K t e · d z (24) d F r , j j z = K r c h j j z · d z + K r e · d z (25) d F a , j j z = K a c h j j z · d z + K a e · d z
where K t c , K r c , and K a c denote the shear force coefficient in the tangential, radial, and axial directions, respectively; K t e , K r e , and K a e denote the plowing force in the tangential, radial, and axial directions, respectively; h j j ( z ) is the instantaneous cutting thickness; and d z denotes the axial cutting depth of infinitesimal elements.

3.2.3. Physics-Informed Machine Learning for Surface Roughness

A physics-guided deep learning modeling method was employed in this study to develop objective functions for surface roughness and energy consumption. The physics-informed machine learning model was developed for data-insufficient and complex modeling targets. The process of physics-guided deep learning modeling is composed of two stages: physical modeling and physics-guided training.
Using this modeling method, physical knowledge of the variation in surface roughness and energy consumption can be integrated with dynamic data-driven predictions even with limited data. The details of the proposed method can be found in previously published work [37], and a simplified flowchart of this modeling process is provided in Figure 4. Considering that this neural network has been reported in numerous studies, it is not described in this paper [38,39,40]. By using this physics-guided deep learning prediction model, machining process optimization can be realized quickly and effectively.

3.2.4. Empirical Functions for the Material Removal Rate

In general, empirical functions are mostly developed for targets that have few requirements regarding the machining process. It would be a waste of resources and time to develop a highly accurate prediction model using physical modeling or data-driven modeling. Considering that milling is the most widely used operation in modern manufacturing, end milling was employed as a case study. Accordingly, the material removal rate (MRR) can be represented using a physical formula, as follows:
M R R = a p × a e × f × N × r 60 × 1000 = a p × a e × f × N × ν c 60 × π × d 0 ,
where f , a p , a e , and ν c denote the process parameters, i.e., the feed rate, depth of cutting, width of cutting, and cutting speed; N is the number of cutters; and d 0 is the tool’s diameter.

3.2.5. Surrogate Model for the Objectives

The surrogate model is a computational method for complex engineering problems. It is mainly used in computational tasks that have a large amount of actual calculations and are not easy to solve. At present, the commonly used method of constructing a surrogate model is mainly to combine a set of decision variables with real output values and to replace the original input and output response method by constructing a high-precision approximate mapping relationship that can quickly respond to the current input and output. Therefore, the surrogate model can be considered as a function that can quickly approximate a mapping relationship, and this function can be used to replace the original calculation process.
The surrogate model is mostly employed for conducting computationally efficient calculations for the objective functions. Considering that there are multiple different modeling methods, the surrogate model was employed to unify the predictive functions. In this study, a similarity fitting method was used to develop the surrogate model, and approximate functions using the predictive model were used to develop the optimized functions.

3.3. MODM Using NSGA-II

NSGA-II was employed in this study to realize multi-objective decision making. NSGA-II is a multi-objective evolutionary algorithm that was first proposed by Deb in 2002 and is based on a fast, non-dominated sorting principle [41]. In recent years, many researchers have applied NSGA-II for decision making in various areas, and it shows great potential. The steps of the NSGA-II algorithm are presented in the flowchart in Figure 5. The pseudo code for the NSGA-II is given in Algorithm 1.
Algorithm 1 Document clustering using NSGA-II
Begin t Machines 12 00635 i001 0
CN Machines 12 00635 i001 RANDOM (K)
C Machines 12 00635 i001 {CN1,CN2,…CNj}
Initialize population P(t)
While (not termination condition) do
P ( t ) Machines 12 00635 i001 compute objective functions P(t)
F ( l ) Machines 12 00635 i001   fast   nondominated   sort   P ( t )
A ( l ) Machines 12 00635 i001   fitness   assignment   F ( t )
Offspring   Q ( t ) Machines 12 00635 i001   evolution   operate   A ( l )
 R(t) Machines 12 00635 i001 P(t)+ Q(t)
R t Machines 12 00635 i001 fast nondominated sort R(t)
P ( t + 1 ) Machines 12 00635 i001 fitness assignment
 t Machines 12 00635 i001 t+1
 end
end

3.4. Weight Determination Using CRITIC

As mentioned above, a Pareto front solution was generated using NSGA-II. To obtain the final solution for the machining process, it was necessary to assign a weight to each objective. Generally, weight determination methods can be classified into two categories: subjective and objective. There were eleven weights to be determined. Because it is difficult for operators to provide subjective preferences in terms of the importance of weights M R R ,   E c ,   a n d   C f , an objective weight determination method was employed in this study. The CRITIC method was proposed by Diakoulaki et al. in 1995, and has recently been widely employed for weight determination [42,43]. Within the CRITIC method, standard deviation is used to calculate the discreteness of alternative criteria, and a correlation coefficient is used to represent conflicts between criteria.
The calculation procedure of the CRITIC method is as follows:
w j = σ j i = 1 n 1 r i j j = 1 m σ j i = 1 n 1 r i j
σ j = i = 1 m ( a i j a j ˉ ) 2 m 1
r i j = x = 1 m a i x a i ˉ a j x a j ˉ x = 1 m ( a i x a i ˉ ) 2 x = 1 m ( a j x a j ˉ ) 2
where w j denotes the weight for the j t h objectives, σ j is the standard deviation of the j t h objectives, and r i j is the correlation coefficient between objective i and j . In particular, the M R R , E c , and C f in each step are regarded as different objectives. This way, the local optimization characteristics of the target could be obtained.

3.5. MADM Using TOPSIS

After determining the weights for each objective, TOPSIS was employed to find the final solutions for the operators. TOPSIS is a ranking method that was first proposed by Hwang and Yoon in 1981, and it has been improved by many researchers in recent years [44]. The principle of TOPSIS is to sort all of the possible solutions by measuring the distance from the evaluated object to the ideal solution and the distance to the negative ideal solution. By sorting the distance to the ideal solution and from the negative ideal solution, the best object can be found.
The general procedure of the TOPSIS is shown in Figure 6, and it can be seen from the figure that weights are required in the decision-making process. As mentioned earlier, these weights were determined using the CRITIC method. On the basis of this, the weighted matrix was as follows:
V i j = v 11   v 12   v 1 n   v 21   v 22   v 2 n           v m 1   v m 2   v m n   = a 11 · w 1   a 12   · w 2 a 1 n   · w n a 21 · w 1   a 22   · w 2 a 2 n   · w n           a m 1 · w 1   a m 2   · w 2 a m n   · w n
The basic steps of the TOPSIS are as follows.
Step 1: Determine the ideal solution z j + and the negative ideal solutions.
z j + = { max   1 i m ν i j , i f f j F 1 min   1 i m ν i j , i f f j F 2
where F 1 is the set of benefit objectives, F 2 is the set of cost objectives, and 1 j n .
Step 2: Determine the distance of each possible solution, i.e., the Pareto front solutions, from the ideal solution and the negative ideal solutions.
S i + = j = 1 n ( ν i j z j + ) 2 i = 1,2 , , m
S i = j = 1 n ( ν i j z j ) 2 i = 1,2 , , m
Step 3: Determine the relative closeness to the ideal solution.
C j + = s j + s j + + s j
On the basis of this, all possible solutions can be sorted according to the C j + value; the larger the C j + value, the better the solution. To make the proposed method more transparent, the pseudo-code of TOPSIS is presented in Algorithm 2.
Algorithm 2 Steps of the TOPSIS method in pseudo-code format.
1.Construction of the normalized decision matrix
r i j = x i j i = 1 m x i j 2 j
where r i j denotes the elements of normalized decision matrix
2.Construction of the weighted normalized decision matrix
v i j = r i j ω j   i , j  
where   ω j   denotes   the   assigned   weight   attributed   to   j
3. Determination   of   the   ideal   ( A + )   and   negative   ideal   ( A ) solutions
A + = m a x   v i j   j   i I , m i n   v i j     j   i I ;   j = v 1 + , v 2 + ,
A = m i n   v i j     j   i I , m a x   v i j     j   i I ;   j = v 1 , v 2 ,
where I and I are associated with the benefit and cost attributes, respectively.
4.Calculation of the separation measure
S i + = i = 1 n ( v i j v + ) 2   j
S i = i = 1 n ( v i j v ) 2   j
5.Calculation of the relative closeness to the ideal solution
C j + = S j + S j + + S j
Ranking of alternatives according to the value of C j +

4. Case Study

In this study, two experiments were conducted on an actual milling machine to verify the effectiveness and robustness of the proposed method. In the first experiment, four machining steps were conducted, with three conflicting objectives. The second experiment involved single-step experiments, with two conflicting objectives. The programming process was based on Python, and pytorch was employed in this study to model the process. The experimental research was conducted on four Nvidia GTX 4090 graphics cards on a Windows server. The details of the experiments are described below.

4.1. Experimental Setup

The experimental setup is illustrated in Figure 7. As shown in the figure, the cutting force was measured using a force sensor, and the energy consumption was measured using HONKI Power meters. As mentioned above, the main purpose of this study was to demonstrate the effectiveness of the proposed method for different machining steps and objective functions. On the basis of this, other factors such as the tool path and machining steps were unified in this study.
The overall tool path is shown in Figure 8, and the tool’s geometry is also depicted in the figure. Considering that the purpose of this study was to demonstrate the effectiveness of the proposed method in different machining processes, other machining conditions such as the tool path and tool conditions were kept the same.
The process of identifying the crucial parameters for NSGA-II is also illustrated in this section. In general, the population size, probability of crossover, probability of mutation, and distribution indices for crossover and mutation must be set during the optimization process. This was identified in this study by referring to previous work [7,38,45].

4.2. Statistical Analysis of the Prediction Model

The data used for the training process are also discussed in this part. The energy consumption and the surface roughness data were collected from real-world industrial processes. In this data collection process, the sampling frequency of the power meter was 12.8 kHz, and 1.23 GB of data were collected on energy consumption in this study. In terms of the surface roughness, a total of 124 workpieces were utilized in this study, which was not enough to develop a robust model for the prediction stage. To address this data insufficiency, a physical model was employed. Specifically, during the neural network training process, the hyperparameters in the model were trained using a trial-and-error strategy.
To illustrate the performance of the proposed method more clearly, a statistical analysis of the final results of the prediction model is presented here. The metrics employed for evaluating the data-driven model are as follows:
M P A = 1 1 n i = 1 n y m e a y p r e y m e a
M A E = 1 n i = 1 n y m e a y p r e
R M S E = 1 n i = 1 n y m e a y p r e 2
where y m e a and y p r e denote the measured and predicted values of the corresponding targets. The corresponding results for energy consumption and surface roughness are presented in Table 1. It can be seen from Table 1 that both the physics-informed machine learning model (PIM) and the purely machine learning model, namely, the CNN, achieved adequate performance under these conditions. Regarding the PIM, it can be seen that the model achieved a 92.33% prediction accuracy, and the energy consumption model achieved an accuracy of 94.60%. Both of them can be adapted to different working conditions.

4.3. Determination of the Boundary Conditions of the Machining Process

The process parameters were optimized in this study. To realize the optimization process, the settings in NSGA-II needed to be modified according to the actual machining conditions. First, the optimization objectives and constraint conditions for each machining step were identified. The constraints for the first three machining steps were developed for the process parameters, and the surface roughness was added as a constraint in the last step. Considering the limitations of the actual operating conditions of the machining tool, the constraints of the process parameters are as follows:
{ (38) 0 < a p 4 , (39) 0 < a e 10 , (40) 0.16 f × N 0.5 , (41) 30 ν c 100 .
The constraints of surface roughness were identified on the basis of the actual production requirements. In addition to the abovementioned constraints, the process parameters were restricted by the number of decimal points, which were allowed to exceed two. The constraint on the surface roughness was as follows:
R a 0.8   μ m
In this study, there were four machining steps. Accordingly, fourteen optimization objectives were included in the first case. In particular, twelve optimization objectives were employed for local optimization and two optimization objectives were used for the entire machining process. In terms of the second case, the process parameter limitations were kept the same as in the first case, while an additional constraint on the cutting force was set as follows:
C f 1000 N

5. Results and Discussion

The final generated Pareto front solutions are depicted in Figure 9. As noted above, fourteen objectives were involved in this study, which were the same as the objectives defined in the experimental setup. It can be seen from Figure 9 that it is hard for the operators to give a final decision regarding the process parameters. To make these results clearer, the initially generated Pareto parameters were transferred into five individual Pareto solutions, which correspond to the first, second, third, and fourth machining steps and the whole machining process.
The generated individual Pareto solutions for each machining step are shown in Figure 10. Figure 10a–d correspond to the first, second, third, and fourth machining steps, and Figure 10e shows the energy consumption and material removal rate of the whole machining process. It can be seen from Figure 9 that the distributions of the Pareto front solutions varied across the different machining steps. This is because, compared with the traditional optimization process, the determination of the optimized parameters in each machining step should both consider the whole machining process and the variation in each localized machining step. As a result, these differences in the localized machining requirements cause variations in the localized optimized process parameters across the machining steps.
To further demonstrate the effectiveness of the method proposed in this paper, the final solutions of the parameters for the multi-step machining process are presented in Table 2. In the proposed method, CRITIC-TOPSIS, was used to give a final ranking of all possible process parameters, and then the best approximate process parameters were selected for each machining step. The final results of the response value in Table 2 are illustrated in Figure 11. It can be seen from this figure that the energy consumption had a gradually upward trend, which may have been caused by the extra machining time. The cutting force is constant throughout the whole cutting process. It can also be seen from the figure that the cutting force had an upward trend in the first three steps, and decreased in the fourth cutting step. In general, the final cutting step is the last machining process, and it requires moderate process parameters to maintain the machining quality. Consequently, the cutting force decreases sharply in the final cutting step to maintain the machining quality. Accordingly, the change in the material removal rate was not stable during the whole cutting process; this was probably caused by the variation in the weights assigned to the MRR in different cutting steps, which resulted in differences in the different cutting steps.
The Pareto fronts given for the second case are presented in Figure 12. It can be seen in the figure that the distribution is two-dimensional, and the characteristics of the distribution are completely different from those of the first case. In general, although the selection of the parameters in the second case would be easier than the first case, it is hard for operators to make a quick decision between multiple different solutions. The final solution given by CRITIC-TOPSIS is given in Table 3, and the corresponding response values are also presented in the figure. The final results indicated that the proposed method can also be effective in the optimization of a single step with different objectives.
It can be seen from the above figure that the proposed method has great potential for handling machining process parameter optimization. For this, the proposed method can be effective for generating Pareto front solutions in multi-step optimization tasks, and it can adapt to variations in the number of objectives and changing constraints. These results indicate that the proposed method can be generalized over different machining processes, and it is flexible when faced with changes in the optimization module according to the machining environment.
In conclusion, the results presented above show that the proposed method can be successfully applied to single-step and multi-step machining processes, and it also can be adapted to different objectives. This success regarding processes with different machining steps and objectives indicates that the proposed method is flexible and robust enough to handle different working conditions, making it more applicable and suitable for the modern manufacturing industry. As mentioned above, the machining process requirements usually exhibit dynamic fluctuations over time and over different machining stages.

6. Conclusions

Machining processes have been widely employed in the manufacturing industry, directly affecting its environmental impact and the product quality. It is of great importance to find the optimum parameters to improve the environmental impact, efficiency, and quality of the machining process. However, most existing studies on machining process parameter optimization have focused on optimization techniques or modeling methods, and have seldom considered their adaptability in terms of the machining process. Consequently, they suffer from poor generalization and flexibility in actual use. Thus, the main objective of this study was to provide a novel optimization method with high generalizability and effectiveness for the machining process. To address the crucial flaws existing in the conventional optimization method, a novel approach that can facilitate the optimization of machining process parameters in a flexible and generic way was proposed.
In this study, an end-to-end optimization method, which comprises three steps, was proposed. The proposed three-step method was based on a flexible optimization framework, which allowed for dynamic changes to the objective functions and constraints in each localized machining step. First, an objective model for the different machining steps was developed. Specifically, within the modeling stage, different objective functions for the optimization of the machining process were developed and transferred into a surrogate model. Then, the MODM method using NSGA-II was employed to find a solution for the different machining steps. Considering the complexity of the Pareto front solutions generated in the former step, an MAMD method using CRITIC-TOPSIS was used.
In general, the main contributions of this study are threefold. The first is the new approach, which can handle the dynamic and global nature of the machining process. The proposed method is more appropriate for optimizing the parameters in industrial settings compared with traditional methods. Secondly, a flexible optimization framework is proposed. Compared with conventional optimization studies, the proposed method can optimize not only single-step machining processes, but also the multi-step process that was considered in this study. Third, a more objective method for determining final Pareto front solutions was proposed in this study. By using this proposed method, it will be easier and quicker for operators to find the best approximate solution from a complex range of Pareto front solutions.
Although the proposed method makes a great contribution to the field of optimization, it does not consider real-time information from the machining process. Future work may make some breakthroughs in the integration of real-time monitoring systems, predictive maintenance, or the use of digital twins in the optimization process, to further enhance the applicability and advantages of handling the problem of real-time optimization in modern manufacturing.

Author Contributions

Conceptualization, P.W.; Methodology, C.X. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the Fundamental Research Funds for the Central Universities (grant number: SWu-KQ24023), in part supported by the General Program of Chongqing (No. CSTB2024NSCQ-MSX0786). And the APC was funded by the Fundamental Research Funds for the Central Universities (grant number: SWu-KQ24023).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no competing interests.

References

  1. Wang, B.; Tao, F.; Fang, X.; Liu, C.; Liu, Y.; Freiheit, T. Smart manufacturing and intelligent manufacturing: A comparative review. Engineering 2021, 7, 738–757. [Google Scholar] [CrossRef]
  2. Rahmatullah, R.; Amiruddin, A.; Lubis, S. Effectiveness of CNC Turning and CNC Milling in Machining Process. Int. J. Econ. Technol. Soc. Sci. 2021, 2, 575–583. [Google Scholar] [CrossRef]
  3. Sreejith, P.S.; Ngoi, B.K.A. Material removal mechanisms in precision machining of new materials. Int. J. Mach. TOOLS Manuf. 2001, 41, 1831–1843. [Google Scholar] [CrossRef]
  4. Han, F.; Li, L.; Cai, W.; Li, C.; Deng, X.; Sutherland, J.W. Parameters optimization considering the trade-off between cutting power and MRR based on linear decreasing particle swarm algorithm in milling. J. Clean. Prod. 2020, 262, 121388. [Google Scholar] [CrossRef]
  5. He, K.; Tang, R.; Jin, M. Pareto fronts of machining parameters for trade-off among energy consumption, cutting force and processing time. Int. J. Prod. Econ. 2017, 185, 113–127. [Google Scholar] [CrossRef]
  6. Xiao, Y.M.; Jiang, Z.G.; Gu, Q.; Yan, W.; Wang, R.P. A novel approach to CNC machining center processing parameters optimization considering energy-saving and low-cost. J. Manuf. Syst. 2021, 59, 535–548. [Google Scholar] [CrossRef]
  7. Yusoff, Y.; Ngadiman, M.S.; Zain, A.M. Overview of NSGA-II for optimizing machining process parameters. Procedia Eng. 2011, 15, 3978–3983. [Google Scholar] [CrossRef]
  8. Yusup, N.; Zain, A.M.; Hashim, S.Z.M. Overview of PSO for Optimizing Process Parameters of Machining. Work. Inf. Electron. Eng. 2012, 29, 914–923. [Google Scholar] [CrossRef]
  9. Cui, Y.; Geng, Z.; Zhu, Q.; Han, Y. Multi-objective optimization methods and application in energy saving. Energy 2017, 125, 681–704. [Google Scholar] [CrossRef]
  10. Lipin, K.; Govindan, P. A review on multi objective optimization of drilling parameters using Taguchi methods. AKGEC Int. J. Technol. 2013, 4, 11–21. [Google Scholar]
  11. Sur, G.; Motorcu, A.R.; Nohutçu, S. Single and multi-objective optimization for cutting force and surface roughness in peripheral milling of Ti6Al4V using fixed and variable helix angle tools. J. Manuf. Process. 2022, 80, 529–545. [Google Scholar] [CrossRef]
  12. Sureban, R.; Kulkarni, V.N.; Gaitonde, V.N. Modern optimization techniques for advanced machining processes—A review. Mater. Today Proc. 2019, 18, 3034–3042. [Google Scholar] [CrossRef]
  13. Tzeng, C.-J.; Lin, Y.-H.; Yang, Y.-K.; Jeng, M.-C. Optimization of turning operations with multiple performance characteristics using the Taguchi method and Grey relational analysis. J. Mater. Process. Technol. 2009, 209, 2753–2759. [Google Scholar] [CrossRef]
  14. Sharma, S.; Kumar, V. A comprehensive review on multi-objective optimization techniques: Past, present and future. Arch. Comput. Methods Eng. 2022, 29, 5605–5633. [Google Scholar] [CrossRef]
  15. Patel, N.S.; Parihar, P.L.; Makwana, J.S. Parametric optimization to improve the machining process by using Taguchi method: A review. Mater. Today Proc. 2021, 47, 2709–2714. [Google Scholar] [CrossRef]
  16. Kalita, K.; Pal, S.; Haldar, S.; Chakraborty, S. A hybrid TOPSIS-PR-GWO approach for multi-objective process parameter optimization. Process Integr. Optim. Sustain. 2022, 6, 1011–1026. [Google Scholar] [CrossRef]
  17. Singh, O.P.; Kumar, G.; Kumar, M. Role of Taguchi and grey relational method in optimization of machining parameters of different materials: A review. Acta Electron. Malaysia 2019, 3, 19–22. [Google Scholar] [CrossRef]
  18. Kumar, S.; Jagadish; Ray, A. Multi-objective optimization of CNC drilling parameters on machining of HcHcr steel using Taguchi’s technique and grey relational analysis. In Advances in Thermal Engineering, Manufacturing, and Production Management: Select Proceedings of ICTEMA 2021; Springer: Cham, Switzerland, 2020; pp. 353–367. [Google Scholar]
  19. Li, C.B.; Xiao, Q.G.; Tang, Y.; Li, L. A method integrating Taguchi, RSM and MOPSO to CNC machining parameters optimization for energy saving. J. Clean. Prod. 2016, 135, 263–275. [Google Scholar] [CrossRef]
  20. Akhtar, M.N.; Sathish, T.; Mohanavel, V.; Afzal, A.; Arul, K.; Ravichandran, M.; Rahim, I.A.; Alhady, S.S.N.; Bakar, E.A.; Saleh, B. Optimization of process parameters in CNC turning of aluminum 7075 alloy using L27 array-based Taguchi method. Materials 2021, 14, 4470. [Google Scholar] [CrossRef]
  21. Shahane, S.; Aluru, N.; Ferreira, P.; Kapoor, S.G.; Vanka, S.P. Optimization of solidification in die casting using numerical simulations and machine learning. J. Manuf. Process. 2020, 51, 130–141. [Google Scholar] [CrossRef]
  22. Ghosh, T.; Martinsen, K. Generalized approach for multi-response machining process optimization using machine learning and evolutionary algorithms. Eng. Sci. Technol. Int. J. 2020, 23, 650–663. [Google Scholar] [CrossRef]
  23. Weichert, D.; Link, P.; Stoll, A.; Rüping, S.; Ihlenfeldt, S.; Wrobel, S. A review of machine learning for the optimization of production processes. Int. J. Adv. Manuf. Technol. 2019, 104, 1889–1902. [Google Scholar] [CrossRef]
  24. Shin, S.J.; Woo, J.; Rachuri, S. Energy efficiency of milling machining: Component modeling and online optimization of cutting parameters. J. Clean. Prod. 2017, 161, 12–29. [Google Scholar] [CrossRef]
  25. Wang, W.; Tian, G.; Chen, M.; Tao, F.; Zhang, C.; Abdulraham, A.-A.; Li, Z.; Jiang, Z. Dual-objective program and improved artificial bee colony for the optimization of energy-conscious milling parameters subject to multiple constraints. J. Clean. Prod. 2020, 245, 118714. [Google Scholar] [CrossRef]
  26. Wu, P.; He, Y.; Li, Y.; He, J.; Liu, X.; Wang, Y. Multi-objective optimisation of machining process parameters using deep learning-based data-driven genetic algorithm and TOPSIS. J. Manuf. Syst. 2022, 64, 40–52. [Google Scholar] [CrossRef]
  27. Cao, W.; Yu, Y.; Li, J.; Wu, D.; Ni, J.; Chen, X. High stability multi-objective decision-making approach of dry hobbing parameters. J. Manuf. Process. 2022, 84, 1184–1195. [Google Scholar] [CrossRef]
  28. Rajesh, N.; Yohan, M.; Venkataramaiah, P.; Pallavi, M.V. Optimization of Cutting Parameters for Minimization of Cutting Temperature and Surface Roughness in Turning of Al6061 Alloy. Mater. Today Proc. 2017, 4, 8624–8632. [Google Scholar] [CrossRef]
  29. Karandikar, J.; Schmitz, T.; Smith, S. Physics-guided logistic classification for tool life modeling and process parameter optimization in machining. J. Manuf. Syst. 2021, 59, 522–534. [Google Scholar] [CrossRef]
  30. Deng, Y.F.; Du, S.C.; Jia, S.Y.; Zhao, C.; Xie, Z.Y. Prognostic study of ball screws by ensemble data-driven particle filters. J. Manuf. Syst. 2020, 56, 359–372. [Google Scholar] [CrossRef]
  31. Giampieri, A.; Ling-Chin, J.; Ma, Z.; Smallbone, A.; Roskilly, A.P. A review of the current automotive manufacturing practice from an energy perspective. Appl. Energy 2020, 261, 114074. [Google Scholar] [CrossRef]
  32. Bhatt, D.; Patel, C.; Talsania, H.; Patel, J.; Vaghela, R.; Pandya, S.; Modi, K.; Ghayvat, H. CNN variants for computer vision: History, architecture, application, challenges and future scope. Electronics 2021, 10, 2470. [Google Scholar] [CrossRef]
  33. Alzubaidi, L.; Zhang, J.; Humaidi, A.J.; Al-Dujaili, A.; Duan, Y.; Al-Shamma, O.; Santamaría, J.; Fadhel, M.A.; Al-Amidie, M.; Farhan, L. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. J. Big Data 2021, 8, 1–74. [Google Scholar]
  34. Wan, M.; Lu, M.S.; Zhang, W.H.; Yang, Y. A new ternary-mechanism model for the prediction of cutting forces in flat end milling. Int. J. Mach. Tools Manuf. 2012, 57, 34–45. [Google Scholar] [CrossRef]
  35. Wang, J.-J.J.; Zheng, C.M. An analytical force model with shearing and ploughing mechanisms for end milling. Int. J. Mach. Tools Manuf. 2002, 42, 761–771. [Google Scholar] [CrossRef]
  36. Gonzalo, O.; Beristain, J.; Jauregi, H.; Sanz, C. A method for the identification of the specific force coefficients for mechanistic milling simulation. Int. J. Mach. Tools Manuf. 2010, 50, 765–774. [Google Scholar] [CrossRef]
  37. Wu, P.; Dai, H.; Li, Y.; He, Y.; Zhong, R.; He, J. A physics-informed machine learning model for surface roughness prediction in milling operations. Int. J. Adv. Manuf. Technol. 2022, 123, 4065–4076. [Google Scholar] [CrossRef]
  38. Abdeljaber, O.; Avci, O.; Kiranyaz, M.S.; Boashash, B.; Sodano, H.; Inman, D.J. 1-D CNNs for structural damage detection: Verification on a structural health monitoring benchmark data. Neurocomputing 2018, 275, 1308–1317. [Google Scholar] [CrossRef]
  39. Chung, W.H.; Gu, Y.H.; Yoo, S.J. District heater load forecasting based on machine learning and parallel CNN-LSTM attention. Energy 2022, 246, 123350. [Google Scholar] [CrossRef]
  40. Ren, L.; Dong, J.; Wang, X.; Meng, Z.; Zhao, L.; Deen, M.J. A data-driven auto-CNN-LSTM prediction model for lithium-ion battery remaining useful life. IEEE Trans. Ind. Informatics 2020, 17, 3478–3487. [Google Scholar] [CrossRef]
  41. Deb, K.; Jain, H. An evolutionary many-objective optimization algorithm using reference-point-based nondominated sorting approach, part I: Solving problems with box constraints. IEEE Trans. Evol. Comput. 2013, 18, 577–601. [Google Scholar] [CrossRef]
  42. Krishnan, A.R.; Kasim, M.M.; Hamid, R.; Ghazali, M.F. A modified CRITIC method to estimate the objective weights of decision criteria. Symmetry 2021, 13, 973. [Google Scholar] [CrossRef]
  43. Diakoulaki, D.; Mavrotas, G.; Papayannakis, L. Determining objective weights in multiple criteria problems: The critic method. Comput. Oper. Res. 1995, 22, 763–770. [Google Scholar] [CrossRef]
  44. Yoon, K.P.; Hwang, C.-L. Multiple Attribute Decision Making: An Introduction; Sage Publications: New York, NY, USA, 1995. [Google Scholar]
  45. Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef]
Figure 1. General framework of the proposed method.
Figure 1. General framework of the proposed method.
Machines 12 00635 g001
Figure 2. General framework of the CNN.
Figure 2. General framework of the CNN.
Machines 12 00635 g002
Figure 3. The flowchart of the cutting force modeling procedure.
Figure 3. The flowchart of the cutting force modeling procedure.
Machines 12 00635 g003
Figure 4. Overall framework of the physics-informed neural network.
Figure 4. Overall framework of the physics-informed neural network.
Machines 12 00635 g004
Figure 5. The general flowchart of NSGA-II.
Figure 5. The general flowchart of NSGA-II.
Machines 12 00635 g005
Figure 6. General procedure of the TOPSIS.
Figure 6. General procedure of the TOPSIS.
Machines 12 00635 g006
Figure 7. The experimental setup.
Figure 7. The experimental setup.
Machines 12 00635 g007
Figure 8. The experimental setup of the cutting process.
Figure 8. The experimental setup of the cutting process.
Machines 12 00635 g008
Figure 9. The overall Pareto front solutions.
Figure 9. The overall Pareto front solutions.
Machines 12 00635 g009
Figure 10. The Pareto solutions for each machining step.
Figure 10. The Pareto solutions for each machining step.
Machines 12 00635 g010
Figure 11. The optimized results of the multi-step machining process.
Figure 11. The optimized results of the multi-step machining process.
Machines 12 00635 g011
Figure 12. The Pareto front solutions generated for the second case.
Figure 12. The Pareto front solutions generated for the second case.
Machines 12 00635 g012
Table 1. Statistical analysis of the different predictive models.
Table 1. Statistical analysis of the different predictive models.
TypeMAERMSEMPA
PIM for surface roughness122.33231.4792.33%
CNN for energy consumption260.60273.5294.60%
Table 2. Comparison of the parameters of the multi-step machining process.
Table 2. Comparison of the parameters of the multi-step machining process.
Step v c f (10−2 ) a e a p
197.9970.4979.3103.899
299.8090.4909.7413.903
399.6980.4969.9973.861
497.7580.1929.9793.104
Table 3. Comparison of the results for the multi-step machining process.
Table 3. Comparison of the results for the multi-step machining process.
Step v c f (10−2) a e a p E c MRR
197.3480.4299.9583.22311.928.900
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

Xun, C.; Wu, P. A Generic Multi-Objective Optimization of Machining Processes Using an End-to-End Evolutionary Algorithm. Machines 2024, 12, 635. https://doi.org/10.3390/machines12090635

AMA Style

Xun C, Wu P. A Generic Multi-Objective Optimization of Machining Processes Using an End-to-End Evolutionary Algorithm. Machines. 2024; 12(9):635. https://doi.org/10.3390/machines12090635

Chicago/Turabian Style

Xun, Cheng, and Pengcheng Wu. 2024. "A Generic Multi-Objective Optimization of Machining Processes Using an End-to-End Evolutionary Algorithm" Machines 12, no. 9: 635. https://doi.org/10.3390/machines12090635

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