Tool wear monitoring method and CNC machine tool equipment driven by digital twin

Through digital twin technology and convolutional neural network, the digital space of CNC machine tools is constructed to achieve real-time three-dimensional visual monitoring and early warning of tool wear, solving the problem of difficulty in comprehensive analysis of tool wear in the existing technology, and improving processing efficiency and quality. .

CN115509178BActive Publication Date: 2024-08-23HARBIN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211069248.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-02
Publication Date
2024-08-23
Estimated Expiration
2042-09-02

AI Technical Summary

Technical Problem

Existing tool wear status monitoring methods are difficult to achieve comprehensive analysis, especially the lack of interactive display in three-dimensional space, which makes it difficult to effectively monitor and predict tool wear, affecting processing quality and production efficiency.

Method used

Digital twin technology combined with convolutional neural networks is used to construct the digital space of CNC machine tools. Through three-dimensional modeling, scene construction, behavioral logic model construction and human-computer interaction, a deep learning model based on CNN-LSTM is established to monitor and predict tool wear in real time. , and realize three-dimensional visual display in Unity3D.

Benefits of technology

It significantly improves the ability to analyze tool wear status, improves tool usage and processing efficiency, and realizes real-time three-dimensional visual monitoring of tool wear and automatic tool change warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509178B
    Figure CN115509178B
Patent Text Reader

Abstract

The present invention discloses a tool wear monitoring method and CNC machine tool equipment driven by digital twins, the method comprising: constructing a digital space of the milling process of a CNC machine tool to perform real-time milling simulation; establishing a connection between a physical space and a digital space to obtain multi-source heterogeneous data from the physical space; preprocessing the historical processing data collected by the sensor; constructing a deep learning model based on a convolutional neural network-long short-term memory, importing the preprocessed historical processing data for model training, and obtaining an optimized tool wear monitoring model; inputting the real-time processing data from the sensor into the tool wear monitoring model to obtain the monitoring value of the tool wear, and realizing three-dimensional visualization; controlling the machine tool to change the tool after the monitoring value of the tool wear exceeds the tool wear value threshold for a certain period of time. The present invention can significantly improve the ability to analyze the tool wear state during milling, and effectively improve the tool utilization rate, processing efficiency and processing quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent manufacturing, and specifically relates to a tool wear monitoring method and CNC machine tool equipment driven by a digital twin. Background Art

[0002] With the rapid development of information technology and the comprehensive integration of traditional manufacturing, countries around the world have introduced their own advanced manufacturing development strategies, using the new generation of information technology to achieve the interconnection and intelligent operation of the physical world and the information world of manufacturing, and then realize intelligent manufacturing. One of the core issues of intelligent manufacturing is digital twins. Digital twins are based on digital models of physical entities such as equipment and production lines, integrate the collected real-time data of physical units, and use digital models to simulate the behavior of physical entities in the real world, reconstruct all elements of the real world in the information world, and form digital twins.

[0003] As a key basic component of CNC machine tools, the tool is the execution end of cutting processing. It is one of the key factors to ensure processing quality, improve production efficiency, reduce production energy consumption and time costs. It is also the most vulnerable and wasteful component. Tool wear or breakage will cause the quality of the processed workpiece to decline, and even paralyze the entire production system, causing production accidents. The research on tool wear status monitoring methods has important theoretical value in the development of manufacturing process monitoring methods, the optimization of cutting processes, and the enrichment and improvement of intelligent manufacturing theories. This technology not only meets the urgent needs of engineering practice, but also occupies a major position in the field of manufacturing process status monitoring technology.

[0004] At present, most of the tool wear status monitoring methods can only realize the signal collection and analysis of the machine tool processing process, but only the data processing process is limited to two-dimensional display, especially the lack of interaction with the physical space, so it is difficult to analyze the tool wear more comprehensively, and the addition of a three-dimensional display interactive interface can bring more comprehensive information. Combining the existing tool wear monitoring methods with the emerging digital twin technology may provide a new way and new idea for comprehensive control of the tool processing status of high-end CNC machine tools. Summary of the invention

[0005] The purpose of the present invention is to provide a digital twin driven tool wear monitoring method and CNC machine tool equipment to monitor and predict the tool wear status during the milling process of the CNC machine tool, and realize three-dimensional visual monitoring of the tool wear status.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A digital twin-driven tool wear monitoring method, comprising:

[0008] (1) Constructing the digital space of the CNC machine tool milling process; The construction of the digital twin digital space mainly includes four parts, namely three-dimensional modeling, scene construction, behavioral logic model construction and human-computer interaction.

[0009] (2) Establish a connection between the physical space and the digital space to obtain static and dynamic information from the physical space, including: the connection requires the establishment of a TCP / IP network layer communication connection between the physical machine tool and the virtual machine tool; the static information includes four parts: machine tool attribute data, tool attribute data, workpiece attribute data, and process attribute data; the dynamic information consists of machine tool status data and machine tool external sensor data.

[0010] (3) The historical processing data collected by the sensor are preprocessed by data capture, wavelet denoising and data slicing. Specifically, the historical processing data include three signals, namely three-dimensional cutting force, three-dimensional acceleration and acoustic emission, and seven channels of data. The sampling frequency is 50 kHz, and each data sample has about 200,000 sampling points. Data preprocessing includes data capture, wavelet denoising and data slicing.

[0011] (4) Based on the processed data, a tool wear monitoring model is established, specifically including: constructing a deep learning model based on convolutional neural network-long short-term memory (CNN-LSTM), adjusting the neural network parameter settings in the model training stage, importing preprocessed historical processing data for model training, and obtaining an optimized tool wear monitoring model.

[0012] (5) The real-time machining data from the sensor is input into the tool wear monitoring model to obtain the monitoring value of the tool wear. After exceeding the tool wear value threshold for a certain period of time, the machine tool can be controlled to stop or automatically change the tool. Specifically, the monitoring value of the tool wear is obtained by the tool wear monitoring model, and a three-dimensional visualization effect is realized in Unity3D.

[0013] Optional, digital space, specifically including:

[0014] 3D modeling: Draw the 3D model in industrial modeling software according to the size ratio and export the STL format file, import the file into the 3D modeling rendering software for rendering, and perform surface reduction optimization on the model in the software, and finally save the rendered model in FBX format;

[0015] Scene construction: Import the above optimized model into the 3D visualization platform Unity3D software, add the corresponding material ball to the machine tool model in the scene, and set the particle special effects to simulate the generation of chips. For models that do not require high presentation of auxiliary details, use the texture and GameObject components in Unity3D to create. Design a simple and beautiful UGUI interface, and use C# language to write program scripts to implement system functions;

[0016] Behavior logic model construction: After completing the above scene construction, in order to realize the function of virtual-real interaction, it is also necessary to build a behavior logic model to give the virtual model of the digital space specific behaviors and logical relationships. According to the data collected in real time by external sensors and machine tool communication protocols, the variables bound to the associated model and the preset behavior actions, the milling processing simulation of the data-driven CNC machine tool is carried out, and the parent-child relationship between the model tree structure is constructed to further improve the content of the machine tool digital space construction;

[0017] Human-computer interaction: The login interface is designed to ensure the security of the system. It mainly provides scene roaming mode, VR interaction mode, AR interaction mode, offline simulation mode and twin interaction mode to realize multi-dimensional human-computer interaction.

[0018] Optionally, establish a connection between the physical space and the digital space, including:

[0019] Registering the OPC UA server in the CNC system is the basis for data transmission at the application layer and a prerequisite for remote access to applications.

[0020] The physical machine tool and the virtual machine tool establish a TCP / IP network layer communication connection through the Socket interface;

[0021] Use API to establish connection access between CNC kernel and application. API is composed of many COM objects, which can export functions to communicate with CNC kernel. All CNC variables can be accessed by connecting to any interface through API based on OPC UA transmission protocol.

[0022] After the physical machine tool establishes communication with the virtual machine tool, the CNC system accesses the OPC UA server to obtain machine tool operating status information such as the machine tool spindle position coordinates. The digital space receives multi-source heterogeneous data from the physical space and stores it in the MySQL database.

[0023] Optionally, obtain static information from the physical space, including:

[0024] Static information includes four parts: machine tool attribute data, tool attribute data, workpiece attribute data and process attribute data. The machine tool attribute data includes the equipment model and system model. The tool attribute data includes the tool name, tool material and tool parameters. The workpiece attribute data includes the workpiece name, workpiece material and workpiece size. The process attribute data includes the clamping method and processing parameters. Among them, the processing parameters include cutting speed, feed speed and back cutting amount.

[0025] Optionally, the historical processing data collected by the sensor is preprocessed by data interception, wavelet noise reduction, and data slicing, including:

[0026] 100,000 continuous sampling points are intercepted from the stable middle part of the original data;

[0027] The intercepted data fragments are subjected to wavelet denoising filtering using the threshold denoising method, the wavelet basis function is "db5", the number of decomposition layers is 5, and the threshold is the soft threshold;

[0028] The window sliding function is used to group the data in order without overlap, and the mean of each segment is taken. In order to balance the calculation speed and data restoration, the number of windows is set to 1000, and the data matrix of (1000, 7) is obtained to input the monitoring model.

[0029] Optional tool wear monitoring model, including:

[0030] Build a deep learning model based on a one-dimensional convolutional neural network, adjust the neural network parameter settings in the model training phase, import preprocessed historical processing data for model training, and obtain an optimized tool wear monitoring model;

[0031] Among them, the deep learning model consists of a three-layer convolutional network structure, two layers of long short-term memory networks, and two layers of fully connected layers: the size of the convolution kernel of the first layer is 5, the number of convolution kernels is 16, and the step size is 2; the size of the convolution kernel of the next two layers is 3, the number of convolution kernels is 32 and 64 respectively, and the step size is 2; the maximum pooling layer is used between each convolution layer to achieve dimensionality reduction; the number of neurons in the hidden layer of the two layers of long short-term memory networks is 50 and 100 respectively; the number of neurons in the two fully connected layers is 50 and 1 respectively; the activation function is the ReLU function; a Dropout layer with a retention probability of 0.5 is added between the LSTM layer and the fully connected layer to avoid overfitting. The neural network parameters in the model training stage are set as follows: the Adam gradient descent optimization algorithm is used, the number of training iterations is set to 100 times, and the initial learning rate is 0.001.

[0032] Optional tool wear monitoring values, including:

[0033] According to the constructed tool wear monitoring model, after the real-time processing data collected by the sensor is imported into the model, the current tool wear monitoring value is obtained, and the trend curve of the tool wear monitoring value is given.

[0034] Optionally, control the machine tool to automatically change tools, including:

[0035] After obtaining the tool wear monitoring value, it is compared with the tool wear value threshold. If the tool wear monitoring value is less than or equal to the tool wear value threshold, no warning is issued; if the tool wear monitoring value is greater than the tool wear value threshold and remains stable for more than a certain period of time, a warning window pops up and a warning sound effect is triggered. The operator can execute a shutdown or automatic tool change command through the warning window.

[0036] The present invention also provides a CNC machine tool equipment, which adopts the above-mentioned digital twin driven tool wear monitoring method.

[0037] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0038] At present, most of the tool wear status monitoring methods can only realize the signal collection and analysis processing of the machine tool processing process, but it is difficult to analyze the tool wear more comprehensively with only the data processing process. The present invention constructs a digital twin system of CNC machine tool milling processing by establishing a digital space of the milling processing physical space, and can perform real-time milling processing simulation; the sensor data collected in the physical space is input into the neural network model of the digital space to obtain the monitoring value of the current tool wear, and dynamically display it in the three-dimensional visualization interface.

[0039] Compared with traditional methods, the digital twin technology is combined with the convolutional neural network prediction algorithm to give full play to the advantages of digital twins in virtual-real combination and virtual-real interaction, as well as the advantages of convolutional neural networks in predictive analysis using sensor data. Therefore, the present invention can significantly improve the ability to analyze tool wear status during milling, and effectively improve tool utilization, processing efficiency and processing quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flow chart of a tool wear monitoring method for milling machining in an embodiment of the present invention;

[0041] Figure 2 A flowchart of the construction of the digital space of a machine tool in an embodiment of the present invention;

[0042] Figure 3 A communication connection diagram in an embodiment of the present invention;

[0043] Figure 4 A data classification diagram in an embodiment of the present invention;

[0044] Figure 5 is a flow chart of data preprocessing in an embodiment of the present invention;

[0045] Figure 6 This is a model accuracy verification diagram in an embodiment of the present invention;

[0046] Figure 7 This is a flow chart of the operation of the tool wear monitoring system driven by the digital twin in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0048] The purpose of the present invention is to provide a tool wear monitoring method driven by a digital twin, which can monitor the tool wear value of milling processing in real time, and use digital twin technology to analyze the sensor data collected during the milling process to improve the workpiece processing quality and machine tool processing efficiency.

[0049] Figure 1 The flow chart of the tool wear monitoring method for milling machining in an embodiment of the present invention includes:

[0050] Step 1: Construct a virtual model in the digital space of the CNC machine tool milling process;

[0051] Step 2: Obtain static and dynamic information from the physical space, and map the processing process with a virtual model;

[0052] Step 3: Perform preprocessing such as data interception, wavelet noise reduction and data slicing on the historical processing data collected by the sensor;

[0053] Step 4: Establish a tool wear monitoring model based on the processed data;

[0054] Step 5: Input the real-time processing data from the sensor into the tool wear monitoring model to obtain the tool wear monitoring value. After exceeding the tool wear value threshold for a certain period of time, the machine tool can be controlled to automatically change the tool.

[0055] Figure 2 FIG. 1 is a flow chart of constructing a machine tool digital space in an embodiment of the present invention. Figure 2 As shown, the construction process of the digital space in the present invention mainly includes four parts, namely three-dimensional modeling, scene construction, behavior logic model construction and human-computer interaction, specifically including:

[0056] 3D modeling: First, measure the size of the equipment on site and record its appearance features, and take high-quality pictures of the overall and local features of the equipment. Then, draw the 3D model in industrial modeling software according to the size ratio and export it in STL format. Import this file into 3D modeling rendering software for rendering, and perform face reduction optimization on the model in the software. Finally, save the rendered model in FBX format;

[0057] Scene construction: Import the above optimized model into the 3D visualization platform Unity3D software, add metal, glass, wood and other corresponding material balls to the machine tool model environment in the scene, adjust its color to match the physical space according to the high-definition photos taken in the early stage, and set particle effects to simulate the generation of chips. For models with low requirements for details such as auxiliary facilities, floors, and walls, use the textures and GameObject components in Unity3D to create them. Design a simple and beautiful UGUI interactive interface, and use C# language to write program scripts to implement system functions;

[0058] Behavioral logic model construction: After completing the above scene construction, if you want to realize the function of virtual-reality interaction, you also need to build a behavioral logic model to give the virtual model of the digital space specific behaviors and logical relationships. According to the data collected in real time by external sensors and machine tool communication protocols, the variables bound to the associated model and the preset behavioral actions, the milling processing simulation of the data-driven CNC machine tool is performed. There is a certain parent-child relationship between the structures of the model tree. The SetParent() function can be written in C# language to establish a parent-child relationship between the two models. For example, the parent-child relationship between the tool, tool holder, and spindle changes during the tool change stage. The movement of the machine tool model includes two types: movement and rotation. The Translate() function and the Rotate() function are used to realize the functions of spindle feeding and spindle rotation. By stipulating the rules of spindle movement limit, rotation speed adjustment, feed speed adjustment, etc., the content of the machine tool digital space construction is further improved;

[0059] Human-computer interaction: Enter the user's account and password on the login interface to enter the system main interface, move the mouse and click the button to activate the corresponding function. In the scene roaming mode, click the "W", "A", "S", and "D" keyboard keys to control the movement of the screen in the window, the mouse wheel controls the zoom of the screen in the window, and the right mouse button controls the rotation of the screen in the window. In the VR interaction mode, use VR handles, VR helmets, trackers, gloves, motion capture and other devices to realize machine tool processing and assembly operations in virtual scenes. In the AR interaction mode, use the camera of a mobile phone or tablet device to identify machine tools, cutting tools, workpieces and other components, and display the status information of these components and warning information of milling processing on the screen.

[0060] Figure 3 FIG. 1 is a communication connection diagram in an embodiment of the present invention. Figure 3 As shown, the connection between the physical space and the digital space established in the present invention specifically includes:

[0061] Registering the OPC UA server in the CNC system is the basis for data transmission at the application layer and a prerequisite for remote access to applications.

[0062] The physical machine tool and the virtual machine tool establish a TCP / IP network layer communication connection through the Socket interface;

[0063] Use API to establish connection access between CNC kernel and application. API is composed of many COM objects, which can export functions to communicate with CNC kernel. All CNC variables can be accessed by connecting to any interface through API based on OPC UA transmission protocol.

[0064] After the physical machine tool establishes communication with the virtual machine tool, the CNC system accesses the OPC UA server to obtain machine tool operating status information such as the machine tool spindle position coordinates. The digital space receives multi-source heterogeneous data from the physical space and stores it in the MySQL database.

[0065] Figure 4 is a data classification diagram in an embodiment of the present invention. Figure 4 As shown, the multi-source heterogeneous data classification diagram used in the present invention includes static information, dynamic information and prediction information, specifically including:

[0066] Static information: including machine tool attribute data, tool attribute data, workpiece attribute data and process attribute data. This type of information is fixed during the operation of the machine tool. The entry and management of static information is completed in the preparation stage before processing.

[0067] Dynamic information: It consists of machine tool status data and machine tool external sensor data. However, data collected through sensors, CNC machine tool communication modules, and manual collection may produce errors such as null values ​​and duplications. Therefore, it is also necessary to filter and clean the data in accordance with the principle of minimizing the loss of original information. This type of information will change as the workpiece is processed, and will also reflect the real-time processing status and equipment operation status, and has higher requirements for data accuracy and real-time performance.

[0068] Prediction information: It consists of machine tool status prediction and tool status prediction, with tool wear prediction as the main body. Prediction information is obtained by analyzing data collected by multiple sensors, further improving the user's ability to predict and make decisions on multi-source heterogeneous data;

[0069] Static, dynamic and predictive information integration is constructed as a multi-source heterogeneous data integration model of the twin system, which divides the data into numeric, Boolean and string types and uploads them to the cloud database according to categories.

[0070] Figure 5 FIG. 1 is a flow chart of edge data preprocessing in an embodiment of the present invention. Figure 5 As shown, the processed data collected by multiple sensors at the edge end is preprocessed by data interception, wavelet noise reduction, and data slicing, including:

[0071] In order to reduce the amount of data input into the tool wear monitoring model, reduce the transmission delay of the sensor signal, and improve the real-time operation of the system, the collected signals are preprocessed at the edge as follows:

[0072] Data capture: Since the original signals have more than 200,000 data points, both ends of the data contain invalid data of tool cutting in and out. If all of them are input into the tool wear monitoring model, it will affect both the model accuracy and the calculation processing speed. Therefore, 100,000 continuous sampling points in the stable middle part of the original data are captured;

[0073] Wavelet denoising: The intercepted data segments are subjected to wavelet denoising filtering using the threshold denoising method. The wavelet basis function is "db5", the number of decomposition layers is 5, and the threshold is the soft threshold.

[0074] Data slicing: Use the window sliding function to group the data in order without overlap, and take the mean of each segment. In order to balance the calculation speed and data restoration, the number of windows is set to 1000, and the data matrix of (1000,7) is obtained to input the tool wear monitoring model.

[0075] Step 4 is the process of building a tool wear monitoring model in an embodiment of the present invention, which specifically includes:

[0076] Build a deep learning model based on a one-dimensional convolutional neural network, adjust the neural network parameter settings in the model training phase, import preprocessed historical processing data for model training, and obtain an optimized tool wear monitoring model;

[0077] Among them, the deep learning model consists of a three-layer convolutional network structure, two layers of long short-term memory networks and two layers of fully connected layers: the size of the convolution kernel of the first layer is 5, the number of convolution kernels is 16, and the step size is 2; the sizes of the convolution kernels of the last two layers are both 3, the numbers of convolution kernels are 32 and 64 respectively, and the step size is 2; the maximum pooling layer is used between each convolution layer to achieve dimensionality reduction; the number of neurons in the hidden layers of the two layers of long short-term memory networks are 50 and 100 respectively; the number of neurons in the two fully connected layers are 50 and 1 respectively; the activation function is the ReLU function; a Dropout layer with a retention probability of 0.5 is added between the LSTM layer and the fully connected layer to avoid overfitting.

[0078] The neural network parameters in the model training phase are set as follows: the Adam gradient descent optimization algorithm is used, the number of training iterations is set to 100 times, and the initial learning rate is 0.001.

[0079] Figure 6 This is a model accuracy verification diagram in an embodiment of the present invention. Figure 6As shown, the real-time processing data collected by the sensor is imported into the tool wear monitoring model built above, and the monitoring accuracy of the model is verified, including:

[0080] Figure 6 The horizontal axis represents the number of tool passes, the vertical axis represents the amount of tool wear, and the bar graph above the horizontal axis represents the absolute value of the error between the wear monitoring value and the actual value. The root mean square error (RMSE) of the model test is 4.6914, indicating that the tool wear monitoring model can effectively and accurately fit the actual wear of the current tool.

[0081] Figure 7 FIG. 1 is a flow chart of the operation of the tool wear monitoring system driven by the digital twin in an embodiment of the present invention. Figure 7 As shown in the figure, the real-time processing data from the sensor is input into the tool wear monitoring model to obtain the monitoring value of tool wear, and the process of tool wear monitoring, visualization and alarm processing is completed, which specifically includes:

[0082] The real-time processing data from the sensor is input to the edge for preprocessing such as data interception, wavelet noise reduction and data slicing. At the same time, the historical processing data is used to build and train the model. The processed data is input into the tool wear monitoring model based on deep learning. After the model output, the model accuracy is compared and evaluated. If the error is too large, the model parameters will be updated according to the experience feedback of the physical space and training will continue until the error requirements are met. Finally, the model will output the predicted value of tool wear and give the trend curve of the tool wear value, completing the process of monitoring, visualization and alarm processing of tool wear. Among them, the tool wear monitoring value will be uploaded to the MySQL database in real time, and connected to the digital space built by Unity3D through SQL statements. At the same time, the physical space is mapped in real time in the digital space to jointly realize the visual dynamic mapping of tool wear monitoring.

[0083] After obtaining the tool wear monitoring value, it is compared with the set tool wear value threshold (generally the threshold for milling finishing is set to 0.2mm). If the tool wear monitoring value is less than or equal to the tool wear value threshold, no warning is issued and the processing task continues; if the tool wear monitoring value is greater than the tool wear value threshold and remains stable for more than a certain period of time (for example, 20 seconds), a warning window pops up and a warning sound effect is triggered to prompt the operator to observe the machine tool processing situation in order to confirm how to adjust the spindle ratio and whether the tool needs to be replaced. At this time, the operator can simply click the corresponding button in the warning window to execute the shutdown or automatic tool change command. This process realizes the reverse control of the digital space over the physical space.

[0084] This embodiment establishes a digital space of the physical space of milling processing and constructs a digital twin system of CNC machine tool milling processing, which can perform real-time milling processing simulation. The sensor data collected in the physical space is input into the neural network model of the digital space to obtain the current tool wear monitoring value, and the tool wear monitoring value is compared with the wear threshold. When the threshold is exceeded, the operator can be prompted in time and the machine tool can be controlled to stop or automatically change the tool, which is dynamically displayed in the three-dimensional visualization interface.

[0085] The present invention also provides a CNC machine tool equipment, which adopts the above-mentioned digital twin driven tool wear monitoring method.

[0086] In summary, the present invention provides a method for monitoring and warning the tool status during the CNC machine tool processing process and a CNC machine tool equipment using this method, which can control the tool status online based on historical and real-time processing data, and timely transmit tool change warning information, thereby improving the tool utilization rate and machine tool processing efficiency, and realizing three-dimensional visual monitoring of the tool wear status.

[0087] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.

[0088] It will be easily understood by those skilled in the art that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A tool wear monitoring method driven by digital twin, characterized in that: The method comprises the following steps: (1) Construct a digital space for the milling process of CNC machine tools and perform real-time milling simulation; (2) Establish a connection between physical space and digital space to obtain multi-source heterogeneous data from the physical space; multi-source heterogeneous data includes static information and dynamic information; (3) Preprocessing the historical processing data collected by the sensor; the historical processing data includes three-dimensional cutting force, three-dimensional acceleration, and acoustic emission signals; (4) Construct a deep learning model based on convolutional neural network-long short-term memory, import preprocessed historical processing data for model training, and obtain an optimized tool wear monitoring model; (5) Inputting the real-time processing data from the sensor into the tool wear monitoring model to obtain the tool wear monitoring value and realize three-dimensional visualization; after the tool wear monitoring value exceeds the tool wear value threshold for a certain period of time, the machine tool is controlled to change the tool; The construction of digital space includes: 3D modeling: In industrial modeling software, a 3D model in digital space is built based on the actual CNC machine tool, and the model is optimized in 3D modeling and rendering software; Scene construction: Import the optimized model into the 3D visualization software to build the scene; Behavioral logic model construction: After completing the scene construction, the virtual model of the digital space is given specific behaviors and logical relationships of movement; according to the data collected in real time by external sensors and machine tool communication protocols, the variables bound to the associated model and the preset behavioral actions, the milling processing simulation of the data-driven CNC machine tool is carried out, the parent-child relationship between the model tree structure is constructed, and the construction of the digital space of the machine tool is improved; Human-computer interaction: Provides multiple modes to achieve multi-dimensional human-computer interaction and realize three-dimensional visual monitoring of tool wear status; the modes include scene roaming mode, VR interaction mode and AR interaction mode.

2. The tool wear monitoring method driven by digital twin according to claim 1, characterized in that: Connecting the physical and digital spaces includes: Register the OPC UA server in the CNC system; The physical machine tool and the virtual machine tool establish a TCP / IP network layer communication connection through the Socket interface; Use API to establish connection access between CNC kernel and application; After the physical machine tool establishes communication with the virtual machine tool, the CNC system accesses the OPC UA server to obtain the machine tool operation status information. The digital space receives multi-source heterogeneous data from the physical space and stores it in the MySQL database.

3. The tool wear monitoring method driven by digital twin according to claim 2, characterized in that: The monitoring value of tool wear is uploaded to the MySQL database in real time, and connected to the digital space built by Unity3D through SQL statements. At the same time, the physical space is mapped in real time in the digital space to jointly realize the visual dynamic mapping of tool wear monitoring.

4. The tool wear monitoring method driven by digital twin according to claim 1, characterized in that: Static information includes machine tool attribute data, tool attribute data, workpiece attribute data and process attribute data; among which, machine tool attribute data includes equipment model and system model, tool attribute data includes tool name, tool material and tool parameters, workpiece attribute data includes workpiece name, workpiece material and workpiece size, process attribute data includes clamping mode and processing parameters; processing parameters include cutting speed, feed speed and back cutting amount; Dynamic information includes machine tool status data and machine tool external sensor data.

5. The tool wear monitoring method driven by digital twin according to claim 1, characterized in that: Preprocessing includes data truncation, wavelet denoising and data slicing.

6. The tool wear monitoring method driven by digital twin according to claim 1, characterized in that: The deep learning model consists of a three-layer convolutional network structure, two layers of long short-term memory networks and two layers of fully connected layers; the size of the convolution kernel of the first layer is 5, the number of convolution kernels is 16, and the step size is 2; the size of the convolution kernel of the last two layers is 3, the number of convolution kernels is 32 and 64 respectively, and the step size is 2; the maximum pooling layer is used between each convolution layer to achieve dimensionality reduction; the number of neurons in the hidden layers of the two layers of long short-term memory networks is 50 and 100 respectively; the number of neurons in the two layers of fully connected layers is 50 and 1 respectively; the activation function is the ReLU function; a Dropout layer with a retention probability of 0.5 is added between the long short-term memory network and the fully connected layer to avoid overfitting; The tool wear monitoring model obtains the current tool wear monitoring value according to the real-time processing data and gives the trend curve of the tool wear monitoring value.

7. The tool wear monitoring method driven by digital twin according to claim 1, characterized in that: When the tool wear monitoring value exceeds the tool wear value threshold for a certain period of time, the machine tool tool change is controlled including: After the tool wear monitoring value is obtained, it is compared with the tool wear value threshold. If the tool wear monitoring value is less than or equal to the tool wear value threshold, no warning is issued; If the monitored value of tool wear is greater than the tool wear value threshold and remains stable for a certain period of time, a warning window will pop up and a warning sound will be triggered. The operator will execute a shutdown or tool change command through the warning window to achieve reverse control of the digital space over the physical space.

8. A CNC machine tool, characterized in that: The device adopts the digital twin driven tool wear monitoring method described in any one of claims 1 to 7.