Toolpath correction device and toolpath correction method
The tool path correction device and method address issues of unintentional tool movement and efficiency by calculating intersections, extracting correction points, and adjusting tool paths to ensure accurate tool contact with curved surfaces, enhancing machining quality and efficiency.
Patent Information
- Application Number
- DE112016005969
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2015-12-24
- Filing Date
- 2016-10-25
- Publication Date
- 2024-12-05
- Estimated Expiration
- 2036-10-25
AI Technical Summary
Conventional tool path correction methods for machining freely curved surfaces result in unintentional tool movement, scratches, increased data generation time, large data amounts, and decreased machining speed, leading to decreased work efficiency, especially when using tools with asymmetrical shapes or radius end mills.
A tool path correction device and method that calculates intersection information between the tool and the machining surface, extracts correction command points, determines correction directions, and adjusts tool path data to ensure accurate tool contact with the curved surface, thereby correcting tool positions to prevent penetration and ensure complete stock removal.
Improves machining quality by preventing unintentional tool movement and scratches while maintaining work efficiency, even with asymmetrical tools, by accurately determining tool positions and correcting tool paths to ensure complete stock removal.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Object
[0001] The present invention relates to a toolpath correction device and a toolpath correction method for correcting toolpath data for machining a target object using a machine tool with numerical control (NC). background
[0002] Traditionally, when machining a freely curved surface, after toolpath data, represented by approximating a path formed by imaginary movement of a tool in contact with a freely curved surface of a machining target using tiny line segments of straight lines, arcs and curves, has been generated by computer-aided design (CAD) and computer-aided manufacturing (CAM), this toolpath data is transferred to an NC machine tool to perform a cut.
[0003] The toolpath data output by the CAD and CAM systems is primarily described as an NC program. This NC program is entered into an NC device, which is integrated into the NC machine tool.
[0004] The NC device reads and interprets the NC program to generate a toolpath, which is a path along which a tool moves, and generates interpolation data obtained by interpolating the toolpath for each of the interpolation periods.
[0005] The NC device controls tool axes of tools provided in the NC machine tool using the generated interpolation data, moves the tools to desired positions and performs machining.
[0006] This document describes a general process for generating toolpath data for machining a freely curved surface. In the following explanation, the freely curved surface is referred to as a "curved machining surface".
[0007] First, an ideal path is calculated from the shape of a curved machining surface that is to be machined in a machining target; this path is required when a tool is moved into contact with the curved machining surface.
[0008] A permissible error is then specified. Toolpath data is generated by approximating a toolpath to a tiny line segment such that the maximum error between the toolpath and the calculated ideal path is less than or equal to the specified permissible error.
[0009] The toolpath data is generated based on the process described above.
[0010] According to the process described above, the generated toolpath data exhibits a maximum error equivalent to the permissible error relative to the ideal path. This error stems from calculation errors in the CAD and CAM systems. Therefore, the generated toolpath data may sometimes contain toolpath data for a tiny line segment that is not related to the direction of the ideal path.
[0011] As a result, when performing machining using toolpath data, in some cases an unintended movement of the tool in the ideal path occurs, leading to scratches on a machining surface.
[0012] To move the tool precisely with respect to the curved machining surface, it is necessary to reduce the permissible error specified during the generation of the toolpath data to an extremely small level. However, this leads to the problems described below. (1) The time required to generate and output toolpath data using CAD and CAM equipment is increasing. (2) The amount of toolpath data entered into the NC device is enormous. (3) The machining speed cannot be increased because the amount of toolpath data is enormous. (4) Work efficiency decreases as a result of these problems.
[0013] Therefore, it is undesirable to reduce the permissible error specified during the generation of the toolpath data in order to move the tool accurately with respect to the curved machining surface.
[0014] One solution method described in patent literature for such a case involves correcting toolpath data based on the shape of a machining target object. In the following explanation, the shape of the machining target object is simply referred to as the "machining shape".
[0015] In particular, patent literature 1 discloses a method for dividing the toolpath data into a plurality of split tracks, calculating, as axis control data, tool positions on the split tracks and temporary changes in the movement speed of the tool in axial directions on the split tracks, comparing a tool position in the workpiece, calculated on the basis of the axis control data, and a machining shape of the workpiece, determining whether a tool is in a penetrating state, and, if it is determined that the tool is in the penetrating state, correcting the position of the tool in the penetrating state using immediately preceding and following tool positions, so that the penetrating state is avoided. List of prior art patent literature
[0016] Patent literature 1: Japanese patent JP 4900968 B2 Brief description of the technical problem
[0017] However, in the conventional technique described in patent literature 1, it is determined whether the tool is in the penetrating state within the machining form based on a tool position, which is the relative position of the tool to the workpiece at the time the tool is machining the workpiece, and the machining form itself. Therefore, in the conventional technique described in patent literature 1, even if the tool position is located in an area on the outside of the machining form, it cannot be determined that the tool, as positioned relative to the tool position, is actually removing material from the workpiece.
[0018] With the conventional technique of patent literature 1, even if an offset shape is used which is offset by an offset value with respect to the machining shape, if a radius end mill or a face end mill is used which are a turning tool other than a ball end mill, or if the tool has an asymmetric tool shape, such as a turning tool, it cannot be determined whether the tool is in a cutting state.
[0019] Furthermore, with the conventional technique described in patent literature 1, if the tool position is located in the area on the outside of the machining form, insufficient machining on the curved machining surface by the tool cannot be detected.
[0020] Therefore, in the case described above, work is required for an operator to directly correct the tool position and parameters. This results in a problem where work efficiency decreases.
[0021] Furthermore, in the conventional technique described in patent literature 1, when it is determined that the tool is in the penetrating state, the tool's position in the penetrating state is corrected using tool positions that precede or follow the tool position, so that the tool passes the outside of the machining shape. When the tool position is corrected, a correction direction is determined according to machining types, such as contour machining and surface machining. Therefore, the operator must specify the machining type in advance.
[0022] Especially with an NC program, the work becomes complicated when machining a process that combines multiple machining operations. This leads to a decrease in work efficiency.
[0023] The present invention was developed against the aforementioned background and one object of the present invention is to obtain a toolpath correction device which can improve machining quality without impairing work efficiency. Solution to the problem
[0024] The problem is solved by a toolpath correction device with the features of claim 1 and by a toolpath correction device with the features of claim 5, as well as by a toolpath correction method with the features of claim 7. To solve the aforementioned problems and fulfill the objective, the present invention provides a toolpath correction device comprising: an intersection point calculation unit for calculating intersection point information, based on toolpath data describing the movement of a tool for machining a target object or the target object itself, tool data of the tool, and form data of a machining shape of the target object. This calculation includes information about intersection points through the tool on a curved machining surface of the machining shape at a given time.to which the tool is positioned at command points described in the toolpath data; a correction command point extraction unit for extracting, based on the toolpath data and intersection information, correction command points, which are command points that should be corrected, from the command points described in the toolpath data; a command point correction direction determination unit for determining command point correction directions, which are directions in which the correction command points should be corrected, based on the correction command points; and a toolpath data correction unit for correcting the toolpath data by correcting, based on the tool data, shape data, intersection information, correction command points, and command point correction directions, the correction command points according to the command point correction directions such thatthat the tool comes into contact with the curved machining surface. Advantageous effects of the invention
[0025] According to the present invention, the effect is that it is possible to improve the processing quality without reducing work efficiency. Brief description of the drawings Fig. Figure 1 is a representation illustrating the configuration of a toolpath correction device according to a first embodiment. Fig. Figure 2 is a representation illustrating an exemplary hardware configuration for implementing the toolpath correction device according to the first embodiment. Fig. Figure 3 is a flowchart illustrating the operation of the toolpath correction device according to the first embodiment. Fig. Figure 4 is a first illustration to explain a machining mode, a toolpath and a tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 5 is a second illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 6 is a third illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 7 is a fourth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 8 is a first illustration to explain a calculation process for intersection information in the toolpath correction device according to the first embodiment. Fig. Figure 9 is a second illustration to explain the calculation process for intersection information in the toolpath correction device according to the first embodiment. FIG. is a third illustration to explain the calculation process for intersection information in the toolpath correction device according to the first embodiment. Fig. Figure 11 is a fourth illustration to explain the calculation process for intersection information in the toolpath correction device according to the first embodiment. Fig. Figure 12 is a fifth illustration to explain the calculation process for intersection information in the toolpath correction device according to the first embodiment. Fig. Figure 13 is a sixth illustration to explain the calculation process for intersection information in the toolpath correction device according to the first embodiment. Fig. Figure 14 is a representation to explain a process for extracting correction command points in the toolpath correction device according to the first embodiment. Fig. Figure 15 is a first illustration to explain a process for determining command point correction directions and a process for correcting toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 16 is a second illustration to explain the process for determining command point correction directions and the process for correcting toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 17 is a first illustration to explain a correction process for toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 18 is a second illustration to explain the correction process for toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 19 is a fifth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 20 is a sixth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 21 is a seventh illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 22 is an eighth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 23 is a ninth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 24 is a tenth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 25 is a first illustration to explain a machining mode, a toolpath and a tool shape in the toolpath correction device according to a second embodiment. Fig. Figure 26 is a second illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the second embodiment. Fig. Figure 27 is a third illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the second embodiment. Fig. Figure 28 is a fourth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the second embodiment. Fig. Figure 29 is a first illustration to explain a calculation process for intersection information in the toolpath correction device according to the second embodiment. Fig. Figure 30 is a second illustration to explain the calculation process for intersection information in the toolpath correction device according to the second embodiment. Fig. Figure 31 is a third illustration to explain the calculation process for intersection information in the toolpath correction device according to the second embodiment. Fig. Figure 32 is a first illustration to explain a process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 33 is a second illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 34 is a third illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 35 is a fourth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 36 is a fifth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 37 is a sixth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 38 is a seventh illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 39 is an eighth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 40 is a ninth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 41 is a tenth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 42 is an eleventh illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 43 is a twelfth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 44 is a thirteenth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 45 is a fourteenth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Description of embodiments
[0026] Toolpath correction devices and toolpath correction methods according to embodiments of the present invention are explained in more detail below with reference to the drawings. It should be noted that the present invention is not limited to this embodiment. First embodiment.
[0027] Fig. Figure 1 is a representation illustrating the configuration of the toolpath correction device according to a first embodiment.
[0028] A toolpath correction device 100 comprises a toolpath data input unit 101, into which toolpath data, which is a movement path of a tool for machining a non-illustrated machining target object or the machining target object itself, is entered from the outside, and a toolpath data storage unit 102, which stores the toolpath data entered into the toolpath data input unit 101.
[0029] The toolpath data entered into the toolpath data input unit 101 consists of data describing the coordinates of command points, which are points to which the tool should move; an interpolation method at the time when the tool moves between a plurality of command points; and tool axis vectors, which specify the directions of a tool axis at the command points.
[0030] The toolpath data is, for example, an NC program output by CAD and CAM devices.
[0031] The coordinate systems of the command points in the toolpath data are converted into positions of the tool relative to the machining target object at the time when the tool is machining the machining target object.
[0032] A toolpath represents the path of movement that the tool travels. The toolpath is generated based on the toolpath data.
[0033] The toolpath correction device 100 comprises a tool data input unit 103, into which tool data, which is information for defining the tool for machining the target object, is entered from the outside, and a tool data storage unit 104, which stores the tool data entered into the tool data input unit 103.
[0034] The tool data entered into the tool data input unit 103 is formed by information that represents a type of tool and information that represents a shape of the tool, such as a tool diameter, a tool edge radius and a tool length.
[0035] An example of tool data is CAD data, which represents the shape of the tool.
[0036] The toolpath correction device 100 comprises a shape data input unit 105, into which shape data for defining a machining shape of the machining target object, which contains a curved machining surface, is entered from the outside.
[0037] An example of the shape data entered into the shape data input unit 105 is CAD data in which the machining shape of the machining target object is described by a formula and represented by the curved machining surface.
[0038] The toolpath correction device 100 comprises a shape data storage unit 106, which stores the shape data entered into the shape data input unit 105, an intersection calculation unit 107 and an intersection storage unit 108, which stores intersection information calculated by the intersection calculation unit 107.
[0039] The intersection calculation unit 107 reads the toolpath data from the toolpath data storage unit 102, reads the tool data from the tool data storage unit 104 and reads the shape data from the shape data storage unit 106.
[0040] The intersection calculation unit 107 calculates information about intersection points, which are points machined by the tool on the curved machining surface of the machining shape defined by the shape data at the time when the tool defined by the tool data is positioned at the command points described in the toolpath data. That is, the intersection calculation unit 107 calculates intersection information, which is information about the intersection points.
[0041] The intersection calculation unit 107 causes the intersection storage unit 108 to store the calculated intersection information.
[0042] The toolpath correction device 100 comprises a correction command point extraction unit 109 and a correction command point storage unit 110, which stores correction command points that are command points that should be corrected and are extracted by the correction command point extraction unit 109.
[0043] The correction command point extraction unit 109 reads the toolpath data from the toolpath data storage unit 102 and reads the intersection point information from the intersection storage unit 108.
[0044] The Correction Command Point Extraction Unit 109 determines whether command points corresponding to the read-out intersection information should be corrected and extracts the command points determined to require correction as correction command points.
[0045] The Correction Command Point Extraction Unit 109 causes the Correction Command Point Storage Unit 110 to store the extracted correction command points.
[0046] The toolpath correction device 100 comprises a command point correction direction determination unit 111 and a command point correction direction storage unit 112, which stores command point correction directions determined by the command point correction direction determination unit 111.
[0047] The command point correction direction determination unit 111 reads the toolpath data from the toolpath data storage unit 102, reads the shape data from the shape data storage unit 106, and reads the correction command point information from the correction command point storage unit 110.
[0048] The command point correction direction determination unit 111 determines command point correction directions, which are correction directions of correction command points, at the correction command points based on the command points described in the read-out toolpath data.
[0049] The command point correction direction determination unit 111 causes the command point correction direction storage unit 112 to store the determined command point correction directions.
[0050] The toolpath correction device 100 comprises a toolpath data correction unit 113 and a corrected toolpath data storage unit 114, which stores corrected toolpath data that is toolpath data that has been corrected by the toolpath data correction unit 113.
[0051] The toolpath data correction unit 113 reads the toolpath data from the toolpath data storage unit 102, reads the tool data from the tool data storage unit 104 and reads the shape data from the shape data storage unit 106.
[0052] The toolpath data correction unit 113 reads the intersection point information from the intersection point storage unit 108, reads the correction command point information from the correction command point storage unit 110, and reads the command point correction direction in each of a plurality of correction command points from the command point correction direction storage unit 112.
[0053] The toolpath data correction unit 113 corrects the correction command points based on the tool data, shape data, intersection information, and command point correction directions.
[0054] The toolpath data correction unit 113 corrects the toolpath data based on the corrected command points and causes the corrected toolpath data storage unit 114 to store corrected toolpath data, which is the toolpath data corrected by the toolpath data correction unit 113.
[0055] Fig. Figure 2 is a representation illustrating an exemplary hardware configuration for implementing the toolpath correction device according to the first embodiment. The toolpath correction device 100 can be implemented by a processor 51, a memory 52, and an input / output interface 53.
[0056] The processor 51 is a processor, such as a central processing unit (CPU) or a microprocessing unit (MPU).
[0057] Memory 52 is configured by random access memory (RAM), read-only memory (ROM), solid-state drive (SSD), hard disk drive (HDD), or a combination thereof.
[0058] The input / output interface 53 is used when the toolpath data, tool data and shape data are entered externally into the toolpath data input unit 101, the tool data input unit 103 and the shape data input unit 105.
[0059] The processor 51, the memory 52, and the input / output interface 53 are connected via a bus 50. The processor 51, the memory 52, and the input / output interface 53 exchange various data via the bus 50.
[0060] To implement the intersection calculation unit 107, a program for the intersection calculation unit 107 is stored in memory 52. The intersection calculation unit 107 is implemented by processor 51 executing the program.
[0061] To implement the correction instruction point extraction unit 109, a program for the correction instruction point extraction unit 109 is stored in memory 52. The correction instruction point extraction unit 109 is implemented by processor 51 executing the program.
[0062] To implement the instruction point correction direction determination unit 111, a program for the instruction point correction direction determination unit 111 is stored in memory 52. The instruction point correction direction determination unit 111 is implemented by the processor 51 executing the program.
[0063] To implement the toolpath data correction unit 113, a program for the toolpath data correction unit 113 is stored in memory 52. The toolpath data correction unit 113 is implemented by processor 51 executing the program.
[0064] The toolpath correction device 100, configured as explained above, operates according to a Fig. 3 illustrated flowcharts.
[0065] Fig. Figure 3 is a flowchart illustrating the operation of the toolpath correction device according to the first embodiment.
[0066] In step 201, toolpath data is entered into the toolpath data input unit 101 from the outside.
[0067] External input can be achieved either by an operator using a keyboard or by converting data from an NC program. The entered toolpath data is stored in the toolpath data storage unit 102.
[0068] Tool data is entered externally into the tool data input unit 103. The entered tool data is stored in the tool data storage unit 104.
[0069] Furthermore, shape data is entered externally into the shape data input unit 105. The entered shape data is stored in the shape data storage unit 106.
[0070] Specific examples of a machining mode, a toolpath, and a tool shape are given in relation to Fig. 4 to Fig. 7 explained.
[0071] Fig. Figure 4 is a first illustration to explain a machining mode, a toolpath, and a tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 4 illustrates a state in which a machining shape M1, represented by CAD data that serves as shape data for defining a machining shape, is viewed from an oblique direction. A group SA1 of curved machining surfaces is present on the top surface of the machining shape M1.
[0072] Fig. Figure 5 is a second illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. 5 illustrates a state in which the Fig. 4. The illustrated machining mode M1 can be seen from a side surface.
[0073] The in Fig. The illustrated group SA1 of curved machining surfaces is formed by curved surfaces defined by formulas of a Fig. Figure 5 illustrates the majority of curved machining surfaces S0 to S4.
[0074] The curved machining surfaces S0 and S1 maintain a continuous connection between adjacent curved machining surfaces in a connecting section e0 of the adjacent curved machining surfaces.
[0075] The curved machining surfaces S1 and S2 maintain a continuous connection between adjacent curved machining surfaces in a connecting section e1 of the adjacent curved machining surfaces.
[0076] The curved machining surfaces S3 and S4 maintain a continuous connection between adjacent curved machining surfaces in a connecting section e3 of the adjacent curved machining surfaces.
[0077] The curved machining surfaces S2 and S3 do not maintain a continuous connection between adjacent curved machining surfaces in a connecting section e2 of the adjacent curved machining surfaces.
[0078] Fig. Figure 6 is a third illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 6 illustrates a state where a toolpath OR1 is part of a plurality of toolpaths that are in toolpath data for machining the group SA1 of curved machining surfaces in the Fig. The processing method M1, illustrated in section 4, is described and can be viewed from an oblique direction.
[0079] Fig. Figure 7 is a fourth illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 7 presents an example of a tool shape represented by CAD data, which serves as tool data for defining a tool T1 that is located on the in Fig. 6 illustrated toolpath OR1 moved.
[0080] The tool T1 used is a ball end mill. A tool radius R1, equivalent to the length from a tool center axis CL to an outer tool circumference, is specified for tool T1. Depending on the tool geometry, an inclination of a section of the outer tool circumference with respect to the tool center axis CL can be specified.
[0081] After step 201 has been executed, the processing moves on to step 202, which is an intersection information calculation step.
[0082] In step 202, the intersection calculation unit 107 first reads the toolpath data stored in the toolpath data storage unit 102 and reads the tool data stored in the tool data storage unit 104 and the shape data stored in the shape data storage unit 106.
[0083] The command points described in the toolpath data are the positions of the tool relative to the machining target object at the time the tool is machining the target object. When the tool is positioned at the command points, the tool and the curved machining surface of the machining shape are ideally in contact at the command points.
[0084] Subsequently, the intersection calculation unit 107 calculates coordinates of intersection points, which are points machined by the tool, on the curved machining surface at the time when the tool is positioned at the command points.
[0085] As an example of a method for calculating the intersection points at this time, there is a method for calculating a nearest contact point between the tool surface and the curved machining surface at the time when the tool is positioned at the command points. The nearest contact point is a point on the curved machining surface where the distance between the tool T1 and the curved machining surface is smallest.
[0086] A concrete example of toolpath data is given below in relation to Fig. 8 to Fig. 13 explained.
[0087] Fig. Figure 8 is a first illustration explaining a calculation process for intersection point information in the toolpath correction device according to the first embodiment. Fig. Figure 8 illustrates a state in which the tool T1 is positioned on the toolpath OR1 for machining the group SA1 of curved machining surfaces from an oblique direction.
[0088] Fig. Figure 9 is a second illustration to explain the calculation process for intersection information in the toolpath correction device according to the first embodiment and is a sectional view in which a Fig. Figure 8 illustrates a perspective view intersected by an XZ plane. In particular, in Fig. Figure 9 illustrates a state in which a transit state of tool T1 on the in Fig. Figure 8 illustrates the toolpath OR1 from a side face. A machining shape and toolpath in the XZ section plane are shown.
[0089] CL0 to CL12 specify command points on toolpath OR1 as described in the toolpath data. The command points are linearly interpolated.
[0090] TV0 to TV12 specify tool axis vectors, which are directions of the tool axis at the command points CL0 to CL12.
[0091] Fig. Figure 10 is a third illustration explaining the calculation process for intersection point information in the toolpath correction device according to the first embodiment. Fig. Section 10 illustrates a calculation example for intersection points CP0 to CP12, which each correspond to the command points CL0 to CL12.
[0092] Fig. Figure 11 is a fourth illustration explaining the calculation process for intersection point information in the toolpath correction device according to the first embodiment. Fig. Section 11 illustrates a calculation example for the intersection point CP2, which corresponds to the one in Fig. This corresponds to command point CL2, illustrated in section 10. It illustrates a state in which the tool T1 is in contact with the curved machining surface S1.
[0093] The intersection calculation unit 107 calculates a contact point of a tool shape of tool T1 and the curved machining surface S1 as an intersection point of tool T1 and the curved machining surface S1 at the command point CL2.
[0094] In this case, the distance between command point CL2 and intersection point CP2 is equal to that in Fig. Figure 7 illustrated tool radius R1.
[0095] Fig. Figure 12 is a fifth illustration explaining the calculation process for intersection point information in the toolpath correction device according to the first embodiment. Fig. 12 illustrates a calculation example for the intersection point CP3, which corresponds to the command point CL3.
[0096] The tool T1 is in a penetrating state into the curved machining surface S1. The intersection calculation unit 107 calculates a point at command point CL3 as the intersection point of the tool T1 and the curved machining surface S1, where the curved machining surface S1 penetrates the curved machining surface S1 most deeply with respect to the tool shape of the tool T1.
[0097] In this case, the distance between command point CL3 and intersection point CP3 is smaller than that in Fig. 7 illustrated tool radius R1.
[0098] Fig. Figure 13 is a sixth illustration explaining the calculation process for intersection point information in the toolpath correction device according to the first embodiment. Fig. 13 illustrates a calculation example for the intersection point CP6, which corresponds to the command point CL6.
[0099] The tool T1 is in a state separated from the curved machining surface S2. The intersection calculation unit 107 calculates a nearest contact point on the curved machining surface S2 at command point CL6, where the distance between the tool shape of tool T1 and the curved machining surface S2 is smallest.
[0100] In this case, the distance between command point CL6 and intersection point CP6 is greater than that in Fig. 7 illustrated tool radius R1.
[0101] It is possible to calculate intersection points using the method described above.
[0102] On the other hand, a method for calculating an intersection point is not limited to the method described above. For example, intersection points can be calculated by performing a machining simulation using a material shape of the target object, toolpath data, and tool data from a material shape after machining at a time when the tool passes command points contained in the toolpath data.
[0103] The coordinates of the intersection points calculated by the intersection calculation unit 107 are stored in the intersection storage unit 108.
[0104] In the intersection storage unit 108, in addition to the coordinates of the intersection points, a relative positional relationship between the tool and the curved machining surface at the intersection points and intersection information, which is configured from distinguishing information of curved surfaces to indicate on which curved surface the intersection points are located, are stored in connection with command points.
[0105] For example, intersection point information that corresponds to the in Fig. 11 illustrated command point CL2 correspond to a coordinate of the intersection point CP2, which is a nearest contact point, a relative positional relation indicating a state in which the curved machining surface S1 is in contact with the tool T1, and curved surface distinguishing information indicating that the intersection point CP2 is present on the curved machining surface S1.
[0106] Furthermore, for example, intersection point information that corresponds to the one in Fig. 12 illustrated command point CL3 correspond to a coordinate of the intersection point CP3, which is a nearest contact point, a relative positional relation indicating a state in which the curved machining surface S1 penetrates with respect to the tool T1, and curved surface distinguishing information indicating that the intersection point CP3 is present on the curved machining surface S1.
[0107] If the intersection points are located on boundaries formed by a plurality of curved machining surfaces, the intersection point storage unit 108 contains information about a plurality of curved machining surfaces as distinguishing information for curved surfaces.
[0108] According to step 202 explained above, by calculating the coordinates of the intersection points and calculating the relative positional relationship between the tool and the curved machining surface at the intersection points, it is possible to distinguish between machining and insufficient machining on the curved machining surface by the tool.
[0109] By calculating the distinguishing information for curved surfaces, it is possible to differentiate which curved machining surface the tool is machining at the command points. If a correction of the toolpath data is performed, it is possible to correct the toolpath data so that the same curved machining surface is machined at command points both before and after the correction.
[0110] After step 202 has been executed, processing moves to step 203, which is a correction command point extraction step.
[0111] In step 203, the correction command point extraction unit 109 reads the toolpath data stored in the toolpath data storage unit 102 and reads the intersection point information stored in the intersection storage unit 108.
[0112] Subsequently, the correction command extraction unit 109 successively refers to relative positional relationships between the tool and the curved machining surface at the intersection points in the intersection information and extracts intersection points where the relative positional relationship indicates a state in which the curved machining surface intrudes with respect to the tool, or a state in which the curved machining surface is separated from the tool.
[0113] The Correction Command Point Extraction Unit 109 extracts command points that correspond to the extracted intersections as correction command points.
[0114] Fig. Figure 14 is a diagram illustrating a process for extracting correction command points in the toolpath correction device according to the first embodiment. Fig. Section 14 illustrates command points, each corresponding to command points CL0 to CL12.
[0115] In Fig. 14 specify u0, u1 and u2 attributes of command points based on distinguishing information of curved surfaces from intersection information, each corresponding to command points CL0 to CL12.
[0116] In Fig. 14 specifies u0 a command point for which no correction is required, u1 a command point that should be corrected, where the curved machining surface is in an intrusive state with respect to the tool, and u2 a command point that should be corrected, where the curved machining surface is in a state separate from the tool.
[0117] It is possible to extract correction command points using the procedure described above.
[0118] The correction command points extracted by the correction command point extraction unit 109 are stored in the correction command point storage unit 110.
[0119] According to step 203 explained above, it is possible to extract material removal and insufficient material removal on the curved machining surface using the tool.
[0120] After step 203 has been executed, processing proceeds to step 204, which is a command point correction direction determination step.
[0121] In step 204, the command point correction direction determination unit 111 reads the toolpath data stored in the toolpath data storage unit 102, reads the shape data stored in the shape data storage unit 106, and reads the correction command points stored in the correction command point storage unit 110.
[0122] The command point correction direction determination unit then extracts 111 command points that are contiguously arranged on the same plane below the majority of command points contained in the read toolpath data.
[0123] In practice, when determining whether the majority of command points are arranged on the same plane, the command point correction direction determination unit 111 only needs to determine whether a predetermined specified number or more of command points are present at positions spaced at intervals with errors less than or equal to a specified allowable error with respect to a given plane.
[0124] The specified number of command points and the permissible error for determining that the majority of command points are arranged on the same plane can be specified externally in advance.
[0125] Fig. Figure 15 is a first illustration to explain a process for determining command point correction directions and a process for correcting toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 15 illustrates a state in which an arrangement state in a plane PL1 of a subset of command points is seen from an oblique direction with respect to the toolpath OR1.
[0126] The plane PL1 is a plane that is parallel to a ZX plane and has a normal vector direction in a Y-axis direction.
[0127] Fig. Figure 16 is a second illustration to explain the process for determining command point correction directions and a process for correcting toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 16 illustrates a state in which an arrangement state of the command points CL0 to CL12 in the plane PL1, specified by the toolpath data, and an extraction of these command points from one side can be seen.
[0128] Subsequently, when a plurality of command points arranged in the same plane is extracted, the command point correction direction determination unit 111 determines whether the tool axis vectors are parallel based on tool axis vectors at the extracted command points.
[0129] In Fig. Figure 16 illustrates a state in which the tool axis vectors TV0 to TV12 are parallel to each other at the command points CL0 to CL12. All directions of the respective tool axis vectors TV0 to TV12 are Z-axis directions and are parallel to each other.
[0130] Subsequently, if it is determined that the tool axis vectors TV0 to TV12 are parallel to each other, the command point correction direction determination unit 111 determines a relationship between the tool axis vectors TV0 to TV12 and a plane in which the command points are arranged.
[0131] The relationship between the tool axis vectors TV0 to VT12 and the plane can be determined by establishing a relationship between the tool axis vectors TV0 to TV12 and a normal vector of the plane.
[0132] If it is determined that the tool axis vectors TV0 to TV12 and the plane are parallel, that is, that the tool axis vectors TV0 to TV12 are perpendicular to the normal vector of the plane, the command point correction direction determination unit 111 determines that correction directions of correction command points are directions of the tool axis vectors TV0 to TV12.
[0133] In Fig. Figure 16 illustrates a state in which the plane PL1, in which the command points CL0 to CL12 are arranged, and the tool axis vectors TV0 to TV12 at the command points CL0 to CL12 are in a parallel relationship.
[0134] All directions of the respective tool axis vectors TV0 to TV12 are the Z-axis direction. The normal vector direction of the plane PL1 is the Y-axis direction.
[0135] Consequently, the tool axis vectors TV0 to TV12 and the normal vector are perpendicular. Therefore, the tool axis vectors TV0 to TV12 and the plane PL1 are parallel. It is therefore determined that the command point correction directions are the directions of the tool axis vectors TV0 to TV12 with respect to the correction command points contained in command points CL0 to CL12.
[0136] In contrast, the tool axis vectors TV0 to TV12 at the command points arranged in the same plane are parallel to each other, and the tool axis vectors TV0 to TV12 and the plane are perpendicular, i.e., the tool axis vectors TV0 to TV12 are in a parallel relationship to the normal vector of the plane, the command point correction direction determination unit 111 determines that the command point correction directions of the correction command points are a direction lying in the plane.
[0137] If the plurality of command points arranged in the same plane is not extracted, if the tool axis vectors TV0 to TV12 at the command points arranged in the same plane are not parallel to each other, or if the tool axis vectors TV0 to TV12 at the command points arranged in the same plane are parallel to each other and the tool axis vectors TV0 to TV12 and the plane are not in a parallel or perpendicular relationship, the command point correction direction determination unit 111 determines that the command point correction directions of the correction command points are a vertical direction of the curved surface.
[0138] Details of the processing for determining command point correction directions in these patterns are explained in more detail below.
[0139] The command point correction direction determination unit 111 sequentially performs the processing described above on the other sections along the toolpath OR1. Consequently, it is possible to determine command point correction directions with respect to the correction command points.
[0140] The command point correction directions determined by the command point correction direction determination unit 111 are stored in the command point correction direction storage unit 112.
[0141] According to step 204 explained above, the operator does not need to specify correction directions in relation to the command points in advance for a machining pattern. This improves work efficiency.
[0142] In a toolpath containing multiple machining patterns, command point correction directions for each section are determined based on toolpath data. Therefore, the operator does not need to specify command point correction directions in advance for the machining patterns. This improves work efficiency.
[0143] After step 204 has been executed, the processing moves on to step 205, which is a toolpath data correction step.
[0144] In step 205, the toolpath data correction unit 113 reads the toolpath data stored in the toolpath data storage unit 102, reads the tool data stored in the tool data storage unit 104, and reads the shape data stored in the shape data storage unit 106.
[0145] The toolpath data correction unit 113 reads the intersection point information stored in the intersection point storage unit 108, reads the correction command points stored in the correction command point storage unit 110, and reads the command point correction directions stored in the command point correction direction storage unit 112.
[0146] Subsequently, the toolpath data correction unit 113 performs a correction by moving the correction command points in the command point correction directions at the correction command points.
[0147] The toolpath data correction unit 113 corrects the toolpath data in such a way that the tool with the curved machining surface comes into contact with the machining shape when the tool is positioned at the command points after the correction.
[0148] If the command point correction directions at the correction command points are the direction of the tool axis vectors TV0 to TV12 based on a relative positional relationship between the tool and the curved machining surface from intersection information corresponding to the correction command points, the command points are moved in the direction of the tool axis vectors TV0 to TV12 when the tool penetrates the curved machining surface, the command points are moved in the opposite direction to the direction of the tool axis vectors TV0 to TV12 when the tool is separated from the curved machining surface, and the command points are corrected so that the tool comes into contact with the curved machining surface.
[0149] Fig. Figure 17 is a first illustration to explain a correction process for toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 17 illustrates a condition in which a correction of command point CL3 is performed when a correction direction with respect to command point CL3 is a tool axis vector direction MD3.
[0150] The intersection point CP3, which corresponds to the command point CL3 before the correction, is a point where the curved machining surface S1 penetrates deepest into the tool shape of the tool T1, on the curved machining surface S1. The intersection point CP3 has a relative positional relationship where the curved machining surface S1 penetrates with respect to the tool T1.
[0151] In this process, the toolpath data correction unit 113 moves the command point CL3 in the tool axis vector direction MD3 and calculates a position of a command point where the tool shape and the curved machining surface S1 are in contact when the tool T1 is positioned at a command point CL3' after the movement.
[0152] As a result, command point CL3 changes to command point CL3' after the movement. An intersection point CP3', corresponding to command point CL3', is obtained. When tool T1 is positioned at command point CL3' after the movement, the tool shape and the curved machining surface S1 are in contact at intersection point CP3'.
[0153] For example, as a method for moving the tool T1 from the command point CL3 in the tool axis vector direction MD3, there is a method for calculating an intersection point between a half-straight light extending in the opposite direction of the tool axis vector direction MD3 from the intersection point CP3, and the surface of the tool shape of the tool T1, and moving the command point CL3 in the tool axis vector direction MD3 by a distance between the intersection point CP3 and the calculated intersection point.
[0154] For example, there is a method for moving the command point CL3 in the tool axis vector direction MD3 by a certain fixed distance, such that the tool shape of the tool T1 and the curved machining surface S1 are separated, gradually bringing a point generated by a bisecting process closer to the opposite direction of the tool axis vector direction MD3 and repeating this until the tool shape comes into contact with the curved machining surface S1.
[0155] Another example is given in Fig. 18 illustrates. Fig. Figure 18 is a second illustration explaining the correction process for toolpath data in the toolpath correction device according to the first embodiment. Fig. Figure 18 illustrates a condition in which a correction is performed when a command point correction direction is a tool axis vector direction MD6 with respect to the correction command point CL6.
[0156] The intersection point CP6, which corresponds to the command point CL6 before the correction, is the nearest contact point between the tool shape of tool T1 and the curved machining surface S2. The intersection point CP6 has a relative positional relationship in which the curved machining surface S2 is separated from the tool T1.
[0157] In this process, the toolpath data correction unit 113 moves the command point CL6 in the opposite direction to the tool axis vector direction MD6 and calculates a position of a command point where the tool shape and the curved machining surface S2 are in contact when the tool T1 is positioned after the movement with respect to a command point.
[0158] As a result, the command point CL6 changes to a command point CL6' after the movement, an intersection point CP6' is obtained which corresponds to the command point CL6', and if the tool T1 is positioned at the command point CL6' after the movement, the tool shape and the curved machining surface S2 are in contact at the intersection point CP6'.
[0159] Therefore, command point CL3' and command point CL6' are retained after correction with respect to the correction command point CL3 and command point CL6.
[0160] Subsequently, the toolpath data correction unit 113 corrects the toolpath data by replacing the command points corrected by the procedure described above with the command points before the correction and stores the corrected toolpath data in the corrected toolpath data storage unit 114.
[0161] According to step 205 explained above, it is possible to correct the correction command points by correcting the correction command points based on the command point correction directions determined from the toolpath data, while maintaining machining patterns at command points around the correction command points.
[0162] The processing will stop after step 205 has been executed.
[0163] In addition to the above explanation of the processing, details of the processing for determining other command point correction directions are explained in step 204, and details of the processing for correcting the correction command points based on the other command point correction directions are explained in step 205 using other examples.
[0164] Another example in step 204 is given in Fig. 19 illustrated. Fig. Figure 19 is a fifth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment.
[0165] In Fig. Figure 19 illustrates a state in which a tool T2 is arranged on a toolpath OR2 for machining a group SA2 of curved machining surfaces on a lateral side surface in a machining shape M2.
[0166] Fig. Figure 20 is a sixth illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 20 illustrates a state in which an arrangement state of a subset of command points in a plane PL2 is determined with respect to the one in Fig. 19 illustrated toolpath OR2 can be seen from an oblique direction.
[0167] The plane PL2 is a plane parallel to an XY plane with a normal vector direction in the Z-axis direction.
[0168] Fig. Figure 21 is a seventh illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 21 illustrates a state in which an arrangement state of some command points in the plane PL2 with respect to the toolpath OR2 and an extraction of the command points by arrangement in the same plane from the top surface can be seen.
[0169] All tool axis vectors at the extracted command points are in the Z direction and parallel to each other. Therefore, the tool axis vectors and the plane PL2 are perpendicular, meaning the tool axis vectors are in a parallel relationship with a normal vector of the plane. Therefore, it is determined that the command point correction directions of the correction command points are the direction lying in the plane.
[0170] Fig. Figure 22 is an eighth illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 22 illustrates a state in which a correction performed at a correction command point CL13, when a command point correction direction MD13 at the correction command point is the direction lying in the plane, is visible from a side face.
[0171] An intersection point CP13, corresponding to the command point CL13 before correction, is a point where a curved machining surface S5 penetrates most deeply with respect to a tool shape of the tool T2 on the curved machining surface S5. The intersection point CP13 has a relative positional relationship where the curved machining surface S5 penetrates with respect to the tool T2.
[0172] In this process, the toolpath data correction unit 113 moves the command point CL13 in the plane direction and calculates a position of a command point where the tool shape and the curved machining surface S5 are in contact when the tool T2 is positioned after the movement with respect to a command point.
[0173] As a result, the command point CL13 changes to a command point CL13' after the movement, an intersection point CP13' is obtained that corresponds to the command point CL13', and the tool shape and the curved machining surface S5 are in contact at the intersection point CP6' when the tool T2 is positioned at the command point CL13' after the movement.
[0174] In practice, for example, using a method for moving the correction command points in directions where the degree of movement is minimal, it is possible to determine, when command points are moved in a plane, in which directions in the plane the correction command points are moved, if the command point correction directions are the direction lying in the plane.
[0175] Alternatively, it is possible to determine the directions using a method for moving direction vectors from the correction command points in the direction or opposite direction of a vector projected onto the plane to intersections corresponding to the correction command points, or normal vectors of a curved surface of curved machining surfaces at the intersections corresponding to the correction command points, using the bisecting method explained above.
[0176] Another example in step 204 is given in Fig. 23 illustrated. Fig. Figure 23 is a ninth illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the first embodiment. Fig. Figure 23 illustrates a state in which a tool T3 is positioned with respect to a part of a toolpath OR3 for machining a group SA3 of curved machining surfaces.
[0177] In the Fig. In the illustrated example 23, a plurality of command points arranged in the same plane are not extracted with respect to the toolpath OR3. In this case, the command point correction direction determination unit 111 determines that the command point correction directions of correction command points are the vertical direction to the curved surface.
[0178] Furthermore, in this example, a correction of a [missing information] is made at step 205. Fig. 24 illustrated correction command point CL14 was performed. Fig. Figure 24 is a tenth illustration to explain the machining mode, toolpath and tool shape in the toolpath correction device according to the first embodiment.
[0179] In Fig. Figure 24 illustrates a state in which a correction performed at the correction command point CL14, when the command point correction direction at the correction command point CL14 is the vertical direction to the curved surface, can be seen from the direction of a side face.
[0180] An intersection point CP14, corresponding to the correction command point CL14, is the nearest contact point of a curved machining surface S6 with a tool shape of the tool T3. The intersection point CP14 has a relative positional relationship in which the tool T3 is separated from the curved machining surface S6.
[0181] In this process, the toolpath data correction unit 113 moves the correction command point CL14 in a normal vector direction MD14 of a curved machining surface at the intersection point CP14 and calculates a position of a command point at which the tool shape and the curved machining surface S6 are in contact when the tool T3 is positioned with respect to a command point after the movement.
[0182] As a result, the correction command point CL14 changes to a command point CL14' after the correction, an intersection point CP14' is obtained that corresponds to the command point CL14', and if the tool T3 is positioned at the command point CL14' after the movement, the tool shape and the curved machining surface S6 are in contact at the intersection point CP14'.
[0183] The operation of the toolpath correction device according to the first embodiment is carried out as explained above.
[0184] In the toolpath correction device according to the first embodiment, intersection point information is calculated, which is information about intersection points by a tool on a curved machining surface. Correction command point information, which is command points that should be corrected based on a relative positional relationship with a machining tool shape, is extracted. Therefore, it is possible to detect material removal and insufficient material removal on a machining shape at the command points by the tool.
[0185] Based on the intersection information, it is possible to detect material removal and insufficient material removal when a radius end mill or a flat end mill is used, which are different turning tools than the ball end mill, or when the tool is a tool with an asymmetrical shape, such as a turning tool.
[0186] Command point correction directions, which are the directions in which the correction command points are corrected, are determined based on toolpath data. Therefore, the operator does not need to specify correction directions for the command points in advance. This improves work efficiency. Second embodiment.
[0187] A configuration example of the toolpath correction device 100 according to a second embodiment of the present invention is explained below.
[0188] The configuration of the toolpath correction device 100 according to the second embodiment is identical to the configuration in the first embodiment. Therefore, a detailed explanation of the configuration is omitted. A flowchart illustrating the operation of the toolpath correction device 100 according to the second embodiment is identical to the flowchart in the first embodiment.
[0189] The operation of the toolpath correction device 100 according to the second embodiment is described below with reference to Fig. 3 explained.
[0190] The explanation of the process in step 201 is omitted, as the process is the same as in the first embodiment.
[0191] Data entered into the toolpath correction device 100 according to the second embodiment are processed with reference to Fig. 25 to Fig. 28 explained.
[0192] Fig. Figure 25 is a first illustration to explain a machining mode, a toolpath and a tool shape in the toolpath correction device according to the second embodiment.
[0193] In Fig. Figure 25 illustrates a state in which a post-processing shape M4 of a machining target object can be seen from an oblique direction according to shape data entered into the toolpath data input unit 101 of the toolpath correction device 100 according to the second embodiment.
[0194] An example of form data is CAD data, in which a machining shape of the target object is described by a formula and represented by a curved machining surface.
[0195] Fig. Figure 26 is a second illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the second embodiment. Fig. 26 illustrates a condition in which the Fig. 25 illustrated post-processing mode M4 can be seen from a side surface.
[0196] One in Fig. The illustrated group SA4 of curved machining surfaces is formed by curved surfaces defined by formulas of a Fig. Figure 26 illustrates the majority of curved machining surfaces S10 to S15.
[0197] The curved machining surfaces S10 and S11 maintain a continuous connection between adjacent curved surfaces in a connecting section e10 of the adjacent curved surfaces.
[0198] The curved machining surfaces S12 and S13 maintain a continuous connection between adjacent curved machining surfaces in a connecting section e12 of the adjacent curved machining surfaces.
[0199] The curved machining surfaces S14 and S15 maintain a continuous connection of adjacent curved surfaces in a connecting section e14 of adjacent curved machining surfaces.
[0200] The curved machining surfaces S11 and S12 do not maintain a continuous connection of curved surfaces in a connecting section e11 of adjacent curved machining surfaces.
[0201] The curved machining surfaces S13 and S14 do not maintain a continuous connection of curved surfaces in a connecting section e13 of adjacent curved machining surfaces.
[0202] Fig. Figure 27 is a third illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the second embodiment. Fig. 27 illustrates a state in which a toolpath OR4, which is in toolpath data for machining the group SA4 of curved machining surfaces in the Fig. The post-processing mode M4, illustrated in Figure 25, is described and can be viewed from an oblique direction.
[0203] Fig. Figure 28 is a fourth illustration to explain the machining mode, toolpath, and tool shape in the toolpath correction device according to the second embodiment. Fig. Figure 28 shows an example of a tool shape represented by CAD data, which serves as tool data for defining a tool T4 based on the in Fig. 27 illustrated toolpath OR1 moved.
[0204] The tool T4 used is a radius end mill. The tool radius R1, which is equivalent to the length from a tool center axis to an outer tool circumference, and a radius R2 of a rounding of a corner section on a tool edge are specified for tool T4.
[0205] In the case of a tool shape with a chamfer, an inclination of a section of the outer tool circumference with respect to the tool center axis can be specified in addition to the tool radius R1 and the radius R2.
[0206] After step 201 has been executed, the processing proceeds to step 202.
[0207] The process in step 202 of the second embodiment is identical to the process in the first embodiment. Therefore, a further explanation of the processing in step 202 is omitted.
[0208] Fig. Figure 29 is a first illustration explaining a calculation process for intersection point information in the toolpath correction device according to the second embodiment. Fig. Figure 29 illustrates a state in which an arrangement state of the tool T4 on the toolpath OR4 for machining the group SA4 of curved machining surfaces from an oblique direction can be seen.
[0209] Fig. Figure 30 is a second illustration explaining the calculation process for intersection point information in the toolpath correction device according to the second embodiment. Fig. Figure 30 illustrates a state in which a pass state of tool T4 on toolpath OR4 is used to machine the in Fig. Figure 29 illustrates group SA4 of curved machining surfaces, which can be seen from a side surface.
[0210] Fig. 30 is a sectional view showing a Fig. Figure 29 illustrates a perspective view cut through an XZ plane. A machining shape and a toolpath in the XZ cutting plane are shown.
[0211] CL20 to CL32 specify command points defined by toolpath data. These command points are linearly interpolated.
[0212] TV20 to TV32 specify tool axis vectors at command points CL20 to CL32.
[0213] Fig. Figure 31 is a third illustration explaining the calculation process for intersection point information in the toolpath correction device according to the second embodiment. Fig. 31 illustrates a calculation example for intersection points CP20 to CP32, which each correspond to command points CL20 to CL32.
[0214] After step 202 has been executed, the processing proceeds to step 203.
[0215] In step 203, the correction command point extraction unit 109 reads the toolpath data stored in the toolpath data storage unit 102 and reads the intersection point information stored in the intersection storage unit 108.
[0216] Subsequently, the Correction Command Point Extraction Unit 109 extracts a combination of command points, two of which are non-contiguous intersections corresponding to two contiguous command points along a curved machining surface. Specifically, when comparing curved surface discrimination information at two contiguous intersections based on curved surface discrimination information indicating which curved surfaces contain intersection point locations, two contiguous intersections on different curved machining surfaces are extracted.
[0217] In this context, if distinguishing information of curved surfaces from two connected intersection points that are present on a boundary where intersection points are formed from a plurality of curved machining surfaces, and at least one or more curved machining surfaces are common to each other, the intersection points are not considered to be present on different curved machining surfaces.
[0218] The Correction Command Point Extraction Unit 109 extracts, as a combination of correction command points, two contiguous first and second command points that correspond to the extracted two contiguous intersection points.
[0219] Fig. Figure 32 is a first illustration explaining a process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 32 illustrates a situation where distinguishing information for curved surfaces is shown at the intersection points CP20 to CP32, which correspond to the command points CL20 to CL32.
[0220] The intersection points CP20 to CP32 indicate on which curved machining surfaces they are located. For example, intersection point CP20 indicates that it is located on curved machining surface S10. Intersection point CP21 indicates that it is located on the boundary between curved machining surface S10 and curved machining surface S11.
[0221] Fig. Figure 33 is a second illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 33 illustrates a state in which a combination of correction command points is extracted from command points CL20 to CL32.
[0222] When reference is made to distinguishing information of curved surfaces contained in intersection information of two contiguous intersections in intersections CP20 to CP32, a combination of intersections where no correction of their corresponding command points is required is specified as an attribute v0, and a combination of intersections where a correction of their corresponding command points is required is specified as an attribute v1.
[0223] When the intersection points CP21 and CP22 are combined, the intersection point CP21 is located on the boundary between the curved machining surface S10 and the curved machining surface S11, and the intersection point CP22 is located on the curved machining surface S11.
[0224] The intersection points CP21 and CP22 share the curved machining surface S11. Therefore, no correction is required for command point CL21 and command point CL22, which correspond to intersection point CP21 and intersection point CP22, respectively.
[0225] When the intersection points CP24 and CP25 are combined, the intersection point CP24 is present on the curved machining surface S11 and the intersection point CP25 is present on the curved machining surface S12.
[0226] A curved machining surface, which intersection points CP24 and CP25 share, is missing. Therefore, a correction is required for command points CL24 and CL25, which correspond to intersection points CP24 and CP25, respectively. Command points CL24 and CL25 are extracted as a combination of correction command points.
[0227] As in the procedure described above, the Correction Command Point Extraction Unit 109 extracts a combination of correction command points, two of which are non-contiguous intersections corresponding to two contiguous command points along a curved machining surface.
[0228] As another method for extracting a combination of command points, two of which are non-connected intersection points corresponding to two contiguous command points along a curved machining surface, it is possible to extract the combination of command points by extracting a case where a curve interpolating the two intersection points along the curved machining surface intersects the boundary between the curved machining surfaces.
[0229] The combination of correction command points extracted by the correction command point extraction unit 109 is stored in the correction command point storage unit 110.
[0230] According to step 203 explained above, it is possible to extract bracing and insufficient bracing between two adjacent command points.
[0231] After step 203 has been executed, the processing proceeds to step 204.
[0232] The process according to the second embodiment in step 204 is identical to the process according to the first embodiment. Therefore, an explanation of the processing in step 204 is omitted.
[0233] After step 204 has been completed, the processing proceeds to step 205.
[0234] The process according to the second embodiment at step 205 differs from the process according to the first embodiment. Therefore, the processing at step 205 is explained.
[0235] In step 205, the toolpath data correction unit 113 reads the toolpath data stored in the toolpath data storage unit 102, reads the tool data stored in the tool data storage unit 104, reads the shape data stored in the shape data storage unit 106, reads the intersection point information stored in the intersection point storage unit 108, reads the correction command points stored in the correction command point storage unit 110, and reads the command point correction directions stored in the command point correction direction storage unit 112.
[0236] Subsequently, the toolpath data correction unit 113 inserts a new command point between two command points in a combination of the read correction command points.
[0237] In this process, the toolpath data correction unit 113 corrects the newly inserted command point based on differentiation information of curved surfaces of intersection points that correspond to the correction command points, such that it has intersection points on boundaries under a plurality of curved machining surfaces according to the respective types of differentiation information of curved surfaces or simultaneously has intersection points on the plurality of curved machining surfaces according to the respective types of differentiation information of curved surfaces.
[0238] If the command point correction direction is a normal vector direction of a curved surface, while the tool is caused to move along a toolpath between two correction command points, the toolpath data correction unit 113 moves the tool in the direction of a vector obtained by interpolating two normal vectors of a curved surface at the intersections corresponding to the correction command points, or in a direction opposite to that direction, and reinserts a command point to correct the toolpath data so that it simultaneously has intersections with respect to two curved machining surfaces, or has an intersection on the boundary between the two curved machining surfaces.
[0239] As a method for calculating a new command point, it is sufficient, for example, to create points at fixed intervals on a toolpath between the correction command points, to calculate a vector at a point that is generated based on two normal vectors of a curved surface, and, when the tool is positioned at the respective generated points and moved in the direction of the calculated vector or in the opposite direction to that direction, to determine whether the new command point has intersections with respect to the two curved machining surfaces or intersections on the boundary between the two curved machining surfaces.
[0240] If the toolpath simultaneously contains intersection points with respect to the two curved machining surfaces, or if a plurality of command points containing intersection points on the boundary between the two curved machining surfaces is obtained, it is possible to determine the toolpath using a method for selecting a point where the degree of movement of an interpolation path is smallest among the plurality of command points.
[0241] Fig. Figure 34 is a third illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 34 illustrates a side surface of the tool 4 at the time when a command point correction direction is a normal vector direction of a curved surface with respect to command point CL24 and command point CL25, which are a combination of correction command points.
[0242] The intersection point CP24, which corresponds to the command point CL24, is obtained as a point where the curved machining surface S11 is in contact with a tool shape of the tool T4.
[0243] The intersection point CP25, which corresponds to the command point CL25, is obtained as a point where the curved machining surface S12 is in contact with the tool shape of the tool T4.
[0244] The toolpath data correction unit 113 calculates a normal vector NV24 at the intersection point CP24 on the curved machining surface S11 and a normal vector NV25 at the intersection point CP25 on the curved machining surface S12.
[0245] Fig. Figure 35 is a fourth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment.
[0246] In Fig. Figure 35 illustrates a state in which a vector MV1 is computed which interpolates the computed normal vectors NV24 and NV25 at a command point CLM1 at a specific point on an interpolation path between the command point CL24 and the command point CL25.
[0247] One method for calculating the vector MV1 at this time is, for example, a method for linearly interpolating the normal vector NV24 and the normal vector NV25 according to a ratio of the distance between the command point CL24 and the command point CLM1 and the distance between the command point CL25 and the command point CLM1.
[0248] Fig. Figure 36 is a fifth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment.
[0249] In Fig. Figure 36 illustrates a condition in which, when the tool T4 is positioned with respect to the command point CLM1, the tool T4 is moved from the command point CLM1 in the direction of the computed vector MV1 and a command point CLM1' containing an intersection point CPM1 on the boundary between the curved machining surface S11 and the curved machining surface S12 is recalculated.
[0250] As a method for moving the tool T4 from the command point CLM1, there is a method for gradually moving the tool T4 from the command point CLM1 in the direction of the vector MV1 using the bisection method and repeating the movement until the tool T4 is positioned on the boundary between the curved machining surface S11 and the curved machining surface S12.
[0251] Therefore, the command point CLM1', which is newly inserted between command point CL24 and command point CL25, can be preserved with respect to command point CL24 and command point CL25, which are a set of correction command points.
[0252] Another example of a command point correction at step 205 in the second embodiment is given with reference to Fig. 37 to Fig. 39 explained.
[0253] Fig. Figure 37 is a sixth illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 37 illustrates a side surface at the time when a command point correction direction is a normal vector direction of a curved surface with respect to command point CL29 and command point CL30, which are a set of correction command points.
[0254] The intersection point CP29, which corresponds to the command point CL29, is obtained as a point where the curved machining surface S13 is in contact with the tool shape of the tool T4.
[0255] The intersection point CP30, which corresponds to the command point CL30, is obtained as a point where the curved machining surface S14 is in contact with the tool shape of the tool T4.
[0256] The toolpath data correction unit 113 calculates a normal vector NV29 at the intersection point CP29 on the curved machining surface S13 and a normal vector NV30 at the intersection point CP30 on the curved machining surface S14.
[0257] Fig. Figure 38 is a seventh illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment.
[0258] In Fig. Figure 38 illustrates a state in which a vector MV2 is computed, which interpolates the computed normal vectors NV29 and NV30 at a command point CLM2 at a specific point on an interpolation path between the command point CL29 and the command point CL30.
[0259] One method for calculating the vector MV2 at this time is, for example, a method for linearly interpolating the normal vector NV29 and the normal vector NV30 according to a ratio of the distance between the command point CL29 and the command point CLM2 and the distance between the command point CL30 and the command point CLM2.
[0260] Fig. Figure 39 is an eighth illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment.
[0261] In Fig. Figure 39 illustrates a state in which, when the tool T4 is positioned with respect to the command point CLM2, the tool T4 is moved from the command point CLM2 in the opposite direction to the calculated vector MV2 and a command point CLM2', at which intersection points CPM2a and CPM2b are each positioned simultaneously on the curved machining surfaces S13 and S14, is recalculated.
[0262] As a method for moving the tool T4 from the command point CLM2, there is a method for gradually moving the tool T4 from the command point CLM2 in the opposite direction of the vector MV2 by means of the bisection method and repeating the movement until the tool T4 has intersection points simultaneously with respect to the curved machining surface S13 and the curved machining surface S14.
[0263] Therefore, the newly inserted command point CLM2' between command point CL29 and command point CL30 is created with respect to command point CL29 and command point CL30, which are a set of correction command points.
[0264] The toolpath data correction unit 113 corrects the toolpath data by inserting the newly created command point between two command points in the combination of correction command points using the method described above, and stores the corrected toolpath data in the corrected toolpath data storage unit 114.
[0265] According to step 205 explained above, by correcting the correction command points with the command point correction directions corrected on the basis of the toolpath data, it is possible to correct the correction command points while maintaining machining patterns at command points around the correction command points.
[0266] Processing is terminated after step 205 has been executed.
[0267] Another example of a command point correction at step 205 in the second embodiment is given with reference to Fig. 40 to Fig. 42 explained.
[0268] Fig. Figure 40 is a ninth illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 40 illustrates the top surface of a curved machining surface at the time when command point correction directions at a command point CL33 and a command point CL34, which are a combination of correction command points, are a direction lying in the plane.
[0269] An intersection point CP33, corresponding to the command point CL33, is obtained as a point where a curved machining surface S16 is in contact with a tool shape of a tool T5.
[0270] An intersection point CP34, corresponding to a command point CL34, is obtained as a point where a curved machining surface S17 is in contact with the tool shape of the tool T5.
[0271] Fig. Figure 41 is a tenth illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 41 illustrates a state of a vector MV3, which is a specific direction in a plane, serving as a direction in which the tool T5 is moved at a specific command point CLM3 along an interpolation path between command point CL33 and command point CL34.
[0272] Fig. Figure 42 is an eleventh illustration to explain the process for correcting toolpath data in the toolpath correction device according to the second embodiment.
[0273] In Fig. Figure 42 illustrates a condition in which, when the tool T5 is positioned with respect to the command point CLM3, the tool T5 is moved from the command point CLM3 in the direction of the vector MV3 and a command point CLM3' is calculated which contains an intersection point CPM3 on the boundary between the curved machining surface S16 and the curved machining surface S17.
[0274] As a method for moving the tool T5 from the command point CLM3, there is a method for gradually moving the tool T5 from the command point CLM3 in the direction of the vector MV3 by means of the bisection method and repeating the movement until the tool is in contact with the boundary between the curved machining surface S16 and the curved machining surface S17.
[0275] When a vector representing a specific direction in the plane is used at a particular point on the interpolation path, and the tool is not in contact with the boundary between the two curved machining surfaces, the toolpath data correction unit 113 modifies the vector representing a specific direction in the plane and determines a new command point, while the same processing is repeated using a plurality of vectors.
[0276] When a plurality of new command points are calculated at a given point on the interpolation path, it is possible to determine a new command point from the plurality of command points using a method for selecting a command point with the smallest error of a distance with respect to the original interpolation path.
[0277] Furthermore, if new command points are calculated at a plurality of points on the interpolation path, it is possible to finally determine a new command point from the command points using a procedure for selecting a command point with the smallest error of a distance with respect to the original interpolation path.
[0278] Therefore, if the command point correction direction is the direction lying in the plane with respect to a set of command point CL33 and command point CL34, which is a set of correction command points, it is possible to obtain a new command point CLM3' that is inserted between command point CL33 and command point CL34.
[0279] Yet another example of a command point correction at step 205 in the second embodiment is given with reference to Fig. 43 to Fig. 45 explained.
[0280] Fig. Figure 43 is a twelfth illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 43 illustrates a side surface at the time when command point correction directions at a command point CL35 and a command point CL36, which are a combination of correction command points, are a tool axis vector direction.
[0281] A tool axis vector of tool T6 at command point CL35 is specified as TV35. A tool axis vector of tool T6 at command point CL36 is specified as TV36.
[0282] An intersection point CP35, corresponding to the command point CL35, is obtained as a point where a curved machining surface S18 is in contact with a tool shape of the tool T6.
[0283] An intersection point CP36, corresponding to the command point CL36, is obtained as a point where a curved machining surface S19 is in contact with the tool shape of the tool T6.
[0284] Fig. Figure 44 is a thirteenth illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig. Figure 44 illustrates a state of a direction vector MV4, which serves as the direction in which the tool T6 is moved when the tool T6 is positioned at a command point CLM4 at a particular point on an interpolation path between the command point CL35 and the command point CL36.
[0285] The direction vector MV4 is calculated as a vector that is parallel to the tool axis vectors at command point CL35 and command point CL36.
[0286] Fig. Figure 45 is a fourteenth illustration explaining the process for correcting toolpath data in the toolpath correction device according to the second embodiment. Fig.Figure 45 illustrates a state in which, when the tool T6 is positioned with respect to the command point CLM4, the tool T6 is moved from the command point CLM4 in the direction of the direction vector MV4 and a command point CLM4' is calculated which contains an intersection point CPM4a and an intersection point CPM4b simultaneously on the curved machining surface S18 and the curved machining surface S19.
[0287] As a method for moving the tool T6 from the command point CLM4, there is a method for gradually moving the tool T6 from the command point CLM4 in the opposite direction of the direction vector MV4 by means of the bisection method and repeating the movement until the tool T4 comes into contact with the curved machining surface S18 and the curved machining surface S19 simultaneously.
[0288] Therefore, the toolpath data correction unit 113 creates the newly inserted command point CLM4' between command point CL35 and command point CL36 with respect to command point CL35 and command point CL36, which are a set of correction command points.
[0289] The operation of the tool path correction device 100 according to the second embodiment is carried out as explained above.
[0290] In the toolpath correction device 100 according to the second embodiment, intersection point information is calculated. This information concerns the intersection points of a tool on a curved machining surface. Information about a combination of correction command points, which is a combination of command points that should be corrected based on the differentiation information of curved surfaces, is extracted. Therefore, it is possible to detect excessive and insufficient material removal on a machining feature between two adjacent command points.
[0291] It should be noted that the first and second embodiments describe configuration examples of the toolpath correction device 100, which include the toolpath data input unit 101, the tool data input unit 103, the shape data input unit 105, the toolpath data storage unit 102, the tool data storage unit 104, and the shape data storage unit 106. However, the configuration examples of the toolpath correction device 100 are not limited to these configuration examples. In the toolpath correction device 100 according to the first and second embodiments, toolpath data, tool data, and shape data that are externally input into the toolpath correction device 100 can be directly entered into the intersection calculation unit 107, the correction command point extraction unit 109, the command point correction direction determination unit 111, and the toolpath data correction unit 113.
[0292] As explained above, the toolpath correction device 100 according to the first and second embodiments includes an intersection calculation unit which, based on toolpath data describing a movement of a tool to machine a machining target object or the machining target object itself, tool data of the tool and shape data of a machining shape of the machining target object, calculates intersection information, which is information about intersection points through the tool on a curved machining surface of the machining shape at the time when the tool is positioned at command points described in the toolpath data; and a correction command point extraction unit which, based on the toolpath data and the intersection information, extracts correction command points, which are command points that should be corrected at the command points described in the toolpath data.a command point correction direction determination unit that determines command point correction directions, which are directions in which the respective correction command points extracted by the correction command point extraction unit should be corrected, and a toolpath data correction unit that corrects the toolpath data by correcting the correction command points according to the command point correction directions based on the tool data, shape data, intersection information, correction command points, and command point correction directions, such that the tool comes into contact with the curved machining surface.
[0293] The intersection point information, which is information about the points where the tool intersects the curved machining surface, is calculated. Correction command point information, which is command points that should be corrected based on the intersection point information, is extracted. Therefore, it is possible to determine that the tool is indeed intersecting a workpiece at command points, even if the command points are located in an area on the outside of the shape data.
[0294] With the toolpath correction device 100, it is possible to determine whether the tool is in a cutting state when a radius end mill or a flat end mill is used, which are different turning tools than the ball end mill, or when the tool is a tool with an asymmetrical shape, such as a turning tool.
[0295] With the toolpath correction device 100, the correction command points are extracted based on the intersection point information. Therefore, it is possible to detect insufficient material removal even if the command points are located in an area on the outside of the machining die.
[0296] The intersection calculation unit calculates, based on the intersection information, a relative positional relationship between the tool and the curved machining surface at the time the tool is positioned at the command points. The correction command point extraction unit extracts the command points as correction command points based on the relative positional relationship between the tool and the curved machining surface of the intersection information when the tool is detached from the curved machining surface and when the curved machining surface penetrates the interior of the tool.
[0297] By calculating the relative positional relationship between the tool and the curved machining surface at the intersection points, it is possible to distinguish between machining and insufficient machining on the curved machining surface by the tool.
[0298] Furthermore, the intersection calculation unit calculates, when the tool is in contact with the curved machining surface, a coordinate of a point where the tool and the curved machining surface are in contact; when the tool is separated from the curved machining surface, a coordinate of the nearest contact point of the tool and the curved machining surface on the curved machining surface; and when the curved machining surface penetrates into the interior of the tool, a coordinate of a point where the tool and the curved machining surface are furthest apart on the curved machining surface.If a curve interpolating two intersection points along the curved machining surface, corresponding to the two contiguous command points at the two intersection points, intersects the boundary between the curved machining surfaces, the correction command point extraction unit extracts the two command points as a combination of correction command points.
[0299] Consequently, it is possible to extract the tension and insufficient tension between the two adjacent command points.
[0300] Furthermore, the intersection calculation unit calculates curved surface discrimination information in addition to the intersection point information to distinguish on which curved machining surface of the machining shape the positions of the intersection points are located. Based on the curved surface discrimination information, the correction command point extraction unit determines that if respective groups of curved machining surfaces containing the two intersection points corresponding to the two connected command points do not share at least one or more curved machining surfaces, the curve that interpolates the two intersection points along the curved machining surface intersects the boundary between the curved machining surfaces.
[0301] Consequently, it is possible to distinguish which curved machining surface the tool is machining at the command points. If a correction of the toolpath data is performed, it is possible to correct the toolpath data in such a way that the same curved machining surface is machined at command points both before and after the correction.
[0302] The toolpath data correction unit corrects the toolpath data so that the tool is in contact with the curved machining surface at the correction command points.
[0303] Consequently, if the toolpath data is used after correction, it is possible to perform machining without insufficient or excessive material removal.
[0304] The toolpath correction device 100 further includes a command point correction direction determination unit, which determines command point correction directions that are the directions in which the correction command points extracted by the correction command point extraction unit should be corrected. The toolpath data correction unit corrects the toolpath data according to the command point correction directions.
[0305] Consequently, it is possible to correct the toolpath data according to the command point correction directions in which a correction is to be performed at the respective correction command points.
[0306] The command point correction direction determination unit determines that the command point correction directions of the correction command points are a normal vector direction of a curved surface of the curved machining surface at the intersection points corresponding to the correction command points.
[0307] Consequently, the operator does not need to specify correction directions in advance with respect to the command points according to machining patterns. Work efficiency is improved.
[0308] The command point correction direction determination unit divides the command points into a plane section command point group, which is a set of contiguous command points that exist in the same plane, and a link section command point group, which is not included in the plane section command point group. It then determines whether the tool axis vectors of the command points in the plane section command point group are parallel to each other. If the tool axis vectors are found to be parallel, the command point correction direction determination unit further determines a relationship between the tool axis vectors and the plane.If it is determined that the tool axis vectors and the plane are parallel, the command point correction direction determination unit determines that the command point correction directions of the correction command points contained in the plane section command point group are a tool axis vector direction. If it is determined that the tool axis vectors and the plane are perpendicular, the command point correction direction determination unit determines that the command point correction directions of the correction command points contained in the plane section command point group are the direction lying in the plane.If, however, it is determined that the tool axis vectors are not parallel to each other, the command point correction direction determination unit determines that the command point correction directions of the correction command points contained in the plane section command point group are a normal vector direction of a curved surface of the curved machining surface at the intersections corresponding to the correction command points. The command point correction direction determination unit determines that the command point correction directions of the correction command points contained in the joint section command point group are a normal vector direction of a curved surface of the curved machining surface at the intersections corresponding to the correction command points.
[0309] Consequently, in a toolpath containing multiple machining patterns, the command point correction directions for each section are determined based on the toolpath data. Therefore, the operator does not need to specify command point correction directions in advance according to the machining patterns. This improves work efficiency.
[0310] By correcting the command points according to the command point correction directions determined on the basis of the toolpath data, it is possible to correct the command points while maintaining the machining patterns at the command points around the correction command points.
[0311] The toolpath data correction unit corrects the toolpath data by inserting a new command point to simultaneously have intersections with respect to two curved machining surfaces, where a first and a second intersection corresponding to the combination of correction command points are present.
[0312] Consequently, since the toolpath data crosses the boundary between the curved machining surfaces after correction, it is possible to perform machining without insufficient or excessive material removal at the boundary between the curved machining surfaces.
[0313] The toolpath data correction unit corrects the toolpath data by inserting a new command point to have intersections on the boundary between two curved machining surfaces, where a first and a second intersection corresponding to the combination of correction command points are present.
[0314] Consequently, after correction, the toolpath data crosses the boundary between the curved machining surfaces. Therefore, it is possible to perform machining without insufficient or excessive material removal at the boundary between the curved machining surfaces.
[0315] The configurations described above in the embodiments provide examples of the content of the present invention. These configurations can be combined with other generally known techniques. Some of the configurations can be omitted or modified in a manner that does not deviate from the spirit of the present invention. Reference symbol list
[0316] 100 Toolpath correction device; 101 Toolpath data input unit; 102 Toolpath data storage unit; 103 Tool data input unit; 104 Tool data storage unit; 105 Shape data input unit; 106 Shape data storage unit; 107 Intersection calculation unit; 108 Intersection storage unit; 109 Correction command point extraction unit; 110 Correction command point storage unit; 111 Command point correction direction determination unit; 112 Command point correction direction storage unit; 113 Toolpath data correction unit; 114 Corrected toolpath data storage unit.
Claims
[1] Tool path correction device (100) comprising: an intersection point calculation unit (107) for, based on tool path data describing a movement of a tool for machining a machining target object or the machining target object, tool data of the tool, and shape data of a machining shape of the machining target object, as intersection point information, which is information about intersection points by the tool on a curved machining surface of the machining shape at a time when the tool is arranged at command points described in the tool path data, calculating a coordinate of a contact point of the tool and the curved machining surface when the tool is in contact with the curved machining surface, calculating a coordinate of a next contact point of the tool and the curved machining surface on the curved machining surface when the tool is separated from the curved machining surface,or calculating a coordinate of a point on the curved machining surface furthest from the tool and the curved machining surface when the curved machining surface penetrates into an interior of the tool;, a correction command point extraction unit (109) for extracting, based on the tool path data and the intersection point information, as correction command points, which are command points that should be corrected, command points at which the tool is separated from the curved machining surface and the curved surface penetrates into the inside of the tool, from the command points described in the tool path data; a command point correction direction determining unit (111) for determining command point correction directions, which are directions in which the correction command points should be corrected, based on the correction command points; and a tool path data correction unit (113) for correcting the tool path data by correcting, based on the tool data, the shape data, the intersection point information, the correction command points and the command point correction directions, the correction command points according to the command point correction directions such that the tool comes into contact with the curved machining surface. [2] The tool path correction device (100) according to claim 1, wherein the command point correction direction determining unit (111) sets the command point correction directions of the correction command points as a normal vector direction of a curved surface of the curved machining surface at the intersection points corresponding to the correction command points. [3] Tool path correction device (100) comprising: an intersection point calculation unit (107) for calculating, based on tool path data describing a movement of a tool for machining a machining target object or the machining target object, tool data of the tool, and shape data of a machining shape of the machining target object, intersection point information, which is information about intersection points by the tool on a curved machining surface of the machining shape at a time when the tool is arranged at command points described in the tool path data; a correction command point extraction unit (109) for extracting, based on the tool path data and the intersection point information, correction command points, which are command points that should be corrected, from the command points described in the tool path data; a command point correction direction determining unit (111) for dividing, based on the correction command points, the command points into a plane section command point group, which is a set of the command points that are contiguously present in a same plane, and a connecting section command point group that is not included in the plane section command point group, and determining whether tool axis vectors of the command points included in the plane section command point group are parallel to each other when it is determined that the tool axis vectors are parallel to each other, further determining a relationship between the tool axis vectors and the plane when it is determined that the tool axis vectors and the plane are parallel, determining that the command point correction directions of the correction command points included in the plane section command point group are a tool axis vector direction when it is determined,that the tool axis vectors and the plane are perpendicular, determining that the command point correction directions of the correction command points included in the plane section command point group are an in-plane direction, and, if it is determined that the tool axis vectors are not parallel to each other, determining that the command point correction directions of the correction command points included in the plane section command point group are a normal vector direction of a curved surface of the curved machining surface at the intersection points corresponding to the correction command points, and determining that the command point correction directions of the correction command points included in the connecting section command point group are a normal vector direction of a curved surface of the curved machining surface at the intersection points corresponding to the correction command points; and, a tool path data correction unit (113) for correcting the tool path data by correcting, based on the tool data, the shape data, the intersection point information, the correction command points and the command point correction directions, the correction command points according to the command point correction directions such that the tool comes into contact with the curved machining surface. [4] Tool path correction device (100) comprising: an intersection point calculation unit (107) for, based on tool path data in which a movement of a tool for machining a machining target object or the machining target object is described, tool data of the tool and shape data of a machining shape of the machining target object, arranging the tool at a command point described in the tool path data and calculating intersection point information which is information about intersection points by the tool on a curved machining surface of the machining shape according to the shape data; a correction command point extraction unit (109) for extracting, based on the tool path data and the intersection point information, two first and second command points of the command points as correction command points, which are command points that should be corrected when the first and second intersection points corresponding to the two contiguous first or second command points of the command points described in the tool path data are not contiguous along the curved machining surface; and a tool path data correction unit (113) for correcting the tool path data based on the tool data, the shape data, the intersection point information and the correction command point so that they simultaneously have intersection points with respect to two curved machining surfaces on which the first and second intersection points corresponding to the two first or second intersection points exist, or have an intersection point on a boundary between the two curved machining surfaces on which the first and second intersection points exist. [5] Tool path correction device (100) according to claim 4, wherein the intersection point calculation unit (107) calculates, as the intersection point information, curved surface discrimination information to distinguish on which curved machining surface of the machining shape positions of the intersection points exist, and the correction command point extraction unit (109) extracts, based on the curved surface discrimination information, the two first and second command points as correction command points, which are command points that should be corrected when respective groups of curved machining surfaces in which the first and second intersection points corresponding to the two contiguous first or second command points exist do not have at least one or more curved machining surfaces in common. [6] Tool path correction method, comprising: an intersection information calculation step for calculating, based on tool path data describing a movement of a tool for machining a machining target object or the machining target object, tool data of the tool and shape data of a machining shape of the machining target object as intersection information, which is information about intersection points by the tool on a curved machining surface of the machining shape at a time when the tool is located at command points described in the tool path data, calculating a coordinate of a contact point of the tool and the curved machining surface when the tool is in contact with the curved machining surface, calculating a coordinate of a next contact point of the tool and the curved machining surface on the curved machining surface,when the tool is separated from the curved machining surface, or calculating a coordinate of a point on the curved machining surface furthest from the tool and the curved machining surface when the curved machining surface penetrates into an interior of the tool; a correction command point extraction step of extracting, based on the tool path data and the intersection point information, as correction command points, which are command points that should be corrected, command points where the tool is separated from the curved machining surface and the curved surface penetrates into the inside of the tool, from the command points described in the tool path data; a command point correction direction determining step for determining command point correction directions, which are directions in which the correction command points should be corrected, based on the correction command points; and a tool path data correction step of correcting the tool path data by correcting, based on the tool data, the shape data, the intersection point information, the correction command points, and the command point correction directions, the correction command points according to the command point correction directions such that the tool comes into contact with the curved machining surfaces.
Citation Information
Patent Citations
Machining control device
JP4900968B2
numerically controlled system and numerical control method
DE10111475A1
JP000004900968B2
