Measuring equipment and programs

JP7633385B2Active Publication Date: 2025-02-19FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023512622
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-09
Publication Date
2025-02-19
Estimated Expiration
2041-04-09

AI Technical Summary

Benefits of technology

【0008】 本開示によれば、測定器が適切に動作するか否かを検証することが可能な計測装置及びプログラムを提供することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007633385000001
    Figure 0007633385000001
  • Figure 0007633385000002
    Figure 0007633385000002
  • Figure 0007633385000003
    Figure 0007633385000003
Patent Text Reader

Abstract

Provided is a measuring device which, with respect to a measuring instrument for measuring the length of a cutting tool, measures the distance from a reference position of a machine tool to a tool detection position of the measuring instrument. The measuring device comprises: a movement control unit for controlling movement of a standard tool attached to the machine tool; a detection unit for detecting a detection signal indicating a tool detection position output by pressing-down of the measuring instrument; and an identification unit for identifying the tool detection position of the measuring instrument, on the basis of the position of the tip of the standard tool at the timing of detecting the detection signal. The detection unit detects a detection signal indicating that the tip of the standard tool is present within a tool detectable range including the tool detection position. The movement control unit moves the standard tool in a direction away from the measuring instrument to change the state in which the detection signal is detectable by the detection unit to a state in which the detection signal is not detectable by the detection unit, and then moves the standard tool toward the measuring instrument to change the state to a state in which the detection signal is detectable again by the detection unit. The identification unit identifies the tool detection position, on the basis of the position of the standard tool at the timing of detecting the detection signal again.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a measurement device and a program. [Background technology]

[0002] Conventionally, a numerical control device that controls a machine tool or the like performs machining of a workpiece according to a machining program. In order to realize precise machining of a workpiece, it is desirable to precisely correct the position coordinates of the tip of the tool to account for the mechanical error of a tool (e.g., a cutting tool) attached to the machine tool. Therefore, a device that specifies the coordinates of the tip of the tool during actual machining has been proposed (e.g., see Patent Documents 1 and 2). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 11-138392 [Patent Document 2] Japanese Patent Application Publication No. 11-99450 Summary of the Invention [Problem to be solved by the invention]

[0004] When identifying the coordinates of the tool tip, for example, a measuring device arranged on the table of the machine tool is used. The measuring device is a device capable of detecting the pressing of the tool tip from the pressed surface to the tool detection position. The measuring device is configured to be capable of transmitting a detection signal to the numerical control device in response to the pressing to the tool detection position. The numerical control device measures the tool length of the tool based on the feed position of the tool at the time of receiving the detection signal.

[0005] However, since the measuring device is placed on the table of the machine tool, it may be exposed to cutting fluid and chips during machining of the workpiece, so it is preferable to be able to verify whether the measuring device is operating properly when identifying the tool detection position. [Means for solving the problem]

[0006] The present disclosure relates to a measuring device that measures a distance from a reference position of a machine tool to a tool detection position of a measuring device that measures the length of a cutting tool attached to the machine tool, the measuring device comprising: a movement control unit that controls movement of a standard tool having a known length attached to the machine tool; a detection unit that detects a detection signal indicating the tool detection position that is output by pressing the measuring device; and an identification unit that identifies the tool detection position of the measuring device based on the position of the tip of the standard tool at the timing when the detection signal is detected, wherein the detection unit detects a detection signal indicating that the tip of the standard tool is present within a tool detectable range that includes the tool detection position, and the movement control unit moves the standard tool in a direction away from the measuring device from a state in which the detection signal is detected by the detection unit to a state in which the detection signal is not detected by the detection unit, and then moves the standard tool towards the measuring device to change to a state in which the detection signal is detected again by the detection unit, and the identification unit identifies the tool detection position based on the position of the standard tool at the timing when the detection signal is detected again.

[0007] The present disclosure also relates to a program that causes a computer to function as a measuring device that measures a distance from a reference position of a machine tool to a tool detection position of a measuring device that measures the length of a cutting tool attached to the machine tool, the program causing the computer to function as a movement control unit that controls movement of a standard tool having a known length that is attached to the machine tool, a detection unit that detects a detection signal indicating the tool detection position that is output by pressing the measuring device, and an identification unit that identifies the tool detection position of the measuring device based on the position of the tip of the standard tool at the timing when the detection signal is detected, wherein the detection unit detects a detection signal that indicates that the tip of the standard tool is present within a tool detectable range that includes the tool detection position, the movement control unit moves the standard tool in a direction away from the measuring device from a state in which the detection signal is detected by the detection unit to a state in which the detection signal is not detected by the detection unit, and then moves the standard tool towards the measuring device to change to a state in which the detection signal is detected again by the detection unit, and the identification unit identifies the tool detection position based on the position of the standard tool at the timing when the detection signal is detected again. Effect of the Invention

[0008] According to the present disclosure, it is possible to provide a measurement device and a program capable of verifying whether a measuring device is operating properly. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram illustrating an overview of a machine tool in a measurement device according to an embodiment of the present disclosure. [Diagram 2] FIG. 1 is a diagram illustrating a configuration of a measurement apparatus according to an embodiment. [Figure 3A] 2 is a diagram showing a positional relationship between a tool of a machine tool and a measuring instrument in the measuring device of the embodiment; FIG. [Figure 3B] 2 is a diagram showing a positional relationship between a tool of a machine tool and a measuring instrument in the measuring device of the embodiment; FIG. [Figure 3C]2 is a diagram showing a positional relationship between a tool of a machine tool and a measuring instrument in the measuring device of the embodiment; FIG. [Figure 3D] 2 is a diagram showing a positional relationship between a tool of a machine tool and a measuring instrument in the measuring device of the embodiment; FIG. [Figure 4] 4 is a flowchart showing a flow of operations of the measurement device according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, a measuring device 1 according to an embodiment of the present disclosure will be described with reference to Fig. 1 to Fig. 4. First, before describing the measuring device 1 according to an embodiment, a machine tool 2 connected to the measuring device 1 will be described.

[0011] 1, for example, machine tool 2 is a device capable of machining workpiece 31 using cutting tool 21. Specifically, machine tool 2 is a device capable of machining workpiece 31 transported on table 32 using cutting tool 21. Machine tool 2 machines workpiece 31 by bringing a tip of cutting tool 21 attached to a tool holder (not shown) into contact with workpiece 31. Machine tool 2 is equipped with measuring instrument 22.

[0012] Measuring device 22 is a device used to measure the length (tool length) of cutting tool 21 attached to machine tool 2. Measuring device 22 is used, for example, to measure the actual length of cutting tool 21 that is subject to wear and the like due to machining of workpiece 31. As an example, measuring device 22 is used to measure the actual length of cutting tool 21 in advance before cutting workpiece 31. Measuring device 22 detects pressing by cutting tool 21. Measuring device 22 outputs a signal when pressing is detected.

[0013] The measuring device 22 is disposed, for example, on the upper surface of the table 32 (hereinafter, also referred to as the reference position F. The upper surface of the table 32 is an example of the reference position F). The measuring device 22 has a predetermined height. The measuring device 22 has a switch S, which is pressed by the tip of the cutting tool 21, on the upper part including the pressed surface U (top surface). The pressed surface U is generally a vertically upper surface, but depending on the installation direction of the measuring device 22, it may face a side other than the vertically upper side. When the switch S is pressed to a predetermined position, the measuring device 22 outputs a signal that the switch S has been pressed at the predetermined position. That is, when the switch S is pressed to a tool detection position P (see FIG. 3D) provided at a predetermined position pressed from the pressed surface U, the measuring device 22 outputs a signal indicating that the switch S has been pressed by the cutting tool 21 or the standard tool 23.

[0014] Next, an overview of the measuring device 1 will be described. The measuring device 1 is configured as a part of a numerical control device, for example. The measuring device 1 controls the operation of a cutting tool 21 with respect to a machine tool 2. The measuring device 1 also measures the tool length of the cutting tool 21 by acquiring a signal from a measuring instrument 22.

[0015] In the following embodiment, the measuring device 1 specifies the tool detection position P set in the measuring device 22 prior to measuring the tool length of the cutting tool 21. The measuring device 1 specifies the tool detection position P by using, for example, a standard tool 23 having a known length instead of the cutting tool 21. In particular, the measuring device 1 specifies the tool detection position P according to the feed rate of the cutting tool 21 set in advance by a user of the machine tool 2 or the like. Then, the measuring device 1 can measure the distance from the reference position F of the machine tool 2 to the tool detection position P of the measuring device 22. As a result, the measuring device 1 optimizes the tool detection position P according to the feed rate set by a user or the like with respect to the detection of the tool detection position P involving the mechanical operation of the measuring device 22. Therefore, the accuracy of measuring the length of the cutting tool 21 can be improved.

[0016] In the following embodiment, the tool detection position P is identified while verifying whether the measuring device 22 operates. This makes it possible to protect the measuring device 22 and the standard tool 23.

[0017] Next, a measurement device 1 and a program according to an embodiment of the present disclosure will be described with reference to Fig. 1 to Fig. 4. As shown in Fig. 2, the measurement device 1 is configured to be able to communicate with a machine tool 2. The measurement device 1 includes a speed acquisition unit 11, a movement control unit 12, a detection unit 13, and an identification unit 14.

[0018] The speed acquisition unit 11 is realized by, for example, the operation of a CPU. The speed acquisition unit 11 acquires a preset feed speed, which is a feed speed at which the cutting tool 21 is moved toward the measuring device 22 when measuring the length of the cutting tool 21. The speed acquisition unit 11 acquires, for example, a feed speed at which the cutting tool 21 is moved from above the measuring device 22 toward the measuring device 22, which is preset when measuring the tool length of the cutting tool 21. The speed acquisition unit 11 acquires the feed speed of the cutting tool 21, for example, by reading the feed speed from a program storage unit (not shown) that stores the feed speed of the cutting tool 21 when measuring the tool length.

[0019] The movement control unit 12 is realized, for example, by the operation of a CPU. The movement control unit 12 controls the movement of a standard tool 23 having a known length attached to the machine tool 2, for example. The movement control unit 12 moves the tip of the standard tool 23 having a known length attached to the machine tool 2 along the axial direction toward the measuring instrument 22, for example. The movement control unit 12 presses the pressed surface U of the measuring instrument 22 with the standard tool 23 by moving it at a feed rate acquired by the speed acquisition unit 11. The movement control unit 12 moves the tip of the standard tool 23 having a known length attached to the machine tool 2 along the axial direction (movement direction D) toward the pressed surface U of the measuring instrument 22, for example. The movement control unit 12 moves the tip of the standard tool 23 toward the tool detection position P of the measuring instrument 22 while pressing and moving the pressed surface U of the measuring instrument 22 with the tip of the standard tool 23 attached to the machine tool 2. Then, the movement control unit 12 moves the tip of the standard tool 23 to the tool detection position P. Furthermore, the movement control unit 12 moves the tip of the standard tool 23 in a direction away from the state where the tip of the standard tool 23 is being pressed against the pressed surface U of the measuring instrument 22.

[0020] The detection unit 13 is realized, for example, by the operation of a CPU. The detection unit 13 detects a signal indicating the tool detection position P output by pressing the measuring device 22. The detection unit 13 detects, for example, an output of a signal indicating that the tool detection position P has been reached from the measuring device 22 by further movement of the tip of the standard tool 23 that has contacted the pressed surface U of the switch S. In this embodiment, the detection unit 13 detects a detection signal indicating that the tip of the standard tool 23 is present within the tool detectable range R including the tool detection position P. Note that, in this embodiment, the measuring device 22 is configured to be able to light a lamp 24 (see FIG. 3A) arranged on the side of its housing when it detects contact with the standard tool 23.

[0021] The identifying unit 14 is realized, for example, by the operation of a CPU. The identifying unit 14 identifies the tool detection position P of the measuring device 22 based on the position of the tip of the standard tool 23 at the timing of detecting the detection signal. In this embodiment, the identifying unit 14 identifies a position pressed a predetermined distance from the pressed surface U of the measuring device 22 as the tool detection position P. The identifying unit 14 identifies the height (distance) to the tool detection position P based on the mounting position of the standard tool 23 and a position calculated from a known length of the standard tool 23 at the timing of detecting the detection signal, for example.

[0022] Next, the flow of the operation of the measuring device 1 will be described with reference to FIG. 3A to FIG. 4. First, the speed acquisition unit 11 acquires a preset feed speed (step S1). Next, the tip of the standard tool 23 is placed at a position where it presses the pressed surface U of the measuring instrument 22 (step S2). Specifically, as shown in FIG. 3A, the tip of the standard tool 23 is placed at a position where a detection signal indicating that the tip of the standard tool 23 is present within the tool detectable range R including the tool detection position P is detected. In this embodiment, the detection unit 13 detects a detection signal by the standard tool 23 that has been manually moved to the tool detectable range R. Here, the tool detectable range R is a range in which the measuring instrument 22 can output a contact with the tip of the standard tool 23 as a detection signal, and refers to a range from a position where a detection signal can be output by pressing the pressed surface U of the standard tool 23 to a position where a switch S can be pressed on the side of the measuring instrument 22 (for example, typically below) and where the contact can be output as a detection signal.

[0023] Next, the movement control unit 12 moves the standard tool 23 in a direction away from the measuring instrument 22 (typically, raises it) from a state where the detection signal is detected by the detection unit 13 (step S3). Next, the detection unit 13 detects the timing at which the state where the detection signal is not detected by the detection unit 13 changes to a state where the detection signal is not detected by the detection unit 13 in the movement of the standard tool 23 in a direction away from the measuring instrument 22 (step S4). For example, the detection unit 13 detects the timing at which the switch S of the tip of the standard tool 23 changes from an ON state where the switch S detects the contact of the standard tool 23 to a state where the switch S cannot detect the contact of the standard tool 23. As shown in FIG. 3B, the identification unit 14 identifies the position of the tip of the standard tool 23 at the timing of the change as the first detection limit position L (typically, the upper limit position).

[0024] Next, as shown in FIG. 3C, the movement control unit 12 continues to move the standard tool 23 in a direction away from the measuring instrument 22 until the detection unit 13 detects no detection signal. The movement control unit 12 moves the standard tool 23 to an arbitrarily determined position (step S5). Next, the movement control unit 12 moves the standard tool 23 toward the measuring instrument 22 (typically, lowers it). Specifically, as shown in FIG. 3D, the movement control unit 12 moves the tip of the standard tool 23 toward the measuring instrument 22 at the feed speed acquired by the speed acquisition unit 11 (step S6).

[0025] Next, it is determined whether the detection unit 13 detects a detection signal again (step S7). If a detection signal is detected (step S7: YES), the process proceeds to step S8. On the other hand, if a detection signal is not detected (step S7: NO), the process proceeds to step S9.

[0026] In step S8, the identifying unit 14 identifies the tool detection position P based on the position of the standard tool 23 at the timing when the detection signal is detected again. Specifically, the identifying unit 14 identifies the tool detection position P based on the position of the tip of the standard tool 23 at the timing when the detection signal is detected again. This ends the processing according to this flow.

[0027] In step S9 (step S7: NO), the movement control unit 12 advances the standard tool 23 an arbitrary distance (in the -Z direction) from the coordinate value whose timing was detected in step S4 toward the measuring instrument 22. If the detection signal is still not detected, the movement control unit 12 stops the standard tool 23 after raising it to the position of step S5, and outputs a stop alarm (step S10). This ends the processing according to this flow.

[0028] Next, the program of the present disclosure will be described. Each configuration included in the measurement device 1 can be realized by hardware, software, or a combination of these. Here, being realized by software means being realized by a computer reading and executing a program.

[0029] The program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable media include electric signals, optical signals, and electromagnetic waves. The transitory computer readable media can provide the program to the computer via a wired communication path such as an electric wire and an optical fiber, or via a wireless communication path.

[0030] As described above, the measuring device 1 and the program according to the embodiment have the following advantages. (1) A measuring device 1 for measuring a distance from a reference position of a machine tool 2 to a tool detection position P of a measuring device 22 for measuring the length of a cutting tool 21 attached to the machine tool 2, the measuring device 1 comprising: a movement control unit 12 for controlling the movement of a standard tool 23 having a known length attached to the machine tool 2; a detection unit 13 for detecting a detection signal indicating the tool detection position P output by pressing the measuring device 22; and an identification unit 14 for identifying the tool detection position P of the measuring device 22 based on the position of the tip of the standard tool 23 at the time when the detection signal is detected, the detection unit 13: A detection signal is detected indicating that the tip of the standard tool 23 is present within the tool detectable range R including the tool detection position P, and the movement control unit 12 moves the standard tool 23 in a direction away from the measuring device 22 from a state in which the detection signal is detected by the detection unit 13 to a state in which the detection signal is not detected by the detection unit 13, and then moves the standard tool 23 towards the measuring device 22 to change the state to one in which the detection signal is detected again by the detection unit 13, and the identification unit 14 identifies the tool detection position P based on the position of the standard tool 23 at the time when the detection signal is detected again.

[0031] This makes it possible to identify the tool detection position P while switching from a state in which the detection signal is detected to a state in which it is not detected. Therefore, in the measurement, it is possible to verify whether the measuring device 22 operates appropriately.

[0032] (2) The detection unit 13 detects the timing at which the detection signal is switched to an undetectable state when the standard tool 23 moves away from the measuring instrument 22, and the identification unit 14 identifies the position of the tip of the standard tool 23 at the switching timing as the first detection limit position L, and the movement control unit 12 restricts the tip of the standard tool 23 from moving beyond the first predetermined distance beyond the first detection limit position L when the standard tool 23 moves toward the measuring instrument 22. This makes it possible to restrict the tip of the standard tool 23 from moving beyond the first predetermined distance when the detection signal cannot be detected due to poor contact of the measuring instrument 22, etc. Therefore, the measuring instrument 22 and the standard tool 23 can be protected.

[0033] (3) The measuring device 1 further includes a speed acquisition unit 11 that acquires a preset feed speed at which the cutting tool 21 is moved toward the measuring device 22 when measuring the length of the cutting tool 21, and the movement control unit 12 moves the standard tool 23 toward the measuring device 22 at the feed speed acquired by the speed acquisition unit 11. This makes it possible to identify the tool detection position P using the feed speed at which the tool length of the cutting tool 21 is measured. Therefore, in the contact-type measuring device 22, it is possible to take into account the shift in output timing of the detection signal due to differences in feed speed, thereby improving the measurement accuracy of the tool length of the cutting tool 21.

[0034] Although preferred embodiments of the measurement device and program of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be modified as appropriate. For example, in the above embodiment, the measurement device 1 may be configured as a part of a calibration device that calibrates the coordinates of the tool detection position P of the measuring device 22. This makes it possible to improve the measurement accuracy of the tool length when actually measuring the tool length of the cutting tool 21.

[0035] In the above embodiment, the identification unit 14 may stop identifying the tool detection position P if the detection signal does not switch to an undetected state for a movement of at least the second predetermined distance when the standard tool 23 is moved in a direction away from the measuring instrument 22. The identification unit 14 may stop identifying the tool detection position P if the detection signal does not turn off even when the tip of the standard tool 23 moves beyond the first detection limit position L, which is at least the second predetermined distance. Here, the second predetermined distance is preferably, for example, a length greater than the length of the tool detectable range R. This makes it possible to detect a malfunction of the measuring instrument 22, such as when the switch S of the measuring instrument 22 is stuck and cannot be moved mechanically. [Explanation of symbols]

[0036] 1. Measurement equipment 2 Machine tools 11 Speed ​​acquisition section 12 Movement control section 13 Detection section 14 Specific section 21 Cutting tools 23 Standard Equipment 22 Measuring instruments 32 Tables F Reference position L First detection limit position P Tool detection position Q Predetermined position R Tool detection range S Switch U Pressed surface

Claims

1. A measuring device for measuring a distance from a reference position of a machine tool to a tool detection position of a measuring device that measures a length of a cutting tool attached to the machine tool, comprising: A movement control unit that controls the movement of a standard tool having a known length attached to the machine tool; a detection unit that detects a detection signal indicating the tool detection position that is output when the measuring device is pressed; an identification unit that identifies the tool detection position of the measuring instrument based on a position of the tip of the standard tool at a timing when the detection signal is detected; Equipped with The detection unit detects a detection signal indicating that a tip end of the standard tool is present within a tool detectable range including the tool detection position, the movement control unit moves the standard tool in a direction away from the measuring instrument from a state in which a detection signal is detected by the detecting unit to a state in which a detection signal is not detected by the detecting unit, and then moves the standard tool toward the measuring instrument to change the state in which a detection signal is detected by the detecting unit again; The identification unit identifies the tool detection position based on a position of the standard tool at a timing when the detection signal is detected again, moreover, The detection unit detects a timing at which a detection signal is switched to a non-detection state by the detection unit when the standard tool moves in a direction away from the measuring device, The identification unit identifies, as a first detection limit position, a position of the tip of the standard tool at a timing when a detection signal is switched to a state in which it is not detected by the detection unit during the movement of the standard tool in a direction away from the measuring instrument, and The movement control unit is a measuring device that, when moving the standard tool toward the measuring instrument, restricts the tip of the standard tool from moving a first predetermined distance or more beyond the first detection limit position.

2. a speed acquisition unit that acquires a preset feed speed at which the cutting tool is moved toward the measuring device when measuring the length of the cutting tool, The measurement device according to claim 1 , wherein the movement control unit moves the standard tool toward the measuring instrument at the feed speed acquired by the speed acquisition unit.

3. The measuring device according to claim 1 or 2, wherein the detection unit detects a detection signal by the standard tool that is manually moved into the tool detectable range.

4. The measuring device according to any one of claims 1 to 3, wherein the identification unit discontinues identification of the tool detection position if, when the standard tool is moved in a direction away from the measuring instrument, the detection signal does not switch to a non-detection state for a movement of a second predetermined distance or more.

5. A program for causing a computer to function as a measuring device for measuring a distance from a reference position of a machine tool to a tool detection position of a measuring device that measures a length of a cutting tool attached to the machine tool, the program comprising: The computer, A movement control unit that controls the movement of a standard tool having a known length attached to the machine tool; a detection unit that detects a detection signal indicating the tool detection position that is output when the measuring device is pressed; an identification unit that identifies the tool detection position of the measuring instrument based on the position of the tip of the standard tool at the timing of detecting the detection signal; Function as a The detection unit detects a detection signal indicating that a tip end of the standard tool is present within a tool detectable range including the tool detection position, the movement control unit moves the standard tool in a direction away from the measuring instrument from a state in which a detection signal is detected by the detecting unit to a state in which a detection signal is not detected by the detecting unit, and then moves the standard tool toward the measuring instrument to change the state in which a detection signal is detected by the detecting unit again; The identification unit identifies the tool detection position based on a position of the standard tool at a timing when the detection signal is detected again, moreover, The detection unit detects a timing at which a detection signal is switched to a non-detection state by the detection unit when the standard tool moves in a direction away from the measuring device, The identification unit identifies a position of the tip of the standard tool at the switching timing as a first detection limit position, The movement control unit is a program that, when moving the standard tool toward the measuring instrument, restricts the tip of the standard tool from moving a first predetermined distance or more beyond the first detection limit position.

Citation Information

Patent Citations

  • Method of automatically detecting tool

    JP1985062446A

  • Contact method of touch sensor

    JP1991228551A

  • Tool length measuring method and device for machine tool

    JP1999099450A

  • NC machine tool furnished with tool size measuring function

    JP1999138392A

  • Blade tool position control method on machine tool and device

    JP2002120130A