Turning tool state monitoring method and device and numerical control machine tool

By real-time image acquisition and analysis of CNC machine tool turning tool and monitoring its status, the problem of abnormal turning tooling causing damage to the parts to be processed is solved, and the effect of reducing waste rate and production costs is achieved.

CN119635412AInactive Publication Date: 2025-03-18广州台茂精密机械有限公司

Patent Information

Application Number
CN202510111700.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-03-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

CNC machine tools process the parts to be processed through turning tools. If the turning tools are abnormal, continued use may cause damage to the parts to be processed, increasing the scrap rate and production costs.

Method used

The turning tool state monitoring method is adopted to collect the turning tool through the analysis and management terminal, obtain real-time color and depth images, extract features, analyze the status, and select whether to stop the processing operation.

Benefits of technology

Monitor the turning tool status in real time to avoid damage to the processing parts caused by abnormal turning tool, and reduce waste rate and production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119635412A_ABST
    Figure CN119635412A_ABST
Patent Text Reader

Abstract

The invention discloses a turning tool state monitoring method, and relates to the technical field of image processing, and the method comprises the steps: controlling shooting equipment to carry out image collection processing on a turning tool of a numerical control machine tool based on an analysis management terminal, and obtaining a real-time image of the turning tool; based on the analysis management terminal, performing feature extraction processing on the real-time image of the turning tool to obtain real-time features of the turning tool; state analysis processing is conducted on the real-time features of the turning tool, and the real-time state of the turning tool is determined; and the analysis management terminal selects whether to stop the machining operation of the numerical control machine tool according to the real-time state of the turning tool. The real-time image of the turning tool is analyzed to determine whether the surface of the turning tool is abnormal, when the surface of the turning tool is abnormal, the abnormality of the surface of the turning tool is analyzed and judged to determine whether the to-be-machined part is damaged by the abnormality of the surface of the turning tool, and if the to-be-machined part is damaged by the abnormality of the surface of the turning tool, the turning tool is replaced. According to the mode, the rejection rate of the workpieces to be machined is reduced, and the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a turning tool state monitoring method, device and CNC machine tool. Background Art

[0002] CNC lathes (Computer Numerical Control, CNC lathes), that is, lathes controlled by computers, are highly efficient automated equipment that automatically processes workpieces according to pre-programmed CNC programs. CNC lathes are mainly used for cutting and processing of inner and outer cylindrical surfaces of shaft parts or disk parts, inner and outer conical surfaces of arbitrary taper angles, complex rotary inner and outer curved surfaces, and cylindrical and conical threads, and can perform grooving, drilling, reaming, reaming and boring, etc. The working principle of CNC lathes is to compile the processing route, process parameters, tool motion trajectory, displacement, cutting parameters and auxiliary functions of parts into a processing program sheet according to the instruction code and program format specified by the CNC lathe, and then record the contents of this program sheet on the control medium, and then input it into the CNC device of the CNC lathe, so as to command the lathe to process parts.

[0003] CNC machine tools use turning tools to process workpieces. If the turning tool becomes abnormal, continuing to use the abnormal turning tool to process the workpiece may cause damage to the workpiece, increase the scrap rate, and at the same time, increase production costs. Therefore, it is urgent to design a turning tool status monitoring method for real-time monitoring of the turning tool status. Summary of the invention

[0004] In order to solve the above technical problems, a turning tool status monitoring method, device and CNC machine tool are provided. The technical solution solves the problem that the CNC machine tool proposed in the above background technology processes the workpiece to be processed by a turning tool. If the turning tool becomes abnormal, continuing to use the abnormal turning tool to process the workpiece may cause damage to the workpiece to be processed, increase the scrap rate, and at the same time, increase the production cost.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is: A turning tool status monitoring method, comprising: Based on the analysis and management terminal, the shooting device is controlled to perform image acquisition and processing on the turning tool of the CNC machine tool to obtain a real-time image of the turning tool, wherein the real-time image of the turning tool includes a real-time color image of the turning tool and a real-time depth image of the turning tool; Based on the analysis management terminal, feature extraction processing is performed on the real-time image of the turning tool to obtain the real-time feature of the turning tool, wherein the real-time feature of the turning tool is any one of cracks or protrusions on the surface of the turning tool; Based on the analysis management terminal, the real-time characteristics of the turning tool are analyzed and processed to determine the real-time status of the turning tool; The analysis management terminal chooses whether to stop the processing operation of the CNC machine tool according to the real-time status of the turning tool.

[0006] Preferably, the method of performing feature extraction processing on the real-time image of the turning tool based on the analysis management terminal to obtain the real-time features of the turning tool specifically includes the following steps: Based on the analysis management terminal, the database system is processed for information extraction to obtain the original image of the turning tool; Based on the analysis management terminal, the real-time color image of the turning tool and the original image of the turning tool are binarized to obtain the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; Based on the analysis management terminal, the real-time grayscale image of the turning tool and the original grayscale image of the turning tool are analyzed and processed to obtain the real-time characteristics of the turning tool.

[0007] Preferably, the analyzing and processing of the real-time grayscale image of the turning tool and the original grayscale image of the turning tool based on the analysis management terminal to obtain the real-time features of the turning tool specifically includes the following steps: Based on the analysis management terminal, the real-time grayscale image of the turning tool and the original grayscale image of the turning tool are respectively calculated and processed to obtain the pixel values ​​of the real-time grayscale image of the turning tool and the pixel values ​​of the original grayscale image of the turning tool; Based on the analysis management terminal, a difference calculation is performed on the pixel value of the real-time grayscale image of the turning tool and the pixel value of the original grayscale image of the turning tool to obtain the pixel difference value of the turning tool image; Based on the analysis and management terminal, the pixel difference of the turning tool image is judged and processed to obtain the real-time characteristics of the turning tool.

[0008] Preferably, the method of judging and processing the pixel difference of the turning tool image based on the analysis management terminal to obtain the real-time characteristics of the turning tool specifically includes the following steps: Based on the analysis management terminal, the pixel difference of the turning tool image and the set pixel threshold are judged; If the pixel difference of the turning tool image is greater than the set pixel threshold, the turning tool is abnormal; Based on the edge detection algorithm, the real-time grayscale image of the turning tool is extracted to obtain the real-time features of the turning tool; If the pixel difference of the turning tool image is less than or equal to the set pixel threshold, there is no abnormality in the turning tool.

[0009] Preferably, the state analysis and processing of the real-time characteristics of the turning tool based on the analysis management terminal to determine the real-time state of the turning tool specifically includes the following steps: Based on the analysis and management terminal, the real-time characteristics of the turning tool are analyzed and processed; If the real-time feature of the turning tool is a crack; Based on the analysis and management terminal, parameters of the shooting device are read to obtain relevant data of the shooting device, wherein the relevant data of the shooting device includes focal length data, field of view angle data, shooting distance and image encoding method of the shooting device; Based on the analysis management terminal, the real-time depth image of the turning tool and the relevant data of the shooting device are analyzed to determine the real-time status of the turning tool; If the real-time feature of the turning tool is convex; Based on the analysis and management terminal, the real-time depth image of the turning tool and the focal length data, field angle data and image encoding method of the shooting device are converted and processed to obtain the actual distances of several groups of protrusions; Based on the analysis and management terminal, the actual distances of several groups of protrusions are analyzed and processed to determine the real-time status of the turning tool.

[0010] Preferably, the analyzing and managing the real-time depth image of the turning tool and the relevant data of the photographing device based on the analysis management terminal to determine the real-time status of the turning tool specifically comprises the following steps: Based on the analysis and management terminal, the real-time depth image of the turning tool and the focal length data, field of view angle data and image encoding method of the shooting device are converted and processed to obtain the actual distance of the crack; Based on the analysis management terminal, the database system is searched and processed to obtain the factory specification parameters of the turning tool; Based on the analysis management terminal, the factory specification parameters of the turning tool are analyzed and processed to determine the set depth threshold; Based on the analysis and management terminal, the actual distance of the crack, the shooting distance and the set depth threshold are compared and judged; If the difference between the actual distance of the crack and the shooting distance is less than the set depth threshold, the crack has no effect on the use of the turning tool, and the real-time status of the turning tool is normal; If the difference between the actual distance of the crack and the shooting distance is greater than or equal to the set depth threshold, the crack is too deep and the real-time status of the turning tool is abnormal.

[0011] Preferably, the method of analyzing and processing the actual distances of the plurality of groups of protrusions based on the analysis management terminal to determine the real-time status of the turning tool specifically comprises the following steps: Based on the analysis management terminal, the actual distances of several groups of protrusions are screened and processed to obtain the shortest distance of the protrusions; Based on the analysis management terminal, the difference between the shooting distance and the shortest distance of the protrusion is calculated to determine the maximum value of the protrusion; Obtain the real-time processing orders of CNC machine tools, extract and process the data of the real-time processing orders of CNC machine tools based on the analysis management terminal, and obtain the maximum processing width; Based on the analysis and management terminal, the maximum processing width and the maximum value of the protrusion are compared and judged; If the maximum machining width is greater than the maximum value of the bulge, the bulge has no effect on the workpiece, and the real-time status of the turning tool is normal; If the maximum machining width is less than or equal to the maximum value of the bulge, the bulge will affect the workpiece and the real-time status of the turning tool will be abnormal; The specific calculation formula for determining the maximum value of the protrusion is: ; In the formula, is the maximum value of the bulge; is the shooting distance; is the actual distance of several groups of protrusions; n is the specific number of actual distances of several groups of protrusions; min() is the minimum function.

[0012] Preferably, the analysis management terminal selects whether to stop the machining operation of the CNC machine tool according to the real-time status of the turning tool, specifically comprising the following steps: If the real-time status of the turning tool is abnormal; The analysis management terminal sends the abnormal information of the turning tool to the external display terminal, shuts down the CNC machine tool, and replaces the turning tool of the CNC machine tool; If the real-time status of the turning tool is normal; The analysis and management terminal continues to control the camera to capture images of the surface of the turning tool and monitors the status of the turning tool in real time. When the real-time status of the turning tool changes from normal to abnormal, the analysis and management terminal sends the turning tool abnormality information to the external display terminal, shuts down the CNC machine tool, and replaces the turning tool of the CNC machine tool.

[0013] Furthermore, a turning tool state monitoring device is proposed, which is used to implement a turning tool state monitoring method as described above, comprising: An analysis and management terminal, which is used to monitor the turning tool in real time and determine the real-time status of the turning tool. The analysis and management terminal is used to control data transmission and information interaction between various modules; A photographing device, wherein the photographing device is used to capture an image of the turning tool and obtain a real-time image of the turning tool; A database system, the database system is used to store the original image of the turning tool and the factory specification parameters of the turning tool; An image processing module, wherein the image processing module is used to perform binarization processing on the real-time color image of the turning tool and the original image of the turning tool to obtain the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; A pixel calculation module, wherein the pixel calculation module is used to calculate and process the real-time grayscale image of the turning tool and the original grayscale image of the turning tool to obtain a pixel difference value of the turning tool image; A pixel judgment module, which judges the pixel difference of the turning tool image and the set pixel threshold to determine the real-time characteristics of the turning tool; A feature analysis module, wherein the feature analysis module is used to analyze the real-time features of the turning tool and determine the type of the real-time features of the turning tool; A parameter reading module, which is used to read parameters of a shooting device and obtain focal length data, field of view angle data, shooting distance and image encoding method of the shooting device; A data calculation module, which calculates the shooting distance, the actual distance of the crack, and the shortest distance of the protrusion; A comparison and judgment module, which performs comparison and judgment processing on the actual distance of the crack, the shooting distance and the set depth threshold, and performs judgment processing on the maximum processing width and the maximum value of the protrusion; A state analysis module is used to select whether to stop the machining operation of the CNC machine tool according to the real-time state of the turning tool.

[0014] Furthermore, a CNC machine tool is proposed, which includes a turning tool status monitoring device as described above.

[0015] Compared with the prior art, the present invention provides a turning tool status monitoring method, device and CNC machine tool, which have the following beneficial effects: The present invention determines whether there is any abnormality on the surface of the turning tool by analyzing the real-time image of the turning tool. When there is any abnormality on the surface of the turning tool, the abnormality is analyzed and judged to determine whether the abnormality on the surface of the turning tool causes damage to the workpiece to be processed. If the abnormality on the surface of the turning tool causes damage to the workpiece to be processed, the turning tool is replaced. The above method not only reduces the scrap rate of the workpiece to be processed, but also reduces the production cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic flow chart of steps S100-S400 in a turning tool status monitoring method proposed by the present invention; Figure 2 A schematic flow chart of steps S201-S203 in a turning tool status monitoring method proposed by the present invention; Figure 3 A schematic flow chart of steps S2031-S2033 in a turning tool status monitoring method proposed by the present invention; Figure 4 A schematic flow chart of steps S20331-S20334 in a turning tool status monitoring method proposed by the present invention; Figure 5 A schematic flow chart of steps S301-S307 in a turning tool status monitoring method proposed by the present invention; Figure 6 A schematic flow chart of steps S3041-S3046 in a turning tool status monitoring method proposed by the present invention; Figure 7 A schematic flow chart of steps S3071-S3076 in a turning tool status monitoring method proposed by the present invention; Figure 8 A schematic flow chart of steps S401-S404 in a turning tool status monitoring method proposed by the present invention; Fig. 9 This is a structural block diagram of a turning tool status monitoring device proposed by the present invention. DETAILED DESCRIPTION

[0017] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0018] Reference Figure 1 As shown, a turning tool status monitoring method includes: S100, based on the analysis management terminal, controlling the shooting device to perform image acquisition processing on the turning tool of the CNC machine tool to obtain a real-time image of the turning tool, wherein the real-time image of the turning tool includes a real-time color image of the turning tool and a real-time depth image of the turning tool; In step S100, a real-time color image and a real-time depth image of the turning tool are collected by a photographing device. When feature extraction is performed on the real-time color image, it is determined that there are abnormal features on the surface of the turning tool. The distance from the photographing device to the abnormal features on the surface of the turning tool is calculated by the real-time depth image. By analyzing the distance, it is determined whether the abnormality on the surface of the turning tool will affect the workpiece to be processed. S200, based on the analysis management terminal, performing feature extraction processing on the real-time image of the turning tool to obtain the real-time feature of the turning tool, wherein the real-time feature of the turning tool is any one of cracks or protrusions on the surface of the turning tool; S300, based on the analysis management terminal, performing status analysis processing on the real-time characteristics of the turning tool to determine the real-time status of the turning tool; S400, the analysis management terminal selects whether to stop the processing operation of the CNC machine tool according to the real-time status of the turning tool; Those skilled in the art understand that when a turning tool is processing a workpiece, as the processing time increases, the temperature of the turning tool surface may increase or the turning tool surface may collide with other objects, resulting in abnormal features on the turning tool surface. In order to avoid the abnormal features of the turning tool surface from affecting the workpiece, the abnormal features of the turning tool surface are analyzed to determine whether the abnormal features of the turning tool surface will affect the workpiece. When it is determined that the abnormality on the turning tool surface will affect the workpiece, the CNC machine tool stops processing and the turning tool is replaced.

[0019] Reference Figure 2 As shown, based on the analysis management terminal, the real-time image of the turning tool is subjected to feature extraction processing, and the real-time features of the turning tool are obtained, which specifically includes the following steps: S201, based on the analysis management terminal, performing information extraction processing on the database system to obtain the original image of the turning tool; S202, based on the analysis management terminal, binarizing the real-time color image of the turning tool and the original image of the turning tool respectively to obtain the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; S203, based on the analysis management terminal, analyzing and processing the real-time grayscale image of the turning tool and the original grayscale image of the turning tool to obtain the real-time features of the turning tool; In this embodiment, the pixel points of the real-time color image of the turning tool and the original image of the turning tool are composed of three components of red, green and blue. In order to reduce the amount of calculation, the real-time color image of the turning tool and the original image of the turning tool are binarized to convert them into grayscale images, and the pixel points of the grayscale image are composed of a single grayscale value.

[0020] Reference Figure 3 As shown, based on the analysis management terminal, the real-time grayscale image of the turning tool and the original grayscale image of the turning tool are analyzed and processed to obtain the real-time features of the turning tool, which specifically includes the following steps: S2031, based on the analysis management terminal, respectively calculating and processing the real-time grayscale image of the turning tool and the original grayscale image of the turning tool to obtain pixel values ​​of the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; S2032, based on the analysis management terminal, performing difference calculation on the pixel value of the real-time grayscale image of the turning tool and the pixel value of the original grayscale image of the turning tool to obtain the pixel difference value of the turning tool image; S2033, based on the analysis management terminal, judging and processing the pixel difference of the turning tool image to obtain the real-time characteristics of the turning tool; In this embodiment, if there are abnormalities on the surface of the turning tool, such as cracks and protrusions, the pixel values ​​of the cracked and protruded parts will be larger than the pixel values ​​of the normal area of ​​the turning tool. Therefore, the pixel difference of the turning tool image is determined by performing a difference calculation between the pixel values ​​of the real-time grayscale image of the turning tool and the pixel values ​​of the original grayscale image of the turning tool.

[0021] Reference Figure 4 As shown, based on the analysis management terminal, the pixel difference of the turning tool image is judged and processed to obtain the real-time characteristics of the turning tool, which specifically includes the following steps: S20331. Based on the analysis management terminal, determine the pixel difference of the turning tool image and the set pixel threshold; S20332, if the pixel difference of the turning tool image is greater than the set pixel threshold, the turning tool is abnormal; S20333. Based on an edge detection algorithm, extract features from the real-time grayscale image of the turning tool to obtain real-time features of the turning tool; S20334, if the pixel difference of the turning tool image is less than or equal to the set pixel threshold, the turning tool has no abnormality; In this embodiment, the pixel difference of the turning tool image is compared with the set pixel threshold to determine whether there is any abnormality on the turning tool surface. It is worth noting that there may be some small defects on the turning tool surface, but those small defects may exist during production. However, small defects will also cause the pixel values ​​of some areas of the turning tool to change. Therefore, the existing small defects are eliminated by setting the pixel threshold. Small defects such as small particles or small depressions on the turning tool surface, while the original image of the turning tool extracted from the database system is flawless. Therefore, the interference of small defects is eliminated by setting the pixel threshold to determine whether there is any abnormality on the turning tool surface.

[0022] Reference Figure 5 As shown, based on the analysis management terminal, the real-time characteristics of the turning tool are analyzed and processed to determine the real-time status of the turning tool, which specifically includes the following steps: S301, analyzing and processing the real-time characteristics of the turning tool based on the analysis management terminal; S302, if the real-time feature of the turning tool is a crack; S303, based on the analysis management terminal, reading parameters of the shooting device to obtain relevant data of the shooting device, wherein the relevant data of the shooting device includes focal length data, field of view angle data, shooting distance and image encoding method of the shooting device; S304, analyzing the real-time depth image of the turning tool and relevant data of the shooting device based on the analysis management terminal to determine the real-time status of the turning tool; S305, if the real-time feature of the turning tool is a convexity; S306, based on the analysis management terminal, converting and processing the real-time depth image of the turning tool, the focal length data of the shooting device, the field of view angle data and the image encoding method to obtain the actual distances of several groups of protrusions; S307, based on the analysis management terminal, analyzing and processing the actual distances of the plurality of groups of protrusions to determine the real-time status of the turning tool; In this embodiment, each pixel value in the depth image represents the actual distance from the camera device to the surface of the turning tool, but it needs to be converted through the relevant data of the camera device, that is, the focal length data, field of view angle data and image encoding method of the camera device. To determine whether a crack or a protrusion will affect the workpiece, it is necessary to judge based on the depth of the crack or the height of the protrusion. Therefore, by analyzing the real-time depth image of the turning tool, the distance between the camera device and the inside of the crack and the distance to the protrusion are determined. Finally, the distance is judged to determine whether it will affect the workpiece.

[0023] Reference Figure 6 As shown, based on the analysis management terminal, the real-time depth image of the turning tool and the relevant data of the shooting device are analyzed to determine the real-time status of the turning tool, which specifically includes the following steps: S3041. Based on the analysis management terminal, convert the real-time depth image of the turning tool and the focal length data, field angle data and image encoding method of the shooting device to obtain the actual distance of the crack; S3042, based on the analysis management terminal, perform information retrieval processing on the database system to obtain factory specification parameters of the turning tool; S3043, based on the analysis management terminal, performing data analysis and processing on the factory specification parameters of the turning tool to determine a set depth threshold; S3044, based on the analysis management terminal, comparing and judging the actual distance of the crack, the shooting distance and the set depth threshold; S3045: If the difference between the actual distance of the crack and the shooting distance is less than the set depth threshold, the crack has no effect on the use of the turning tool, and the real-time state of the turning tool is normal; S3046: If the difference between the actual distance of the crack and the photographed distance is greater than or equal to the set depth threshold, the crack is too deep and the real-time status of the turning tool is abnormal; In this embodiment, when cracks appear on the surface of the turning tool, excessive depth of the cracks may cause the overall rigidity of the turning tool to decrease. If the material of the workpiece to be processed is too hard, the turning tool may break. Therefore, by performing data analysis on the factory specification parameters of the turning tool, it is determined whether the cracks will affect the use of the turning tool, that is, setting a depth threshold, because the factory specification parameters of the turning tool are a summary of various data during the research and development process of the turning tool, and also include data on the impact of the cracks on the turning tool. It is worth noting that the shooting distance is the distance from the shooting device to the surface of the turning tool, and the actual distance of the crack is the distance from the shooting device to the inside of the crack. Therefore, the difference between the actual distance of the crack and the shooting distance and the set depth threshold are used to determine whether the cracks will affect the turning tool.

[0024] Reference Figure 7As shown, based on the analysis management terminal, the actual distances of several groups of protrusions are analyzed and processed to determine the real-time status of the turning tool, which specifically includes the following steps: S3071. Based on the analysis management terminal, screening is performed on the actual distances of several groups of protrusions to obtain the shortest distance of the protrusions; S3072, based on the analysis management terminal, performing a difference calculation between the shooting distance and the shortest distance of the protrusion to determine the maximum value of the protrusion; S3073, obtaining a real-time processing order of a CNC machine tool, and performing data extraction and processing on the real-time processing order of the CNC machine tool based on the analysis management terminal to obtain a maximum processing width; S3074, based on the analysis management terminal, comparing and judging the maximum processing width and the maximum value of the protrusion; S3075, if the maximum processing width is greater than the maximum value of the protrusion, the protrusion has no effect on the workpiece, and the real-time status of the turning tool is normal; S3076, if the maximum processing width is less than or equal to the maximum value of the protrusion, the protrusion has an impact on the workpiece, and the real-time status of the turning tool is abnormal; The specific calculation formula for determining the maximum value of the protrusion is: ; In the formula, is the maximum value of the bulge; is the shooting distance; is the actual distance of several groups of protrusions; n is the specific number of actual distances of several groups of protrusions; min() is the minimum function; In this embodiment, the protrusion on the surface of the turning tool is an irregular shape. After depth image analysis, the distances from several groups of photographing devices to the protrusions can be obtained, and the maximum height of the protrusion, that is, the shortest distance from the photographing device to the protrusion, is the minimum value of the distances from several groups of photographing devices to the protrusions. When the CNC machine tool controls the turning tool to process the workpiece, it may be necessary to cut the workpiece, but the width of the cutting seam is fixed. If the protrusion on the surface of the turning tool is too large, the cutting seam will be defective and the workpiece will be damaged. Therefore, the real-time processing order is read to determine the width of the cutting seam. The cutting seam is obtained by the blade of the turning tool cutting the workpiece. Therefore, half the width of the cutting seam is taken as the maximum processing width. When the maximum value of the protrusion is greater than or equal to the maximum processing width, it means that the protrusion will cause the cutting seam of the workpiece to be processed to deform, damage the workpiece to be processed, and produce waste.

[0025] Reference Figure 8 As shown, the analysis management terminal selects whether to stop the processing operation of the CNC machine tool according to the real-time status of the turning tool, which specifically includes the following steps: S401, if the real-time status of the turning tool is abnormal; S402, the analysis management terminal sends the tool abnormality information to the external display terminal, shuts down the CNC machine tool, and replaces the tool of the CNC machine tool; S403, if the real-time status of the turning tool is normal; S404, the analysis and management terminal continues to control the shooting device to collect images of the surface of the turning tool, and monitors the status of the turning tool in real time. When the real-time status of the turning tool changes from normal to abnormal, the analysis and management terminal sends the turning tool abnormality information to the external display terminal, shuts down the CNC machine tool, and replaces the turning tool of the CNC machine tool; In this embodiment, when the turning tool is processed for a long time, the temperature of the turning tool surface may increase, the rigidity of the turning tool surface may decrease, and cracks may appear on the turning tool surface. Therefore, the real-time image of the turning tool is captured by a shooting device, and then the real-time image is analyzed to determine the state of the turning tool.

[0026] Reference Fig. 9 As shown, a turning tool state monitoring device is used to implement a turning tool state monitoring method as described above, comprising: An analysis and management terminal, which is used to monitor the turning tool in real time and determine the real-time status of the turning tool. The analysis and management terminal is used to control data transmission and information interaction between various modules; A photographing device, wherein the photographing device is used to capture an image of the turning tool and obtain a real-time image of the turning tool; A database system, the database system is used to store the original image of the turning tool and the factory specification parameters of the turning tool; An image processing module, wherein the image processing module is used to perform binarization processing on the real-time color image of the turning tool and the original image of the turning tool to obtain the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; A pixel calculation module, wherein the pixel calculation module is used to calculate and process the real-time grayscale image of the turning tool and the original grayscale image of the turning tool to obtain a pixel difference value of the turning tool image; A pixel judgment module, which judges the pixel difference of the turning tool image and the set pixel threshold to determine the real-time characteristics of the turning tool; A feature analysis module, wherein the feature analysis module is used to analyze the real-time features of the turning tool and determine the type of the real-time features of the turning tool; A parameter reading module, which is used to read parameters of a shooting device and obtain focal length data, field of view angle data, shooting distance and image encoding method of the shooting device; A data calculation module, which calculates the shooting distance, the actual distance of the crack, and the shortest distance of the protrusion; A comparison and judgment module, which performs comparison and judgment processing on the actual distance of the crack, the shooting distance and the set depth threshold, and performs judgment processing on the maximum processing width and the maximum value of the protrusion; A state analysis module is used to select whether to stop the machining operation of the CNC machine tool according to the real-time state of the turning tool.

[0027] Furthermore, a CNC machine tool is proposed, which includes a turning tool status monitoring device as described in claim 9.

[0028] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for monitoring the state of a turning tool, characterized in that: include: Based on the analysis and management terminal, the shooting device is controlled to perform image acquisition and processing on the turning tool of the CNC machine tool to obtain a real-time image of the turning tool, wherein the real-time image of the turning tool includes a real-time color image of the turning tool and a real-time depth image of the turning tool; Based on the analysis management terminal, feature extraction processing is performed on the real-time image of the turning tool to obtain the real-time feature of the turning tool, wherein the real-time feature of the turning tool is any one of cracks or protrusions on the surface of the turning tool; Based on the analysis management terminal, the real-time characteristics of the turning tool are analyzed and processed to determine the real-time status of the turning tool; The analysis management terminal chooses whether to stop the processing operation of the CNC machine tool according to the real-time status of the turning tool.

2. A turning tool status monitoring method according to claim 1, characterized in that: The method of performing feature extraction processing on the real-time image of the turning tool based on the analysis management terminal to obtain the real-time features of the turning tool specifically includes the following steps: Based on the analysis management terminal, the database system is processed for information extraction to obtain the original image of the turning tool; Based on the analysis management terminal, the real-time color image of the turning tool and the original image of the turning tool are binarized to obtain the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; Based on the analysis management terminal, the real-time grayscale image of the turning tool and the original grayscale image of the turning tool are analyzed and processed to obtain the real-time characteristics of the turning tool.

3. A turning tool status monitoring method according to claim 2, characterized in that: The method of analyzing and processing the real-time grayscale image of the turning tool and the original grayscale image of the turning tool based on the analysis management terminal to obtain the real-time features of the turning tool specifically includes the following steps: Based on the analysis management terminal, the real-time grayscale image of the turning tool and the original grayscale image of the turning tool are respectively calculated and processed to obtain the pixel values ​​of the real-time grayscale image of the turning tool and the pixel values ​​of the original grayscale image of the turning tool; Based on the analysis management terminal, a difference calculation is performed on the pixel value of the real-time grayscale image of the turning tool and the pixel value of the original grayscale image of the turning tool to obtain the pixel difference value of the turning tool image; Based on the analysis and management terminal, the pixel difference of the turning tool image is judged and processed to obtain the real-time characteristics of the turning tool.

4. A turning tool status monitoring method according to claim 3, characterized in that: The method of judging and processing the pixel difference of the turning tool image based on the analysis management terminal to obtain the real-time characteristics of the turning tool specifically includes the following steps: Based on the analysis management terminal, the pixel difference of the turning tool image and the set pixel threshold are judged; If the pixel difference of the turning tool image is greater than the set pixel threshold, the turning tool is abnormal; Based on the edge detection algorithm, the real-time grayscale image of the turning tool is extracted to obtain the real-time features of the turning tool; If the pixel difference of the turning tool image is less than or equal to the set pixel threshold, there is no abnormality in the turning tool.

5. A turning tool status monitoring method according to claim 1, characterized in that: The method of performing status analysis on the real-time characteristics of the turning tool based on the analysis management terminal to determine the real-time status of the turning tool specifically includes the following steps: Based on the analysis and management terminal, the real-time characteristics of the turning tool are analyzed and processed; If the real-time feature of the turning tool is a crack; Based on the analysis and management terminal, parameters of the shooting device are read to obtain relevant data of the shooting device, wherein the relevant data of the shooting device includes focal length data, field of view angle data, shooting distance and image encoding method of the shooting device; Based on the analysis management terminal, the real-time depth image of the turning tool and the relevant data of the shooting device are analyzed to determine the real-time status of the turning tool; If the real-time feature of the turning tool is convex; Based on the analysis and management terminal, the real-time depth image of the turning tool and the focal length data, field angle data and image encoding method of the shooting device are converted and processed to obtain the actual distances of several groups of protrusions; Based on the analysis and management terminal, the actual distances of several groups of protrusions are analyzed and processed to determine the real-time status of the turning tool.

6. A turning tool status monitoring method according to claim 5, characterized in that: The method of analyzing the real-time depth image of the turning tool and the relevant data of the shooting device based on the analysis management terminal to determine the real-time status of the turning tool specifically includes the following steps: Based on the analysis and management terminal, the real-time depth image of the turning tool and the focal length data, field of view angle data and image encoding method of the shooting device are converted and processed to obtain the actual distance of the crack; Based on the analysis management terminal, the database system is searched and processed to obtain the factory specification parameters of the turning tool; Based on the analysis management terminal, the factory specification parameters of the turning tool are analyzed and processed to determine the set depth threshold; Based on the analysis and management terminal, the actual distance of the crack, the shooting distance and the set depth threshold are compared and judged; If the difference between the actual distance of the crack and the shooting distance is less than the set depth threshold, the crack has no effect on the use of the turning tool, and the real-time status of the turning tool is normal; If the difference between the actual distance of the crack and the shooting distance is greater than or equal to the set depth threshold, the crack is too deep and the real-time status of the turning tool is abnormal.

7. A turning tool status monitoring method according to claim 5, characterized in that: The method of analyzing and processing the actual distances of the plurality of groups of protrusions based on the analysis management terminal to determine the real-time status of the turning tool specifically includes the following steps: Based on the analysis management terminal, the actual distances of several groups of protrusions are screened and processed to obtain the shortest distance of the protrusions; Based on the analysis management terminal, the difference between the shooting distance and the shortest distance of the protrusion is calculated to determine the maximum value of the protrusion; Obtain the real-time processing orders of CNC machine tools, extract and process the data of the real-time processing orders of CNC machine tools based on the analysis management terminal, and obtain the maximum processing width; Based on the analysis and management terminal, the maximum processing width and the maximum value of the protrusion are compared and judged; If the maximum machining width is greater than the maximum value of the bulge, the bulge has no effect on the workpiece, and the real-time status of the turning tool is normal; If the maximum machining width is less than or equal to the maximum value of the bulge, the bulge will affect the workpiece and the real-time status of the turning tool will be abnormal; The specific calculation formula for determining the maximum value of the protrusion is: ; In the formula, is the maximum value of the bulge; is the shooting distance; is the actual distance of several groups of protrusions; n is the specific number of actual distances of several groups of protrusions; min() is the minimum function.

8. A turning tool status monitoring method according to claim 1, characterized in that: The analysis management terminal selects whether to stop the machining operation of the CNC machine tool according to the real-time status of the turning tool, which specifically includes the following steps: If the real-time status of the turning tool is abnormal; The analysis management terminal sends the abnormal information of the turning tool to the external display terminal, shuts down the CNC machine tool, and replaces the turning tool of the CNC machine tool; If the real-time status of the turning tool is normal; The analysis and management terminal continues to control the camera to capture images of the surface of the turning tool and monitors the status of the turning tool in real time. When the real-time status of the turning tool changes from normal to abnormal, the analysis and management terminal sends the turning tool abnormality information to the external display terminal, shuts down the CNC machine tool, and replaces the turning tool of the CNC machine tool.

9. A turning tool status monitoring device, used to implement a turning tool status monitoring method as claimed in any one of claims 1 to 8, characterized in that: include: An analysis and management terminal, which is used to monitor the turning tool in real time and determine the real-time status of the turning tool. The analysis and management terminal is used to control data transmission and information interaction between various modules; A photographing device, wherein the photographing device is used to capture an image of the turning tool and obtain a real-time image of the turning tool; A database system, the database system is used to store the original image of the turning tool and the factory specification parameters of the turning tool; An image processing module, wherein the image processing module is used to perform binarization processing on the real-time color image of the turning tool and the original image of the turning tool to obtain the real-time grayscale image of the turning tool and the original grayscale image of the turning tool; A pixel calculation module, wherein the pixel calculation module is used to calculate and process the real-time grayscale image of the turning tool and the original grayscale image of the turning tool to obtain a pixel difference value of the turning tool image; A pixel judgment module, which judges the pixel difference of the turning tool image and the set pixel threshold to determine the real-time characteristics of the turning tool; A feature analysis module, wherein the feature analysis module is used to analyze the real-time features of the turning tool and determine the type of the real-time features of the turning tool; A parameter reading module, which is used to read parameters of a shooting device and obtain focal length data, field of view angle data, shooting distance and image encoding method of the shooting device; A data calculation module, which calculates the shooting distance, the actual distance of the crack, and the shortest distance of the protrusion; A comparison and judgment module, which performs comparison and judgment processing on the actual distance of the crack, the shooting distance and the set depth threshold, and performs judgment processing on the maximum processing width and the maximum value of the protrusion; A state analysis module is used to select whether to stop the machining operation of the CNC machine tool according to the real-time state of the turning tool.

10. A numerically controlled machine tool, characterized in that: The CNC machine tool comprises a turning tool status monitoring device as claimed in claim 9.

Citation Information

Patent Citations

  • Method and device for detecting cutter state of numerical control machine tool

    CN113752086A

  • Numerical control machine tool state detection method and system

    CN115431101A

  • Real-time monitoring system for turning deep and narrow grooves

    CN115847187A

  • Abnormity monitoring and sudden stop system for numerical control machine tool

    CN116758099A

  • Cutter state monitoring and service life prediction system for numerical control machine tool and use method of cutter state monitoring and service life prediction system

    CN116967844A

Cited By

  • Oil nozzle machining method and system, machining lathe and storage medium

    CN120244481A

  • Turning tool control method and lathe

    CN120755719A

  • Intelligent turning tool monitoring method and device based on image processing

    CN121236488A

  • Intelligent monitoring method and device for turning tool based on image processing

    CN121236488B