Matching determination device and computer-readable storage medium

The consistency determination device addresses inefficiencies in determining command-tool consistency by using internal processing units to minimize computational load and costs, ensuring rapid adaptation to the latest tools and machine tools, and providing centralized history management for improved accuracy.

WO2025158514A1PCT designated stage expired Publication Date: 2025-07-31FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/001764
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2025-07-31

AI Technical Summary

Technical Problem

Existing methods for determining the consistency between commands and tools in machine tools require significant custom setup effort, incur high computational loads, increase processor costs, and result in delayed responses due to reliance on machine learning or external systems, leading to inefficiencies and increased costs.

Method used

A consistency determination device that includes a process identification unit, tool identification unit, history acquisition unit, integrity determination unit, and output unit to quickly determine the consistency between machining commands and tools, utilizing internal data and reducing the need for external systems, thereby minimizing computational load and costs.

Benefits of technology

The device efficiently determines consistency between machining commands and tools, reducing processing time and costs while ensuring rapid adaptation to the latest tools and machine tools, with centralized history management for improved accuracy and reduced time to compliance with the latest standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024001764_31072025_PF_FP_ABST
    Figure JP2024001764_31072025_PF_FP_ABST
Patent Text Reader

Abstract

This matching determination device: identifies information pertaining to machining instructed by a block of a machining program; identifies information pertaining to a tool that is used in the machining; acquires the information pertaining to the machining, the information pertaining to the tool, and a history of at least one of abnormality or normality when the machining was executed using a combination of the machining and the tool; determines whether abnormality occurred when the machining instructed by the block of the machining program was executed using the tool; and outputs a result of the determination.
Need to check novelty before this filing date? Find Prior Art

Description

Consistency determination device and computer-readable storage medium

[0001] The present disclosure relates to a consistency determination device and a computer-readable storage medium.

[0002] A control device that controls a machine tool controls the operation of each axis of the machine tool according to a machining program. An operator creates a machining program while checking the machine tool, workpiece, and tools. When machining with a machine tool, it is necessary to check the consistency between commands and tools (combinations of commands and tools that can be executed without problems). Conventionally, there are techniques that use various check patterns to check the consistency between commands and tools. There is also a technique that uses machine learning to check the consistency between commands and tools (for example, see Patent Document 1).

[0003] Japanese Patent Application Laid-Open No. 2020-62737

[0004] Preparing various check patterns to check consistency between commands and tools requires customizing the patterns, which is a significant workload. Machine learning places a heavy burden on the calculations, putting pressure on processor processing time. Furthermore, using expensive processors increases costs. Furthermore, when using machine learning models provided by external systems such as the cloud, internal data must be uploaded to the cloud, which incurs financial costs such as network installation. Furthermore, checking consistency using machine learning and patterns is time-consuming and slows down support for the latest tools and machine tools.

[0005] It is desirable to quickly determine whether the command and the tool are compatible.

[0006] The consistency determination device includes a processing identification unit that identifies information related to processing instructed in a block of a processing program, a tool identification unit that identifies information related to the tool used for the processing, a history acquisition unit that acquires information related to the processing, information related to the tool, and at least one history of abnormality or normality when processing is performed with a combination of the processing and the tool, a consistency determination unit that determines whether an abnormality has occurred based on the combination of information related to the processing identified by the processing identification unit and information related to the tool identified by the tool identification unit, and an output unit that outputs the result of the determination.

[0007] It is a block diagram of the consistency determination device of the first embodiment. It is a diagram showing an example of a multi-edge tool. It is a flowchart explaining the operation of the consistency determination device. It is a diagram showing an example of a machining program. It is a diagram showing an example of a history. It is a block diagram of the consistency determination device of the second embodiment. It is a block diagram of the consistency determination device of the third embodiment. It is a hardware configuration diagram of the consistency determination device.

[0008] First Embodiment A consistency determination device according to a first embodiment will be described below. The consistency determination device is realized by an information processing device such as a numerical control device or a PC (personal computer).

[0009] 1 is a block diagram of a consistency determination device 100. The consistency determination device 100 includes a processing specification unit 1, a tool specification unit 2, a history acquisition unit 3, a consistency determination unit 4, and an output unit 5.

[0010] The machining specification unit 1 specifies information related to machining commanded in a block of the machining program. When specifying information related to machining, the machining program and internal information of the numerical control device (hereinafter referred to as modal) are referenced. Information related to machining includes the type of command, the number of rotations of the spindle, and the direction of rotation. Types of commands include cycle commands and tool compensation commands. Cycle commands include tapping, boring, drilling, etc. The type of machining can be determined from the cycle command. The amount of compensation and the direction in which compensation is performed (geometric direction) can be determined from the tool compensation command.

[0011] Machining information can also be identified from comments in the machining program. For example, a machining program may contain a comment such as "(ENDMILL T1 S2500 H1)." The machining specification unit 1 analyzes the comment and identifies the tool as an "end mill," the tool number as "1," the rotation speed as "2500," and the correction number as "1." Note that the above-mentioned comment is an example. The information written in the comment varies for each comment. For example, when only part of the information in the machining program is changed, it is possible that only the changed information is commented, and no comment is written for information that remains unchanged. Information not written in the comment is often commanded before the comment and stored as modal.

[0012] The information about machining is associated with the blocks of the machining program. That is, the output of the machining specification unit 1 is information about the machining executed by each block. The information about machining includes the type of command, the number of rotations (rotation speed) of the spindle, the rotation direction, etc. This information can be registered in the history.

[0013] The tool identification unit 2 identifies information related to the tool. When identifying the information, the machining program and the modalities of the numerical control device are referenced. The information related to the tool is mainly the tool number. The tool number is usually information that is uniquely named for each type of tool. The tool number may also indicate the position of the tool in a tool changer. A tool changer is a device that stores multiple tools and automatically changes tools according to commands. Note that the information related to the tool may be not only the tool number but also the name of the tool (tool name).

[0014] The tool identification unit 2 also identifies the tool number of a multi-edge tool. A multi-edge tool is a tool with multiple edges, as shown in FIG. 2. When specifying a multi-edge tool, for example, the edge is specified by writing a number (or name) after the normal tool number "XX." For example, in "01, 3," the edge is specified by the "3" after the ",".

[0015] The tool identification unit 2 also refers to comments in the machining program. As mentioned above, the machining program may contain comments such as "(ENDMILL T1 S2500 H1)." Analysis of the comments reveals that the tool number is "1."

[0016] The history acquisition unit 3 acquires a history of combinations of machining and tools. The history includes at least one of information about machining performed in a block, information about tools used in the block, and results of executing the block with the tools (normal / abnormal combination).

[0017] The consistency determination unit 4 searches for a combination of information about the block and information about the tool, and determines the consistency between the machining and the tool based on whether there is a history of normal or abnormal results when the block is executed with the tool.

[0018] The output unit 5 outputs the determination result of the matching between the machining and the tool. The output means may be a display, a printout, a storage medium, a file output, etc. The output allows the operator to check the matching between the machining program block and the tool.

[0019] The operation of the consistency determination device 100 will be described in accordance with the flowchart of Fig. 3, using the machining program of Fig. 4 as an example. In the following description, the five blocks of sequence numbers "N1" to "N5" of the machining program of Fig. 4 will be described as an example.

[0020] The processing specifying unit 1 specifies a block for which processing is to be instructed (step S1). In Fig. 4, the block for which processing is to be instructed has a sequence number "N3" and a code "G84 X100.Y200.R50.Z-150.;".

[0021] The machining specifying unit 1 specifies the type of machining as “tapping” from the G-code “G84.” The machining specifying unit 1 may specify further detailed information such as a tool compensation amount from modal data or the like (step S2).

[0022] The tool identification unit 2 identifies information about the tool from the code of the sequence number "N1." The information about the tool includes at least the tool number "1." The tool number can be identified from the machining program or modal (step S3).

[0023] The consistency determination unit 4 determines consistency by referring to the history. Fig. 5 is an example of the history. The history records combinations of tool numbers (information about tools) and commands (information about blocks that command machining), as well as information about whether the combination is normal or abnormal. The consistency determination unit 4 determines whether the current combination of tool number and command has caused an abnormality or has operated normally (step S4).

[0024] After determining the consistency of a certain block, the machining specifying unit 1 reads the next block. If the next block is a block that commands machining (Step S5; Yes), the process returns to Step S1. When the machining program reaches the last line (Step S5; No), the consistency determination ends.

[0025] 6 shows a consistency determination device 100 according to a second embodiment. The history acquisition unit 3 according to the second embodiment includes a combination determination unit 6 and a history creation unit 7, and creates a history. In the consistency determination device 100 according to the second embodiment, a description of the same components as those of the consistency determination device 100 according to the first embodiment will be omitted.

[0026] The combination determination unit 6 determines whether a combination of machining and tool is normal or abnormal using information about the block, information about the tool, and information indicating whether it is normal or abnormal. Information indicating abnormality includes feedback data from the motor, camera image data, operator input, etc. Feedback data from the motor includes the load on the motor and the position deviation between the command and actual rotation amount. The combination determination unit 6 determines that a combination is abnormal if an excessive load is detected or the position deviation exceeds a threshold. Camera image data can also be used to determine abnormality. Abnormality determination using image analysis is an existing technology. If the image analysis detects an abnormality such as hole damage, tool breakage, or chip clogging, the combination determination unit 6 determines that the combination is abnormal. The operator's input is the operator's judgment regarding the combination of tool and machining. If an abnormality occurs during machining or is detected in the log, the operator inputs the occurrence of the abnormality. The operator may also input the identification number of the block in which the abnormality occurred. The combination determination unit 6 determines that a combination of block and tool is abnormal based on the operator's input. The timing for determining the combination may be not only when the machining program is executed, but also when the machining program is created, when the program is input in MDI (Manual Data Input) mode, or the like.

[0027] The machining specifying unit 1 specifies information about the block in which the abnormality has occurred based on the machining program and the modal. The process of specifying information about the block is the same as that described in the first embodiment.

[0028] The tool identification unit 2 identifies information about the tool used in the block based on the machining program and modal. The process of identifying information about the tool is the same as that described in the first embodiment.

[0029] The history creation unit 7 creates a history that associates information about the block, information about the tool, and information indicating abnormality or normality. The history may be managed by a single information processing device (such as a numerical control device or a personal computer), may be centrally managed by a factory server, may be centrally managed by a server of an organization with multiple factories, or may be centrally managed by an operating company of a service that manages and provides the history. In factories and organizations with multiple factories, tool numbers are often standardized. According to the consistency determination device 100 of this embodiment, the consistency between the tool and the machining can be accumulated as a database each time a tool is used at a certain site.

[0030] History is created during machining, after machining, and during simulation. When creating history during machining or simulation, information on the block commanding the machining, information on the tool used for machining, and information on combination judgment are acquired in real time, and the history is updated each time an abnormality occurs. After machining, the history is created based on logs, etc. If machining has completed successfully, information indicating that it was normal may be recorded in the history.

[0031] As described above, the consistency determination device 100 of this embodiment identifies details of blocks and tools from the machining program and internal information of the numerical control device. If there is a history of an abnormality occurring for a combination of information about blocks and information about tools, the device outputs a message to that effect, allowing the operator to avoid the occurrence of an abnormality.

[0032] Furthermore, the history can be managed centrally by the factory, organization, operating company, etc. Therefore, the consistency between tools and blocks can be compiled into a database based on the performance of each operator. Because the performance of each operator is accumulated, time and financial costs are reduced, and the time required to support the latest machine tools and tools can be shortened.

[0033] (Third Embodiment) FIG. 7 shows a consistency determination device 100 according to a third embodiment. The consistency determination device 100 according to the third embodiment includes a tool number confirmation unit 8. The tool number confirmation unit 8 confirms whether the tool number and the tool type match. The consistency determination device 100 according to the present embodiment creates a history on the assumption that the tool number and the tool type match. However, an incorrect combination may occur due to an input error by the operator or an error in the installation work. The tool number confirmation unit 8 confirms whether the tool number and the tool type match. The tool number confirmation unit 8 acquires image data from a camera, read data of a two-dimensional code, and the like. The image data from the camera is, for example, a character string representing the tool type. The two-dimensional code also represents the tool type. The tool number confirmation unit 8 stores the read data in association with the tool number. The tool number confirmation unit 8 confirms whether the tool type read previously and the tool type read this time are associated with the same tool number. If different tool types are associated with the same tool number, a mismatch between the tool number and the tool type is detected.

[0034] As described above, the consistency determination device 100 of the third embodiment checks whether the tool type and the tool number match. Since the consistency determination device 100 of this embodiment is based on the premise that the tool type and the tool number match, it checks in advance that there is a one-to-one correspondence between these pieces of information, thereby improving accuracy.

[0035] The hardware configuration of the consistency determination device 100 to which the present disclosure is applied will be described below. Fig. 8 is a hardware configuration diagram of the consistency determination device 100. As shown in Fig. 8, the consistency determination device 100 includes a CPU 111 that controls the overall consistency determination device 100, a ROM 112 that records programs and data, and a RAM 113 for temporarily expanding data. The CPU 111 reads out a system program recorded in the ROM 112 via a bus and determines the consistency between a block and a tool.

[0036] The nonvolatile memory 114 is backed up by, for example, a battery (not shown), and the stored state is maintained even when the power to the consistency determination device 100 is turned off. The nonvolatile memory 114 stores various data such as programs read from the external device 120 via the interfaces 115, 118, and 119 and operation inputs input via the input device 20. The nonvolatile memory 114 may store programs and data for executing the consistency determination device 100 of this embodiment.

[0037] The interface 115 is an interface for connecting the consistency determination device 100 to an external device 120 such as an adapter. Programs, various parameters, etc. are loaded from the external device 120. The interface 118 is an interface for connecting the consistency determination device 100 to a display device 30 such as a liquid crystal display. The display device 30 displays various data loaded into memory, data obtained as a result of executing programs, etc. The interface 119 is an interface for connecting the consistency determination device 100 to an input device 20 such as a keyboard or pointing device. The input device 20 passes commands, data, etc. based on operations by an operator to the CPU 111 via the interface 119.

[0038] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the gist of the present disclosure derived from the claims and their equivalents. Furthermore, these embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these.

[0039] The following supplementary notes are further disclosed regarding the above-described embodiment and modified examples. (Supplementary Note 1) The consistency determination device (100) includes a machining specification unit (1) that specifies information about machining commanded by a block of a machining program, a tool specification unit (2) that specifies information about a tool used for the machining, a history acquisition unit (3) that acquires information about the machining, information about the tool, and at least one of an abnormality and a normal history when machining is performed using a combination of the machining and the tool, a consistency determination unit (4) that determines whether an abnormality has occurred based on a combination of the information about the machining specified by the machining specification unit (1) and the information about the tool specified by the tool specification unit (2), and an output unit (5) that outputs the result of the determination. (Supplementary Note 2) The machining specification unit (1) specifies information about the machining from at least one of the machining program and internal information of the numerical control device. (Supplementary Note 3) The tool specification unit (2) specifies information about the tool from at least one of the machining program and internal information of the numerical control device. (Supplementary Note 4) The machining specification unit (1) specifies information about the machining from comments in the machining program. (Supplementary Note 5) The tool identification unit (2) identifies information about the tool from comments in the machining program. (Supplementary Note 6) The information about the tool is information specifying the edges of a multi-edge tool. (Supplementary Note 7) The information about the machining is the type of cycle command. (Supplementary Note 8) The information about the tool is at least one of a tool number and a tool name. (Supplementary Note 9) The consistency determination device (100) includes a combination determination unit (6) that determines whether a combination of machining and tool is normal or abnormal using information about the block, information about the tool, and information for determining abnormality, and a history creation unit (7) that creates a history that associates the information about the block, information about the tool, and the presence or absence of an abnormality. (Supplementary Note 10) The combination determination unit (6) determines abnormality based on feedback data from a motor. (Supplementary Note 11) The combination determination unit (6) determines abnormality based on image data from a camera. (Supplementary Note 12) The combination determination unit (6) determines abnormality based on input from an operator. (Supplementary Note 13) A tool number confirmation unit (8) is provided to confirm the one-to-one correspondence between the tool number and the tool model number.(Supplementary Note 14) The output unit (5) outputs information about tools that do not cause an abnormality or that operate normally. (Supplementary Note 15) The computer-readable storage medium (112, 113, 114) stores instructions for causing one or more processors (111) to execute processing to identify information about machining instructed in a block of a machining program, identify information about a tool used in the machining, acquire information about the machining, information about the tool, and at least one history of an abnormality or normality when machining is performed with a combination of the machining and the tool, determine whether an abnormality has occurred when the machining instructed in the block of the machining program is performed using the tool, and output the result of the determination.

[0040] REFERENCE SIGNS LIST 100 Consistency determination device 1 Machining identification unit 2 Tool identification unit 3 History acquisition unit 4 Consistency determination unit 5 Output unit 6 Combination determination unit 7 History creation unit 8 Tool number confirmation unit 111 CPU 112 ROM 113 RAM 114 Non-volatile memory

Claims

1. A consistency determination device comprising: a process identification unit that identifies information related to a process commanded by a block of a processing program; a tool identification unit that identifies information related to a tool used in the process; a history acquisition unit that acquires at least one of a history of abnormality or normality when executing the process with a combination of the information related to the process, the information related to the tool, and the process and the tool; a consistency determination unit that determines whether an abnormality has occurred based on a combination of the information related to the process identified by the process identification unit and the information related to the tool identified by the tool identification unit; and an output unit that outputs the result of the determination.

2. The consistency determination device according to claim 1, wherein the process identification unit identifies information related to a process from at least one of a processing program and internal information of a numerical control device.

3. The consistency determination device according to claim 1, wherein the tool identification unit identifies information related to a tool from at least one of a processing program and internal information of a numerical control device.

4. The consistency determination device according to claim 1, wherein the process identification unit identifies information related to a process from a comment of a processing program.

5. The consistency determination device according to claim 1, wherein the tool identification unit identifies information related to a tool from a comment of a processing program.

6. The consistency determination device according to claim 1, wherein the information related to the tool is information specifying an edge of a multi-edge tool.

7. The consistency determination device according to claim 1, wherein the information related to the process is a type of cycle command.

8. The consistency determination device according to claim 1, wherein the information related to the tool is at least one of a tool number or a tool name.

9. The consistency determination device according to claim 1, further comprising: a combination determination unit that determines whether a combination of a process and a tool is normal or abnormal using information related to a block, information related to a tool, and information for determining an abnormality; and a history creation unit that creates a history associating the information related to the block, the information related to the tool, and the presence or absence of an abnormality.

10. The consistency determination device according to claim 9, wherein the combination determination unit determines an abnormality based on feedback data from a motor.

11. The consistency determination device according to claim 9, wherein the combination determination unit determines an abnormality based on imaging data from a camera.

12. The consistency determination device according to claim 9, wherein the combination determination unit determines an abnormality based on an input from an operator.

13. The consistency determination device according to claim 1, comprising a tool number confirmation unit that confirms a one-to-one correspondence between a tool number and a tool model number.

14. The consistency determination device according to claim 1, wherein the output unit outputs information regarding a tool that does not generate an abnormality or operates normally.

15. A computer-readable storage medium storing instructions for causing one or more processors to identify information regarding machining commanded by a block of a machining program, identify information regarding a tool used in the machining, obtain at least one of a history of abnormality or normality when the machining is executed with a combination of the information regarding the machining and the information regarding the tool, determine whether an abnormality occurs when the machining commanded by the block of the machining program is executed using the tool, and output the result of the determination.

Citation Information

Patent Citations

  • Automatic collation and recognization device for tool

    JP1994134638A

  • Numerical controller

    JP2006099284A

  • Cutting condition verifying device

    JP2019117516A

  • Numerical control device

    JP2021067997A

  • Processing device, and method for managing processing device

    JP2024001494A