WO2015037150A1 - 工具経路生成方法および工具経路生成装置 - Google Patents

工具経路生成方法および工具経路生成装置 Download PDF

Info

Publication number
WO2015037150A1
WO2015037150A1 PCT/JP2013/074921 JP2013074921W WO2015037150A1 WO 2015037150 A1 WO2015037150 A1 WO 2015037150A1 JP 2013074921 W JP2013074921 W JP 2013074921W WO 2015037150 A1 WO2015037150 A1 WO 2015037150A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
path
tool path
movement
workpiece
Prior art date
Application number
PCT/JP2013/074921
Other languages
English (en)
French (fr)
Inventor
優毅 谷川
祐二 大友
聡一郎 浅見
Original Assignee
株式会社牧野フライス製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社牧野フライス製作所 filed Critical 株式会社牧野フライス製作所
Priority to CN201380078917.7A priority Critical patent/CN105492980B/zh
Priority to US15/021,633 priority patent/US10088832B2/en
Priority to KR1020167000799A priority patent/KR20160019936A/ko
Priority to PCT/JP2013/074921 priority patent/WO2015037150A1/ja
Priority to JP2015536414A priority patent/JP6038331B2/ja
Priority to EP13893643.0A priority patent/EP3045991A4/en
Publication of WO2015037150A1 publication Critical patent/WO2015037150A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35097Generation of cutter path, offset curve
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36266Tool path editor, for offset, multi-passes

Definitions

  • the present invention relates to a tool path generation method and a tool path generation apparatus.
  • a machine tool that performs a process such as cutting by moving a tool relative to a workpiece.
  • a numerically controlled machine tool that performs machining while moving a tool relative to a workpiece by designating a tool path with respect to the workpiece by coordinates of a predetermined axis or the like.
  • the machine tool forms a workpiece having a target shape by processing a workpiece having a predetermined shape.
  • the machining program for driving the machine tool can be generated by a CAM (Computer-Aided-Manufacturing) device based on the designed target shape of the workpiece in addition to being created by the user.
  • the creation of the target shape of the workpiece can be performed by, for example, a CAD (Computer Aided Design) apparatus. Data of the target shape of the workpiece generated by the CAD device is supplied to the CAM device.
  • the CAM device can generate a machining program for the machine tool based on the target shape of the workpiece. In such a processing system, many processes for processing a workpiece having a desired shape can be automated.
  • Japanese Patent Application Laid-Open No. 2012-164269 is a method for generating a machining path in which a part of a material is deleted by cutting, automatically determining a shape that can be cut from a three-dimensional CAD model of product design, A machining path generation method for automatically generating a machining path for the cutting method is disclosed.
  • the CAM device can generate a tool path including the relative position of the tool with respect to the workpiece based on the initial shape of the workpiece, the target shape of the workpiece, tool information, and the like.
  • the tool path can be generated based on the shape of the material, the target shape of the workpiece, the tool diameter, and the like.
  • the CAM device can generate a tool path along the target shape of the workpiece.
  • a machining program can be generated from the generated tool path.
  • the tool includes a blade portion and a portion other than the blade portion such as a shank portion (tool handle portion).
  • the tool can be processed at the blade portion, but cannot be processed at the shank portion or the like. That is, the tool has a range in which machining can be performed.
  • machining a part having a size exceeding the effective blade length of the blade part of the tool it is impossible to machine to the target shape by one machining. For this reason, it is necessary to remove the excess part of the workpiece in advance. For example, it is necessary to process the workpiece in advance to a shape close to the target shape using an electric discharge machine or the like.
  • the excess part of the workpiece can be removed in advance by cutting with a predetermined tool.
  • the user needs to set a surplus part for removing the workpiece and create a tool path for removing the surplus part.
  • after generating the tool path for removing the surplus portion it is necessary to confirm whether or not the processing can be performed to the target shape at the portion of the effective blade length of the tool by performing a simulation or the like. If a problem occurs as a result of checking the tool path, there is a problem that the tool path must be regenerated.
  • the tool path generation method of the present invention is a tool path generation method for generating a tool path for machining a workpiece with a machine tool, and a first tool path for machining the workpiece is preset.
  • the tool path generation method includes a determination process for determining whether or not the effective blade length of the tool is insufficient when machining is performed on the first tool path based on the first tool path and the shape of the workpiece.
  • the tool path generation method includes a post-movement path generation step for generating a post-movement tool path that has moved to a path where machining can be performed with a portion having an effective blade length with respect to the first tool path.
  • an auxiliary path generation step of generating an auxiliary tool path for processing an uncut portion remaining on the work after being processed by the tool path.
  • the post-movement path generation step may include a step of generating a post-movement tool path in which the tool moves in the direction in which the tool moves relatively away from the workpiece in the axial direction of the tool. it can.
  • the auxiliary path generation step includes a determination step, an estimation step, and a post-movement path generation step, and when the machining is possible at the effective blade length portion of the tool in the determination step, the first tool Including a step of selecting a path, and the auxiliary path generation step is a determination step, an estimation until the machining is possible at the portion of the effective blade length of the tool when the workpiece is machined in the first tool path in the determination step. And a step of generating a tool path after movement by repeating the step and a post-movement path generation step, and a step of generating an auxiliary tool path including the tool path after movement and the first tool path.
  • the first tool path and the tool path after movement are configured by paths that move a plurality of movement points, and the post-movement path generation step is performed in the direction of travel of the tool in the first tool path.
  • the post-movement path generation step includes a step of determining whether or not the tool path after movement includes a bending path, and if the bending path is included, the bending path is a curved path. To the step of changing to.
  • the tool path generation device of the present invention is a tool path generation device that generates a machining program including a tool path for machining a workpiece, and based on the first tool path and the shape of the workpiece, the tool path generation device generates a first tool path.
  • a determination unit that determines whether or not the effective blade length of the tool is insufficient when machining is performed, and an estimation unit that estimates a shortage portion where the effective blade length of the tool is insufficient when the effective blade length of the tool is insufficient .
  • the tool path generation device includes a post-movement path generation unit that generates a post-movement tool path that has moved to a path where machining can be performed with a portion having an effective blade length with respect to the first tool path.
  • the tool path generation device includes a program generation unit that generates a machining program in which a second tool path based on the moved tool path and the auxiliary tool path is set.
  • the post-movement path generation unit can generate a tool path in which the first tool path is moved in a direction in which the tool is relatively separated from the workpiece in the axial direction of the tool.
  • the auxiliary path generation unit includes a determination unit, an estimation unit, and a post-movement path generation unit. It is formed to select the tool path, and the auxiliary path generation unit moves until it is possible to process at the portion of the effective blade length of the tool when the determination unit processes the workpiece with the first tool path.
  • the subsequent tool path can be generated repeatedly, and an auxiliary tool path including the moved tool path and the first tool path can be generated.
  • the present invention it is possible to provide a tool path generation method and a tool path generation apparatus for generating a tool path for machining a portion larger than the effective blade length of a tool.
  • the tool path in the present invention indicates a relative path of the tool to the work when the work is processed while the tool moves relative to the work.
  • FIG. 1 is a block diagram of a first machining system in the present embodiment.
  • the machining system of the present embodiment includes a CAD device 10, a CAM device 20, and a machine tool 40.
  • the CAD device 10 generates target shape data D1 of a workpiece in accordance with a user operation.
  • the target shape data D1 generated by the CAD device 10 is input to the CAM device 20.
  • the CAM device 20 generates a machining program in which a tool path for machining a workpiece with the machine tool 40 is set.
  • the CAM device 20 corresponds to a tool path generation device.
  • the CAM device 20 outputs a second machining program P2 for machining the workpiece into a target shape.
  • the CAM device 20 includes a shape data reading unit 21 and a path setting unit 22.
  • the shape data reading unit 21 reads the target shape data D1 generated by the CAD device 10.
  • the path setting unit 22 generates a tool path based on the target shape data D1, tool shape data, and the like.
  • the initial tool path generated by the path setting unit 22 is referred to as a first tool path R1.
  • the path setting unit 22 generates a first machining program P1 in which the first tool path R1 is set.
  • the CAM device 20 includes a machining program changing unit 30.
  • the machining program changing unit 30 reads the first machining program P1 and acquires the first tool path R1.
  • the machining program change unit 30 corrects the first tool path R1 to generate a second tool path R2.
  • the machining program change part 30 produces
  • the second machining program P2 generated by the CAM device 20 is input to the machine tool 40.
  • the machine tool 40 includes a numerical controller 50 and servo motors S for each axis.
  • the numerical controller 50 reads and interprets the second machining program P2.
  • the numerical controller 50 sends an operation command to each axis servo motor S based on the second machining program P2.
  • each axis servomotor S drives according to an operation command, and a tool moves relatively to a work.
  • FIG. 2 shows a schematic side view of the machine tool 40 in the present embodiment.
  • the machine tool 40 is a table turning type that turns the workpiece W together with the rotary table 46.
  • the machine tool 40 has an X axis, a Y axis, and a Z axis that are orthogonal to each other.
  • the Z-axis is a linear motion shaft that extends in a direction in which the main shaft 43 moves toward the workpiece W.
  • the Y axis is a linear motion axis that extends parallel to the direction in which the carriage 47 moves. Further, the linear movement axis perpendicular to the Z axis and the Y axis is set as the X axis.
  • the machine tool 40 has a B axis as a rotation axis around an axis extending in parallel with the Y axis.
  • the machine tool 40 has a C axis as a rotation axis around an axis extending in parallel to the Z axis.
  • the machine tool 40 includes a bed 41 as a base and a column 42 erected on the upper surface of the bed 41.
  • the machine tool 40 includes a spindle head 44 that rotatably supports the spindle 43 and a saddle 45 that supports the spindle head 44 in front of the column 42.
  • the spindle head 44 supports the spindle 43 downward so that the tip of the spindle 43 faces the rotary table 46.
  • a tool T is attached to the tip of the main shaft 43.
  • the machine tool 40 includes a rotary table 46 on which the workpiece W is disposed, and a U-shaped swing support member 48 that supports the rotary table 46.
  • the machine tool 40 includes a U-shaped carriage 47 that supports a swing support member 48.
  • the carriage 47 supports the swing support member 48 on a pair of support columns 47a and 47b that are separated in the Y-axis direction.
  • the swing support member 48 is supported by the carriage 47 at both ends in the Y-axis direction.
  • the swing support member 48 is supported so as to be swingable about the axis of the B axis.
  • the machine tool 40 includes a moving device that moves the tool relative to the workpiece based on each moving axis.
  • the moving device includes each axis servo motor S that is driven along each moving axis.
  • the moving device moves the saddle 45 with respect to the column 42 in the X-axis direction.
  • the moving device moves the carriage 47 with respect to the bed 41 in the Y-axis direction.
  • a cavity 42c is formed so that the carriage 47 can partially enter.
  • the moving device moves the spindle head 44 in the Z-axis direction with respect to the saddle 45.
  • the moving device includes a moving device for the rotary table 46, and the rotary table 46 rotates around the axis of the C axis. Further, the moving device rotates the swing support member 48 around the axis of the B axis with respect to the carriage 47.
  • the machine tool 40 of the present embodiment has three linear motion axes that are orthogonal to each other, and a rotation axis that rotates around the axis of the B axis and the axis of the C axis.
  • the machine tool 40 of the present embodiment is a 5-axis control machine tool.
  • Fig. 3 shows a schematic plan view of the workpiece and tool when machining the workpiece.
  • an end mill is used as the tool T.
  • the tool T has a blade portion CP that can perform cutting.
  • the tool T can perform processing on the side surface of the blade portion CP.
  • cutting is performed so that the workpiece W has the target shape TS.
  • the target shape TS is determined at the time of design.
  • a tool path along the target shape TS is set. By relatively moving the tool T and the workpiece W along this tool path, the workpiece W can be cut.
  • the arrow 80 when moving along the side surface of the workpiece W, since the portion to be cut is small, the cutting can be performed with the blade portion CP.
  • the corner portion of the workpiece W is processed in a direction inclined with respect to the side surface of the workpiece W.
  • the tool T is moved along the target shape TS as indicated by an arrow 81 at the corner portion of the workpiece W, the length of the blade portion CP becomes shorter than the portion to be cut.
  • FIG. 4 shows a schematic cross-sectional view of a workpiece and a tool for explaining a state where the effective blade length of the blade portion of the tool is insufficient.
  • the tool T has an effective blade length ECL that can be processed.
  • the effective blade length ECL corresponds to the axial length of the tool from the tip of the tool that can be processed in the region where the blade portion CP is formed.
  • FIG. 4 shows the first tool path R1 along the target shape TS.
  • the first tool path R1 includes movement points MP31a, MP32a, MP33a, and MP34a called block points.
  • the tool T is controlled so that the center of the tool tip advances along the first tool path R1, for example.
  • the tool T is machining while moving relative to the workpiece W.
  • the first tool path R1 is separated from the surface of the workpiece W.
  • the depth of cutting exceeds the effective blade length ECL, making machining impossible. For example, machining is impossible at the movement points MP33a and MP34a.
  • CAM apparatus 20 determines whether or not the effective blade length ECL of tool T is short with respect to the portion to be cut when machining is performed on first tool path R1. When the effective blade length ECL of the tool T is insufficient, the CAM device 20 generates a moved tool path that has moved the first tool path R1 so that cutting can be performed at the portion of the effective blade length ECL.
  • FIG. 5 shows a schematic cross-sectional view of the work and the tool showing the first tool path and the tool path after movement.
  • the CAM device 20 When the effective blade length ECL of the tool T is insufficient, the CAM device 20 generates a moved tool path R3 in which the first tool path R1 is moved in the axial direction of the tool T. As indicated by the arrow 82, the moving point of the tool T is changed in the direction away from the workpiece W in the direction of the rotation axis of the tool T.
  • the moving point MP33a is moved to the moving point MP33b so that machining can be performed at the portion of the effective blade length ECL of the tool T. Further, the moving point MP34a is moved to the moving point MP34b.
  • a tool path R3 after movement including the movement points MP33b and MP34b is generated.
  • machining can be performed within the range of the effective blade length ECL of the blade portion CP.
  • the workpiece W has not been cut to the target shape TS, even if the workpiece W is machined in the tool path R3 after the movement, an uncut portion remains on the workpiece W.
  • the CAM device 20 then generates an auxiliary tool path for cutting the uncut portion.
  • the first tool path R1 is considered as an auxiliary tool path.
  • the first tool path R1 is selected when machining can be performed with the effective blade length ECL portion of the tool T.
  • the first tool path R1 is moved again in the direction away from the workpiece W in the axial direction of the tool T. Add the moved tool path. In this way, a tool path after movement is generated until machining can be finally performed on the first tool path R1.
  • the second tool path R2 is generated by combining one or more moved tool paths R3 and the first tool path R1.
  • the second tool path R2 is a path for actually machining the workpiece W with the tool T.
  • FIG. 6 shows a block diagram of the machining program changing unit of the CAM device in the present embodiment.
  • machining program change unit 30 includes an input unit 31.
  • the input unit 31 receives initial shape data D2 of the workpiece W.
  • the initial shape data D2 of the workpiece W is, for example, the shape data of the material before the workpiece W is processed.
  • tool shape data D ⁇ b> 3 is input to the input unit 31.
  • the tool shape data D3 includes the type of the tool T, the tool diameter, and the effective blade length ECL of the blade portion CP.
  • the input unit 31 receives a first machining program P1 including information on the first tool path R1.
  • the first tool path R1 is a tool path along the target shape TS of the workpiece W.
  • the machining program change unit 30 includes a determination unit 33a. Whether the effective blade length ECL of the tool T is insufficient when the determination unit 33a performs machining in the first tool path R1 based on the first tool path R1, the shape of the tool T, and the initial shape of the workpiece. Determine whether or not. For example, the determination unit 33a estimates the length with which the tool T contacts the workpiece W. And the determination part 33a can discriminate
  • the determination unit 33a when the effective blade length ECL of the tool T is longer than the portion to be cut, it can be determined that machining is possible at the portion of the effective blade length ECL of the tool T. In this case, the determination unit 33a outputs the first machining program P1 as the second machining program P2. That is, the first machining program P1 is output as the second machining program P2 without being changed.
  • the determination unit 33a can determine that the effective blade length ECL of the tool T is insufficient. When the effective blade length ECL of the tool T is insufficient, the determination unit 33a sends the first tool path R1 to the tool path changing unit 35.
  • the tool path changing unit 35 includes an estimating unit 36a.
  • the estimation unit 36a estimates an insufficient portion, which is a portion where the effective blade length ECL of the tool T is insufficient, in the first tool path R1.
  • an insufficient area which is an area where the effective blade length ECL of the tool T is insufficient, is estimated as an insufficient part.
  • the estimation unit 36a determines whether or not machining can be performed at the portion of the effective blade length ECL of the tool T at each moving point, and sets a shortage region. For example, with reference to FIG. 5, the estimation unit 36a can set the region of the first tool path R1 including the movement points MP33a and MP34a as a shortage region. Next, when the effective blade length ECL of the blade portion CP is insufficient at each moving point, a calculation for moving the moving point in the axial direction of the tool T is performed.
  • the tool path changing unit 35 includes a post-movement path generation unit 37a.
  • the post-movement path generation unit 37a moves the first tool path R1 to a path where machining can be performed at the portion of the effective blade length ECL in the shortage region, and generates a post-movement tool path R3.
  • the post-movement path generation unit 37a moves the movement points MP33a and MP34a in the axial direction of the tool T to generate the movement points MP33b and MP34b.
  • the post-movement path generation unit 37a sets a path including the movement points MP31a, MP32a, MP33b, and MP34b as the post-movement tool path R3.
  • the tool path changing unit 35 determines whether or not the effective blade length ECL of the tool T is insufficient at all the movement points, and moves in the axial direction of the tool T when the effective blade length ECL is insufficient.
  • the tool path R3 after the movement is generated by moving the point.
  • the tool path changing unit is not limited to this form, and the tool path can be moved until the first tool path can be processed at the effective blade length ECL by arbitrary control.
  • the first tool path may be moved in a direction different from the axial direction of the tool.
  • the tool path changing unit 35 includes an auxiliary path generation unit 38 that generates an auxiliary tool path for machining the uncut portion.
  • the auxiliary route generation unit 38 includes a determination unit 33b, an estimation unit 36b, and a post-movement route generation unit 37b.
  • the determination unit 33b has the same function as the determination unit 33a.
  • the determination unit 33b determines whether or not a shortage region occurs when the workpiece W processed with the tool path generated up to now is processed with the first tool path R1.
  • the determination unit 33b generates a second tool path R2 by combining the tool paths generated up to now.
  • the determination unit 33b sends the second tool path R2 to the program generation unit 39.
  • the program generation unit 39 generates a second machining program P2 based on the second tool path R2.
  • the estimation unit 36b has the same function as the estimation unit 36a. Further, the post-movement route generation unit 37b has the same function as the post-movement route generation unit 37a. If the determination unit 33b determines that the effective cutting length ECL of the tool T is insufficient when machining is performed on the first tool path R1, the estimation unit 36b estimates an insufficient region. Then, the post-movement path generation unit 37b generates a post-movement tool path that has moved along the first tool path R1.
  • the estimated unit 36b and the post-movement path generation unit 37b further generate a tool path after the movement.
  • the tool path after the movement is repeated until machining is possible at the portion of the effective blade length ECL of the tool T.
  • the tool path after movement is added.
  • a path obtained by combining the tool path R3 after movement generated by the auxiliary path generation unit 38 and the first tool path R1 selected last by the auxiliary path generation unit 38 corresponds to an auxiliary tool path.
  • the determination unit 33b includes the first tool path R1 and one or more moved tool paths generated so far.
  • the second tool path R2 is generated by combining with R3, and the second tool path R2 is sent to the program generation unit 39.
  • the machining program change unit 30 includes a display unit 34.
  • the display unit 34 displays information related to the results determined by the determination units 33a and 33b, information about the first tool path R1, information about the tool path R3 after movement, information about the second tool path R2, and the like. be able to. The user can check the generated tool path or correct the generated tool path based on these pieces of information.
  • a shortage region which is a region where the effective blade length ECL of the tool T is short as a shortage portion, is estimated, and then the moving point included in the shortage region is moved.
  • the shortage portion is not limited to this form, and one moving point can be adopted. That is, it is determined whether or not the effective blade length ECL of the tool T is insufficient for one moving point. When the effective blade length ECL is insufficient, one moving point is moved. The discrimination and movement for each moving point can be repeated for all moving points.
  • FIG. 7 shows a flowchart of the tool path generation method of the present embodiment.
  • the machining program changing unit 30 performs control based on this method.
  • the first tool path R1 for machining the workpiece W is set in advance.
  • step S101 machining data is acquired.
  • the machining data includes workpiece initial shape data D2 and tool shape data D3.
  • the first tool path R1 is acquired.
  • the first tool path R1 can be obtained from the first machining program P1 after obtaining the first machining program P1.
  • step S103 based on the first tool path R1 and the shape of the workpiece W, it is determined whether or not the effective blade length ECL of the tool T is insufficient when machining is performed on the first tool path R1. Perform the process. That is, it is determined whether or not machining can be performed at the portion of the effective blade length ECL of the tool T. If it is determined in step S103 that machining can be performed with the effective blade length ECL of the tool T, the process proceeds to step S109. In step S109, a second tool path is generated by combining the tool paths generated so far. If it is determined in the first step S103 that machining can be performed with the first tool path, a second tool path identical to the first tool path is generated in step S109.
  • step S103 when the effective blade length ECL of the tool T is insufficient, the process proceeds to step S104.
  • step S104 an estimation process is performed for estimating an insufficient portion where the effective blade length ECL is insufficient.
  • a shortage area is estimated as a shortage part.
  • step S105 a post-movement path generation process for generating a post-movement tool path is performed in the shortage region.
  • a moved tool path is generated by moving the first tool path to a path where machining can be performed at the portion of the effective blade length ECL.
  • a tool path is generated by moving the first tool path R1 in a direction away from the workpiece W along the axial direction of the tool T.
  • step S106 in order to machine the uncut portion remaining on the workpiece W, it is selected whether to generate a tool path corresponding to the uncut portion. This selection is preset by the user. In order to cut the uncut portion, the entire tool path of the first tool path R1 can be selected again. Alternatively, it is possible to select the first tool path in the region where the uncut portion is generated in the first tool path R1. In other words, a part of the first tool path R1 can be selected. In step S106, when the entire path of the first tool path R1 is selected, the process proceeds to step S107.
  • step S107 the first tool path R1 is set as the tool path for cutting the uncut portion, and the process returns to step S103. If the tool path corresponding to the uncut portion is selected in step S106, the process proceeds to step S108. In step S108, a part of the first tool path R1 corresponding to the uncut portion is generated. Thereafter, the process proceeds to step S103.
  • step S103 it is determined whether or not machining is possible at the portion of the effective blade length ECL of the tool T based on the whole or a part of the first tool path.
  • the process proceeds to step S104 again.
  • the determination step, the insufficient portion estimation step, and the post-movement route generation step are repeated.
  • the determination process, the estimation process, and the post-movement path generation process are repeated until the workpiece can be processed at the portion of the effective blade length ECL of the tool T when the workpiece is processed on the first tool path R1.
  • the moved tool path is added.
  • An auxiliary tool path including such an added tool path after movement and a first tool path R1 that finally performs machining is generated. Note that the auxiliary tool path may be only the first tool path R1 without adding the moved tool path.
  • step S103 when machining becomes possible at the effective blade length ECL portion of the tool T, the process proceeds to step S109.
  • step 109 a second tool path R2 including the moved tool path generated up to now and the first tool path R1 is generated.
  • FIG. 8 shows a schematic perspective view of a workpiece having a target shape.
  • FIG. 9 shows a perspective view of a workpiece W having an initial shape.
  • a part of the workpiece W having an initial shape is cut into the target shape TS.
  • This processing includes a step of forming the recess 61 in the workpiece W.
  • FIG. 10 shows an enlarged schematic cross-sectional view of a portion where the concave portion of the workpiece is formed.
  • FIG. 11 shows a schematic perspective view of the workpiece and the first tool path.
  • FIG. 12 shows a schematic perspective view of the workpiece and the tool path after movement.
  • the workpiece W shown in FIGS. 11 and 12 is processed to a target shape.
  • the first tool path R ⁇ b> 1 is a path in which the circumferential movement along the target shape of the workpiece W is repeated a plurality of times.
  • the effective blade length ECL of the tool T is insufficient in the recessed portion 61. Therefore, as shown in FIG. 12, in the tool path R3 after movement, a path in which the tool T is moved in the axial direction is set in the region where the recess 61 is formed.
  • an uncut portion is generated in a portion corresponding to the concave portion 61 of the workpiece W.
  • the entire path of the first tool path R1 can be set as shown in FIG.
  • a tool path is also set in a portion that has already been cut to the target shape. Therefore, it is possible to generate a tool path excluding the portion cut to the target shape.
  • FIG. 13 shows a schematic perspective view of the tool path corresponding to the workpiece and the uncut part.
  • the workpiece W shown in FIG. 13 is processed to the target shape.
  • the tool path R4 corresponding to the uncut portion is generated.
  • the tool path R4 corresponds to a part of the first tool path R1 obtained by extracting the tool path in the region of the uncut portion from the first tool path R1.
  • the machining time of the uncut portion can be shortened.
  • the tool path generation method and the tool path generation apparatus generate a tool path in consideration of the effective blade length of the tool, and therefore, when a portion to be cut is long and machining cannot be performed once. However, it is possible to process without removing the excess part of the workpiece in advance. Alternatively, operations such as generation of a tool path for removing excess portions, confirmation of the generated tool path, and re-generation of the tool path can be avoided, and the tool path can be generated in a short time. Moreover, the generation of the tool path can be automated, and the tool path can be easily generated.
  • the tool path generation method when generating an auxiliary tool path for processing the uncut portion, if the first tool path cannot be processed, after the movement moved in the axial direction of the tool The generation of the tool path is repeated. In this way, the tool path generation method can be simplified by repeating the generation of the tool path by the same method.
  • the auxiliary tool path is generated by selecting the first tool path if machining can be performed using the first tool path. As described above, the tool path is generated based on the first tool path.
  • the present invention is not limited to this mode, and an arbitrary path that can remove the uncut portion can be set as an auxiliary tool path.
  • the upper limit of the cutting depth may be set in advance, the cutting depth from the surface of the workpiece may be set, and the auxiliary tool path may be generated.
  • the tool path after movement is generated by moving the first tool path in a direction away from the axial direction of the tool.
  • this method it is possible to prevent the tool from interfering with a workpiece or a component of the machine tool.
  • the tool holder may contact a part of the workpiece.
  • the movement of the tool path is not limited to the above form, and the inclination angle of the tool with respect to the workpiece may be changed in addition to the movement of the movement point.
  • the tool path after movement may include an undesirable path.
  • the tool path after movement may include a path in which the direction of travel of the tool changes greatly, or may include a path that bends.
  • the tool path after movement is corrected in such a case, and the corrected tool path is generated.
  • FIG. 14 shows a schematic diagram of the tool path after movement in which the traveling direction of the tool changes greatly.
  • Each tool path is described by a moving point and an arrow.
  • the first tool path includes movement points MP1a to MP6a.
  • the effective tool length of the tool is insufficient with respect to the first tool path, and the tool path after movement is set. As indicated by the arrows 82, the respective movement points MP1a to MP6a are moved to the movement points MP1b to MP6b by the movement of the tool T in the axial direction.
  • the moving point MP3a of the first tool path has moved to the moving point MP3b.
  • the moving point MP4a of the first tool path has moved to the moving point MP4b.
  • the inclination angle of the tool with respect to the workpiece is greatly changed in the path from the moving point MP3a to the moving point MP4a.
  • the direction of travel of the tool relative to the workpiece when moving from the moving point MP3a to the moving point MP4a is indicated by an arrow 86.
  • the advancing direction of the tool with respect to the workpiece when moving from the moving point MP3b to the moving point MP4b is indicated by an arrow 87.
  • FIG. 15 is a schematic diagram for explaining the tool traveling direction in the first tool path and the tool traveling direction in the tool path after movement.
  • the arrows of the traveling directions relating to the movement points MP3a, MP4a, MP3b, and MP4b in FIG. 14 are extracted.
  • the direction of travel of the tool in the first tool path is indicated by an arrow 86.
  • the advancing direction of the tool in the tool path after movement is indicated by an arrow 87. It can be seen that the direction of travel of the tool indicated by arrow 86 and the direction of travel of the tool indicated by arrow 87 are substantially opposite. That is, the traveling direction of the tool is reversed.
  • the moved tool path is corrected.
  • the determination angle is set to 90 °.
  • the traveling direction of the tool changes by 90 ° or more. For this reason, it can be determined that the route indicated by the arrow 87 is a specific route.
  • FIG. 16 is a schematic diagram for explaining the correction of the tool path after movement.
  • the movement points corresponding to the specific route include a movement point MP3b that is the start point of the arrow 87 and a movement point MP4b that is the end point of the arrow 87. For this reason, the moving point MP3b and the moving point MP4b are excluded. Then, as indicated by an arrow 88, a path that short-circuits the movement point MP2b and the movement point MP5b is generated. A path including the movement points MP1b, MP2b, MP5b, and MP6b corresponds to the corrected tool path.
  • the moving point MP3b and the moving point MP4b are not excluded.
  • FIG. 17 shows a schematic diagram of the tool path after movement in which the tool path is bent.
  • movement points MP11b to MP14b are shown.
  • the tool path after movement is indicated by arrows 91, 92 and 93.
  • the tool path after movement proceeds in the direction indicated by the arrow 91 and then proceeds in the direction indicated by the arrow 92.
  • the tool path after the movement is bent. That is, the tool path is bent.
  • the tool path is also bent when it travels in the direction shown by arrow 92 and then travels in the direction shown by arrow 93.
  • the tool path after movement includes a bending path. It is determined whether or not the tool path after movement includes a corner portion.
  • correction is performed to change the bending path to a curved path.
  • the bending tool path indicated by arrows 91, 92, 93 is corrected to a curved tool path indicated by arrows 99, 93.
  • the path bent toward the outside of the workpiece is changed to a concave curved path.
  • the path bent toward the inside of the workpiece is changed to a curved path. That is, the path is changed so that the corrected tool path is positioned outside the workpiece with respect to the moved tool path.
  • the path indicated by the arrow 99 corresponds to the corrected tool path.
  • FIG. 18 shows a graph of the movement amount of the tool in the axial direction with respect to the position of the movement point.
  • the tool path after the movement is generated by moving the first tool path.
  • the first tool path includes movement points MP10a to MP14a.
  • the tool path after movement includes movement points MP10b to MP14b.
  • the tool path indicated by the arrow 92 is bent with respect to the tool path indicated by the arrow 91.
  • the tool path indicated by the arrow 93 is bent with respect to the tool path indicated by the arrow 92.
  • the moving point MP12b and the moving point MP13b are bending points. For this purpose, the tool path from the movement point MP11b to the movement point MP13b is corrected.
  • FIG. 19 shows a corrected tool path graph obtained by correcting the moved tool path.
  • the tool path indicated by the arrow 92 where the moving point MP13b is a bending point is corrected to a tool path of a convex arc.
  • an arcuate tool path is generated so as to pass through the moving point MP13b.
  • the tool path indicated by the arrow 91 whose moving point MP12b is the bending point is corrected to a concave arc tool path.
  • a movement point MP15b and a movement point MP16b are newly generated.
  • a tool path from the movement point MP15b to the movement point MP16b is generated.
  • the arc diameter when generating the corrected tool path can be set to an arbitrary value by the user.
  • the arc diameter indicated by the arrow 94 and the arc diameter indicated by the arrow 95 can be set to be the same as the tool diameter.
  • the movement amount in the axial direction of the corrected tool is stored for each corrected movement point.
  • Each movement point is moved in the axial direction of the tool T by the stored movement amount to generate a corrected tool path movement point.
  • the positions of the movement point MP15b and the movement point MP16b newly generated in the correction can be set by interpolating the movement point MP11b and the movement point MP13b, for example.
  • a corrected tool path can also be generated in other correction methods.
  • the bending path can be changed to a curved path. It is possible to avoid a sudden change in the advancing direction of the tool with respect to the workpiece, and to suppress a burden on the machine tool. Moreover, the fall of processing precision can be suppressed. Note that the tool path is not corrected when a change in the moving direction of the tool becomes large by correcting the bending path into a curved path.
  • FIG. 20 shows a flowchart of a method for correcting the tool path after movement in the present embodiment.
  • This method can be implemented, for example, as step S105 for generating a tool path after movement shown in FIG.
  • step S201 a tool path after movement that has moved in the axial direction of the tool is generated.
  • step S202 it is determined whether or not there is a specific path in which the traveling direction of the tool in the moved tool path changes by 90 ° or more. If there is no specific route in step S202, the process proceeds to step S204. In step S202, when a specific route exists, the process proceeds to step S203. In step S203, the moving point corresponding to the specific route is deleted.
  • step S204 it is determined whether or not there is a bent portion in the moved tool path. In step S204, if there is no bent portion in the tool path, the correction of the moved tool path is terminated. If there is a bent part in the tool path in step S204, the process proceeds to step S205.
  • step S205 the bending path is corrected to a curved path.
  • the process proceeds to step S106 in the flowchart of FIG.
  • FIG. 21 shows a block diagram of the second machining system in the present embodiment.
  • the machine tool 40 has a function of changing the tool path of the CAM device 20 described above.
  • the numerical control device 50 of the machine tool 40 includes a machining program change unit 30.
  • the machining program change unit 30 functions as a tool path generation device.
  • the tool path included in the first machining program output by the CAM device 20 corresponds to the first tool path.
  • the numerical controller 50 includes an input unit 31, a determination unit 33a, and a tool path changing unit 35.
  • the input unit 31 reads the first machining program P1 and acquires the first tool path. If the effective tool length is insufficient in the first tool path, a second tool path including the tool path after movement is generated and the second machining program P2 is output.
  • the display unit 34 in the second machining system is disposed on the machine tool 40, and the determination result of the determination unit 33a is displayed on the display unit 34.
  • the numerical control device 50 includes a reading interpretation unit 51, an interpolation calculation unit 52, and a servo motor control unit 53.
  • the reading interpretation unit 51 reads the second machining program P2 and sends a movement command to the interpolation calculation unit 52.
  • the interpolation calculation unit 52 calculates a position command for each interpolation cycle, and sends the position command to the servo motor control unit 53.
  • the servo motor control unit 53 calculates the moving amount of each moving axis based on the position command, and drives each axis servo motor S.
  • machining can be performed without removing the excess part of the workpiece in advance. Further, generation of a tool path for removing the surplus portion, confirmation of the generated tool path, and re-generation of the tool path can be avoided, and the tool path can be generated in a short time. Moreover, a tool path can be easily generated.
  • a machine tool having five moving axes is illustrated, but the present invention is not limited to this form, and any machine tool in which the tool moves relative to the workpiece can be used.
  • the present invention can be applied to a three-axis machine tool having three linear motion axes.

Abstract

 加工プログラムを生成する工具経路生成装置であって、第1の工具経路(R1)にて加工すると工具の有効刃長(ECL)が不足するか否かを判定する判定部(33)と、工具の有効刃長(ECL)が不足する不足部分を推定する推定部(36)とを備える。工具経路生成装置は、第1の工具経路(R1)に対して不足部分の経路を有効刃長(ECL)の部分にて加工が行える経路まで移動した移動後の工具経路(R3)を生成する移動後経路生成部(37)と、ワークに残存する削り残し部分を加工するための補助の工具経路を生成する補助経路生成部(38)とを備える。

Description

工具経路生成方法および工具経路生成装置
 本発明は、工具経路生成方法および工具経路生成装置に関する。
 従来の技術では、ワークに対して工具を相対移動させて切削等の加工を行う工作機械が知られている。また、このような工作機械において、ワークに対する工具の経路を所定の軸の座標等により指定し、ワークに対して工具を移動させながら加工を行う数値制御式の工作機械が知られている。ワークおよび工具のうち少なくとも一方を移動することにより、ワークに対する工具の相対位置を変更しながら切削等の加工を行うことができる。
 工作機械は、所定の形状のワークを加工することにより目標形状のワークを形成する。工作機械を駆動するための加工プログラムは、使用者が作成する他に、設計したワークの目標形状に基づいてCAM(Computer Aided Manufacturing)装置にて生成することができる。ワークの目標形状の作成は、たとえば、CAD(Computer Aided Design)装置にて実施することができる。CAD装置にて生成したワークの目標形状のデータをCAM装置に供給する。そして、CAM装置は、ワークの目標形状に基づいて工作機械の加工プログラムを生成することができる。このような加工システムでは、所望の形状のワークを加工するための多くの工程を自動化することができる。
 特開2012-164269号公報においては、素材の一部を切削により削除する加工パスを生成する方法であって、製品設計の3次元CADモデルから、割り落とすことが可能な形状を自動判断し、その割り落とす加工方法の加工パスを自動生成する加工パスの生成方法が開示されている。
特開2012-164269号公報
 CAM装置では、ワークの初期形状、ワークの目標形状、および工具情報等に基づいて、ワークに対する工具の相対位置を含む工具経路を生成することができる。たとえば、素材の形状、ワークの目標形状、および工具径等に基づいて、工具経路を生成することができる。ワークの切削加工を行う場合には、CAM装置は、ワークの目標形状に沿った工具経路を生成することができる。そして、生成した工具経路から加工プログラムを生成することができる。
 ところで、工具は、刃部とシャンク部(工具の柄部)等の刃部以外の部分とを含む。工具は、刃部にて加工を行なうことができるが、シャンク部等においては加工を行うことができない。すなわち、工具には加工を行うことができる範囲が存在する。工具の刃部の有効刃長を超える大きさの部分を加工する場合には、1度の加工で目標形状まで加工することは不可能である。このために、ワークの余剰部分を事前に除去する必要がある。例えば、放電加工機などを用いて、ワークを目標形状に近い形状まで事前に加工しておく必要がある。
 または、所定の工具を用いて切削を行うことによりワークの余剰部分を事前に除去することができる。使用者は、ワークを除去する余剰部分を設定し、余剰部分を除去する為の工具経路を作成する必要がある。余剰部分を除去する工具経路を算出するために、CAM装置のパラメータ設定を調整しながら工具経路の算出する作業を繰り返す必要がある。また、余剰部分を除去する工具経路を生成した後には、シミュレーション等を行うことにより、工具の有効刃長の部分にて目標形状まで加工が行うことができるか否かを確認する必要がある。工具経路を確認した結果、問題が生じた場合には、工具経路を生成し直さなければならないという問題がある。
 このように、工具の有効刃長を超える大きさの切削を行う場合には、手間がかかったり、時間がかかったりするという問題がある。また、使用者の見落としにより工具の有効刃長の不足が生じて工作機械による加工中に加工の中断が生じる虞がある。
 本発明の工具経路生成方法は、工作機械にてワークを加工する工具経路を生成する工具経路生成方法であって、ワークを加工するための第1の工具経路が予め設定されている。工具経路生成方法は、第1の工具経路とワークの形状とに基づいて、第1の工具経路にて加工すると工具の有効刃長が不足するか否かを判定する判定工程と、判定工程において工具の有効刃長が不足する場合に、有効刃長が不足する不足部分を推定する推定工程とを含む。工具経路生成方法は、第1の工具経路に対して不足部分の経路を有効刃長の部分にて加工が行える経路まで移動した移動後の工具経路を生成する移動後経路生成工程と、移動後の工具経路にて加工を行った後のワークに残存する削り残し部分を加工するための補助の工具経路を生成する補助経路生成工程とを含む。
 上記発明においては、移動後経路生成工程は、ワークに対して工具が工具の軸方向に相対的に離れる向きに第1の工具経路を移動した移動後の工具経路を生成する工程を含むことができる。
 上記発明においては、補助経路生成工程は、判定工程、推定工程、および移動後経路生成工程を含み、判定工程において工具の有効刃長の部分にて加工が可能な場合には、第1の工具経路を選定する工程を含み、補助経路生成工程は、判定工程において第1の工具経路にてワークを加工したときに工具の有効刃長の部分にて加工が可能になるまで、判定工程、推定工程、および移動後経路生成工程を繰り返して移動後の工具経路を生成する工程と、移動後の工具経路および第1の工具経路を含む補助の工具経路を生成する工程とを含むことができる。
 上記発明においては、第1の工具経路および移動後の工具経路は、複数の移動点を移動する経路により構成されており、移動後経路生成工程は、第1の工具経路における工具の進行方向に対して、移動後の工具経路における工具の進行方向が判定角度以上の角度で変化する特定の経路が存在するか否かを判定する工程と、特定の経路が存在する場合には、移動後の工具経路から特定の経路に対応する移動点を除外する工程とを含むことができる。
 上記発明においては、移動後経路生成工程は、移動後の工具経路に屈曲する経路が含まれるか否かを判定する工程と、屈曲する経路が含まれる場合に、屈曲する経路を曲線状の経路に変更する工程とを含むことができる。
 本発明の工具経路生成装置は、ワークを加工する工具経路を含む加工プログラムを生成する工具経路生成装置であって、第1の工具経路とワークの形状とに基づいて、第1の工具経路にて加工すると工具の有効刃長が不足するか否かを判定する判定部と、工具の有効刃長が不足する場合に、工具の有効刃長が不足する不足部分を推定する推定部とを備える。工具経路生成装置は、第1の工具経路に対して不足部分の経路を有効刃長の部分にて加工が行える経路まで移動した移動後の工具経路を生成する移動後経路生成部と、移動後の工具経路にて加工を行った後のワークに残存する削り残し部分を加工するための補助の工具経路を生成する補助経路生成部とを備える。工具経路生成装置は、移動後の工具経路および補助の工具経路に基づく第2の工具経路が設定された加工プログラムを生成するプログラム生成部を備える。
 上記発明においては、移動後経路生成部は、第1の工具経路をワークに対して工具が工具の軸方向に相対的に離れる向きに移動させた工具経路を生成することができる。
 上記発明においては、補助経路生成部は、判定部、推定部、および移動後経路生成部を含み、判定部は、工具の有効刃長の部分にて加工が可能な場合には、第1の工具経路を選定するように形成されており、補助経路生成部は、判定部において第1の工具経路にてワークを加工したときに工具の有効刃長の部分にて加工が可能になるまで移動後の工具経路を繰り返して生成し、移動後の工具経路および第1の工具経路を含む補助の工具経路を生成することができる。
 本発明によれば、工具の有効刃長よりも大きな部分を加工するための工具経路を生成する工具経路生成方法および工具経路生成装置を提供することができる。
実施の形態における第1の加工システムのブロック図である。 工作機械の概略側面図である。 ワークを加工しているときのワークおよび工具の概略平面図である。 ワークを加工しているときのワークおよび工具の第1の概略断面図である。 ワークを加工しているときのワークおよび工具の第2の概略断面図である。 実施の形態における加工プログラム変更部のブロック図である。 実施の形態における工具経路の生成方法のフローチャートである。 目標形状のワークの斜視図である。 初期形状のワークの斜視図である。 第1の工具経路および移動後の工具経路を示すワークの断面図である。 目標形状のワークおよび第1の工具経路を示す斜視図である。 目標形状のワークおよび移動後の工具経路を示す斜視図である。 目標形状のワークおよび削り残し部分に対応する工具経路を示す斜視図である。 第1の工具経路と移動後の工具経路とを説明する図である。 第1の工具経路における工具の進行方向と、移動後の工具経路における工具の進行方向とを説明する図である。 移動後の工具経路と補正後の工具経路とを説明する図である。 移動後の工具経路と他の補正後の工具経路とを説明する図である。 移動点の位置に対する工具の軸方向の移動量を示すグラフである。 移動点の位置に対する工具の軸方向の補正後の移動量を示すグラフである。 移動後の工具経路を補正して補正後の工具経路を生成する方法のフローチャートである。 実施の形態における第2の加工システムのブロック図である。
 図1から図21を参照して、実施の形態における工具経路生成方法、工具経路生成装置及び工作機械の制御装置について説明する。本発明における工具経路とは、工具がワークに対して相対的に移動しながらワークを加工する場合のワークに対する工具の相対的な経路を示している。
 図1は、本実施の形態における第1の加工システムのブロック図である。本実施の形態の加工システムは、CAD装置10、CAM装置20および工作機械40を備える。CAD装置10は、使用者の操作に従ってワークの目標形状データD1を生成する。CAD装置10により生成された目標形状データD1は、CAM装置20に入力される。
 CAM装置20は、工作機械40にてワークを加工するときの工具経路が設定された加工プログラムを生成する。第1の加工システムでは、CAM装置20が工具経路生成装置に相当する。CAM装置20は、ワークを目標形状に加工するための第2の加工プログラムP2を出力する。CAM装置20は、形状データ読取部21および経路設定部22を備える。形状データ読取部21は、CAD装置10にて生成された目標形状データD1を読み取る。経路設定部22は、目標形状データD1や工具の形状データ等に基づいて工具経路を生成する。第1の加工システムでは、経路設定部22により生成される初期の工具経路を第1の工具経路R1と称する。経路設定部22は、第1の工具経路R1が設定された第1の加工プログラムP1を生成する。
 CAM装置20は、加工プログラム変更部30を含む。加工プログラム変更部30は、第1の加工プログラムP1を読み込んで第1の工具経路R1を取得する。加工プログラム変更部30は、第1の工具経路R1を修正して第2の工具経路R2を生成する。そして、加工プログラム変更部30は、第2の工具経路R2が設定された第2の加工プログラムP2を生成する。
 CAM装置20により生成された第2の加工プログラムP2は、工作機械40に入力される。工作機械40は、数値制御装置50および各軸サーボモータSを含む。数値制御装置50は、第2の加工プログラムP2を読み取って解釈する。数値制御装置50は、第2の加工プログラムP2に基づいて各軸サーボモータSに動作指令を送出する。そして、動作指令に従って各軸サーボモータSが駆動することによってワークに対して工具が相対的に移動する。
 図2に、本実施の形態における工作機械40の概略側面図を示す。工作機械40は、ワークWを回転テーブル46とともに旋回させるテーブル旋回型である。工作機械40には、互いに直交するX軸、Y軸およびZ軸が設定されている。Z軸は、主軸43がワークWに向かって移動する方向に延びる直動軸である。Y軸は、キャリッジ47が移動する方向に平行に延びる直動軸である。また、Z軸およびY軸に垂直な直動軸がX軸に設定されている。更に、工作機械40は、Y軸に平行に延びる軸心周りの回転軸としてB軸を有している。工作機械40は、Z軸に平行に延びる軸心周りの回転軸としてC軸を有している。
 工作機械40は、基台であるベッド41と、ベッド41の上面に立設されるコラム42を備える。工作機械40は、主軸43を回転可能に支持する主軸頭44と、主軸頭44をコラム42の前方に支持するサドル45とを備える。主軸頭44は、主軸43の先端が回転テーブル46に対向するように主軸43を下向きに支持している。主軸43の先端には工具Tが装着される。
 工作機械40は、ワークWが配置される回転テーブル46と、回転テーブル46を支持するU字形の揺動支持部材48とを備える。工作機械40は、揺動支持部材48を支持するU字形のキャリッジ47を備える。キャリッジ47は、Y軸方向に離間された一対の支柱47a,47bにおいて揺動支持部材48を支持している。揺動支持部材48は、Y軸方向の両側の端部がキャリッジ47に支持されている。揺動支持部材48は、B軸の軸線の周りに揺動可能に支持されている。
 工作機械40は、それぞれの移動軸に基づいてワークに対して工具を相対的に移動させる移動装置を備える。移動装置は、それぞれの移動軸に沿って駆動する各軸サーボモータSを含む。移動装置は、コラム42に対してサドル45をX軸方向に移動させる。移動装置は、ベッド41に対してキャリッジ47をY軸方向に移動させる。コラム42には、キャリッジ47が部分的に進入可能なように空洞部42cが形成されている。また、移動装置は、サドル45に対して主軸頭44をZ軸方向に移動させる。移動装置は、回転テーブル46の移動装置を含み、回転テーブル46は、C軸の軸線の周りに回転する。更に、移動装置は、キャリッジ47に対して、B軸の軸線の周りに揺動支持部材48を回動させる。
 このように、本実施の形態の工作機械40は、互いに直交する3つの直動軸と、B軸の軸線及びC軸の軸線の周りに回転する回転軸とを有する。本実施の形態の工作機械40は、5軸制御の工作機械である。
 図3に、ワークを加工するときのワークと工具との概略平面図を示す。本実施の形態では、工具Tとしてエンドミルを用いる。工具Tは、切削を行うことができる刃部CPを有する。工具Tは、刃部CPの側面にて加工を行うことができる。
 この加工例では、ワークWが目標形状TSになるように切削加工を行う。目標形状TSは、設計時に定められている。また、目標形状TSに沿った工具経路が設定されている。この工具経路にて工具TとワークWとを相対的に移動することにより、ワークWを切削することができる。矢印80に示すように、ワークWの側面に沿って移動する場合には、切削する部分が小さいために、刃部CPにて加工を行うことができる。ところが、ワークWの角部において、ワークWの側面に対して傾斜する方向に加工する場合がある。ワークWの角部において、矢印81に示すように目標形状TSに沿って工具Tを移動すると、刃部CPの長さが切削する部分よりも短くなってしまう。
 図4に、工具の刃部の有効刃長が不足する状態を説明するワークおよび工具の概略断面図を示す。工具Tは、加工を行うことができる有効刃長ECLを有する。有効刃長ECLは、刃部CPが形成されている領域において、加工が行える工具先端からの工具の軸方向の長さに相当する。
 図4には、目標形状TSに沿った第1の工具経路R1が示されている。第1の工具経路R1は、ブロック点と称される移動点MP31a,MP32a,MP33a,MP34aを含む。工具Tは、例えば、工具先端の中心が第1の工具経路R1に沿って進むように制御される。矢印81に示す様に、工具TがワークWに対して移動しながら加工している。ここで、加工が進むと第1の工具経路R1がワークWの表面から離れている。この場合に、切削する深さが有効刃長ECLを超えてしまい、加工が不可能になる。たとえば、移動点MP33a,MP34aでは加工が不可能になる。
 本実施の形態のCAM装置20は、第1の工具経路R1にて加工を行うと、工具Tの有効刃長ECLの長さが切削する部分に対して不足するか否かを判別する。CAM装置20は、工具Tの有効刃長ECLが不足する場合には、有効刃長ECLの部分にて切削が行えるように第1の工具経路R1を移動した移動後の工具経路を生成する。
 図5に、第1の工具経路および移動後の工具経路を示すワークと工具との概略断面図を示す。CAM装置20は、工具Tの有効刃長ECLが不足する場合に、第1の工具経路R1を、工具Tの軸方向に移動させた移動後の工具経路R3を生成する。矢印82に示すように、工具Tの回転軸の方向のうちワークWから離れる方向に工具Tの移動点を変更する。工具Tの有効刃長ECLの部分にて加工が行なえるように移動点MP33aを移動点MP33bまで移動する。また、移動点MP34aを移動点MP34bまで移動する。移動点MP33b,MP34bを含む移動後の工具経路R3を生成する。
 この制御を行うことにより、刃部CPの有効刃長ECLの範囲内で加工を行うことができる。ところが、ワークWを目標形状TSまで切削していないために、移動後の工具経路R3にて加工しても、ワークWに削り残し部分が残存する。CAM装置20は、次に、削り残し部分を切削するための補助の工具経路を生成する。
 本実施の形態においては、補助の工具経路として、第1の工具経路R1を検討する。第1の工具経路R1にて加工したときに、工具Tの有効刃長ECLの部分にて加工が行える場合には、第1の工具経路R1を選定する。第1の工具経路R1にて加工したときに、工具Tの有効刃長ECLが不足する場合には、再度、工具Tの軸方向においてワークWから離れる向きに第1の工具経路R1を移動した移動後の工具経路を追加する。このように、最終的に第1の工具経路R1にて加工が行えるまで移動後の工具経路を生成する。そして、1つ以上の移動後の工具経路R3と第1の工具経路R1とを組み合わせて、第2の工具経路R2を生成する。第2の工具経路R2は、工具TにてワークWを実際に加工する経路になる。
 図6に、本実施の形態におけるCAM装置の加工プログラム変更部のブロック図を示す。図1および図6を参照して、加工プログラム変更部30は、入力部31を含む。入力部31には、ワークWの初期形状データD2が入力される。ワークWの初期形状データD2は、たとえば、ワークWを加工する前の素材の形状データである。また、入力部31には、工具の形状データD3が入力される。工具の形状データD3には、工具Tの種類、工具径、刃部CPの有効刃長ECLが含まれる。また、入力部31には、第1の工具経路R1の情報を含む第1の加工プログラムP1が入力される。第1の工具経路R1は、ワークWの目標形状TSに沿った工具経路である。
 加工プログラム変更部30は、判定部33aを含む。判定部33aは、第1の工具経路R1、工具Tの形状、およびワークの初期形状に基づいて、第1の工具経路R1にて加工した場合に、工具Tの有効刃長ECLが不足するか否かを判定する。たとえば、判定部33aは、工具TがワークWに接触する長さを推定する。そして、判定部33aは、接触する長さが有効刃長ECLを超える場合には、有効刃長ECLが不足すると判別することができる。
 判定部33aにおいて、工具Tの有効刃長ECLが切削する部分よりも長い場合には、工具Tの有効刃長ECLの部分にて加工が可能であると判別することができる。この場合に、判定部33aは、第1の加工プログラムP1を第2の加工プログラムP2として出力する。すなわち、第1の加工プログラムP1を変更せずに第2の加工プログラムP2として出力する。 
 判定部33aは、工具Tの有効刃長ECLが切削する部分よりも短い場合には、工具Tの有効刃長ECLが不足すると判別することができる。判定部33aは、工具Tの有効刃長ECLが不足する場合には、第1の工具経路R1を工具経路変更部35に送出する。
 工具経路変更部35は、推定部36aを含む。推定部36aは、第1の工具経路R1において、工具Tの有効刃長ECLが不足する部分である不足部分を推定する。本実施の形態では、工具Tの有効刃長ECLが不足する領域である不足領域を不足部分として推定する。推定部36aは、それぞれの移動点において、工具Tの有効刃長ECLの部分にて加工できるか否かを判別して、不足領域を設定する。たとえば、図5を参照して、推定部36aは、移動点MP33a,MP34aを含む第1の工具経路R1の領域を不足領域に設定することができる。次に、それぞれの移動点において刃部CPの有効刃長ECLが不足する場合には、移動点を工具Tの軸方向に移動させる演算を行う。
 図6を参照して、工具経路変更部35は、移動後経路生成部37aを含む。移動後経路生成部37aは、不足領域において、有効刃長ECLの部分にて加工が行える経路まで第1の工具経路R1を移動し、移動後の工具経路R3を生成する。たとえば、図5を参照して、移動後経路生成部37aは、移動点MP33a,MP34aを工具Tの軸方向に移動して移動点MP33b,MP34bを生成する。移動後経路生成部37aは、移動点MP31a,MP32a,MP33b,MP34bを含む経路を移動後の工具経路R3に設定する。
 このように、工具経路変更部35は、全ての移動点について工具Tの有効刃長ECLが不足するか否かを判別し、有効刃長ECLが不足する場合には工具Tの軸方向に移動点を移動して、移動後の工具経路R3を生成している。工具経路変更部としては、この形態に限られず、任意の制御にて第1の工具経路を有効刃長ECLの部分にて加工が行えるまで工具経路を移動することができる。たとえば、第1の工具経路を工具の軸方向とは異なる方向に移動させても構わない。
 図5を参照して、移動後の工具経路R3にて加工を行った後には、削り残し部分がワークWに残存する。図6を参照して、工具経路変更部35は、削り残し部分を加工するための補助の工具経路を生成する補助経路生成部38を含む。補助経路生成部38は、判定部33b、推定部36b、および移動後経路生成部37bを含む。
 判定部33bは、判定部33aと同様の機能を有する。判定部33bは、現在までに生成した工具経路にて加工したワークWを第1の工具経路R1にて加工した場合に、不足領域が発生するか否かを判定する。第1の工具経路R1にて加工した場合に不足領域が発生しない場合には、判定部33bは、現在までに生成された工具経路を組み合わせて第2の工具経路R2を生成する。そして、判定部33bは、第2の工具経路R2をプログラム生成部39に送出する。プログラム生成部39は、第2の工具経路R2に基づいて第2の加工プログラムP2を生成する。
 推定部36bは、推定部36aと同様の機能を有する。また、移動後経路生成部37bは、移動後経路生成部37aと同様の機能を有する。判定部33bにおいて、第1の工具経路R1にて加工を行うと工具Tの有効刃長ECLが不足すると判別された場合には、推定部36bにて不足領域を推定する。そして、移動後経路生成部37bにて、第1の工具経路R1を移動した移動後の工具経路を生成する。
 次に、判定部33bに戻って、前回と同様に、第1の工具経路R1にて加工した場合に、工具Tの有効刃長ECLが不足するか否かを判別する。すなわち、ワークWの削り残し部分を第1の工具経路にて切削した場合に、工具Tの有効刃長ECLが不足するか否かを判別する。工具Tの有効刃長ECLが不足する場合には、推定部36bおよび移動後経路生成部37bにおいて、更に移動後の工具経路を生成する。
 このように、判定部33bにおいて、第1の工具経路R1にてワークWを加工したときに、工具Tの有効刃長ECLの部分にて加工が可能になるまで、移動後の工具経路を繰り返して生成する。すなわち、移動後の工具経路を追加する。補助経路生成部38にて生成された移動後の工具経路R3と、補助経路生成部38にて最後に選定された第1の工具経路R1とを組み合わせた経路が補助の工具経路に相当する。そして、判定部33bは、工具Tの有効刃長ECLの部分にて加工が可能になった場合には、第1の工具経路R1と現在までに生成された1つ以上の移動後の工具経路R3とを組み合わせて第2の工具経路R2を生成し、第2の工具経路R2をプログラム生成部39に送出する。
 本実施の形態の加工プログラム変更部30は、表示部34を備える。表示部34には、判定部33a,33bにおいて判定された結果に関する情報、第1の工具経路R1の情報、移動後の工具経路R3の情報、および第2の工具経路R2の情報等を表示することができる。使用者は、これらの情報に基づいて、生成された工具経路を確認したり、生成された工具経路を修正したりすることができる。
 本実施の形態では、不足部分として工具Tの有効刃長ECLが不足する領域である不足領域を推定し、この後に不足領域に含まれる移動点を移動させている。不足部分は、この形態に限られず、1つの移動点を採用することができる。すなわち、1つの移動点について工具Tの有効刃長ECLが不足するか否かを判別し、有効刃長ECLが不足する場合には、1つの移動点を移動させる。そして、この移動点ごとの判別および移動を全ての移動点について繰り返すことができる。
 図7に、本実施の形態の工具経路の生成方法のフローチャートを示す。本実施の形態においては、加工プログラム変更部30においてこの方法に基づく制御を実施している。ワークWを加工するための第1の工具経路R1は予め設定されている。
 ステップS101においては、加工データを取得する。加工データには、ワークの初期形状データD2および工具の形状データD3が含まれる。ステップS102においては、第1の工具経路R1を取得する。第1の工具経路R1は、第1の加工プログラムP1を取得した後に、この第1の加工プログラムP1から取得することができる。
 次に、ステップS103において、第1の工具経路R1とワークWの形状とに基づいて、第1の工具経路R1にて加工すると工具Tの有効刃長ECLが不足するか否かを判定する判定工程を行う。すなわち、工具Tの有効刃長ECLの部分にて加工を行えるか否かを判別する。ステップS103において、工具Tの有効刃長ECLの部分にて加工が行える場合には、ステップS109に移行する。ステップS109においては、現在までに生成された工具経路を組み合わせた第2の工具経路を生成する。1回目のステップS103において第1の工具経路にて加工が行えると判別された場合には、ステップS109において、第1の工具経路と同一の第2の工具経路を生成する。
 ステップS103において、工具Tの有効刃長ECLが不足する場合には、ステップS104に移行する。ステップS104においては、有効刃長ECLが不足する不足部分を推定する推定工程を行う。本実施の形態では、不足部分として不足領域を推定する。次に、ステップS105においては、不足領域において、移動後の工具経路を生成する移動後経路生成工程を行う。有効刃長ECLの部分にて加工を行える経路まで、第1の工具経路を移動した移動後の工具経路を生成する。本実施の形態においては、前述のように、工具Tの軸方向に沿ってワークWから離れる向きに第1の工具経路R1を移動した工具経路を生成する。
 次に、ワークWに残存する削り残し部分を加工するための補助の工具経路を生成する補助経路生成工程を行う。ステップS106においては、ワークWに残存する削り残し部分を加工するために、削り残し部分に対応する工具経路を生成するか否かを選択する。この選択は、使用者によって予め設定されている。削り残し部分を切削するためには、第1の工具経路R1の全体の工具経路をもう一度選定することができる。または、第1の工具経路R1のうち、削り残し部分が生じている領域の第1の工具経路を選定することができる。すなわち、第1の工具経路R1の一部分の経路を選択することができる。ステップS106において、第1の工具経路R1の全体の経路が選択されている場合には、ステップS107に移行する。
 ステップS107においては、削り残し部分を切削するための工具経路として第1の工具経路R1を設定し、ステップS103に戻る。ステップS106において、削り残し部分に対応する工具経路が選択されている場合には、ステップS108に移行する。ステップS108においては、削り残し部分に対応する第1の工具経路R1の一部分の工具経路を生成する。この後に、ステップS103に移行する。
 ステップS103においては、第1の工具経路の全体または一部の工具経路に基づいて、工具Tの有効刃長ECLの部分にて加工が可能か否かを判別する。ここで、工具Tの有効刃長ECLの部分にて加工が不可能である場合には、再びステップS104に移行する。そして、判定工程、不足部分の推定工程、移動後経路生成工程を繰り返す。このように、第1の工具経路R1にてワークを加工した時に工具Tの有効刃長ECLの部分にて加工が可能になるまで、判定工程、推定工程および移動後経路生成工程を繰り返している。移動後経路生成工程を繰り返すたびに移動後の工具経路が追加される。このような追加された移動後の工具経路と、最終的に加工を行う第1の工具経路R1とを含む補助の工具経路を生成する。なお、補助の工具経路は、移動後の工具経路が追加されずに第1の工具経路R1のみになる場合もある。
 ステップS103において、工具Tの有効刃長ECLの部分にて加工が可能になった場合には、ステップS109に移行する。ステップ109においては、現在までに生成した移動後の工具経路と第1の工具経路R1とを含む第2の工具経路R2を生成する。
 次に、削り残し部分を加工するための工具経路の生成方法について、他のワークを加工する実施例を取り上げて説明する。
 図8に、目標形状を有するワークの概略斜視図を示す。図9に、初期形状を有するワークWの斜視図を示す。図8および図9を参照して、この加工例では、初期形状のワークWの一部分を切削して目標形状TSにする。この加工では、ワークWに凹部61を形成する工程を含む。
 図10に、ワークの凹部を形成する部分の拡大概略断面図を示す。ワークWに凹部61を形成するためには、第1の工具経路R1に示すように凹部61の形状に沿った工具経路にて加工する必要がある。ところが、第1の工具経路R1上に工具Tの工具中心TCを配置すると、工具Tの有効刃長ECLが不足する。工具Tの有効刃長ECLが不足する不足領域では、第1の工具経路R1が工具Tの軸方向に移動されて移動後の工具経路R3が生成される。
 図11に、ワークおよび第1の工具経路の概略斜視図を示す。図12に、ワークおよび移動後の工具経路の概略斜視図を示す。図11および図12に示すワークWは、目標形状まで加工している。図11に示す様に、第1の工具経路R1は、ワークWの目標形状に沿った周方向の移動を複数回繰り返す経路が生成されている。ところが、前述の様に、凹部61の部分では工具Tの有効刃長ECLが不足する。そこで、図12に示す様に、移動後の工具経路R3では、凹部61を形成する領域において工具Tを軸方向に移動した経路が設定されている。
 移動後の工具経路R3にて切削を行うことにより、ワークWの凹部61に対応する部分に削り残し部が発生する。削り残し部分を切削するためには、図11に示す様に、第1の工具経路R1の全体の経路を設定することができる。ところが、既に目標形状まで切削した部分にも工具経路が設定されている。そこで、目標形状まで切削した部分を除外した工具経路を生成することができる。
 図13に、ワークおよび削り残し部分に対応する工具経路の概略斜視図を示す。図13に示すワークWは、目標形状まで加工している。図13に示す例では、削り残し部分に対応した工具経路R4を生成している。工具経路R4は、第1の工具経路R1から削り残し部分の領域の工具経路を抜粋した第1の工具経路R1の一部分の経路に相当する。このように、削り残し部分に対応する工具経路を生成することにより、削り残し部分の加工時間を短くすることができる。
 本実施の形態の工具経路生成方法および工具経路生成装置は、工具の有効刃長を考慮して工具経路を生成するために、切削する部分が長くて1度で加工を行うことができない場合にも、ワークの余剰部分を事前に除去することなく加工することができる。または、余剰部分を除去するための工具経路の生成、生成した工具経路の確認および工具経路の生成し直し等の作業を回避することができ、短時間に工具経路を生成することができる。また、工具経路の生成を自動化することができ、容易に工具経路を生成することができる。
 本実施の形態においては、削り残し部分を加工するための補助の工具経路の生成する場合には、第1の工具経路にて加工が不可能であれば、工具の軸方向に移動した移動後の工具経路の生成を繰り返している。このように、同様の方法による工具経路の生成を繰り返すことにより、工具経路の生成方法を簡略化することができる。
 本実施の形態においては、補助の工具経路の生成は、第1の工具経路にて加工が可能であれば第1の工具経路を選定している。このように、第1の工具経路に基づいて工具経路を生成しているが、この形態に限られず、補助の工具経路として、削り残し部分を除去できる任意の経路を設定することができる。例えば、予め切削する深さの上限を設定しておいて、ワークの表面からの切削深さを設定し、補助の工具経路を生成しても構わない。
 本実施の形態の移動後の工具経路の生成においては、第1の工具経路を工具の軸方向に離れる向きに移動した移動後の工具経路を生成している。この方法を採用することにより、工具がワークや工作機械の構成部品と干渉することを抑制できる。たとえば、工具の軸方向とは異なる方向に工具経路を移動すると、工具ホルダがワークの一部分に接触する場合がある。工具の軸方向にワークに対して工具を移動させることにより、このような工作機械の一部とワークとの干渉を抑制することができる。なお、工具経路の移動においては、上記の形態に限られず、移動点の移動の他にワークに対する工具の傾斜角度を変更しても構わない。
 ところで、本実施の形態の工具経路生成方法および工具経路生成装置では、予め定められた方法に従って工具経路を変更している。このために、移動後の工具経路が望ましくない経路を含む場合がある。例えば、移動後の工具経路に工具の進行方向が大きく変化する経路が含まれていたり、屈曲する経路が含まれていたりする場合がある。本実施の形態では、このような場合に移動後の工具経路を補正して、補正後の工具経路を生成する。
 図14に、工具の進行方向が大きく変化する移動後の工具経路の概略図を示す。それぞれの工具経路を移動点と矢印にて説明している。第1の工具経路は、移動点MP1a~MP6aを含む。
 第1の工具経路に対して、工具の有効刃長が不足し、移動後の工具経路が設定されている。矢印82に示す様に、それぞれの移動点MP1a~MP6aは、工具Tの軸方向の移動により移動点MP1b~MP6bに移動している。
 この実施例では、第1の工具経路の移動点MP3aは、移動点MP3bに移動している。また、第1の工具経路の移動点MP4aは、移動点MP4bに移動している。ところで、移動点MP3aから移動点MP4aまでの経路において、ワークに対する工具の傾斜角度が大きく変化している。移動点MP3aから移動点MP4aに移動する時のワークに対する工具の進行方向は、矢印86にて示されている。また、移動点MP3bから移動点MP4bに移動する時のワークに対する工具の進行方向は、矢印87にて示されている。
 図15に、第1の工具経路における工具の進行方向と、移動後の工具経路における工具進行方向とを説明する概略図を示す。図14における移動点MP3a,MP4a,MP3b,MP4bに関する進行方向の矢印が抜粋されている。図14および図15を参照して、第1の工具経路における工具の進行方向が矢印86にて示されている。また、移動後の工具経路における工具の進行方向が矢印87にて示されている。矢印86に示す工具の進行方向と矢印87に示す工具の進行方向とは、ほぼ逆向きであることが分かる。すなわち、工具の進行方向が反転している。ワークに対する工具の進行方向が急激に変化すると、大きな加速度が生じて、工作機械に過剰な力が加わるという問題がある。または、加工精度が低下する虞が生じる。
 本実施の形態では、第1の工具経路における工具の進行方向に対して、移動後の工具経路における工具の進行方向が急激に変化した場合には、移動後の工具経路を補正する。本実施の形態においては、工具の進行方向の変化を示す角度θが判定角度以上になる特定の経路が存在するか否かを判別する。本実施の形態では、判定角度を90°に設定している。工具の進行方向が90°以上の角度にて変化する特定の経路が存在する場合には、特定の経路に対応する移動点を除外する補正を行う。
 図14および図15に示される例では、移動後の工具経路において移動点MP3bから移動点MP4bに向かう移動では、工具の進行方向が90°以上変化している。このために、矢印87に示す経路は、特定の経路になると判別することができる。
 図16に、移動後の工具経路の補正を説明する概略図を示す。特定の経路に対応する移動点は、矢印87の始点である移動点MP3b、および矢印87の終点である移動点MP4bを含む。このため、移動点MP3bおよび移動点MP4bを除外する。そして、矢印88に示すように、移動点MP2bと移動点MP5bとを短絡する経路を生成する。移動点MP1b,MP2b,MP5b,MP6bを含む経路が補正後の工具経路に相当する。ここで、短絡した経路における干渉チェックを行い、この干渉チェックにより干渉があると判別される場合には、移動点MP3bおよび移動点MP4bの除外は行わない。
 このように、移動後の工具経路から進行方向が急激に変化する経路を除外することができる。この方法により、ワークに対して工具の進行方向が急激に変化することを回避して、工作機械への負担を抑制することができる。また、加工精度の低下を抑制することができる。
 次に、移動後の工具経路の他の補正方法について説明する。図17に、工具経路が屈曲する移動後の工具経路の概略図を示す。図17に示す例においては、移動点MP11b~MP14bが示されている。移動後の工具経路は、矢印91、矢印92および矢印93にて示されている。ここで、移動後の工具経路は、矢印91に示す向きに進行した後に、矢印92に示す向きに進行する。このときに、移動後の工具経路が屈曲している。すなわち、工具経路が折れ曲がっている。また、矢印92に示す向きに進行した後に矢印93に示す向きに進行するときも工具経路が屈曲している。
 他の補正方法では、移動後の工具経路に屈曲する経路が含まれるか否かを判定する。移動後の工具経路に角になる部分が含まれるか否かを判別する。そして、移動後の工具経路に屈曲する経路が含まれる場合には、屈曲する経路を曲線状の経路に変更する補正を行う。図17の例においては、矢印91,92,93に示す屈曲する工具経路を、矢印99,93に示す曲線状の工具経路に補正する。ワークの外側に向かって屈曲する経路は、凹状の曲線の経路に変更する。ワークの内側に向かって屈曲する経路は、凸状の曲線の経路に変更する。すなわち、補正後の工具経路が、移動後の工具経路に対してワークの外側に位置するように経路を変更する。矢印99に示す経路が、補正後の工具経路に相当する。
 図18に、移動点の位置に対する工具の軸方向の移動量のグラフを示す。この実施例では、矢印82に示す様に、第1の工具経路を移動して移動後の工具経路が生成されている。第1の工具経路は、移動点MP10a~MP14aを含んでいる。移動後の工具経路は、移動点MP10b~MP14bを含んでいる。ここで、矢印91に示す工具経路に対して矢印92に示す工具経路は屈曲している。また、矢印92に示す工具経路に対して矢印93に示す工具経路は屈曲している。移動点MP12bおよび移動点MP13bは、屈曲点になっている。このために、移動点MP11bから移動点MP13bまでの工具経路を補正する。
 図19に、移動後の工具経路を補正した補正後の工具経路のグラフを示す。移動点MP13bが屈曲点になる矢印92に示す工具経路は、凸状の円弧の工具経路に補正する。矢印95に示すように、移動点MP13bを通るように円弧状の工具経路を生成する。移動点MP12bが屈曲点になる矢印91に示す工具経路は、凹状の円弧の工具経路に補正する。この結果、移動点MP15bと移動点MP16bが新たに生成される。そして、矢印96に示すように、移動点MP15bから移動点MP16bに向かう工具経路を生成する。
 補正後の工具経路を生成するときの円弧の直径は、使用者が任意の値に設定することができる。例えば、矢印94に示す円弧の直径および矢印95に示す円弧の直径を、工具径と同一に設定することができる。
 次に、それぞれの補正後の移動点について、補正後の工具の軸方向の移動量を記憶する。それぞれの移動点を、記憶した移動量にて工具Tの軸方向に移動し、補正後の工具経路の移動点を生成する。補正において新たに生成された移動点MP15bおよび移動点MP16bの位置は、たとえば、移動点MP11bと移動点MP13bとを内挿することにより設定することができる。
 このように、他の補正方法においても補正後の工具経路を生成することができる。工具の軸方向の移動量を補正することによって、屈曲する経路を曲線状の経路に変更することができる。ワークに対して工具の進行方向が急激に変化することを回避して、工作機械への負担を抑制することができる。また、加工精度の低下を抑制することができる。なお、屈曲する経路を曲線状の経路に補正することで、工具の移動方向の変化が大きくなる場合は工具経路を補正しない。
 図20に、本実施の形態における移動後の工具経路を補正する方法のフローチャートを示す。この方法は、例えば、図7に示す移動後の工具経路の生成するステップS105として実施することができる。ステップS201においては、工具の軸方向に移動した移動後の工具経路を生成する。
 次に、ステップS202においては、移動後の工具経路における工具の進行方向が90°以上変化する特定の経路が存在するか否かを判別する。ステップS202において、特定の経路が存在しない場合には、ステップS204に移行する。ステップS202において、特定の経路が存在する場合には、ステップS203に移行する。ステップS203においては、特定の経路に対応する移動点を削除する。
 次に、ステップS204においては、移動後の工具経路に屈曲する部分があるか否かを判別する。ステップS204において、工具経路に屈曲する部分ない場合には移動後の工具経路の補正を終了する。ステップS204において、工具経路に屈曲する部分がある場合には、ステップS205に移行する。
 ステップS205においては、屈曲する経路を曲線状の経路に補正する。そして、移動後の工具経路の補正を終了する。例えば、図7のフローチャートのステップS106に移行する。
 図21に、本実施の形態における第2の加工システムのブロック図を示す。第2の加工システムにおいては、工作機械40が前述のCAM装置20の工具経路を変更する機能を有する。工作機械40の数値制御装置50は、加工プログラム変更部30を含む。第2の加工システムでは、加工プログラム変更部30が工具経路生成装置として機能する。CAM装置20により出力される第1の加工プログラムに含まれる工具経路が第1の工具経路に相当する。
 数値制御装置50は、入力部31と、判定部33aと、工具経路変更部35とを含む。入力部31は、第1の加工プログラムP1を読み込んで第1の工具経路を取得する。そして、第1の工具経路にて有効刃長が不足する場合には、移動後の工具経路を含む第2の工具経路を生成して第2の加工プログラムP2を出力する。第2の加工システムにおける表示部34は、工作機械40に配置されており、表示部34には判定部33aの判定結果等が表示される。
 数値制御装置50は、読取解釈部51、補間演算部52、およびサーボモータ制御部53を含む。読取解釈部51は、第2の加工プログラムP2を読み込んで、移動指令を補間演算部52に送出する。補間演算部52は、補間周期毎の位置指令を演算し、位置指令をサーボモータ制御部53に送出する。サーボモータ制御部53は、位置指令に基づいて各移動軸の移動量を算出し、各軸サーボモータSを駆動する。
 このような加工プログラム変更部を備える工作機械においても、ワークの余剰部分を事前に除去することなく加工することができる。また、余剰部分を除去するための工具経路の生成、生成した工具経路の確認および工具経路の生成し直しの作業を回避することができ、短時間に工具経路を生成することができる。また、容易に工具経路を生成することができる。
 本実施の形態においては、5軸の移動軸を有する工作機械を例示しているが、この形態に限られず、ワークに対して工具が相対移動する任意の工作機械を使用することができる。例えば、3つの直動軸を有する3軸の工作機械に本発明を適用することができる。
 上述のそれぞれの制御や方法においては、機能および作用が変更されない範囲において適宜ステップの順序を変更することができる。上述のそれぞれの図において、同一または相等する部分には同一の符号を付している。なお、上記の実施の形態は例示であり発明を限定するものではない。また、実施の形態においては、請求の範囲に示される形態の変更が含まれている。
 20  CAM装置
 30  加工プログラム変更部
 31  入力部
 33a,33b  判定部
 35  工具経路変更部
 36a,36b  推定部
 37a,37b  移動後経路生成部
 38  補助経路生成部
 39  プログラム生成部
 40  工作機械
 50  数値制御装置
 51  読取解釈部
 52  補間演算部
 53  サーボモータ制御部
 R1  第1の工具経路
 R2  第2の工具経路
 R3  移動後の工具経路
 D1  目標形状データ
 D2  初期形状データ
 D3  工具の形状データ
 P1  第1の加工プログラム
 P2  第2の加工プログラム
 T  工具
 CP  刃部
 W  ワーク
 TS  目標形状
 ECL  有効刃長
 MP1b~MP6b  移動点

Claims (8)

  1.  工作機械にてワークを加工する工具経路を生成する工具経路生成方法であって、
     前記ワークを加工するための第1の工具経路が予め設定されており、
     前記第1の工具経路と前記ワークの形状とに基づいて、前記第1の工具経路にて加工すると工具の有効刃長が不足するか否かを判定する判定工程と、
     前記判定工程において前記工具の前記有効刃長が不足する場合に、前記有効刃長が不足する不足部分を推定する推定工程と、
     前記第1の工具経路に対して前記不足部分の経路を前記有効刃長の部分にて加工が行える経路まで移動した移動後の工具経路を生成する移動後経路生成工程と、
     前記移動後の工具経路にて加工を行った後の前記ワークに残存する削り残し部分を加工するための補助の工具経路を生成する補助経路生成工程とを含むことを特徴とした、工具経路生成方法。
  2.  前記移動後経路生成工程は、前記ワークに対して前記工具が前記工具の軸方向に相対的に離れる向きに前記第1の工具経路を移動した前記移動後の工具経路を生成する工程を含む、請求項1に記載の工具経路生成方法。
  3.  前記補助経路生成工程は、前記判定工程、前記推定工程、および前記移動後経路生成工程を含み、
     前記判定工程において前記工具の前記有効刃長の部分にて加工が可能な場合には、前記第1の工具経路を選定する工程を含み、
     前記補助経路生成工程は、前記判定工程において前記第1の工具経路にて前記ワークを加工したときに前記工具の前記有効刃長の部分にて加工が可能になるまで、前記判定工程、前記推定工程、および前記移動後経路生成工程を繰り返して前記移動後の工具経路を生成する工程と、前記移動後の工具経路および前記第1の工具経路を含む前記補助の工具経路を生成する工程とを含む、請求項1に記載の工具経路生成方法。
  4.  前記第1の工具経路および前記移動後の工具経路は、複数の移動点を移動する経路により構成されており、
     前記移動後経路生成工程は、前記第1の工具経路における前記工具の進行方向に対して、前記移動後の工具経路における前記工具の進行方向が判定角度以上の角度で変化する特定の経路が存在するか否かを判定する工程と、
     前記特定の経路が存在する場合には、前記移動後の工具経路から前記特定の経路に対応する前記移動点を除外する工程とを含む、請求項1に記載の工具経路生成方法。
  5.  前記移動後経路生成工程は、前記移動後の工具経路に屈曲する経路が含まれるか否かを判定する工程と、
     前記屈曲する経路が含まれる場合に、前記屈曲する経路を曲線状の経路に変更する工程とを含む、請求項1に記載の工具経路生成方法。
  6.  ワークを加工する工具経路を含む加工プログラムを生成する工具経路生成装置であって、
     第1の工具経路と前記ワークの形状とに基づいて、前記第1の工具経路にて加工すると工具の有効刃長が不足するか否かを判定する判定部と、
     前記工具の前記有効刃長が不足する場合に、前記工具の前記有効刃長が不足する不足部分を推定する推定部と、
     前記第1の工具経路に対して前記不足部分の経路を前記有効刃長の部分にて加工が行える経路まで移動した移動後の工具経路を生成する移動後経路生成部と、
     前記移動後の工具経路にて加工を行った後の前記ワークに残存する削り残し部分を加工するための補助の工具経路を生成する補助経路生成部と、
     前記移動後の工具経路および前記補助の工具経路に基づく第2の工具経路が設定された加工プログラムを生成するプログラム生成部とを備えることを特徴とした、工具経路生成装置。
  7.  前記移動後経路生成部は、前記第1の工具経路を前記ワークに対して前記工具が前記工具の軸方向に相対的に離れる向きに移動させた工具経路を生成する、請求項6に記載の工具経路生成装置。
  8.  前記補助経路生成部は、前記判定部、前記推定部、および前記移動後経路生成部を含み、
     前記判定部は、前記工具の前記有効刃長の部分にて加工が可能な場合には、前記第1の工具経路を選定するように形成されており、
     前記補助経路生成部は、前記判定部において前記第1の工具経路にて前記ワークを加工したときに前記工具の前記有効刃長の部分にて加工が可能になるまで前記移動後の工具経路を繰り返して生成し、前記移動後の工具経路および前記第1の工具経路を含む前記補助の工具経路を生成する、請求項6に記載の工具経路生成装置。
PCT/JP2013/074921 2013-09-13 2013-09-13 工具経路生成方法および工具経路生成装置 WO2015037150A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201380078917.7A CN105492980B (zh) 2013-09-13 2013-09-13 刀具路径生成方法及刀具路径生成装置
US15/021,633 US10088832B2 (en) 2013-09-13 2013-09-13 Method of generating tool path by modifying existing tool path and device practicing the same
KR1020167000799A KR20160019936A (ko) 2013-09-13 2013-09-13 공구경로 생성방법 및 공구경로 생성장치
PCT/JP2013/074921 WO2015037150A1 (ja) 2013-09-13 2013-09-13 工具経路生成方法および工具経路生成装置
JP2015536414A JP6038331B2 (ja) 2013-09-13 2013-09-13 工具経路生成方法および工具経路生成装置
EP13893643.0A EP3045991A4 (en) 2013-09-13 2013-09-13 Tool path generating method and tool path generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/074921 WO2015037150A1 (ja) 2013-09-13 2013-09-13 工具経路生成方法および工具経路生成装置

Publications (1)

Publication Number Publication Date
WO2015037150A1 true WO2015037150A1 (ja) 2015-03-19

Family

ID=52665291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/074921 WO2015037150A1 (ja) 2013-09-13 2013-09-13 工具経路生成方法および工具経路生成装置

Country Status (6)

Country Link
US (1) US10088832B2 (ja)
EP (1) EP3045991A4 (ja)
JP (1) JP6038331B2 (ja)
KR (1) KR20160019936A (ja)
CN (1) CN105492980B (ja)
WO (1) WO2015037150A1 (ja)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6333798B2 (ja) * 2015-12-03 2018-05-30 ファナック株式会社 数値制御装置
EP3501730A1 (de) 2017-12-22 2019-06-26 Ivoclar Vivadent AG Dentalfräsmaschine sowie verfahren
JP6837020B2 (ja) * 2018-02-19 2021-03-03 東芝三菱電機産業システム株式会社 切削加工装置および切削加工方法
CN111837080B (zh) * 2018-03-09 2023-05-23 株式会社牧野铣床制作所 刀具路径生成方法
JP2020086887A (ja) * 2018-11-26 2020-06-04 株式会社Subaru 部品加工装置

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02132503A (ja) * 1988-11-11 1990-05-22 Toyoda Mach Works Ltd Ncデータ作成装置
JPH02260007A (ja) * 1989-03-31 1990-10-22 Sony Corp 自由曲面加工データ作成方法
JPH0330002A (ja) * 1989-06-28 1991-02-08 Mitsubishi Heavy Ind Ltd 経路データの編集方法
JPH06119031A (ja) * 1992-10-07 1994-04-28 Honda Motor Co Ltd 削り残し部加工のncデータ作成方法
JPH06348322A (ja) * 1993-06-07 1994-12-22 Fanuc Ltd ロボットのオフライン教示方法
JPH09292913A (ja) * 1996-04-26 1997-11-11 Toyoda Mach Works Ltd Ncデータ作成装置
JP2012164269A (ja) 2011-02-09 2012-08-30 Hitachi Ltd 加工パスの生成方法及び加工方法
JP2013161111A (ja) * 2012-02-01 2013-08-19 Hitachi Ltd 突き加工のツールパス生成システム及び生成方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5949608A (ja) * 1982-09-14 1984-03-22 Mitsubishi Electric Corp 数値制御加工方式
EP0310106A3 (en) * 1987-10-02 1989-05-24 Mitsubishi Denki Kabushiki Kaisha Method of forming configuration data for cnc machining apparatus
US5122966A (en) * 1989-09-18 1992-06-16 Northern Research & Engineering Computer generated tool path interference check method
US5526272A (en) 1993-01-18 1996-06-11 Canon Kabushiki Kaisha Data preparation device and method for preparing data for machining work
US6447223B1 (en) * 2000-06-07 2002-09-10 Parametric Technology Corporation Control for high speed cutting tool
JP4210056B2 (ja) * 2001-12-25 2009-01-14 株式会社日立製作所 工具経路の作成装置及び方法
KR101535305B1 (ko) * 2009-10-09 2015-07-08 두산인프라코어 주식회사 선삭 가공 시스템에서의 공구 경로 생성 방법
JP5594685B2 (ja) * 2010-03-30 2014-09-24 国立大学法人名古屋大学 工具軌跡生成装置、工具軌跡算出方法および工具軌跡生成プログラム
CN104220214B (zh) * 2012-03-30 2016-10-19 株式会社牧野铣床制作所 刀具路径生成方法及刀具路径生成装置
CN103223629A (zh) * 2013-05-13 2013-07-31 大连大森数控技术发展中心有限公司 数控机床加工刀具的补偿方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02132503A (ja) * 1988-11-11 1990-05-22 Toyoda Mach Works Ltd Ncデータ作成装置
JPH02260007A (ja) * 1989-03-31 1990-10-22 Sony Corp 自由曲面加工データ作成方法
JPH0330002A (ja) * 1989-06-28 1991-02-08 Mitsubishi Heavy Ind Ltd 経路データの編集方法
JPH06119031A (ja) * 1992-10-07 1994-04-28 Honda Motor Co Ltd 削り残し部加工のncデータ作成方法
JPH06348322A (ja) * 1993-06-07 1994-12-22 Fanuc Ltd ロボットのオフライン教示方法
JPH09292913A (ja) * 1996-04-26 1997-11-11 Toyoda Mach Works Ltd Ncデータ作成装置
JP2012164269A (ja) 2011-02-09 2012-08-30 Hitachi Ltd 加工パスの生成方法及び加工方法
JP2013161111A (ja) * 2012-02-01 2013-08-19 Hitachi Ltd 突き加工のツールパス生成システム及び生成方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3045991A4 *

Also Published As

Publication number Publication date
US10088832B2 (en) 2018-10-02
EP3045991A4 (en) 2017-05-03
JP6038331B2 (ja) 2016-12-07
KR20160019936A (ko) 2016-02-22
EP3045991A1 (en) 2016-07-20
JPWO2015037150A1 (ja) 2017-03-02
CN105492980B (zh) 2018-01-30
CN105492980A (zh) 2016-04-13
US20160224015A1 (en) 2016-08-04

Similar Documents

Publication Publication Date Title
JP6133995B2 (ja) 工具経路評価方法、工具経路生成方法、及び工具経路生成装置
JP6038331B2 (ja) 工具経路生成方法および工具経路生成装置
JP5406105B2 (ja) 工作機械におけるツール制御用の制御データの生成方法および生成装置
JP6450732B2 (ja) 数値制御装置
JP5431987B2 (ja) 工作機械の制御装置
JP5159997B1 (ja) 数値制御装置
JP5818987B2 (ja) 溝加工方法、工作機械の制御装置および工具経路生成装置
JP6173490B2 (ja) 切削加工方法および工具経路生成装置
JP5881850B2 (ja) 工作機械の制御装置および工作機械
JP6195659B2 (ja) 加工プログラムの生成方法、経路生成装置および放電加工機
JP2009098982A (ja) 加工シミュレーション装置およびそのプログラム
JP4503326B2 (ja) 工具経路データ生成装置及びこれを備えた制御装置
WO2014068709A1 (ja) 工作機械の制御装置および工作機械
JP5881843B2 (ja) 工具経路生成方法、工作機械の制御装置および工具経路生成装置
US20210331261A1 (en) Gear machining apparatus
JP4614935B2 (ja) 切削加工方法及び工具経路生成装置
JP5736667B2 (ja) Ncプログラム作成装置
JP2015047683A (ja) 円筒状工具を用いた加工方法
JP6281315B2 (ja) 数値制御装置と移動経路修正方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380078917.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13893643

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015536414

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20167000799

Country of ref document: KR

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2013893643

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013893643

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15021633

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE