Method for processing workpiece and system for processing workpiece

By combining tool shape and workpiece three-dimensional measurement data in the NC program, the tool position is corrected, and the tool profile errors and errors caused by external factors are solved, so the accuracy of not rewriting the NC program is achieved, reducing processing time and workload.

CN118922789APending Publication Date: 2024-11-08SHIBAURA MASCH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280094078.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-25
Filing Date
2022-10-27
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the ultra-precision machining process, the contour error of the tool accounts for the main factor of shape error. The prior art is difficult to effectively correct the processing error caused by factors other than the tool, and a lot of work and time is required in the 3D model correction process.

Method used

By combining the data of the tool shape measurement device and the workpiece three-dimensional measurement device in the NC program, the synthesis error of the tool profile error and processing error are obtained, and the position of the tool is corrected to eliminate the error, so as to achieve good precision processing without rewriting the NC program.

Benefits of technology

It is possible to correct processing errors without rewriting the NC program, improve processing accuracy, and reduce processing time and workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118922789A_ABST
    Figure CN118922789A_ABST
Patent Text Reader

Abstract

A method for machining a workpiece (5) by means of a machining system (1) comprises: a first step in which a first error, which is a tool contour error obtained from the outer shape of a tool (3) measured by means of a tool shape measurement device (31), is obtained; a second step in which a second error obtained by converting a machining error obtained from the shape of the machining surface of the workpiece (5) measured by the workpiece three-dimensional measurement device (32, 51) into a contour error of the tool is obtained; and a third step in which the movement mechanism moves the tool (3) with respect to the workpiece on the basis of the prescribed NC program. In the third step, the NC program corrects the position of the tool (3) on the basis of a combined error obtained by adding the second error to the first error.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for processing a workpiece and a system for processing the workpiece, and in particular to a system for processing the workpiece by correcting the contour of a tool. Background Art

[0002] Conventionally, there is known a workpiece machining system (NC working system) of a machining machine (NC working machine) that processes a workpiece while moving a tool relative to the workpiece (workpiece) using a numerical control program (NC program).

[0003] In the past, in NC working systems, for example, a tool such as an end mill is rotated while the tool is relatively moved according to a specific number (a numerical value such as a decimal) included in the NC program to process a workpiece. Here, Patent Document 1 is cited as a document representing the prior art.

[0004] The present applicant has also proposed a technique for incorporating a calculation formula for calculating the position of a tool that has already been held into an NC program to correct the position of the tool that has already been held (Patent Document 2).

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: Japanese Patent Application Laid-Open No. 63-233403

[0008] Patent Document 2: Japanese Patent No. 6574915 Summary of the invention

[0009] Problems to be solved by the invention

[0010] However, there are contour errors in tools (the difference between the ideal tool contour shape and the actual tool contour shape). In machines that perform ultra-precision machining, the contour errors of tools such as end mills account for the majority of the shape error factors of the workpiece.

[0011] According to the technology proposed by the present applicant of incorporating an operation formula for calculating the position of a tool already held into an NC program and correcting the position of the tool already held (Patent Document 2), errors caused by the tool can be eliminated.

[0012] However, machining errors caused by factors other than the tool cannot be corrected.

[0013] Usually, when correcting machining errors caused by factors other than tools, the machining shape of the machined workpiece can only be measured on or outside the NC machine, and the 3D model is corrected using CAD based on the measurement results. Based on the corrected 3D model, the NC program is corrected using CAM to perform corrections.

[0014] However, the correction of the 3D model requires a lot of work and takes a lot of time.

[0015] The present invention has been made in view of the above-mentioned problems, and an object thereof is to provide a method for machining a workpiece and a system for machining a workpiece, which can correct machining errors without rewriting an NC program and can machine the workpiece with high accuracy.

[0016] Means of solving problems

[0017] One embodiment of the present invention is a method for processing a workpiece, the method for processing a workpiece being implemented by a processing system, the processing system comprising: a workpiece holding mechanism for holding a workpiece; a tool holding mechanism for holding a tool for processing the workpiece held by the workpiece holding mechanism; and a moving mechanism for moving the tool relative to the workpiece in order to process the workpiece using the tool held by the tool holding mechanism, wherein the method for processing the workpiece comprises: a first step in which a first error is obtained in the first step, the first error being a contour error of the tool obtained from an outer shape of the tool measured by a first measuring device; a second step in which a second error is obtained in the second step, the second error being an error obtained by converting a processing error obtained from a shape of a processing surface of the workpiece measured by a second measuring device into a contour error of the tool; and a third step in which the moving mechanism moves the tool relative to the workpiece based on a predetermined NC program, and in the third step, the NC program corrects the position of the tool based on a composite error obtained by adding the first error to the second error.

[0018] Another aspect of the present invention is a system for processing an object to be processed for implementing the above-mentioned method for processing an object to be processed.

[0019] Effects of the Invention

[0020] According to the present invention, it is possible to correct machining errors without rewriting the NC program, thereby achieving an effect of machining a workpiece with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic structural diagram showing a machining system that performs a machining method of a workpiece according to an embodiment of the present invention.

[0022] Figure 2 It is a diagram showing a workpiece and a tool in a workpiece processing machine according to an embodiment of the present invention.

[0023] Figure 3 It is a diagram for explaining a contour error (first error) of a tool in a machine for processing a workpiece according to an embodiment of the present invention.

[0024] Figure 4 It is a diagram for explaining a contour error (first error) of a tool in a machine for processing a workpiece according to an embodiment of the present invention.

[0025] Figure 5 This is a schematic diagram of a workpiece three-dimensional measuring device composed of a touch sensor on an NC machine tool.

[0026] Figure 6 This is a schematic diagram of a workpiece three-dimensional measuring device for measuring the machined shape of a workpiece 5 outside an NC machine tool.

[0027] Figure 7 Yes means Figure 1 Flowchart of the processing steps of a processing machine for a workpiece in the processing system shown.

[0028] Figure 8 It is an explanatory diagram showing a first tool error shape formed by a contour error of a tool.

[0029] Fig. 9 It is an explanatory diagram showing a processing range of a workpiece that changes depending on the radius of the arc of the tool and the radius of the arc of the processed surface of the workpiece.

[0030] Fig.10 It means using Figure 5 The workpiece three-dimensional measuring device composed of the touch sensor shown is a schematic diagram showing a state in which the shape of the processed surface of the workpiece is measured.

[0031] Fig.11 is an explanatory diagram showing a second tool error shape. The second tool error shape is Fig.10 The machining error exemplified in FIG. 1 is a tool profile shape of tool 3 with a correction value added when there is a 2 μm cutting residue on the 45° surface of the machined surface of the workpiece.

[0032] Fig.12 It is an explanatory diagram showing a composite tool shape obtained by overlapping and combining a first tool error shape and a second tool error shape. DETAILED DESCRIPTION

[0033] Next, a processing system 1 for performing a processing method of a workpiece according to an embodiment of the present invention will be described.

[0034] Figure 1 1 is a schematic diagram of the structure of a machining system 1 that performs a machining method of a workpiece according to an embodiment of the present invention.

[0035] like Figure 1 As shown, a machining system 1 includes an NC machine tool 2 such as a machining center as a machining machine, and the NC machine tool 2 machines a workpiece (workpiece) 5 using a tool 3 (machining tool: for example, a ball end mill).

[0036] The NC machine tool 2 includes a workpiece holding portion 7 and a tool holding portion 9 . The tool holding portion 9 is moved in a predetermined direction by a moving portion (moving mechanism) 11 .

[0037] The NC working machine 2 is connected to a control unit 13 (control device). The control unit 13 is equipped with a PC33a or PC33 and CAM39 for generating an NC program used by the control unit 13. The control unit 13 controls the operation of the NC working machine 2 based on the NC program generated by the PC33a or PC33 and CAM39.

[0038] The NC machine tool 2 further includes a tool shape measuring device 31 and a workpiece three-dimensional measuring device 32. The tool shape measuring device 31 and the workpiece three-dimensional measuring device 32 will be described in detail later.

[0039] Furthermore, although the workpiece three-dimensional measuring device 32 is described using an embodiment in which measurement is performed on the NC working machine 2 , the measurement may be performed outside the NC working machine 2 as described later.

[0040] Furthermore, the main purpose of the present invention is to use a technology that incorporates a calculation formula for calculating the position of a tool (a tool that has been maintained) into an NC program to correct the position of the tool, thereby correcting errors caused by the tool (contour errors of the tool itself) and errors caused by factors other than the tool, and processing the object to be processed (workpiece).

[0041] Here, as errors caused by factors other than the tool, there are errors caused by the shape of the workpiece, errors caused by individual differences in processing machines, and the like.

[0042] The so-called error caused by the shape of the workpiece refers to the error caused by the different machining allowances of the tool due to the change in cutting resistance depending on the shape of the workpiece. For example, in the processing of a square groove, the cutting resistance is small in the straight part because the tool contacts at one point. On the other hand, in the corner, the cutting resistance increases because the contact points of the tool increase. In this case, the cutting resistance changes in the straight part and the corner, and the tool retraction amount changes in the corner, resulting in cutting residue.

[0043] The so-called error caused by individual differences in processing machines refers to the error caused by the different movement trajectories of the tool depending on the inherent characteristics of the processing machine. Differences appear in the movement of the processing machine according to parameters such as the gain of the servo motor. In particular, in the processing machine, sometimes the movement trajectory of the tool is corrected to make it move smoothly instead of moving correctly along the specified point on the code specified in the NC program. At this time, if there are differences in the movement of the processing machine, the movement trajectory of the tool will be different. In addition, sometimes the tool position will deviate from the original position due to mechanical deflection caused by the surrounding environment (high temperature environment, etc.) and the influence of the processing machine itself (such as heat). In this case, the movement trajectory of the tool will also be different.

[0044] In addition, errors caused by factors other than the tool also include errors that occur accidentally due to external interference, but in this specification, errors with reproducibility such as processing errors caused by the shape of the workpiece and processing errors caused by individual differences in processing machines are considered.

[0045] That is, in the NC working machine 2 according to the embodiment, a first tool error shape including errors caused by the tool 3 measured by the tool shape measuring device 31 is obtained, and a second tool error shape eliminating errors caused by factors other than the tool 3 measured by the workpiece three-dimensional measuring device 32 is obtained, the first tool error shape and the second tool error shape are synthesized, and based on the synthesized tool error shape, the shape of the tool 3 is corrected and the workpiece is processed so as to eliminate the errors caused by the tool 3 and the errors caused by factors other than the tool 3.

[0046] Furthermore, the shape correction of the tool 3 is performed by incorporating a calculation formula for calculating the position of the tool 3 into the NC program and using a technique for correcting the position of the tool 3 .

[0047] exist Figure 1 In the embodiment, the workpiece holding portion 7 is configured to hold the workpiece 5. The tool holding portion 9 is configured to hold the tool 3. The workpiece 5 held by the workpiece holding portion 7 is machined by the tool 3 held by the tool holding portion 9. An example of machining is cutting machining.

[0048] Figure 2 1 is a diagram showing a workpiece 5 and a tool 3 in an NC machine tool 2 according to an embodiment of the present invention. In the following description, a ball end mill is exemplified as the tool 3. A cutting edge is provided on the outer periphery of the tool 3.

[0049] Here, a predetermined direction in space is defined as the X direction (X-axis direction; lateral direction), and a direction perpendicular to the X direction as another predetermined direction in space is defined as the Y direction (Y-axis direction; front-back direction). In addition, a direction perpendicular to the X direction and the Y direction is defined as the Z direction (Z-axis direction; up-down direction). In addition, in this definition, the X direction and the Y direction are horizontal directions, and the Z direction is the up-down direction, but it is not limited to this. The X direction or the Y direction may be the up-down direction, and the X direction, the Y direction, and the Z direction may be inclined relative to the horizontal direction or the up-down direction.

[0050] When further explained, Figure 2 As shown, the tool 3 is configured to include a cylindrical base end portion 15 and a hemispherical terminal end portion 17. The outer diameter of the base end portion 15 and the diameter of the terminal end portion 17 are consistent with each other, and the terminal end portion 17 is formed in a shape that is closely attached to one end of the extension direction of the central axis C1 of the base end portion 15. In addition, the central axis of the terminal end portion 17 and the central axis C1 of the base end portion 15 are consistent with each other.

[0051] In this embodiment, a ball end mill is used as the tool 3 for explanation. However, the present invention is not limited to this, and other tools such as a radius end mill (an end mill with a flat bottom and R (rounded corners) at the corners) may be used.

[0052] Here, the center of the circular end surface of the distal end portion 17 (the end surface adjacent to the circular end surface of the base end portion 15 ) is defined as the center C2 of the distal end portion 17 . The center C2 is located on the central axis C1 of the tool 3 .

[0053] The cutting edge of the tool 3 is formed on the outer periphery of the distal end portion 17 and the end of the proximal end portion 15 (the end on the distal end portion 17 side). The other end of the proximal end portion 15 of the tool 3 is engaged with the tool holding portion 9 and is held by the tool holding portion.

[0054] Then, the tool 3 held by the tool holding portion 9 rotates (rotates about the central axis C1 as a rotation center) to cut the workpiece 5 with the cutting edge.

[0055] The moving part 11 is configured to move the tool 3 relative to the workpiece 5 in order to process the workpiece 5 using the tool 3. That is, the tool 3 may be moved relative to the workpiece 5, or the workpiece 5 may be moved relative to the tool 3.

[0056] The control unit 13 is configured to control the moving unit 11 based on the NC program to move the tool 3 relative to the workpiece 5 .

[0057] If further explained, Figure 1As shown, the NC machine tool 2 for working the workpiece 5 is configured to include a bed 19 , a table 21 , a column 23 , a spindle support 25 , a spindle frame 27 , and a spindle 29 .

[0058] The table 21 is supported by the bed 19 via linear guide bearings (not shown) and is relatively moved (moved and positioned) in the X direction relative to the bed 19 by an actuator such as a linear motor (not shown).

[0059] The column 23 is integrally provided on the bed 19. The spindle support 25 is supported by the column 23 via a linear guide bearing (not shown) and is relatively moved in the Y direction relative to the column 23 by an actuator such as a linear motor (not shown).

[0060] The spindle frame 27 is supported by the spindle support body 25 via a linear guide bearing (not shown) and is relatively moved in the Z direction relative to the spindle support body 25 by an actuator such as a linear motor (not shown).

[0061] The spindle 29 is supported by the spindle frame 27 via bearings, and is rotatable relative to the spindle frame 27 about a central axis C1 (the same central axis as the tool 3 extending in the Z direction) by an actuator such as a motor (not shown).

[0062] The spindle 29 is provided with a tool holding portion 9, and the workpiece holding portion 7 is provided on the upper surface of the table 21. Thus, the tool 3 moves relative to the workpiece 5 in the X direction, the Y direction, and the Z direction.

[0063] Next, a first tool error shape for eliminating the contour error (first error) of the tool 3 measured by the tool shape measuring device 31 will be described.

[0064] As will be described later, an operation expression (for example, a mathematical expression using four arithmetic operations or the like) for calculating the position of the tool 3 (the coordinates relative to the workpiece 5 ) is incorporated into the NC program.

[0065] That is, the invention of the present application is configured to synthesize the first tool error shape to be described below and the second tool error shape to be described later, and based on the synthesized tool error shape, the corrected position coordinates of the tool 3 when moving are determined using the solution of the above calculation formula.

[0066] The position of the tool 3 is corrected by using the normal vector V1 relative to the processing surface at the processing point T1 (details will be described later) of the tool 3 and the contour error of the tool 3. Thus, the three-dimensional position of the tool 3 is corrected in at least one direction (determined by the shape of the normal vector V1) among the X direction, the Y direction, and the Z direction.

[0067] To further explain, before the workpiece 5 is formally processed, the Figure 1 The tool shape measuring device 31 shown in FIG. 1 calculates the contour error of the tool 3 in advance.

[0068] The tool shape measuring device 31 is provided at a predetermined position of the NC working machine 2. Then, the tool 3 is placed at a position where the shape of the tool 3 can be measured by the tool shape measuring device 31 (laser or camera, etc.), and the tool 3 is rotated (rotated around the central axis C1), thereby measuring the outer shape of the tool 3 on the machine (on the NC working machine 2).

[0069] The difference (difference at each location of the tool 3 ) between the measured outer shape of the tool 3 and the outer shape of the ideal tool 3 (the outer shape of the tool 3 without shape error) is regarded as a contour error (first error) of the tool 3 itself.

[0070] Figure 3 It is a diagram for explaining a contour error (first error) of a tool in a machine for processing a workpiece according to an embodiment of the present invention.

[0071] Figure 3 The dotted line in (a) shows the shape of the ideal tool 3. Figure 3 The solid line in (a) shows the actual shape of the tool 3 with shape error. Figure 3 In (a), the tool is not rotated around the central axis C1. Figure 3 The tool 3 indicated by the solid line in (a) is located slightly offset to the right with respect to the central axis C1.

[0072] Figure 3 The dotted line in (b) shows the shape of the ideal tool 3. Figure 3 The solid line in (b) shows the actual tool 3 with shape error ( Figure 3 (a) shows the outer shape of the tool 3) when it is rotated around the central axis C1.

[0073] Figure 3 The outer shape of the tool 3 shown by the solid line in (b) is of course linearly symmetrical with respect to the central axis C1. If the workpiece 5 is processed at the end portion 17 of the tool 3, the contour error of the tool 3 is as follows: Figure 4 As shown, it can be found by using a 1 / 4 arc of the terminal portion 17 (ie, the range of the angle of 90°).

[0074] Figure 4 It is a diagram for explaining a contour error (first error) of a tool in a machine for processing a workpiece according to an embodiment of the present invention.

[0075] In addition, as the tool shape measuring device 31, for example, there can be cited a device disclosed in Japanese Patent Application No. 63-233403.

[0076] The details of the process of eliminating the contour error of the tool 3 measured by the tool shape measuring device 31 are described in Japanese Patent No. 6574915 of the present applicant.

[0077] Next, a second tool error shape based on machining errors such as cutting residue of the workpiece 5 measured by the workpiece three-dimensional measuring device 32 in order to eliminate errors (machining errors) caused by factors other than the tool 3 will be described.

[0078] First, the workpiece three-dimensional measuring device 32 for measuring the machined shape of the workpiece 5 on the NC machine tool 2 will be described. Figure 5 This is a schematic diagram of a workpiece three-dimensional measuring device composed of a touch sensor on an NC machine tool.

[0079] As in Figure 1 and Figure 5 As shown in the schematic configuration in FIG. 1 , the workpiece three-dimensional measuring device 32 is generally composed of a touch sensor called a contact probe.

[0080] The touch sensor 32 is disposed on the spindle frame 27 of the spindle support 25 of the NC machine tool 2 independently of the tool 3 and can be replaced with the tool 3. The touch sensor 32 measures the dimensions of the machined surface of the workpiece 5 machined by the NC machine tool 2.

[0081] Then, data on the shape of the machined surface of the workpiece 5 measured by the touch sensor 32 is sent to the PC 33 a and stored.

[0082] This workpiece 5 is the same workpiece (sample) as the workpiece 5 manufactured by the main machining. Therefore, the machined surface of the workpiece 5 is the same as the machined surface manufactured by the main machining.

[0083] As will be described later, PC 33a uses predetermined software based on the data of the dimensions of the machined surface of the workpiece 5 to obtain the measured points (design values), shape errors, normal vectors of the measured points, etc. of the machined surface of the workpiece 5.

[0084] exist Figure 5 In the case of the workpiece three-dimensional measuring device 32 composed of the on-machine touch sensor shown, the machined surface of the workpiece 5 can be measured without moving the machined workpiece 5 from the NC machine 2 .

[0085] However, in this case, it is necessary to provide a mechanism for providing the touch sensor 32 in the spindle frame 27 of the spindle support 25 of the NC machine tool 2 independently of the tool 3 .

[0086] In the above embodiment, a touch sensor for measuring the processed shape of the workpiece 5 on the NC machine 2 is used as the workpiece three-dimensional measuring device 32. However, as another embodiment, a workpiece three-dimensional measuring device 51 for measuring the processed shape of the workpiece 5 outside the NC machine 2 may be used.

[0087] Figure 6 It is a schematic diagram of a workpiece three-dimensional measuring device 51 that measures the machined shape of the workpiece 5 outside the NC machine tool 2 .

[0088] like Figure 6 As shown, the workpiece three-dimensional measuring device 51 comprises: a workbench 53, wherein the workbench 53 is used to place the workpiece 5 processed by the NC working machine 2 at a specified position; and a shape sensor 55, wherein the shape sensor 55 measures the processing surface of the workpiece 5 being processed above the workpiece 5 placed on the workbench 53, and the processing surface of the workpiece 5 is measured by moving the shape sensor 55 up, down, left, and right relative to the fixed workpiece 5.

[0089] Here, the workpiece three-dimensional measuring device 51 outside the NC machine 2 obtains the measured point (design value), shape error, normal vector of the measured point, etc. based on the data of the dimension of the machined surface of the machined workpiece 5 to be measured, and sends them to the PC 33a.

[0090] In the case of this embodiment, a workpiece three-dimensional measuring device 51 is necessary to measure the machined shape of the workpiece 5 outside the NC machine 2 and obtain the measured points (design values), shape errors, normal vectors of the measured points, etc.

[0091] Below, refer to Figure 7 , a processing procedure of a processing machine for a workpiece (workpiece) according to an embodiment of the present invention is described.

[0092] Figure 7 This is a flowchart of a processing procedure of a workpiece processing machine according to an embodiment of the present invention.

[0093] First, in Figure 7 In step S11, an NC program for machining the workpiece 5, that is, three-dimensional coordinates of a machining path of the tool 3, is generated based on a commercially available CAM. Here, a ball end mill is used as the tool 3.

[0094] Next, in step S12 , a correction vector (normal vector) is added to the NC program, and in step S13 , the NC program is read into the control unit 13 of the NC working machine 2 .

[0095] The processing of steps S11 to S13 is performed by the PC 33 a or the PC 33 and the CAM 39 that generate the NC program.

[0096] Here, the position of the tool 3 is corrected using the normal vector relative to the processing surface at the processing point of the tool 3 and the contour error of the tool 3. Thus, the three-dimensional position of the tool 3 is corrected in at least one direction (determined by the form of the normal vector) among the X direction, the Y direction, and the Z direction.

[0097] Next, in steps S14 to S16 described below, a description will be given of a process for eliminating errors caused by the tool 3 and errors caused by factors other than the tool.

[0098] First, in step S14, the shape of the tool 3 for processing the workpiece 5 is measured by a tool shape measuring device 31 using a laser or the like, a first error as a contour error of the tool 3 is obtained from the shape of the tool 3, and a first tool error shape is obtained from the first error (first process). The first tool error shape refers to the contour shape of the tool 3 including the first error.

[0099] That is, Figure 1 As shown, the tool shape measuring device 31 is set at a specified position of the NC working machine 2, and the tool 3 is placed at a position where it can be measured by the tool shape measuring device 31 (laser or camera, etc.), and the tool 3 is rotated (rotated around the central axis C1), thereby measuring the shape of the tool 3 on the machine (on the NC working machine 2).

[0100] The difference (difference at each part of the tool 3) between the measured outer shape of the tool 3 and the outer shape of the ideal tool 3 (the outer shape of the tool 3 without shape error) is obtained as a contour error (first error) of the tool 3. The outer shape of the ideal tool 3 is stored in the control unit 13 as outer shape data and is defined by the shape and size of the tool 3.

[0101] Figure 8 : is an explanatory diagram showing the first tool error shape caused by the tool profile error. As described above, for example, if the tool profile error is measured at a small angle of 0.1°, the result is Figure 8 The profile error CV1 of the small wavy line shown in the curve in (a).

[0102] about Figure 8 The curve (contour error CV1) shown in (a) is filtered to remove the high-frequency components, and the Figure 8 The profile error CV2 of the wave is as shown in the curve in (b). As described below, Figure 8The contour shape of the tool 3 having the contour error CV2 shown by the curve in (b) is used as a first tool error shape and corrected (hereinafter referred to as “first tool error shape CV2 ”).

[0103] Fig. 9 This is a diagram showing the processing range of the workpiece that changes according to the radius of the arc of the tool 3 and the radius of the arc of the workpiece's processing surface. When the difference between the radius of the arc of the tool 3 and the radius of the workpiece's processing surface is small, the contact length (contact area) CT3 between the workpiece 5 and the tool 3 becomes large.

[0104] Thus, in some cases, even if the shape of the tool 3 for processing the workpiece 5 is measured by a tool shape measuring device 31 using a laser or the like, a first error is obtained from the shape of the tool 3, and a first tool error shape is obtained from the first error, errors (processing errors) caused by factors other than the tool 3 may occur only by performing tool correction using the first tool error shape.

[0105] In order to cope with such a machining error, in the present invention, the processing after step S15 described below is performed.

[0106] exist Figure 7 In step S15, in order to eliminate the machining error caused by factors other than the tool 3, a second error is obtained, and a second tool error shape is obtained from the second error (second process), wherein the second error is obtained by converting the machining error obtained from the shape of the machined surface of the machined workpiece 5 measured by the workpiece three-dimensional measuring device 32 into a contour error of the tool 3. The second tool error shape refers to the contour shape of the tool 3 including the second error.

[0107] Next, a method for calculating the contour error of the tool 3 from the shape of the machined surface of the workpiece 5 measured by the workpiece three-dimensional measuring device 32 and calculating the second tool error shape including the second error as the contour error of the tool 3 will be described in detail.

[0108] First, a test machining is performed on the test workpiece 5. During the test machining, the moving unit 11 moves the tool 3 relative to the test workpiece 5 based on the NC program. At this time, the NC program corrects the position of the tool 3 based on the correction amount of the NC program to be described later. That is, the NC program corrects the position of the tool 3 based on the first tool error shape CV2 including the first error. Thus, the machining error of the workpiece 5 caused by the contour error of the tool 3 is corrected, the tool 3 is moved, and the test workpiece 5 is machined.

[0109] Use Figure 5The workpiece three-dimensional measuring device 32 composed of a touch sensor on the NC machine tool 2 shown measures the shape of the machined surface of the test workpiece 5 being machined.

[0110] That is, before the actual machining, the tip of the touch sensor 32 is brought into contact with the machined surface of the test workpiece 5 machined by the NC machine tool 2 to measure the shape of the machined surface of the test workpiece 5 .

[0111] Here, the test workpiece 5 is the same workpiece (test sample) as the workpiece 5 provided for the actual processing. Therefore, the processed surface of the test workpiece 5 is also the same as the processed surface of the workpiece 5 for the actual processing produced by the actual processing.

[0112] By bringing the tip of the touch sensor 32 into contact with the machined surface of the test workpiece 5, the touch sensor 32 measures the shape of the machined surface of the test workpiece 5. The measurement data is sent to the PC 33a that generates the NC program used by the control unit 13 and stored.

[0113] In the PC 33 a , based on the data of the dimensions of the machined surface of the test workpiece 5 to be measured, the measurement point (design value), the shape error, the normal vector of the measurement point, and the like are obtained using predetermined software.

[0114] That is, PC33a uses measurement software for working machines developed by three-dimensional measuring machine manufacturers such as Hexagon, and approaches and measures from the direction of the surface perpendicular vector relative to the measuring point by CAD, thereby realizing high-order on-machine measurement and obtaining the measuring point (design value), shape error, normal vector of the measuring point, etc.

[0115] In addition, PC33a compares the measured points (design values), shape errors, and normal vectors of the measured points of the test workpiece 5 obtained using the above-mentioned measuring software for the working machine with the CAD model representing the shape of the ideal workpiece after processing, and calculates and finds out the degree of processing error at which part of the processing surface 5a of the test workpiece 5 exists.

[0116] Fig.10 It means to use Figure 5 The illustrated workpiece three-dimensional measuring device 32 composed of a touch sensor is a schematic diagram showing a state in which the shape of the processed surface 5 a of the workpiece 5 is measured.

[0117] exist Fig.10 In FIG. 1 , a case where a cutting residue of 2 μm is present on a 45° surface of a machined surface 5 a of a test workpiece 5 is exemplified as a machining error.

[0118] In addition, in the present embodiment, a workpiece three-dimensional measuring device 32 composed of a touch sensor on the NC working machine 2 is used to measure the machining surface 5a of the test workpiece 5. In PC33a, based on the data of the dimensions of the machining surface of the test workpiece 5 measured, the measurement point (design value), shape error, normal vector of the measurement point, etc. are obtained using prescribed software on PC33a.

[0119] However, the shape of the machined surface of the test workpiece 5 may be measured by the workpiece three-dimensional measuring device 51 outside the NC machine 2, and the measurement point (design value), shape error, normal vector of the measurement point, etc. may be obtained from the measurement data.

[0120] Next, PC 33a calculates which degree of machining error exists in which part of the machining surface 5a of the test workpiece 5. PC 33a extracts a tool contour shape including the contour error of the tool 3 obtained to eliminate the machining error of the machining surface 5a of the workpiece 5 from the calculation data as a second tool error shape 3a1.

[0121] Fig.11 is a schematic diagram showing the second tool error shape. The second tool error shape is Fig.10 The tool contour shape in which the correction value of the tool 3 is added as a machining error in the case where there is a 2 μm cutting residue in the surface near 45° of the machined surface 5a of the workpiece 5 is shown. Fig.11 In the figure, the solid line represents the tool contour shape, and the dotted line represents the tool contour shape with the correction value added.

[0122] like Fig.11 As shown by the dotted line, in the tool contour shape with the correction value added, as Fig.10 The machining error illustrated in FIG. 1 is a second tool error shape 3 a 1 in which a cutting residue of 2 μm is eliminated in a surface near 45° of the machined surface 5 a of the test workpiece 5 .

[0123] Here, the second tool error shape 3 a 1 is a concave shape in which a 2 μm cutting residue is eliminated in a surface near 45° of the machined surface 5 a of the test workpiece 5 .

[0124] That is, when cutting residue is generated in the test workpiece 5, it can be regarded as the same as the situation where there is a concave part in the tool shape. Therefore, by providing a concave part in the correction value of the tool shape, the correction is activated as if there is a concave part in the tool, and the cutting residue of the workpiece 5 can be eliminated.

[0125] Furthermore, when there is overcutting in the machined surface 5 a of the test workpiece 5 , the second tool error shape becomes a convex shape that eliminates the overcutting.

[0126] Next, in step S16 , the control unit 13 combines the first tool error shape CV2 and the second tool error shape 3 a 1 to generate a combined tool error shape ( CV2 + 3 a 1 ) (fourth step).

[0127] That is, include Figure 8 The first tool error shape CV2 of the tool profile error (first error) shown is consistent with the Fig.11 The second tool error shape 3a1 of the contour error (second error) of the tool 3 shown is overlapped and synthesized to obtain Fig.12 The composite tool error shape (CV2+3a1) is shown. That is, the composite tool error shape (CV2+3a1) is a tool error shape including a composite error obtained by adding the first error to the second error.

[0128] Specifically, use Fig.11 The second tool error shape 3a1 shown is a contour of the tool 3 from the first transfer point X1 to the second transfer point X2 instead of Figure 8 (b) The wave profile shown by curve CV2 is obtained Fig.12 The resultant tool error shape (CV2+3a1) is shown.

[0129] That is, the transition points X1 and X2 in the second tool error shape 3a1 that transition to the concave shape that eliminates cutting residues are obtained, and the contour between the transition points X1 and X2 in the first tool error shape CV2 is replaced with the concave shape of the second tool error shape 3a1 to obtain a composite tool shape.

[0130] Fig.12 This is an explanatory diagram showing a composite tool error shape (CV2+3a1) obtained by overlapping and combining the first tool error shape CV2 and the second tool error shape 3a1.

[0131] In addition, in fact, Figure 3 The shape of the tool 3 shown by the solid line in (b) is of course line symmetric with respect to the central axis C1.

[0132] That is, since the tip 17 of the tool 3 is line symmetrical with respect to the central axis C1, the profile error of the tool 3, such as Fig.12 As shown, the angles are the same around 1 / 4 of the arc (i.e., the range of the angle of 90°).

[0133] Therefore, when the workpiece 5 is machined by the tip portion 17 of the tool 3 , the contour error of the tool 3 can be obtained by using a 1 / 4 arc (ie, a range of an angle of 90°) of the tip portion 17 on either side.

[0134] Next, in step S16, based on Fig.12The first tool error shape CV2 and the second tool error shape 3 a 1 are superimposed and combined into a composite tool shape ( CV2 + 3 a 1 ), and the correction amount of the NC program is calculated and set in the memory or the like of the control unit 13 .

[0135] Here, the NC program includes an operation formula (for example, a mathematical formula using four arithmetic operations) for calculating the position (coordinates relative to the workpiece 5) of the tool 3. That is, the position coordinates of the tool 3 when it moves are determined by the solution of the operation formula.

[0136] That is, in order to eliminate machining errors of the workpiece 5 caused by contour errors of the tool 3 and machining errors caused by factors other than the tool, the NC program is configured to correct the position of the tool 3 according to the correction amount using a calculation expression.

[0137] That is, if specific numbers are used, the NC program must be rewritten each time the processing machine is changed, the tool is replaced, the tool is worn, etc. However, by using a calculation formula, it is possible to respond to the tool contour error that changes from time to time.

[0138] In addition, by using the calculation formula, the measured tool profile value is stored in a variable and calculated (calculated) during processing, so once the NC program is created, it can be used continuously thereafter. In addition, since the calculation formula of the NC program is calculated by the control unit 13, a dedicated device is not required.

[0139] Note that correction of the position of the tool using the above-mentioned calculation formula is described in detail in Japanese Patent No. 6574915 previously filed by the present applicant.

[0140] In the present embodiment, the process of obtaining the composite tool shape (CV2+3a1) is executed in the PC 33a. However, the composite process may be executed by the PC 33 and the CAM 39 other than the PC 33a.

[0141] Thereafter, in step S17, actual machining by the tool 3 is started in the NC working machine 2. The moving unit 11 moves the tool 3 relative to the workpiece 5 for actual machining based on the NC program (third step).

[0142] At this time, the NC program corrects the position of the tool 3 based on the correction amount of the NC program. That is, the NC program corrects the position of the tool 3 based on the tool error shape including the composite error obtained by adding the first error to the second error. In this way, the machining error of the workpiece 5 caused by the contour error of the tool 3 and the machining error of the workpiece 5 caused by factors other than the tool 3 can be corrected, and the tool 3 is moved to perform machining of the workpiece 5.

[0143] According to the NC working machine 2 of the present embodiment, since the contour error of the workpiece 3 is eliminated, and the machining error caused by factors other than the tool 3 is also eliminated, it is possible to achieve extremely accurate machining.

[0144] Furthermore, according to the NC working machine 2 of the present embodiment, since the calculation formula for calculating the position (coordinate value) of the tool 3 is incorporated into the NC program, it is not necessary to rewrite the NC program every time when the tool is replaced or when the tool is worn.

[0145] The present invention is not limited to the above-described embodiments of the invention, and can be implemented in other forms by making appropriate changes.

[0146] For example, in addition to correcting the errors caused by the tool 3 and the errors caused by factors other than the tool 3, the wear amount of the tool 3 from the start to the end of the processing of the workpiece 5 by the tool 3 can be measured and added to the processing error caused by factors other than the tool 3. Taking into account the shape of the tool 3 that has changed due to the wear amount, the NC program can be corrected to perform processing of the workpiece 5 with higher precision.

[0147] Note that the modification of the NC program in consideration of the shape of the tool 3 changed due to the wear amount is described in detail in Japanese Patent No. 6574915 previously filed by the present applicant.

[0148] In addition, in the above-mentioned embodiment, when using Figure 8 The first tool error shape CV2 shown includes the tool profile error and Fig.11 The second tool error shape 3a1 including the contour error of the tool 3 shown is overlapped and synthesized to obtain Fig.12 In the case of the composite tool error shape (CV2+3a1) shown in Fig.11 The second tool error shape 3a1 shown is a contour of the tool 3 from the first transfer point X1 to the second transfer point X2 instead of Figure 8 The wave profile error CV2 shown in the curve in (b) is obtained Fig.12 The synthetic tool error shape (CV2+3a1) is shown, but it is not limited to this and can also be synthesized in the following manner.

[0149] That is, you can also Figure 8 The part of the wave profile error CV2 shown by the curve in (b) corresponding to the surface near 45° of the machined surface 5a of the workpiece 5 plus the part including Fig.11 The second tool error shape 3 a 1 of the contour error of the tool 3 is shown, and a composite tool error shape ( CV2 + 3 a 1 ) is obtained.

[0150] In addition, the shape of the machined surface of the workpiece 5 is measured, and as a means for obtaining the measuring point (design value), shape error, normal vector of the measuring point, etc. from the measurement data, the measurement is performed on the NC working machine 2 using a workpiece three-dimensional measuring device 32 composed of a touch sensor. On PC33a, based on the measured data of the size of the machined surface of the workpiece 5, the measuring point (design value), shape error, normal vector of the measuring point, etc. are obtained using prescribed software on PC33a. Outside the NC working machine 2, a workpiece three-dimensional measuring device 51 for obtaining its measuring point (design value), shape error, normal vector of the measuring point, etc. is used. However, it is not limited to this, and any method is acceptable as long as the shape of the machined surface of the workpiece 5 can be measured and the measuring point (design value), shape error, normal vector of the measuring point, etc. can be obtained from its measurement data.

[0151] In the above embodiment, before the actual machining, the test workpiece 5 is machined to correct the machining error of the workpiece 5 caused by the contour error of the tool 3 and the machining error of the workpiece 5 caused by factors other than the tool 3. That is, the outline of the machining method according to this embodiment is as follows.

[0152] (1) Before the test machining, the shape of the tool 3 is measured to obtain the first tool error shape ( Figure 7 Step S14).

[0153] (2) Test machining is performed on the test workpiece 5.

[0154] (3) Measure the machined surface of the test workpiece 5 to obtain the second tool error shape ( Figure 7 Step S15).

[0155] (4) The first tool error shape and the second tool error shape are synthesized to obtain a synthesized tool error shape, and a correction amount is calculated from the synthesized tool error shape and set in the control unit 13 ( Figure 7 Step S16).

[0156] (5) Using the calculated correction amount, the workpiece 5 for actual machining is machined. Figure 7 Step S17).

[0157] However, according to the processing method of this embodiment, the test processing can be performed in the formal processing without performing the test processing. For example, according to the processing method of this embodiment, it is performed during the initial processing of the workpiece 5 for formal processing. The general situation of the processing method in this case is as follows.

[0158] (1) Before formal processing, the shape of tool 3 is measured to obtain the first tool error shape (equivalent to Figure 7 Step S14).

[0159] (2) The workpiece 5 for main processing is processed.

[0160] (3) The machined surface of the workpiece 5 used for actual machining is measured to obtain the second tool error shape (equivalent to Figure 7 Step S15).

[0161] (4) The first tool error shape and the second tool error shape are synthesized to obtain a synthesized tool error shape, and a correction amount is calculated from the synthesized tool error shape and set in the control unit 13 (equivalent to Figure 7 Step S16).

[0162] (5) In the second and subsequent machining, the workpiece 5 for the main machining is subjected to the main machining (equivalent to Figure 7 Step S17).

[0163] In the second and subsequent processing, the steps from (2) to (5) may be performed each time the processing is performed, or the steps from (2) to (5) may be performed periodically when the number of processing times reaches a certain number. In addition, when the formal processing includes a plurality of processes such as rough processing, intermediate processing, and finishing processing, it is preferred that the processing surface of the workpiece 5 for formal processing is measured after the final finishing processing. In addition, when measuring the processing surface of the workpiece 5 for formal processing, if there is no processing error or the processing error is smaller than the reference value for judging whether the processing is good, the steps from (4) to (5) may be skipped.

[0164] In the case of the method of correction by trial machining shown in the former, the correction of machining error is reflected during the formal machining. The formal machining of (5) in the former method is performed on a workpiece 5 for formal machining that is different from the workpiece 5 for trial machining whose machining surface is measured in (3) and the second tool error shape is obtained. On the other hand, in the case of the method of correction during formal machining shown in the latter, the correction of machining error can be reflected during the formal machining of the next workpiece 5 for formal machining, or can be reflected during the correction machining of the same workpiece 5 for formal machining. That is, the formal machining of (5) in the latter method can be performed on a new workpiece 5 for formal machining that is different from the workpiece (5) for formal machining whose machining surface is measured in (3) and the second tool error shape is obtained, or can be performed on the workpiece 5 for formal machining whose machining surface is measured in (3) and the second tool error shape is obtained. Description of Reference Numerals

[0165] 1 Processing system

[0166] 2 NC machine tools

[0167] 3 Tools (Ball nose end mill)

[0168] 3a1 Second tool error shape

[0169] 5 Object to be processed (workpiece)

[0170] 5a Processing surface

[0171] 7 Workpiece holding section

[0172] 9 Tool holding part

[0173] 11 Mobile Department

[0174] 13. Control Unit

[0175] 31 Tool shape measuring device

[0176] 32, 51 Tool three-dimensional measurement device

[0177] 33 PC

[0178] 39 CAM

[0179] 41, 43 processing path

[0180] C1 Center Axis

[0181] C2 Center

[0182] CV1, CV2 contour error

[0183] CV2 First Tool Error Shape

[0184] 3a1 Second tool error shape

[0185] T1 processing point

[0186] X1 First transfer point

[0187] X2 Second transfer point

Claims

1. A method for processing a workpiece, wherein the method for processing a workpiece is implemented by a processing system, wherein the processing system comprises: a workpiece holding mechanism, wherein the workpiece holding mechanism holds the workpiece; a tool holding mechanism for holding a tool for processing a workpiece held by the workpiece holding mechanism; as well as A moving mechanism, wherein the moving mechanism moves the tool relative to the workpiece in order to process the workpiece using the tool held by the tool holding mechanism, wherein the workpiece processing method comprises: a first step of obtaining a first error in the first step, wherein the first error is a contour error of the tool obtained from an outer shape of the tool measured by a first measuring device; a second step of obtaining a second error in the second step, the second error being obtained by converting a machining error obtained from a shape of a machined surface of the workpiece measured by a second measuring device into a contour error of a tool; and a third step, in which the moving mechanism moves the tool relative to the workpiece based on a predetermined NC program; In the third step, the NC program corrects the position of the tool based on a combined error obtained by adding the first error to the second error.

2. The method for processing a workpiece according to claim 1, wherein: The NC program includes a calculation formula for calculating the position of the tool, and the NC program corrects the position of the tool using the calculation formula.

3. The method for processing a workpiece according to claim 1, wherein: The first step includes the following processing: using the first measuring device to measure the shape of the tool, and obtaining a contour error between the measured tool shape and the ideal tool shape as the first error; The second step includes the following processing: using the second measuring device to measure the shape of the machined surface of the workpiece, and calculating the contour error of the tool that eliminates the processing error which is the difference between the measured shape of the machined surface of the workpiece and the shape of the ideal machined surface of the workpiece as the second error.

4. The method for processing a workpiece according to claim 3, wherein: The shape of the machined surface of the workpiece measured by the second measuring device is used to obtain the measuring point, shape error and normal vector of the measuring point of the machined surface of the workpiece, and the second error is calculated from the measuring point, shape error and normal vector of the measuring point of the machined surface of the workpiece.

5. The method for processing a workpiece according to claim 3, wherein: The first step further includes the following processing: extracting a contour shape of the tool including the first error as a first tool error shape, The second step further includes a process of extracting a contour shape of the tool including the second error as a second tool error shape.

6. The method for processing a workpiece according to claim 5, characterized in that: The method further comprises a fourth step of calculating a correction amount of the NC program based on a composite tool error shape obtained by composite the first tool error shape and the second tool error shape. In the third step, the NC program corrects the position of the tool based on the correction amount.

7. The method for processing a workpiece according to claim 1, wherein: The tool is a ball end mill or a radius end mill for machining the workpiece. 8 . A system for processing a workpiece, the system being used for implementing the method for processing a workpiece according to claim 1 .