Tool measurement method, tool measurement device, and machine tool

The tool measuring method corrects brightness inconsistencies in measurement images by comparing them to reference images, effectively eliminating the impact of diffracted light and ensuring accurate tool shape measurement in rotating states, particularly for tools with depth.

WO2024241923A1PCT designated stage expired Publication Date: 2024-11-28SHIBAURA MASCH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/017496
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-26
Filing Date
2024-05-10
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

Existing tool measuring methods face accuracy issues due to diffracted light from backlights during on-machine measurements of rotating tools, particularly for tools with depth, leading to decreased measurement precision.

Method used

A tool measuring method and machine tool that uses a camera and backlight to capture reference and measurement images, where the brightness of pixels in the measurement image is corrected to match the reference image, eliminating the influence of diffracted light through edge detection processing.

Benefits of technology

This approach enables accurate measurement of tool shapes in a rotating state by correcting brightness inconsistencies, thereby preventing a decrease in accuracy caused by diffracted light, especially for tools like PCD tools with depth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024017496_28112024_PF_FP_ABST
    Figure JP2024017496_28112024_PF_FP_ABST
Patent Text Reader

Abstract

A reference image (46), which is obtained by a camera (31) capturing only illumination light (34) from a back light (32) in a state where a tool (19) is outside the imaging range of the camera, and a measurement image (47), which is obtained by the camera (31) capturing a shadow produced by the tool (19) blocking the illumination light from the back light (32) in a state where the tool (19) is in the imaging range of the camera (31), are registered. The pixels of the measurement image (47) are sequentially examined. When a measured brightness of a pixel in the measurement image (47) is greater than a reference brightness of a pixel at the same position in the reference image (46), the brightness of the pixel in the measurement image (47) is corrected to the reference brightness, and a corrected image (48) image in which the brightness is corrected is registered. An edge detection process is performed with respect to the corrected image (48) to detect the shape of the contour of the tool (19).
Need to check novelty before this filing date? Find Prior Art

Description

Tool measurement method, tool measurement machine, and machine tool

[0001] The present invention relates to a tool measuring method, a tool measuring machine, and a machine tool.

[0002] Precision machining machines, especially machine tools, perform on-machine measurement of tools during machining operations, feeding the measurement results back to a control device to compensate for machining errors due to tool wear. A tool measuring machine that performs on-machine measurement has been developed that measures the shape of a rotating tool rather than a stationary one (see Patent Document 1). The tool measuring machine in Patent Document 1 uses a rotation angle sensor to capture multiple images (e.g., 360 images taken at one-degree intervals) of the spindle rotating at predetermined angles to obtain the tool contour (see paragraph 0035). Furthermore, the document describes placing a strobe on the opposite side of the camera across the tool to improve the accuracy of the image capture timing (see paragraph 0133) and to clarify the tool contour as a backlight (see paragraph 0140). Paragraph 0151 describes that when the capture time is long relative to the tool rotation speed, the tool contour in the image blurs, making it difficult to obtain an accurate shape (see Figure 8a), whereas the device in Patent Document 1 clearly defines the tool contour as described above (see Figure 8b). Patent Document 1 also describes combining all images obtained by photography to obtain a still image of the maximum outer shape of the tool, and performing tool correction based on the maximum outer shape of the tool (paragraph 0161).

[0003] Patent No. 7132349

[0004] The tool measuring machine described in Patent Document 1 superimposes multiple images for each rotation angle and selects the darkest part (the darkest shadow) of the tool's outline as the tool's outline. However, this method, particularly for tools with depth, such as PCD (polycrystalline diamond) tools, also superimposes tool blur (a blurred afterimage caused by movement in the depth direction during imaging), resulting in reduced measurement accuracy. The tool outline blur on the image can be corrected by image processing such as edge detection. However, when using a strobe as described in Patent Document 1, backlight diffracts near the tool edge, causing the tool outline to appear bright. The diffracted light then influences the brighter parts of the outline, causing subpixel calculations during edge detection to be biased toward the brighter side, resulting in reduced measurement accuracy.

[0005] An object of the present invention is to provide a tool measuring method, a tool measuring machine, and a machine tool that can measure the shape of a tool in a rotating state and prevent a decrease in accuracy due to diffracted light from a backlight.

[0006] The tool measurement method of the present invention uses a camera that photographs a tool attached to the spindle of a machine tool and a backlight that illuminates the tool from the opposite side to the camera, and measures the tool from an image photographed by the camera, wherein a reference image, in which only the illumination light from the backlight is photographed by the camera when the tool is out of the camera's shooting range, and a measurement image, in which the camera photographs the shadow of the tool blocking the illumination light from the backlight when the tool is within the camera's shooting range, are recorded, and pixels of the measurement image are successively inspected. If the measured brightness of a pixel in the measurement image is greater than the reference brightness of the pixel at the same position in the reference image, the brightness of the pixel in the measurement image is corrected to the reference brightness, the corrected image with the brightness corrected is recorded, and an edge detection process is performed on the corrected image to detect the contour shape of the tool.

[0007] The tool measuring machine of the present invention is a tool measuring machine having a camera that photographs a tool attached to a spindle of a machine tool, a backlight that illuminates the tool from the side opposite to the camera, and a measurement control unit that measures the tool from the image photographed by the camera, wherein the measurement control unit has: a reference image recording unit that records a reference image photographed by the camera of only the illumination light from the backlight when the tool is out of the shooting range of the camera; a measurement image recording unit that records a measurement image photographed by the camera of a shadow formed by the tool blocking the illumination light from the backlight when the tool is within the shooting range of the camera; a brightness correction unit that sequentially inspects pixels of the measurement image, and if the measured brightness of the pixel in the measurement image is greater than the reference brightness of the pixel at the same position in the reference image, corrects the brightness of the pixel in the measurement image to the reference brightness and records the brightness-corrected corrected image; and a contour detection unit that performs edge detection processing on the corrected image to detect the contour shape of the tool.

[0008] In the present invention, the reference image is captured when the tool is not within the camera's viewing range and only the backlight is illuminating the area. The brightness of each pixel in the reference image corresponds to the illuminating light, without the influence of diffracted light from the tool. On the other hand, the measurement image is captured when the tool is within the camera's viewing range. The tool's shadow and the illuminating light outside it are projected onto the measurement image, and the contour shape of the tool's shadow is detected using edge detection processing. In the measurement image, pixels with large differences in brightness are aligned along the contour shape. Among these, high-brightness pixels may exhibit high brightness fluctuations due to the influence of diffracted light from the tool. In contrast, the brightness of the pixel at the same position in the reference image is the reference brightness without the influence of diffracted light. Therefore, if the brightness of a pixel in the measurement image exceeds the reference brightness, the influence of diffracted light in each pixel in the measurement image can be eliminated by correcting it to the reference brightness. As a result, the tool shape in the rotating state can be measured and accuracy degradation due to diffracted light from the backlight can be prevented. To reduce the processing load, it is preferable to compare the brightness of each pixel by narrowing it down to the area including the tool contour rather than the entire screen of the measurement image. Furthermore, an image obtained by superimposing images taken at a plurality of angular positions can be used as the measurement image.

[0009] In the tool measuring machine of the present invention, the backlight is preferably a strobe that emits light when triggered by a signal output from a rotation sensor that detects rotation of the spindle of the machine tool.

[0010] In the tool measuring machine of the present invention, it is preferable that the measurement control unit uses the camera to capture a plurality of images as the measurement images, with the spindle of the machine tool rotated by a predetermined angle, and cause the contour detection unit to detect the contour shape and the brightness correction unit to correct the brightness for all of the captured measurement images.

[0011] The machine tool of the present invention includes a spindle to which a tool is attached and the tool measuring instrument of the present invention described above. With such a machine tool of the present invention, the same effects as those described with respect to the tool measuring instrument of the present invention can be obtained.

[0012] According to the present invention, it is possible to provide a tool measuring machine, a machine tool, and a tool measuring method that can measure the shape of a tool in a rotating state and prevent a decrease in accuracy due to diffracted light from a backlight.

[0013] FIG. 10 is an elevation view showing a machine tool according to an embodiment of the present invention. FIG. 11 is a plan view showing an image of a tool captured by the tool measuring machine according to the embodiment. FIG. 12 is a schematic view showing an image of a tool captured by the tool measuring machine according to the embodiment. FIG. 13 is a block diagram showing a measurement control unit of the tool measuring machine according to the embodiment. FIG. 14 is a flowchart showing a tool measurement procedure according to the embodiment. FIG. 15 is a schematic view showing a reference image according to the embodiment. FIG. 16 is a schematic view showing a measured image according to the embodiment. FIG. 17 is a schematic view showing a correction image according to the embodiment. FIG. 18 is a side view showing a tool captured in the embodiment. FIG. 19 is a plan view showing the tip shape of the tool of FIG.

[0014] An embodiment of the present invention will now be described with reference to the drawings. Fig. 1 shows a machine tool 10 to which the present invention is applied. The machine tool 10 has a table 12 on the upper surface of a bed 11, and a workpiece 13 is placed on the upper surface of the table 12. A gate-shaped frame 14 is installed on the upper surface of the bed 11 so as to straddle the table 12. A spindle head 17 is supported on a cross rail 15 of the frame 14 via a saddle 16. A spindle 18 is installed on the spindle head 17, and a tool 19 is attached to the tip of the spindle 18.

[0015] The tool 19 is moved relative to the workpiece 13 to any three-dimensional position by the X-axis movement of the table 12 relative to the bed 11, the Y-axis movement of the saddle 16 relative to the cross rail 15, and the Z-axis movement of the spindle head 17 relative to the saddle 16. The workpiece 13 is machined by the tool 19 when the spindle 18 is rotated by a main motor (not shown) housed in the spindle head 17. A control device 20 is connected to the machine tool 10, and the operation of the machine tool 10, including the axial movement and rotation of the tool 19, is controlled by the control device 20. The control device 20 is a so-called CNC (computer numerical control) device, and is configured with pre-installed software. It controls the machine tool 10 by executing a specified machining program, thereby machining the workpiece 13 into a predetermined shape. Wear of the tool 19 is unavoidable during machining in the machine tool 10. A tool measuring machine 30 is installed on the machine tool 10 to detect wear of the tool 19 while it is attached to the machine tool 10 during machining of the workpiece 13.

[0016] The tool measuring machine 30 has a camera 31 and a backlight 32 for photographing the tool 19. The camera 31 and the backlight 32 are installed facing each other on the upper surface of a base 33, and the tool 19 can be introduced between them. The camera 31 and the backlight 32 are installed on the periphery of the upper surface of the table 12 so as not to interfere with the machining of the workpiece 13 by the tool 19.

[0017] As shown in FIG. 2 , the tool measuring machine 30 emits illumination light 34 consisting of a parallel beam of light from the backlight 32 toward the camera 31 by activating the backlight 32. The backlight 32 is a strobe lighting device that uses a high-brightness LED (light-emitting diode) as a light source and can emit the strobe light with high precision at a specified timing. For this purpose, a rotation sensor (not shown) that detects the rotation of the spindle 18 is installed in the spindle head 17 of the machine tool 10, and the backlight 32 emits light in response to a signal output from the rotation sensor as a trigger. This strobe control is executed by a measurement operation control unit 41, which will be described later. The camera 31 is a semiconductor image pickup device that uses a CCD (charge-coupled device), and can detect the illumination light 34 when the backlight 32 emits the strobe light and output it as an image.

[0018] As shown in FIG. 3 , in the camera 31, the contour shape 191 of the tool 19 introduced between the camera 31 and the backlight 32 is projected by the illumination light 34 and captured as an image 311. The tool 19 introduced into the tool measuring machine 30 is rotated, and the backlight 32 is strobed at any rotation angle of the tool 19, thereby capturing the image 311 of the tool 19 at that angle. For example, by capturing 360 images at one degree intervals, 360 images 311 corresponding to one rotation of the tool 19 can be obtained. Note that a boundary 312 is assigned to the image 311 outside the contour shape 191 of the tool 19. The boundary 312 is used in the image processing described below.

[0019] Tool measuring machine 30 has a measurement control unit 40 within control device 20 in order to capture image 311 and measure the contour shape of tool 19 as described above. In Fig. 4, control device 20 is provided with an operation control unit 21 that controls the operation of machine tool 10, a machining program 22 that is executed by operation control unit 21 to machine workpiece 13, and measurement control unit 40. Measurement control unit 40 has a measurement operation control unit 41, a reference image recording unit 42, a measurement image recording unit 43, a brightness correction unit 44, and a contour detection unit 45. Furthermore, measurement control unit 40 has a memory area capable of recording reference image 46, measurement image 47, corrected image 48, and contour shape 49.

[0020] The measurement operation control unit 41 controls the operations of the camera 31 and backlight 32, and also controls the measurement operation control unit 41, reference image recording unit 42, measurement image recording unit 43, brightness correction unit 44, and contour detection unit 45 to perform the operations described below. The reference image recording unit 42 captures only the illumination light from the backlight 32 with the camera 31 when the tool 19 is out of the shooting range of the camera 31, and records a reference image 46. The measurement image recording unit 43 captures the shadow of the tool 19 blocking the illumination light 34 from the backlight 32 with the camera 31 when the tool 19 is within the shooting range of the camera 31, and records a measurement image 47. The brightness correction unit 44 sequentially inspects pixels in the measurement image 47, and if the brightness of a pixel in the measurement image 47 (measured brightness Lm) is greater than the brightness of a pixel at the same position in the reference image 46 (reference brightness Lr), it corrects the measured brightness Lm of the pixel in the measurement image 47 to the reference brightness Lr and records a brightness-corrected corrected image 48. A specific operation of the brightness correction unit 44 will be described later. The contour detection unit 45 performs edge detection processing on the corrected image 48 to detect the contour shape of the tool 19 and records it as a contour shape 49.

[0021] In the tool measuring machine 30, an image of the tool 19 is taken under the control of the measurement control unit 40, and the taken image is processed to measure the contour shape of the tool 19. In Fig. 5, the measurement control unit 40 operates the machine tool 10 using the measurement operation control unit 41 and the operation control unit 21 to move the tool 19 away from between the camera 31 and the backlight 32, so that the tool 19 is outside the shooting range of the camera 31 (process S1). In this state, only the illumination light 34 from the backlight 32 is incident on the camera 31, and the measurement control unit 40 causes the measurement operation control unit 41 to cause the camera 31 to take an image, and the reference image recording unit 42 records the image of the camera 31 in which only the illumination light 34 from the backlight 32 is taken as a reference image 46 (process S2).

[0022] Next, the measurement control unit 40 operates the machine tool 10 using the measurement operation control unit 41 and the operation control unit 21 to introduce the tool 19 between the camera 31 and the backlight 32, bringing the tool 19 into a state where it is within the shooting range of the camera 31 (process S3). In this state, illumination light 34, part of which is blocked by the tool 19, is incident on the camera 31, and the measurement control unit 40 causes the measurement operation control unit 41 to cause the camera 31 to take an image, and the measurement image recording unit 43 records the image of the illumination light 34 onto which the contour shape of the tool 19 is projected as a measurement image 47 (process S4). For example, the measurement image 47 may be formed by taking 360 images while rotating the tool 19 once each time, taking 360 images corresponding to one rotation of the tool 19, and superimposing these images to form the measurement image 47.

[0023] Once the reference image 46 and the measurement image 47 are obtained, the measurement control unit 40 causes the brightness correction unit 44 to correct the brightness of the measurement image 47. The brightness correction unit 44 sequentially inspects the pixels of the measurement image 47 and determines whether the brightness of the pixel in the measurement image 47 (measured brightness Lm) is greater than the brightness of the pixel at the same position in the reference image 46 (reference brightness Lr) (process S5). Then, for pixels whose measured brightness Lm is greater than the reference brightness Lr, the measured brightness Lm of the corresponding pixel is corrected to the reference brightness Lr (process S6).

[0024] These pixel-by-pixel inspections and corrections may be performed on all pixels in the measurement image 47, but may be limited to a region around the contour of the tool 19 in order to reduce the processing load. Such a region may be the boundary 312 assigned to the outside of the contour shape 191 of the tool 19 in FIG. 3 described above. The boundary 312 may be arbitrarily set by the user, or may be automatically set outside the rough contour of the tool 19 that appears in the measurement image 47.

[0025] 6 to 8 show an example of a specific luminance correction process performed by the luminance correction unit 44. In FIG. 6, each pixel 461 to 464 of the reference image 46 receives the illumination light 34 from the backlight 32, and the luminance of each pixel 461 (reference luminance Lr for each pixel) ranges from "198" to "204." In FIG. 7, the shadow of the tool 19 blocking the illumination light 34 appears as a contour shape 191 in the measurement image 47. The luminance (measured luminance Lm) of pixel 472 in the center of the contour shape 191 is "0," while the measured luminance Lm of pixel 473 on the periphery of the contour shape 191 ranges from "9" to "13." Further outside the periphery of the contour shape 191, the measured luminance Lm ranges from "236" to "246." The even further outside pixel 471 ranges from "198" to "204."

[0026] In brightness correction by the brightness corrector 44, the measured brightness Lm of each pixel in the measurement image 47 is read out in order, the corresponding reference brightness Lr of the reference image 46 is read out, and each is compared to generate a corrected image 48. For example, the measured brightness Lm of pixel 472 in the measurement image 47 is "0," which does not exceed the reference brightness Lr of "199" of pixel 462 (see FIG. 6 ) in the reference image 46 corresponding to pixel 472, so correction to the reference brightness Lr is not performed (see pixel 482 in FIG. 8 ). Similarly, the measured brightness Lm of pixel 473 in the measurement image 47 is "9," which does not exceed the reference brightness Lr of "200" of pixel 463 (see FIG. 6 ) in the reference image 46 corresponding to pixel 473, so correction to the reference brightness Lr is not performed (see pixel 483 in FIG. 8 ). On the other hand, the measured luminance Lm of pixel 474 in the measurement image 47 is "240," which exceeds the reference luminance Lr of "202" for pixel 464 in the reference image 46 corresponding to pixel 474 (see FIG. 6). In this case, the luminance correction unit 44 corrects the measured luminance Lm of pixel 474 in the measurement image 47 to "202," which is the reference luminance Lr for the corresponding pixel 464 (see pixel 484 in FIG. 8). By sequentially performing this process for each pixel, the measured luminance Lm exceeds the reference luminance Lr for the pixels shown in white in FIG. 7 (including pixel 474), and correction to the reference luminance Lr is performed. Note that for pixels such as 471, which are located far from the contour shape 191 arranged at the bottom of FIG. 7, the measured luminance Lm matches the reference luminance Lr, and correction to the reference luminance Lr is not performed (see pixel 481 in FIG. 8).

[0027] 5, once the brightness correction by the brightness correction unit 44 (process S6) has been completed as described above, a corrected image 48 including brightness-corrected pixels 484 and the like is recorded (process S7). Once the corrected image 48 has been obtained, the measurement control unit 40 performs necessary processing such as edge detection on the corrected image 48 using the contour detection unit 45, and records the obtained shape data as a contour shape 49 of the tool 19 (process S8).

[0028] According to the above-described embodiment, the following effects can be obtained. In this embodiment, the reference image 46 is captured when the tool 19 is not within the shooting range of the camera 31 and only the illumination light 34 from the backlight 32 is present, and the brightness of each pixel on the reference image 46 (reference brightness Lr) is a brightness equivalent to the illumination light 34, without the influence of diffracted light from the tool 19. On the other hand, the measurement image 47 is captured when the tool 19 is within the shooting range. The shadow (contour shape 191) of the tool 19 and the illumination light 34 outside it are projected onto the measurement image 47, and the contour shape of the shadow of the tool 19 is detected by edge detection processing. In the measurement image 47, pixels with large differences in brightness are lined up along the contour shape 191, and among these, the brightness of high-brightness pixels may fluctuate significantly due to the influence of diffracted light from the tool. In contrast, the brightness of the pixel at the same position in the reference image 46 is the reference brightness Lr when there is no influence of diffracted light, and therefore, when the measured brightness Lm of a pixel in the measurement image 47 exceeds the reference brightness Lr, the measured brightness Lm is corrected to the reference brightness Lr, thereby eliminating the influence of diffracted light in each pixel of the measurement image 47. In the corrected image 48, the influence of the diffracted light of the backlight 32 is eliminated, and it is possible to prevent a decrease in accuracy due to the diffracted light of the backlight 32 when measuring the contour shape of the rotating tool 19 by edge detection. As a result, it is possible to measure the contour shape of the rotating tool 19 while preventing a decrease in accuracy due to the diffracted light of the backlight 32.

[0029] In the brightness correction (process S6) by the brightness correction unit 44, the brightness comparison for each pixel is narrowed down to an area including the contour shape 191 of the tool 19 (such as the boundary 312 in Figure 3) rather than the entire screen of the measurement image, thereby reducing the processing load on the measurement control unit 40.

[0030] As described above, this embodiment allows the contour shape of the rotating tool 19 to be measured, while preventing accuracy degradation due to diffracted light from the backlight 32. The effects of this embodiment are particularly effective for deep tools such as PCD tools (polycrystalline diamond sintered tools) among the tools 19. In FIGS. 9 and 10 , the cross-sectional shape of a PCD tool 50 is a regular hexagon, and the tapered end face 51 at the tip is also a regular hexagon, with this regular hexagon having a maximum diameter D. Three grooves 52 with a width W are formed on the end face 51, connecting opposite sides of the regular hexagon. Six protrusions 53 are formed on the end face 51 at the vertices of the regular hexagon where the grooves 52 do not pass. A polycrystalline diamond sintered coating is formed on the surfaces and side faces of these protrusions 53.

[0031] Such a tool 50 is mounted on the machine tool 10 and rotated in the R direction to machine the workpiece 13 (see FIG. 1 ). Furthermore, the tool measuring machine 30 measures the contour shape of the tool 50 while it is mounted on the machine tool 10. In contour shape measurement, a reference image 46 of the tool 50 is recorded (steps S1 and S2 in FIG. 5 ), a measurement image 47 is recorded (steps S3 and S4), pixel brightness is adjusted (steps S5 and S6), and a corrected image 48 is recorded (step S7), and the contour shape is detected by edge detection (step S8). The tip of the rotating tool 50 has a depth-wise thickness equal to the maximum diameter D, and the measurement image 47 detected within the boundary 312 suffers from depth-wise blur (a blurred afterimage due to movement in the depth direction during imaging). Such blur can be corrected by detecting the contour shape using edge detection (step S8). Furthermore, by adjusting the pixel brightness (steps S5 to S6) prior to edge detection, it is possible to eliminate the influence of diffracted light from the backlight 32. In this way, by performing edge detection on the corrected image 48 in which the influence of diffracted light from the backlight 32 has been corrected, it is possible to prevent a decrease in accuracy in measuring the contour shape of the tool 50.

[0032] The present invention is not limited to the above-described embodiment, and modifications within the scope of achieving the object of the present invention are included in the present invention. In the above embodiment, the tool 19 is rotated to capture multiple images at different angles, and these images are then superimposed to create the measurement image 47. However, a single image showing the contour shape of the tool 19 may be used. The backlight 32 is not limited to an LED light source and may be of another type. The backlight 32 does not need to be a strobe light source, for example, if the camera 31 has high responsiveness. The camera 31 is not limited to a CCD type and may be of another type as long as it can achieve high resolution and fast response. The camera 31 and backlight 32 do not need to be arranged opposite each other on the same base 33, but may be individually supported on the table 12. The camera 31 and backlight 32 do not need to be supported on the table 12, but may be supported by a robot arm and positioned close to or at a distance from the tool 19.

[0033] The present invention can be used in a tool measuring method, a tool measuring machine, and a machine tool.

[0034] 10...machine tool, 11...bed, 12...table, 13...workpiece, 14...frame, 15...cross rail, 16...saddle, 17...spindle head, 18...spindle, 19...tool, 191...contour shape, 20...control device, 21...operation control unit, 22...machining program, 30...tool measuring machine, 31...camera, 311...image, 312...boundary, 32...backlight, 33...base, 34...illumination light, 40...measurement control unit, 41...measurement operation control unit, 42...reference image recording unit , 43...measured image recording unit, 44...brightness correction unit, 45...contour detection unit, 46...reference image, 47...measured image, 48...corrected image, 49...contour shape, 461, 462, 463, 464, 471, 472, 473, 474, 481, 482, 483, 484...pixels, Lm...measured brightness, Lr...reference brightness, S1, S2, S3, S4, S6, S7, S8...processing, 50...tool, 51...end surface, 52...groove portion, 53...protrusion portion, D...maximum diameter, R...rotation direction, W...width.

Claims

1. A tool measurement method using a camera for photographing a tool attached to a spindle of a machine tool and a backlight for illuminating the tool from the opposite side to the camera, and measuring the tool from an image captured by the camera, comprising: recording a reference image captured by the camera showing only the illumination light from the backlight when the tool is out of the camera's shooting range; and a measurement image captured by the camera showing the shadow of the tool blocking the illumination light from the backlight when the tool is within the camera's shooting range; sequentially inspecting pixels of the measurement image; and if the measured brightness of the pixel in the measurement image is greater than the reference brightness of the pixel at the same position in the reference image, correcting the brightness of the pixel in the measurement image to the reference brightness, recording the corrected image with the brightness corrected; and performing edge detection processing on the corrected image to detect the contour shape of the tool.

2. A tool measuring machine having a camera for photographing a tool attached to a spindle of a machine tool, a backlight for illuminating the tool from the side opposite to the camera, and a measurement control unit for measuring the tool from the image photographed by the camera, wherein the measurement control unit has: a reference image recording unit for recording a reference image photographed by the camera of only the illumination light from the backlight when the tool is out of the shooting range of the camera; a measurement image recording unit for recording a measurement image photographed by the camera of the shadow of the tool blocking the illumination light from the backlight when the tool is within the shooting range of the camera; a brightness correction unit for sequentially inspecting pixels of the measurement image, and if the measured luminance of the pixel in the measurement image is greater than the reference luminance of the pixel at the same position in the reference image, correcting the luminance of the pixel in the measurement image to the reference luminance and recording a corrected image with the luminance corrected; and a contour detection unit for performing edge detection processing on the corrected image to detect the contour shape of the tool.

3. A tool measuring machine according to claim 2, wherein the backlight is a strobe that emits light when triggered by a signal output from a rotation sensor that detects the rotation of the spindle of the machine tool.

4. A tool measuring machine as claimed in claim 2 or 3, wherein the measurement control unit captures, as the measurement images, a plurality of images with the camera in a state in which the spindle of the machine tool is rotated by a predetermined angle at a time, and causes the contour detection unit to detect the contour shape and the brightness correction unit to correct the brightness for all of the captured measurement images.

5. A machine tool having a spindle to which a tool is attached and the tool measuring machine according to claim 2.

Citation Information

Patent Citations

  • Threshold setting method for image processor

    JP1995270136A

  • Binarizing device

    JP1999066305A

  • Imaging type tool measuring instrument, and method of detecting lead-in of cutting edge in imaging type tool measurement

    JP2012086350A

  • A method for positioning a machine tool within the field of view of a visual system, and related machine tools

    JP2015518213A

  • On-machine measurement method for tool

    JP2016206120A