Information processing device, machining cycle allocation method and program

The information processing device automates machining cycle assignment by generating a two-dimensional model from a three-dimensional workpiece model, enabling efficient and accurate allocation of machining cycles based on contour shape, addressing the inefficiencies of manual methods.

JP7602087B1Active Publication Date: 2024-12-17DMG MORI CO LTD

Patent Information

Application Number
JP2024084464
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2024-01-09
Filing Date
2024-05-24
Publication Date
2024-12-17
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

The manual assignment of machining cycles in NC programs for workpieces is time-consuming and often results in inappropriate allocations.

Method used

An information processing device and method that generates a two-dimensional model from a three-dimensional workpiece model, allowing for automated assignment of machining cycles based on the workpiece's contour shape, using predefined rules for machining cycles, workpiece spindles, and contour shape interpolation.

Benefits of technology

Facilitates easy and appropriate allocation of machining cycles, including outer diameter, inner diameter, end face, groove, and thread machining, by determining the relationship between the workpiece's contour shape and required machining cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007602087000001_ABST
    Figure 0007602087000001_ABST
Patent Text Reader

Abstract

An information processing device, a machining cycle allocation method, and a program for easily and appropriately allocating machining cycles are provided. [Solution] The information processing device 100 includes a receiving unit 111 that receives a three-dimensional model of a workpiece extending around a predetermined axis, and a processing unit 120 that generates a two-dimensional model by cutting the three-dimensional model along a plane including the predetermined axis, and assigns machining cycles to the workpiece based on the contour shape of the workpiece appearing in the two-dimensional model.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, a machining cycle allocation method, and a program. [Background technology]

[0002] For example, JP 2014-16982 A (Patent Document 1) discloses a simulation device that enables confirmation of the blocks (movement commands) that make up a machining cycle when displaying a video of the machining operations of a machining program that includes machining cycle commands. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2014-16982 A Summary of the Invention [Problem to be solved by the invention]

[0004] As disclosed in the above-mentioned Patent Document 1, when creating an NC (Numerical control) program for machining a workpiece, for example, machining cycles (turning cycles) such as external diameter machining, internal diameter machining, end face machining, groove machining, or thread machining are assigned to the workpiece machining process, and then the NC program is created using codes that command these machining cycles as canned cycles.

[0005] However, since the allocation of the machining cycles is performed manually by an operator, there are problems in that it takes a lot of time to allocate the machining cycles and that the machining cycles are not allocated appropriately.

[0006] An object of the present invention is to provide an information processing device, a machining cycle allocation method, and a program that enable machining cycle allocation to be easily and appropriately executed. [Means for solving the problem]

[0007] An information processing device according to the present invention includes a receiving unit that receives a three-dimensional model of a workpiece extending around a predetermined axis, and a processing unit that generates a two-dimensional model by cutting the three-dimensional model along a plane including the predetermined axis, and assigns machining cycles to the workpiece based on the contour shape of the workpiece appearing in the two-dimensional model.

[0008] A method for allocating machining cycles according to the present invention includes the steps of generating a two-dimensional model from a three-dimensional model of a workpiece extending around a specified axis by cutting the three-dimensional model with a plane including the specified axis, and allocating machining cycles to the workpiece based on the contour shape of the workpiece appearing in the two-dimensional model.

[0009] A program according to the present invention is a program executed by a computer for allocating machining cycles to a workpiece, the program causing the computer to execute the steps of: generating a two-dimensional model by cutting a three-dimensional model of the workpiece extending about a predetermined axis along a plane including the predetermined axis; and allocating machining cycles to the workpiece based on a contour shape of the workpiece appearing in the two-dimensional model. Effect of the Invention

[0010] According to the present invention, it is possible to provide an information processing device, a machining cycle allocation method, and a program for easily and appropriately allocating machining cycles. [Brief description of the drawings]

[0011] [Figure 1] FIG. [Diagram 2] 1 is a block diagram showing an information processing device in accordance with a first embodiment of the present invention. [Diagram 3] FIG. 2 is a perspective view showing an example of a three-dimensional model of a workpiece. [Figure 4]4 is a diagram showing a two-dimensional model of a workpiece generated from the three-dimensional model in FIG. 3. [Diagram 5] 5 is a diagram showing a two-dimensional model of a workpiece in an area surrounded by a two-dot chain line V in FIG. 4. [Figure 6] 6 is a table showing intervals recognized in the two-dimensional models in FIGS. 4 and 5 and the start and end points of each interval. [Figure 7] 7 is a table showing machining cycles and workpiece spindles assigned to each section in FIG. 6. [Figure 8] FIG. 13 is a diagram showing the contour shape of a workpiece after interpolation. [Figure 9] 11 is a table showing machining cycles and workpiece spindles assigned to contour shapes of a workpiece after interpolation. [Figure 10] 1 is a table showing machining cycles and workpiece spindles finally assigned to the contour shapes of the workpieces. [Figure 11] 4 is a flowchart showing steps of a machining cycle allocation method according to an embodiment of the present invention. [Figure 12] FIG. 13 is a diagram for explaining a first step of interpolating a section (an external diameter groove composed only of simple line segments) to which a groove machining cycle is assigned. [Figure 13] FIG. 13 is a diagram for explaining a second step of interpolating a section (an external diameter groove composed only of a simple line segment) to which a groove machining cycle is assigned. [Figure 14] FIG. 13 is a diagram for explaining a first step of interpolating a section (external diameter groove including a curve) to which a groove machining cycle is assigned. [Figure 15] FIG. 13 is another diagram for explaining the second step of interpolating the section (external diameter groove including a curve) to which the groove machining cycle is assigned. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described with reference to the accompanying drawings, in which the same or corresponding components are designated by the same reference numerals.

[0013] (Embodiment 1) Fig. 1 is a front view showing a machine tool. Fig. 2 is a block diagram showing an information processing device in a first embodiment of the present invention. With reference to Figs. 1 and 2, an information processing device 100 in the present embodiment is mounted on a machine tool 10.

[0014] 1, machine tool 10 is a lathe equipped with a turning function that processes a workpiece by bringing a tool into contact with the rotating workpiece. Machine tool 10 is an NC (Numerically Controlled) machine tool in which various operations for processing a workpiece are automated by computer numerical control.

[0015] In this specification, an axis extending in the axial direction of the workpiece rotation axis is referred to as the "Z axis", and an axis extending in the radial direction of the workpiece rotation axis is referred to as the "X axis".

[0016] Machine tool 10 has a left work spindle 31, a right work spindle 36, a tool rest 41, and a cover body 21. The left work spindle 31, the right work spindle 36, and the tool rest 41 are arranged in a working area 12. The working area 12 is a space where the machining of a workpiece is performed, and is sealed by a cover body 21 to prevent foreign matter such as cutting chips or cutting oil resulting from the machining of the workpiece from leaking out of the working area 12.

[0017] The left work spindle 31 and the right work spindle 36 can hold a workpiece. The left work spindle 31 is driven by a motor to rotate about a rotation center axis 210 parallel to the Z axis. The left work spindle 31 is provided with a chuck mechanism having a plurality of claws 32 for detachably holding a workpiece. Each of the claws 32 is driven to slide in the radial direction of the rotation center axis 210 by hydraulic pressure or the like. The plurality of claws 32 grip the outer peripheral surface of the workpiece by sliding radially inward of the rotation center axis 210, and grip the inner peripheral surface of the workpiece by sliding radially outward of the rotation center axis 210.

[0018] The right work spindle 36 is disposed opposite the left work spindle 31 in the Z-axis direction. The right work spindle 36 is driven by a motor to rotate about a rotation center axis 220 that is parallel to the Z-axis and extends in a straight line with the rotation center axis 210. The right work spindle 36 is provided with a chuck mechanism having a plurality of claws 37 for detachably holding a workpiece. The plurality of claws 37 correspond to the plurality of claws 32 on the left work spindle 31.

[0019] The left work spindle 31 is fixed. The right work spindle 36 is movable in the Z-axis direction by various feed mechanisms, guide mechanisms and motors.

[0020] The tool rest 41 is capable of holding tools. The tool rest 41 is a so-called turret type, and a plurality of tools are attached radially and perform rotational indexing.

[0021] The tool rest 41 has a swivel unit 42. The swivel unit 42 is swivelable around a swivel central axis 230 parallel to the Z-axis. The swivel unit 42 has a disk shape with the axial direction of the swivel central axis 230 being the thickness direction as a whole. A plurality of tools are held on the outer circumferential surface of the swivel unit 42 and lined up in the circumferential direction of the swivel central axis 230. As the swivel unit 42 swivels, the tools move in the circumferential direction of the swivel central axis 230, and the tool used for machining the workpiece is indexed to a position at a predetermined angle in the circumferential direction of the swivel central axis 230.

[0022] The tool rest 41 can be moved in the X-axis direction and the Z-axis direction by various feed mechanisms, guide mechanisms, and motors.

[0023] Machine tool 10 further has an operation panel 50. Operation panel 50 is a general-purpose computer and corresponds to information processing device 100 in this embodiment. Operation panel 50 has an upper panel 51 and a lower panel 52. Upper panel 51 includes a display (touch screen) 56 that displays a manual or various application screens, and is operated when an application is used. Lower panel 52 includes a display (touch screen) 57 that displays the operating state of machine tool 10 or the machining status of a workpiece, and is operated when machine tool 10 is operated, and an operation unit 53 such as a button or switch that is operated when machine tool 10 is operated.

[0024] The machine tool 10 may have only one workpiece spindle. The machine tool on which the information processing device of the present invention is mounted is not limited to a lathe, and may be, for example, a multi-tasking machine having both a milling function for machining a workpiece by bringing a rotating tool into contact with a stationary workpiece, and a turning function for machining a workpiece by bringing a tool into contact with a rotating workpiece. The information processing device of the present invention may be a computer provided independently of the machine tool. In this case, the information processing device may be configured to be able to communicate with the machine tool wirelessly or via wires.

[0025] Fig. 3 is a perspective view showing an example of a three-dimensional model of a workpiece. Fig. 4 is a diagram showing a two-dimensional model of the workpiece generated from the three-dimensional model in Fig. 3. Fig. 5 is a diagram showing a two-dimensional model of the workpiece in the range surrounded by a two-dot chain line V in Fig. 4.

[0026] 2 to 5, each component of the information processing device 100 is realized by hardware including a computing unit such as a CPU (Central Processing Unit) and various computer processors, a storage device such as a memory or storage, and a wired or wireless communication line connecting them, and software stored in the storage device and supplying processing instructions to the computing unit. The computer program may be configured by a device driver, an operating system, various application programs located in higher layers thereof, or a library that provides common functions to these programs. Each block described below indicates a functional unit block.

[0027] The information processing device 100 includes a receiving unit 111, a processing unit 120, and a storage unit 150.

[0028] The receiving unit 111 receives a three-dimensional model 400 of a workpiece W extending around a predetermined axis 310. The processing unit 120 generates a two-dimensional model 500 by cutting the three-dimensional model 400 by a plane including the predetermined axis 310, and assigns a machining cycle to the workpiece W based on the contour shape of the workpiece W that appears in the two-dimensional model 500.

[0029] Various program modules are stored in the storage unit 150. The processor of the information processing device 100 executes the various program modules to realize the functions of each unit.

[0030] The program causes an information processing device 100, which is a computer, to execute the steps of generating a two-dimensional model 500 by cutting a three-dimensional model 400 of a workpiece W extending around a specified axis 310 with a plane including the specified axis 310, and of assigning a machining cycle to the workpiece W based on the contour shape of the workpiece W appearing in the two-dimensional model 500.

[0031] The storage unit 150 further stores machining cycle allocation rules 151 , workpiece spindle allocation rules 152 , and contour shape interpolation rules 153 .

[0032] The machining cycle allocation rules 151 prescribe rules for the processing unit 120 to allocate machining cycles to the workpiece W based on the contour shape of the workpiece W. The workpiece spindle allocation rules 152 prescribe rules for the processing unit 120 to allocate either the left workpiece spindle 31 or the right workpiece spindle 36 to machining the contour shape of the workpiece W. The contour shape interpolation rules 153 prescribe rules for the processing unit 120 to interpolate the contour shape of the workpiece W. The specific contents of the machining cycle allocation rules 151, the workpiece spindle allocation rules 152, and the contour shape interpolation rules 153 will be described later.

[0033] The receiving unit 111 receives a three-dimensional model 400 of the workpiece W created by a CAD (Computer Aided Design) device. The three-dimensional model 400 includes a three-dimensional shape of the workpiece W and a predetermined axis 310 corresponding to the central axis of the three-dimensional shape of the workpiece W. The predetermined axis 310 may be a reference line when the three-dimensional shape of the workpiece W is drawn by the CAD device. The screw portion of the workpiece W may be shown as the three-dimensional shape of the workpiece W in the three-dimensional model 400, or may be shown as additional information associated with the three-dimensional shape of the workpiece W. The receiving unit 111 outputs the received three-dimensional model 400 of the workpiece W to the processing unit 120.

[0034] The three-dimensional model 400 includes shape information for expressing a three-dimensional model, such as points, edges, and faces. For example, an edge is expressed by the position of the start point (X1, Y1, Z1) and the position of the end point (X2, Y2, Z2). An arc is expressed by the positions of the start point, end point, and center, the normal vector of the plane on which the arc is placed, and the rotation direction of the arc. Since the three-dimensional model 400 includes the positions of shapes as data, it defines one coordinate system through such data.

[0035] The three-dimensional model 400 includes information on the rotation axis (corresponding to the predetermined axis 310). For example, the rotation axis is expressed by a reference point (X, Y, Z) of the rotation axis and a direction vector of the rotation axis. The coordinate system used is the above-mentioned coordinate system defined in the three-dimensional model 400.

[0036] An example of a three-dimensional model 400 of a workpiece W is shown in Fig. 3. The three-dimensional model 400 extends around a predetermined axis 310. The three-dimensional shape of the workpiece W is obtained by a turning process in which a base material 160 of the workpiece W, indicated by a two-dot chain line in Fig. 4, is rotated around the predetermined axis 310 and a tool is brought into contact with the base material 160. A reference point (0, 0, 0) of the rotation axis (predetermined axis 310) and a direction vector (0, 0, 1) of the rotation axis (predetermined axis 310) are determined.

[0037] The processing unit 120 has a first processing unit 121 and a second processing unit 122. The three-dimensional model 400 of the workpiece W is input to the first processing unit 121 from the receiving unit 111. The processing unit 120 (first processing unit 121) identifies an end point P included in the contour shape of the workpiece W, and assigns a machining cycle to each section S between adjacent end points.

[0038] The first processing unit 121 includes a two-dimensional model generating unit 131 , an end point identifying unit 132 , and an interval identifying unit 133 .

[0039] The two-dimensional model generation unit 131 makes the predetermined axis 310 of the three-dimensional model 400 correspond to the rotation center axis 210 of the left work spindle 31 and the rotation center axis 220 of the right work spindle 36 in the machine tool 10. The two-dimensional model generation unit 131 generates a two-dimensional model 500 of the workpiece W by cutting the three-dimensional model 400 with a plane (X-axis-Z-axis plane) including the predetermined axis 310. The two-dimensional model generation unit 131 outputs the generated two-dimensional model 500 of the workpiece W to the end point identification unit 132.

[0040] The contour shape of the workpiece W obtained by turning appears in the two-dimensional model 500. The contour shape of the workpiece W may be configured with a closed loop path (corresponding to a contour shape including a through hole extending on the Z axis) or may be configured with an open loop path (corresponding to a contour shape not including a through hole extending on the Z axis) in the range of X≧0 shown in FIG.

[0041] In Fig. 4, the contour shape of the two-dimensional model 500 of the workpiece W is shown by a solid line, and the contour shape of the base material 160 of the workpiece W before machining is shown by a two-dot chain line. In Fig. 4, the dimensions of the two-dimensional model 500 are also shown, with the point where one end face of the workpiece W in the Z-axis direction intersects with the predetermined axis 310 as the origin.

[0042] FIG. 6 is a table showing the intervals recognized in the two-dimensional models in FIGS. 4 and 5, and the start and end points of each interval.

[0043] 2 to 6, end point identification unit 132 identifies end point P included in the contour shape of two-dimensional model 500. End point P is a corner, and is, for example, a point where two straight lines with different slopes intersect in X-axis-Z-axis coordinates, a point where two arcs with different curvatures intersect, or a point where a straight line intersects with an arc. End point identification unit 132 outputs the identified end point P to section identification unit 133.

[0044] The section determination unit 133 determines a section S between adjacent end points P on the contour shape of the two-dimensional model 500 .

[0045] 4 to 6, the end point identification unit 132 identifies end points P[0], end point P[1], end point P[2], end point P[3]...end point P[N-1], and end point P[N] as end points P included in the contour shape of the two-dimensional model 500. The end points P[0], end point P[1], end point P[2], end point P[3]...end point P[N-1], and end point P[N] are arranged in the listed order on the path of the contour shape of the two-dimensional model 500. In this embodiment, since the contour shape of the two-dimensional model 500 is configured from a closed loop path, the end points P[N] and P[0] are adjacent to each other.

[0046] The section identification unit 133 identifies sections Sa, Sb, Sc, Sd, Se, Sf, Sg, Sh, Si, Sj, Sk, Sm, Sn, Sp, and Sq as sections S between adjacent end points P. Sections Sa, Sb, Sc, Sd, Se, Sf, Sg, Sh, Si, Sj, Sk, Sm, Sn, Sp, and Sq are arranged in the listed order on the path of the contour shape of the two-dimensional model 500.

[0047] Section Sa is a section between end points P[0] and P[1], and corresponds to the contour shape of the right end surface of the workpiece W extending in the X-axis direction. Section Sb is a section between end points P[1] and P[2], and corresponds to the contour shape of the chamfered portion of the workpiece W. Section Sc is a section between end points P[2] and P[3], and corresponds to the contour shape of the outer peripheral surface of the workpiece W extending in the Z-axis direction.

[0048] Section Sd corresponds to the contour shape of the outer peripheral surface of the workpiece W extending diagonally with respect to the Z-axis direction and the X-axis direction. Section Se corresponds to the contour shape of the threaded portion of the workpiece W. Section Sf corresponds to the contour shape of the groove side surface of the workpiece W extending diagonally with respect to the Z-axis direction and the X-axis direction. Section Sg corresponds to the contour shape of the groove bottom surface of the workpiece W extending in the Z-axis direction. Section Sh corresponds to the contour shape of the groove side surface of the workpiece W extending in the X-axis direction. Section Si corresponds to the contour shape of the chamfered portion of the workpiece W.

[0049] Section Sj corresponds to the contour shape of the outer peripheral surface of the workpiece W extending in the Z-axis direction. Section Sk corresponds to the contour shape of the left end surface of the workpiece W extending in the X-axis direction. Section Sm corresponds to the contour shape of the inner peripheral surface of the workpiece W extending in the Z-axis direction. Section Sn corresponds to the contour shape of the inner peripheral surface of the workpiece W extending in a direction oblique to the Z-axis direction and the X-axis direction.

[0050] Section Sp is a section between end points P[N-1] and P[N], and corresponds to the contour shape of the inner peripheral surface of the workpiece W extending in the Z-axis direction. Section Sq is a section between end points P[N] and P[0], and corresponds to the contour shape of the chamfered portion of the workpiece W. The end point of section Sq corresponds to the start point of section Sa. The direction in which the sections S (Sa to Sq) are arranged in order may be standardized to one direction, such as counterclockwise. The first section Sa may be standardized so that it is positioned at the position where the Z-axis coordinate is maximum.

[0051] The first processing unit 121 outputs the two-dimensional model 500 together with information on the recognized section S to the second processing unit 122.

[0052] Fig. 7 is a table showing machining cycles and workpiece spindles assigned to each section in Fig. 6. With reference to Figs. 2 to 7, second processing unit 122 has an assignment unit 141 and an interpolation unit 142.

[0053] The allocation unit 141 reads out machining cycle allocation rules 151 from the storage unit 150. The allocation unit 141 allocates machining cycles to each section S of sections Sa to Sq in accordance with the correspondence between the machining cycles and the contour shapes defined in the machining cycle allocation rules 151. The machining cycles include at least one of outer diameter machining, inner diameter machining, end face machining, groove machining, and thread machining.

[0054] An example of the correspondence between the machining cycles and the contour shapes defined in the machining cycle allocation rule 151 is as follows. (1) Inner diameter machining: A contour shape facing a predetermined axis 310 in the X-axis direction (2) Outer diameter machining: A contour shape disposed on the opposite side of the predetermined axis 310 across the two-dimensional model 500 in the X-axis direction. (3) End face machining: A contour shape that is located at the end in the Z-axis direction and extends in a direction that intersects with the Z-axis direction. (4) Groove machining: A contour shape that forms a groove shape recessed from a contour shape assigned to internal diameter machining, external diameter machining, or end face machining (the cutting edge dimensions of various tools used for groove machining may be taken into consideration). (5) Thread machining: A contour shape that forms a thread shape, or a contour shape that indicates a thread shape by additional information As shown in FIG. 7, the allocation unit 141, by comparing the contour shapes of the sections Sa to Sq with the above-mentioned machining cycles and correspondence between contour shapes, assigns "end face machining" to the sections Sa and Sk, assigns "groove machining" to the sections Sf, Sg, Sh and Si, assigns "external diameter machining" to the sections Sb, Sc, Sd and Sj, assigns "internal diameter machining" to the sections Sm, Sn, Sp and Sq, and assigns "thread machining" to the section Se.

[0055] The allocation unit 141 allocates either the left work spindle 31 or the right work spindle 36 as the work spindle that holds the workpiece W during machining of each section S from section Sa to section Sq in accordance with the corresponding relationship between the work spindle and the contour shape defined in the work spindle allocation rule 152.

[0056] An example of the correspondence between the work spindles and the contour shapes defined in the work spindle allocation rules 152 is as follows: (1) Left work spindle 31: (a) When internal diameter machining is assigned, a contour shape that is placed on the +Z-axis direction side based on the minimum internal diameter portion that is the smallest distance from the specified axis 310 in the X-axis direction. (b) When outer diameter machining is assigned, a contour shape that is placed on the +Z-axis direction side based on the maximum outer diameter part that is the longest distance from the specified axis 310 in the X-axis direction. (c) The contour shape placed at the end in the +Z axis direction when end face machining is assigned. (d) When groove machining is assigned, and when thread machining is assigned, the position of the contour shape is determined in accordance with the above rules (a) to (c). (2) Right work spindle 36: (a) When internal diameter machining is assigned, a contour shape that is placed on the -Z-axis direction side based on the minimum internal diameter portion that is the smallest distance from the specified axis 310 in the X-axis direction. (b) When outer diameter machining is assigned, a contour shape that is placed on the -Z-axis direction side based on the maximum outer diameter portion that is the greatest distance from the specified axis 310 in the X-axis direction. (c) The contour shape placed at the end in the -Z axis direction when end face machining is assigned. (d) When groove machining is assigned, and when thread machining is assigned, the position of the contour shape is determined in accordance with the above rules (a) to (c).

[0057] The allocation unit 141 compares the contour shapes of the sections Sa to Sq with the correspondence between the work spindles and contour shapes described above, and assigns the left work spindle 31 as the work spindle that holds the workpiece W when machining the sections Sa, Sf, Sg, Sh, Si, Sb, Sc, Sd, Sn, Sp, Sq and Se, and assigns the right work spindle 36 as the work spindle that holds the workpiece W when machining the sections Sk, Sj and Sm.

[0058] Fig. 8 is a diagram showing the contour shape of the workpiece after interpolation. Fig. 8 shows the contour shape of the workpiece W in the range corresponding to Fig. 5. Fig. 9 is a table showing the machining cycles and workpiece spindles assigned to the contour shape of the workpiece after interpolation.

[0059] 2 to 9, the processing unit 120 (second processing unit 122) interpolates the contour shape of the workpiece W in a specific section S to which groove machining or thread machining is assigned, and assigns outer diameter machining, inner diameter machining or end face machining to the contour shape of the workpiece W after the interpolation.

[0060] The interpolation unit 142 extracts, as the above-mentioned specific section S, a section Se assigned to thread machining, and sections Sf, Sg, Sh, and Si assigned to groove machining. The interpolation unit 142 reads out contour shape interpolation rules 153 from the storage unit 150. The interpolation unit 142 interpolates the contour shape of the section Se according to the interpolation rules for the thread shape defined in the contour shape interpolation rules 153, and interpolates the contour shapes of the sections Sf, Sg, Sh, and Si according to the interpolation rules for the groove shape defined in the contour shape interpolation rules 153.

[0061] An example of the interpolation rules for the thread shape and groove shape defined in the contour shape interpolation rules 153 is as follows. (1) Interpolation of the thread shape: Draw a straight line to fill in the valleys of the thread shape (rewrite the thread shape as a straight line connecting the crests of the threads and extending in the Z-axis direction). (2) Interpolation of groove shape: Draw straight lines to fill in the recesses of the groove shape (extend the contour shape of the section S that is connected to the start point or end point of a specific section S to which groove processing is assigned).

[0062] As shown in FIG. 5 and FIG. 8, the contour shape of the workpiece W after the interpolation includes sections Sr and St instead of sections Se, Sf, Sg, and Sh. Section Sr is a section between end points P[n] and P[n+1], and corresponds to the contour shape of the outer peripheral surface of the workpiece W extending in the Z-axis direction. End point P[n] is the end point of section Sd. End point P[n+1] is a point on a straight line in section Sh. Section St is a section between end points P[n+1] and P[n+2], and corresponds to the contour shape of the rising surface of the workpiece W extending in the X-axis direction. End point P[n+2] is the start point of section Si. The contour shape of section Sr after the interpolation extends so as to fill the valley portion of the thread shape in section Se in FIG. 5 and the recessed portion of the groove shape in sections Sf, Sg, Sh, and Si in FIG. 5.

[0063] The allocation unit 141 allocates outer diameter machining, inner diameter machining, or end face machining to the contour shape of the workpiece W after interpolation in accordance with the correspondence between the machining cycle and the contour shape defined in the machining cycle allocation rule 151. As shown in Fig. 9, the allocation unit 141 allocates outer diameter machining to sections Sr and St, which are continuous with sections Sb, Sc, and Sd.

[0064] 10 is a table showing the machining cycles and workpiece spindles finally assigned to the contour shape of the workpiece. Referring to FIG. 10, the processing unit 120 causes the display 56 to display the machining cycles and workpiece spindles finally assigned to the workpiece W together with the contour shape of the two-dimensional model 500.

[0065] FIG. 11 is a flowchart showing steps of a machining cycle allocation method according to an embodiment of the present invention.

[0066] 2 and 11, the information processing device 100 receives a three-dimensional model 400 of a workpiece W (S101). In this step, an operator inputs the three-dimensional model 400 created by a CAD device to the information processing device 100. The receiving unit 111 receives the three-dimensional model 400.

[0067] Next, the information processing device 100 generates a two-dimensional model 500 (S102). In this step, the two-dimensional model generation unit 131 generates the two-dimensional model 500 of the workpiece W by cutting the three-dimensional model 400 with a plane including the predetermined axis 310.

[0068] Next, the information processing device 100 identifies the end point P (S103). In this step, the end point identification unit 132 identifies the end point P[0], the end point P[1], the end point P[2], the end point P[3]...the end point P[N-1], and the end point P[N] included in the contour shape of the two-dimensional model 500.

[0069] Next, the information processing device 100 recognizes the sections S (S104). In this step, the section recognition unit 133 recognizes sections Sa, Sb, Sc, Sd, Se, Sf, Sg, Sh, Si, j, Sk, Sm, Sn, Sp, and Sq as the sections S between adjacent end points P in the contour shape of the two-dimensional model 500.

[0070] Next, the information processing device 100 assigns machining cycles and workpiece spindles (S105). In this step, the assignment unit 141 assigns machining cycles to each section S identified in step S104 according to the correspondence between the machining cycles and the contour shapes defined in the machining cycle assignment rules 151. The assignment unit 141 assigns a workpiece spindle that holds the workpiece W during machining of each section S identified in step S104 from among the left workpiece spindle 31 and the right workpiece spindle 36 according to the correspondence between the workpiece spindles and the contour shapes defined in the workpiece spindle assignment rules 152.

[0071] Next, the information processing device 100 judges whether or not a groove machining cycle or a thread machining cycle is included in the contour shape of the workpiece W (S106). In this step, if the information processing device 100 judges that a groove machining cycle and a thread machining cycle are not included, the process proceeds to step S109 described later.

[0072] If the information processing device 100 determines in step S106 that a groove machining cycle or a thread machining cycle is included, the information processing device 100 extracts the corresponding specific section (S107) and interpolates the contour shape of the extracted specific section (S108). In this step, the interpolation unit 142 extracts the section Se to which thread machining is assigned, and the sections Sf, Sg, Sh, and Si to which groove machining is assigned. The interpolation unit 142 interpolates the contour shape of the section Se according to the thread shape interpolation rules defined in the contour shape interpolation rules 153, and interpolates the contour shapes of the sections Sf, Sg, Sh, and Si according to the groove shape interpolation rules defined in the contour shape interpolation rules 153.

[0073] Next, the information processing device 100 returns to step S105 and assigns machining cycles to the interpolated contour shape of the workpiece W. Next, the information processing device 100 determines whether or not the interpolated contour shape of the workpiece W includes a groove machining cycle or a thread machining cycle (S106), and proceeds to step S109 if it is determined that the contour shape of the workpiece W does not include a groove machining cycle or a thread machining cycle.

[0074] Next, the information processing device 100 displays the assigned machining cycles and work spindles on the display 56 together with the contour shape of the workpiece W (S110). The operator proceeds to create an NC program by approving the machining cycles and work spindles displayed on the display 56 through operation of the operation panel 50. If the operator does not approve the machining cycles and work spindles displayed on the display 56, he / she may modify the allocation of the machining cycles to each section S through operation of the operation panel 50.

[0075] In the information processing device 100 and machining cycle allocation method according to the embodiment of the present invention configured as described above, a two-dimensional model 500 is generated by cutting a three-dimensional model 400 of the workpiece W by a plane including a predetermined axis 310, and a machining cycle is allocated to the workpiece W based on the contour shape of the workpiece W that appears in the generated two-dimensional model 500. According to such a configuration, the relationship between the contour shape of the workpiece W and the machining cycle used to machine the contour shape can be uniquely determined, so that a machining cycle corresponding to the contour shape of the workpiece W that appears in the two-dimensional model 500 can be allocated to the workpiece W. This allows the machining cycle to be allocated easily and appropriately.

[0076] Moreover, the processing unit 120 identifies the end points P included in the contour shape of the workpiece W, and allocates a machining cycle to each section S between adjacent end points P. According to such a configuration, the section S between the end points P included in the contour shape of the workpiece W is regarded as a unit for allocating a machining cycle, so that the allocation of the machining cycle can be executed more simply and appropriately.

[0077] The machining cycle includes at least one of outer diameter machining, inner diameter machining, end face machining, groove machining, and thread machining. With this configuration, machining cycles such as outer diameter machining, inner diameter machining, end face machining, groove machining, and thread machining can be easily and appropriately assigned to the contour shape of the workpiece W.

[0078] Moreover, the processing unit 120 interpolates the contour shape of the workpiece W in a specific section S to which groove machining or thread machining is assigned, and assigns outer diameter machining, inner diameter machining, or end face machining to the contour shape of the workpiece W after the interpolation. With this configuration, it is possible to assign outer diameter machining, inner diameter machining, or end face machining, which are required in the stage preceding groove machining or thread machining, to the contour shape of the workpiece W.

[0079] (Embodiment 2) In this embodiment, a description will be given of another embodiment of each step in Fig. 11. First, the step (S105) of allocating machining cycles will be described with reference to Figs.

[0080] The information processing device 100 (assignment unit 141) judges whether or not each section S has information indicating that it is a screw (set manually by a user using a GUI (Graphical User Interface) or acquired from additional information associated with the three-dimensional shape of the workpiece W). The information processing device 100 (assignment unit 141) assigns a thread machining cycle to the section S having information indicating that it is a screw.

[0081] Next, the information processing device 100 (allocation unit 141) judges whether each remaining section S corresponds to a line segment whose Z-axis coordinate is a maximum or minimum value and is parallel to the X-axis. The information processing device 100 (allocation unit 141) allocates a machining cycle for end face machining to the corresponding section S.

[0082] Next, the information processing device 100 (allocation unit 141) judges whether or not each remaining section S corresponds to a line segment whose X coordinate is zero and is parallel to the Z-axis direction. The information processing device 100 (allocation unit 141) does not allocate a machining cycle to the corresponding section S (corresponding to a section where machining is not required).

[0083] Next, the information processing device 100 (allocation unit 141) determines whether each remaining section S is a groove machining section (end face, outer diameter or inner diameter, and can also be determined in consideration of the machining direction, or can also be determined using a shape recognition module), and assigns a groove machining cycle to the corresponding section S.

[0084] Next, the information processing device 100 (allocation unit 141) determines whether each remaining section S is located outside or inside the contour shape of the workpiece W in the two-dimensional model 500. As an example, the information processing device 100 (allocation unit 141) divides the contour shape of the workpiece W in the two-dimensional model 500 into two between the maximum and minimum values ​​of the Z axis, and determines that on the dividing Z axis coordinate, the section S having a relatively large X-axis coordinate is located on the outside, and the section S having a relatively small X-axis coordinate is located on the inside. The information processing device 100 (allocation unit 141) assigns an outer diameter machining cycle to the section S located on the outside, and assigns an inner diameter machining cycle to the section S located on the inside.

[0085] Next, the workpiece spindle allocation step (S105) will be described. In the case of groove machining on an end face, the information processing device 100 (allocation unit 141) judges based on the machining direction. When the tool axis direction is the +Z axis direction, the information processing device 100 (allocation unit 141) allocates the left workpiece spindle 31, and when the tool axis direction is the -Z axis direction, the information processing device 100 (allocation unit 141) allocates the right workpiece spindle 36.

[0086] In the case of end face machining, the information processing device 100 (allocation unit 141) makes a judgment based on the Z-axis coordinate. The information processing device 100 (allocation unit 141) allocates the left work spindle 31 to end face machining where the Z-axis coordinate is the maximum value, and allocates the right work spindle 36 to end face machining where the Z-axis coordinate is the minimum value.

[0087] In the case of internal diameter machining and external diameter machining, the reference Z-axis coordinate is set in advance by the user. For example, the reference Z-axis coordinate may be set at a position of -45 mm in FIG. 4. The reference Z-axis coordinate may be different between a set value for internal diameter machining and a set value for external diameter machining. The information processing device 100 (assignment unit 141) assigns the left work spindle 31 to machining on the positive side of the reference Z-axis coordinate, and assigns the right work spindle 36 to machining on the negative side of the reference Z-axis coordinate.

[0088] Next, the step (S108) of interpolating the contour shape of the section S to which the groove machining cycle is assigned will be described.

[0089] 12 and 13 are diagrams for explaining the steps of interpolating the section (external diameter groove consisting of only simple line segments) to which the groove machining cycle is assigned. In Fig. 12 and Fig. 13, a case is assumed in which an external diameter groove consisting of only simple line segments is interpolated in a workpiece held by the left workpiece spindle 31.

[0090] 12 and 13, a groove machining cycle is assigned and an interval S (Sf to Si) to be interpolated is shown. An interval Sf is determined between end points p1 and p2, an interval Sg is determined between end points p2 and p3, an interval Sh is determined between end points p3 and p4, and an interval Si is determined between end points p4 and p5.

[0091] The information processing device 100 (interpolation unit 142) sets the maximum gradient of the section S (Sf to Si) to be interpolated. The maximum gradient may be set to zero in the Z-axis-X-axis coordinates, may be set with reference to the pocket angle of the tool, or may be set manually by the user.

[0092] Next, the information processing device 100 (interpolation unit 142) determines the tangent point pa of the set line of maximum gradient in the contour shape of the section S (Sf to Si). The information processing device 100 (interpolation unit 142) determines the line 61 of maximum gradient that is tangent to the tangent point pa and the first intersection point pb where the line 61 first intersects with the contour shape continuing from the tangent point pa.

[0093] Next, the information processing device 100 (interpolation unit 142) divides the section S (Sf to Si) into sections Sf, Sg, and Sh (end point p3 to first intersection point pb) and sections Sh (first intersection point pb to end point p4) and Si by the first intersection point pa. The information processing device 100 (interpolation unit 142) interpolates the sections Sf, Sg, and Sh (end point p3 to first intersection point pb) by a straight line 61.

[0094] Next, the information processing device 100 (interpolation unit 142) determines whether the contour shape continuing from the first intersection point pb is placed in a first range 62 that is equal to or greater than the set maximum slope, or in a second range 63 that is less than the set maximum slope.

[0095] The information processing device 100 (interpolation unit 142) determines that the contour shape continuing from the first intersection point pb is placed in the second range 63. In this case, the information processing device 100 (interpolation unit 142) maintains the contour shapes of the section Sh (from the first intersection point pb to the end point p4) and the section Si. As a result, as shown in Fig. 13, the section S (from Sf to Si) is interpolated to a contour shape that passes through the end point p1 (the contact point pa), the first intersection point pb, the end point p4, and the end point p5 in that order.

[0096] On the other hand, if the information processing device 100 (interpolation unit 142) determines that the contour shape continuing from the first intersection point pb is placed in the first range 62 having a gradient equal to or greater than the set maximum gradient, it identifies a straight line that passes through the start point of the contour shape continuing from the first intersection point pb and has the set maximum gradient, and a second intersection point where the straight line first intersects with the contour shape continuing from the first intersection point pb. Thereafter, the above steps are repeated.

[0097] 14 and 15 are diagrams for explaining steps for interpolating a section (external diameter groove including a curve) to which a groove machining cycle is assigned. In Fig. 14 and Fig. 15, a case is assumed in which an external diameter groove including a curve is interpolated in a workpiece held by the left workpiece spindle 31.

[0098] 14 and 15, even if the section S to be interpolated is an outer diameter groove including a curve, the information processing device 100 (interpolation unit 142) finds the tangent point pa if there is a point of contact with the straight line of maximum slope in the contour shape of the section S. The information processing device 100 (interpolation unit 142) identifies the straight line 61 of maximum slope that is tangent to the tangent point pa, and a first intersection point pb where the straight line 61 first intersects with the contour shape continuing from the tangent point pa. The other steps are similar to those described with reference to FIGS. 12 and 13.

[0099] In addition, in the interpolation of section S (Sf to Si) shown in Fig. 8, the maximum inclination of the interpolated section S is set to 0°. Although Figs. 12 to 15 are based on the assumption that the outer diameter groove of the workpiece held by the left workpiece spindle 31 is to be interpolated, the same method as above can also be applied to the case where the workpiece is held by the right workpiece spindle 36 or the case where the inner diameter groove is to be interpolated.

[0100] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0101] 10 machine tool, 12 machining area, 21 cover body, 31 left work spindle, 32, 37 jaw section, 36 right work spindle, 41 tool rest, 42 swivel section, 50 operation panel, 51 upper panel, 52 lower panel, 53 operation section, 56, 57 display, 61 straight line, 62 first range, 63 second range, 100 information processing device, 111 reception section, 120 processing section, 121 first processing section, 122 second processing section, 131 two-dimensional model generation section, 132 end point identification section, 133 section determination section, 141 allocation section, 142 interpolation section, 150 memory section, 151 machining cycle allocation rule, 152 work spindle allocation rule, 153 contour shape interpolation rule, 160 base material, 210, 220 rotation center axis, 230 Rotation center axis, 310 specified axis, 400 three-dimensional model, 500 two-dimensional model, P end point, S, Sa, Sb, Sc, Sd, Se, Sf, Sg, Sh, Si, Sj, Sk, Sm, Sn, Sp, Sq, Sr, St, j section, W workpiece.

Claims

1. a receiving unit for receiving a three-dimensional model of a workpiece extending around a predetermined axis; a processing unit that generates a two-dimensional model by cutting the three-dimensional model by a plane including the predetermined axis, and allocates a machining cycle to the workpiece based on a contour shape of the workpiece that appears in the two-dimensional model, The processing unit is an information processing device that interpolates a contour shape of the workpiece in a specific section to which thread machining is assigned as the machining cycle, and assigns external diameter machining or internal diameter machining as the machining cycle to the interpolated contour shape of the workpiece.

2. The information processing apparatus according to claim 1 , wherein the processing unit identifies end points included in a contour shape of the workpiece, and allocates the machining cycle to each section between adjacent end points.

3. 3. The information processing device according to claim 1, wherein the processing unit interpolates a contour shape of the workpiece in a specific section to which groove machining is assigned as the machining cycle, and assigns external diameter machining, internal diameter machining or end face machining as the machining cycle to the contour shape of the workpiece after interpolation.

4. A step of generating a two-dimensional model by cutting a three-dimensional model of a workpiece extending around a predetermined axis by a plane including the predetermined axis; and allocating a machining cycle to the workpiece based on a contour shape of the workpiece appearing in the two-dimensional model. A method for allocating machining cycles, the step of allocating a machining cycle to the workpiece includes a step of interpolating a contour shape of the workpiece in a specific section to which the thread machining is assigned as the machining cycle, and allocating external diameter machining or internal diameter machining as the machining cycle to the contour shape of the workpiece after interpolation.

5. A program executed by a computer for allocating machining cycles to a workpiece, comprising: The program causes the computer to A step of generating a two-dimensional model by cutting a three-dimensional model of a workpiece extending around a predetermined axis by a plane including the predetermined axis; and allocating a machining cycle to the workpiece based on a contour shape of the workpiece that appears in the two-dimensional model. A program in which the step of assigning a machining cycle to the workpiece includes a step of interpolating a contour shape of the workpiece in a specific section to which the thread machining is assigned as the machining cycle, and assigning external diameter machining or internal diameter machining as the machining cycle to the contour shape of the workpiece after interpolation.

Citation Information

Patent Citations

  • Jam detecting device for stacker

    JP1979036733A

  • Decision control of simultaneous machining for four-axis numerical controlled lathe

    JP1983155150A

  • Automatic setting device for working method in turning working machine

    JP1988093544A

  • Numerical control information preparation method

    JP1992256548A

  • Machining process setting system for interactive numerically controlled device

    JP1993146943A

Cited By

  • Information processing device, processing cycle assignment method, and program

    JP2025107973A