Tool measuring device and tool measuring method
By using a tool measuring device and method, and employing a camera and a spindle rotation angle sensor to calculate the offset of the rotary tool, the machining accuracy problem caused by the offset of the protrusion in the rotary tool is solved, and the shape stability measurement and accuracy improvement of the rotary tool are realized.
Patent Information
- Application Number
- CN202211287044.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-10-20
- Filing Date
- 2022-10-20
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-10-20
AI Technical Summary
In rotary tools, the offset between the outer surface of multiple protrusions and the axis of rotation leads to a decrease in machining accuracy. In particular, tool deformation caused by centrifugal force, thermal deformation and other reasons during rotation makes it difficult to accurately measure the offset of the protrusions.
A tool measuring device is used to capture multiple phase images of the tool using a camera. Combined with a spindle rotation angle sensor and a control device, the offset of the tool's moving part and shaft is calculated. The tool's offset is obtained at different rotation angles using a shooting command control unit and a calculation unit.
It can accurately measure the offset between the outer surface of multiple protrusions in a rotary tool and the axis of rotation, improving machining accuracy and ensuring the shape stability of the tool during rotation.
Smart Images

Figure CN115990791B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to tool measuring devices and tool measuring methods. Background Technology
[0002] Traditionally, measuring devices for rotary tools used in machine tools have been provided. These tool measuring devices are used in the measurement of tools that include multiple protrusions, such as tools that include multiple cutting edges, specifically end mills of milling machines.
[0003] Existing technical documents
[0004] Patent documents
[0005] Patent Document 1: Japanese Patent Application Publication No. 2007-49489. Summary of the Invention
[0006] Problems to be solved by the invention
[0007] Regarding tools comprising multiple protrusions, such as tools comprising multiple cutting edges as multiple protrusions, it is conceivable that, due to variations in the shapes of the protrusions, the offset of the tool's central axis relative to the axis of rotation input to the tool, etc., when comparing multiple protrusions included in the tool, a shift will occur in the distance between the portion of each protrusion's outer surface in contact with the workpiece and the axis of rotation. If such a shift is large, the machining accuracy performed by the tool will decrease. Therefore, it is necessary to know the amount of the aforementioned shift when comparing multiple protrusions included in the tool. In particular, it is conceivable that a rotating tool may deform due to centrifugal force, thermal displacement, etc., so it is necessary to know the amount of the aforementioned shift for a rotating tool.
[0008] This disclosure is made with the consideration of providing a tool measuring device and a tool measuring method that can measure the amount of offset between the outer surface of each protrusion and the axis of rotation when comparing multiple protrusions in a rotating tool.
[0009] Methods used to solve problems
[0010] This disclosure discloses a tool measuring device for measuring a tool mounted on a machine tool spindle. It comprises: a camera for capturing images of the tool; a spindle rotation angle sensor for detecting the rotation angle of the spindle; and a control device. The tool has an actuation unit including at least two protrusions: a first protrusion and a second protrusion. The control device includes a shooting command control unit that outputs a shooting command to the camera corresponding to the rotation angle of the spindle detected by the spindle rotation angle sensor, and a calculation unit that performs calculations based on the images captured by the camera. The shooting command control unit outputs shooting commands to the camera at multiple phases with different rotation angles of the spindle. Based on the multiple images captured at each of the multiple phases, the calculation unit calculates a first distance where the distance between the rotation axis of the spindle and the outer surface of the first protrusion is maximized, and a first phase at that time; and a second distance where the distance between the rotation axis of the spindle and the outer surface of the second protrusion is maximized, and a second phase at that time. It then calculates an actuation unit offset equivalent to the difference between the first and second distances.
[0011] This disclosure relates to a tool measuring device, wherein the aforementioned shooting command control unit outputs the aforementioned shooting command at different rotations of the aforementioned tool until the full phase range of 0° to less than 360° is captured.
[0012] This disclosure relates to a tool measuring device, wherein the aforementioned actuating part includes two or more of the aforementioned protrusions, wherein the protrusion with the largest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned spindle is designated as the first protrusion, and the protrusion with the smallest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned spindle is designated as the second protrusion.
[0013] This disclosure relates to a tool measuring device. The tool has a cylindrical shaft extending from the aforementioned actuating part in the direction of the rotation axis of the aforementioned main shaft. The shaft is fixed at one end to the aforementioned main shaft and connected to the aforementioned actuating part at the other end. The aforementioned calculation unit calculates the difference between the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the first phase and the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the second phase, which is the shaft offset. Furthermore, based on the difference between the aforementioned actuating part offset and the aforementioned shaft offset, the distortion of the aforementioned actuating part is calculated.
[0014] This disclosure discloses a tool measurement method for measuring a tool mounted on a machine tool spindle. The tool has an actuating part including at least two protrusions, a first protrusion and a second protrusion. The tool measurement method includes: an imaging step, detecting the rotation angle of the spindle and, corresponding to the detected rotation angle of the spindle, imaging the tool at multiple phases with different rotation angles of the spindle; and a calculation step, based on the multiple images captured at the multiple phases in the imaging step, determining a first distance and a first phase where the distance between the rotation axis of the spindle and the outer surface of the first protrusion is maximized, and a second distance and a second phase where the distance between the rotation axis of the spindle and the outer surface of the second protrusion is maximized, and calculating an actuating part offset equivalent to the difference between the first distance and the second distance.
[0015] This disclosure is a tool measurement method in which, during the aforementioned shooting process, the aforementioned tool is photographed in different rotations until the full phase range of 0° to less than 360° is captured.
[0016] This disclosure is a tool measurement method, wherein the aforementioned action part includes two or more of the aforementioned protrusions, wherein the protrusion with the largest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned spindle is designated as the first protrusion, and the protrusion with the smallest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned spindle is designated as the second protrusion.
[0017] This disclosure discloses a tool measurement method. The tool has a cylindrical shaft extending from the aforementioned actuating part in the direction of the rotation axis of the aforementioned main shaft. The shaft is fixed at one end to the aforementioned main shaft and connected to the aforementioned actuating part at the other end. The aforementioned calculation steps include: a shaft offset calculation step, which calculates the difference between the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the first phase and the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the second phase, i.e., the shaft offset; and a distortion calculation step, which calculates the distortion of the aforementioned actuating part based on the difference between the aforementioned actuating part offset and the aforementioned shaft offset.
[0018] Invention Effects
[0019] As described above, according to this disclosure, a tool measuring device and a tool measuring method are provided that can measure the amount of offset between the outer surface of each protrusion and the axis of rotation when comparing multiple protrusions in a rotating tool. Attached Figure Description
[0020] Figure 1 This is a schematic diagram showing the tool measuring device and machine tool according to embodiments of the present disclosure.
[0021] Figure 2 This is a schematic cross-sectional view of the spindle head of a machine tool according to an embodiment of the present disclosure.
[0022] Figure 3 This is a cross-sectional view showing an example of a tool for implementing the present disclosure.
[0023] Figure 4 This is a cross-sectional view showing an example of a tool for implementing the present disclosure.
[0024] Figure 5 It is a diagram showing the condition of a measuring tool using a measuring device.
[0025] Figure 6 It is a diagram showing the positional relationship of tools, cameras, and lighting devices.
[0026] Figure 7A This is an example of an image taken during the shooting process.
[0027] Figure 7B This is an example of an image taken during the shooting process.
[0028] Figure 8 It is a diagram showing the changes in the phase in which the image is captured and the corresponding changes in the distance between the axis of rotation of the main axis and the outer surface of the moving part in the image captured at each phase.
[0029] Figure 9 It is a diagram showing the changes in the phase in which the image is captured and the corresponding changes in the distance between the axis of rotation of the main axis and the outer surface of the shaft in the images captured at each phase.
[0030] Figure 10A This is a schematic sectional view of the spindle head of a machine tool, showing a modified example.
[0031] Figure 10B This is a schematic diagram showing a spindle rotation angle sensor for a machine tool, specifically a modified example.
[0032] Figure 10C This is a diagram showing the continuous pulse signals obtained from the spindle rotation angle sensor of the machine tool in the relevant variant example. Detailed Implementation
[0033] First, the machine tool 2, which is equipped with a tool 12 measured by the tool measuring device 1 of the present disclosure, will be described. Figure 1 This is a schematic diagram showing the tool measuring device 1 and machine tool 2 according to embodiments of the present disclosure. Figure 1The machine tool 2 shown has a worktable 16 located on the upper surface of a bed 18 and a portal column 10, on which a spindle head 4 is supported via a saddle 6 on a crossrail 8. The spindle head 4 has a spindle 11. A tool 12 is mounted on the spindle 11 of the machine tool 2.
[0034] Here, on one side, refer to Figure 2 The spindle head 4 of machine tool 2 will be explained in more detail. Figure 2 This is a schematic cross-sectional view showing the spindle head 4 of the machine tool 2 according to an embodiment of the present disclosure. The spindle head 4 is of the type with a built-in motor and is composed of a housing 31 and a spindle 11. The spindle 11 is formed into a cylindrical shape and is rotatably supported in the housing 31 by air bearings. Figure 2 The dashed line marked with reference numeral L1 in the figure represents the axis that serves as the center of rotation for the spindle 11. This axis, which serves as the center of rotation for the spindle 11, is called the axis of rotation L1 of the spindle 11. The axis of rotation L1 of the spindle 11 can also be described as the axis of rotation input from the spindle 11 to the tool 12. The direction in which the axis of rotation L1 of the spindle 11 extends is called the axial direction d1. Figure 2 In the example shown, the axis direction d1 is parallel to the Z direction.
[0035] At one end of the axis d1 extending from the rotation axis L1 of the main shaft 11 ( Figure 2 At the lower end of the spindle 11, a tool holding part 33 is provided. The tool holding part 33 holds the tool 12 in a flexible manner. By holding the tool 12 in the tool holding part 33 in the spindle 11, the tool 12 can be set on the spindle 11. At the other end in the longitudinal direction of the spindle 11 ( Figure 2 The rotor 37 of the motor 35 is integrally mounted on the upper end of the housing 31. The stator 39 of the motor 35 is mounted on the outside of the rotor 37. The stator 39 is integrally mounted on the housing 31, slightly separated from the rotor 37. As the rotor 37 in the motor 35 rotates relative to the stator 39, the spindle 11, which is integral with the rotor 37, rotates. As the spindle 11 rotates, the tool 12 mounted on the spindle 11 also rotates.
[0036] For ease of explanation, we define the horizontal direction as the X direction (X-axis direction), the horizontal direction orthogonal to the X direction as the Y direction (Y-axis direction), and the vertical direction orthogonal to both the X and Y directions as the Z direction (Z-axis direction).
[0037] The worktable 16 is movable relative to the base 18 in the X-axis direction. The slide saddle 6 is movable along the transverse guide rail 8 in the Y-axis direction. The spindle head 4 is movable relative to the slide saddle 6 in the Z-axis direction. By moving these three axes, the tool 12 can be moved three-dimensionally relative to the workpiece 14, which is placed on the worktable 16 and is to be machined by the machine tool 2. With the tool 12 rotated by rotating the spindle 11, the tool 12 comes into contact with the workpiece 14, thereby enabling the workpiece 14 to be machined.
[0038] Next, the tool 12 set on machine tool 2 will be described. For example... Figure 2 As shown, tool 12 has an actuating part 46 and a shaft part 49. The actuating part 46 is the part having a plurality of protrusions 48, which will be described later. Figure 2 In the example shown, the action part 46, as one example of multiple protrusions 48, has multiple blades 48c. Furthermore, in Figure 2 In this diagram, the specific shapes of the multiple protrusions 48 of the actuating part 46 are omitted; only the approximate shape of the actuating part 46 is shown. The shaft part 49 extends from the actuating part 46 along the rotation axis L1 of the main shaft 11 in the direction of the rotation axis (…). Figure 2 A cylindrical portion extending along the axial direction d1), fixed at one end to the main shaft 11, and connected to the actuating part 46 at the other end. Figure 2 In the example shown, one end of the shaft 49 in the axial direction d1 ( Figure 2 The upper end of the shaft 49 is held by the tool holding part 33 in the spindle 11, and the shaft part 49 is fixed to the spindle 11.
[0039] Figure 3 This is a diagram showing an example of a tool 12 set on the spindle 11 of a machine tool 2. Figure 3 It is a cross-sectional view taken in a section perpendicular to the axis of rotation L1 of the spindle 11, with the tool 12 set on the spindle 11 of the machine tool 2. Figure 3 The point marked with reference numeral L1 in the attached diagram indicates the position of the rotation axis L1 of the main shaft 11. For example... Figure 3 As shown, the tool 12 has an actuating part 46 including at least a first protrusion 481 and a second protrusion 482. That is, in Figure 3 In the example shown, the action part 46 includes two protrusions 48: a first protrusion 481 and a second protrusion 482.
[0040] Figure 4 This indicates that the tool 12 is set on the spindle 11 of the machine tool 2. Figure 3 The example shown is a different one. Figure 4 It is a cross-sectional view taken in a section perpendicular to the axis of rotation L1 of the spindle 11, with the tool 12 set on the spindle 11 of the machine tool 2. Figure 4This corresponds to the cross section of tool 12 at the reference position L5, which will be described later. Figure 4 The point marked with reference numeral L1 in the attached diagram indicates the position of the rotation axis L1 of the main shaft 11. For example... Figure 4 As shown, the action part 46 may also include three or more protrusions 48. In Figure 4 In the example shown, the action part 46 includes three protrusions 48: a first protrusion 481, a second protrusion 482, and a third protrusion 483.
[0041] exist Figure 3 and Figure 4 In the example shown, the actuating part 46 has a cylindrical base 45. Figure 3 and Figure 4 In the example shown, for convenience, the boundary between the protrusion 48 and the base 45 in the actuating part 46 is indicated by a dashed line with reference numeral 45a. In this specification, a "protrusion" refers to the portion of the tool 12 that protrudes radially relative to the cylindrical base 45 centered on the rotation axis L1. Furthermore, the plurality of protrusions 48 are configured to spirally surround the cylindrical base 45. Therefore, in Figure 3 and Figure 4 In the cross-sectional view shown, in which the tool 12 is cut in a section perpendicular to the rotation axis L1 of the spindle 11, a plurality of protrusions 48 are arranged in the surrounding direction d2 around the rotation axis L1 of the spindle 11.
[0042] Tool 12 is, for example, a tool used when the surface of the core or cavity of a metal mold is formed by cutting. The cutting process described above is performed, for example, to finally finish the surface of the core or cavity of the metal mold. With the help of the cutting process described above, the surface of the core or cavity of the metal mold becomes like a mirror.
[0043] Figure 3 and Figure 4 The tool 12 shown is a cutting tool 12 with multiple cutting edges 48c as multiple protrusions 48 of the moving part 46. Although not shown, the tool 12 can also be a grinding tool 12 for a workpiece 14 with multiple protrusions as multiple protrusions 48 of the moving part 46.
[0044] Tool 12 can be, for example, an end mill. The outer diameter of the end mill used as tool 12 is, for example, about 1 mm.
[0045] In addition, when using an end mill as tool 12, the end mill can also be a ball end mill, a square end mill, or a radius end mill. Furthermore, the end mill can also be a whetstone-type end mill such as a PCD tool.
[0046] Additionally, the rotational speed of tool 12 is, for example, around 60,000 revolutions per minute. The maximum rotational speed of tool 12 can be set to around 120,000 revolutions per minute.
[0047] Figure 3 and Figure 4 The distance w1 shown is the maximum distance between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the first protrusion 481. In embodiments of this disclosure, the maximum distance w1 among the distances between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the first protrusion 481 is referred to as the first distance w1. Figure 3 and Figure 4 In the example shown, the first distance w1 is equivalent to the distance between the rotation axis L1 of the main shaft 11 and the front end 48b of the first protrusion 481. Figure 3 and Figure 4 The distance w2 shown is the maximum distance between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the second protrusion 482. In embodiments of this disclosure, the maximum distance w2 among the distances between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the second protrusion 482 is referred to as the second distance w2. Figure 3 and Figure 4 In the example shown, the second distance w2 corresponds to the distance between the rotation axis L1 of the spindle 11 and the front end 48b of the second protrusion 482. Furthermore, as described later, if the position of the rotation axis L1 of the spindle 11 of the machine tool 2 relative to a portion other than the spindle 11 is deviated from a standard position, the first distance w1 and the second distance w2 can be determined as follows: The first distance w1 can also be set as the maximum distance between the rotation axis L1 of the imaginary spindle 11 in the first protrusion 481, which is in a standard position, and the outer surface 48a of the protrusion 48. Similarly, the second distance w2 can also be set as the maximum distance between the rotation axis L1 of the imaginary spindle 11 in the second protrusion 482, which is in a standard position, and the outer surface 48a of the protrusion 48.
[0048] In an ideally shaped tool 12, the maximum distance between the rotation axis L1 of the spindle 11 of each of the plurality of protrusions 48 and the outer surface 48a of the protrusion 48 is equal. For example, the maximum distance between the rotation axis L1 of the spindle 11 and the outer surface 48a of the protrusion 48 in the first protrusion 481, i.e., the first distance w1, and the maximum distance between the rotation axis L1 of the spindle 11 and the outer surface 48a of the protrusion 48 in the second protrusion 482, i.e., the second distance w2, is equal. However, in actual tools, such as... Figure 3 and Figure 4As shown, there are cases where the maximum distance between the rotation axis L1 of the main shaft 11 in each of the multiple protrusions 48 and the outer surface 48a of the protrusion 48 is not equal. Figure 3 and Figure 4 In the example shown, the first distance w1 and the second distance w2 are not equal.
[0049] When the tool 12 is rotated to machine the workpiece 14, the maximum distance between the rotation axis L1 of the spindle 11 of each of the plurality of protrusions 48 and the outer surface 48a of the protrusion 48 is not equal. The following reasons can be considered: It can be assumed that the shape of the moving part 46 is distorted due to manufacturing errors of the tool 12, deformation of the tool 12 caused by heat generated in the tool 12 during machining of the workpiece 14, deformation of the tool 12 caused by centrifugal force, and changes in the shape of the tool 12 due to wear. Figure 3 and Figure 4 In the example shown, due to the shape distortion of the action part 46, the shapes of the first protrusion 481 and the second protrusion 482 are different, so the first distance w1 and the second distance w2 are not equal.
[0050] When the tool 12 is rotated to process the workpiece 14, the following reasons can be considered as to why the maximum distance between the rotation axis L1 of the spindle 11 of each of the plurality of protrusions 48 and the outer surface 48a of the protrusion 48 is not equal. It can also be considered that the position of the tool 12 relative to the spindle 11 is offset from an ideal position. For example, it can be considered that the central axis L2 of the tool 12, described later, is offset relative to the rotation axis L1 of the spindle 11. Specifically, it can be considered that the central axis L2 of the tool 12 is inclined relative to the rotation axis L1 of the spindle 11. Furthermore, it can be considered that in the portion of the tool 12 set on the spindle 11, specifically the shaft portion 49 of the tool 12, in the portion held by the tool holding portion 33 in the spindle 11, the central axis L2 of the tool 12 is eccentric relative to the rotation axis L1 of the spindle 11. Furthermore, it can be conceived that, because the rotation axis L1 of the spindle 11 of the machine tool 2 is offset from the standard position relative to the portion other than the spindle 11, the maximum distance between the rotation axis L1 of the imaginary spindle 11 of each of the plurality of protrusions 48, which is in the standard position, and the outer surface 48a of the protrusion 48, is not equal.
[0051] exist Figure 3 and Figure 4In the example shown, the protrusion 48 with the largest distance between its outer surface 48a and the rotation axis L1 of the main shaft 11 is designated as the first protrusion 481. Furthermore, the protrusion 48 with the smallest distance between its outer surface 48a and the rotation axis L1 of the main shaft 11 is designated as the second protrusion 482. In other words, among the protrusions 48 included in the actuating unit 46, the largest distance between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the protrusion 48 is the largest in the first protrusion 481 and the smallest in the second protrusion 482.
[0052] Next, the tool measuring device 1 of this disclosure will be described. The tool measuring device 1 measures the tool 12 set on the spindle 11 of the machine tool 2 as described above. Figure 1 In the middle, the tool measuring device 1 is set at the end of the worktable 16.
[0053] Figure 5 A diagram showing the measuring tool 12 using the measuring device 1. (See diagram for example.) Figure 2 and Figure 5 As shown, the tool measuring device 1 includes a camera 22 for photographing the tool 12, a spindle rotation angle sensor 23 for detecting the rotation angle of the spindle 11, and a control device 20. The tool measuring device 1 also includes an illumination device 24. The tool 12 is moved using the three axes previously shown. Figure 5 At the location shown, the measuring tool 12 can be measured using the measuring device 1. Figure 5 As shown, the tool measuring device 1 measures the state of the tool 12 located between the camera 22 and the lighting device 24.
[0054] The spindle rotation angle sensor 23 is a sensor that detects the rotation angle of the spindle 11. As an example, the spindle rotation angle sensor 23 determines one phase of the rotation of the spindle 11 as a reference phase and detects the rotation angle of the spindle 11 from the reference phase. The spindle rotation angle sensor 23 is disposed on the spindle 11.
[0055] The spindle rotation angle sensor 23 is, for example, a rotary encoder configured to detect the rotation angle of the spindle 11. The resolution of the rotary encoder can be, for example, between 0.1° and 5°, or less than 0.1°. The resolution of the rotary encoder is, for example, 1°. By using the rotary encoder as the spindle rotation angle sensor 23, the image capture command control unit 25 of the control device 20 outputs an image capture command corresponding to the rotation angle of the spindle 11 detected by the rotary encoder, thereby capturing an appropriate image of the tool 12.
[0056] The control device 20 controls the tool measuring device 1, but it can also control the tool measuring device 1 and connect to the machine tool 2 to control the machine tool 2. In this case, the control device 20 can also control the spindle speed, rotation angle, and other positioning of the spindle 11. The control device 20 is configured, for example, to include a CPU and a memory (not shown).
[0057] The control device 20 includes: a shooting command control unit 25, which outputs shooting commands to the camera 22 corresponding to the rotation angle of the spindle 11 detected by the spindle rotation angle sensor 23; and a calculation unit 27, which performs calculations based on the images captured by the camera 22. The shooting command control unit 25 outputs shooting commands to the camera 22 at multiple phases with different rotation angles of the spindle 11. The calculation unit 27, corresponding to the shooting commands from the shooting command control unit 25, calculates the motion unit offset w6 (described later) based on multiple images captured by the camera 22 at each of the multiple phases. The specific method by which the shooting command control unit 25 outputs shooting commands will be described later in the description of the tool measurement method using the tool measuring device 1. The specific method by which the calculation unit 27 calculates the motion unit offset w6 will also be described later in the description of the tool measurement method using the tool measuring device 1.
[0058] Camera 22 Figure 5 The tool 12 is photographed as shown, positioned between the camera 22 and the illumination device 24. Specifically, the camera 22 is a device that captures an image (still image) of the rotating tool 12. The camera 22 is, for example, a digital camera, used to capture the tool 12 with a global shutter. As an example, the camera 22 may also have a high-speed shutter, enabling still image capture even when the tool 12 is rotating at several thousand revolutions per minute. In this case, the shutter speed of the camera 22 when photographing the tool 12 results in a relatively short time for the image of the rotating tool 12 to become approximately a still image. Furthermore, a zoom lens can be mounted on the camera 22, allowing the magnification to be controlled by the control device 20. This is achieved through methods such as... Figure 5 As shown, light from the illumination device 24 is shone from behind the tool 12 to capture an image, and the tool 12 is captured as a shadow.
[0059] Next, the lighting device 24 will be described. Figure 6 This is a diagram showing the positional relationship of the tool 12, camera 22, and lighting device 24 in relation to embodiments of this disclosure. Figure 6 This indicates the positions of the tool 12, camera 22, and lighting device 24 as viewed from a line of sight parallel to the axis direction d1. Figure 6In the example shown, the lighting device 24 includes a stroboscopic light 61, and a camera 22 is positioned between the lighting device 24 and the rotating tool 12. In this configuration, the tool 12 can be photographed by the camera 22 by directing the stroboscopic light 61 towards both the tool 12 and the camera 22. In this case, the stroboscopic light 61 is configured to emit parallel light 79 towards the tool 12.
[0060] When the camera 22 is used to photograph the tool 12, the flash 61 functions as a back light, thereby enabling the camera 22 to capture an image of the tool 12 (silhouette).
[0061] Next, the structure of the camera 22 and the flash 61 will be further explained. The direction of travel of the parallel light 79 emitted by the flash 61 is, for example, the X direction. The direction of travel of the parallel light 79 emitted by the flash 61 is orthogonal to the rotation axis L1 of the main axis 11. The optical axis 71 of the lens 69 of the camera 22 extends parallel to the direction of travel of the parallel light 79 emitted by the flash 61.
[0062] As described above, the camera 22 and the lighting device 24 are arranged such that the rotating tool 12 is sandwiched between the camera 22 and the lighting device 24. Then, by taking a picture of the tool 12 by the camera 22 based on the flash 61 emitting parallel light 79 toward the tool 12 and the camera 22, it is possible to capture an image of the tool 12 that does not differ from the actual shape of the tool 12.
[0063] By capturing the image of the camera 12 as a still image, it is easy to capture an image that clearly shows the shape of the camera 12.
[0064] As described above, the lighting device 24 includes a flash unit 61. The lighting device 24 with the flash unit 61 is preferably used when the tool 12 is rotating at a high speed, particularly when the tool 12 is rotating at a speed of 10,000 revolutions per minute or more. When the lighting device 24 includes the flash unit 61, the flash output can be adjusted so that a clearer still image of the tool 12 can be obtained by shooting with the camera 22, and also so that the tool 12 can be photographed in a shorter time. For example, the flash output can be adjusted so that the flash duration is shorter than the shutter opening time of the camera 22, and that the flash output is during the shutter opening time of the camera 22.
[0065] That is, the flash 61 can also be adjusted so that the flash 61 fires during the time when the shutter of the camera 22 is open (during the time when the shutter of the camera 22 is fully open) when the shooting command is output from the control device 20 to the camera 22.
[0066] The flash 61 can also be adjusted so that it fires at a moment slightly after the moment when the camera 22 begins to open the shutter and before the moment when the camera 22 begins to close the shutter.
[0067] As an example, consider the case where camera 22 is set to immediately open the shutter when the control device 20 outputs a shooting command to camera 22. In this case, it is conceivable that the control device 20, using the measurement result of the spindle rotation angle sensor 23 as a trigger, outputs an instruction to the flash 61 indicating what should be illuminated at the same time as outputting the shooting command to the camera 22's shutter. However, in this case, it is also conceivable that, since there is a time difference between outputting the shooting command to camera 22 and the camera 22's shutter fully opening, the flash 61 might fire before the camera 22's shutter is fully open. To avoid this, the timing of outputting the shooting command to camera 22 and the instruction to the flash 61 could be adjusted so that the flash 61 fires after the camera 22 begins opening the shutter. In this case, the flash 61 can fire when the shutter is fully open.
[0068] In particular, the timing of the shooting command to camera 22 and the indication of what should be emitted to flash 61 can be adjusted so that flash 61 does not fire before the shutter of camera 22 is fully open. Furthermore, the timing of the shooting command to camera 22 and the indication of what should be emitted to flash 61 can be adjusted so that flash 61 does not fire when the shutter of camera 22 is closed or in the process of closing.
[0069] When using flash 61 (by means of the momentary emission of flash 61) to capture a still image of tool 12, as described above, even if the shutter speed of camera 22 is relatively slow, tool 12 can still be captured. Furthermore, when an LED is used as the light source of flash 61, due to the high brightness of LEDs, an image of tool 12 that can be clearly observed can be captured even without a particularly dark shooting environment.
[0070] like Figure 6 As shown, the tool measuring device 1 may also include an alignment adjustment device 73 for adjusting the alignment of the flash 61 relative to the tool 12. Figure 6The alignment adjustment device 73 shown rotates and positions the flash 61 by adjusting the rotation angles of the flash 61 centered on a predetermined rotation axis extending in the Z direction and the predetermined rotation axis extending in the Y direction. Furthermore, although not shown, the tool measuring device 1 may also include an alignment adjustment device for the camera 22 to adjust the alignment of the camera 22 relative to the tool 12. This camera alignment adjustment device can also rotate and position the camera 22 by adjusting the rotation angles of the camera 22 centered on a predetermined rotation axis extending in the Z direction and the predetermined rotation axis extending in the Y direction.
[0071] By using the tool measuring device 1, which includes an alignment adjustment device 73 for the flash 61 and an alignment adjustment device for the camera 22, it becomes easy to adjust the direction of travel of the parallel light 79 emitted by the flash 61 to be parallel to the optical axis 71 of the lens 69 of the camera 22.
[0072] With the camera 22 equipped with a high-speed shutter and the illumination device 24 having a flash 61, measurements of the rotating tool 12 can be performed even when the tool 12 is rotating at a particularly high speed by using the flash 61, which has a relatively short illumination time of a few μsec. An LED can be used as the light source (light emitter) in the flash 61, for example.
[0073] The effects of the lighting device 24 according to the embodiments of the present disclosure will be explained. The lighting device 24 according to the embodiments of the present disclosure includes a flash lamp 61, which is configured to emit light toward the tool 12. Therefore, by adjusting the emission of the flash lamp 61 so that it emits light during the time the camera 22 shutter is open, the tool 12 can be photographed in a shorter time compared to the case where images are taken by means of the opening and closing of the camera 22 shutter. Thus, a clear image of the rotating tool 12 can be obtained cheaply and easily.
[0074] If an illumination device 24 without a flash 61 is used, there is a need for a camera 22 capable of continuously capturing sufficiently sharp images at a fast shutter speed. Therefore, a very expensive camera 22 might be required. In contrast, since the flash 61 has a fast start-up time and can emit light for a short duration, a sharp image of the rotating tool 12 can be captured using an illumination device 24 with a flash 61.
[0075] Next, the tool measurement method for the tool 12, which is set to measure the tool on the spindle 11 of the machine tool 2, will be explained. In particular, for when... Figure 1The method of measuring the tool 12 while the tool 12 used to process the workpiece 14 is continuously rotated during the machining of the workpiece 14, as shown, is described.
[0076] The tool measurement method includes: an image capture step, which detects the rotation angle of the spindle 11 and captures images of the tool 12 at multiple phases corresponding to the detected rotation angle of the spindle 11; and a calculation step, which, based on the multiple images captured at each of the multiple phases in the image capture step, calculates a first distance w1 where the distance between the rotation axis L1 of the spindle 11 and the outer surface 48a of the first protrusion 481 is maximized and the first phase at that time, and a second distance w2 where the distance between the rotation axis L1 of the spindle 11 and the outer surface 48a of the second protrusion 482 is maximized and the second phase at that time, and calculates an offset w6 of the moving part corresponding to the difference between the first distance w1 and the second distance w2. In an embodiment of this disclosure, the tool measurement method further includes a movement step of moving the tool 12 so that at least the moving part 46 of the tool 12 is located between the camera 22 and the illumination device 24.
[0077] In the tool measurement method, firstly, in a moving step, the tool 12 is moved so that at least the moving part 46 of the tool 12 is positioned between the camera 22 and the lighting device 24. The moving step begins, for example, when the workpiece 14 is being machined using the machine tool 2, after a specified time set in the control device 20. In the moving step, the tool 12, which rotates with the spindle 11 and is used to machine the workpiece 14 placed on the worktable 16, is moved while maintaining its original rotation, so that at least the moving part 46 of the tool 12 is positioned between the camera 22 and the lighting device 24. The tool 12 and the spindle head 4 can move together by means of the movement of the worktable 16 relative to the base 18, the movement of the slide 6 along the cross rail 8, and the movement of the spindle head 4 relative to the slide 6.
[0078] During the shooting process, the rotation angle of the spindle 11 is detected, and the tool 12 is photographed at multiple phases corresponding to the detected rotation angle of the spindle 11. The shooting of the tool 12 at these multiple phases is performed by the shooting command control unit 25 outputting shooting commands to the camera 22 at these multiple phases with different rotation angles of the spindle 11. For example, the shooting of the tool 12 covers the entire phase range of 0° to less than 360°. The rotation angle of the spindle 11 is detected by the spindle rotation angle sensor 23.
[0079] The shooting process will be explained in more detail. In the shooting process, firstly, one phase of the rotation of the spindle 11 is determined as a reference phase. At this reference phase, the shooting command control unit 25 outputs a shooting command to the shooting tool 12. Furthermore, the spindle rotation angle sensor 23 determines the position of the spindle 11 at the reference phase. Next, at a phase offset by an angle θ from the reference phase, the shooting command control unit 25 outputs a shooting command to the shooting tool 12. Then, at a phase further offset by an angle θ from the phase where the previous image was captured, the shooting command control unit 25 outputs a shooting command to the shooting tool 12, and this operation is repeated. Thus, the shooting of the tool 12 can be performed across the entire phase range of 0° to less than 360° at each phase offset by an angle θ. In this case, the angle θ is, for example, 1°. When the angle θ is 1°, by repeatedly performing the shooting of the tool 12 at each phase offset by 1° for a total of 360 times, the shooting of the tool 12 can be performed across the entire phase range of 0° to less than 360°. The angle θ can also be 5°. When the angle θ is 5°, by repeatedly taking pictures of the tool 12 in each phase offset by 5° for a total of 72 times, the tool 12 can cover the entire phase range from 0° to less than 360°.
[0080] Here, in the shooting process, the tool 12 is photographed during different rotations of the tool 12. In other words, in the shooting process, no more than two shots are taken during the period when the tool 12 rotates one revolution. For example, in the shooting process, after the nth shot of the tool 12 is taken in the nth phase (n is set to a positive integer), if the tool 12 is photographed for the n+1th time in the (n+1)th phase offset by an angle θ from the nth phase, the shooting is performed as follows. The (n+1)th shot of the tool 12 is not performed when the tool 12 has rotated by an angle θ after the nth shot, but rather when the tool 12 has rotated by an angle θ further after rotating m revolutions (m is set to a positive integer, for example, 10 revolutions). The (n+1)th shot of the tool 12 can, for example, be performed when the tool 12 has rotated by an angle θ further after rotating 10 revolutions following the nth shot. The (n+1)th shot of tool 12 can also be taken after the nth shot of tool 12, when tool 12 has rotated 5 times and then rotated by an angle θ.
[0081] As an example, during the shooting process, the tool 12 is photographed in different rotations until the entire phase range of 0° to less than 360° is captured. In this case, the shooting command control unit 25 outputs shooting commands in different rotations of the tool 12 until the entire phase range of 0° to less than 360° is captured.
[0082] Furthermore, in the operation of shooting the tool 12 in different rotations until the full phase range of 0° to less than 360° is captured, the operation includes shooting the tool 12 sequentially from the phase with the smaller rotation angle of the main axis 11 to the phase with the larger rotation angle after the reference phase shooting tool 12. Additionally, in the operation of shooting the tool 12 in different rotations until the full phase range of 0° to less than 360° is captured, the operation also includes shooting the tool 12 in a sequence independent of the rotation angle of the main axis 11. Furthermore, in the shooting command control unit 25 that outputs shooting commands in different rotations of the tool 12 until the full phase range of 0° to less than 360° is captured, the operation includes a shooting command control unit 25 that outputs shooting commands sequentially from the phase with the smaller rotation angle of the main axis 11 to the phase with the larger rotation angle after the reference phase output shooting command of the tool 12. Furthermore, the shooting command control unit 25, which outputs shooting commands in different rotations of the tool 12 until the full phase range of 0° to less than 360° is captured, also includes a shooting command control unit 25 that outputs shooting commands in a sequence unrelated to the rotation angle of the spindle 11.
[0083] The effects of shooting tool 12 in different rotations during the shooting process will be explained. The case where tool 12 rotates by an angle θ after the nth shot is considered, and then a shot is taken for the (n+1)th time. In this case, in order to perform the nth and (n+1)th shots, there is a need to continuously perform the nth and (n+1)th shots during the short period of the tool 12's rotation angle θ. In particular, when tool 12 rotates at high speed as described above, the time for tool 12 to rotate by an angle θ becomes extremely short.
[0084] In contrast, if we assume that the tool 12 is photographed in different rotations, and then, after the tool 12 has rotated m times (e.g., 10 times) and further rotated by an angle θ, we take the (n+1)th photograph of the tool 12, we can achieve the following effect: That is, by taking the nth and (n+1)th photographs during the period up to the point where the tool 12 has rotated m times (e.g., 10 times) and further rotated by an angle θ, we can capture images of the tool 12 at the nth phase and at the (n+1)th phase, which is offset by an angle θ from the nth phase. Therefore, by setting the value of m to a large value, even when photographing a rapidly rotating tool 12, there is no worry about the camera 22's shutter speed being insufficient to capture an image.
[0085] The tool measurement method according to the embodiments of this disclosure is performed using the tool measurement apparatus 1 according to the embodiments of this disclosure. Furthermore, the tool measurement apparatus 1 includes: a spindle rotation angle sensor 23 for detecting the rotation angle of the spindle 11; and a control device 20 having a shooting command control unit 25 that outputs a shooting command to the camera 22 corresponding to the rotation angle of the spindle 11 detected by the spindle rotation angle sensor 23. Therefore, as described above, after the nth shooting of the tool 12, when the tool 12 has rotated m revolutions and further rotated by an angle θ, a (n+1)th shooting of the tool 12 can be performed. Thus, even if multiple shootings are not performed during the period when the tool 12 rotates one revolution, images of the tool 12 with each phase shifted by an angle θ can be captured across the entire phase range of 0° to less than 360°.
[0086] Furthermore, when the tool 12 requires capturing a specific phase, if the shooting command control unit 25 outputs a shooting command when the spindle 11 rotates to that specific phase, there will be a lag in the actual shooting timing. This lag can occur due to time delays such as the time lag between the shooting command control unit 25 outputting the shooting command and the camera 22 taking the picture, time delays caused by the spindle rotation angle sensor 23, or time delays caused by the control device 20. It is conceivable that the effect of this shooting timing lag is particularly pronounced when the spindle 11 rotates at high speed. To prevent this, the shooting command control unit 25 can output the shooting command slightly before the spindle 11 rotates to that specific phase. In this case, it is also possible to experimentally measure in advance how close the spindle 11 is to that specific phase before outputting the shooting command. Furthermore, the illumination device 24 can also be set to emit light at the actual shooting timing, taking into account the aforementioned shooting timing lag. As an example, the time from the output of the shooting command to the illumination device 24 emitting light can be adjusted in μsec units.
[0087] In the shooting process, multiple images are captured in multiple phases, including, for example... Figure 7A and Figure 7B An image like the one shown. Figure 7A It indicates from Figure 4 Arrow 26A indicates the direction for shooting. Figure 4 The diagram shows an image obtained by the tool 12 containing three protrusions 48 in the action section 46 shown. The direction indicated by arrow 26A is perpendicular to the rotation axis L1 of the main shaft 11. Figure 7B It indicates from Figure 4 Arrow 26B indicates the direction for shooting. Figure 4 The image obtained by tool 12 is shown. The direction indicated by arrow 26B is different from the direction indicated by arrow 26A, and is perpendicular to the rotation axis L1 of the main spindle 11. Furthermore, in Figure 7A and Figure 7B In the figure, the specific shapes of the multiple protrusions 48 of the action part 46 are omitted from the illustration, and the approximate shape of the action part 46 is represented as a rectangle.
[0088] In embodiments of this disclosure, such as Figure 7A and Figure 7B As shown, the image was captured to photograph the moving part 46 of tool 12. Figure 7A and Figure 7B In the example shown, an image is captured together with the motion unit 46 onto the shaft unit 49. Figure 7A and Figure 7B The example shown is an image of the entire moving part 46 and a portion of the shaft part 49 in the imaging tool 12.
[0089] In the calculation process, the motion unit offset is calculated based on multiple images captured at multiple phases during the imaging process. Specifically, the first distance w1, which is the maximum distance between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the first protrusion 481, and the corresponding first phase are determined. Furthermore, the second distance w2, which is the maximum distance between the rotation axis L1 of the main shaft 11 and the outer surface 48a of the second protrusion 482, and the corresponding second phase are determined. Then, the motion unit offset w6, which is the difference between the first distance w1 and the second distance w2, is calculated. In the tool measurement method according to the embodiments of the present disclosure, the calculation steps include: a shaft offset calculation step, which calculates the difference between the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the spindle 11 in the first phase and the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the spindle 11 in the second phase, i.e., the shaft offset w8; and a distortion calculation step, which calculates the distortion of the motion part 46 based on the difference between the motion part offset w6 and the shaft offset w8.
[0090] The calculation process is performed by the aforementioned calculation unit 27. Specifically, the calculation unit 27 calculates the first distance w1, where the distance between the rotation axis L1 of the main spindle 11 and the outer surface 48a of the first protrusion 481 is the largest, and the first phase at that time. Furthermore, it calculates the second distance w2, where the distance between the rotation axis L1 of the main spindle 11 and the outer surface 48a of the second protrusion 482 is the largest, and the second phase at that time. In addition, the calculation unit 27, according to the embodiment of this disclosure, calculates the difference between the distance w7 from the outer surface 49a of the shaft portion 49 to the rotation axis L1 of the main spindle 11 in the first phase and the distance w7 from the outer surface 49a of the shaft portion 49 to the rotation axis L1 of the main spindle 11 in the second phase, i.e., the shaft offset w8, and further calculates the distortion of the motion portion 46 based on the difference between the motion portion offset w6 and the shaft offset w8.
[0091] In the calculation process, firstly, in each of the multiple images captured in the imaging process, the distance between the rotation axis L1 of the main shaft 11 and the outer surface 46a of the motion part 46 is calculated. Specifically, in each of the multiple images captured in the imaging process, an image of the tool 12 is presented, and in each of the multiple images, the distance between the outer surface 46a forming the outline of the image of the motion part 46 in the tool 12 and the rotation axis L1 of the main shaft 11 is calculated. In particular, in each of the multiple images, the distance located on one side of the outer surface 46a forming the outline of the image of the motion part 46, with the rotation axis L1 of the main shaft 11 as the boundary, is calculated (in... Figure 7A and Figure 7B The distance between the outer surface 46a (left side of the figure) and the rotation axis L1 of the main shaft 11 is shown in the example.
[0092] Furthermore, the distance between the rotation axis L1 of the main axis 11 in the image and the outer surface 46a of the motion unit 46 can be calculated, for example, by counting the number of pixels in the digital image. Moreover, when calculating the distance between the rotation axis L1 of the main axis 11 in the image and the outer surface 46a of the motion unit 46, the position of the rotation axis L1 of the main axis 11 can be determined by the arithmetic unit 27, for example, using the following method: The control device 20 pre-stores the position of the rotation axis L1 of the main axis 11 in the image captured by the camera 22. Then, the arithmetic unit 27 refers to the stored position of the rotation axis L1 of the main axis 11. Thus, the arithmetic unit 27 can determine the position of the rotation axis L1 of the main axis 11 in the image.
[0093] Here, in the captured images, the distance between the rotation axis L1 of the main shaft 11 and the outer surface 46a of the action part 46 is compared at different positions in the axial direction d1, and there are cases where it is not constant. Figure 7A and Figure 7B The double-dotted line marked with reference numeral L2 indicates the axis passing through the center of tool 12. This axis is called the central axis L2 of tool 12. When tool 12 has an ideal, distortion-free shape, its shape is rotationally symmetric about the central axis L2. Figure 7A and Figure 7B In the example shown, because the central axis L2 of tool 12 is offset relative to the rotation axis L1 of spindle 11, the distance between the rotation axis L1 of spindle 11 and the outer surface 46a of the action part 46 in the image is not constant when compared at different positions in the axial direction d1. For example, in Figure 7A and Figure 7BIn each of these cases, the distance w3 between the outer surface 46a of the moving part 46 at the first position L3 along the axial direction d1 and the rotation axis L1 of the main shaft 11 is not equal to the distance w4 between the outer surface 46a of the moving part 46 at the second position L4 along the axial direction d1 and the rotation axis L1 of the main shaft 11. Furthermore, it is conceivable that, since the protrusion 48 is configured to spirally surround the base 45 as described above, the distance between the outer surface 46a of the moving part 46 and the rotation axis L1 of the main shaft 11 in the captured image is not constant.
[0094] In this case, the distance between the rotation axis L1 of the spindle 11 and the outer surface 46a of the motion part 46, which is a specific position in the axial direction d1, can also be used to determine the distance between the rotation axis L1 of the spindle 11 and the outer surface 46a of the motion part 46 at a reference position L5. The reference position L5 is, for example, determined as the position where the tool 12 can contact the workpiece 14. Specifically, the reference position L5 can also be determined as the position furthest from the spindle 11 among the positions where the tool 12 can contact the workpiece 14. In the embodiment of this disclosure, the first position L3 is set as the reference position L5. In this case, during the calculation process, the distance between the rotation axis L1 of the spindle 11 and the outer surface 46a of the motion part 46 at the reference position L5 is used to determine the distance between the rotation axis L1 of the spindle 11 and the outer surface 46a of the motion part 46. Figure 7A and Figure 7B The distance w3 in the image shown.
[0095] Figure 8 It means Figure 4 The graph shown depicts the phase changes of the image captured by the tool 12, which includes three protrusions 48, and the corresponding changes in the distance w3 between the rotation axis L1 of the main shaft 11 at the reference position L5 of each captured image and the outer surface 46a of the motion part 46. Additionally, in Figure 8 In this context, the change in the phase of the captured image is represented by a curve against a distance w3. This curve is obtained, for example, by plotting multiple points on a graph corresponding to each phase of the captured image and a distance w3, and then connecting these plotted points. Furthermore, in... Figure 8 In the middle, it will be from Figure 4 The direction indicated by arrow 26B is determined by the phase of the image being captured as the reference phase, that is, the phase when the rotation angle of the main axis 11 is 0°. The horizontal axis represents the phase change over the entire phase range of more than 0° and less than 360° when the tool 12 rotates around the first side s1 in the direction d2. Figure 8 The dashed line shown with reference numeral L6 indicates the direction from... Figure 4 Arrow 26A indicates the position of the rotation angle of the principal axis 11 of the phase of the captured image. Furthermore, in Figure 8The diagram shown illustrates the correspondence between the phase change and the distance w3 of the image captured when there is no distortion in the cross-sectional shape of the base 45 in the motion section 46 and the offset of the central axis L2 of the tool 12 relative to the rotation axis L1 of the spindle 11 is particularly small.
[0096] exist Figure 8 In the example shown, the distance w3 corresponds to the change in phase of the image being captured, varying in a manner that presents multiple maxima 93. Figure 8 Within the phase range shown, multiple changes in the mountain shape are observed at a distance of w3.
[0097] The distance w3 corresponds to a change in the phase of the image being captured, spanning a full phase range of 0° to less than 360°, and varies in a way that presents a mountain-shaped change corresponding to the number of protrusions 48 included in the motion unit 46. Furthermore, the distance w3 corresponds to a change in the phase of the image being captured, spanning a full phase range of 0° to less than 360°, and varies in a way that presents a maximum value 93 of the number of protrusions 48 included in the motion unit 46. Figure 4 The actuating part 46 of the tool 12 shown includes three protrusions 48. Therefore, in Figure 8 The chart shown presents the variations of three mountain shapes. Furthermore, the distance w3 varies by presenting three maxima of 93: 93a, 93b, and 93c.
[0098] according to Figure 8 The graph shown depicts the change in phase across the entire phase range of 0° to less than 360° as represented by the image being captured, corresponding to the distance w3. It is possible to determine the first distance w1 at which the distance between the rotation axis L1 of the main shaft 11 at the reference position L5 and the outer surface 48a of the first protrusion 481 reaches its maximum, and the first phase at that point. Furthermore, according to... Figure 8 The diagram shown allows us to determine the second distance w2, where the distance between the rotation axis L1 of the main shaft 11 at reference position L5 and the outer surface 48a of the second protrusion 482 is maximized, and the second phase at that time. Below, as an example of a method for determining the first distance w1, the first phase, the second distance w2, and the second phase, we will examine the method based on... Figure 8 The method for determining the first distance w1, the first phase, the second distance w2, and the second phase is explained in the chart shown.
[0099] First, multiple maxima 93 are determined in a graph representing the change in phase across the entire phase range of 0° to less than 360° as a function of distance w3. Each of the determined maxima 93 corresponds to the maximum distance between the axis of rotation L1 of the main shaft 11 at the reference position L5 and the respective outer surface 48a of the multiple protrusions 48.
[0100] In embodiments of this disclosure, as described above, in Figure 4 In the cross-sectional view of tool 12 at reference position L5, among the plurality of protrusions 48, the protrusion 48 with the largest maximum distance between its outer surface 48a and the rotation axis L1 of the spindle 11 is designated as the first protrusion 481. Furthermore, among the plurality of protrusions 48, the protrusion 48 with the smallest maximum distance between its outer surface 48a and the rotation axis L1 of the spindle 11 is designated as the second protrusion 482. Therefore, the largest maximum value 93a among the determined maxima corresponds to the largest first distance w1 between the rotation axis L1 of the spindle 11 at reference position L5 and the outer surface 48a of the first protrusion 481. Furthermore, the smallest maximum value 93b among the determined maxima corresponds to the largest second distance w2 between the rotation axis L1 of the spindle 11 at reference position L5 and the outer surface 48a of the second protrusion 482. Therefore, by determining the largest maximum value 93a from the determined maximum value 93, the first distance w1 can be calculated. Furthermore, by determining the smallest maximum value 93b from the determined maximum value 93, the second distance w2 can be calculated. Additionally, Figure 8 The maximum value 93c shown is equivalent to Figure 4 The maximum distance between the outer surface 48a of the third protrusion 483 shown and the rotation axis L1 of the main shaft 11.
[0101] Phase 1 is Figure 7A and Figure 7B As shown, the distance w3 among the multiple images captured during the shooting process is called the phase of the image with the first distance w1. The first phase is used as a representation Figure 8 The phase change of the image as shown is plotted against a graph corresponding to distance w3, and the phase at which distance w3 reaches its maximum value of 93a is calculated. Figure 8 In the example shown, the first phase is the phase of the rotation angle of the principal axis 11, which is the rotation angle at the position indicated by reference numeral L6 in the attached figure. The second phase is... Figure 7A and Figure 7B As shown, the distance w3 among the multiple images captured during the shooting process becomes the phase of the image captured at the second distance w2. The second phase is represented as... Figure 8 The phase change of the image as shown is plotted against a graph corresponding to a distance w3, and the phase at which the distance w3 reaches its minimum maximum value of 93b is calculated. Figure 8 In the example shown, the second phase is the rotation angle of the main axis 11, which is the phase of the rotation angle whose position is indicated by the dashed line with reference numeral L7.
[0102] After calculating the first distance w1, the first phase, the second distance w2, and the second phase, the equivalent of calculating the difference between the first distance w1 and the second distance w2 is performed. Figure 8 The motion part offset w6 is shown. The motion part offset w6 is obtained by subtracting the second distance w2 from the first distance w1.
[0103] Furthermore, the calculation process of determining the first distance w1, the first phase, the second distance w2, and the second phase based on multiple images captured at each of the multiple phases, and calculating the motion part offset w6 corresponding to the difference between the first distance w1 and the second distance w2, is not limited to the examples described above. In the calculation unit 27 of the embodiments of this disclosure, a calculation process is included that calculates the motion part offset w6 substantially corresponding to the difference between the first distance w1 and the second distance w2 based on multiple images captured at each of the multiple phases.
[0104] Furthermore, the calculation unit 27, which calculates the first distance w1, the first phase, the second distance w2, and the second phase based on multiple images captured at each of the multiple phases, and calculates the motion part offset w6 corresponding to the difference between the first distance w1 and the second distance w2, is not limited to the examples described above. In embodiments of this disclosure, the calculation unit 27 includes a calculation unit 27 that calculates the motion part offset w6 substantially corresponding to the difference between the first distance w1 and the second distance w2 based on multiple images captured at each of the multiple phases.
[0105] For example, in the calculation process, the motion unit offset w6 can be calculated using the following method. First, the image captured in the first phase and the image captured in the second phase are superimposed such that the rotation axis L1 of the main axis 11 and the reference position L5 coincide. Then, the distance between the outer surface 48a of the first protrusion 481 presented in the image captured in the first phase and the outer surface 48a of the second protrusion 482 presented in the image captured in the second phase is calculated as the motion unit offset w6. Using this method, the motion unit offset w6, which is substantially equivalent to the difference between the first distance w1 and the second distance w2, can also be calculated. The above method can be performed by the calculation unit 27.
[0106] The effect of calculating the motion part offset w6 will be explained. The larger the motion part offset w6, the more uneven the contact between the multiple protrusions 48 of the motion part 46 and the workpiece 14 becomes when machining the workpiece 14 using the tool 12. Therefore, it can be inferred that the larger the motion part offset w6, the lower the machining accuracy performed by the tool 12. By calculating the motion part offset w6, the degree of uneven contact between the multiple protrusions 48 of the motion part 46 and the workpiece 14 can be determined based on the calculated motion part offset w6. Furthermore, by using the motion part offset w6 as an indicator for changing the tool 12 and adjusting the position of the tool 12 on the spindle 11, the machining accuracy performed by the tool 12 can be ensured.
[0107] Furthermore, as described above, the calculation steps for embodiments of this disclosure include a shaft offset calculation step and a distortion calculation step.
[0108] In the shaft offset calculation process, based on multiple images captured in the shooting process, the difference between the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 in the first phase and the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 in the second phase is calculated, which is the shaft offset w8.
[0109] An example of the shaft offset calculation process will be described. In the shaft offset calculation process, firstly, in each of the multiple images captured in the imaging process, the distance between the rotation axis L1 of the main shaft 11 and the outer surface 49a of the shaft 49 is calculated. Specifically, in each of the multiple images captured in the imaging process, an image of the tool 12 is presented, and in each of the multiple images, the distance between the outer surface 49a of the contour forming the image of the shaft 49 in the tool 12 and the rotation axis L1 of the main shaft 11 is calculated. In particular, in each of the multiple images, the distance located on one side of the outer surface 49a of the contour forming the image of the shaft 49, with the rotation axis L1 of the main shaft 11 as the boundary, is calculated (in... Figure 7A and Figure 7B In the example shown (left side of the figure), the distance between the outer surface 49a of the main shaft 11 and the rotation axis L1 of the main shaft 11 is as described above. The details of the method for determining the distance between the rotation axis L1 of the main shaft 11 and the outer surface 49a of the shaft portion 49 in the captured image are the same as the details of the method for determining the distance between the rotation axis L1 of the main shaft 11 and the outer surface 46a of the actuating portion 46 in the image during the calculation process described above.
[0110] Here, in the captured images, the distance between the rotation axis L1 of the main shaft 11 and the outer surface 49a of the shaft portion 49 is compared at different positions along the axial direction d1, and there are cases where the distance is not constant. Figure 7A and Figure 7BIn the example shown, since the central axis L2 of the tool 12 is offset relative to the rotation axis L1 of the spindle 11, the distance between the rotation axis L1 of the spindle 11 and the outer surface 46a of the action part 46 in the image is not constant when compared at different positions in the axial direction d1.
[0111] In this case, the distance between the rotation axis L1 of the main shaft 11 and the outer surface 49a of the shaft portion 49, which is a specific position in the axial direction d1, can also be used to determine the distance between the rotation axis L1 of the main shaft 11 and the outer surface 49a of the shaft portion 49 at the shaft portion reference position L8. The shaft portion reference position L8 is, for example, as shown below. Figure 7A and Figure 7B As shown, the position is determined at the boundary between the shaft 49 and the actuating part 46. In this case, during the shaft offset calculation process, the distance between the rotation axis L1 of the main shaft 11 at the shaft reference position L8 and the outer surface 49a of the shaft 49 is calculated. Figure 7A and Figure 7B The distance w7 shown in the image. Alternatively, if, as described later, the rotation axis L1 of the machine tool 2's spindle 11 is assumed to be offset from a standard position relative to parts other than the spindle 11, the distance w7 can be determined as follows: The distance w7 can also be set as the distance between the hypothetical rotation axis L1 of the spindle 11 in a standard position and the outer surface 49a of the shaft portion 49.
[0112] Figure 9 It means Figure 4 The graph shows the corresponding changes in the phase of the image captured by tool 12 and the changes in the distance w7 between the rotation axis L1 of the main shaft 11 and the outer surface 49a of the shaft 49 at the axial reference position L8 of the image captured in each phase. Additionally, in Figure 9 In this context, the change in the phase of the captured image is represented by a curve against the distance w7. This curve is obtained, for example, by plotting multiple points on a graph corresponding to each phase of the captured image and the distance w7, and then connecting these plotted points. Furthermore, in... Figure 9 In the middle, it will be from Figure 4 Arrow 26B indicates the direction in which the image was captured. The phase of this image is determined as the reference phase, i.e., the phase where the rotation angle of the main axis 11 is 0°. The horizontal axis represents the position of tool 12. Figure 4 The phase change shown is the phase change over the entire phase range of 0° to less than 360° when rotating around the first side s1 in the direction d2. Figure 9 The dashed line shown with reference numeral L9 indicates the direction from... Figure 4 Arrow 26A indicates the position of the rotation angle of the principal axis 11 of the phase of the captured image. Figure 9In the example shown, the first phase is the rotation angle of the principal axis 11, which becomes the phase of the rotation angle at the position indicated by reference numeral L9 in the attached figure. Furthermore, in Figure 9 In the example shown, the second phase is the rotation angle of the principal axis 11, which is represented by the rotation angle indicated by the dashed line with reference numeral L10. Furthermore, in Figure 9 The diagram shows the correspondence between the phase change of the image captured and the distance w7 when there is no distortion in the cross-sectional shape of the shaft 49.
[0113] exist Figure 9 In the example shown, the distance w7 corresponds to the change in phase of the image being captured, varying in a way that depicts a waveform with the same shape as a sine wave. Figure 9 In the example shown, the distance w7 varies in a way that presents a maximum value of 94 and a minimum value of 95.
[0114] As an example, according to Figure 9 The graph shown represents the change in the phase of the captured image across the entire phase range of 0° to less than 360° and the corresponding distance w7. It allows calculation of the difference between the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 for the first phase at the shaft reference position L8 and the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 for the second phase, i.e., the shaft offset w8. The following is an example of a method for calculating the shaft offset w8, based on... Figure 9 The method for calculating the axial offset w8 is explained using the chart shown.
[0115] First, based on a graph showing the change in the phase of the image being captured across a full phase range of 0° to less than 360° and its corresponding distance w7, the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 for the first phase at the shaft reference position L8 is determined. Furthermore, the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 for the second phase at the shaft reference position L8 is determined. Then, the determined distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 for the second phase is subtracted from the determined distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 for the first phase. Therefore, the difference between the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 in the first phase and the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 in the second phase at the shaft reference position L8, i.e., the shaft offset w8, can be calculated. Furthermore, if the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 in the first phase is greater than the distance w7 from the outer surface 49a of the shaft 49 to the rotation axis L1 of the main shaft 11 in the second phase, then the distance w7 becomes a negative value.
[0116] In the distortion calculation process, the distortion of the motion part 46 is calculated based on the difference between the motion part offset w6 and the shaft offset w8. That is, the degree of distortion of the motion part 46 is evaluated based on the difference between the motion part offset w6 and the shaft offset w8. Specifically, the distortion degree α, representing the degree of distortion of the motion part 46, is calculated based on the difference between the motion part offset w6 and the shaft offset w8, and the degree of distortion of the motion part 46 is evaluated based on the magnitude of the distortion degree α. Furthermore, when the shaft offset w8 is negative, the distortion degree α becomes the absolute value of adding the shaft offset w8 to the motion part offset w6.
[0117] The effect of calculating the distortion of the motion part 46 based on the difference between the motion part offset w6 and the shaft offset w8 will be explained. As described above, the degree of unevenness in the contact between the multiple protrusions 48 of the motion part 46 and the workpiece 14 can be determined based on the motion part offset w6. However, the magnitude of the motion part offset w6 is determined by both the offset of the central axis L2 of the tool 12 relative to the rotation axis L1 of the spindle 11 and the distortion of the motion part 46 caused by the different sizes of the multiple protrusions 48. Furthermore, assuming that the rotation axis L1 of the machine tool 2 is offset from the standard position relative to the parts other than the spindle 11, the offset of the rotation axis L1 of the spindle 11 from the standard position also affects the magnitude of the motion part offset w6. Furthermore, by simply calculating the offset w6 of the motion part, it is impossible to determine whether the offset w6 of the motion part is due to the offset of the central axis L2 of the tool 12 relative to the rotation axis L1 of the spindle 11, the large offset of the position of the rotation axis L1 of the spindle 11 from the standard position, or the large distortion of the motion part 46.
[0118] In contrast, by calculating the distortion of the motion part 46 based on the difference between the motion part offset w6 and the shaft offset w8, the magnitude of the influence of the motion part distortion on the motion part offset w6 can be determined. For example, if the calculated motion part offset w6 is large, and the distortion degree α of the motion part 46 is also large, it can be determined that the motion part offset w6 is large because the distortion of the motion part 46 is large. Furthermore, if the calculated motion part offset w6 is large, and the distortion degree α of the motion part 46 is small, it can be determined that the motion part offset w6 is large because the offset of the central axis L2 of the tool 12 relative to the rotation axis L1 of the spindle 11, and the offset of the rotation axis L1 of the spindle 11 from its standard position are large.
[0119] In addition, the process of calculating the distortion of the motion part 46 based on the difference between the motion part offset w6 and the shaft offset w8 also includes calculating the correction value of the shaft offset w8 based on the shaft offset w8, and calculating the distortion of the motion part 46 based on the difference between the correction values of the motion part offset w6 and the shaft offset w8.
[0120] An example of a method for calculating the correction value of the shaft offset w8 will be explained. For example... Figure 7A and Figure 7BAs shown, it can be inferred that the central axis L2 of tool 12 is tilted relative to the rotation axis L1 of spindle 11. In this case, it can be inferred that the effect of the tilt of the central axis L2 of tool 12 is greater than the offset w6 of the moving part calculated at the reference position L5, and more so than the offset w8 of the shaft part calculated at the reference position L8, which is located closer to the spindle 11 than the reference position L5. In this case, the correction value of the shaft part offset w8 can be calculated as follows: The distance from the end of tool 12 on the spindle 11 side to the reference position L5 is set as w9. Furthermore, the distance from the end of tool 12 on the spindle 11 side to the shaft part reference position L8 is set as w10. At this time, the correction value of the shaft part offset w8 can also be calculated by multiplying the shaft part offset w8 by (w9 / w10), and the distortion of the moving part 46 can be calculated based on the difference between the moving part offset w6 and the correction value of the shaft part offset w8. In other words, the distortion degree α, which represents the degree of distortion of the motion part 46, can also be obtained by using the following formula (1).
[0121] [Formula 1]
[0122] α = w6 - w8 (w9 / w10) ... Equation (1).
[0123] Alternatively, after the calculation process, the machine tool 2 and tool 12 can be adjusted based on the results of the calculation process. The machine tool 2 and tool 12 can be adjusted to, for example, reduce the offset of the moving part w6, the offset of the shaft w8, or the distortion α.
[0124] The adjustment of machine tool 2 and tool 12 is performed as follows: Reference values are predetermined as the maximum permissible values for the motion part offset w6, shaft offset w8, and distortion α. These reference values are determined, for example, based on the required accuracy during machining using machine tool 2 and tool 12. If any of the motion part offset w6, shaft offset w8, or distortion α calculated in the calculation process exceeds the reference value, machine tool 2 and tool 12 are adjusted to bring that value below the reference value. If any of the motion part offset w6, shaft offset w8, or distortion α calculated in the calculation process is below the reference value, no adjustment of machine tool 2 and tool 12 is performed. Adjustments to machine tool 2 and tool 12 can include changing tool 12 and adjusting the position of tool 12 relative to spindle 11.
[0125] In particular, if the offset w6 of the moving part exceeds the reference value and the distortion α exceeds the reference value, it can be determined that the distortion of the moving part 46 has increased due to wear, etc. In this case, the tool 12 can be replaced. Furthermore, if the offset w6 of the moving part exceeds the reference value and the distortion α is below the reference value, it can be determined that although the distortion of the moving part 46 is small enough to be acceptable, the offset w6 of the moving part is large because the offset of the central axis L2 of the tool 12 relative to the rotation axis L1 of the spindle 11 is large. In this case, the position of the tool 12 relative to the spindle 11 can be adjusted to reduce the offset of the central axis L2 of the tool 12 relative to the rotation axis L1 of the spindle 11.
[0126] In addition, if the offset w6 of the moving part, the offset w8 of the shaft, or the distortion α calculated by the calculation unit 27 exceeds the reference value, the tool measuring device 1 can also issue an alarm to urge the user to adjust the machine tool 2 and the tool 12.
[0127] The machine tool 2 and tool 12 can also be adjusted based on the results of the calculation process, or the machining of the workpiece 14 can be restarted using the machine tool 2 and tool 12 after it is determined that no adjustment of the machine tool 2 and tool 12 is needed. The tool 12 is then moved from the machine tool 2 using the machine tool 2. Figure 5 The position shown can be moved in three dimensions, allowing the tool 12 to come into contact with the workpiece 14 and the machining of the workpiece 14 to begin again.
[0128] The effects of the tool measuring apparatus 1 and tool measuring method according to embodiments of the present disclosure will be explained. In the tool measuring apparatus 1 according to embodiments of the present disclosure, the calculation unit 27 calculates a first distance w1 and a second distance w2 based on multiple images captured in multiple phases, and calculates a motion part offset w6 corresponding to the difference between the first distance w1 and the second distance w2. Furthermore, the tool measuring method according to embodiments of the present disclosure includes a calculation step of calculating the first distance w1 and the second distance w2 based on multiple images captured in multiple phases, and calculating the motion part offset w6 corresponding to the difference between the first distance w1 and the second distance w2. Thus, the motion part offset w6 corresponding to the maximum value of the offset between the outer surface 48a of each protrusion 48 and the rotation axis L1 of the spindle 11 when multiple protrusions 48 are compared can be calculated. Therefore, by setting the motion part offset w6 as an index for changing the tool 12 and adjusting the position of the tool 12 on the spindle 11, the accuracy of the machining performed by the tool 12 can be ensured.
[0129] In particular, according to the tool measuring device 1 and tool measuring method of the present disclosure, the offset w6 of the moving part of a rotating tool can be calculated. Therefore, the offset w6 of the moving part can be calculated even when the tool 12 is affected by centrifugal force, heat, etc. generated during rotation.
[0130] Furthermore, according to the tool measuring device 1 of the embodiments of the present disclosure, the shooting command control unit 25 outputs shooting commands at different rotations of the tool 12. Furthermore, according to the tool measuring method of the embodiments of the present disclosure, during the shooting process, the tool 12 is photographed at different rotations. Therefore, even when photographing the rapidly rotating tool 12, there is no worry about the shutter speed of the camera 22 being insufficient to capture an image.
[0131] Furthermore, according to the tool measuring apparatus 1 of the embodiments of this disclosure, the calculation unit 27 calculates the distortion of the motion part 46 based on the difference between the motion part offset w6 and the shaft offset w8. Furthermore, according to the tool measuring method of the embodiments of this disclosure, the calculation process includes a distortion calculation process that calculates the distortion of the motion part 46 based on the difference between the motion part offset w6 and the shaft offset w8. Therefore, it is possible to determine the magnitude of the influence of the distortion of the motion part 46 on the motion part offset w6.
[0132] As described above, an implementation method has been explained with reference to specific examples, but the specific examples described above are not intended to limit the implementation method. The implementation method described above can be implemented with various other specific examples, and various omissions, substitutions, and modifications can be made without departing from its essence.
[0133] The following is a reference to the appendix. Figure 1 An example of a variation will be described below. In the following description and the accompanying drawings used in the description, parts that can be constructed in the same way as the specific examples described above will use the same reference numerals as the corresponding parts in the specific examples described above, and repeated descriptions will be omitted.
[0134] (Modified example)
[0135] The tool measuring device 1 in the modified example is similar to the tool measuring device 1 in the above-described embodiment. It is a device for measuring the shape of the tool 12 set on the spindle 11 of the machine tool 2, and includes a camera 22, a spindle rotation angle sensor 23, and a control device 20.
[0136] Figure 10A This is a schematic sectional view of the spindle head 4 of machine tool 2, showing a modified example. Figure 10AIn the diagram, a spindle rotation angle sensor 23, which detects the rotation angle of the spindle 11, is shown together with the spindle head 4 of the machine tool 2. In the tool measuring device 1 of the relevant modified example, the spindle rotation angle sensor 23 is a sensor that detects the rotation angle of the spindle 11 (the tool 12 installed on the spindle 11). Furthermore, the spindle rotation angle sensor 23 is configured to output a continuous pulse signal (see reference 1) when the spindle 11 rotates. Figure 10C Furthermore, the spindle 11 emits a pulse signal for each revolution. Additionally, by rotating the spindle 11 at a certain speed, the period of the continuous pulse signal becomes a constant value.
[0137] Reference Figure 10A and Figure 10B The spindle rotation angle sensor 23 will be described in more detail. Figure 10B This indicates that the spindle rotation angle sensor 23 of the machine tool in the relevant modified example is from... Figure 10A The diagram shows the observed state in the direction VB. The spindle rotation angle sensor 23 is configured, for example, to include a reflective photoelectric sensor 43 and a mark 47.
[0138] The photoelectric sensor 43 is integrally mounted on the spindle 11. The mark 47 is integrally mounted on the spindle 11, for example, across half its circumference (see reference). Figure 10B (The part marked with a dotted line). Furthermore, if the main shaft 11 rotates, the photoelectric sensor 43 will repeatedly detect the state of mark 47 and not detect it, and the photoelectric sensor 43 will become a source of emission from... Figure 10C This indicates a continuous pulse signal. The photoelectric sensor 43 can also be integrally mounted on the housing 31.
[0139] As already understood, the spindle rotation angle sensor 23 has a very high resolution of the rotation angle of the spindle 11, which is 180°.
[0140] The spindle rotation angle sensor 23 is configured to also detect the rotational speed (angular velocity) of the spindle 11. As described above, the spindle rotation angle sensor 23 emits an angular velocity emitted by the spindle 11 rotating at a certain speed, for example... Figure 10C This refers to a continuous pulse signal with a rectangular wave shape.
[0141] The control device 20 receives the continuous pulse signal emitted by the spindle rotation angle sensor 23. By measuring the time interval (period of the continuous pulse signal) of the continuously turned-on / off continuous pulse signal at predetermined intervals, the rotational speed of the spindle 11 can be detected. Alternatively, the spindle rotation angle sensor 23 can be used instead of the control device 20 to measure the time interval of the continuously turned-on / off continuous pulse signal, and the rotational speed of the spindle 11 can be detected by the spindle rotation angle sensor 23.
[0142] According to the spindle rotation angle sensor 23 of the relevant modified example, the following method can be used to capture images of the tool 12 at each phase offset by an angle θ, covering the entire phase range of 0° to less than 360°. First, the time for the spindle 11 to rotate one revolution and the time for the spindle 11 to rotate by an angle θ are calculated based on the rotational speed detected by the control device 20 or the spindle rotation angle sensor 23. Next, one phase of the rotation of the spindle 11 is determined as the reference phase, and the shooting command control unit 25 outputs a shooting command at the reference phase to capture the tool 12. Then, the shooting command control unit 25 outputs a shooting command again after the spindle 11 has rotated m revolutions (m is set to a positive integer, for example, 10 revolutions) and rotated by an angle θ. Thus, the tool 12 can be captured at a phase offset by an angle θ from the reference phase. Furthermore, using the same method, the operation of capturing the tool 12 at the nth phase (n is set to a positive integer) and then capturing the tool 12 at the (n+1)th phase offset by an angle θ from the nth phase is repeated. Thus, the tool 12 can capture images of the phase that is offset by an angle θ each time, covering the entire phase range from 0° to less than 360°.
[0143] Alternatively, the multiple constituent elements disclosed in the above embodiments and modifications may be appropriately combined as needed. Alternatively, several constituent elements may be removed from all the constituent elements represented in the above embodiments and modifications.
[0144] Explanation of reference numerals in the attached figures
[0145] 1. Tool measuring device
[0146] 2 Machine tools
[0147] 11 Spindle
[0148] 12 tools
[0149] 20 Control devices
[0150] 22 cameras
[0151] 23 Spindle rotation angle sensor
[0152] 24 lighting fixtures
[0153] 25. Shooting Command Control Unit
[0154] 27. Arithmetic Unit
[0155] 46 Action Section
[0156] 48 protuberance
[0157] 481 1st protrusion
[0158] 482 2nd protrusion
[0159] 49 Shaft section.
Claims
1. A tool measuring device for measuring tools set on the spindle of a machine tool, characterized in that, have: Camera, used to photograph the aforementioned tools; A spindle rotation angle sensor detects the rotation angle of the aforementioned spindle; and Control device; The aforementioned tool has an actuating part that includes at least two protrusions, a first protrusion and a second protrusion; The aforementioned control device includes a shooting command control unit that outputs a shooting command to the aforementioned camera in accordance with the rotation angle of the aforementioned spindle detected by the aforementioned spindle rotation angle sensor, and a calculation unit that performs calculations based on the image captured by the aforementioned camera. The aforementioned shooting command control unit outputs shooting commands to the aforementioned camera at multiple phases with different rotation angles of the aforementioned main axis; Based on the multiple images captured in the aforementioned multiple phases, the aforementioned calculation unit calculates the first distance and the first phase at which the distance between the rotation axis of the aforementioned main shaft and the outer surface of the aforementioned first protrusion is the largest, and the second distance and the second phase at which the distance between the rotation axis of the aforementioned main shaft and the outer surface of the aforementioned second protrusion is the largest, and calculates the motion unit offset equivalent to the difference between the aforementioned first distance and the aforementioned second distance. The aforementioned tool has a cylindrical shaft that extends from the aforementioned actuating part in the direction of the rotation axis of the aforementioned main shaft, is fixed at one end to the aforementioned main shaft, and is connected to the aforementioned actuating part at the other end; The aforementioned calculation unit calculates the difference between the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the first phase and the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the second phase, which is the shaft offset. Furthermore, based on the difference between the aforementioned motion unit offset and the aforementioned shaft offset, the distortion of the aforementioned motion unit is calculated.
2. The tool measuring device according to claim 1, characterized in that, The aforementioned shooting command control unit outputs the aforementioned shooting command in different rotations of the aforementioned tool until the entire phase range of 0° to less than 360° is captured.
3. The tool measuring device according to claim 1 or 2, characterized in that, The aforementioned actuating part includes two or more of the aforementioned protrusions, wherein the protrusion with the largest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned main shaft is designated as the first protrusion, and the protrusion with the smallest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned main shaft is designated as the second protrusion.
4. A tool measurement method for measuring a tool set on the spindle of a machine tool, characterized in that, The aforementioned tool has an actuating part that includes at least two protrusions, a first protrusion and a second protrusion; The tool's measurement methods include: The imaging process involves detecting the rotation angle of the aforementioned spindle, and, corresponding to the detected rotation angle of the aforementioned spindle, photographing the aforementioned tool at multiple phases with different rotation angles of the aforementioned spindle; and The calculation process, based on the multiple images captured in the aforementioned multiple phases during the aforementioned shooting process, determines the first distance at which the distance between the rotation axis of the aforementioned main shaft and the outer surface of the aforementioned first protrusion is the largest and the first phase at that time, and the second distance at which the distance between the rotation axis of the aforementioned main shaft and the outer surface of the aforementioned second protrusion is the largest and the second phase at that time, and calculates the motion part offset equivalent to the difference between the aforementioned first distance and the aforementioned second distance. The aforementioned tool has a cylindrical shaft that extends from the aforementioned actuating part in the direction of the rotation axis of the aforementioned main shaft, is fixed at one end to the aforementioned main shaft, and is connected to the aforementioned actuating part at the other end; The aforementioned calculation process includes: a shaft offset calculation process, which calculates the difference between the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the first phase and the distance from the outer surface of the aforementioned shaft to the rotation axis of the aforementioned main shaft in the second phase, i.e., the shaft offset; and a distortion calculation process, which calculates the distortion of the aforementioned moving part based on the difference between the aforementioned moving part offset and the aforementioned shaft offset.
5. The tool measurement method according to claim 4, characterized in that, In the aforementioned shooting process, the aforementioned tool is photographed in different rotations until the full phase range of 0° to less than 360° is captured.
6. The tool measurement method according to claim 4 or 5, characterized in that, The aforementioned actuating part includes two or more of the aforementioned protrusions, wherein the protrusion with the largest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned main shaft is designated as the first protrusion, and the protrusion with the smallest distance between the outer surface of the aforementioned protrusion and the rotation axis of the aforementioned main shaft is designated as the second protrusion.
Citation Information
Patent Citations
Imaging apparatus
JP2007049489A
Tool-shape measurement device
CN107532886A
Tool shape measurement device and tool shape measurement method
WO2020090844A1