Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM
Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Editor’s Recommendation

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

With the increasing severity of issues such as resource depletion, greenhouse effects, and environmental pollution, our country has emphasized the importance of promoting green manufacturing in its intelligent manufacturing development plan. The manufacturing equipment in mechanical manufacturing systems mainly consists of machine tools, and an accurate and effective energy consumption prediction model for machine tools can meet the needs of energy efficiency evaluation and energy consumption optimization. Among them, the energy consumption during the cutting process is the effective energy during the operation of CNC machine tools, which can be calculated from the cutting power. The accurate establishment of the cutting power model can improve the prediction accuracy of the energy efficiency of CNC machine tools. The cutting power during the cutting process is influenced by many process parameters, and its magnitude is closely related to the load. Some existing studies focus on the cutting power model considering process parameters and the idle power model to obtain the cutting power of machine tools. Some scholars also consider the impact of tool wear and other issues on the energy consumption during the CNC machining process. In actual CNC machining processes, tool wear affects the cutting power, and establishing a cutting power prediction model that considers tool wear can lay the groundwork for subsequent studies on preventive tool replacement. Existing literature mainly establishes cutting power prediction models for CNC milling machines considering tool wear from two aspects. The first method mainly establishes a functional relationship between cutting power and tool wear, processing parameters based on empirical formulas. This type of research requires complex mechanical physics formulas and a large number of machining experiments, which limits the feasibility of industrial promotion under the background of diverse small-batch market demand. The second method constructs a mapping relationship between the cutting power of the machine tool and related parameters through algorithms such as machine learning to establish a cutting power prediction model. Compared to traditional empirical models, machine learning can learn from the initial input and its relationships, uncovering complex nonlinear relationships between input parameters and cutting power output information, without focusing on the energy consumption mechanism of machine tool operation. However, existing studies generally classify the amount of tool wear artificially into levels, using tools with different wear degrees for experiments, without considering the dynamic changes of tool wear over time and the impact of the time-varying characteristics of tool wear on the energy consumption of machine tool cutting processes. Therefore, based on one-time historical processing data and considering the time-varying characteristics of tool wear, using new methods to directly establish a cutting power prediction model for machine tools to achieve cutting power prediction for all future workpieces is an urgent problem to be solved in the study of energy efficiency in mechanical processing systems.

This paper proposes a CNC milling machine cutting power prediction model based on machine learning algorithms considering the time characteristics of tool wear, which includes three key technologies: data acquisition, tool wear amount extraction, and cutting power prediction model establishment. This model does not need to deconstruct the energy consumption mechanism of CNC milling machine operation and achieves high-precision prediction of cutting power based on one-time historical experimental data. First, variance analysis is used to study the impact of tool wear on cutting power. Secondly, artificial intelligence machine vision technology is used to analyze and process real-time collected images of tool wear, obtaining the digital characteristics of tool wear images, thus obtaining the maximum wear amount of the tool at the current moment. Then, a neural network capable of handling long-term memory is used to establish a cutting power prediction model considering the time characteristics of tool wear. Finally, experiments prove that compared to BP neural networks, time series neural networks, and traditional empirical models, the proposed model has higher prediction accuracy. The above models and methods can provide a theoretical and application basis for energy consumption assessment, energy efficiency optimization, and energy consumption quota formulation in mechanical processing processes.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Abstract

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

The traditional acquisition of cutting power requires complex cutting power models and rarely considers the impact of tool wear, thus designing a CNC milling machine cutting power prediction model based on Variational Mode Decomposition – Sparrow Search Algorithm – Long Short-Term Memory (VMD-SSA-LSTM), which considers the impact of tool wear and can predict cutting power with high accuracy. Artificial intelligence machine vision technology is used to analyze and process images of tool wear to obtain digital features, and then a prediction model is established: using VMD to decompose operational data, SSA algorithm to optimize LSTM hyperparameters, and inputting the decomposed data into the LSTM network to obtain the cutting power prediction value. Finally, taking face milling as an example, the proposed prediction model is compared with BP neural networks, LSTM neural networks, and traditional models to verify the effectiveness and superiority of the proposed model.

0

Introduction

China has a large number of machine tools and consumes a lot of energy, especially CNC machine tools, so accurate and effective energy consumption prediction models for machine tools are crucial for energy efficiency evaluation and optimization. In the modeling of cutting power, most existing studies focus on cutting power models considering process parameters and idle power models, while neglecting the significant impact of tool wear on cutting power and processing quality. Tool wear continuously affects the cutting power of machine tools; however, current research often employs artificial classification methods, without considering the continuous impact of time-varying tool wear on machine tool cutting power. To address these issues, this paper introduces online tool wear extraction technology to obtain real-time dynamic wear values of tools. Additionally, combining the characteristics of cutting power and the advantages and disadvantages of neural networks, this paper establishes a CNC milling machine cutting power prediction model based on VMD-SSA-LSTM considering tool wear.

1

Construction Process of Cutting Power Prediction Model

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 1 Flowchart of Cutting Power Prediction Model Establishment

1.1

Acquisition of Cutting Power

The acquisition of cutting power is achieved by connecting the CW500 sensor to the machine tool power supply to obtain real-time voltage and current data during the CNC milling process, with a collection frequency of 0.1s. The connection method of the sensor is shown in Figure 2.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 2 Cutting Power Acquisition Platform

1.2

Extraction of Maximum Tool Wear

The subject of this study is the face milling cutter. Considering the convenience of image acquisition and the complexity of measurement algorithms, the maximum wear width of the rear tool face is chosen as the evaluation index. First, the high-definition images obtained by the industrial camera are pre-processed, then the Canny operator, sub-pixel edge detection, and overlapping edge detection are used to extract the boundaries of tool wear, and finally, the maximum wear width is obtained by using the bottom edge line of the rear tool face as one side of the rectangle and enclosing the minimum rectangle. The main operation process is shown in Figure 3, and the image processing results are shown in Figure 4.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 3 Image Processing Flow

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 4 Image Processing Results

1.3

VMD-SSA-LSTM Model Prediction

The VMD-SSA-LSTM CNC milling machine cutting power prediction model has the following specific prediction steps:

(1) Select the historical operation information of the CNC milling machine as model input.

(2) Use the VMD method to decompose the original cutting power sequence to obtain sub-sequence components.

(3) Data normalization. Due to the large difference between the spindle speed and the back feed amount, the iteration speed decreases. After normalization, the feature values are between 0 and 1, which improves the model’s convergence speed, and dimensionless processing can enhance the model’s accuracy.

(4) First, set the sparrow population size, maximum iteration times, and parameter ranges (number of hidden layer neurons, training times, and initial learning rate) for the search range, then use the minimum root mean square error as the objective function in the optimization algorithm, and finally establish the model combining the sparrow search algorithm with the long short-term neural network (SSA-LSTM).

(5) Each component is input into the SSA-LSTM prediction model to obtain individual prediction models.

(6) Finally, the predicted values of each prediction model are summed correspondingly to obtain the predicted value of the cutting power.

3

Case Study

3.1

Experimental Design

The processing equipment used in the experiment is the Jiasite V-11 CNC milling machine, and the input power signal of the milling machine is collected through the CW500 power measurement device. The experimental material is a 400mm×200mm×50mm plate of 45# steel, and the diameter of the tool holder used in the experiment is a 16mm double-edged tool, with the tool being a face milling cutter with JDL APMT1135 carbide inserts. An industrial camera from Hikvision MV-CS050-10GM is used to capture images of the wear on the rear face of the milling cutter. Considering the limitations of the internal spatial structure of the machine tool, the image acquisition system is deployed on the right side of the spindle, consisting of a camera, lens MVL-MY-018-150-MP, ring light source MV-LRDS-120-45-W, camera support, data transmission line, and light source controller, as shown in Figure 5. The Jiasite CNC milling machine mills the plate as shown in Figure 6. The experimental design includes 25 sets of processing schemes, with each scheme having 40 passes, each pass being 800 mm.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 5 Experimental Deployment Diagram

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 6 Face Milling Cutter Path

3.2

Analysis of Maximum Tool Wear Extraction

To verify the effectiveness of the proposed method for extracting the maximum tool wear, this paper uses an industrial microscope for accuracy experiments. A sample of 30 groups is measured for tool wear values with a microscope. To reduce measurement random errors, each group of control group wear measurements is taken three times to obtain an average value denoted as Wa, while the wear amount measured using the image technology method in this paper is denoted as Wb. The measurement deviation ∆ and relative error δ are used as evaluation indicators, and the industrial microscope measurement process is shown in Figure 7. The detection system is compared with the control group data, with a measurement deviation of less than 0.05mm and an average relative error of 4.70%, indicating excellent accuracy and meeting the requirements for milling cutter wear detection.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 7 Industrial Microscope Detection

3.3

Establishment and Analysis of Cutting Power Prediction Model

Select the first 70% of experimental data as training samples for the model, and the remaining 30% as test samples. Using the trained model, predictions are made on the test set, and the specific prediction results are shown in Figure 8.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 8 Results of VMD-SSA-LSTM Prediction

As shown in Figure 8, the predicted values of cutting power are close to the actual values. The prediction results and accuracy of the three models are shown in Figure 9, indicating that the prediction effect of VMD-SSA-LSTM is better than that of the single LSTM and SSA-LSTM models.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM
Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 9 Comparison of Prediction Results and Effects of Three Models

Calculations show that the average absolute percentage error of the BP neural network prediction is 13.58%, the average absolute percentage error of the LSTM neural network is 8.95%, the average absolute percentage error of the VMD-LSTM is 5.12%, and the average absolute percentage error of the VMD-SSA-LSTM is 1.53%. By introducing the sparrow search algorithm into the VMD-LSTM model, the optimization of neural network hyperparameters is facilitated. The VMD-SSA-LSTM model has better evaluation indicators than the VMD-LSTM model, and after adding the SSA algorithm, the average absolute percentage error is reduced by 3.59%, with both the average absolute error and root mean square error being lower than those of the single LSTM neural network model and VMD-LSTM model.

3.4

Application Scenarios of Cutting Power Model Considering Tool Wear

If the tool wear reaches a certain limit during the processing of CNC milling machines and continues to be used, it will lead to a decrease in the accuracy of the processed workpieces and increase energy consumption during the processing. Establishing a cutting power model that considers tool wear can lay the groundwork for subsequent research on tool replacement strategies. The tool replacement strategy is shown in Figure 10.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Figure 10 Tool Replacement Strategy

4

Conclusion

(1) A method for predicting the cutting power of CNC milling machines considering tool wear using the VMD-SSA-LSTM neural network is proposed, which includes three key technologies: data acquisition, tool wear amount extraction, and cutting power prediction model establishment.

(2) A method for extracting the maximum wear amount of tools based on artificial intelligence machine vision technology is proposed, which is easy to operate and achieves results close to those obtained by industrial microscope extraction methods.

(3) The results of the case study show that the average absolute percentage error of the cutting power prediction model based on the VMD-SSA-LSTM neural network is 1.53%. Compared to BP neural networks, time series neural networks, and traditional empirical models, the proposed model has higher prediction accuracy.

The above models and methods can provide a theoretical and application basis for energy consumption assessment, energy efficiency optimization, and energy consumption quota formulation in mechanical processing processes.

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM
Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

[Author Information]

Wang Qiulian, female, born in 1984, professor at Nanchang University. Research interests include green manufacturing and intelligent manufacturing.

E-mail: wangqiulian@ncu.edu.cn.

[Citation]

WANG Qiulian, OU Guixiong, XU Xuejiao, et al. Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM[J]. China Mechanical Engineering, 2024, 35(6): 1052-1063.

WANG Qiulian, OU Guixiong, XU Xuejiao, et al. Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM[J]. China Mechanical Engineering, 2024, 35(6): 1052-1063.

[For Full Text, Click the Link Below]

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

[For PDF Download, Click the Link Below]

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Editor: Wang Yanli, Yao Yuwei

Reviewer: Guo Wei, Chen Yong

Research on CNC Milling Machine Cutting Power Prediction Model Considering Tool Wear Based on VMD-SSA-LSTM

Recommended Reading:

[Open Access] China Mechanical Engineering 2024 Issue 6 (Special Column: Intelligent Vehicle Manipulation and Control)

[Heavyweight] Overview of National Natural Science Foundation Management Work in Mechanical Design and Manufacturing Discipline for 2023

2023 National Science and Technology Awards Series Report (I): Eight Editorial Board Members of China Mechanical Engineering Hosting/Participating Projects Awarded

2023 National Science and Technology Awards Series Report (II): Related Achievements of National Technology Invention Award Winners Published in China Mechanical Engineering

2023 National Science and Technology Awards Series Report (III): Related Achievements of National Science and Technology Progress Award Published in China Mechanical Engineering

[Call for Papers] Call for Papers for the Special Issue on Research on High-Performance Manufacturing Control of Complex Key Components in Aerospace in China Mechanical Engineering

Leave a Comment