Tool path generation method
11198204 · 2021-12-14
Assignee
Inventors
Cpc classification
G05B19/4099
PHYSICS
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
B23Q15/013
PERFORMING OPERATIONS; TRANSPORTING
B23Q15/14
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
This method for generating a tool path for processing a workpiece is provided with: a step for setting a first reference plane with respect to the workpiece; a step for setting, with respect to the workpiece, a second reference plant which is not parallel to the first reference plane; a step for interpolating, on the basis of the first reference plane and the second reference plane, a plurality of third reference planes, which are not parallel to each other, between the first reference plane and the second reference plane; a step in which partial tool paths for processing the workpiece are generated for each of the plurality of third reference planes on the basis of the corresponding third reference plane; and a step for generating a tool path by sequentially connecting the partial tool paths of the plurality of third reference planes.
Claims
1. A tool path generation method for generating a tool path for machining a workpiece, the method comprising the steps of: setting a first reference plane with respect to the workpiece, setting a second reference plane that is not parallel to the first reference plane, with respect to the workpiece, interpolating, based on the first reference plane and the second reference plane, a plurality of third reference planes that are not parallel to each other, between the first reference plane and the second reference plane, generating, with respect to each of the plurality of third reference planes, a partial tool path for machining the workpiece, based on the corresponding third reference plane, and generating a tool path by sequentially connecting the partial tool paths of the plurality of third reference planes.
2. The tool path generation method according to claim 1, wherein a tool has a tool reference point that follows the tool path, and each partial tool path is generated by calculating a contact position between the workpiece and the tool so that the tool reference point is positioned within the corresponding third reference plane.
3. The tool path generation method according to claim 1, wherein a tool has a tool reference point which follows the tool path, and each partial tool path is generated by offsetting a contour of the workpiece by a distance between a contact position between the workpiece and the tool and the tool reference point so that the contact position is within the corresponding third reference plane.
4. The tool path generation method according to claim 1, wherein the first reference plane has a first inclination, the second reference plane has a second inclination, the method further comprises the steps of: setting a first reference point with respect to the first reference plane, and setting a second reference point with respect to the second reference plane, the step of interpolating the plurality of third reference planes comprises: determining the plurality of third reference planes so that the plurality of third reference planes include a plurality of third reference points that are evenly interpolated between the first reference point and the second reference point, and the plurality of third reference planes have a plurality of third inclinations that are evenly interpolated between the first inclination and the second inclination, and the step of generating the tool path comprises: generating a helical tool path by connecting the partial tool paths of adjacent third reference planes.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE DISCLOSURE
(13) The method for generating a tool path according to the embodiments will be described below with reference to the attached drawings. Identical or corresponding elements have been assigned the same reference signs, and duplicate descriptions thereof have been omitted. In order to facilitate understanding, the scales of the drawings may be changed in some cases.
(14)
(15)
(16) The workpiece 1 can be, for example, a blade included in a turbine. The workpiece 1 can comprise, for example, an elongate main body 13 which is machined into a blade, and a pair of retention parts 14, 15 connected to both ends of the main body 13. The main body 13 has a curved flat shape. The ends of the main body 13 are not parallel to each other, and thus, the conflicting surfaces 11, 12 of the retention parts 14, 15 connected to the ends of the main body 13 are also not parallel. The retention parts 14, 15 can be gripped during the machining of the main body 13.
(17)
(18) Referring again to
(19) Referring again to
[Math 1]
n.sub.1=(f.sub.2−f.sub.1)×(f.sub.3−f.sub.1) (1)
[Math 2]
n.sub.2=(s.sub.2−s.sub.1)×(s.sub.3−s.sub.1) (2)
(20) Referring again to
(21) Referring to
(22)
(23) Next, the processor 52 selects a vector (hereinafter also referred to as the second reference vector) h which is orthogonal to the first reference vector Δp by any suitable method (step S110). For example, the second reference vector h can be calculated by the following formulas (4), (5).
(24)
(25) Next, referring again to
(26) For example, as shown in
(27)
(28) The interpolation parameter t.sub.1 is a parameter for the first reference plane RS.sub.1, the interpolation parameter t.sub.m+1 is a parameter for the second reference plane RS.sub.2, and the interpolation parameters t.sub.2 to t.sub.m are parameters for the plurality of third reference planes RS.sub.3. Note that the shape G between the first reference plane RS.sub.1 and the second reference plane RS.sub.2 may be unevenly divided into a plurality of sections. For example, a portion having a shape which changes greatly along the first reference vector Δp may be finely divided as compared with other portions. For example, after the operator has evenly divided the shape G between the first reference plane RS.sub.1 and the second reference plane RS.sub.2 into a plurality of sections as described above, the interpolation parameters t.sub.1, t.sub.2, . . . t.sub.i may be corrected and/or new interpolation parameters may be inserted, after any of the steps shown below. Furthermore, the interpolation parameters t.sub.1, t.sub.2, . . . t.sub.i may be calculated by a non-linear function in place of formula (6) above.
(29) Next, the processor 52 executes the following steps S114 to S126 with respect to all of the interpolation parameters t.sub.1, t.sub.2, . . . t.sub.i.
(30)
[Math 7]
d.sub.i=p.sub.1−(p.sub.1−p.sub.2)t.sup.i (7)
(31) Note that as shown in
(32) Next, the processor 52 calculates the inclination (normal direction) dn.sub.i of each reference plane by the following formula (8) for spherical interpolation between the normal direction n.sub.1 of the first reference plane RS.sub.1 and the normal direction n.sub.2 of the second reference plane RS.sub.2 using interpolation parameter t.sub.i (step S116).
[Math 8]
dn.sub.i=slerp(n.sub.1,n.sub.2,t.sub.i) (8)
(33) Note that as shown in
(34) Next, the processor 52 calculates the coordinate axes u.sub.i, v.sub.i, w.sub.i of each reference plane by the following formulas (9) to (11) using interpolation parameter t.sub.i (step S118).
(35)
(36) As shown in
(37) Next, the processor 52 calculates, by the following formula (12), a transformation matrix M.sub.i for transformation from the XYZ coordinate system to the u.sub.iv.sub.iw.sub.i coordinate system of each reference plane (step S120).
(38)
(39) Next, the processor 52 transforms all points q included on the shape G in the XYZ coordinate system to points r.sub.i in the u.sub.iv.sub.iw.sub.i coordinate system based on the following formula (13), and calculates the shape G.sub.i in the u.sub.iv.sub.iw.sub.i coordinate system (step S122).
(40)
(41) Next, the processor 52 generates partial tool paths TP′.sub.i with respect to the shape G.sub.i based on each reference plane (the first reference plane RS.sub.1, the second reference plane RS.sub.2, or the third reference plane RS.sub.3) (step S124). The partial tool paths TP′.sub.i can be generated by various methods. For example, the partial tool paths TP′.sub.i may be generated by a method for generating each contour in contour machining. Such method includes, for example, the following two methods.
(42)
(43) In the first method, the partial tool path TP′.sub.i can be generated by calculating a contact position 62 between the shape G.sub.i and the tool 60 so that the above tool reference point 61 is located in the corresponding reference plane RS.sub.3. In this case, the partial tool path TP′.sub.i is located in the reference plane RS.sub.3, while the contact position 62 may not be present in the reference plane RS.sub.3, depending on the shape G.sub.i.
(44) In the second method, the partial tool path TP′.sub.i can be generated by offsetting the contour of Gi by the distance between the contact position 62 between the shape G.sub.i and the tool 60 and the above tool reference point 61 so that the contact position 62 is located within the corresponding reference plane RS.sub.3. In this case, the contact position 62 is located in the reference plane RS.sub.3, while each partial tool path TP′.sub.i may not be present in the reference plane RS.sub.3, depending on the shape G.sub.i.
(45)
(46)
(47) Next, the processor 52 judges whether or not partial tool paths TP.sub.i have been calculated with respect to all of the interpolation parameters t.sub.1, t.sub.2, . . . t.sub.i (step S128). When all of the partial tool paths TP.sub.i have been calculated, the tool path is generated by sequentially connecting all of the partial tool paths TP.sub.i (step S130). When all of the partial tool paths TP.sub.i have not been calculated, the process returns to step S114.
(48)
(49) Next, the processor 52 stores the generated tool path in the storage device 51 (step S132), and the series of operations ends.
(50) According to the method of the present disclosure as described above, a plurality of third reference planes RS.sub.3 which are not parallel to each other are set with respect to the workpiece 1, and a plurality of partial tool paths TP.sub.i which are not parallel to each other are generated based on the plurality of third reference planes RS.sub.3. Thus, parallel partial tool paths TP.sub.i can be set with respect to each of the conflicting surfaces 11, 12 which are not parallel to each other. Therefore, a tool path which is suitable for a workpiece 1 having conflicting surfaces 11, 12 which are not parallel to each other can be generated.
(51) Furthermore, in the method of the present disclosure, the tool 60 has a tool reference point 61 which follows the tool path, and each partial tool path TP.sub.i can be generated by calculating the contact position 62 between the workpiece 1 and the tool 60 so that the tool reference point 61 is in the corresponding third reference plane RS.sub.3. In this case, the partial tool paths TP.sub.i can be generated based on the tool reference point 61.
(52) Furthermore, in the method of the present disclosure, each partial tool path TP.sub.i may be generated by offsetting the contour of the workpiece 1 by a distance between the contact position 62 between the workpiece 1 and the tool 60 and the tool reference point 61 so that the contact position 62 is located in the corresponding third reference plane RS.sub.3. In this case, the partial tool paths TP.sub.i can be generated based on the contact position 62.
(53) Furthermore, in the method of the present disclosure, the first reference plane RS.sub.1 has a first inclination n.sub.1, the second reference plane RS.sub.2 has a second inclination n.sub.2, and the method comprises a step of setting the first reference point p.sub.i with respect to the first reference plane RS.sub.1 and a step of setting the second reference point p.sub.2 with respect to the second reference plane RS.sub.2. Furthermore, the step of interpolation of the plurality of third reference planes RS.sub.3 comprises determining the plurality of third reference planes RS.sub.3 so that the plurality of third reference planes RS.sub.3 include a plurality of third reference points d.sub.2 to d.sub.m which are evenly interpolated between the first reference point p.sub.1 and the second reference point p.sub.2, and the plurality of third reference planes RS.sub.3 have a plurality of third inclinations dn.sub.2 to dn.sub.m which are evenly interpolated between the first inclination n.sub.i and the second inclination n.sub.2. Further, the step of generating the tool path includes generating a helical tool path HP by smoothly connecting the partial tool paths TP.sub.i of adjacent third reference planes RS.sub.3. Thus, a smooth tool path can be generated.
(54) Though the embodiments of the method for generating a tool path have been described, the present invention is not limited to the embodiments described above. A person skilled in the art would understand that various modifications can be made to the embodiments described above. Furthermore, a person skilled in the art could understand that the steps of the method described above may be performed in a different order than that described above, as long as no contradiction arises.
(55) For example, in the embodiments above, the partial tool paths TP.sub.i are generated with respect to all of the reference planes including the first reference plane RS.sub.1 and the second reference plane RS.sub.2. However, partial tool paths TP.sub.i may be generated with respect to only the third reference planes RS.sub.3. Furthermore, the partial tool paths TP.sub.i may be generated with respect to only two or more consecutive third reference planes RS.sub.3 among the plurality of third reference planes RS.sub.3.
(56) Furthermore, in the embodiments above, the helical tool path HP is generated by smoothly connecting adjacent partial tool paths TP.sub.i. However, the plurality of partial tool paths TP.sub.i may be connected by another method. For example, a stepwise tool path connected by a connection path parallel to the Z-axis may be generated.
REFERENCE SIGNS LIST
(57) 1 workpiece 60 tool 61 tool reference point 62 contact position d.sub.2 to d.sub.m third reference point dn.sub.2 to dn.sub.m normal direction (third inclination) HP tool path n.sub.1 normal direction (first inclination) n.sub.2 normal direction (second inclination) p.sub.1 first reference point p.sub.2 second reference point RS.sub.1 first reference plane RS.sub.2 second reference plane RS.sub.3 third reference plane TP.sub.i partial tool path