Machining program generation device, numerical control device, machining system, and machining program generation method

The machining program generation device addresses the challenge of uncut portions in turning by extracting and correcting uncut shapes based on cutting edge curvature, enhancing machining efficiency and accuracy through precise program generation.

JP7731528B1Active Publication Date: 2025-08-29MITSUBISHI ELECTRIC CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2025531757
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-08-29
Estimated Expiration
2045-02-19

AI Technical Summary

Technical Problem

Existing machining technologies fail to generate machining programs that accurately and easily eliminate uncut portions during turning operations, particularly due to the shape of the cutting edge and the uncut portion, leading to inefficiencies in machining processes.

Method used

A machining program generation device that acquires tool and turning data, extracts uncut shapes, corrects them based on cutting edge curvature, and generates a program to include machining steps for turning these uncut areas, using tools like inner and outer diameter tools, and tools for grooving, parting, and threading.

Benefits of technology

Enables the generation of machining programs that effectively eliminate uncut areas during turning, improving machining efficiency and accuracy by incorporating uncut shape correction based on cutting edge geometry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007731528000001
    Figure 0007731528000001
  • Figure 0007731528000002
    Figure 0007731528000002
  • Figure 0007731528000003
    Figure 0007731528000003
Patent Text Reader

Abstract

The machining program generation device includes an acquisition unit that acquires tool data, machining information indicating a turning machining method that defines the operation of the tool, material shape data indicating the shape of the workpiece, and product shape data indicating the shape of the product; an extraction unit that extracts first shape data indicating an uncut shape, which is a shape left uncut in the turning machining, based on the tool data, machining information, material shape data, and product shape data; an uncut shape correction unit (26) that corrects the first shape data based on the tool data to include the uncut shape resulting from the curvature of the cutting edge of the tool, and generates second shape data; and a generation unit that generates a machining program for executing the turning machining based on the second shape data so as to include a machining step of turning the uncut shape.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a machining program generation device for generating a machining program for turning, a numerical control device, a machining system, and a machining program generation method. [Background technology]

[0002] In cutting, either the workpiece or the cutting tool is rotated at high speed, and the cutting tool is brought into contact with the workpiece. For example, in turning, which is a type of cutting, a turning tool called a cutting tool is pressed against the workpiece, which is rotated at high speed, to perform the cutting.

[0003] In machining to form recesses in a workpiece, there are cases where the turning tool does not come into contact with the workpiece, leaving portions uncut.

[0004] Patent Document 1 discloses a technology in which, when there is no tool that can cut the remaining part of a recess among the pre-registered tools, a cutting tool generation unit is provided that generates a tool shape that can cut the remaining part of the recess from the remaining part of the recess, and creates numerical control information for the recess shape using the generated tool. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Patent No. 2599206 Summary of the Invention [Problem to be solved by the invention]

[0006] Since turning involves cutting horizontally in one direction, uncut portions may occur depending on the shape of the machining portion and the shape of the tool. However, the technology disclosed in Patent Document 1 addresses this issue by generating a tool shape capable of cutting the uncut portion of the recess from the shape of the uncut portion and creating numerical control information for the recess shape using the generated tool, but does not generate a machining program including a machining process that can eliminate the uncut portion by taking into account the shape of the cutting edge of the tool and the shape of the uncut portion, resulting in the problem that the uncut portion cannot be easily and accurately eliminated.

[0007] The present disclosure has been made in consideration of the above, and aims to provide a machining program generation device that can generate a machining program that enables turning while easily and accurately eliminating uncut areas. [Means for solving the problem]

[0008] In order to solve the above-mentioned problems and achieve the object, a machining program generation device according to the present disclosure includes an acquisition unit that acquires tool data including information on tools and turning conditions used in turning a workpiece, machining information indicating a turning method that defines the operation of the tool, material shape data indicating the shape of the workpiece, and product shape data indicating the shape of the product, and an extraction unit that extracts first shape data indicating an uncut shape, which is a shape left uncut in the turning, based on the tool data, machining information, material shape data, and product shape data. The machining program generation device also includes an uncut shape correction unit that corrects the first shape data extracted by the extraction unit based on the tool data to include the uncut shape resulting from the curvature of the cutting edge of the tool, and generates second shape data, and a generation unit that generates a machining program for executing the turning based on the second shape data, so as to include a machining step of turning the uncut shape. [Effects of the Invention]

[0009] The machining program generation device according to the present disclosure has the effect of being able to generate a machining program that enables turning while eliminating uncut portions easily and accurately. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram showing a configuration of a machining system according to a first embodiment. [Figure 2] FIG. 10 is a diagram showing an example of the specifications of a cutting tool stored in a tool data storage unit of the machining program generation device according to the first embodiment; [Figure 3] 1 is a flowchart showing a procedure of a machining program generation process performed by a machining program generation device according to a first embodiment. [Figure 4] FIG. 1 is a diagram showing an example of a product shape corresponding to product shape data stored in a shape data storage unit of the machining program generating device according to the first embodiment; [Figure 5] FIG. 1 is a diagram showing an example of a material shape corresponding to material shape data stored in a shape data storage unit of the machining program generation device according to the first embodiment; [Figure 6] FIG. 1 is a diagram showing an example of product shape data and material shape data that are shape-arranged by a shape arrangement unit of the machining program generation device according to the first embodiment; [Figure 7] FIG. 1 is a schematic diagram showing an example of turning shape data generated by a turning program generating unit of the machining program generating device according to the first embodiment; [Figure 8] FIG. 1 is a schematic diagram showing an example of turning shape data generated by a turning program generating unit of the machining program generating device according to the first embodiment; [Figure 9] FIG. 1 is a diagram showing an example of a list of machining steps in a machining program generated by a turning machining program generation unit and an uncut machining program generation unit of a machining program generation device according to the first embodiment; [Figure 10] FIG. 1 is a block diagram showing a configuration of an uncut machining program generation unit according to a first embodiment; [Figure 11] 1 is a flowchart showing a detailed procedure for generating an uncut machining program performed by an uncut machining program generating unit of the machining program generating device according to the first embodiment. [Figure 12] 1 is a flowchart showing a detailed procedure for generating an uncut shape performed by an uncut machining program generating unit of the machining program generating device according to the first embodiment. [Figure 13] FIG. 10 is a diagram showing an example of a process for generating an uncut shape from a machining shape in an uncut machining program generating unit of the machining program generating device according to the first embodiment; [Figure 14] FIG. 10 is a diagram showing an example of a process for generating an uncut shape from a machining shape in an uncut machining program generating unit of the machining program generating device according to the first embodiment; [Figure 15] FIG. 10 is a diagram showing an example of a process for generating an uncut shape from a machining shape in an uncut machining program generating unit of the machining program generating device according to the first embodiment; [Figure 16] FIG. 10 is a diagram showing an example of a process for generating an uncut shape from a machining shape in an uncut machining program generating unit of the machining program generating device according to the first embodiment; [Figure 17] FIG. 10 is a diagram showing an example of a process for generating an uncut shape from a machining shape in an uncut machining program generating unit of the machining program generating device according to the first embodiment; [Figure 18] 1 is a flowchart showing a detailed procedure for generating an uncut machining program for an uncut shape, which is performed by an uncut machining program generating unit of the machining program generating device according to the first embodiment. [Figure 19] FIG. 10 is a diagram showing an example of an uncut shape corrected by the uncut shape correcting unit of the machining program generating device according to the first embodiment in accordance with the radius value of the cutting edge R; [Figure 20] 1 is a flowchart showing a detailed procedure for tool selection performed by a tool selection unit of the machining program generation device according to the first embodiment. [Figure 21] FIG. 10 is a diagram showing an example of a maximum cutting edge angle acquired from a turning shape by the machining program generation device according to the first embodiment; [Figure 22] FIG. 10 is a diagram showing an example of a maximum cutting edge angle acquired from a turning shape by the machining program generation device according to the first embodiment; [Figure 23]FIG. 10 is a diagram showing an example of a maximum cutting edge angle acquired from a turning shape by the machining program generation device according to the first embodiment; [Figure 24] FIG. 10 is a diagram showing an example of a maximum cutting edge angle acquired from a turning shape by the machining program generation device according to the first embodiment; [Figure 25] FIG. 1 is a block diagram showing a hardware configuration of a machining program generating device according to a first embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A machining program generating device, a numerical control device, a machining system, and a machining program generating method according to embodiments will be described in detail below with reference to the accompanying drawings.

[0012] Embodiment 1 1 is a diagram showing the configuration of a machining system according to embodiment 1. Machining system 200 includes machine tool 60 that performs turning on a workpiece, and numerical control device 100 that numerically controls machine tool 60 using machining program 2.

[0013] The machine tool 60 is a lathe or a combined lathe. In other words, the following description will be given of a case where machining is performed by pressing a turning tool, which is a tool used in turning, against a workpiece rotated at high speed.

[0014] The numerical control device 100 automatically creates a machining program 2 for numerically controlling the machine tool 60, and controls the machine tool 60 using the created machining program 2. Here, the machining program 2 is used to turn the workpiece from its raw state and cut out the product shape of the turned product.

[0015] The numerical control device 100 includes a machining program generating device 10, an interactive operation processing unit 20, an instruction input unit 30, a display unit 40, and a control unit 50.

[0016] The machining program generation device 10 is a device that generates a machining program 2 including a plurality of turning processes for cutting a turned product from a workpiece by numerical control. The machining program generation device 10 generates the machining program 2 based on machining shape data input to the machining program generation device 10 from outside the numerical control device 100. The machining shape data includes material shape data and product shape data. The machining program generation device 10 of the first embodiment generates the machining program 2 based on the shape-corrected product shape data and the material shape data.

[0017] The material shape data is data that defines the material shape, which is the shape of the workpiece before processing. The product shape data is data that defines the product shape, which is the shape of the workpiece after processing. The material shape data and product shape data are, for example, CAD (Computer-Aided Design) data 1.

[0018] The machining program generation device 10 generates a machining program 2 including machining unit information, which is information about the machining units, based on the arrangement positions of the material shape data and product shape data, the workpiece origin, and program coordinates. The machining program 2 includes a turning program 2a and a remaining cutting program 2b, which will be described later.

[0019] A machining unit refers to machining performed continuously using the same tool on the same spindle. Machining unit information includes machining information indicating a turning method that defines the operation of the tool, tool data including information on the tool used for machining and turning conditions, and shape sequence data including shape information that defines a machining shape consisting of a single shape. Furthermore, machining unit information is data on machining processes such as a turning machining unit, a stepped hole machining unit, a facing machining unit, an R-chamfer machining unit, and a C-chamfer machining unit. A turning machining unit is a machining unit that performs turning, and a stepped hole machining unit is a machining unit that machines holes with a step. A facing machining unit is a machining unit that performs facing, an R-chamfer machining unit is a machining unit that performs R-chamfer machining, and a C-chamfer machining unit is a machining unit that performs C-chamfer machining. The shape information that defines the machining shape may also include information such as the surface roughness of the workpiece.

[0020] The tool information includes the type and shape of the tool. The tool information may also include information on the tool holder. The tool holder information includes the type and shape of the tool holder. The turning conditions include the turning speed, rotation speed, feed rate, etc. when the machine tool 60 performs machining.

[0021] The interactive operation processing unit 20 is an interface between the numerical control device 100 and an operator, and also an interface between the numerical control device 100 and the operator of the machining program generation device 10. The interactive operation processing unit 20 transmits instruction information input by the operator via the instruction input unit 30 to the machining program generation device 10. In addition, the interactive operation processing unit 20 causes the display unit 40 to display the instruction information input by the operator via the instruction input unit 30.

[0022] The instruction input unit 30 is configured with input devices such as a mouse, a keyboard, etc. The instruction input unit 30 receives instruction information from the operator and transmits the instruction information to the dialogue operation processing unit 20.

[0023] The display unit 40 is a display device such as a liquid crystal monitor, and displays the CAD data 1, the machining program 2, instruction information input by the operator via the instruction input unit 30, etc. The display unit 40 can also display various information related to the processing performed by the numerical control device 100 and the machining program generation device 10.

[0024] The control unit 50 controls the machine tool 60 using the machining program 2 generated by the machining program generation device 10.

[0025] The machining program generation device 10 has a shape input unit 11, a shape data storage unit 12, a shape placement unit 13, a tool data storage unit 14, a tool selection unit 15, a turning machining program generation unit 16, and a remaining machining program generation unit 17.

[0026] The assembly data, product shape data, and material shape data are input to the machining program generation device 10 from devices external to the numerical control device 100. The assembly data, product shape data, and material shape data are composed of CAD data 1. The assembly data is composed of a combination of at least a plurality of pieces of product shape data and a plurality of pieces of material shape data.

[0027] The shape input unit 11 receives CAD data 1 input from an external device. The product shape data and material shape data are not limited to the CAD data 1, and may be any data that can be interpreted by the machining program generating device 10.

[0028] The shape data storage unit 12 stores the product shape data input to the shape input unit 11. The product shape data includes product shape data, which is the finished shape of the turned product, and material information, which indicates the material quality of the material to be processed. The shape data storage unit 12 also stores the material shape data input to the shape input unit 11. The material shape data is data on the material shape, which is the shape of the material to be processed before processing. Examples of material shapes include a cylindrical shape or a rectangular parallelepiped shape that contains the product shape. Furthermore, the material shape does not necessarily have to contain the product shape, and may be a shape in which any face of the product shape is thickened, or a shape in which holes in the product shape are removed. The material shape data may also include material information, which indicates the material quality of the material.

[0029] The shape placement unit 13 places the product shape data, blank shape data, workpiece origin, and program coordinate system stored in the shape data storage unit 12. The shape placement unit 13 may place the blank shape and product shape so that the blank shape encompasses the product shape, or may place the blank shape and product shape so that a portion of the product shape overlaps the blank shape. The product shape data and blank shape data are stored in the shape data storage unit 12 along with the placement data. The shape placement unit 13 also places the workpiece origin, which serves as the basis for generating the machining program, at the center position of the end face of the product shape data. The shape placement unit 13 also places the program coordinate system, which serves as the basis for generating the machining program, so that the central axis of the cylindrical, conical, or toric surface to be turned in the product shape data coincides with the Z axis of the program coordinate system. The workpiece origin and program coordinate system are stored in the shape data storage unit 12 along with the placement data.

[0030] The tool data storage unit 14 stores tool data associating the type of tool with the shape of the tool. Tool bits used in turning include inner diameter tools, outer diameter tools, and tools for grooving, parting, and threading depending on the machining area. Figure 2 is a diagram showing an example of the specifications of a tool bit stored in the tool data storage unit of the machining program generation device according to the first embodiment. Parameters that indicate the shape of the tool bit 151 include the cutting edge R, which is the radius of curvature of the tip of the cutting edge, the cutting edge angle, the cutting edge angle, and the minor cutting edge angle. The cutting edge R is also called the nose R.

[0031] The tool selection unit 15 selects the tool to be used for machining based on the tool data stored in the tool data storage unit 14 when the turning machining program generation unit 16 and the remaining cutting machining program generation unit 17 generate the turning machining program 2a and the remaining cutting machining program 2b, respectively.

[0032] The turning program generating unit 16 generates the turning program 2a based on the product shape data, material shape data, workpiece origin, and program coordinate system stored in the shape data storage unit 12.

[0033] The remaining cutting program generation unit 17 generates the remaining cutting program 2b based on the product shape data stored in the shape data storage unit 12, the tool data stored in the tool data storage unit 14, and the turning program 2a generated by the turning program generation unit 16.

[0034] Next, a description will be given of the operation of the numerical control device 100. The operation of the numerical control device 100 includes a machining program generation process performed by the machining program generation device 10.

[0035] 3 is a flowchart showing the procedure of a machining program generation process performed by the machining program generation device according to the first embodiment. In step S1, the shape input unit 11 reads CAD data 1 of a product shape from a storage area (not shown) and stores the CAD data 1 of the product shape in the shape data storage unit 12 as product shape data. In step S2, the shape input unit 11 generates a material shape based on the product shape data stored in the shape data storage unit 12 and stores it as material shape data. Note that when the shape input unit 11 reads CAD data 1 of the material shape from a storage area (not shown), the shape data storage unit 12 stores the CAD data 1 of the material shape read by the shape input unit 11 as material shape data.

[0036] Fig. 4 is a diagram showing an example of a product shape corresponding to product shape data stored in a shape data storage unit of the machining program generation device according to embodiment 1. Fig. 5 is a diagram showing an example of a material shape corresponding to material shape data stored in a shape data storage unit of the machining program generation device according to embodiment 1. Fig. 4 shows a product shape SA1 which is an example of the product shape, and Fig. 5 shows a material shape SB2 which is an example of the material shape.

[0037] In step S3, the shape placement unit 13 places each of the product shape and the material shape. That is, in step S3, the shape placement unit 13 first generates placement data for the product shape and the material shape. In other words, the shape placement unit 13 generates placement data that indicates the placement positions of the product shape and the material shape.

[0038] Next, the shape placement unit 13 places the product shape data and the material shape data based on the generated placement data. Note that at least one of the product shape data and the material shape data may be placed at any position by the operator using the interactive operation processing unit 20, the instruction input unit 30, and the display unit 40.

[0039] In step S4, the shape placement unit 13 sets a workpiece origin and a program coordinate system at an arbitrary position based on either the placed product shape or material shape, and stores the coordinate value of the workpiece origin and the direction vector of each axis of the program coordinates. The workpiece origin and program coordinate system may be placed at an arbitrary position and in an arbitrary direction by the operator using the interactive operation processing unit 20, the instruction input unit 30, and the display unit 40. If the coordinate value of the workpiece origin and the direction vector of each axis of the program coordinates are based on the world coordinate system, this step may be omitted.

[0040] Fig. 6 is a diagram showing an example of product shape data and workpiece shape data that have been shape-arranged by the shape arrangement unit of the machining program generation device according to embodiment 1. Fig. 6 shows a product shape SA1, which is an example of a shape indicated by the product shape data, a workpiece shape SB2, which is an example of a shape indicated by the workpiece shape data, and a program coordinate system AX3. Note that the turning spindle is not shown in Fig. 6.

[0041] The product is formed by turning a blank. Therefore, Fig. 6 shows a case where the product shape SA1 is disposed inside the blank shape SB2.

[0042] In step S5, the turning program generation unit 16 develops a turning shape indicating the area to be machined. Specifically, the turning program generation unit 16 generates turning shape data from the product shape data, material shape data, workpiece origin, and program coordinate system stored in the shape data storage unit 12. Furthermore, the turning program generation unit 16 generates turning shape data from the turning shape data. The machining shape corresponds to the shape of the difference between the product shape data and the material shape data. The machining shape data is data of the area to be machined on the material. The turning shape data is data indicating the area to be turned.

[0043] Next, the turning program generation unit 16 assigns machining units to the developed turning shape. That is, the turning program generation unit 16 determines the machining method, tool data, and turning conditions for the generated turning shape. The turning program generation unit 16 generates machining unit information for turning by assigning information on the machining method, tool, and turning conditions to the turning shape. In this way, the turning program generation unit 16 generates the turning program 2a by assigning machining units to the developed turning shape and generating machining unit information.

[0044] In step S6, the remaining cutting machining program generating unit 17 generates a remaining cutting shape based on the generated machining unit information of the turning machining, the machining information, the tool data, and the machining shape. Specifically, the remaining cutting machining program generating unit 17 generates an actual machining shape to be actually machined from the machining unit information, the machining shape, and the tool data, and generates the remaining cutting shape by calculating the difference obtained by subtracting the actual machining shape from the machining shape.

[0045] Furthermore, the uncut machining program generating unit 17 corrects the generated uncut shape based on the cutting edge R of the tool data so as to include the uncut shape caused by the cutting edge R. Specifically, the uncut shape generated due to the cutting edge angle caused by the movement of the tool is expanded so as to include the uncut shape generated due to the cutting edge R of the tool, thereby correcting the generated uncut shape so as to include the uncut shape caused by the cutting edge R.

[0046] Next, the remaining material machining program generating unit 17 assigns, to the corrected remaining material shape, a machining unit that performs turning grooving, a turning machining unit that performs turning in the opposite direction to the original turning machining unit, or a combination of turning grooving and a turning machining unit that performs turning in the opposite direction to the original turning machining unit. In other words, the remaining material machining program generating unit 17 determines the machining method, tool data, and turning conditions for the generated remaining material shape.

[0047] The remaining cut machining program generating unit 17 generates machining unit information for turning by allocating information on the machining method, tool, and turning conditions to the remaining cut machining shape, and generates the remaining cut machining program 2b.

[0048] With the above, the machining program generating device 10 ends the machining program generating process according to the procedure shown in FIG.

[0049] 7 and 8 are schematic diagrams showing an example of turning shape data generated by the turning program generation unit of the machining program generation device according to the first embodiment. FIG. 7 schematically shows a turning hole machining shape SH1, which is a shape example indicated by the turning shape data for the front side process, and a shape example indicated by the turning hole machining shapes SH2, SH3, SH4, and SH5. FIG. 8 schematically shows a shape example indicated by the turning hole machining shapes SH6, SH7, and SH8, which are shape examples indicated by the turning shape data for the back side process. The process of generating the turning program 2a by the turning program generation unit 16 and the process of generating the remaining machining program 2b by the remaining machining program generation unit 17 correspond to the processes in steps S5 and S6 in FIG. 3.

[0050] 9 is a diagram showing an example of a list of machining steps in a machining program generated by the turning machining program generation unit and the remaining cutting machining program generation unit of the machining program generation device according to embodiment 1. The front side machining step HD1 of the machining program 2 includes machining units Uno1 to Uno5. Furthermore, the back side machining step HD2 of the machining program 2 includes machining units Uno6 to Uno8.

[0051] "Uno1. Turning Drill...SH1" indicates that turning hole machining shape SH1 is machined as a turning drill unit. "Uno2. End Face...SH2" indicates that turning shape SH2 is machined as a turning end face unit. "Uno3. Bar...SH3," "Uno4. Bar...SH4," and "Uno5. Bar...SH5" indicate that turning shapes SH3, SH4, and SH5 are machined as turning bar units. Of these, "Uno4. Bar...SH4" is a remaining material machining program 2b that machines the remaining material from "Uno3. Bar...SH3" using a tool with a cutting edge angle of 100 degrees, a minor cutting edge angle of 55 degrees, and a cutting edge radius of 1. This program is generated by processing step S6 in Figure 3. In Uno1. through Uno5., the material is held on the primary spindle side and machined from the front side.

[0052] "Uno6. End face...SH6" indicates that turning hole machining shape SH6 is machined as a turning end face unit. "Uno7. Bar stock...SH7" and "Uno8. Bar stock...SH8" indicate that turning hole machining shapes SH7 and SH8 are machined as turning bar stock units. In Uno6. to Uno8., the material held and machined by the first spindle is held again by the second spindle and machined from the back side.

[0053] The first and second spindles are both turning spindles, one of which is called the main spindle and the other the sub-spindle. The first and second spindles are arranged in opposing positions. In the case of a machine tool 60 that does not have a second spindle, after machining the front side, the material being machined is removed from the first spindle, the orientation of the machined material is reversed, and the first spindle grips it again to machine the back side.

[0054] The turning drill unit is a processing unit that uses a turning drill to drill a hole in the center of a material. The turning end face unit is a processing unit that cuts off protruding parts from the front or back end face of a material. The turning bar stock unit is a processing unit that uses a turning tool to turn the outer periphery, inner periphery, front or back of a round bar stock.

[0055] 10 is a block diagram showing the configuration of the remaining-machining program generation unit according to Embodiment 1. The remaining-machining program generation unit 17 has a turning program acquisition unit 21, a tool data acquisition unit 22, a machining shape acquisition unit 23, an actual machining shape generation unit 24, an remaining-machining shape extraction unit 25, an remaining-machining shape correction unit 26, a process allocation unit 27, and a machining program generation unit 28.

[0056] The turning program acquisition unit 21 receives the turning program 2 a generated by the turning program generation unit 16 .

[0057] The tool data acquisition unit 22 acquires, from the tool data storage unit 14, the tool data of the tool designated for each machining unit in the acquired turning program 2a.

[0058] The machining shape acquisition unit 23 acquires the machining shape designated for each machining unit from the acquired turning program 2a.

[0059] The turning program acquisition unit 21, tool data acquisition unit 22, and machining shape acquisition unit 23 function as acquisition units that acquire tool data including information on the tool used for turning the workpiece and turning conditions, machining information indicating the turning method that defines the operation of the tool, material shape data indicating the shape of the workpiece, and product shape data indicating the shape of the product.

[0060] The actual machining shape generating unit 24 generates an actual machining shape from the tool data acquired by the tool data acquiring unit 22 and the machining shape acquired by the machining shape acquiring unit 23.

[0061] The uncut shape extracting unit 25 extracts the uncut shape from the machining shape acquired by the machining shape acquiring unit 23 and the actual machining shape generated by the actual machining shape generating unit 24.

[0062] The uncut shape extraction unit 25 plays the role of an extraction unit that extracts first shape data indicating the uncut shape, which is the shape left uncut in turning, based on the tool data, processing information, material shape data, and product shape data.

[0063] The uncut shape correction unit 26 corrects the first shape data extracted by the uncut shape extraction unit 25 based on the tool data acquired by the tool data acquisition unit 22 so as to include the uncut parts caused by the cutting edge angle of the tool, and generates second shape data.

[0064] The process allocation unit 27 manages machining processes to be allocated to the uncut shape, and allocates machining processes for turning the uncut shape based on the uncut shape correction data.

[0065] The machining program generation unit 28 generates the remaining cutting machining program 2b based on the remaining cutting shape corrected by the remaining cutting shape correction unit 26, the turning grooving machining shape extracted by the process allocation unit 27, and the tool selected by the tool selection unit 15. The machining program generation unit 28 plays the role of a generation unit that generates a machining program for executing turning so as to include a machining process for turning the remaining cutting shape based on the second shape data.

[0066] 11 is a flowchart showing a detailed procedure for generating an uncut machining program performed by the uncut machining program generating unit of the machining program generating device according to Embodiment 1. The processing in Fig. 11 corresponds to the processing in step S6 in Fig. 3.

[0067] In step S11, the remaining machining program generation unit 17 generates an uncut shape from the turning program 2a generated by the turning program generation unit 16. That is, the remaining machining program generation unit 17 performs the following processes: extracting first shape data indicating the shape of the uncut portion, which is the shape left uncut in the turning process, based on the tool data, machining information, material shape data, and product shape data; and correcting the first shape data based on the tool data so as to include the uncut portion resulting from the cutting edge angle of the tool, thereby generating second shape data. Details of this process will be described later.

[0068] In step S12, the uncut machining program generation unit 17 generates turning machining unit information for the generated uncut shape to generate the uncut machining program 2b. That is, the uncut machining program generation unit 17 performs machining program processing for executing turning so as to include a machining step of turning the uncut shape. The details of this processing will be described later.

[0069] With the above, the machining program generating device 10 ends the uncut machining program generating process according to the procedure shown in FIG.

[0070] 12 is a flowchart showing a detailed procedure for generating an uncut shape performed by the uncut machining program generating unit of the machining program generating device according to Embodiment 1. The processing in FIG. 12 corresponds to the processing in step S11 in FIG.

[0071] In step S21, the tool data acquiring unit 22 acquires tool data for identifying a tool designated by the turning unit. The tool data acquired by the tool data acquiring unit 22 in step S21 includes, for example, a tool number, a tool type, and a tool magazine number.

[0072] In step S22, the tool data acquiring unit 22 acquires detailed data related to the tool based on the acquired tool data from the tool data storage unit 14. The detailed data related to the tool acquired in step S22 includes, for example, the cutting edge angle, the minor cutting edge angle, and the cutting edge R.

[0073] In step S23, the machining shape acquisition unit 23 acquires the machining shape designated in the turning unit.

[0074] In step S24, the actual machining shape generation unit 24 generates an actual machining shape based on the cutting edge angle and the cutting edge angle specified by the turning unit. First, the actual machining shape generation unit 24 extracts the edge that contacts the product shape from the machining shape. Next, the actual machining shape generation unit 24 obtains the first vertex located at the end closest to the cutting edge angle. If the tangent vector of the edge from the first vertex along the edge that contacts the product shape is steeper than the cutting edge angle + allowance, the actual machining shape generation unit 24 generates an edge that is equal to the cutting edge angle + allowance and trims it. For example, the allowance is 3 degrees, but the allowance may be set to any angle by the user. In this way, the actual machining shape generation unit 24 generates an actual machining shape based on the cutting edge angle by performing trimming up to the second vertex located at the end closest to the minor cutting edge angle of the edge that contacts the product shape.

[0075] In step S25, the actual cutting shape generation unit 24 generates an actual cutting shape with a minor cutting edge angle based on the cutting shape and minor cutting edge angle specified by the turning unit. First, the actual cutting shape generation unit 24 extracts an edge tangent to the product shape from the cutting shape. Next, the actual cutting shape generation unit 24 obtains the second vertex located at the end closest to the minor cutting edge angle. If the tangent vector of the edge is steeper than the minor cutting edge angle + allowance along the edge tangent to the product shape from the second vertex, the actual cutting shape generation unit 24 generates an edge with a minor cutting edge angle + allowance and trims it. In this way, the actual cutting shape generation unit 24 generates an actual cutting shape with a minor cutting edge angle by performing trimming up to the first vertex located at the end closest to the cutting edge angle of the edge tangent to the product shape.

[0076] In step S26, the actual machining shape generating unit 24 generates an actual machining shape. The actual machining shape generating unit 24 can generate the actual machining shape by multiplying the actual machining shape based on the cutting edge angle and the actual machining shape based on the minor cutting edge angle.

[0077] In step S27, the uncut shape extraction unit 25 extracts first shape data indicating the uncut shape, which is the shape left uncut in the turning process, based on the tool data, the processing information, the material shape data, and the product shape data. The uncut shape extraction unit 25 can extract the uncut shape by subtracting the actual machined shape from the machined shape of the turning processing unit.

[0078] With the above, the machining program generating device 10 ends the process of generating the uncut shape according to the procedure shown in FIG.

[0079] 13, 14, 15, 16 and 17 are diagrams showing an example of a process for generating an uncut shape from a machining shape in the uncut machining program generation unit of the machining program generation device according to embodiment 1. The machining shape SH11 shown in Fig. 13 is an example of a machining shape specified by a turning machining unit. The machining shape of the turning machining unit is a sheet shape that spreads within the XZ plane because it is processed using a cross-sectional shape on the XZ plane.

[0080] The machining shape SH12 shown in FIG. 14 is an example of an actual machined shape resulting from a cutting edge angle of 45 degrees. The machining shape SH13 shown in FIG. 15 is an example of an actual machined shape resulting from a minor cutting edge angle of 45 degrees. The machining shape SH14 shown in FIG. 16 is an example of an actual machined shape obtained by multiplying the actual machined shape resulting from a cutting edge angle and the actual machined shape resulting from a minor cutting edge angle. The uncut shapes SH15 and SH16 shown in FIG. 17 are examples of uncut shapes obtained by subtracting the actual machined shape from the machining shape of the turning machining unit. The uncut shape SH15 is the uncut shape on the minor cutting edge angle side, and the uncut shape SH16 is the uncut shape on the cutting edge angle side.

[0081] 18 is a flowchart showing a detailed procedure for generating an uncut machining program for an uncut shape, which is performed by the uncut machining program generating unit of the machining program generating device according to embodiment 1. The processing in Fig. 18 corresponds to the processing in step S12 in Fig. 11.

[0082] In step S31, the uncut shape correction unit 26 corrects the uncut shape according to the size of the cutting edge R. For example, if the cutting edge R is 1 mm, the uncut shape correction unit 26 moves the bottom edge of the uncut shape in the tangential direction by the cutting edge R1 mm plus a margin. The margin is, for example, 0.3 mm, but the user may set the margin to any length. In the case of the uncut shape on the cutting edge side, the uncut shape correction unit 26 moves the bottom edge of the uncut shape in the -Z direction. In the case of the uncut shape on the minor cutting edge corner side, the uncut shape correction unit 26 moves the bottom edge of the uncut shape in the +Z direction. After moving the bottom edges of the uncut shape on the cutting edge corner side and the minor cutting edge corner side, the uncut shape correction unit 26 moves the edge of the uncut shape in the +X direction to the end of the uncut shape in the +X axis direction. In this way, the uncut portion shape correcting unit 26 corrects the first shape data based on the tool data so as to include the uncut portion caused by the cutting edge angle of the tool, and generates the second shape data.

[0083] In step S32, the process allocation unit 27 extracts a turning grooving shape from the remaining cut shape. The turning grooving shape is a shape obtained by extracting a portion to be allocated to the turning grooving shape from the remaining cut shape based on the groove width, groove depth, and whether or not chamfering is performed.

[0084] In step S33, the process allocation unit 27 generates a shape obtained by subtracting the turning groove machining shape from the remaining cutting shape as a bar machining shape.

[0085] In step S34, the process allocation unit 27 allocates at least one of a turning grooving unit, which is a turning process for turning in the opposite direction to the turning process, to the remaining shape, and a turning bar machining unit, which is a turning grooving process for turning in the opposite direction to the bar machining shape. Here, the process allocation unit 27 allocates a turning grooving unit to the turning grooving shape, and allocates a turning bar machining unit for turning in the opposite direction to the bar machining shape generated in step S33.

[0086] In step S35, the machining program generation unit 28 selects a tool using the tool selection unit 15, using as input the unit type assigned in step S34 and the turning groove machining shape extracted in step S32 or the bar machining shape generated in step S33.

[0087] In step S36, the machining program generation unit 28 generates an uncut machining program 2b for turning the uncut shape based on the assigned machining unit, the machining shape, and the selected tool. As a result, the machining program generation unit 28 generates a machining program for performing turning so as to include a machining step for turning the uncut shape based on the second shape data.

[0088] Here, since the remaining shape is smaller than the original machining shape, machining the remaining shape with a single turning bar machining unit that turns in the opposite direction can reduce the effort required for tool changes and may shorten machining time, rather than machining the remaining shape using a combination of a turning grooving machining unit and a turning bar machining unit that turns in the opposite direction. In such cases, the machining program generation unit 28 generates the remaining machining program 2b using only the turning bar machining unit that turns in the opposite direction, without generating a turning grooving machining unit. The machining time can be calculated by performing a machining simulation.

[0089] With the above, the machining program generating device 10 ends the uncut machining program generating process for the uncut shape according to the procedure shown in FIG.

[0090] FIG. 19 is a diagram showing an example of an uncut shape corrected by the uncut shape correction unit of the machining program generation device according to the first embodiment in accordance with the radius value of the cutting edge R. In the example shown in FIG. 19, the product shape is concave. In turning, a turning tool 151, which is a turning tool, must be moved along the rotating workpiece. In the example shown in FIG. 19, the turning tool 151 must be moved continuously in the Z direction. Therefore, when the turning tool 151 cuts into the workpiece, it does not cut perpendicularly to the workpiece, but rather makes an oblique cut while moving in the Z direction, and then performs the turning while maintaining a constant depth of cut. After making an oblique cut, the turning tool 151 moves along a path that maintains a constant depth of cut. As a result, an uncut shape SH15 is generated on the minor cutting edge side at the location machined with the cutting edge side, and an uncut shape SH16 is generated on the minor cutting edge side at the location machined with the minor cutting edge side. In this way, in cutting, uncut shapes are generated in both the cutting direction and the direction opposite to the cutting direction according to the cutting edge angle and the minor cutting edge angle. Also, because the cutting tool 151 has a cutting edge R, when cutting with the cutting edge side, an uncut shape SH17 is generated at the bottom of the concave shape, and when cutting with the minor cutting edge side, an uncut shape SH18 is generated at the bottom of the concave shape.

[0091] The uncut shape SH21 is an example of a shape corrected to include the uncut shape SH17 by moving the bottom edge of the uncut shape SH15 on the minor cutting edge side in the tangential direction by the length of the cutting edge R (radius value + adjustment amount). If the movement amount of the bottom edge of the uncut shape SH15 on the minor cutting edge side is the radius value of the cutting edge R, depending on the machining accuracy, part of the uncut shape SH17 may not be included in the corrected uncut shape 21. However, by setting the movement amount of the bottom edge of the uncut shape SH15 on the minor cutting edge side to the radius value of the cutting edge R (radius value + adjustment amount), it is possible to prevent part of the uncut shape SH17 from being excluded from the corrected uncut shape 21. The uncut shape SH23 is an example of a shape further corrected by extending the edge of the uncut shape SH21 in the +X direction in the +X axis direction.

[0092] The uncut shape SH22 is an example of a shape corrected to include the uncut shape SH18 by moving the bottom edge of the uncut shape SH16 on the cutting edge side in the tangential direction by the length of the cutting edge R (radius value + adjustment amount). If the movement amount of the bottom edge of the uncut shape SH16 on the cutting edge side is the radius value of the cutting edge R, depending on the machining accuracy, part of the uncut shape SH18 may not be included in the corrected uncut shape 22. However, by setting the movement amount of the bottom edge of the uncut shape SH16 on the minor cutting edge side to the radius value of the cutting edge R (radius value + adjustment value), it is possible to prevent part of the uncut shape SH18 from being excluded from the corrected uncut shape 22. The uncut shape SH24 is an example of a shape further corrected by extending the edge of the uncut shape SH22 in the +X direction in the +X axis direction.

[0093] Fig. 20 is a flowchart showing a detailed procedure for tool selection performed by the tool selection unit of the machining program generation device according to embodiment 1. The processing in Fig. 20 is processing performed when selecting tools to be used in the turning program 2a and the remaining machining program 2b in steps S5 and S6 in Fig. 3 and step S35 in Fig. 18.

[0094] In step S41, the tool selection unit 15 acquires the maximum cutting edge angle from the turning shape. The maximum cutting edge angle acquired in step S41 is the angle at which the angle with respect to the turning direction is the largest among the edges that the turning shape forms as the product shape.

[0095] In step S42, the tool selection unit 15 acquires the maximum minor cutting edge angle from the turning shape. The maximum minor cutting edge angle acquired in step S42 is the angle at which the angle in the direction opposite to the turning direction is the largest among the edges that the turning shape forms as the product shape.

[0096] In step S43, the tool selection unit 15 selects from the tool data storage unit 14 a tool that will result in zero uncut material, a tool that will result in the smallest uncut material, or a tool that will result in uncut material on either the cutting angle side or the minor cutting angle side, based on the maximum cutting edge angle and the maximum minor cutting edge angle. For example, if the maximum cutting edge angle is 90 degrees, the maximum minor cutting edge angle is 0 degrees, and the adjustment angle is 3 degrees, a tool with a cutting edge angle in the range of 87 degrees and a minor cutting edge angle in the range of 3 degrees will be selected. For example, if the maximum cutting edge angle is 45 degrees, the maximum minor cutting edge angle is 45 degrees, and the adjustment angle is 3 degrees, a tool with a cutting edge angle in the range of 48 degrees and a minor cutting edge angle in the range of 48 degrees will be selected. For example, if the maximum cutting edge angle is 90 degrees, the maximum minor cutting edge angle is 90 degrees, and the allowance angle is 3 degrees, there is no tool with a cutting edge angle in the range of 87 degrees and a minor cutting edge angle in the range of 93 degrees, so priority is given to the cutting edge angle, and a tool with a cutting edge angle in the range of 87 degrees and a minor cutting edge angle in the range of 3 degrees will be selected. In this way, no uncut portion is left on the cutting edge angle side, and only uncut portions are left on the minor cutting edge angle side. Note that the operator may select the tool as desired.

[0097] In step S44, if multiple tools have been selected, the tool selection unit 15 extracts the tool with the largest cutting edge angle. The larger the cutting edge angle of a tool, the larger the depth of cut that can be achieved.

[0098] In step S45, when multiple tools are selected, the tool selection unit 15 extracts the tool with the largest cutting edge R. The larger the cutting edge R of a tool, the larger the depth of cut that can be achieved.

[0099] 21, 22, 23, and 24 are diagrams showing examples of maximum cutting edge angles acquired from turning machining shapes by the machining program generation device according to the first embodiment. The machining shape SH31 is a machining shape having a maximum cutting edge angle of 90 degrees and a maximum minor cutting edge angle of 0 degrees. That is, the tool selection unit 15 acquires a maximum cutting edge angle of 90 degrees and a maximum minor cutting edge angle of 0 degrees from the machining shape SH31. The machining shape SH32 is a machining shape having a maximum cutting edge angle of 45 degrees and a maximum minor cutting edge angle of 45 degrees. That is, the tool selection unit 15 acquires a maximum cutting edge angle of 45 degrees and a maximum minor cutting edge angle of 45 degrees from the machining shape SH32. The machining shape SH33 is a machining shape having a maximum cutting edge angle of 90 degrees and a maximum minor cutting edge angle of 90 degrees. That is, the tool selection unit 15 acquires a maximum cutting edge angle of 90 degrees and a maximum minor cutting edge angle of 90 degrees from the machining shape SH33. The machining shape SH34 is a combination of a machining shape with a maximum cutting edge angle of 45 degrees and a maximum minor cutting edge angle of 45 degrees and a machining shape with a maximum cutting edge angle of 90 degrees and a maximum minor cutting edge angle of 90 degrees. The tool selection unit 15 acquires the maximum cutting edge angle of 90 degrees and the maximum minor cutting edge angle of 90 degrees from the machining shape SH34.

[0100] With the above, the machining program generating device 10 ends the tool selection process according to the procedure shown in FIG.

[0101] Although the machining system 200 in which the numerical control device 100 is connected to the machine tool 60 has been described here, the numerical control device 100 may be mounted on the machine tool 60.

[0102] As described above, the machining program generation device 10 of the first embodiment extracts uncut shape data and assigns machining processes based on the uncut shape data, thereby efficiently generating a machining program 2 that accurately prevents the occurrence of uncut portions, thereby reducing the burden on the program creator. Furthermore, the machining program generation device 10 of the first embodiment can reduce material waste and simultaneously improve production efficiency and quality.

[0103] Furthermore, the machining program generation device 10 of the first embodiment can minimize or eliminate the remaining cutting shape by selecting a turning tool with a limited cutting edge angle. This further improves machining accuracy and reduces material waste. Furthermore, selecting an appropriate turning tool can extend the tool's lifespan, contributing to cost reduction in the long term.

[0104] Furthermore, the machining program generation device 10 of the first embodiment can prevent the occurrence of uncut areas due to the cutting edge R by overlapping the uncut shape with the original turning shape in consideration of the cutting edge R and correcting the shape in the tangential direction according to the shape. This improves machining quality, reduces the need for re-machining, contributes to shortening machining time, and improves production efficiency.

[0105] Furthermore, the machining program generation device 10 of the first embodiment can improve machining flexibility, shorten machining time while maintaining machining accuracy, and improve production efficiency by allocating at least one of a turning process in which turning is performed in the opposite direction to the remaining cutting shape and a turning grooving process. Also, appropriate process allocation can extend the tool life, resulting in long-term cost reduction.

[0106] Next, the hardware configuration of the machining program generation device 10 will be described. Fig. 25 is a block diagram showing the hardware configuration of the machining program generation device according to the first embodiment. The functional units shown in Fig. 25 include a processor 81, a memory 82 used as a work area by the processor 81, a storage device 83 that stores a computer program describing each function of the numerical control device 100, an input device 84 that is an input interface with an operator, a display device 85 that is an output device that displays information to the operator, and a communication device 86 that has a communication function with controlled devices, other numerical control devices, etc. The processor 81, the memory 82, the storage device 83, the input device 84, the display device 85, and the communication device 86 are connected to each other by a data bus 87.

[0107] The processor 81 is a processing device, an arithmetic unit, a microprocessor, a microcomputer, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), etc. The memory 82 is a non-volatile or volatile semiconductor memory such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), or an EEPROM (registered trademark) (Electrically EPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a minidisk, or a DVD (Digital Versatile Disc), etc.

[0108] The shape input unit 11, shape placement unit 13, tool selection unit 15, turning machining program generation unit 16 and remaining cutting machining program generation unit 17 of the numerical control device 100 can be realized by the processor 81 reading and executing a computer program stored in the memory 82.

[0109] Furthermore, a plurality of processors 81 and a plurality of memories 82 may cooperate to realize each function of the numerical control device 100. Furthermore, some of the functions of the shape input unit 11, the shape placement unit 13, the tool selection unit 15, the turning machining program generation unit 16, and the remaining machining program generation unit 17 may be implemented as electronic circuits, and the remaining functions may be realized using the processors 81 and the memories 82.

[0110] The configurations shown in the above embodiments are merely examples of the content, and may be combined with other known technologies, or parts of the configurations may be omitted or modified without departing from the spirit of the invention. [Explanation of symbols]

[0111] 1 CAD data, 2 machining program, 2a turning machining program, 2b remaining machining program, 10 machining program generation device, 11 shape input unit, 12 shape data storage unit, 13 shape placement unit, 14 tool data storage unit, 15 tool selection unit, 16 turning machining program generation unit, 17 remaining machining program generation unit, 20 interactive operation processing unit, 21 turning machining program acquisition unit, 22 tool data acquisition unit, 23 machining shape acquisition unit, 24 actual machining shape generation unit, 25 remaining machining shape extraction unit, 26 remaining machining shape correction unit, 27 process allocation unit, 28 machining program generation unit, 30 instruction input unit, 40 display unit, 50 control unit, 60 machine tool, 81 processor, 82 memory, 83 storage device, 84 input device, 85 display device, 86 communication device, 87 data bus, 100 numerical control device, 151 Byte, 200 Machining System.

Claims

1. an acquisition unit that acquires tool data including information on a tool used in turning a workpiece and turning conditions, processing information indicating a turning method that defines the operation of the tool, material shape data indicating the shape of the workpiece, and product shape data indicating the shape of a product; an extraction unit that extracts first shape data indicating an uncut shape that is a shape left uncut in the turning process based on the tool data, the processing information, the material shape data, and the product shape data; an uncut portion shape correcting unit that corrects the first shape data extracted by the extracting unit based on the tool data so as to include uncut portions resulting from curvature of the cutting edge of the tool, and generates second shape data; a generation unit that generates a machining program for executing the turning process based on the second shape data, so as to include a machining step of turning the uncut shape.

2. 2. The machining program generating device according to claim 1, further comprising a tool selecting unit that selects the tool by limiting a cutting edge angle so as to minimize uncut portions in a machining process of turning the uncut shapes.

3. The machining program generating device according to claim 1, characterized in that the generating unit generates a machining program for performing the turning by assigning at least one of a turning process and a turning groove process for turning in a direction opposite to the turning process to the remaining cutting shape.

4. The machining program generating device according to any one of claims 1 to 3; A numerical control device comprising a control unit that executes the machining program and controls the machine tool.

5. A machining system comprising: the numerical control device according to claim 4; and a machine tool controlled by said numerical control device.

6. A step of acquiring tool data including information on a tool used in turning a workpiece and turning conditions, processing information indicating a turning method that defines the operation of the tool, material shape data indicating the shape of the workpiece, and product shape data indicating the shape of a product; extracting first shape data indicating an uncut shape that is a shape left uncut in the turning process based on the tool data, the processing information, the material shape data, and the product shape data; correcting the extracted first shape data based on the tool data so as to include uncut portions resulting from a cutting edge angle of the tool, and generating second shape data; and generating a machining program for executing the turning process based on the second shape data so as to include a machining step of turning the uncut shape.

Citation Information

Patent Citations

  • Automatic programming method

    JP1989300306A

  • Generating device for numerical control program

    JP1991164908A

  • Producing device for numerical control program

    JP1991179510A

  • Device for forming numerical control information

    JP1993143134A

  • Numerical-control-machining-program creation device

    WO2014184911A1