A visual detection device and method for wear status of numerical control tools
By designing an automated CNC tool wear status visual detection device, using high-definition cameras and fill lights for intelligent image acquisition, combining electric slide rails and articulated slides to adjust the shooting angle, the low detection accuracy and low efficiency in the existing technology are solved. The problem of this method realizes accurate evaluation and automated detection of tool wear status.
Patent Information
- Application Number
- CN202411162698.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The existing CNC machine tool wear status detection device has problems such as incomplete image acquisition, low detection accuracy, lack of automated processes and low detection efficiency, and cannot comprehensively evaluate tool wear status, resulting in cumbersome and low efficiency.
A visual detection device for wear status of CNC tool is designed, including a detection box, display module, positioning module, detection module and central processing module. The tool is automatically detected by clamping components and detection components, and the use of high-definition cameras and fill lights Carry out intelligent image acquisition, combine electric slide rails and articulated slide platforms to adjust the shooting angle, and realize comprehensive image acquisition and automated detection of the tool.
It improves the accuracy and efficiency of detection, ensures clear images under different lighting conditions, realizes accurate evaluation of tool wear, reduces the cumbersomeness of detection, and adapts to tool detection needs of various models and specifications.
Smart Images

Figure CN118664402B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of machine tool tool detection, and in particular relates to a visual detection device and method for the wear state of a numerical control tool. Background Art
[0002] CNC machine tools are key equipment in modern manufacturing. As an important component of machine tools, the wear state of cutting tools directly affects the processing accuracy and production efficiency. Existing CNC machine tool tool wear state detection devices mainly rely on manual detection or simple automation systems.
[0003] The existing CNC machine tool tool detection device has the following technical problems:
[0004] 1. Incomplete image acquisition leads to low final detection accuracy. Tool wear may occur in different areas and directions. Existing visual inspection systems can only detect from a single perspective and have poor image acquisition effects, making it impossible to accurately and comprehensively evaluate the wear status of the tool.
[0005] 2. The lack of automated processes makes the inspection work cumbersome. For this reason, we propose a visual inspection device and method for the wear status of CNC tools;
[0006] 3. Low detection efficiency. When inspecting tools, traditional detection methods often require manual replacement of tools and adjustment of detection positions, resulting in low detection efficiency. Summary of the invention
[0007] The object of the present invention is to provide a device and method for visually detecting the wear state of a numerically controlled tool, so as to solve the problems raised in the above-mentioned background technology.
[0008] To achieve the above-mentioned object, the present invention provides the following technical solutions: a visual detection device for the wear state of a numerical control tool, comprising a detection box, a display module, a positioning module, a detection module, and a central processing module, wherein a display processor is provided on the side of the detection box, and a clamping component and a detection component are provided inside the detection box;
[0009] The display module matches the appropriate placement slot detection port according to the tool model information;
[0010] The positioning module controls the clamping assembly to place the tool in the detection port of the placement slot for detection;
[0011] The detection module controls the detection component to detect the tool in the detection port of the placement slot to obtain the wear value and wear degree level of the tool;
[0012] The central processing module is used to connect the coordination between various modules, send instructions, and control the display processor to display and input data.
[0013] Preferably, the clamping assembly includes a connecting plate, an electric slide groove is provided inside the connecting plate, an electric slide groove is slidably connected inside the electric slide groove, a closing plate is provided between the two electric slides, a display light is provided on the front surface of the closing plate, a clamping plate is provided between the two connecting plates, a first electric slide rail is provided on the surface of the clamping plate, an electric slider is slidably connected inside the first electric slide rail, and an electric roller is provided at one end of the electric slider close to the center of the clamping plate.
[0014] Preferably, the detection component includes a rear box plate, and second electric slide rails are provided on the upper and lower sides of the inner surface of the rear box plate; the interior of the second electric slide rail is slidably connected to a third electric slide rail via an electric connecting slider; a lighting lamp is provided on the side of the third electric slide rail; the interior of the third electric slide rail is slidably connected to an electric articulated slide; the interior of the electric articulated slide is rotatably connected to a high-definition camera; and the upper surface of the high-definition camera is provided with a fill light.
[0015] Preferably, a front box plate is provided on the front of the detection box, a hinge is provided between the detection box and the front box plate, and a plurality of placement grooves are provided on the surface of the front box plate.
[0016] Preferably, the process of matching the display module with a suitable placement slot detection port according to the tool model information is as follows:
[0017] 101 - Get the numbers of all the slots on the front box plate;
[0018] 102 - Obtaining the model and specification information of the tool, matching the model and specification information of the tool with the clamping range interval value of the clamping component corresponding to the placement slot detection layer, and obtaining a matching detection layer capable of detecting the tool;
[0019] 103 - The matching detection layer performs self-detection on the detection port of the slot placed on the layer, and the specific process is as follows;
[0020] 103-1: The placement slot detection port is empty and the indicator light is green;
[0021] 103-2: If there is a tool to be tested in the detection port of the placement slot, the indicator light will be yellow. If the tool to be tested in the detection port of the placement slot is being tested, the indicator light will flash yellow.
[0022] 103-3: The tool in the detection port of the placement slot has been detected and the indicator light is red;
[0023] 104 - The placement slot numbers corresponding to the green and red lights on the display are sent to the central processing module, and the central processing module controls the display processor for display. The staff selects the placement slot number to be opened through the display processor according to the needs. After the selection is completed, the central processing module generates an opening instruction corresponding to the number and sends it to the positioning module.
[0024] Preferably, the process in which the positioning module controls the clamping assembly to place the tool in the detection port of the placement slot for detection is:
[0025] 201-When the positioning module receives the opening command corresponding to the number, it needs to open the electric slide corresponding to the placement slot to drive the closing plate to move out of the placement slot. The staff places the machine tool tool in the circular slot of the closing plate and squeezes it in the direction of the circular slot of the closing plate.
[0026] 202-When the pressure value at the circular groove of the closing plate is greater than the preset extrusion pressure value, the positioning module controls the electric slider at the closing plate to drive the electric roller to move toward the tool handle for extrusion clamping. When the pressure value at the electric roller reaches the preset fixed pressure value, the electric slider stops driving the electric roller to continue moving to complete the initial clamping of the tool handle. After the initial clamping work is completed, a preliminary clamping completion signal is generated and sent to the positioning module;
[0027] 203-When the positioning module receives the initial clamping completion signal, it generates a closing command to make the electric slider drive the tool to move toward the clamping plate, so that the machine tool tool passes through the circular through slot in the middle of the clamping plate. When it is detected that the tool head has passed through the circular through slot, the first electric slide rail, electric slider and electric roller at the clamping plate will cooperate to clamp the tool handle again, that is, the pressure value at the electric roller reaches the preset fixed pressure value, indicating that the clamping is stable. After the clamping is stable, a clamping completion signal is generated and sent to the central processing module. The central processing module generates a corresponding inspection instruction for the placement slot and sends it to the detection module, and generates a yellow light display instruction and sends it to the display module. The display module controls the display light corresponding to the placement slot to display a yellow light.
[0028] Preferably, the detection module controls the detection component to detect the tool in the detection port of the placement slot, and the specific process of obtaining the wear value and wear degree level of the tool is:
[0029] 301 - sort the placement slots corresponding to all the inspection instructions according to the time of receiving the inspection instructions, and mark the placement slot corresponding to the tool to be inspected as the inspection placement slot;
[0030] 302 - Based on the position information of the detection placement slot, the detection module controls the high-definition camera to move to a position facing the center of the tool head in the detection placement slot under the action of the second electric slide rail and the third electric slide rail;
[0031] 303-After the position movement is completed, the central processing module generates a lighting instruction and sends it to the detection module. The detection module controls the lighting to turn on, illuminates the tool at the detection placement slot, and collects the light intensity at the detection placement slot. When the light intensity value collected at the detection placement slot is lower than the preset light intensity interval value, the central processing module generates a fill light turn-on instruction to turn on the fill light, and controls the brightness of the fill light to make the light intensity at the detection placement slot within the preset light intensity interval value;
[0032] 304-When the light intensity at the detection placement slot is within the preset light intensity interval, the detection module controls the high-definition camera to take t groups of images of the tool head, where t is a natural number. After the tool head image acquisition is completed, the vertical distance between the placement slots in the vertical direction is marked as H, and then the high-definition camera is moved upward in the third electric slide rail to a height of half H;
[0033] 305-Use the distance from the high-definition camera to the tail end of the tool head as the first right-angled side, and the vertical height from the high-definition camera to the center line of the tool as the second right-angled side to form a right triangle, and obtain the angle a between the hypotenuse and the second right-angled side;
[0034] 306 - Control the electric articulated slide to rotate the high-definition camera downward by 90 degrees minus the angle a. After the rotation is completed, re-execute step 303;
[0035] After step 303 is executed, the blade of the tool is imaged by a high-definition camera. During the acquisition process, the high-definition camera takes b sets of images for each pair of blades, where b is a natural number. The corresponding electric roller in the detection placement slot will drive the tool to rotate 90 degrees until the tool rotates 360 degrees, and the blade image acquisition is completed.
[0036] 307-Preprocess each blade head image and blade body image, extract the corner image features in each blade head image and blade body image, respectively extract the sharpness ta, contrast tb, and brightness tc at the corner points in each blade head image and blade body image, using the formula: , and obtain the image quality assessment coefficient , where t1, t2, t3 are preset weight coefficients, i is the number of the tool head image, i=1, 2, 3, ..., t, n=1, 2, 3, ..., b, and a group of tool head images with the largest image quality assessment coefficient is selected from t groups of tool head images as tool head wear analysis images using the image quality assessment coefficient;
[0037] The blade images are marked as blade images in the 0-degree direction, blade images in the 90-degree direction, blade images in the 180-degree direction, and blade images in the 270-degree direction, respectively; and a group of blade images in the 0-degree direction, blade images in the 90-degree direction, blade images in the 180-degree direction, and blade images in the 270-degree direction with the largest image quality assessment coefficients are selected from the b groups of blade images in the 0-degree direction, the b groups of blade images in the 90-degree direction, the b groups of blade images in the 180-degree direction, and the b groups of blade images in the 270-degree direction as blade wear analysis images;
[0038] 308 - splicing the tool head wear analysis image and the tool body wear analysis image to form a complete tool wear analysis image;
[0039] 309 - Apply edge detection algorithm to the tool wear analysis image to obtain the wear boundary of the blade, obtain the length, width and depth of the blade wear area, and subtract the length, width and depth of the blade wear area from the length, width and depth of the preset standard corresponding area to obtain the length deviation CP of the blade wear area, the width deviation KP of the blade wear area, and the depth deviation SP of the blade wear area;
[0040] Obtain the tool nose radius and the straightness of the cutting edge in the tool wear analysis image, and make a difference with the preset standard tool nose radius and the straightness of the cutting edge to obtain the tool nose radius wear deviation value DB and the cutting edge straightness wear deviation value DZ;
[0041] Using the formula, , obtain the tool wear value MSZ, where k1 to k5 are weight coefficients, match the tool wear value MSZ with the preset wear degree level to obtain the tool wear degree level, and each preset wear degree level corresponds to a tool wear value interval;
[0042] At the same time, the wear value and wear degree level of the tool are sent to the display processor for storage, and a red light display instruction is generated and sent to the display module. After receiving the instruction, the display module makes the display light corresponding to the detection placement slot turn red. The staff can retrieve the wear value and wear degree level of the tool through the display processor;
[0043] 310 - After the display light corresponding to the detection placement slot turns red, a continue detection instruction is generated and sent to the detection module, and the detection module will re-execute step S3.
[0044] Preferably, the detection method of the visual detection device for the wear state of a numerical control tool described in one of the above comprises the following steps:
[0045] Step 1: When inspecting the tool, the model of the tool is input into the central processing module through the display processor. The central processing module sends the tool model information to the display module. The display module matches the appropriate placement slot detection port according to the tool model information. The staff selects the placement slot number to be opened through the display processor. After the selection is completed, the central processing module generates an opening instruction corresponding to the number and sends it to the positioning module;
[0046] After the positioning module receives the opening command corresponding to the placement slot number, it controls the clamping assembly to move the tool into the detection box and clamp it, that is, the pressure value at the electric roller reaches the preset fixed pressure value, indicating that the clamping is stable. After the clamping is stable, a clamping completion signal is generated and sent to the central processing module;
[0047] Step 2: The central processing module generates a to-be-tested instruction corresponding to the placement slot and sends it to the detection module. After the detection module receives the to-be-tested instruction, the detection module controls the high-definition camera to collect images of the tool head and the blade body in the detection placement slot under the action of the second electric slide rail and the third electric slide rail, and then processes the collected tool head image and blade body image to form a complete tool wear analysis image by splicing;
[0048] Step three, analyze the tool wear analysis image to obtain the tool wear value, match the tool wear value MSZ with the preset wear degree level to obtain the tool wear degree level, and send the tool wear value and wear degree level to the display processor for storage. The staff can complete the detection of the tool wear value and wear degree level through the display processor.
[0049] Compared with the prior art, the present invention has the following beneficial effects:
[0050] (1) This device and method for visually inspecting the wear status of a numerically controlled tool can realize intelligent fill light for the tool photographed by a high-definition camera by using the cooperation of an illumination lamp, a fill light and a detection module, thereby ensuring that a clear image can be obtained under different lighting conditions, thereby improving the reliability of the inspection. When the high-definition camera inspects the tool, the detection module controls the rotation of the tool, thereby facilitating the comprehensive collection of the tool image. At the same time, the third electric slide rail and the electric articulated slide are used to adjust the shooting angle of the high-definition camera, thereby further improving the shooting effect of the tool body and the image acquisition effect. Through this image acquisition method, the accuracy of visual inspection of the wear degree of the tool can be greatly increased.
[0051] (2) The visual inspection device and method for the wear status of numerically controlled tools, the display module, the positioning module, the inspection module and the central processing module cooperate with the clamping assembly and the inspection assembly to realize the automatic inspection of the tools, which greatly reduces the tediousness of the inspection of the tools.
[0052] (3) A visual inspection device and method for the wear status of CNC tools has a front box plate with multiple layers of placement slots, each layer corresponding to a tool clamping range of different specifications, so that the device can adapt to the inspection needs of tools of various models and specifications, and can automatically match the placement slot suitable for the tool to be inspected. When the tool is placed in the placement slot, the tool in the placement slot can be automatically and continuously inspected, which greatly improves the inspection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a system flow chart of the present invention;
[0054] Figure 2 It is a schematic diagram of the front three-dimensional structure of the present invention;
[0055] Figure 3 It is a schematic diagram of the back three-dimensional structure of the present invention;
[0056] Figure 4 It is a schematic diagram of the structural profile of the present invention;
[0057] Figure 5 It is a schematic diagram of the three-dimensional structure of the front box plate of the present invention;
[0058] Figure 6 It is a schematic diagram of the three-dimensional structure of the display lamp of the present invention;
[0059] Figure 7 It is a schematic diagram of the three-dimensional structure of the clamping assembly of the present invention;
[0060] Figure 8 It is a schematic diagram of the three-dimensional structure of the detection component of the present invention;
[0061] Fig. 9 It is a schematic diagram of the three-dimensional structure of the high-definition camera of the present invention;
[0062] Fig.10 This is a diagram of the angle position adjustment process when a high-definition camera is used to shoot a picture of the tool body.
[0063] In the figure: 10, detection box; 11, front box plate; 12, hinge; 13, placement slot; 14, display processor; 20, clamping assembly; 21, connecting plate; 22, electric slide; 23, electric slide plate; 24, closing plate; 25, display light; 26, clamping plate; 27, first electric slide rail; 28, electric slider; 29, electric roller; 30, detection assembly; 31, rear box plate; 32, second electric slide rail; 33, third electric slide rail; 34, lighting lamp; 35, electric articulated slide; 36, high-definition camera; 37, fill light. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0065] See also Figure 1 - Fig.10 The present invention provides a visual inspection device and method for the wear state of a numerical control tool, comprising an inspection box 10, wherein a front box plate 11 is provided on the front of the inspection box 10, and a hinge 12 is provided between the inspection box 10 and the front box plate 11, wherein one end of the inspection box 10 and the front box plate 11 provided with the hinge 12 is hingedly connected by the hinge 12, and the front box plate 11 and the inspection box 10 at the end away from the hinge 12 are connected in a snap-fit manner, a plurality of placement grooves 13 are provided on the surface of the front box plate 11, a display processor 14 is provided on the side of the inspection box 10, a clamping assembly 20 and an inspection assembly 30 are provided inside the inspection box 10, the clamping assembly 20 comprises a connecting plate 21, and a group of connecting plates 21 are respectively provided on the left and right sides of each group of placement grooves 13, an electric slide groove 22 is provided inside the connecting plate 21, an electric slide plate 23 is slidably connected inside the electric slide groove 22, a closing plate 24 is provided between the two electric slide plates 23, and the closing plate 24 A display light 25 is provided on the front surface, and a clamping plate 26 is provided between the two connecting plates 21, wherein a circular through groove is provided in the middle of the clamping plate 26, and a circular groove is provided in the middle of the closing plate 24. A first electric slide rail 27 is provided on the surface of the clamping plate 26, and an electric slider 28 is slidably connected inside the first electric slide rail 27. An electric roller 29 is provided at one end of the electric slider 28 close to the center of the clamping plate 26, wherein three groups of first electric slide rails 27, electric sliders 28, and electric rollers 29 are provided on the surface of each group of the clamping plate 26, and the three groups are spaced at an angle of 120 degrees with the center point of the circular through groove as the center of the circle. At the same time, three groups of first electric slide rails 27, electric sliders 28, and electric rollers 29 are also provided on the surface of the closing plate 24 with the center of the circular groove as the center of the circle. By making the electric slider 28 slide in the first electric slide rail 27, the electric roller 29 can be driven to adjust the clamping specifications of the machine tool tool within a certain range.
[0066] The detection component 30 includes a rear box plate 31, and the rear box plate 31 is arranged on the back of the detection box 10, wherein the rear box plate 31 is connected to the detection box 10 in a manner that one side is hinged by a hinge 12 and the other side is fixed by a fixing bolt, and second electric slide rails 32 are provided on both upper and lower sides of the inner surface of the rear box plate 31, and the interior of the second electric slide rail 32 is slidably connected to the third electric slide rail 33 through an electric connecting slider, wherein the angle between the second electric slide rail 32 and the third electric slide rail 33 is ninety degrees, and a lighting lamp 34 is provided on the side of the third electric slide rail 33, and the interior of the third electric slide rail 33 is slidably connected to an electric articulated slide 35, and the interior of the electric articulated slide 35 is rotatably connected to a high-definition camera 36, and a fill light 37 is provided on the upper surface of the high-definition camera 36, wherein the lighting lamp 34 and the fill light 37 are only tools for illuminating and filling light the photographed object, and the specific model can be set by the staff.
[0067] It should be noted that the front box plate 11 on the front of the detection box 10 and the rear box plate 31 on the back can both be opened. This method can facilitate the maintenance and inspection of the parts inside the detection box 10. When the machine tool tool needs to be inspected, the electric slide plate 23 can first be used to drive the closing plate 24 to move out of the placement slot 13, and then the machine tool tool can be placed in the circular slot of the closing plate 24 and driven by three sets of electric slides 28 to initially clamp it, and then move it in the direction of the clamping plate 26, and make the machine tool tool pass through the circular through slot in the middle of the clamping plate 26, and then re-position it through the first electric slide rail 27, electric slide 28 and electric roller 29 at the clamping plate 26, so that the machine tool tool is stably positioned inside the detection box 10, which is convenient for the accuracy of data collection when the tool is subsequently inspected. By rotating the electric roller 29, the clamped tool can also be rotated, so that the completed tool image is obtained when the visual image of the tool is collected;
[0068] The surface of the front box plate 11 is provided with a multi-layer placement groove 13 detection layer, and the clamping range of the clamping assembly 20 corresponding to each layer of the placement groove 13 detection layer is different, but the specification range of the tool clamping of the clamping assembly 20 corresponding to the placement groove 13 detection layer of the same layer is the same. From top to bottom, the top layer of the placement groove 13 has the largest specification range of the tool clamping of the clamping assembly 20, and then it decreases, and each placement groove 13 corresponds to a number;
[0069] When the tool is clamped stably, the high-definition camera 36 can be moved to the detection position corresponding to the tool to be detected through the second electric slide rail 32 and the third electric slide rail 33, and then the high-definition camera 36 will shoot the tool image, analyze the tool wear data based on the tool image, and display the data through the display processor 14. When the high-definition camera 36 shoots the tool image, the tool can be illuminated by the lighting lamp 34 and the fill light 37, which facilitates the high-definition camera 36 to collect the tool image.
[0070] This embodiment also provides another implementation scheme:
[0071] A visual detection device and method for the wear state of a numerically controlled tool further comprises a display module, a positioning module, a detection module, and a central processing module, wherein the position information and number information in each placement slot 13 in the device are stored in the central processing module;
[0072] S1-When testing the tool, the model of the tool is input into the central processing module through the display processor 14, and the central processing module sends the tool model information to the display module. The display module matches the appropriate placement slot 13 detection port according to the tool model information. The specific method is as follows:
[0073] 101-Get the numbers of all placement slots 13 on the front box plate 11;
[0074] 102 - Obtaining the model and specification information of the tool, matching the model and specification information of the tool with the clamping range interval value of the clamping assembly 20 corresponding to the detection layer of the placement slot 13, and obtaining a matching detection layer capable of detecting the tool;
[0075] 103 - The matching detection layer performs self-detection on the detection port of the placement slot 13 of the layer, and the specific process is as follows;
[0076] 103-1: If the detection port of placement slot 13 is empty, the indicator light 25 will show green light, indicating that the detection port of placement slot 13 is available;
[0077] 103-2: If there is a tool to be tested in the detection port of the placement slot 13, the display light 25 will show a yellow light. If the tool to be tested in the detection port of the placement slot 13 is being tested, the yellow light will flash;
[0078] 103-3: The tool in the detection port of the placement slot 13 has been detected, and the indicator light 25 shows a red light, indicating that the tool detection of the detection port has been completed and can also be used;
[0079] 104 - Send the placement slot 13 number corresponding to the green and red lights displayed by the display light 25 to the central processing module, and the central processing module controls the display processor 14 for display. The staff selects the placement slot 13 number to be opened through the display processor 14 according to the needs. After the selection is completed, the central processing module generates an opening instruction corresponding to the number and sends it to the positioning module.
[0080] S2- After the positioning module receives the opening instruction corresponding to the number of the placement slot 13, it controls the clamping assembly 20 to move the tool into the detection box 10 and clamp it so that it can be stably detected. The specific process is as follows:
[0081] When the opening instruction corresponding to the 201-number is received, the electric slide plate 23 corresponding to the placement slot 13 to be opened drives the closing plate 24 to move out of the placement slot 13, and the staff places the machine tool tool in the circular slot of the closing plate 24 and squeezes it in the direction of the circular slot of the closing plate 24;
[0082] 202- Pressure sensors are provided on the circular groove of the closing plate 24 and the electric roller 29. When the pressure value at the circular groove of the closing plate 24 is greater than the preset extrusion pressure value, the positioning module controls the electric slider 28 at the closing plate 24 to drive the electric roller 29 to move toward the tool handle for extrusion clamping. When the pressure value at the electric roller 29 reaches the preset fixed pressure value, the electric slider 28 stops driving the electric roller 29 to continue moving, completing the preliminary clamping of the tool handle. After the preliminary clamping is completed, a preliminary clamping completion signal is generated and sent to the positioning module;
[0083] 203-When the positioning module receives the preliminary clamping completion signal, it will generate a closing command to make the electric slide 28 drive the tool to move in the direction of the clamping plate 26, so that the machine tool tool passes through the circular through slot in the middle of the clamping plate 26. When it is detected that the tool head passes through the circular through slot, the first electric slide rail 27, the electric slide 28 and the electric roller 29 at the clamping plate 26 will cooperate to clamp the tool handle again, that is, the pressure value at the electric roller 29 reaches the preset fixed pressure value, indicating that the clamping is stable. After the clamping is stable, a clamping completion signal is generated and sent to the central processing module;
[0084] The central processing module generates a to-be-tested instruction corresponding to the placement slot 13 and sends it to the detection module, and generates a yellow light display instruction and sends it to the display module. The display module controls the display light 25 corresponding to the placement slot 13 to display a yellow light.
[0085] After receiving the inspection instruction, the S3-detection module starts to perform a comprehensive inspection of the tool. The specific process is as follows:
[0086] 301 - sorting the placement slots 13 corresponding to all the inspection instructions according to the time of receiving the inspection instructions, and marking the placement slot 13 corresponding to the tool to be inspected as the inspection placement slot 13;
[0087] 302 - extracting the position information of the detection placement slot 13 from the central processing module and sending it to the detection module. Based on the position information of the detection placement slot 13, the detection module controls the high-definition camera 36 to move to a position facing the center of the tool head in the detection placement slot 13 under the action of the second electric slide rail 32 and the third electric slide rail 33;
[0088] 303-After the position movement is completed, the central processing module generates a lighting instruction and sends it to the detection module. The detection module controls the lighting lamp 34 to turn on, wherein the light output power of the lighting lamp 34 is a fixed value, and illuminates the tool at the detection placement slot 13, and collects the light intensity at the detection placement slot 13. When the light intensity value collected at the detection placement slot 13 is lower than the preset light intensity interval value, the central processing module generates a fill light 37 turn-on instruction to turn on the fill light 37, and controls the brightness of the fill light 37 to make the light intensity at the detection placement slot 13 within the preset light intensity interval value;
[0089] The brightness control process of the fill light 37 is as follows: the preset light intensity threshold is subtracted from the light intensity value at the detection placement slot 13 to obtain the detection light deviation value, the mapping relationship between the detection light deviation value and the brightness value of the fill light 37 is preset, and the brightness of the fill light 37 is controlled according to the mapping relationship. In this way, when the detection placement slot 13 is insufficiently illuminated, the fill light 37 can be used for fill light, so as to ensure the clarity of the collected image when the tool image is collected later;
[0090] 304-When the light intensity at the placement slot 13 is detected to be within the preset light intensity interval, the detection module controls the high-definition camera 36 to take t groups of images of the tool head, where t is a natural number. After the tool head image acquisition is completed, the vertical distance between the placement slots 13 and the placement slots 13 in the vertical direction is marked as H, and then the high-definition camera 36 is moved upward in the third electric slide rail 33 to a height of half H;
[0091] 305 - A right triangle is formed by taking the distance from the high-definition camera 36 to the tail end of the tool head as the first right-angled side and the vertical height from the high-definition camera 36 to the center line of the tool as the second right-angled side, and obtaining the angle a between the hypotenuse and the second right-angled side;
[0092] 306 - by controlling the electric articulated slide 35, the high-definition camera 36 is rotated downward by 90 degrees minus the angle of a. After the rotation is completed, step 303 is re-executed. In this way, when the high-definition camera 36 is used to shoot the blade of the tool at the detection placement groove 13, the image of the blade of the tool can be completely collected, and other unnecessary objects can be reduced, which is convenient for the later processing of the image;
[0093] After step 303 is executed, the high-definition camera 36 is used to collect images of the blade of the tool. During the collection process, the high-definition camera 36 takes b groups of images of each pair of blades, where b is a natural number. The corresponding electric roller 29 in the detection placement slot 13 will drive the tool to rotate 90 degrees until the tool rotates 360 degrees. The blade image collection is completed. This method can facilitate the acquisition of a complete tool image.
[0094] 307- Perform denoising, grayscale, and edge enhancement preprocessing operations on each blade head image and blade body image, extract the corner image features in each blade head image and blade body image, and respectively extract the sharpness ta, contrast tb, and brightness tc at the corner points in each blade head image and blade body image, using the formula: , and obtain the image quality assessment coefficient , where t1, t2, t3 are preset weight coefficients, i is the number of the tool head image, i=1, 2, 3, ..., t, n=1, 2, 3, ..., b, and a group of tool head images with the largest image quality assessment coefficient is selected from t groups of tool head images as tool head wear analysis images using the image quality assessment coefficient;
[0095] The blade images are marked as blade images in the 0-degree direction, blade images in the 90-degree direction, blade images in the 180-degree direction, and blade images in the 270-degree direction, respectively; and a group of blade images in the 0-degree direction, blade images in the 90-degree direction, blade images in the 180-degree direction, and blade images in the 270-degree direction with the largest image quality assessment coefficients are selected from the b groups of blade images in the 0-degree direction, the b groups of blade images in the 90-degree direction, the b groups of blade images in the 180-degree direction, and the b groups of blade images in the 270-degree direction as blade wear analysis images;
[0096] 308- Extract corner point and edge image features from the tool head wear analysis image and the blade wear analysis image, use the corner point and edge image features to match the spatial relationship between the images, then adjust the position of each image, stitch them together, and smooth the image edges, so that the tool head wear analysis image and the blade wear analysis image are stitched together to form a complete tool wear analysis image;
[0097] 309- Apply edge detection algorithm to the tool wear analysis image to obtain the wear boundary of the blade, obtain the length, width and depth of the blade wear area, and subtract the length, width and depth of the blade wear area from the length, width and depth of the preset standard corresponding area to obtain the length deviation CP of the blade wear area, the width deviation KP of the blade wear area, and the depth deviation SP of the blade wear area.
[0098] Obtain the tool nose radius and the straightness of the cutting edge in the tool wear analysis image, and make a difference with the preset standard tool nose radius and the straightness of the cutting edge to obtain the tool nose radius wear deviation value DB and the cutting edge straightness wear deviation value DZ;
[0099] Using the formula, , obtain the tool wear value MSZ, where k1 to k5 are weight coefficients, match the tool wear value MSZ with the preset wear degree level to obtain the tool wear degree level, and each preset wear degree level corresponds to a tool wear value interval;
[0100] At the same time, the wear value and wear degree level of the tool are sent to the display processor 14 for storage, and a red light display instruction is generated and sent to the display module. After receiving the instruction, the display module makes the display light 25 corresponding to the detection placement slot 13 turn on the red light. The staff can call up the wear value and wear degree level of the tool to complete the detection through the display processor 14.
[0101] 310 - After the display light 25 corresponding to the detection placement slot 13 turns red, a continue detection instruction is generated and sent to the detection module, and the detection module will re-execute step S3.
[0102] It should be noted that the cooperation of the display module and the display light 25 can help the staff to quickly match the appropriate placement slot 13 for detection. At the same time, the cooperation of the positioning module and the clamping assembly 20 can realize the automatic clamping of the tool, and the clamping assembly 20 can also be used to cooperate with the subsequent tool image acquisition, so that the high-definition camera 36 can capture and collect the tool image in an all-round manner;
[0103] By using the lighting lamp 34, the fill light 37 and the detection module, intelligent fill light can be provided for the tool photographed by the high-definition camera 36. At the same time, the shooting angle of the high-definition camera 36 can be adjusted by the third electric slide rail 33 and the electric articulated slide 35, so that the knife body can be photographed more comprehensively, resulting in better image acquisition effect.
[0104] The tool wear value is obtained by comprehensively analyzing the length deviation of the blade wear area, the width deviation of the blade wear area, the depth deviation of the blade wear area, the tip radius wear deviation value, and the straightness wear deviation value of the cutting edge in the tool wear analysis image. The tool wear value is matched with the preset wear degree level to obtain the tool wear degree level, and the tool wear data is sent to the display processor 14 for storage. The staff can observe the tool wear information at any time through the display processor 14, which greatly improves the intelligence and convenience of tool wear degree detection.
[0105] This embodiment also provides another implementation scheme:
[0106] The workflow of the invention is:
[0107] Step 1: When inspecting the tool, the model of the tool is input into the central processing module through the display processor 14. The central processing module sends the tool model information to the display module. The display module matches the appropriate placement slot 13 detection port according to the tool model information. The staff selects the placement slot 13 number to be opened according to the display processor 14. After the selection is completed, the central processing module generates an opening instruction corresponding to the number and sends it to the positioning module;
[0108] After the positioning module receives the opening instruction corresponding to the number of the placement slot 13, it controls the clamping assembly 20 to move the tool into the detection box 10 and clamp it. After the clamping stability is determined, a clamping completion signal is generated and sent to the central processing module;
[0109] Step 2: The central processing module generates a to-be-tested instruction corresponding to the placement slot 13 and sends it to the detection module. After receiving the to-be-tested instruction, the detection module controls the high-definition camera 36 to collect images of the tool head and the blade body in the detection placement slot 13 under the action of the second electric slide rail 32 and the third electric slide rail 33, and then processes the collected tool head image and blade body image to form a complete tool wear analysis image.
[0110] Step three, analyze the tool wear analysis image to obtain the tool wear value, match the tool wear value MSZ with the preset wear degree level to obtain the tool wear degree level, and send the tool wear value and wear degree level to the display processor 14 for storage. The staff can retrieve the tool wear value and wear degree level through the display processor 14 to complete the detection.
[0111] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A visual inspection device for the wear state of a numerical control tool, comprising a detection box (10), a display module, a positioning module, a detection module, and a central processing module, characterized in that: A display processor (14) is provided on the side of the detection box (10), and a clamping component (20) and a detection component (30) are provided inside the detection box (10); The front of the detection box (10) is provided with a front box plate (11), a hinge (12) is provided between the detection box (10) and the front box plate (11), and a plurality of placement grooves (13) are provided on the surface of the front box plate (11); The clamping assembly (20) comprises a connecting plate (21), each of the left and right sides of each group of the placement slots (13) is provided with a group of connecting plates (21), an electric slide slot (22) is provided inside the connecting plate (21), an electric slide plate (23) is slidably connected inside the electric slide slot (22), a closing plate (24) is provided between the two electric slide plates (23), a display light (25) is provided on the front surface of the closing plate (24), a clamping plate (26) is provided between the two connecting plates (21), and a first electric slide rail (27) is provided on the surface of the clamping plate (26). ), the first electric slide rail (27) is slidably connected to an electric slider (28) inside, an electric roller (29) is provided at one end of the electric slider (28) close to the center of the clamping plate (26), a circular groove is provided in the middle of the closing plate (24), and three groups of first electric slide rails (27), electric sliders (28), and electric rollers (29) are provided on the surface of the closing plate (24) with the center of the circular groove as the center of the circle, and the electric slider (28) can be driven by the electric roller (29) to adjust the clamping specifications of the machine tool tool within a certain range by sliding the electric slider (28) inside the first electric slide rail (27); The detection assembly (30) comprises a rear box plate (31), wherein the inner surface of the rear box plate (31) is provided with a second electric slide rail (32) on both upper and lower sides, the interior of the second electric slide rail (32) is slidably connected to a third electric slide rail (33) via an electric connecting slider, a lighting lamp (34) is provided on the side of the third electric slide rail (33), the interior of the third electric slide rail (33) is slidably connected to an electric articulated slide table (35), the interior of the electric articulated slide table (35) is rotatably connected to a high-definition camera (36), and a fill light (37) is provided on the upper surface of the high-definition camera (36); The positioning module controls the clamping assembly (20) to place the tool in the detection port of the placement slot (13) for detection; The detection module controls the detection component (30) to detect the tool in the detection port of the placement slot (13) to obtain the wear value and wear degree level of the tool; The central processing module is used to connect the coordination relationship between the various modules, send instructions, and control the display processor (14) to display data and input data; The detection module controls the detection component (30) to detect the tool in the detection port of the placement slot (13), and the specific process of obtaining the wear value and wear degree level of the tool is as follows: 301 - sorting the placement slots (13) corresponding to all the inspection instructions in order of inspection according to the time of receiving the inspection instructions, and marking the placement slot (13) corresponding to the tool to be inspected as the inspection placement slot (13); 302 - Based on the position information of the detection placement slot (13), the detection module controls the high-definition camera (36) to move to a position facing the center of the tool head in the detection placement slot (13) under the action of the second electric slide rail (32) and the third electric slide rail (33); 303-After the position movement is completed, the central processing module generates a lighting instruction and sends it to the detection module. The detection module controls the lighting lamp (34) to turn on, illuminates the tool at the detection placement slot (13), and collects the light intensity at the detection placement slot (13). When the light intensity value collected at the detection placement slot (13) is lower than the preset light intensity interval value, the central processing module generates a fill light (37) turn-on instruction to turn on the fill light (37), and controls the brightness of the fill light (37) to make the light intensity at the detection placement slot (13) within the preset light intensity interval value; 304 - When the light intensity at the placement slot (13) is detected to be within a preset light intensity interval, the detection module controls the high-definition camera (36) to take t groups of images of the tool head, where t is a natural number. After the image acquisition of the tool head is completed, the vertical distance between the placement slots (13) and the placement slots (13) in the vertical direction is marked as H, and then the high-definition camera (36) is moved upward in the third electric slide rail (33) to a height of half H; 305 - A right triangle is formed by taking the distance from the high-definition camera (36) to the tail end of the tool head as the first right-angled side and the vertical height from the high-definition camera (36) to the center line of the tool as the second right-angled side, and obtaining the angle a between the hypotenuse and the second right-angled side; 306 - by controlling the electric articulated slide (35), the high-definition camera (36) is rotated downward by 90 degrees minus an angle a. After the rotation is completed, step 303 is executed again; After step 303 is executed, the blade of the tool is imaged by a high-definition camera (36). During the acquisition process, the high-definition camera (36) captures b sets of images for each pair of blades, where b is a natural number. The corresponding electric roller (29) in the detection placement slot (13) drives the tool to rotate 90 degrees until the tool rotates 360 degrees, and the blade image acquisition is completed. 307-Preprocess each blade head image and blade body image, extract the corner image features in each blade head image and blade body image, respectively extract the sharpness ta, contrast tb, and brightness tc at the corner points in each blade head image and blade body image, using the formula: , and obtain the image quality assessment coefficient , where t1, t2, t3 are preset weight coefficients, i is the number of the tool head image, i=1, 2, 3, ..., t, n=1, 2, 3, ..., b, and a group of tool head images with the largest image quality assessment coefficient is selected from t groups of tool head images as tool head wear analysis images using the image quality assessment coefficient; The blade images are marked as blade images in the 0-degree direction, blade images in the 90-degree direction, blade images in the 180-degree direction, and blade images in the 270-degree direction, respectively; and a group of blade images in the 0-degree direction, blade images in the 90-degree direction, blade images in the 180-degree direction, and blade images in the 270-degree direction with the largest image quality assessment coefficients are selected from the b groups of blade images in the 0-degree direction, the b groups of blade images in the 90-degree direction, the b groups of blade images in the 180-degree direction, and the b groups of blade images in the 270-degree direction as blade wear analysis images; 308 - splicing the tool head wear analysis image and the tool body wear analysis image to form a complete tool wear analysis image; 309 - Apply edge detection algorithm to the tool wear analysis image to obtain the wear boundary of the blade, obtain the length, width and depth of the blade wear area, and subtract the length, width and depth of the blade wear area from the length, width and depth of the preset standard corresponding area to obtain the length deviation CP of the blade wear area, the width deviation KP of the blade wear area, and the depth deviation SP of the blade wear area; Obtain the tool nose radius and the straightness of the cutting edge in the tool wear analysis image, and make a difference with the preset standard tool nose radius and the straightness of the cutting edge to obtain the tool nose radius wear deviation value DB and the cutting edge straightness wear deviation value DZ; Using the formula, , obtain the tool wear value MSZ, where k1 to k5 are weight coefficients, match the tool wear value MSZ with the preset wear degree level to obtain the tool wear degree level, and each preset wear degree level corresponds to a tool wear value interval; At the same time, the wear value and the wear degree level of the tool are sent to the display processor (14) for storage, and a red light display instruction is generated and sent to the display module. After receiving the instruction, the display module makes the display light (25) corresponding to the detection placement slot (13) turn on the red light display, and the staff can retrieve the wear value and the wear degree level of the tool after the detection is completed through the display processor (14); 310 - After the display light (25) corresponding to the detection placement slot (13) turns red, a continue detection instruction is generated and sent to the detection module, and the detection module will re-execute steps 301-309.
2. A visual inspection device for wear status of numerical control tools according to claim 1, characterized in that: The process of matching the display module with the appropriate placement slot (13) detection port according to the tool model information is as follows: 101 - Get the numbers of all the placement slots (13) on the front box plate (11); 102 - Obtaining the model and specification information of the tool, matching the model and specification information of the tool with the clamping range interval value of the clamping component (20) corresponding to the detection layer of the placement slot (13), and obtaining a matching detection layer capable of detecting the tool; 103- The matching detection layer performs a self-detection on the detection port of the placement slot (13) of the layer, and the specific process is as follows; 103-1: The detection port of the placement slot (13) is empty, and the indicator light (25) shows green; 103-2: If there is a tool to be tested in the detection port of the placement slot (13), the indicator light (25) displays a yellow light. If the tool to be tested in the detection port of the placement slot (13) is being tested, the indicator light (25) flashes yellow. 103-3: The tool in the detection port of the placement slot (13) has been detected, and the indicator light (25) shows red; 104 - The placement slot (13) numbers corresponding to the green and red lights displayed by the display light (25) are sent to the central processing module, and the central processing module controls the display processor (14) to display. The staff selects the placement slot (13) number to be opened through the display processor (14) according to the needs. After the selection is completed, the central processing module generates an opening instruction corresponding to the number and sends it to the positioning module.
3. A visual inspection device for wear status of numerical control tools according to claim 2, characterized in that: The process in which the positioning module controls the clamping assembly (20) to place the tool in the detection port of the placement slot (13) for detection is as follows: 201-When the positioning module receives the opening instruction corresponding to the number, it is necessary to open the electric slide plate (23) corresponding to the placement slot (13) to drive the closing plate (24) to move out of the placement slot (13), and the staff places the machine tool tool in the circular slot of the closing plate (24) and squeezes it in the direction of the circular slot of the closing plate (24); 202-When the pressure value at the circular groove of the closing plate (24) is greater than the preset extrusion pressure value, the positioning module controls the electric slider (28) at the closing plate (24) to drive the electric roller (29) to move in the direction of the tool handle to perform extrusion clamping. When the pressure value at the electric roller (29) reaches the preset fixed pressure value, the electric slider (28) stops driving the electric roller (29) to continue moving, completing the initial clamping work of the tool handle. After the initial clamping work is completed, a preliminary clamping completion signal is generated and sent to the positioning module; 203-When the positioning module receives the preliminary clamping completion signal, it generates a closing command, so that the electric slide (28) drives the tool to move in the direction of the clamping plate (26), so that the machine tool tool passes through the circular through slot in the middle of the clamping plate (26). When it is detected that the tool head passes through the circular through slot, the first electric slide rail (27), the electric slide (28) and the electric roller (29) at the clamping plate (26) will cooperate to clamp the tool handle again, that is, the pressure value at the electric roller (29) reaches the preset fixed pressure value, indicating that the clamping is stable. After the clamping stability is achieved, a clamping completion signal is generated and sent to the central processing module. The central processing module generates a corresponding inspection instruction for the placement slot (13) and sends it to the detection module, and generates a yellow light display instruction and sends it to the display module. The display module controls the display light (25) corresponding to the placement slot (13) to display a yellow light.
4. A method for detecting wear status of a numerical control tool according to any one of claims 1 to 3, characterized in that: The following steps are involved: Step 1: When inspecting the tool, the model of the tool is input into the central processing module through the display processor (14). The central processing module sends the tool model information to the display module. The display module matches the appropriate placement slot (13) detection port according to the tool model information. The staff selects the placement slot (13) number to be opened according to the display processor (14). After the selection is completed, the central processing module generates an opening instruction corresponding to the number and sends it to the positioning module; After the positioning module receives the opening instruction corresponding to the number of the placement slot (13), it controls the clamping assembly (20) to move the tool into the detection box (10) and clamp it, that is, the pressure value at the electric roller (29) reaches a preset fixed pressure value, indicating that the clamping is stable. After the clamping is stable, a clamping completion signal is generated and sent to the central processing module; Step 2: the central processing module generates a to-be-tested instruction corresponding to the placement slot (13) and sends it to the detection module. After the detection module receives the to-be-tested instruction, the detection module controls the high-definition camera (36) to collect images of the tool head and the blade body in the detection placement slot (13) under the action of the second electric slide rail (32) and the third electric slide rail (33), and then processes the collected tool head image and blade body image to form a complete tool wear analysis image. Step three, analyzing the tool wear analysis image to obtain the tool wear value, matching the tool wear value MSZ with a preset wear degree level to obtain the tool wear degree level, and sending the tool wear value and wear degree level to the display processor (14) for storage. The staff can retrieve the tool wear value and wear degree level through the display processor (14) to complete the detection.
Citation Information
Patent Citations
System and method for visual inspection on burrs and stain defects of radio frequency identification (RFID) antennae
CN103091331A
Method, a device, a computer device and a storage medium for shooting and supplementing light
CN109040611A
Cutter detection device and detection method thereof
CN111047578A
Ball-end milling tool wear detection device and application method
CN112496861A
Tool detection device and method capable of being integrated on tool magazine
CN116000701A
Cited By
Machine tool cutter wear detection device
CN224543994U
