Anomaly detection and backtracking method and system for numerical control cutting process

Through the octree space segmentation method and hierarchical time period search algorithm, the problem of data detection other than position data in the CNC cutting process is solved, comprehensive monitoring of the machine tool processing status and rapid abnormal positioning are achieved, and the production management and teaching effects are improved.

CN113779106BActive Publication Date: 2024-10-11HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110959977.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2024-10-11
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

Existing technology cannot effectively detect abnormalities or trace back data other than position data during CNC cutting, resulting in the failure to fully monitor machine tool processing status information.

Method used

The octree spatial segmentation method is used to divide the blank model to be processed into independent voxels. During the CNC cutting process, the processing information of the voxels is recorded, including the G command line number, processing time and spindle current. By comparing the standard G commands The timing relationship between the line number and the actual G command line number is used to detect and issue processing abnormality warnings, and to implement backtracking through the hierarchical time period search algorithm.

Benefits of technology

It realizes the monitoring and rapid positioning of abnormal problems such as 'undercutting' and 'overcutting' during machine tool processing, improves the comprehensiveness of real-time visual monitoring of machine tools, optimizes process parameters, and provides all-round review and observation for virtual teaching. Function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779106B_ABST
    Figure CN113779106B_ABST
Patent Text Reader

Abstract

The present invention discloses an abnormality detection and backtracking method and system for a numerical control cutting process, belonging to the technical field of numerical control processing. The abnormality detection method divides the blank model to be processed into independent voxels according to the octree space segmentation method; in the numerical control cutting process, the interfering voxels are cut off according to the interference detection between the voxels and the tool, and the processing information collected at the time of cutting is recorded in the cut voxels, and the processing information includes the G instruction line number, processing time, spindle speed and spindle current; after the processing information is recorded, the G instruction line number is compared with the pre-saved standard G instruction line number in terms of timing relationship. If the timing of the two is consistent, it means that the current voxel processing is normal. If the timing is inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued. The present invention solves the technical problem that the prior art cannot perform processing abnormality detection or backtracking on data other than position data in the numerical control cutting process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of numerical control machining, and more specifically, relates to an abnormality detection and backtracking method and system for a numerical control cutting process. Background Art

[0002] Due to fierce market competition, in order to improve the production efficiency of the workshop, it is necessary to enable production managers to intuitively, in real time and comprehensively grasp the operation status of the workshop and production line and the operating status of processing equipment such as machine tools. As the "industrial mother machine", the machine tool is the most important equipment in the workshop, and monitoring the processing process of the machine tool is an urgent need at present.

[0003] CNC system is the abbreviation of digital control system. Its English name is (Numerical Control System). It is a special computer system equipped with interface circuits and servo drive devices, which executes part or all of the numerical control functions according to the control program stored in the computer memory. Computer numerical control simulation is a new technology that uses computer technology to simulate the operation process of numerical control machining. This technology is aimed at the simulation operation of machine tools in the actual production process, and the three-dimensional dynamic reproduction of the machining process is realistic. The simulation of the real machine tool machining process can assist production managers in monitoring the behavior and status of machine tools, and efficiently feedback the machining process that is difficult to observe and analyze manually, thereby realizing the collaborative manufacturing between virtual machine tools, people, and physical machine tools.

[0004] In the process of CNC machining, not only the geometric positions of various parts are constantly changing, but also other electronic control data (machine tool processing status data) inside the machine tool are constantly changing. The change of electronic control data directly affects the processing status of the machine tool. Using the existing machining simulation technology, the motion simulation of machine tool parts and the cutting simulation of blanks can be completed according to the position data to present the motion status of the machine tool. However, there is no good simulation and visualization method and practical application for data other than position data, such as spindle current, spindle speed, position following error, instruction line number, etc., which also contain rich machine tool status information.

[0005] Therefore, it is necessary to study a method for backtracking and processing anomaly detection of CNC cutting processing, and to perform backtracking and processing anomaly detection on data other than position data. Summary of the invention

[0006] In response to the above defects or improvement needs of the prior art, the present invention provides a method and system for abnormality detection and backtracking of a CNC cutting process, thereby solving the technical problem that the prior art is unable to detect or backtrack processing abnormalities for data other than position data in the CNC cutting process.

[0007] To achieve the above object, according to one aspect of the present invention, the following technical solution is provided:

[0008] A method for detecting abnormality in a numerical control cutting process comprises the following steps:

[0009] (S1) dividing the blank model to be processed into independent voxels according to the octree space segmentation method;

[0010] (S2) in a numerical control cutting process, the interfering voxels are removed according to the interference detection between the voxels and the tool, and the processing information collected at the time of removal is recorded in the removed voxels, wherein the processing information includes a G instruction line number, a processing time, a spindle speed, and a spindle current, and the G instruction line number is used to uniquely represent a piece of processing information and has a time sequence;

[0011] (S3) After the processing information is recorded, the G command line number is compared with the pre-stored standard G command line number to determine the timing relationship. If the timings of the two are consistent, it means that the current voxel processing is normal. If the timings are inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued;

[0012] (S4) Repeat steps (S3) and (S4) until the CNC cutting process is completed.

[0013] Preferably, the octree space segmentation method is to first segment the blank model to be processed into eight voxels as eight root nodes, each root node is further segmented into eight voxels as child nodes under the root node, each child node is further segmented into eight voxels, and so on, until the segmentation reaches the last layer of child node voxels of a set size; the processing information is recorded in the last layer of child node voxels.

[0014] Preferably, in step (S3), the standard G instruction line number comes from pre-saved standard processing information, and the standard processing information is the processing information saved in step (S1) and step (S2) when standard processing is performed on the same blank.

[0015] Preferably, in step (S3), if the timing is inconsistent,

[0016] When the standard G command line number corresponding to the cut voxel is empty, it means that the voxel should not be cut normally, overcutting occurs, and an overcutting processing abnormality warning is issued;

[0017] When the standard G instruction line number corresponding to the resected voxel is not empty, and the resected voxel instruction line number is not equal to the standard G instruction line number, it means that the resection time of the voxel is abnormal, and a processing abnormality warning of abnormal resection time is issued.

[0018] Further preferably, when the instruction line number of the resected voxel is greater than its corresponding standard G instruction line number, it means that the voxel is resected later than the specified time, and under-cutting occurs, and an under-cutting processing abnormality warning is issued;

[0019] When the instruction line number of the voxel to be cut off is less than its corresponding standard G instruction line number, it means that the voxel is cut off earlier than the specified time, and a processing abnormality warning of premature cutting is issued.

[0020] Preferably, the method further comprises: setting different colors according to the size of the selected parameter in the processing information to intuitively display the blank model being processed.

[0021] Preferably, the method further comprises: displaying the abnormally processed voxels in a preset color to issue an alarm.

[0022] According to another aspect of the present invention, the following technical solution is also provided:

[0023] The backtracking method of the CNC cutting process based on the above-mentioned abnormality detection method of the CNC cutting process comprises the following steps:

[0024] According to the processing time recorded by the voxels of the last-layer child nodes, all voxels in the octree are traced back from bottom to top. The earliest processing time and the latest processing time of the voxels of the last-layer child nodes of the same parent node constitute the processing time period of the parent node. In this way, the processing time period of all child nodes and the root node is obtained;

[0025] When backtracking, at the specified processing time, start from the root node to determine whether the specified processing time falls within its processing time period. If it does not fall within its processing time period, continue to query other root nodes until the root node whose specified processing time falls within its processing time period is found; if it falls within its processing time period, continue to query the child nodes of the root node downward until the last-layer child node voxel cut off at the specified processing time is found; all voxels whose G instruction line number is after the G instruction line number of the last-layer child node voxel are voxels that are not cut off at the specified processing time, and these voxels constitute the workpiece shape corresponding to the specified processing time.

[0026] According to another aspect of the present invention, the following technical solution is also provided:

[0027] An abnormality detection system for a numerical control cutting process, comprising:

[0028] The octree segmentation module is used to segment the blank model to be processed into independent voxels according to the octree space segmentation method;

[0029] An information recording module is used to remove the interfering voxels according to the interference detection between the voxels and the tool during the CNC cutting process, and record the processing information collected at the time of removal in the removed voxels, wherein the processing information includes the G instruction line number, the processing time, the spindle speed and the spindle current, and the G instruction line number is used to uniquely represent a piece of processing information and has time sequence;

[0030] The abnormal warning module is used to compare the timing relationship between the G instruction line number and the pre-saved standard G instruction line number after the processing information is recorded. If the timings of the two are consistent, it means that the current voxel processing is normal. If the timings are inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued;

[0031] The repeated calling module is used to repeatedly call the information recording module and the abnormal warning module until the CNC cutting process is completed.

[0032] According to another aspect of the present invention, the following technical solution is also provided:

[0033] A backtracking system for a numerical control cutting process based on the above-mentioned abnormality detection system for the numerical control cutting process comprises:

[0034] The processing time period acquisition module is used to trace back all voxels in the octree from bottom to top according to the processing time recorded by the voxels of the last-layer child nodes. The earliest processing time and the latest processing time of the voxels of the last-layer child nodes of the same parent node constitute the processing time period of the parent node. In this way, the processing time period of all child nodes and the root node is obtained;

[0035] A backtracking module is used to determine whether the specified processing time falls within its processing time period starting from the root node at the specified processing time during backtracking. If it does not fall within its processing time period, continue to query other root nodes until a root node whose specified processing time falls within its processing time period is found; if it falls within its processing time period, continue to query the child nodes of the root node downward until the last-layer child node voxel cut off at the specified processing time is found; all voxels whose G instruction line number is after the G instruction line number of the last-layer child node voxel are voxels that have not been cut off at the specified processing time, and these voxels constitute the workpiece shape corresponding to the specified processing time.

[0036] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0037] 1. The present invention provides a data preservation, anomaly detection and backtracking method based on the octree space segmentation method for machine tool status data other than position data during the cutting process of the blank, such as spindle current, spindle speed, position following error, instruction line number, etc. First, the blank model to be processed is divided into independent voxels according to the octree space segmentation method. During the CNC cutting process, the processing information collected at the time of cutting is recorded in the cut voxels, and the processing process data is saved based on the voxels; the G instruction line number recorded in the processing information is compared with the pre-saved standard G instruction line number for the timing relationship, thereby realizing the monitoring and rapid positioning of processing abnormalities such as "undercutting" and "overcutting" during the processing based on the collected instruction line number data. The method proposed by the present invention improves the comprehensiveness of real-time visual monitoring of machine tools, and can assist production management personnel in carrying out processing process analysis and optimizing process parameters.

[0038] 2. The processing information stored in the voxel of the present invention includes the G instruction line number, specific processing time, etc., as well as all time series data that can represent the processing progress. The blank model is divided into voxels of the octree structure using the octree space segmentation method, and the processing information is recorded in the voxels of the last layer of child nodes. The time search algorithm based on the hierarchical time period is implemented based on the octree data structure, which facilitates the rapid search and positioning of voxel data, thereby realizing the cross-time and cross-space backtracking of the processing process and the monitoring and rapid positioning of abnormal processing problems such as "undercutting" and "overcutting" during the processing process. It can also provide a full-scale review and observation function of the processing process for virtual teaching of CNC machine tools to improve the teaching effect.

[0039] 3. The present invention completes the data preservation of the entire processing process based on voxels; based on different colors and numerical values, the data is visualized with voxels as display units; by comparing the time series of the standard "resection" time with the actual "resection" time, the voxel nodes with "undercut", "overcut" and "processing anomalies to be determined" are determined; the hierarchical time period search algorithm based on the octree is used to quickly find the "resected" voxels corresponding to the time data. The backtracking of the blank processing process is realized by setting the display of voxels; through the above method, the data of various machine tool processing states are presented. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 Schematic diagram of the octree structure in a preferred embodiment of the present invention;

[0041] Figure 2 It is a schematic diagram of an octree structure based on time period data in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0042] 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.

[0043] An embodiment of the present invention provides a method for data storage, anomaly detection and visualization of a machining process of a numerical control machine tool.

[0044] This method is based on voxel cutting. Figure 1 As shown, the blank model to be processed is first divided into independent voxels (each voxel has a corresponding data structure) according to the octree space segmentation method. During the processing, the interfering voxels will be "cut off" according to the interference detection between the voxels and the tool, so that the blank shape is close to the workpiece shape.

[0045] The method for saving the above data is: in the process of cutting, when the voxel node is cut off, the processing information collected at the time of cutting is accessed, and the processing information is recorded in the cut voxel. When the processing is completed, the collection of the whole process data is completed. The processing information includes the G instruction line number, processing time, spindle speed and spindle current. The G instruction line number is used to uniquely represent a piece of processing information and has time sequence.

[0046] The octree space segmentation method in the present invention is to first segment the blank model to be processed into eight voxels as eight root nodes, each root node is further segmented into eight voxels as child nodes under the root node, each child node is further segmented into eight voxels, and so on, until the segmentation reaches the last layer of child node voxels of a set size; the processing information is recorded in the last layer of child node voxels.

[0047] Specifically, when implementing the data structure, it is necessary to add variables to the Voxel data structure to save the data of the machine tool status, which will increase memory consumption. The more data types are recorded, the larger the memory usage will be. Since the biggest disadvantage of the Voxel modeling adopted in this invention is the large memory usage, this embodiment only sets one or several int variables in the Voxel data structure to store data, and adds a static enum variable in the Voxel parent class to set the data category mapped by the int variable, and determines the data type to be collected before starting the processing simulation.

[0048] Although the correctness of the G code, NC code and machining trajectory has been verified before the machine tool starts cutting, problems such as "overcutting" and "undercutting" may still occur during the actual machining process. This patent invention designs a machining anomaly monitoring function based on the instruction line number data, which can solve the above problems to a certain extent.

[0049] The method for detecting abnormality in the machining process of the present invention is: in the process of cutting machining, after the machining information is recorded when saving data, the G instruction line number is compared with the pre-saved standard G instruction line number in time sequence relationship:

[0050] If the timing of the two is consistent, it means that the current voxel processing is normal;

[0051] If the timings of the two are inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued until the CNC cutting processing is completed; specifically,

[0052] When the standard G command line number corresponding to the cut voxel is empty, it means that the voxel should not be cut normally, overcutting has occurred, and an overcutting processing abnormality warning is issued; the voxel can be immediately marked in red and a warning can be issued to remind production management personnel to check.

[0053] When the standard G instruction line number corresponding to the resected voxel is not empty, and the resected voxel instruction line number is not equal to the standard G instruction line number, it means that the resection time of the voxel is abnormal, and a processing abnormality warning of abnormal resection time is issued. The voxel can be immediately marked in red and a warning can be issued to remind the production management personnel to check. Whether it affects normal processing requires further judgment by the production management personnel.

[0054] There are two situations of excision time abnormality: when the instruction line number of the excised voxel is greater than its corresponding standard G instruction line number, it means that the voxel is excised later than the specified time, under-cutting occurs, and an under-cutting processing abnormality warning is issued; when the instruction line number of the excised voxel is less than its corresponding standard G instruction line number, it means that the voxel is excised earlier than the specified time, and a premature excision processing abnormality warning is issued.

[0055] The standard G instruction line number in the present invention comes from pre-saved standard processing information, which is processing information saved in the same manner as above when a standard cutting process that meets the processing requirements is performed on the same part (the same blank).

[0056] Through the above process, it is possible to monitor the processing problems of "overcutting" and inconsistent cutting instructions, and quickly locate the specific voxel node and processing instruction line number where the processing abnormality occurs.

[0057] The method of visualizing the saved data is: the data information sets the display color of the voxel, for example, for numerical type data, the larger the value, the closer it is to red, so as to intuitively display the machine tool status information during cutting.

[0058] The embodiment of the present invention further provides a backtracking method for a numerical control cutting process, and the technical description is provided by taking time series data, that is, G instruction line number, as an example.

[0059] The traditional "time" is replaced by the collected time series data "G instruction line number". When tracing back the processing process, according to the processing time (G instruction line number) specified by the user, find the voxel before the "cut-off" time (G instruction line number) in all voxels, that is, the voxel that has been "cut off" at this time, and set the voxel to not be displayed. In this way, the model composed of the remaining nodes in the space is the workpiece shape corresponding to the time (G instruction line number).

[0060] The key to backtracking is how to efficiently find the voxels that have been "cut off" at a specified time (G instruction line number) while occupying less memory. According to the characteristics of machine tool processing, the tool usually completes the cutting of a certain area before starting the cutting of the next area. Therefore, when a voxel is "cut off", the voxels nearby are often "cut off" at a nearby time (G instruction line number). The octree partitioning method used in the cutting simulation process mentioned in the present invention divides the area into eight adjacent voxels, which greatly facilitates the search process.

[0061] The present invention utilizes the fast search feature of octree and proposes a hierarchical search algorithm based on time data. The principle is as follows: Figure 2 As shown, first, according to the processing time recorded by the voxels of the last-layer child nodes, all voxels in the octree are traced back from bottom to top. The earliest processing time and the latest processing time of the voxels of the last-layer child nodes of the eight same parent nodes constitute the processing time period of the parent node. In this way, the processing time period of all child nodes and the root node is obtained.

[0062] When backtracking, at the specified processing time, start from the root node to determine whether the specified processing time falls within its processing time period. If it does not fall within its processing time period, continue to query other root nodes until the root node whose specified processing time falls within its processing time period is found; if it falls within its processing time period, continue to query the child nodes of the root node downward until the last-layer child node voxel cut off at the specified processing time is found; all voxels whose G instruction line number is after the G instruction line number of the last-layer child node voxel are voxels that are not cut off at the specified processing time, and these voxels constitute the workpiece shape corresponding to the specified processing time.

[0063] The embodiment of the present invention further provides an abnormality detection system for a numerical control cutting process, comprising:

[0064] The octree segmentation module is used to segment the blank model to be processed into independent voxels according to the octree space segmentation method;

[0065] An information recording module is used to remove the interfering voxels according to the interference detection between the voxels and the tool during the CNC cutting process, and record the processing information collected at the time of removal in the removed voxels, wherein the processing information includes the G instruction line number, the processing time, the spindle speed and the spindle current, and the G instruction line number is used to uniquely represent a piece of processing information and has time sequence;

[0066] The abnormal warning module is used to compare the timing relationship between the G instruction line number and the pre-saved standard G instruction line number after the processing information is recorded. If the timings of the two are consistent, it means that the current voxel processing is normal. If the timings are inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued;

[0067] The repeated calling module is used to repeatedly call the information recording module and the abnormal warning module until the CNC cutting process is completed.

[0068] The embodiment of the present invention further provides a numerical control cutting process backtracking system based on the numerical control cutting process abnormality detection system, comprising:

[0069] The processing time period acquisition module is used to trace back all voxels in the octree from bottom to top according to the processing time recorded by the voxels of the last-layer child nodes. The earliest processing time and the latest processing time of the voxels of the last-layer child nodes of the same parent node constitute the processing time period of the parent node. In this way, the processing time period of all child nodes and the root node is obtained;

[0070] A backtracking module is used to determine whether the specified processing time falls within its processing time period starting from the root node at the specified processing time during backtracking. If it does not fall within its processing time period, continue to query other root nodes until a root node whose specified processing time falls within its processing time period is found; if it falls within its processing time period, continue to query the child nodes of the root node downward until the last-layer child node voxel cut off at the specified processing time is found; all voxels whose G instruction line number is after the G instruction line number of the last-layer child node voxel are voxels that have not been cut off at the specified processing time, and these voxels constitute the workpiece shape corresponding to the specified processing time.

[0071] The present invention achieves: 1. Preservation, anomaly detection, backtracking and visualization of machine tool processing status data. During the preservation process, the present patent invention uses voxels as storage and display units. This "voxel" refers to units of all shapes that can discretely represent space, including spherical voxels, cubic voxels, rectangular voxels, etc.

[0072] 2. Processing backtracking based on time series data. First, the time series data in this technology includes G instruction line number, specific processing time, and all other time series data that can represent the processing progress. Second, this patent invention implements a time search algorithm based on a hierarchical time period based on the octree data structure, which is used to quickly locate voxel nodes that meet the time series.

[0073] 3. Processing anomaly monitoring and positioning based on time series data. First, the time series data in this technology includes G instruction line number, specific processing time, etc., as well as all time series data that can represent the processing progress. Second, before detecting anomalies, this patent invention first collects the standard time series data when all voxels of a normal process are "cut off". In subsequent detections, all processing anomalies are detected by comparing the actual data with the standard data in time series. Third, the processing anomalies that can be detected in the technology of the present invention include "under-cutting", "over-cutting", "premature cutting of processing anomalies to be determined" and other types. All abnormal problems that can be derived based on the comparison of time series data fall within the detection scope of this patent invention.

[0074] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is 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 backtracking method for a CNC cutting process based on an abnormality detection method for a CNC cutting process, characterized in that: The abnormality detection method of the numerical control cutting process comprises the following steps: (S1) dividing the blank model to be processed into independent voxels according to the octree space segmentation method; (S2) in a numerical control cutting process, the interfering voxels are removed according to the interference detection between the voxels and the tool, and the processing information collected at the time of removal is recorded in the removed voxels, wherein the processing information includes a G instruction line number, a processing time, a spindle speed, and a spindle current, and the G instruction line number is used to uniquely represent a piece of processing information and has a time sequence; (S3) After the processing information is recorded, the G command line number is compared with the pre-stored standard G command line number to determine the timing relationship. If the timings of the two are consistent, it means that the current voxel processing is normal. If the timings are inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued; (S4) Repeating steps (S3) and (S4) until the CNC cutting process is completed; The backtracking method comprises the following steps: According to the processing time recorded by the voxels of the last-layer child nodes, all voxels in the octree are traced back from bottom to top. The earliest processing time and the latest processing time of the voxels of the last-layer child nodes of the same parent node constitute the processing time period of the parent node. In this way, the processing time period of all child nodes and the root node is obtained; When backtracking, at the specified processing time, start from the root node to determine whether the specified processing time falls within its processing time period. If it does not fall within its processing time period, continue to query other root nodes until the root node whose specified processing time falls within its processing time period is found; if it falls within its processing time period, continue to query the child nodes of the root node downward until the last-layer child node voxel cut off at the specified processing time is found; all voxels whose G instruction line number is after the G instruction line number of the last-layer child node voxel are voxels that are not cut off at the specified processing time, and these voxels constitute the workpiece shape corresponding to the specified processing time.

2. The NC cutting process backtracking method based on the NC cutting process anomaly detection method according to claim 1, characterized in that: The octree space segmentation method is to first segment the blank model to be processed into eight voxels as eight root nodes, each root node is further segmented into eight voxels as child nodes under the root node, each child node is further segmented into eight voxels, and so on, until the last layer of child node voxels of a set size are segmented; the processing information is recorded in the last layer of child node voxels.

3. The tracing method of a numerical control cutting process based on an abnormality detection method of a numerical control cutting process according to claim 1 or 2, characterized in that: In step (S3), the standard G instruction line number comes from pre-saved standard processing information, and the standard processing information is the processing information saved in step (S1) and step (S2) when standard processing is performed on the same blank.

4. The NC cutting process backtracking method based on the NC cutting process abnormality detection method according to claim 1 or 2, characterized in that: In step (S3), if the timing is inconsistent, When the standard G command line number corresponding to the cut voxel is empty, it means that the voxel should not be cut normally, overcutting occurs, and an overcutting processing abnormality warning is issued; When the standard G instruction line number corresponding to the resected voxel is not empty, and the resected voxel instruction line number is not equal to the standard G instruction line number, it means that the resection time of the voxel is abnormal, and a processing abnormality warning of abnormal resection time is issued.

5. The backtracking method of the numerical control cutting process based on the abnormality detection method of the numerical control cutting process according to claim 4 is characterized in that: When the instruction line number of the removed voxel is greater than the corresponding standard G instruction line number, it means that the voxel is removed later than the specified time, and under-cutting occurs, and an under-cutting processing abnormality warning is issued; When the instruction line number of the voxel to be cut off is less than its corresponding standard G instruction line number, it means that the voxel is cut off earlier than the specified time, and a processing abnormality warning of premature cutting is issued.

6. The NC cutting process backtracking method based on the NC cutting process anomaly detection method according to claim 1 or 2, characterized in that: Also includes: According to the size of the selected parameters in the processing information, different colors are set to intuitively display the blank model being processed.

7. The backtracking method of a numerical control cutting process based on an abnormality detection method of a numerical control cutting process according to claim 6, characterized in that: Also includes: The voxels with abnormal processing are displayed in a preset color as an alarm.

8. A backtracking system for a numerical control cutting process based on an abnormality detection system for the numerical control cutting process, characterized in that: The abnormality detection system of the numerical control cutting process comprises: The octree segmentation module is used to segment the blank model to be processed into independent voxels according to the octree space segmentation method; An information recording module is used to remove the interfering voxels according to the interference detection between the voxels and the tool during the CNC cutting process, and record the processing information collected at the time of removal in the removed voxels, wherein the processing information includes the G instruction line number, the processing time, the spindle speed and the spindle current, and the G instruction line number is used to uniquely represent a piece of processing information and has time sequence; The abnormal warning module is used to compare the timing relationship between the G instruction line number and the pre-saved standard G instruction line number after the processing information is recorded. If the timings of the two are consistent, it means that the current voxel processing is normal. If the timings are inconsistent, it means that the current voxel processing is abnormal, and a processing abnormality warning is issued; A repeated calling module is used to repeatedly call the information recording module and the abnormal warning module until the CNC cutting process is completed; The traceback system comprises: The processing time period acquisition module is used to trace back all voxels in the octree from bottom to top according to the processing time recorded by the voxels of the last-layer child nodes. The earliest processing time and the latest processing time of the voxels of the last-layer child nodes of the same parent node constitute the processing time period of the parent node. In this way, the processing time period of all child nodes and the root node is obtained; A backtracking module is used to determine whether the specified processing time falls within its processing time period starting from the root node at the specified processing time during backtracking. If it does not fall within its processing time period, continue to query other root nodes until a root node whose specified processing time falls within its processing time period is found; if it falls within its processing time period, continue to query the child nodes of the root node downward until the last-layer child node voxel cut off at the specified processing time is found; all voxels whose G instruction line number is after the G instruction line number of the last-layer child node voxel are voxels that have not been cut off at the specified processing time, and these voxels constitute the workpiece shape corresponding to the specified processing time.