Abstract
With the exacerbation of global environmental concerns, manufacturing industries need to consider the impact of carbon emissions from manufacturing processes. The selection of the parameters in the machining process greatly influences on carbon emissions and machining efficiency. Hence dynamically optimizing the machining process parameters is a significant means to reduce carbon emissions according to the real-time perception of the machining conditions. In the paper, a method of cutting parameter optimization is presented on basis of the construction the digital twin of a CNC machine tool. In this method, an ontology on CNC machining process is established to be used as a communication bridge for understanding the semantic of the real-time interaction between the physical machine and the virtual twin. And a dynamic optimization method on cutting parameters is presented according to the simulation and optimization of the virtual twin with the dynamic perception of the machining conditions of the physical machine. At last, a case study is presented to validate this method for effectively optimizing the cutting parameters and decreasing carbon emissions.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
Nowadays, as global climate warming is becoming remarkably serious, there has been an increasing interest in carbon emissions reduction and energy saving problems [1, 2]. To a large extent, manufacturing activities have aggravated global warming according to the report of the Intergovernmental Panel on Climate Change (IPCC) [3]. It is estimated that industrial energy consumption is expected to account for nearly 50% of global energy consumption by 2040 [4]. The government has adopted various policies on carbon emissions, for example carbon tax, to deal with environmental problems [5]. Forced by the increasing competition in the market and strict regulations on environment protection, manufacturing industries should pay more attention to environment-related indicators such as carbon emissions and carbon effect, besides traditional issues such as product quality, production efficiency and cost [6].
The CNC machine tool is a significant equipment in manufacturing industry, and its rated power is usually several kilowatts or dozens of kilowatts. Therefore, the CNC machining is an energy-intensive production process. In manufacturing industry, the CNC machining energy consumption accounts for a large proportion of carbon emissions in the environment [7]. Hence, it is extremely essential to reduce carbon emissions during the CNC machining. Carbon emission from the CNC machining is closely related to cutting parameters (such as spindle speed, feedrate and cutting depth) [8]. The related research shows that the carbon emission may be reduced by 6–40% by optimizing cutting parameters in the manufacturing process [9]. Consequently, how to select optimal cutting parameters becomes a crucial problem in the process of machining.
Traditional optimization methods of cutting parameters for CNC machine tool are usually based on mathematical models or mechanical manuals in the conditions of static constraint. These methods are very difficult to obtain the optimal results in the dynamic machining conditions, because of ignoring the influence of changes in machining conditions. Recently, digital twin, as an innovative enabling technology for smart manufacturing, provides a new methodology [10]. Digital twin is an effective way to achieve dynamical optimization of physical objects by real-time interaction between physical objects and their high-fidelity twin models, and supports the continuous evolution to adapt to the change from the physical machining [11]. Therefore, a digital twin-driven cutting parameter optimization method is proposed in this paper, which aims at dynamically optimizing cutting parameters based on actual machining conditions for improving machining efficiency and reducing carbon emissions.
The rest of the paper is organized as follows. The related works to cutting parameter optimization and digital twin technology is expounded in Sect. 2. In Sect. 3, an architecture of cutting parameter optimization with digital twin is presented. Section 4 studies the related enabling technologies of proposed method, mainly including ontology semantic modeling of machining process and dynamic optimization for improving cutting parameters. In Sect. 5, the case study is presented to verify the proposed method. Finally, the conclusions and future work are made in Sect. 6.
2 Literature Review
2.1 Cutting Parameter Optimization Method
Recently, researches on the optimization of cutting parameters for reducing carbon emissions and conserving energy have been taken widespread attention by academia and industry because of global warming issues and vigorous market competitions [12]. Some researchers have established a new production indicator, i.e. carbon emissions, for assessing the machining process. Yi et al. [13] presented the carbon emissions boundary model, including the carbon emissions caused by the cutting process, the production of raw materials and auxiliary equipment. Based on different forms of energy consumption, Jiang et al. [14] developed a novel model composed of consumable and transferable carbon emissions, where the source of consumable carbon emissions is electricity, and the source of transferable carbon emissions is raw materials, cutting fluids, etc. For a given machining process, different cutting parameters have almost no effect on the consumption of raw materials. Liu et al. [15] established a carbon emission model for cutting parameter optimization, which took into account the carbon emission from electricity, cutting fluid and cutting tools, but not raw materials. Other researchers focus on the optimization methods for low carbon and other traditional goals such as working efficiency, quality, etc. Zhang et al. [16] adopted NSGA-II algorithm to obtain the optimal cutting parameters. They conducted tests on a CNC lathe to verify the method, and the results showed that the method can achieve a trade-off between low energy, low cost and noise reduction. Zhou et al. [17] developed NG-NSGA-II algorithm to balance three objectives of carbon footprint, time and cost in the machining, and proved that NG-NSGA-II has better search performance than NSGA-II. Li et al. [18] proposed a multi-objective simulated annealing algorithm to solve the integrated model of process optimization and cutting parameter optimization. The results showed that the algorithm can achieve the dual goals of energy saving and workloads balance. In practice, the machining raw materials often cannot be completely removed in a single pass machining, so it is necessary to use multi-pass machining. In view of the problem of multi-pass machining, Li et al. [19] investigated an adaptive multi-objective particle swarm algorithm to optimize the total number of passes and the cutting parameters of every pass, and to realize a balance between energy consumption and cost. As the above studies show, many models and algorithms have been proposed to solve the problem of cutting parameter optimization for low carbon. However, most of the methods search for the optimal solution based on the certain machining conditions and machine performance, which can be considered as a static optimization method. In fact, the actual machining states generally change dynamically because of the dynamic disturbances (such as tool wear and cutting force fluctuation) from machining conditions, that is, the optimal cutting parameters under the certain machining conditions are not always optimal for the current machining process. Hence these static optimization methods are not enough to obtain the best cutting parameters in practice.
Some studies have focused more on feedrate optimization, which can improve the production efficiency and enhance stabilization of cutting force [20]. Based on mechanism model of cutting force, Park et al. [21] developed an autonomous machining system driven by intelligent algorithm to enhance the quality of products and working efficiency. Ridwan et al. [22] investigated a machine condition monitoring system. It can provide online process optimization with real-time machining knowledge to reduce machining time and improve product quality. Considering the constraints associated with the feed drive system and machining process, Erkorkmaz et al. [23] presented a feedrate optimization strategy for the shortest cycle time tool trajectories and proved the feasibility of the method through the engraving surface machining experiment. Xu et al. [24] adopted hybrid forward-reverse mappings of artificial neural networks to optimize feedrate for five-axis milling. This method can improve the solution accuracy and reduce the calculation time compared with other intelligent algorithms. The methods mentioned above have made some contributions to the dynamic optimization of cutting parameters. However, most of the methods lack the mechanism of real-time interaction and symbiotic evolution with physical machining conditions. These methods still have differences between the optimization results and the actual machining, and they have low solution accuracy. Consequently, the existing methods are inadequate to deal with problems of dynamic cutting parameter optimization during CNC machining.
2.2 Digital Twin Technology
With the progress of Industry 4.0, Industrial Internet of Things [25, 26], artificial intelligence [27], etc., a new methodology, named digital twin is presented [28,29,30,31]. Digital twin is a complex system integrating multi-physical field, multi-dimension and multi-probability simulation of physical objects. It realizes interaction and fusion between physical objects and their high-fidelity virtual twin models by making full use of sensing data and historical data [32]. Currently, digital twin has been applied to different stages of the product life cycle in manufacturing field, such as design, manufacturing, predictive maintenance, etc. Luo et al. [33] studied the multi-domain modeling method for CNC machine tool and this method can effectively improve machines stability and reduce machining faults. Liu et al. [34] proposed a digital twin-driven personalized design method for smart workshop, which is an effectual digital design method for physical production system. Considering the complexity of machining conditions, Liu et al. [35] built a process evaluation framework based on digital twin and illustrated validity of the framework with key components of diesel engines. To ensure the safety and availability of machining equipment, Qiao et al. [36] proposed a machine fault prediction method considering work conditions by using digital twin and deep learning technologies. Cheng et al. [37] proposed a digital twin-driven quality prediction method based on physical-virtual data interaction technology. The method improves the predictability and management of the quality control for marine diesel engines. Wang et al. [38] presented a multi-life-cycle remanufacturing method driven by digital twin, which has the advantages of real-time perception control and optimization analysis.
The related studies show that digital twin is an effective method for intelligently predicting and guiding the operations of physical objects with virtual-physical interaction and symbiotic evolution. On the one hand, digital twin fuses real data and simulation data to provide the complete data source for the behavior analysis and prediction of physical objects. On the other hand, it can continuously analyze the operating state of physical objects and their twin models to find differences, and then adopt strategies for dynamic optimization and adjustment to guide physical objects to work better. And digital twin has a great potential to dynamically optimize the machining process through real-time sensing the machining conditions. However, few researches focus on applying digital twin technology to the optimization of the CNC machining process. Hence digital twin is introduced to realize the optimization of cutting parameters in this paper.
3 The Architecture of Cutting Parameter Optimization with Digital Twin
In the CNC machining process, digital twin will continuously simulate the machining behaviors and optimize the cutting parameters based on the real-time sensing data from the physical machining conditions. The optimization result will be fed back to the physical machine tool to guide the actual production process. Here, an architecture of digital twin of a CNC machine tool for cutting parameter optimization is proposed (see Fig. 1). There are two parts in this architecture, namely the physical space and the virtual space.
3.1 The Physical Space
In the physical space, it is mainly composed of the physical device layer (CNC machine tool), the perception layer, and the communication network layer. In the process of machining, the working state of the CNC machine tool is sensed and collected through various sensors in the perception layer. All the collected data, namely sensing data, are transmitted to the virtual space through communication network layer (Ethernet, WiFi, ZigBee, etc.), and are used to drive the twin model for simulation and optimization.
3.2 The Virtual Space
In the virtual space, it can be divided as two main models, i.e. the ontology model and the twin model.
-
(1)
The ontology model
It is a communication bridge for understanding the semantic of the real-time interaction between the physical space and the virtual space. The real-time data of the physical space can be semantically parsed by the ontology and transmitted to the twin model. Meanwhile, the ontology can parse simulation data of the twin model into the machining instruction for guiding the physical machine tool.
-
(2)
The twin model
It consists of the simulation model and optimization model. The simulation model, i.e. virtual machine tool, synchronously simulates the machining behaviors of the physical machine tool, such as the cutting tools movement and the process of removing material. In the optimization model, all kinds of mathematical models and intelligent algorithms driven by sensing data are adopted to dynamically optimize cutting parameters.
4 The Semantic Modeling and Dynamical Optimization
4.1 Ontology-Based Modeling for Virtual-Physical Interaction
During the optimization process of cutting parameters, the information in the virtual and physical space needs to realize real-time interaction and fusion. That's to say, the machining data of the physical space, including cutting parameters and state information of all machining resources, should be transmitted to the virtual space for driving the twin model to simulate and optimize. Meanwhile, the optimization results need to be transmitted back to the physical space to guide the actual machining. However, the related process information is characterized by complexity and variability for the practical machining. Therefore, it is necessary to establish the CNC machining process knowledge ontology.
4.1.1 The Modeling of CNC Machining Process Knowledge Ontology
Considering the actual requirements of cutting parameter optimization, i.e. processing time and carbon emissions, many domain terms are summarized and analyzed. \(CNC\_Machining\_Onto\log y\), an ontology on CNC machining process knowledge, is obtained, which mainly includes basic attribute information \(Basic\_Attr\_info\), dynamic processing information \(Dynamic\_Mfg\_Info\) and simulation information \(SL\_Info\). Its formal description is as follows.
-
(1)
Basic attribute information \(Basic\_Attr\_Info\)
It refers to the information that is almost unchanged in the machining process, such as ID, material and dimensions of machining equipment and workpieces. This kind of information is mainly used to describe the basic parameters and processing performance of manufacturing resources. Its formal description is as follows.
$$Basic\_Attr\_Info = (MT\_Basic\_Info, \, WP\_Basic\_Info,Tool\_Basic\_Info,Aux\_Eqp\_Info)$$ -
(2)
Dynamic processing information \(Dynamic\_Mfg\_Info\)
It refers to information that changes dynamically with the machining process such as cutting parameters, spindle power and axis positions. It directly reflects the real-time state of machining resources. Its formal description is as follows.
$$Dynamic\_Mfg\_Info = (MT\_Dyna\_Info, \, WP\_Dyna\_Info,Tool\_Dyna\_Info)$$ -
(3)
Simulation information \(SL\_Info\)
It is obtained by simulating and analyzing the relevant data within \(Basic\_Attr\_Info\) and \(Dynamic\_Mfg\_Info\) in the virtual space. It mainly refers to the optimized machining process, carbon emissions and time information in the whole machining. Its formal description is as follows.
$$SL\_Info = (Optimized\_\Pr ocess,Mfg\_Time, \, CE\_Info,Aux\_Info)$$In addition, the subclasses and properties information of each class are shown in Tables 1, 2, 3. And the CNC machining process knowledge ontology is modeled using the ontology editor Protégé, as shown in Fig. 2.
4.1.2 The Construction and Parsing Process for the Ontology
In the physical space, the ontology construction and parsing process based on sensing data is as follows.
Step 1: The machining data collected by all kinds of sensors and other information of machining resources is described in the form of XML.
Step 2: The XML file is mapped to OWL file based on mapping rules [39], and the sub-ontology for the physical space is obtained.
Step 3: The ontology parser Jena is used to parse the ontology file, and the data parsed will be uploaded to the twin model.
Similarly, the simulation data from the virtual space is also mapped to the ontology, and the sub-ontology for the virtual space is obtained. Thus, sensing data of the physical space and simulation data of the virtual space constantly update the ontology, and build a complete process knowledge ontology.
4.2 Dynamic Optimization of Cutting Parameters with Digital Twin
4.2.1 Initial Optimization for Minimizing Carbon Emissions and Processing Time
To find initial optimal cutting parameters, we suppose that machine conditions are determined during the process of machining. A multi-objective optimization model is established for minimizing carbon emissions and processing time, and the model is solved by NSGA-II algorithm.
-
Decision variables
Spindle speed, feedrate, cutting depth and width are significant cutting parameters for CNC machining. Cutting depth and width are depended on machining allowance and accuracy, and they have little or no influence on carbon emissions. Therefore, the decision variables are set as spindle speed \(n\) (r/min) and feedrate \(V_{f}\)(mm/min).
-
Optimization objectives
Carbon emissions are important in numerous process planning objectives, but from the perspective of economic benefits, processing time is also indispensable. As a result, two objectives are considered, i.e. carbon emissions \(CE_{P}\)(kgCO2)and processing time \(PT_{P}\)(s), as shown in Eq. (1).
-
(1)
Processing time modeling
\(PT_{P}\) refers to the total time from stable operation of each subsystem of the machine tool, such as spindle system and feed system, to the finish of the machining task. It is mainly composed of three parts, i.e. material removal time \(PT_{C}\)(s), tool replacing time \(PT_{CT}\)(s) and auxiliary time \(PT_{A}\)(s), as shown in Eq. (2).
$$PT_{P} = PT_{C} + PT_{CT} + PT_{A}$$(2)
\(PT_{C}\) can be obtained as shown in Eq. (3), where \(L\)(mm) denotes the milling length,\(a_{p}\)(mm) denotes the cutting depth,\(\Delta\)(mm) denotes the thickness of the material to be removed, namely the machining allowance.
In the machining process, the cutting tools usually become not sharp enough and must be replaced. According to Taylor's extended equation, the tool life \(T_{tool}\)(min) can be calculated by Eq. (4) [13].
where \(C\),\(b_{t}\),\(e_{t}\),\(\mu_{t}\),\(r_{t}\),\(n_{t}\) and \(q\) are tool life coefficients,\(D\)(mm) denotes the tool diameter,\(V_{C}\)(m/min) denotes the tool cutting speed,\(a_{f}\)(mm/z) denotes the feedrate per tooth,\(a_{e}\)(mm) is the milling width and \(z\) is number of tool teeth.\(V_{C}\) and \(a_{f}\) can be expressed as shown in Eqs. (5)-(6).
\(PT_{CT}\) can be calculated from Eq. (7), where \(T_{tc}\)(min) is the time for tool replacing once.
\(PT_{A}\) refers to the time used by various auxiliary operations in machining, which mainly includes the tool retracting time in this study, as shown in Eq. (8), where \(T_{ae}\)(min) is the time for retracting once.
-
(2)
Carbon emissions modeling
Carbon emissions for the CNC machining are associated to many factors, such as the electricity consumption \(CE_{E}\)(kgCO2), raw materials consumption \(CE_{M}\)(kgCO2), cutting tools \(CE_{T}\)(kgCO2)and cutting fluid \(CE_{F}\)(kgCO2), as show in Fig. 3.
In the machining process for a part, the removal amount of material \(CE_{M}\) is almost the same for different cutting parameters, so total carbon emissions \(CE_{{\text{P}}}\)(kgCO2)can be represented by Eq. (9).
Following Eq. (9), the calculations of \(CE_{T}\),\(CE_{F}\) and \(CE_{E}\) can be described as shown in Eqs. (10)-(12).
in which \(CEF_{tool}\)(kgCO2/kg),\(CEF_{fluid}\)(kgCO2/m3) and \(CEF_{elec}\)(kgCO2/J) are emission factors of cutting tool, cutting fluid and electricity, respectively.\(W_{tool}\)(kg) denotes the tool weight,\(T_{fluid}\)(s) denotes the cutting fluid change period,\(V_{fluid}\)(m3) denotes the coolant volume for milling, and \(E_{P}\)(J) denotes the electricity energy for the whole process.
In this study, the electricity energy is mainly consumed for tool replacing \(E_{CT}\)(J), materials removing \(E_{C}\)(J) and tool retracting \(E_{A}\)(J). Therefore, the total electricity energy \(E_{P}\)(J) can be defined as Eq. (13).
in which \(P_{idle}\)(W) is the idle power,\(P_{basic}\)(W) is the basic power,\(P_{C}\)(W) is the cutting power and \(P_{a}\)(W) is the additional power.
\(P_{idle}\) is composed of the basic power \(P_{basic}\)(W) and the unload power \(P_{unload}\)(W), as shown in Eq. (14).
\(P_{basic}\) is to assure the normal working of the machining system, such as the cooling system and hydraulic system.\(P_{unload}\) refers to the power consumed when the machine tool is only idling without cutting behaviors, which is closely related to the spindle speed, where \(P_{\min 0}\)(W) denotes the minimum unload power of a machine tool, and \(C_{1}\),\(C_{2}\) are rotation coefficients.
\(P_{C}\) is mainly decided by cutting speed \(V_{C}\) and cutting force \(F_{C}\)(N), as shown in Eq. (15), in which \(F_{C}\) can be expressed in Eq. (16).
where \(C_{F}\) is cutting force coefficients, which is determined according to the cutting tools and workpiece materials. \(x_{F}\),\(y_{F}\),\(z_{F}\),\(\mu_{F}\),\(q_{F}\),\(w_{F}\) are the influence indexes of cutting depth, feedrate, number of tool teeth, cutting width, cutting tool diameter and spindle speed on cutting force.\(K_{F}\) is modification coefficient of the workpiece material.
In addition, \(P_{a}\)(W) refers to some extra power, e.g. the power generated by mechanical friction, which is challenging to establish an accurate mathematic model. Alternatively, we can use an approximate linear formula to represent, as shown in Eq. (17), where \(b_{m}\) denotes the power coefficient [13].
-
Constraints
For milling, there are a substantial amount of constraints need to be satisfied, as shown below.
Constraints (18)–(19) control the spindle speed and feedrate to be within acceptable ranges, where \(n_{Min}\) and \(n_{Max}\) represent the upper and lower bounds of the spindle speed,\(V_{fMin}\) and \(V_{fMax}\) represent the upper and lower bounds of feedrate. As described in Constraint (20), the cutting force needs to be limit within maximum cutting force \(F_{Max}\) for good product quality and machine life. Similarly, the actual machining power should be less than maximum output power of the machine tool, as shown in Constraint (21), where \(P_{Max}\) denotes the maximum spindle power and \(\eta\) denotes the power effective coefficient. The tool life needs to be greater than minimum tool life \(T_{tool}^{Min}\), as shown in Constraint (22). To ensure the product quality, surface roughness \(R_{a}\) should be less than the maximum surface roughness \(R_{Max}\), as shown in Constraint (23), where \(r_{g}\) denotes the nose radius.
-
NSGA-II algorithm for multi-objective optimization
There are many algorithms for solving complex multi-objective optimization problems, e.g. genetic algorithm (GA) [40], harmony search algorithm (HS) [41] and particle swarm algorithm [42]. In this section, NSGA-II is adopted to solve the proposed problem, which is an multi-objective evolutionary algorithm (MOEA). It is characterized by the followings: the fast non-dominated sorting operator greatly decreases the computation complexity; the crowding distance mechanism maintains the population diversity; and the elitism selection strategy can make the superior individuals not be discarded during evolution, and improve robustness of the algorithm. The procedure of NSGA-II is executed according to Fig. 4 as follows.
-
Step 1: The population of size \(N\) is randomly initialized.
-
Step 2: The first-generation population can be generated by performing the fast non-dominated sorting and three genetic operators, namely selection, crossover and mutation.
-
Step 3: Combining offspring populations with parent populations, then performing the fast non-dominated sorting and calculating the crowding distance.
-
Step 4: Optimal individuals can be found by using elitism selection strategy.
-
Step 5: When the size of new parent population reaches \(N\), the iteration will be stopped, and a new child population can be obtained.
4.2.2 Dynamic Re-optimization Based on Virtual-Physical Interaction
Although NSGA-II effectively optimizes the cutting parameters, the process of optimization is carried out based on certain machining conditions. In fact, the actual machining conditions are dynamically changing, which will lead to the deviation between the actual and expected machining state, such as poor machining quality and tool vibration. Hence the initial cutting parameters may not be applicable or optimal for the current machining. It is essential to re-optimize cutting parameters according to the actual machining data. In view of the above problems, dynamic cutting parameter optimization method based on virtual-physical interaction is proposed, as shown in Fig. 5.
During the machining, the simulation model of the virtual space synchronously simulates the machining behaviors of the CNC machine tool driven by the sensing data from the physical space. At the same time, the simulation model analyzes whether the simulation results are consistent with the desired. If the current machining state does not meet the expectation, for example, cutting force fluctuation, optimization model should be adjusted according to sensing data, and the intelligent algorithms such as NSGA-II or others can be used to re-optimize cutting parameters. Then the optimization results will be verified in the simulation model to confirm whether the actual machining requirements are met. Hereafter the updated machining plan, i.e. NC program, will be transferred to the physical machine to guide the remaining production. During the machining, the simulation and optimization process will be continuously performed through virtual-physical closed loop until the whole machining task is completed.
In the rough milling, the cutting force usually fluctuates with the change of the difference of cutting depths and materials, which may cause machine tool chatter and cutting tool breakage. It is an effective and efficient method for the issues with the dynamically optimized cutting parameters in light of different cutting conditions. In the rough milling, the feedrate has a greater influence on the cutting force than the spindle speed [21]. In addition, among the main cutting parameter variables, feedrate is the easiest to manage and control, so it is usually selected as the variable to adjust the cutting force [43]. Therefore, an example of re-optimizing the feedrate with the real-time sensing data (spindle power, spindle speed, feedrate, axis positions, etc.) to further illustrate the implementation process of this method. The optimization method is as follows.
-
(1)
The cutting force model
Many experiments and empirical models show that cutting force \(F_{C}\)(N) can be modeled using spindle power, as shown in Eqs. (24)-(27) [21].
where \(T_{s}\)(N \(\cdot\) m) is the cutting torque,\(P_{m}\)(W) denotes the spindle power,\(n\)(r/min) denotes the spindle speed,\(F_{t}\)(N) denotes the tangential cutting force,\(D\)(mm) denotes the diameter of cutting tool and \(F_{th}\)(N) denotes the thrust cutting force.
-
(2)
The feedrate optimization model
According to Eq. (16), for a specific machining operation, the relationship between cutting force and feedrate is approximately proportional under given other parameters, i.e.\(F_{C} = K \times V_{f}^{{y_{F} }}\), where \(K\) is proportionality coefficient. Hence the optimized feedrate can be determined by Eq. (28).
where \(V_{f}\)(mm/min)and \(V_{f}^{^{\prime}}\)(mm/min)respectively denote feedrates before and after optimization.\(F_{C}\)(N) and \(F_{C}^{e}\)(N) respectively denote the original cutting force and the expected cutting force after optimization.\(y_{F}\) is the cutting force coefficient.\(l \in\)[0.5, 1.5] is the optimization capability factor generated randomly with iteration number \(k\),\(S\) represents the feasible region satisfied to Constraints (18)–(23).
Besides, real-time data is collected by sensors at a certain sampling frequency during the machining process, so different amounts of data can be collected for each row of NC program. We assume that there is a segment of NC program with \(N\) rows. For the i-th row, the original feedrate \(V_{f} (i)\) and cutting force \(F_{C} (i)\) can be calculated as shown in Eqs. (29)-(30).
where \(i \in\)[1, N],\(N_{i}\) denotes the data collecting times for the i-th row,\(V_{f} (i,j)\) and \(F_{C} (i,j)\) represent the j-th values of feedrate and cutting force in the i-th row, respectively.\(F_{C}^{e}\) can be represented by Eq. (31).
5 Case Study
To validate this method, a milling process is tested on a CNC milling machine with cemented carbide cutting tool and S45C carbon steel workblank. The specifications of the machine tool are shown in Table 4. The workpiece consists of nine grooves with varying length and cutting depth, as shown in Table 5. More parameters for process optimization, such as carbon emission factors, cutting force coefficients and tool life coefficients, can be obtained from process manuals and stored in the ontology model. Note that this experiment stipulates that the expected value of the variance of the cutting force data is less than 10^3.
The 3D simulation model in the virtual space is shown in Fig. 6. In this model, the optimization and simulation process of the CNC machining can be achieved.
5.1 Validation of Initial Optimization
Firstly, the problem is solved by using NSGA-II to obtain initial optimal solution of cutting parameters. The initial parameters of the algorithm are set as shown in Table 6. After optimization, the optimal cutting parameters (\(n\),\(V_{f}\)) are obtained, which are 919 r/min, 441 mm/min. And the objective values (\(PT_{P}\),\(CE_{P}\)) are 95.235 s and 0.0671 kgCO2. The change processes of processing time and carbon emissions are shown in Fig. 7.
Then, the milling process is performed with the above process plan, i.e.\(n\) = 919 r/min,\(V_{f}\) = 441 mm/min. During the machining process, real-time sensing data, mainly including time, NC program row number, spindle power, spindle speed, feedrate, cutting depth and axis positions, is collected with a sampling period of 100 ms. The spindle power is collected by the power sensor, other data can be obtained from the CNC system. Then the sensing data is semantically parsed through the ontology model using Jena tools. The process of ontology parsing is shown in Fig. 8. The parsed data will be transmitted to the twin model. Next, the virtual machine tool will simulate the machining behaviors of the physical machine. The waveforms of cutting depth, the spindle power collected by sensor and the cutting force calculated by Eqs. (24)–(27) are shown in Fig. 9. It can be found that the spindle power and cutting force fluctuate significantly during the milling, and their fluctuation is almost the same as the variation of cutting depth. And the variance of cutting force data is 7983.2, which is much larger than the expected value (< 10^3). Therefore, it is essential to re-optimize the feedrate.
5.2 Validation of Dynamic Re-optimization
The method described in Sect. 4.2.2 is used to re-optimize the feedrate, and the spindle speed is fixed after the initial optimization of NSGA-II. The optimization results are verified in the virtual machine tool. The comparison of feedrate is shown in Fig. 10. It shows that the original feedrate is relatively stable. The optimized feedrate is no longer constant. Instead, it varies with cutting depth to maintain a more constant cutting force. Most of the feedrate values are higher than the original values, which provides the potential of saving machining time. Then the ontology model parses the new process plan, which will be sent back to the physical machine to guide the next milling.
Next, the same milling process is performed using updated NC program, and real-time data such as spindle power is collected again in the new process. The comparison of before and after optimization for spindle power and cutting force are shown in Fig. 11. It shows that the spindle power is relatively stable, and the fluctuation of the cutting force decreases after optimization, which proves the feasibility of proposed method.
5.3 Results and Discussion
The statistical analysis was conducted on the data before and after optimization, as shown in Table 7, where the original data comes from the initial machining process, and the optimized data can be obtained during the milling process using re-optimized cutting parameters.
Compared with original cutting forces, the ratio of maximum to minimum is smaller, the average is larger, and the variance is much smaller for cutting force after optimization. The result indicates that the optimized cutting force is more smooth, which can avoid excessive deformation and unexpected vibration for machines, and the performances of machining equipment are protected.
In addition, for processing time \(PT_{P}\) and carbon emissions \(CE_{P}\), the values of the optimized two objective functions are reduced by 5.84% and 6.1% respectively, i.e. improving the machining efficiency and reducing carbon emissions, which further proves the feasibility of the method.
In short, the proposed method dynamically optimized the cutting federate according to the machining conditions. Hence the method can obtain more accurate and reasonable cutting parameters by continuous simulation and optimization of the virtual twin driven by the real-time sensing data from physical machine tool.
6 Conclusions
Nowadays, low carbon manufacturing has become a trend in modern manufacturing. Cutting parameter optimization is one of effective ways to reduce carbon emissions for manufacturing industry. Digital twin brings about a novel methodology for dynamically optimizing the cutting parameters according to the real-time sensing data in the process of machining. A dynamic cutting parameter optimization method for low carbon and high efficiency based on digital twin is proposed. Compared with traditional static optimization methods, this method can dynamically find optimal cutting parameters in light of the real-time sensing data of the machining conditions. The case study shows that the method can reduce the processing time by 5.84% and carbon emissions by 6.1%. The main contributions of this work are as follows:
-
(1)
The architecture of digital twin of a CNC machine tool for cutting parameter optimization is presented, which describes the operation process of the proposed method.
-
(2)
The ontology on CNC machining process is established for realizing real-time semantic understanding between physical machine tool and virtual twin model.
-
(3)
A dynamic optimization method of cutting parameters based on dynamic perception of physical machining conditions and synchronous simulation of virtual twin model is proposed.
This research has realized the application of digital twin to the problem of cutting parameter optimization. However, this study still has limitations, mainly including the smart perception of machining conditions and the continuous evolution of optimization model driven by sensing data. In the case study, cutting parameters are dynamically optimized based on real-time sensing data for the smoothness of the cutting force, without considering other machining factors such as surface roughness, accuracy, tool life, etc. In the future, the real-time perception of the whole CNC machining conditions based on multi-sensor fusion technology will be further studied. And more research is needed for dynamic evolution of the twin model driven by data fusion and intelligent algorithm to enhance the accuracy of cutting parameter optimization and to obtain better machining performance.
References
Hosseinabad, E. R., & Moraga, R. J. (2017). A system dynamics approach in air pollution mitigation of metropolitan areas with sustainable development perspective: A case study of mexico city. Journal of Applied Environmental and Biological Sciences, 7(12), 164–174.
Hosseinabad, E. R., & Moraga, R. J. (2020). The evaluation of renewable energy predictive modelling in energy dependency reduction: a system dynamics approach. International Journal of Applied Management Science, 12(1), 1–22.
Sabine, C., Ciais, P., Jones, C., et al. (2014). Ask the experts: The IPCC fifth assessment report. Carbon Management, 5(1), 17–25.
Capuano, L. (2018). International energy outlook 2018 (IEO2018). US Energy Information Administration (EIA): Washington, DC, USA, 2018, 21.
Carl, J., & Fedor, D. (2016). Tracking global carbon revenues: A survey of carbon taxes versus cap-and-trade in the real world. Energy Policy, 96, 50–77.
Wang, Q., Tang, D., Yin, L., et al. (2018). An optimization method for coordinating supplier selection and low-carbon design of product family. International Journal of Precision Engineering and Manufacturing, 19, 1715–1726.
Zhong, Q. Q., Tang, R. Z., & Peng, T. (2017). Decision rules for energy consumption minimization during material removal process in turning. Journal of Cleaner Production, 140, 1819–1827.
Li, C. B., Tang, Y., Cui, L. G., et al. (2015). A quantitative approach to analyze carbon emissions of CNC-based machining systems. Journal of Intelligent Manufacturing, 26(5), 911–922.
Newman, S. T., Nassehi, A., Imani-Asrai, R., et al. (2012). Energy efficient process planning for CNC machining. CIRP Journal of Manufacturing Science and Technology, 5(2), 127–136.
Qi, Q. L., Tao, F., Hu, T. L., et al. (2019). Enabling technologies and tools for digital twin. Journal of Manufacturing Systems. https://doi.org/10.1016/j.jmsy.2019.10.001.
Grieves, M., & Vickers, J. (2017). Digital twin: Mitigating unpredictable, undesirable emergent behavior in complex systems. In F. J. Kahlen, S. Flumerfelt, & A. Alves (Eds.), Transdisciplinary perspectives on complex systems (pp. 85–113). Cham: Springer.
Zhou, G., Lu, Q., Xiao, Z., et al. (2017). Ontology-based cutting tool configuration considering carbon emissions. International Journal of Precision Engineering and Manufacturing, 18, 1641–1657.
Yi, Q., Li, C. B., Tang, Y., et al. (2015). Multi-objective parameter optimization of CNC machining for low carbon manufacturing. Journal of Cleaner Production, 5, 256–264.
Jiang, Z., Gao, D., Lu, Y., et al. (2019). Optimization of cutting parameters for trade-off among carbon emissions, surface roughness, and processing time. Chinese Journal of Mechanical Engineering, 32(1), 1–18.
Liu, Z. J., Sun, D. P., Lin, C. X., et al. (2016). Multi-objective optimization of the operating conditions in a cutting process based on low carbon emission costs. Journal of Cleaner Production, 124, 266–275.
Zhang, L., Zhang, B., Bao, H., et al. (2018). Optimization of cutting parameters for minimizing environmental impact: considering energy efficiency, noise emission and economic dimension. International Journal of Precision Engineering and Manufacturing, 19, 613–624.
Zhou, G. H., Lu, Q., Xiao, Z. D., et al. (2019). Cutting parameter optimization for machining operations considering carbon emissions. Journal of Cleaner Production, 208, 937–950.
Li, L. L., Li, C. B., Tang, Y., et al. (2017). An integrated approach of process planning and cutting parameter optimization for energy-aware CNC machining. Journal of Cleaner Production, 162, 458–473.
Li, C. B., Chen, X. Z., Tang, Y., et al. (2017). Selection of optimum parameters in multi-pass face milling for maximum energy efficiency and minimum production cost. Journal of Cleaner Production, 140, 1805–1818.
Kurt, M., & Bagci, E. (2011). Feedrate optimization/scheduling on sculptured surface machining: A comprehensive review, applications and future directions. International Journal of Advanced Manufacturing Technology, 55(9–12), 1037–1067.
Park, H. S., Qi, B., Dang, D. V., et al. (2018). Development of smart machining system for optimizing feedrates to minimize machining time. Journal of Computational Design and Engineering, 5(3), 299–304.
Ridwan, F., & Xun, X. (2013). Advanced CNC system with in-process feed-rate optimisation. Robotics and Computer-Integrated Manufacturing, 29(3), 12–20.
Erkorkmaz, K., Layegh, S. E., Lazoglu, I., et al. (2013). Feedrate optimization for freeform milling considering constraints from the feed drive system and process mechanics. CIRP Annals-Manufacturing Technology, 62(1), 395–398.
Xu, P., & Lee, R. S. (2016). Feedrate optimization based on hybrid forward-reverse mappings of artificial neural networks for five-axis milling. The International Journal of Advanced Manufacturing Technology, 87(9), 3033–3049.
Tao, F., Cheng, J., & Qi, Q. (2018). IIHub: An industrial Internet-of-Things hub towards smart manufacturing based on cyber-physical system. IEEE Transactions on Industrial Informatics, 14(5), 2271–2280.
Xu, L. D., He, W., & Li, S. (2014). Internet of things in industries: A survey. IEEE Transactions on Industrial Informatics, 10(4), 2233–2243.
Dong, H. K., Thomas, J. Y. K., Xin, L. W., et al. (2018). Smart machining process using machine learning: a review and perspective on machining industry. International Journal of Precision Engineering and Manufacturing-Green Technology, 05(04), 555–568.
Negri, E., Fumagalli, L., & Macchi, M. (2017). A review of the roles of digital twin in CPS-based production systems. Procedia Manufacturing, 11, 939–948.
Qi, Q. L., & Tao, F. (2018). Digital twin and big data towards smart manufacturing and Industry 4.0: 360 degree comparison. IEEE Access, 6, 3585–3593.
Tao, F., Zhang, H., Liu, A., et al. (2019). Digital twin in industry: State-of-the-art. IEEE Transactions on Industrial Informatics, 15(4), 2405–2415.
Arno, S., Tae, H. L., Maximilian, H., et al. (2020). Evaluation of industry 4.0 data formats for digital twin of optical components. International Journal of Precision Engineering and Manufacturing-Green Technology, 07, 573–584.
Liu, J., Zhou, H., Tian, G., et al. (2019). Digital twin-based process reuse and evaluation approach for smart process planning. The International Journal of Advanced Manufacturing Technology, 100, 1619–1634.
Luo, W. C., Hu, T. L., Zhang, C. R., et al. (2019). Digital twin for CNC machine tool: modeling and using strategy. Journal of Ambient Intelligence & Humanized Computing, 10, 1129–1140.
Liu, Q., Zhang, H., Leng, J., et al. (2019). Digital twin-driven rapid individualised designing of automated flow-shop manufacturing system. International Journal of Production Research, 57(12), 3903–3919.
Liu, J. F., Zhou, H. G., Liu, X. J., et al. (2019). Dynamic evaluation method of machining process planning based on the digital twin-based process model. IEEE Access, 7, 19312–19323.
Qiao, Q. Z., Wang, J. J., Ye, L. K., et al. (2019). Digital twin for machining tool condition prediction. Procedia CIRP, 81, 1388–1393.
Cheng, D., Zhang, J., Hu, Z., et al. (2020). A digital twin-driven approach for on-line controlling quality of marine diesel engine critical parts. International Journal of Precision Engineering and Manufacturing, 21, 1821–1841.
Wang, Y. K., Wang, S. L., Yang, B., et al. (2020). Big data driven hierarchical digital twin predictive remanufacturing paradigm: Architecture, control mechanism, application scenario and benefits. Journal of Cleaner Production, 248, 119299. https://doi.org/10.1016/j.jclepro.2019.119299.
Hacherouf, M., Bahloul, S. N., & Cruz, C. (2015). Transforming XML documents to OWL ontologies: A survey. Journal of Information Science, 41(2), 242–259.
Tairidis, G., Foutsitzi, G., Koutsianitis, P., et al. (2016). Fine tuning of a fuzzy controller for vibration suppression of smart plates using genetic algorithms. Advances in Engineering Software, 101, 123–135.
Farshbaf Zinati, R., & Razfar, M. R. (2019). Multi-objective constrained optimization of turning process via modified harmony search algorithm. Iranian Journal of Science and Technology, Transactions of Mechanical Engineering, 43(2), 375–382.
Esfe, M. H., Mahian, O., Hajmohammad, M. H., et al. (2018). Design of a heat exchanger working with organic nanofluids using multi-objective particle swarm optimization algorithm and response surface method. International Journal of Heat and Mass Transfer, 119, 922–930.
Xiong, G., Li, Z., Ding, Y., et al. (2020). Integration of optimized feedrate into an online adaptive force controller for robot milling. The International Journal of Advanced Manufacturing Technology, 106, 1533–1542.
Acknowledgements
The authors would like to acknowledge funding support from application foundation frontier special project of Wuhan Science and Technology Bureau(No.2020010601012176), the International Science & Technology Cooperation Program of China (Grant No.2015DFA70340), and the Fundamental Research Funds for the Central Universities of Wuhan University of Technology (WUT:2019III071GX), as well as the contributions from all collaborators within the projects mentioned.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Zhao, L., Fang, Y., Lou, P. et al. Cutting Parameter Optimization for Reducing Carbon Emissions Using Digital Twin. Int. J. Precis. Eng. Manuf. 22, 933–949 (2021). https://doi.org/10.1007/s12541-021-00486-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12541-021-00486-1