Machining program correction device

The machining program correction device addresses the challenge of recreating tool paths with different tool diameters by analyzing existing paths, generating cutting shapes, and outputting new programs, allowing efficient machining without CAD/CAM expertise.

WO2025169336A1PCT designated stage Publication Date: 2025-08-14FANUC LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/004079
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2025-08-14

AI Technical Summary

Technical Problem

Existing technologies face difficulties in recreating a tool path for machining when the available tool diameter at the machining site differs from the assumed diameter, especially in free-form surface machining, due to the lack of access to CAD data and CAM software or knowledge at the site.

Method used

A machining program correction device that includes a cutting shape generation unit, a path correction unit using a second tool, and a machining program output unit, which analyzes existing tool paths, generates a cutting shape, corrects the path to accommodate a different tool shape, and outputs a new machining program, enabling tool path recreation without requiring CAD or CAM expertise.

Benefits of technology

Enables easy recreation of tool paths using tools available at the machining site, ensuring accurate machining without the need for specialized knowledge or software, thus facilitating efficient machining operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024004079_14082025_PF_FP_ABST
    Figure JP2024004079_14082025_PF_FP_ABST
Patent Text Reader

Abstract

The purpose of the present invention is to provide a machining program correction device capable of easily recreating a tool path. A machining program correction device 1 comprises: a cutting shape generation unit 10 that moves a first tool shape 230 along a tool path 220 acquired by analysis of a machining program generated for machining using the first tool shape 230, and removes portions in contact with a workpiece material shape to generate a cutting shape 300; a path correction unit 12 for a second tool, the path correction unit 12 correcting the tool path 220 so that a second tool shape 430 comes into contact with the cutting shape 300; and a machining program output unit 14 that converts a corrected tool path 420 into a machining program and outputs the machining program.
Need to check novelty before this filing date? Find Prior Art

Description

Machining program correction device

[0001] The present disclosure relates to a machining program correction device.

[0002] There is a technique for relatively moving a tool along a target shape when machining a workpiece with a tool in a machine tool. In this technique, the target shape of the workpiece after machining is created using CAD (Computer Aided Design) or the like. Furthermore, a machining program including instructions for a numerical control device of the machine tool is created using CAM (Computer Aided Manufacturing) or the like. Patent Document 1 discloses a technique for such a machine tool in which the machining program is corrected based on the difference between the actual shape after machining and the target shape.

[0003] Patent No. 7286860

[0004] However, there are cases where the machining site where the machine tool is used does not have a tool with the same diameter as the tool assumed when creating the path (tool path) for relative tool movement. In this case, when the machining using the machine tool is for free-form surface machining, etc., it is necessary to recreate the tool path based on the tool diameter available at the machining site. In order to recreate the tool path, CAM must be used.

[0005] When recreating a tool path using CAM, the CAD data used when the tool path was created and CAM setting information are required. The CAM setting information includes, for example, a path generation pattern such as parallel or spiral, and a pick feed.

[0006] It is usually difficult to obtain such CAD data and CAM setting information at the machining site. It is also possible that operators at the machining site do not have the CAM software itself or the knowledge to operate the CAM. Therefore, it is not easy to recreate a tool path based on the tool diameter available at the machining site. Therefore, an object of the present invention is to provide a machining program correction device that makes it easy to recreate a tool path.

[0007] The machining program correction device disclosed herein is a machining program correction device used in a numerical control device that corrects a tool path, which is the relative movement path of a tool and a machined workpiece, and includes: a cutting shape generation unit that moves a first tool shape according to the tool path obtained by analyzing a machining program generated for machining using the first tool shape, removes contact points with the workpiece material shape, and generates a cutting shape; a second tool path correction unit that corrects the tool path so that a second tool shape having a shape different from the first tool shape comes into contact with the cutting shape; and a machining program output unit that converts the tool path corrected by the second tool path correction unit into a machining program and outputs it.

[0008] According to the machining program correction device of the present disclosure, it is possible to provide a machining program correction device that can easily recreate a tool path.

[0009] Fig. 1 is a block diagram showing a schematic configuration of a machining program correction device according to an embodiment of the present disclosure. Fig. 2 is a flow diagram showing a process flow from generating a corrected machining program to outputting it. Fig. 3 is a diagram showing the contents of a machining program before correction and the coordinates of a tool path before correction. Fig. 4 is a diagram showing the tool path before correction and a cross section of a cutting shape. Fig. 5 is a diagram showing the tool path before correction and the tool path after correction. Fig. 6 is a diagram showing the coordinates of the tool path after correction and the contents of the machining program after correction.

[0010] (Machining program correction device) An embodiment of the present disclosure will be described with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a machining program correction device 1 according to an embodiment of the present disclosure. The machining program correction device 1 is a device that corrects the relative movement path of a tool and a machined workpiece. The relative movement path of the tool and the machined workpiece is called the tool movement path or tool path. The tool path is used in a numerical control device, which will be described later. The numerical control device is a device that controls a machine tool based on the tool path.

[0011] As shown in FIG. 1, the machining program correction device 1 includes a cutting shape generation unit 10, a path correction unit 12 using a second tool, and a machining program output unit 14.

[0012] (Input Information and Output Information) A workpiece material shape, a machining program, and a tool shape are input as input information to the machining program correction device 1. The tool shape includes a first tool shape and a second tool shape. A corrected machining program is output as output information from the machining program correction device 1.

[0013] (Cutting Shape Generator) The cutting shape generator 10 is a part that generates a cutting shape obtained by machining using the first tool shape. The cutting shape generator 10 receives as input a workpiece blank shape, a machining program, and a first tool shape.

[0014] The machining program input to the cutting shape generating unit 10 is a machining program before correction. The machining program before correction is a machining program generated for machining using a first tool shape. The cutting shape generating unit 10 analyzes the input machining program and acquires a tool path.

[0015] The cutting shape generating unit 10 moves the first tool shape along the tool path and removes contact points between the first tool shape and the separately input workpiece blank shape. In this way, the cutting shape generating unit 10 generates the cutting shape.

[0016] (Path correction unit by second tool) The path correction unit by second tool 12 is a part that corrects the tool path so that the second tool shape is tangent to the cutting shape. The cutting shape is the cutting shape generated by the cutting shape generation unit 10. The second tool shape is input to the path correction unit by second tool 12. The second tool shape is different from the first tool shape. The path correction unit by second tool 12 corrects the tool path so that a cutting shape similar to the cutting shape by the first tool shape is obtained by the second tool shape.

[0017] (Machining program output unit) The machining program output unit 14 converts the tool path corrected by the path correction unit using the second tool into a machining program and outputs it. A program obtained by converting the corrected tool path into a machining program is called a corrected machining program. The corrected machining program is output information from the machining program correction device 1.

[0018] As described above, the machining program correction device 1 of this embodiment corrects the tool path using the workpiece material shape, the first tool shape, and the cutting shape generated by the machining program to enable machining with the second tool shape. This makes it possible to provide a machining program correction device 1 that allows for easy re-creation of the tool path.

[0019] (Machining System) The machining program correction device 1 can constitute a part of a machining system 100. The machining system 100 is a system including all parts involved in machining. The machining system 100 includes a part that generates a machining program, a machine tool, and a part that controls the machine tool. As shown in FIG. 1 , the machining system 100 includes a numerical control device 40 and a machine tool 50 in addition to the machining program correction device 1.

[0020] The numerical control device 40 is a device that controls the machine tool 50 in accordance with the corrected machining program input from the machining program output unit 14. The machine tool 50 uses a tool to machine a workpiece in accordance with instructions from the numerical control device 40.

[0021] As described above, the machining system 100 of this embodiment is equipped with the machining program correction device 1, which enables appropriate machining even if the machining site is not equipped with a tool of the same diameter as the tool assumed when the tool path was created.

[0022] (Processing flow from generating a corrected machining program to outputting it) Fig. 2 is a flow chart showing the processing flow from generating a corrected machining program to outputting it. In Fig. 2 and the following description, S1 indicates step 1. The same applies to the other steps.

[0023] (S1) S1 is a step of obtaining a machining program generated for machining with a first tool shape and inputting it into the cutting shape generating unit 10. It is assumed that a tool having the first tool shape (first tool) is not provided at the machining site. A tool having a tool shape different from the first tool shape is provided at the machining site.

[0024] In S1, a machining program generated for machining using a first tool shape is obtained. This machining program can be obtained at the machining site. The obtained machining program is then input into the cutting shape generation unit 10.

[0025] (S2) S2 is a step of analyzing the input machining program and acquiring the tool path. The cutting shape generation unit 10 analyzes the machining program and acquires the tool path created for the first tool shape.

[0026] (S3) S3 is a step of simulating the movement of the first tool shape according to the acquired tool path. In S3, in addition to the first tool shape, it is preferable to input tool information about the first tool to the cutting shape generation unit 10. The tool information includes, for example, the type of tool and the tool diameter. Like the machining program, the tool information is usually available at the machining site. The tool information is usually written as a comment in a work instruction or in the machining program itself. The work instruction is usually available at the site. The tool shape may be one of the contents of the tool information.

[0027] (S4) S4 is a step in which the result of moving the first tool shape according to the tool path in S3 is removed from the contact points with the workpiece blank shape to generate a cutting shape. The cutting shape is the shape of the workpiece after machining, i.e., the target shape of the workpiece. The target shape of the workpiece can be obtained by subtracting the areas cut by the first tool shape from the workpiece blank shape, which is the shape of the workpiece before machining.

[0028] (S5) S5 is a step of correcting the tool path so that the second tool shape is tangent to the cutting shape. The second tool shape is different from the first tool shape. Therefore, the tool path is corrected to form the cutting shape with the second tool shape.

[0029] The second tool path correction unit 12 receives the cutting shape from the cutting shape generation unit 10. The second tool shape is also input to the second tool path correction unit 12. The second tool path correction unit 12 moves the second tool shape so as to be tangent to the cutting shape, thereby obtaining a corrected tool path.

[0030] (S6) S6 is a step of converting the corrected tool path into a machining program and outputting it. The second tool path correction unit 12 outputs the corrected tool path to the machining program output unit 14. The machining program output unit 14 converts the received corrected tool path into a machining program. This completes the process of generating and outputting the corrected machining program.

[0031] An example of generating a corrected machining program will be described with reference to Figures 3 to 6. Figure 3 is a diagram showing the contents of a machining program 200 before correction and coordinates 210 of a tool path before correction. An example will be described in which a tool path is generated for a block whose modality is G01. As shown in Figure 3, the machining program correction device 1 of this embodiment analyzes the machining program 200 before correction and generates coordinates 210 of a tool path before correction from each command point included in the machining program 200 before correction. Note that n-1, n, n+1, etc. included in the coordinates 210 of the tool path before correction are line numbers 310 of the machining program. The X, Y, and Z values ​​included in the coordinates 210 of the tool path before correction represent XYZ coordinates.

[0032] 4 is a diagram showing a tool path 220 before correction and a cross section 300 of the cutting shape. The tool path 220 before correction is a diagram illustrating the coordinates 210 of the tool path before correction shown in FIG. 3. The command points 240 before correction included in the tool path 220 before correction correspond to line numbers n-2 to n+2 of the machining program line numbers 310, respectively. The trajectory of the tool path 220 before correction is obtained by connecting the command points 240 corresponding to line numbers n-2 to n+2 of the machining program line numbers 310. The cross section 300 of the cutting shape is generated by moving the first tool shape 230 according to this tool path 220 before correction.

[0033] 5 is a diagram showing the tool path 220 before correction and the tool path 420 after correction. In the example shown in Fig. 5, a second tool shape 430, which is the shape of the tool after the change, is smaller than the first tool shape 230, which is the shape of the tool before the change. The corrected tool path 420 is obtained by moving the second tool shape 430 so as to follow the cross section 300 of the cutting shape.

[0034] Moving the second tool shape 430 so as to follow the cross section 300 of the cutting shape means moving the second tool shape 430, which is the shape of the tool after the change, at a position where there is no overcutting or uncutting with respect to the cutting shape. This movement corrects the tool path. An arrow 320 shown in FIG. 5 indicates the direction of correction 320 from the tool path 220 before correction to the tool path 420 after correction. In the example shown in FIG. 5, the second tool shape 430 is smaller than the first tool shape 230. Therefore, the tool path is corrected in a direction approaching the cross section 300 of the cutting shape.

[0035] FIG. 6 shows the contents of the corrected tool path coordinates 410 and the corrected machining program 400. The bolded values ​​shown in the corrected tool path coordinates 410 are parts that have been changed (corrected) from the pre-correction tool path coordinates 210. The corrected tool path coordinates 410 are converted into a machining program to become the corrected machining program 400. FIG. 6 explains an example of generating a G01 machining program command from the corrected tool path 420. In the machining program, the G01 command, which is a modal G-code, and the Y-axis command, which does not involve movement, can be omitted. The bolded values ​​shown in the corrected machining program 400 are parts that have been changed (corrected) from the pre-correction machining program 200.

[0036] For example, the series of processes described above with reference to FIG. 2 can be executed by hardware as an information processing device. The series of processes described above can also be executed by the information processing device via software. When the series of processes is executed by software, a program constituting the software is installed into a computer or the like from a network or a recording medium. The computer may be a computer incorporated into dedicated hardware. The computer may also be a computer capable of executing various functions by installing various programs thereon, such as a general-purpose personal computer.

[0037] As described above, the machining program correction device of this embodiment can generate a tool path corresponding to a tool available at the site, even if the tool assumed when the tool path was created is not available at the site. The tool path itself that has already been created exists at the machining site in the form of a machining program. Furthermore, the tool information assumed when the tool path was created is often also available at the site because it is written as a comment in the work instruction or the machining program itself.

[0038] Therefore, the machining program correction device of this embodiment provides a machining program correction device that changes the tool path so that it can be machined with a tool available at the machining site and re-outputs it, without requiring the operator to have knowledge of CAD data and CAM operations. The machining program correction device enables the following procedures: The operator inputs the tool path and tool information (tool type, tool diameter, etc.) of the tool set when the tool path was generated, and generates a cutting shape by cutting simulation. The operator inputs tool information of the tool available at the machining site, and corrects the tool path so that the tool follows the cutting shape. By re-outputting the corrected tool path, a tool path corresponding to the desired tool can be obtained.

[0039] The present disclosure is not limited to the above-described embodiments and modifications, and includes modifications and improvements within the scope of achieving the object of the present disclosure.

[0040] The following supplementary note is further disclosed regarding the above embodiment: (Supplementary note 1) A machining program correction device (1) for correcting a tool path (220), which is a relative movement path between a tool and a machined workpiece, used in a numerical control device (40), includes: a cutting shape generation unit (10) that moves a first tool shape (230) according to the tool path (220) acquired by analyzing a machining program generated for machining using the first tool shape (230), removes a contact point with a workpiece blank shape, and generates a cutting shape (300), a second tool path correction unit (12) that corrects the tool path (220) so that a second tool shape (430) having a shape different from the first tool shape (230) comes into contact with the cutting shape (300), and a machining program output unit (14) that converts the tool path (420) corrected by the second tool path correction unit (12) into a machining program and outputs the program.

[0041] (Appendix 2) An information processing program for causing a computer to function as the above-mentioned machining program correction device (1), the information processing program for causing a computer to function as a cutting shape generation unit (10), a path correction unit (12) using a second tool, and a machining program output unit (14).

[0042] REFERENCE SIGNS LIST 1 Machining program correction device 10 Cutting shape generation unit 12 Path correction unit using second tool 14 Machining program output unit 40 Numerical control device 50 Machine tool 100 Machining system 220 Tool path before correction 230 First tool shape 240 Command point before correction 300 Cross section of cutting shape 310 Line number 320 Correction direction 420 Tool path after correction 430 Second tool shape 440 Command point after correction

Claims

1. A machining program correction device used in a numerical control device that corrects a tool path, which is the relative movement path between a tool and a machined workpiece, comprising: a cutting shape generation unit that moves a first tool shape according to the tool path obtained by analyzing a machining program generated for machining using the first tool shape, removes contact points with the workpiece material shape, and generates a cutting shape; a path correction unit using a second tool that corrects the tool path so that a second tool shape different from the first tool shape comes into contact with the cutting shape; and a machining program output unit that converts the tool path corrected by the path correction unit using the second tool into a machining program and outputs it.

2. An information processing program for causing a computer to function as the machining program correction device described in claim 1, comprising a cutting shape generation unit, a path correction unit using a second tool, and a machining program output unit.

Citation Information

Patent Citations

  • Preparation of transfer passage for NC working tool

    JP1994031591A

  • Tool path determining method, tool path determining device and recording medium

    JP2000190166A

  • Machining data creation method, program of machining data creation method, and recording medium with the program of machining data creation method stored

    JP2006127213A

  • Machining program conversion device, numerical control device, and machining program conversion method

    WO2020178978A1

  • Machining program modification device, machining program modification method, and machining system

    WO2022176077A1