CN112470089A - Tool path correction device, tool path correction method, and numerical control device - Google Patents

Tool path correction device, tool path correction method, and numerical control device Download PDF

Info

Publication number
CN112470089A
CN112470089A CN201980048211.3A CN201980048211A CN112470089A CN 112470089 A CN112470089 A CN 112470089A CN 201980048211 A CN201980048211 A CN 201980048211A CN 112470089 A CN112470089 A CN 112470089A
Authority
CN
China
Prior art keywords
tool
correction
tool path
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201980048211.3A
Other languages
Chinese (zh)
Other versions
CN112470089B (en
Inventor
萨维尔拉马达尼
金子弘树
入口健二
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN112470089A publication Critical patent/CN112470089A/en
Application granted granted Critical
Publication of CN112470089B publication Critical patent/CN112470089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35401Tool edge, tool shape, dead corner because of tool shape
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36504Adapt program to real coordinates, shape, dimension of tool, offset path
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

A tool path correction device (100) corrects tool path data indicating a movement path of a tool with respect to an object to be machined, which is machined using the tool. The tool path data is data representing the position of the center of the tool and containing the instruction point associated with the tool posture at that position. A tool path correction device (100) comprises: a correction object extraction unit (18) that extracts, from the tool path data, a command point that is determined to be the object of correction based on the amount of movement of the center of the tool and the amount of change in the tool posture at command points adjacent to each other in the movement path; and a tool path data correction unit (21) which corrects the position of the center of the tool and the tool posture at each command point in a range defined by including the command point extracted by the correction object extraction unit (18), with reference to machining shape data indicating a target machining shape during machining of the object to be machined.

Description

Tool path correction device, tool path correction method, and numerical control device
Technical Field
The present invention relates to a tool path correction device, a tool path correction method, and a numerical control device that correct tool path data for machining using a tool.
Background
The 5-axis controlled machine tool is a machine tool capable of performing 5-axis controlled machining, and is realized by an operating mechanism capable of performing translational motion of each of the 3 axes and an operating mechanism capable of rotating about the 2 axes. The 5-axis controlled machining is used for machining a free-form surface or a shape such as an impeller that is difficult to machine by 3-axis controlled machining. A Numerical Control (NC) device controls a 5-axis Control machine tool according to tool path data created by a Design operation using a Computer Aided Design (CAD) device and a Computer Aided Manufacturing (CAM) device. The tool path data for 5-axis control machining includes a command for a tool posture, which is a posture of the tool with respect to the object to be machined.
Patent document 1 discloses an NC apparatus that can smoothly operate a tip position of a tool by smoothing an angle change amount of a rotation axis in order to suppress a decrease in machining quality when intermittent changes in tool posture or changes in discontinuous change amounts are included in tool path data.
Patent document 1: japanese patent No. 4467625
Disclosure of Invention
However, in the conventional technique of patent document 1, when a ball end mill is used, the tip of the tool can be brought into contact with the object to be machined, while when a tool such as a radius end mill or a flat end mill is used, the tip of the tool may be separated from the object to be machined or may bite into the object. The ball end mill is a cutter with a spherical front end. The radius end mill and the flat end mill are tools whose front ends are in shapes other than spherical. Therefore, in the conventional technique of patent document 1, there is a problem that cutting residue due to separation of the tip of the tool from the object to be processed or excessive cutting due to biting of the tip of the tool into the object to be processed may occur, resulting in degradation of processing quality.
The present invention has been made in view of the above circumstances, and an object thereof is to obtain a tool path correction device capable of suppressing a reduction in machining quality.
In order to solve the above-described problems and achieve the object, a tool path correction device according to the present invention corrects tool path data indicating a movement path of a tool with respect to a processing object to be processed using the tool. The tool path data is data representing the position of the center of the tool and containing the instruction point associated with the tool posture at that position. The tool path correction device according to the present invention includes: a correction target extraction unit that extracts, from the tool path data, a command point determined as a target of correction based on a movement amount of the center of the tool and a change amount of the tool posture at command points adjacent to each other in the movement path; and a tool path data correction unit that corrects the position of the center of the tool and the tool posture at each command point in a range defined by including the command point extracted by the correction object extraction unit, with reference to machining shape data indicating a target machining shape during machining of the object to be machined.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the present invention, the tool path correction device has an effect of suppressing a reduction in processing quality.
Drawings
Fig. 1 is a block diagram showing a functional configuration of a tool path correction device according to embodiment 1 of the present invention.
Fig. 2 is a block diagram showing a hardware configuration of the tool path correction device according to embodiment 1.
Fig. 3 is a flowchart showing a procedure of an operation performed by the tool path correction device shown in fig. 1.
Fig. 4 is a diagram illustrating tool data input to the tool path correction device shown in fig. 1.
Fig. 5 is a diagram illustrating tool path data input to the tool path correction device shown in fig. 1.
Fig. 6 is a diagram illustrating machining shape data input to the tool path correction device shown in fig. 1.
Fig. 7 is a flowchart showing a procedure of an operation performed by the correction target extracting unit included in the tool path correcting apparatus shown in fig. 1.
Fig. 8 is a diagram illustrating an operation performed by the correction target extracting unit included in the tool path correcting apparatus shown in fig. 1.
Fig. 9 is a diagram for explaining an operation performed by the correction range divider included in the tool path correction device shown in fig. 1.
Fig. 10 is a flowchart showing a procedure of an operation for correcting tool path data by the tool path correcting apparatus shown in fig. 1.
Fig. 11 is a flowchart showing the procedure of the operation when the tool path data correcting unit included in the tool path correcting apparatus shown in fig. 1 corrects the tool axis vector by the method 1.
Fig. 12 is a diagram illustrating correction of the tool axis vector performed by the procedure shown in fig. 11.
Fig. 13 is a flowchart showing the procedure of the operation when the tool path data correcting unit included in the tool path correcting device shown in fig. 1 corrects the tool axis vector by the method 2.
Fig. 14 is a view 1 illustrating correction of the tool axis vector performed by the procedure shown in fig. 13.
Fig. 15 is a view 2 illustrating correction of the tool axis vector performed by the procedure shown in fig. 13.
Fig. 16 is a diagram showing an example of the positional relationship between the machined curved surface and the tool in the sequence from step S24 to step S26 in the sequence shown in fig. 10.
Fig. 17 is a diagram showing an example of the positional relationship between the machined curved surface and the tool in the procedure of step S27 in the procedure shown in fig. 10.
Fig. 18 is a diagram showing an example of the positional relationship between the machined curved surface and the tool in the procedure of step S28 in the procedure shown in fig. 10.
Fig. 19 is a block diagram showing a functional configuration of an NC apparatus according to embodiment 2 of the present invention.
Fig. 20 is a flowchart showing a procedure of an operation performed by the NC apparatus shown in fig. 19.
Detailed Description
Hereinafter, a tool path correction device, a tool path correction method, and a numerical control device according to embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to the embodiments.
Embodiment 1.
Fig. 1 is a block diagram showing a functional configuration of a tool path correction device 100 according to embodiment 1 of the present invention. The tool path correction device 100 corrects tool path data for machining using a tool. In embodiment 1, the tool path data is tool path data for performing cutting processing using a cutting tool.
The tool path correction device 100 includes: a tool path data input unit 10 which is a functional unit for inputting tool path data from the outside of the tool path correction device 100; and a tool path data storage unit 11 that is a functional unit that stores tool path data input to the tool path data input unit 10. The tool path data is data indicating a movement path of the tool with respect to the object to be processed that is processed using the tool. The tool path data is data representing the position of the center of the tool and containing an instruction point associated with the tool pose at that position. The center of the tool and the tool posture are described later.
The tool path correction device 100 includes: a machining shape data input unit 12 which is a functional unit for inputting machining shape data from the outside of the tool path correction device 100; and a machining shape data storage unit 13 which is a functional unit for storing the machining shape data input to the machining shape data input unit 12. The machining shape data is data indicating a target machining shape in machining an object to be machined. One example of the machining shape data is CAD data.
The tool path correction device 100 includes: a tool data input unit 14, which is a functional unit for inputting tool data from the outside of the tool path correction device 100; and a tool data storage unit 15 that is a functional unit that stores tool data input to the tool data input unit 14. The tool data is information defining a tool used for machining the object to be machined. The tool data includes information indicating the type of the tool and information indicating the shape of the tool, such as a tool radius, a tool edge radius, and a tool length.
The tool path correction device 100 includes: a setting input unit 16, which is a functional unit for inputting configuration data from the outside of the tool path correction device 100; and a setting storage unit 17 which is a functional unit for storing the arrangement data inputted to the setting input unit 16. The arrangement data is various kinds of setting data related to processing of the tool path correction apparatus 100. The configuration data includes the following data: data showing settings in the determination by the correction target extracting unit 18 described later, and data showing settings in the range division by the correction range dividing unit 19 described later. The setting items capable of inputting the arrangement data to the setting input unit 16 are items capable of specifying and changing the setting contents by the user of the tool path correction device 100.
The tool path correction device 100 includes: a correction target extracting unit 18 that extracts, from the tool path data, a command point determined to be a target of correction based on a movement amount of the center of the tool and a change amount of the tool posture, among command points adjacent to each other in the movement path; and a correction range defining unit 19 that defines a range of the command points including the command point extracted by the correction target extracting unit 18. The tool path correction device 100 includes a correction target range storage unit 20, and the correction target range storage unit 20 is a functional unit that stores information of the command point extracted by the correction target extraction unit 18 and information of the range defined by the correction range defining unit 19.
The correction target extracting unit 18 reads the tool path data from the tool path data storage unit 11, and reads the arrangement data from the setting storage unit 17. The correction target extracting unit 18 outputs the information of the extracted command point to the correction range dividing unit 19. The correction range divider 19 reads the tool path data from the tool path data storage 11 and reads the arrangement data from the setting storage 17.
The tool path correction device 100 includes: a tool path data correcting unit 21 that corrects the position of the center of the tool and the tool posture at each command point in the range defined by the correction range defining unit 19 in the tool path data with reference to the machining shape data; and a corrected tool path data storage unit 22 which is a functional unit that stores the tool path data corrected by the tool path data correction unit 21.
The tool path data correcting unit 21 reads the machining shape data from the machining shape data storage unit 13, and reads the tool data from the tool data storage unit 15. Further, the tool path data correcting unit 21 reads out the information of the command point extracted by the correction target extracting unit 18 and the information of the range defined by the correction range defining unit 19 from the correction target range storage unit 20. Further, the tool path data correcting unit 21 reads the tool path data from the tool path data storage unit 11, and corrects the read tool path data.
Here, a hardware configuration of the tool path correction device 100 will be described. Each functional unit of the tool path correction device 100 shown in fig. 1 is realized by executing a tool path correction program, which is a program for executing the tool path correction method according to embodiment 1, by hardware.
Fig. 2 is a block diagram showing a hardware configuration of the tool path correction device 100 according to embodiment 1. The tool path correction device 100 includes: a CPU (Central Processing Unit)31 that executes various processes; a ram (random Access memory)32 including a data storage area; a rom (read Only memory)33, which is a nonvolatile memory; an external storage device 34; and an input/output interface 35 for inputting information to the tool path correction device 100 and outputting information from the tool path correction device 100. The respective parts of the tool path correction apparatus 100 shown in fig. 2 are mutually connected via a bus 36.
The CPU 31 executes programs stored in the ROM 33 and the external storage device 34. The functions of the correction target extracting unit 18, the correction range dividing unit 19, and the tool path data correcting unit 21 shown in fig. 1 are realized using the CPU 31. The external storage device 34 is an HDD (hard Disk drive) or SSD (solid State drive). The external storage device 34 stores a tool path correction program and various data. The functions of the tool path data storage unit 11, the machining shape data storage unit 13, the tool data storage unit 15, the setting storage unit 17, the correction target range storage unit 20, and the corrected tool path data storage unit 22 shown in fig. 1 are realized using the external storage device 34. The ROM 33 stores software or a program for controlling hardware, which is a boot loader such as BIOS (Basic Input/Output System) or uefi (universal Extensible Firmware interface) that is a program for performing Basic control of a computer or a controller of the tool path correction device 100. The tool path correction program may be stored in the ROM 33.
Programs stored in the ROM 33 and the external storage device 34 are loaded into the RAM 32. The CPU 31 develops a tool path correction program in the RAM 32 and executes various processes. The input/output interface 35 is a connection interface with an external device of the tool path correction device 100. The functions of the tool path data input unit 10, the machining shape data input unit 12, the tool data input unit 14, and the setting input unit 16 shown in fig. 1 are realized using the input/output interface 35. The tool path correction apparatus 100 may include an input device such as a keyboard and a pointing device, and an output device such as a display.
The tool path correction program may be stored in a computer-readable storage medium. The tool path correction device 100 may store a tool path correction program stored in a storage medium in the external storage device 34. The storage medium may be a flexible disk, i.e., a removable storage medium, or a semiconductor memory, i.e., a flash memory. The tool path correction program may be installed from another computer or a server device to a computer serving as the tool path correction device 100 via a communication network.
The function of the tool path correction apparatus 100 can be realized by a processing circuit, which is dedicated hardware for correcting a tool path. The processing circuit is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof. The functions of the tool path correction apparatus 100 may be implemented partly by dedicated hardware and partly by software or firmware.
Next, the operation performed by the tool path correction device 100 will be described. Fig. 3 is a flowchart showing a procedure of an operation performed by the tool path correction apparatus 100 shown in fig. 1. Step S1 is a step in which the tool path correction device 100 imports tool path data, machining shape data, tool data, and layout data.
In step S1, the tool path data input unit 10 shown in fig. 1 introduces tool path data from outside the tool path correction device 100. The machining shape data input unit 12 shown in fig. 1 inputs machining shape data from the outside of the tool path correction device 100. The tool data input unit 14 shown in fig. 1 introduces tool data from the outside of the tool path correction device 100. The setting input unit 16 shown in fig. 1 introduces the arrangement data from the outside of the tool path correction apparatus 100. Each data is input to each input unit from an external device connected to the tool path correction device 100. The respective data may be input by manual input by a user. The tool path correction apparatus 100 can acquire tool path data by data conversion of an NC program.
The tool path data storage unit 11 shown in fig. 1 stores the tool path data input to the tool path data input unit 10 in step S1. The machining shape data storage unit 13 shown in fig. 1 stores the machining shape data input to the machining shape data input unit 12 in step S1. The tool data storage unit 15 shown in fig. 1 stores the tool data input to the tool data input unit 14 in step S1. The setting storage unit 17 shown in fig. 1 stores the arrangement data input to the setting input unit 16 in step S1.
Step S2 is a step in which the correction target extraction unit 18 extracts the command point determined as the target of correction from the tool path data. In step S2, the correction target extraction unit 18 reads the tool path data stored in the tool path data storage unit 11. The correction object extraction unit 18 determines whether or not each of the command point pairs described in the read tool path data is an object of correction, and extracts the command point determined as the object of correction. The correction target range storage unit 20 stores the command point extracted in step S2. The correction target extracting unit 18 outputs the information of the extracted command point to the correction range dividing unit 19.
Step S3 is a step in which the correction range defining unit 19 defines the range of the plurality of command points to be corrected. In step S3, the correction range divider 19 reads the tool path data stored in the tool path data storage 11. The correction range defining unit 19 defines a range of a plurality of command points including the command point extracted by the correction target extraction unit 18, based on the information of the command point output from the correction target extraction unit 18 in the read tool path data. Thus, the correction range defining unit 19 defines the range of the plurality of command points to be corrected. The correction target range storage unit 20 stores the correction target range defined in step S3 as the range to be corrected.
Step S4 is a step in which the tool path data correction unit 21 corrects the position of the tool center and the tool posture. In step S4, the tool path data correction unit 21 reads the machining shape data stored in the machining shape data storage unit 13, the tool data stored in the tool data storage unit 15, and the correction target information stored in the correction target range storage unit 20. The tool path data correction unit 21 refers to the read machining shape data and the tool data, and corrects the position of the tool center and the tool posture of the command point within the correction target range defined in step S3 in the tool path data. The corrected tool path data storage unit 22 stores the tool path data corrected in step S4. Thereby, the tool path correction device 100 ends the operation performed by the procedure shown in fig. 3. The details of step S2 to step S4 will be described later.
Next, the tool data, the tool path data, and the machining shape data will be described. Fig. 4 is a diagram illustrating tool data input to the tool path correction device 100 shown in fig. 1. Fig. 4 shows an example of the shape of the tool TL represented by the tool data. Here, the tool TL is provided as a radius end mill. An end of the tool TL facing the object side to be processed may be referred to as a tip, and an end opposite to the tip and attached to the machine tool side may be referred to as a root.
The tool TL is formed in a shape that a chamfer is applied to an edge in the bottom of the cylinder. The cutter tip radius R2 is the radius of the chamfer. The cutter radius R1 is the radius of the cylinder. At the front end of the tool TL there is a bottom TB formed in a circular shape. The value of the tool radius R1 and the value of the tool tip radius R2 are included in the tool data, and indicate the shape of the tool TL. The tool center axis TX is a center axis of a cylinder and is an axis of a rotation center of the tool TL at the time of machining. The center of the base TB and the cutter center CL are on the cutter center axis TX. The tool center CL is located at the root side of the bottom TB by an amount corresponding to the length of the tool tip radius R2. The tool axis vector TV is a vector parallel to the tool center axis TX and directed from the tool center CL toward the root side. The tool pose is represented by a tool axis vector TV.
Fig. 5 is a diagram illustrating tool path data input to the tool path correction device 100 shown in fig. 1. The X, Y, and Z axes are 3 axes of a coordinate system representing tool path data. The position of the tool indicated by the tool path data is a position at which the tool is used to machine the object to be machined, and indicates a relative position of the tool with respect to the object to be machined. The position of the tool center CL and the direction of the tool axis vector TV are represented by coordinates X, Y and Z. Fig. 5 shows a tool center CL and a tool axis vector TV projected on a plane parallel to the X axis and the Z axis.
The command point CP indicates the position of the tool center CL, and indicates a command associated with the tool axis vector TV at that position. The tool path data is data indicating a movement path TP of the tool and is configured by connecting a plurality of command points CP. The coordinates of the command point CP indicating the position of the tool center CL indicate the position on the movement path TP when the tool is moved in the virtual space indicated by the coordinate system of the tool path data. In the following description, the command point CP may be a position of the tool center CL when the tool is moved according to the tool path data. In fig. 5 a number of command points CP connected in the tool path data are shown.
Fig. 6 is a diagram illustrating the machining shape data input to the tool path correction device 100 shown in fig. 1. Fig. 6 shows an example of the machined shape CT expressed by the machined shape data. The machining shape CT illustrated in fig. 6 includes a machining curved surface CS which is a free curved surface. The tool path data for machining the curved machining surface CS is created by approximating a path along which the tool TL is virtually moved to a straight line or a curved line, i.e., a differential line segment, by bringing the tip portion of the tool TL shown in fig. 4 into contact with the curved machining surface CS. The tool path data correcting unit 21 matches the coordinate system of the machining shape data with the coordinate system of the tool path data.
Fig. 7 is a flowchart showing a procedure of an operation performed by the correction target extracting unit 18 included in the tool path correcting apparatus 100 shown in fig. 1. Fig. 7 shows a sequence of operations for the correction target extraction unit 18 to extract the command point determined as the target of correction. The sequence shown in fig. 7 shows details of the sequence in step S2 shown in fig. 3.
In step S11, the correction target extraction unit 18 reads the tool path data stored in the tool path data storage unit 11. In step S12, the correction target extraction unit 18 calculates the movement amount of the position of the tool center CL at the 2 adjacent command points CP on the movement path TP among the tool path data read in step S11.
Fig. 8 is a diagram illustrating an operation performed by the correction target extracting unit 18 included in the tool path correcting apparatus 100 shown in fig. 1. In fig. 8, 10 command points CP connected in the tool path data are shown. The instruction point CP5 is the 5 th instruction point CP among the 10 instruction points CP shown in fig. 8. The instruction point CP6 is the 6 th instruction point CP among the 10 instruction points CP shown in fig. 8. The instruction point CP5 and the instruction point CP6 are 2 adjacent instruction points in the movement path TP.
For example, the correction object extraction unit 18 calculates a movement amount D5 of the tool center CL on the movement path TP between the command point CP5 and the command point CP6 with respect to the command point CP5 and the command point CP 6. The movement amount D5 is the distance between the coordinates of the tool center CL5 indicated by the command point CP5 and the coordinates of the tool center CL6 indicated by the command point CP 6.
In step S13, the correction target extraction unit 18 calculates the amount of angular change of the tool axis vector TV at the 2 adjacent command points CP on the movement path TP among the tool path data read in step S11. The angle variation of the tool axis vector TV is the variation of the tool posture.
For example, the correction target extraction unit 18 calculates an angular change AC5 from the direction of the tool axis vector TV5 at the command point CP5 to the direction of the tool axis vector TV6 at the command point CP6, with respect to the command point CP5 and the command point CP 6.
Step S14 is a step in which the correction object extraction unit 18 determines whether or not the 2 command points CP are the objects of correction. In step S14, the correction target extraction unit 18 calculates the ratio of the amount of angular change to the amount of movement of the tool center CL for 2 command points, and determines whether or not the calculated ratio is greater than or equal to a threshold value. When the calculated ratio is equal to or greater than the threshold value, the correction target extraction unit 18 determines that the 2 command points are the target of correction. When the calculated ratio is smaller than the threshold value, the correction target extraction unit 18 determines that the 2 command points are not targets for correction.
For example, the correction target extraction unit 18 calculates the ratio AC5/D5 of the angle change amount AC5 to the movement amount D5 with respect to the command point CP5 and the command point CP 6. When the calculated ratio AC5/D5 is equal to or greater than the threshold value, the correction target extraction unit 18 determines that the portion EP5, which is the combination of the command point CP5 and the command point CP6 on the movement path TP, is a target of correction. When the calculated ratio AC5/D5 is smaller than the threshold value, the correction object extraction unit 18 determines that the part EP5 is not the object of correction.
When the ratio is equal to or greater than the threshold value (Yes at step S14) and it is determined that 2 command points are the target of correction, the correction target extraction unit 18 extracts the 2 command points from the tool path data at step S15. The correction target range storage unit 20 stores the command point extracted in step S15. The correction target extracting unit 18 outputs the information of the extracted command point to the correction range dividing unit 19. After the extraction of the 2 command points, the correction target extraction unit 18 advances the operation procedure to step S16. On the other hand, if the ratio is smaller than the threshold (No at step S14) and it is determined that the 2 command points are not the target of correction, the correction target extraction unit 18 also advances the operation sequence to step S16.
In step S16, the correction target extraction unit 18 determines whether the determination as to whether the correction is complete is performed for all combinations of 2 adjacent command points in the tool path data. If it is determined that the operation is not completed (No at step S16), the correction target extraction unit 18 performs the operations performed in the order from step S12 to step S16 for the next combination of 2 command points. When the determination is completed (Yes at step S16), the correction target extraction unit 18 ends the operation for extracting the command point.
Among the arrangement data stored in the setting storage unit 17, data indicating the setting in the determination by the correction target extraction unit 18 includes the threshold value. The correction target extraction unit 18 obtains a threshold value from the arrangement data, and performs the determination in step S14. The threshold value is included in the configuration data, and thus can be arbitrarily set by the user. Thus, the tool path correction device 100 can reflect the user's request to the correction of the tool path data.
The threshold used for the determination in step S14 is not limited to being set by the arrangement data. The threshold value may be determined by calculation in the correction target extraction unit 18. The correction target extraction unit 18 may obtain an average value of the angle change amount based on the data of the angle change amount, and use a value obtained by multiplying the standard deviation centering on the average value by 2 as a threshold. The correction target extraction unit 18 may calculate the 3 rd quartile of the angle change amount based on the data of the angle change amount, and may use a value obtained by adding a value 1.5 times the quartile range to the 3 rd quartile as a threshold. The method described above for determining the threshold value applies the theory of detection of deviation values in statistics. The method of determining the threshold value is not limited to the above method, but may be any method.
Next, an operation for defining the correction target range by the correction range defining unit 19 will be described. Fig. 9 is a diagram illustrating an operation performed by the correction range divider 19 included in the tool path correction device 100 shown in fig. 1. Fig. 9 shows an operation of the correction range defining unit 19 for defining the correction target range.
The correction range divider 19 reads the tool path data stored in the tool path data storage 11. The correction range divider 19 also acquires information on the command point extracted by the correction target extractor 18 from the correction target extractor 18. The correction range dividing unit 19 includes the command point extracted by the correction target extracting unit 18, 1 or more command points before the extracted command point on the movement path TP, and 1 or more command points after the extracted command point on the movement path TP in the correction target range.
For example, the correction range divider 19 acquires information on the command points CP5 and CP6 extracted by the correction object extractor 18 from the correction object extractor 18. The number of command points included in the correction target range is set in the arrangement data when the number is 4 in the range before the extracted command point and 4 in the range after the extracted command point. The correction range divider 19 includes, in addition to the command points CP5 and CP6, command points CP1, CP2, CP3, and CP4, which are 4 command points in the range RB before the command point CP5, and command points CP7, CP8, CP9, and CP10, which are 4 command points in the range RF after the command point CP6, in the correction target range. Thus, the correction range dividing unit 19 divides the range RG made up of 10 command points from the command point CP1 to the command point CP10 into the correction target range. The correction target range storage unit 20 stores the correction target range defined by the correction range defining unit 19.
The data indicating the setting in the range division by the correction range division unit 19 among the arrangement data stored in the setting storage unit 17 includes information on the number of command points included in the range of the command points to be corrected. The correction range defining unit 19 obtains the information of the number from the arrangement data to define the range. The number of pieces of information is included in the configuration data, and thus the number of instruction points included in the range can be arbitrarily set by the user. Thus, the tool path correction device 100 can reflect the user's request to the correction of the tool path data.
The number of command points included in the correction target range is not limited to the number set by the arrangement data. The number of command points included in the correction target range may be determined by calculation in the correction range divider 19. The correction range divider 19 may set a considerable amount of 5% of the number of command points in the 1-cycle route as the number of command points included in the correction target range. When the tool is moved or reciprocated in one direction in a region from 1 end to the other 1 end in the contour of the machining shape to machine the region, the 1-cycle path is a movement path of 1 movement amount from the 1 end to the other 1 end in the movement path TP. The 5% equivalent is based on the theory of statistically significant difference tests. The range may include a number of instruction points that is greater than or equal to 5% or 10% of the number of instruction points in the 1 cycle path. The method of determining the number of designated points included in the correction target range is not limited to the above-described method, and may be any method.
Fig. 10 is a flowchart showing a procedure of an operation for correcting tool path data by the tool path correction device 100 shown in fig. 1. The sequence shown in fig. 10 shows details of the sequence in step S4 shown in fig. 3.
In step S21, the tool path data correction unit 21 reads out information of the correction target range from the correction target range storage unit 20. In step S22, the tool path data correction unit 21 reads the machining shape data stored in the machining shape data storage unit 13. In step S23, the tool path data correction unit 21 reads the tool data stored in the tool data storage unit 15. The sequence of steps S21 to S23 is not limited to the sequence shown in fig. 10, but may be any sequence.
In step S24, the tool path data correction unit 21 simulates the arrangement of the machining shape CT and the tool TL for each command point in the correction target range read out in step S21. The tool path data correction unit 21 simulates the arrangement of the machining shape CT and the tool TL by arranging and calculating the machining shape CT expressed by the machining shape data read in step S22 and the tool TL expressed by the tool data read in step S23 in a virtual space.
In step S25, the tool path data correction unit 21 calculates the position of the contact point, which is the point where the contour of the machining shape CT and the contour of the tool TL coincide, for each command point in the correction target range. The position of the contact point is the position of a machining point of the machining curved surface CS where machining is performed by the tool TL.
In step S26, the tool path data correction unit 21 calculates the position of the tool reference point for each command point within the correction target range. The tool reference point is a position on the tool center axis TX at the root of the tool TL, and a position grasped by the work machine among the tools TL. The tool posture is changed by the rotational motion of the tool TL centering on the tool reference point. The tool reference point is also a position that becomes a reference in the change of the tool posture.
In step S27, the tool path data correction unit 21 corrects the tool axis vector TV for each command point in the correction target range. In step S28, the tool path data correction unit 21 corrects the position of the tool center CL with respect to each command point within the correction target range. Thereby, the tool path data correction unit 21 ends the operation for correcting the tool path data.
Next, the correction of the tool axis vector TV in step S27 will be described. The tool path data correction unit 21 corrects the tool axis vector TV by the 1 st method according to the filtering process or the 2 nd method according to the generation of the approximate curve.
Fig. 11 is a flowchart showing the procedure of the operation when the tool path data correcting unit 21 included in the tool path correcting apparatus 100 shown in fig. 1 corrects the tool axis vector TV by the method 1. In step S31, the tool path data correction unit 21 performs correction by smoothing the coordinates indicating the position of the tool reference point calculated in step S26. The tool path data correction unit 21 corrects the position of the tool reference point by applying a filtering process to the coordinates indicating the position of the tool reference point among the command points in the correction target range.
The tool path data correction unit 21 smoothes the coordinates indicating the position of the tool reference point using a smoothing filter. A well-known triangular smoothing filter can be used in the smoothing filter. The smoothing filter uses the coordinates of 5 consecutive command points on the movement path TP to smooth the coordinates indicating the position of the tool reference point with respect to the target command point, which is the command point located at the center of the 5 command points.
The smoothing filter is based on using the coordinates P of the tool reference point in relation to the 5 command pointsn-2、Pn-1、Pn、Pn+1、Pn+2Equation (1) below, regarding the coordinate P 'of the target instruction point after smoothing'nAnd (6) performing calculation. Coordinate PnThe coordinates of the tool reference point related to the attention command point are set. Coordinate Pn-2、Pn-1The coordinates of the tool reference points related to 2 previous command points and 1 previous command point of the attention command point are set respectively. Coordinate Pn+1、Pn+2The coordinates of the tool reference points with respect to the 1 or more instruction points and the 2 or more instruction points of the attention instruction point are set. The smoothing filter performs smoothing on the X coordinate, the Y coordinate, and the Z coordinate based on equation (1), respectively.
P’n=(Pn-2+2Pn-1+3Pn+2Pn+1+Pn+2)/9···(1)
The smoothing based on the expression (1) is performed on 4 command points, out of the command points in the correction target range, except for 2 command points located at both ends of the correction target range and 2 command points adjacent to each of the command points. When the correction target range is the range RG including the command point CP1 to the command point CP10 in the above example, smoothing is performed by the equation (1) for the command points CP3 to CP8, which are 6 command points.
The smoothing is not performed for the 2 command points located at both ends of the correction target range. Regarding the instruction point located adjacent to the instruction point located at the leading end in the correction target range, the smoothing filter is configured to apply the following equation (2) to the coordinate P'nAnd (6) performing calculation. Regarding the instruction point located adjacent to the instruction point located at the rear end in the correction target range, the smoothing filter is configured to apply the following equation (3) to the coordinate P'nAnd (6) performing calculation. In the case of the above example, smoothing by equation (2) is performed with respect to the command point CP 2. Further, smoothing by equation (3) is performed with respect to the command point CP 9.
P’n=(2Pn-1+3Pn+2Pn+1+Pn+2)/8···(2)
P’n=(Pn-2+2Pn-1+3Pn+2Pn+1)/8···(3)
The smoothing is not limited to the smoothing based on the above-described formulas (1) to (3). The content calculated by the smoothing filter is arbitrary. In addition to the triangular smoothing filter described above, a Savitzky-Golay filter or a gaussian filter may be used as the smoothing filter.
In step S32, the tool path data correction unit 21 corrects the tool axis vector TV in the direction from the tool center CL toward the smoothed tool reference point in step S31 for each command point in the correction target range. Thus, the tool path data correction unit 21 ends the operation for correcting the tool axis vector TV.
Fig. 12 is a diagram illustrating correction of the tool axis vector TV performed by the procedure shown in fig. 11. In fig. 12, 10 command points CP connected in the tool path data are shown. The broken line arrow indicates the tool axis vector TV before correction. The solid arrow indicates the corrected tool axis vector TV'.
For example, when the command point CP6 is the focus command point, the tool path data correction unit 21 performs smoothing from the tool reference point P to the tool reference point P' with respect to the command point CP6 using the coordinates of the tool reference points with respect to the 5 command points CP4, CP5, CP6, CP7, and CP 8. The tool path data correction unit 21 corrects the tool axis vector TV in the direction from the tool center CL to the tool reference point P to the tool axis vector TV 'in the direction from the tool center CL to the smoothed tool reference point P'.
Fig. 13 is a flowchart showing the procedure of the operation when the tool path data correcting unit 21 included in the tool path correcting apparatus 100 shown in fig. 1 corrects the tool axis vector TV by the method 2. In step S41, the tool path data correction unit 21 generates an approximate curve of the tool reference point with respect to each command point in the correction target range.
The tool path data correction unit 21 generates an approximate curve based on the coordinates of the tool reference point calculated in step S26 and the movement amounts of the tool reference point among the adjacent 2 command points. For example, the tool path data correcting unit 21 generates an approximate curve, that is, a 3 rd order polynomial curve by the least square method.
Fig. 14 is a view 1 illustrating correction of the tool axis vector TV performed by the procedure shown in fig. 13. In fig. 14, 10 command points CP connected in the tool path data are shown. The movement amount DP is a distance between coordinates of the tool reference point P in the adjacent 2 command points CP. In step S41, the tool path data correction unit 21 obtains a parameter for generating the approximate curve SC for each of the tool reference points P, using the ratio of the movement amount DP between the tool reference points P to the total value of the movement amounts DP within the correction target range. The parameter regarding the tool reference point P located at the front end in the correction target range is set to zero. The parameter regarding the tool reference point P located at the rear end in the correction target range is set to 1.
The tool path data correction unit 21 obtains parameters indicating the coordinates X, Y and Z based on the coordinates of the tool reference points P and the obtained parameters. The tool path data correction unit 21 generates an approximate curve SC, that is, a 3 rd order polynomial curve, based on the parameters and the parameters.
In step S42 shown in fig. 13, the tool path data correction unit 21 calculates the movement amount of the position of the tool center among the adjacent 2 command points. In step S43, the tool path data correction unit 21 smoothes the coordinates indicating the position of the tool reference point.
Fig. 15 is a view 2 illustrating correction of the tool axis vector TV performed by the procedure shown in fig. 13. In step S43, the tool path data correction unit 21 calculates the ratio of the movement amount D of the tool center CL at each command point CP to the total value of the movement amounts D within the correction target range. The tool path data correction unit 21 corrects the parameter relating to the tool reference point P so as to match the ratio of the movement amount D, thereby converting the parameter into a new parameter T. The parameter T regarding the tool reference point P located at the front end in the correction target range is set to zero. The parameter T regarding the tool reference point P located at the rear end in the correction target range is set to 1. Thus, the position of the tool reference point P located at the both ends of the correction target range is not changed.
The tool path data correction unit 21 calculates the coordinates of the smoothed tool reference point P' by adjusting the interval of the tool reference point P on the approximate curve SC of the correction target range so that the ratio of the movement amount DP becomes a ratio in accordance with the new parameter T. In the above manner, the tool path data correction unit 21 corrects the tool reference point P' based on the ratio between the generated approximate curve SC and the movement amount D. The approximation curve SC may be a Non-uniform rational B-spline (NURBS) curve, a spline curve, or a bezier curve, in addition to the 3 rd order polynomial curve described above.
In step S44 shown in fig. 13, the tool path data correction unit 21 corrects the tool axis vector in a direction from the tool center toward the smoothed tool reference point. As shown in fig. 15, the tool path data correction unit 21 corrects the tool axis vector TV in the direction from the tool center CL to the tool reference point P to a tool axis vector TV 'in the direction from the tool center CL to the smoothed tool reference point P'.
Next, before the description of step S28 shown in fig. 10, the state of the tool TL in the virtual space in the sequence up to step S27 will be described.
Fig. 16 is a diagram showing an example of the positional relationship between the machined curved surface CS and the tool TL in the sequence from step S24 to step S26 among the sequences shown in fig. 10. Fig. 16 shows a machining curved surface CS and a tool TL arranged in a virtual space in a simulated manner. The tool TL is disposed at each command point CP within the correction target range. The tool path data correction unit 21 verifies the positional relationship between the curved surface CS and the tool TL at each command point CP in the correction target range RG by the simulation in step S24 described above. The portion EP shown in fig. 16 is the portion EP5 shown in fig. 8, and shows the command points CP5 and CP6 extracted by the correction target extraction unit 18.
The contact point CC of the tool TL disposed at each command point CP in the correction target range RG is a point at which the machining shape CT and the contour of the tool TL coincide with each other. In step S25, the tool path data correction unit 21 calculates coordinates indicating the position of the contact point CC based on the result of verifying the positional relationship between the curved surface CS and the tool TL. In step S26, the tool path data correcting unit 21 calculates coordinates indicating the positions of the tool reference points P in the tools TL disposed at the command points CP in the correction target range RG.
Fig. 17 is a diagram showing an example of the positional relationship between the machined curved surface CS and the tool TL in the procedure of step S27 in the procedure shown in fig. 10. In step S27, the tool path data correcting unit 21 corrects the tool axis vector TV for each command point CP. Fig. 17 shows the corrected tool axis vector TV'. The tool TL at each command point CP keeps the position of the tool center CL constant, and changes the direction of the tool center axis TX from the direction of the tool axis vector TV before the correction to the direction of the tool axis vector TV' after the correction.
As described above, the inclination of the tool TL varies without changing the position of the tool center CL, and thus can vary when the contact between the curved surface CS and the contour of the tool TL is machined. In the tool TL at each command point CP, there may be a portion where the contour of the tool TL is separated from the machining curved surface CS and a portion where the contour of the tool TL enters the machining target from the machining curved surface CS. The portion UC shown in fig. 17 is an example of a portion where the contour of the tool TL is separated from the machined curved surface CS. The portion OC shown in fig. 17 is an example of a portion where the contour of the tool TL enters the inside of the object to be machined from the curved machining surface CS.
Next, the correction of the position of the tool center CL in step S28 will be described. Fig. 18 is a diagram showing an example of the positional relationship between the machined curved surface CS and the tool TL in the procedure of step S28 in the procedure shown in fig. 10. The tool path data correction unit 21 performs adjustment to match the contour of the tool TL with the contact point CC calculated in step S25 by correcting the position of the tool center CL in step S28.
The tool path data correction unit 21 verifies the positional relationship between the curved processing surface CS and the tool TL, and thereby calculates the deviation due to the change in the direction of the tool axis vector TV and the deviation of the contour of the tool TL from the contact point CC on the curved processing surface CS. The tool path data correction unit 21 obtains the moving direction and the moving amount of the position of the tool center CL that can eliminate the offset between the contact point CC and the tool TL. The tool path data correcting unit 21 corrects the position of the tool center CL in accordance with the obtained moving direction and moving amount, thereby matching the contour of the tool TL with the contact point CC. As described above, the tool path data correction unit 21 corrects the position of the tool center CL based on the result of calculation of the deviation of the contour of the tool TL from the contact point CC due to the correction of the tool posture.
The tool path data correcting unit 21 corrects the position of the tool center CL, thereby eliminating the separation of the tool TL from the machined curved surface CS and the entrance of the tool TL into the machined curved surface CS. Thus, the tool path correction device 100 can correct the tool path correction data so that the tip of the tool used for machining can be prevented from separating from the object to be machined and from biting into the object to be machined.
The tool path data correction unit 21 alleviates a sudden change in the tool posture by correcting the direction of the tool axis vector TV, and smoothes the change in the tool posture. Thus, the tool path correction device 100 can correct the tool path data so that the change in the tool posture becomes a smooth change.
The tool path correction device 100 can determine the command point to be corrected and extract and define the correction target range by the correction target extraction unit 18 and the correction range division unit 19 based on the tool path data and the arrangement data. The tool path data correcting unit 21 corrects the tool path data based on the machining shape data and the tool data. The tool path correction device 100 can correct tool path data by importing each data other than the NC operation. The tool path correction device 100 can correct the tool path data before the actual machining is performed. Further, the tool path correction device 100 includes the corrected tool path data storage unit 22, and thus can store the corrected tool path data before the actual machining is performed. In the preparation stage before actual machining, the user can read the corrected tool path data from the tool path correction device 100 and confirm the corrected tool path data. In the preparation stage, the user can compare the tool path data before the correction with the tool path data after the correction.
The tool path data correction unit 21 corrects the tool posture for each command point so that the change in the tool posture is smoothly changed. The tool path correction device 100 can correct tool path data so that a change in tool posture is a smooth change without reducing the machining speed.
The tool path data correcting unit 21 extracts the command point determined as the target of correction by the correction target extracting unit 18, and defines the correction target range including the extracted command point by the correction range defining unit 19. The tool path correction device 100 can shorten the time required for correcting the tool path data, compared to a case where the processing for correction is performed uniformly on the entire tool path data without performing the extraction and the division as described above.
According to embodiment 1, the tool path correction device 100 can correct the tool path correction data by correcting the position of the tool center so that the separation of the tip of the tool from the object to be processed and the biting into the object to be processed can be suppressed. The tool path correction device 100 can suppress the cutting residue caused by the separation of the tip of the tool from the object and the excessive cutting caused by the biting of the tip of the tool into the object by correcting the tool path correction data, thereby suppressing the degradation of the machining quality. Further, the tool path correction device 100 can correct the tool path correction data by correcting the tool posture so that the change in the tool posture becomes a smooth change. The tool path correction device 100 can suppress a decrease in processing quality due to a rapid change in the tool posture by correcting the tool path correction data. Thus, the tool path correction device 100 has an effect of suppressing a reduction in processing quality.
Embodiment 2.
Fig. 19 is a block diagram showing a functional configuration of an NC apparatus 200 according to embodiment 2 of the present invention. The NC apparatus 200 includes an interpolation processing unit 41 and a drive control unit 42 instead of the corrected tool path data storage unit 22 included in the tool path correction apparatus 100 according to embodiment 1. In embodiment 2, the same components as those in embodiment 1 are denoted by the same reference numerals, and configurations different from those in embodiment 1 will be mainly described. The NC apparatus 200 corrects the tool path data and performs numerical control based on the corrected tool path data. The machine tool machines the object to be machined in accordance with a command from the NC apparatus 200. In fig. 19, illustration of the machine tool is omitted.
The tool path data correction unit 21 outputs the corrected tool path data to the interpolation processing unit 41, as in embodiment 1. The interpolation processing unit 41 is a functional unit that performs interpolation processing of a position and an angle. The interpolation processing unit 41 obtains the movement amount for each control cycle for each of the 3 translational axes for changing the position of the tool based on the corrected tool path data, and generates a position to be an interpolation point. The interpolation processing unit 41 calculates a rotation angle for each control cycle for each of the 2 rotation axes for changing the tool posture based on the corrected tool path data, and generates an angle to be an interpolation point. The interpolation processing unit 41 outputs information on interpolation points generated for each of the translation axes and the rotation axes to the drive control unit 42.
The drive control unit 42 is a functional unit that controls the drive of the servo motor for each axis. The drive control unit 42 generates a motor drive control signal for controlling the drive of the servo motor for each axis based on the information of the interpolation point. The drive control unit 42 outputs the generated motor drive control signal to the servo motor of each axis.
The hardware configuration of the NC apparatus 200 is the same as that of the tool path correction apparatus 100 shown in fig. 2. Each functional unit of the NC apparatus 200 shown in fig. 19 is realized by executing an NC program, which is a program for executing the NC control method according to embodiment 2, by hardware. The NC program may be stored in a computer-readable storage medium. The NC apparatus 200 may store an NC program stored in a storage medium in the external storage device 34. The storage medium may be a flexible disk, i.e., a removable storage medium, or a semiconductor memory, i.e., a flash memory. The NC program may be installed from another computer or a server apparatus to a computer serving as the NC apparatus 200 via a communication network. The functions of the NC apparatus 200 can be realized by dedicated hardware for numerical control, that is, a processing circuit. The functions of the NC apparatus 200 may be implemented partly by dedicated hardware and partly by software or firmware.
Fig. 20 is a flowchart showing a procedure of an operation performed by the NC apparatus 200 shown in fig. 19. Steps S1 to S4 are the same as steps S1 to S4 shown in fig. 3. In step S51, the interpolation processing unit 41 performs interpolation processing for generating an interpolation point. In step S52, the drive control unit 42 generates a motor drive control signal and outputs the generated motor drive control signal. Thereby, the NC apparatus 200 ends the operation performed by the procedure shown in fig. 20. The NC apparatus 200 can correct the tool path data in the inside of the NC apparatus 200, and thus, immediately after the tool path data is corrected, the machine tool can be caused to perform machining based on the corrected tool path data.
According to embodiment 2, the NC apparatus 200 can suppress a decrease in machining quality by correcting the position of the center of the tool and correcting the tool posture, as in the tool path correction apparatus 100 according to embodiment 1. This has the effect that the NC apparatus 200 can suppress a reduction in processing quality.
The configuration described in the above embodiment is an example of the content of the present invention, and may be combined with other known techniques, and a part of the configuration may be omitted or modified without departing from the scope of the present invention.
Description of the reference numerals
10 a tool path data input unit, 11 a tool path data storage unit, 12 a machining shape data input unit, 13 a machining shape data storage unit, 14 a tool data input unit, 15 a tool data storage unit, 16 a setting input unit, 17 a setting storage unit, 18 a correction target extraction unit, 19 a correction range division unit, 20 a correction target range storage unit, 21 a tool path data correction unit, 22 a correction tool path data storage unit, 31 a CPU, 32 a RAM, 33 a ROM, 34 an external storage device, 35 an input/output interface, 36 a bus, 41 an interpolation processing unit, 42 a drive control unit, 100 a tool path correction device, and 200 an NC device.

Claims (13)

1. A tool path correction device for correcting tool path data indicating a movement path of a tool with respect to an object to be processed, which is processed using the tool,
the tool path correction apparatus is characterized in that,
the tool path data is data representing a position of a center of the tool and containing an instruction point associated with a tool pose at the position,
the tool path correction device includes:
a correction target extracting unit that extracts, from the tool path data, a command point determined as a target of correction based on a movement amount of the tool center and a change amount of the tool posture at command points adjacent to each other in the movement path; and
and a tool path data correction unit that corrects the position of the center of the tool and the tool posture at each command point in a range defined by including the command point extracted by the correction target extraction unit, with reference to machining shape data indicating a target machining shape during machining of the machining target object.
2. The tool path correction apparatus according to claim 1,
a correction range dividing unit that divides a range of a plurality of command points including the command point extracted by the correction target extracting unit,
the tool path data correcting unit corrects the position of the center of the tool and the tool posture of the command point within the range defined by the correction range defining unit.
3. The tool path correction apparatus according to claim 1 or 2,
the tool path data correction unit obtains, for each of the command points, a contact point between a machining curved surface indicated by the machining shape data and a contour of the tool indicated by tool data indicating a shape of the tool, and corrects the position of the center of the tool based on a result of calculation of a deviation of the contour of the tool from the contact point due to correction of the tool posture.
4. The tool path correction apparatus according to any one of claims 1 to 3,
a tool axis vector indicating a direction from the tool center to a tool reference point that is a reference in the change of the tool posture and indicating the tool posture is associated with the command point,
the tool path data correcting unit corrects the tool axis vector by correcting the position of the tool reference point.
5. The tool path correction apparatus according to claim 4,
the tool path data correction unit corrects the position of the tool reference point among the command points within the defined range by smoothing the position.
6. The tool path correction apparatus according to claim 4,
the tool path data correction unit corrects the position of the tool reference point by applying filtering processing to the coordinates indicating the position of the tool reference point among the command points within the defined range.
7. The tool path correction apparatus according to claim 4,
the tool path data correction unit generates an approximate curve based on the tool reference points among the command points within the defined range, and corrects the positions of the tool reference points by adjusting the intervals between the tool reference points on the approximate curve.
8. The tool path correction apparatus according to any one of claims 1 to 3,
a tool axis vector indicating a direction from the tool center to a tool reference point that is a reference in the change of the tool posture and indicating the tool posture is associated with the command point,
the correction target extracting unit determines 2 command points as targets of correction when a ratio of an angular change amount of the tool axis vector to a movement amount of the tool center in 2 adjacent command points is greater than or equal to a threshold value.
9. The tool path correction apparatus according to claim 8,
the configuration data, which is the setting data related to the processing of the tool path correcting device, is input to the tool path correcting device,
the correction target extraction unit acquires the threshold value from the arrangement data.
10. The tool path correction apparatus according to claim 2,
the configuration data, which is the setting data related to the processing of the tool path correcting device, is input to the tool path correcting device,
the correction range dividing unit acquires information on the number of command points included in the range from the arrangement data.
11. The tool path correction apparatus according to any one of claims 1 to 10,
the tool path correction device includes a corrected tool path data storage unit for storing tool path data corrected by the tool path data correction unit.
12. A tool path correction method for correcting tool path data indicating a movement path of a tool with respect to an object to be machined, which is machined using the tool,
the tool path correction method is characterized in that,
the tool path data is data representing a position of a center of the tool and containing an instruction point associated with a tool pose at the position,
the tool path correction method comprises the following steps:
extracting, from the tool path data, a command point determined as a target of correction based on a movement amount of the tool center and a variation amount of the tool posture in command points adjacent in the movement path; and
the position of the center of the tool and the tool posture are corrected at each command point in a range defined by the command points extracted in the step, with reference to machining shape data indicating a target machining shape to be machined on the machining target object.
13. A numerical control device for executing numerical control based on tool path data indicating a movement path of a tool with respect to a processing object to be processed using the tool,
the numerical control device is characterized in that,
the tool path data is data representing a position of a center of the tool and containing an instruction point associated with a tool pose at the position,
the numerical control device comprises:
a correction target extracting unit that extracts, from the tool path data, a command point determined as a target of correction based on a movement amount of the tool center and a change amount of the tool posture at command points adjacent to each other in the movement path; and
a tool path data correction unit that corrects the position of the center of the tool and the tool posture at each command point in a range defined by including the command point extracted by the correction target extraction unit, with reference to machining shape data indicating a target machining shape during machining of the machining target object,
the numerical control device performs numerical control based on the corrected tool path data.
CN201980048211.3A 2018-07-24 2019-04-18 Tool path correction device, tool path correction method, and numerical control device Active CN112470089B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2018138693 2018-07-24
JP2018-138693 2018-07-24
PCT/JP2019/016659 WO2020021793A1 (en) 2018-07-24 2019-04-18 Tool path correction device, tool path correction method, and numerical control device

Publications (2)

Publication Number Publication Date
CN112470089A true CN112470089A (en) 2021-03-09
CN112470089B CN112470089B (en) 2024-05-03

Family

ID=69180399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980048211.3A Active CN112470089B (en) 2018-07-24 2019-04-18 Tool path correction device, tool path correction method, and numerical control device

Country Status (4)

Country Link
JP (1) JP6884283B2 (en)
CN (1) CN112470089B (en)
DE (1) DE112019003702T5 (en)
WO (1) WO2020021793A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7504687B2 (en) 2020-07-16 2024-06-24 株式会社日立製作所 Cutting support system
KR102347462B1 (en) * 2020-08-03 2022-01-04 단국대학교 산학협력단 Tool path smoothing method for machine tools
CN118338996A (en) * 2022-01-14 2024-07-12 发那科株式会社 Control device, teaching device, and machine system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4331253A1 (en) * 1993-09-15 1995-03-16 Blohm Maschinenbau Gmbh Method for producing a profile on a workpiece
JP2003256010A (en) * 2002-03-06 2003-09-10 Mazda Motor Corp Control method and control device of machine tool, program of causing computer to execute its control, and computer readable storage media storing program
JP2012040645A (en) * 2010-08-19 2012-03-01 Canon Inc Processing device
US20130211578A1 (en) * 2010-10-26 2013-08-15 Makino Milling Machine Co., Ltd Generation Method and Generation Apparatus of Tool Path
US20140172153A1 (en) * 2011-07-29 2014-06-19 Shin Nippon Koki Co., Ltd. Numerical control device
JP2015035021A (en) * 2013-08-07 2015-02-19 三菱電機株式会社 Numerical control device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04259012A (en) * 1991-02-13 1992-09-14 Fanuc Ltd Numerical controller
JP3344811B2 (en) * 1994-03-03 2002-11-18 株式会社牧野フライス製作所 Tool path data generation method
JP4467625B2 (en) * 2008-03-31 2010-05-26 三菱電機株式会社 Numerical control apparatus and numerical control method
JP6440725B2 (en) * 2014-09-30 2018-12-19 株式会社牧野フライス製作所 Feed axis control method and numerical control machine tool
JP6644630B2 (en) * 2016-05-10 2020-02-12 Dmg森精機株式会社 Machining program processing device and multi-axis machine equipped with the same
WO2018122986A1 (en) * 2016-12-27 2018-07-05 三菱電機株式会社 Processing program analysys device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4331253A1 (en) * 1993-09-15 1995-03-16 Blohm Maschinenbau Gmbh Method for producing a profile on a workpiece
JP2003256010A (en) * 2002-03-06 2003-09-10 Mazda Motor Corp Control method and control device of machine tool, program of causing computer to execute its control, and computer readable storage media storing program
JP2012040645A (en) * 2010-08-19 2012-03-01 Canon Inc Processing device
US20130211578A1 (en) * 2010-10-26 2013-08-15 Makino Milling Machine Co., Ltd Generation Method and Generation Apparatus of Tool Path
US20140172153A1 (en) * 2011-07-29 2014-06-19 Shin Nippon Koki Co., Ltd. Numerical control device
JP2015035021A (en) * 2013-08-07 2015-02-19 三菱電機株式会社 Numerical control device

Also Published As

Publication number Publication date
JP6884283B2 (en) 2021-06-09
DE112019003702T5 (en) 2021-04-08
CN112470089B (en) 2024-05-03
WO2020021793A1 (en) 2020-01-30
JPWO2020021793A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN112470089B (en) Tool path correction device, tool path correction method, and numerical control device
JP5451049B2 (en) Adaptive machining system and adaptive machining method
JP6257796B2 (en) Tool path generation method and machine tool
CN108369407B (en) Tool path correction device and tool path correction method
JP6249936B2 (en) Method and system for generating trajectories
JP5615377B2 (en) Tool path generation method and generation apparatus
CN113741426B (en) Robot machining path planning method based on local point cloud curve fitting
US20160151913A1 (en) Robot programming apparatus for teaching machining operation to robot
CN110100211B (en) Numerical control device, program conversion device, numerical control method, and program conversion method
TW201512797A (en) CNC program generating system and method
JP6242539B1 (en) Numerical controller
WO2018042704A1 (en) Command value generating device
JPWO2017145912A1 (en) Numerical control parameter adjusting device and numerical control parameter adjusting method
CN113963345A (en) Identification method, system and device for 3D dental model gum line and storage medium
CN113814805B (en) Machining method and system for indexable insert of peripheral grinding machine
JPH09114512A (en) Curved surface machining method by nc machine tool
US10877457B2 (en) Method for providing a travel profile, control device, machine, and computer program
JP6823032B2 (en) Program modifier
CN116583794B (en) Machining program correction device, numerical control device, machining program correction method, and machine learning device
US20170285615A1 (en) Modelling method and system
US10459425B2 (en) Numerical control device
CN118238154B (en) Mechanical arm control method and system for automatic feeding
JP7428793B2 (en) Machining path creation device
CN118219265A (en) Method, device, equipment and storage medium for determining working space
Chiu et al. CAD-based intelligent robot system integrated with 3D scanning for shoe roughing and cementing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant