Cutter contact based finish milling interpolation method
By establishing the relative relationship between the tool and the workpiece in 3D CAM software, calculating the cutting force and tool holder deformation, and performing tool position compensation, the problem of tool deformation affecting accuracy in milling finishing is solved, and the machining accuracy of complex parts is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NORTHWESTERN POLYTECHNICAL UNIV
- Filing Date
- 2023-12-26
- Publication Date
- 2026-06-23
AI Technical Summary
Existing technologies fail to effectively consider tool deformation during milling finishing, which affects the machining accuracy of complex mechanical parts. In particular, during blade finishing, the deformation of slender milling cutters under cutting forces affects product accuracy.
By importing workpiece and tool models into 3D CAM software, the relative relationship between the tool position point and the workpiece is established, the cutting profile and cutting force are determined, the tool holder deformation is calculated, and the offset compensation of the tool position point in the NC program is performed to improve machining accuracy.
By calculating the tool contact point and cutting force at each point and performing tool position compensation, the accuracy of machining complex surfaces is improved, especially when using slender tools in the finishing of blades, where the machining accuracy is significantly improved.
Smart Images

Figure CN117620278B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of machining technology, and more specifically, to a milling finishing interpolation method based on tool contact points. Background Technology
[0002] The machining of complex mechanical parts typically involves multiple processes such as turning, milling, and drilling in a machining center. Take a turbocharger impeller as an example; it is a typical complex part widely used in the energy, aerospace, and marine industries. Machining such an impeller on a precision engraving machine requires 27 steps. The blade finishing (the 11th step) is the most complex and has the greatest impact on the precision of the blades. Currently, tapered ball end mills and cradle-type BC five-axis machining centers are generally used for this process, with the movement of the tool and machine tool controlled by a CNC program.
[0003] When performing milling finishing, a pure geometric interpolation method is generally used to densify the machining path through interpolation. The resulting CNC program is a series of point-to-point linear motions. After the program is input into the CNC system, further linear interpolation is performed between the points according to the interpolation cycle to obtain the drive commands for the five motion axes.
[0004] However, this purely geometric interpolation method does not consider the deformation of the tool during machining. Due to the space constraints between the blades, a slender end mill is used for blade finishing. This end mill deforms under the cutting force during machining, and the amount of deformation affects the machining accuracy of the product. Summary of the Invention
[0005] To address the shortcomings of existing technologies, the purpose of this invention is to provide a milling finishing interpolation method based on tool contact points.
[0006] In a first aspect, embodiments of this application provide a milling finishing interpolation method based on tool contact points, including:
[0007] Step 1: Import the 3D model of the workpiece after finishing and the 3D model of the cutting tool into the 3D CAM software;
[0008] Step 2: Based on the XYZBC coordinates of each line of the finishing NC program, establish the relative relationship between the tool position point, tool axis vector and workpiece;
[0009] Step 3: Determine the cutting profile and the cutting force on the cutting profile based on the relative relationship between the tool position point, the tool axis vector and the workpiece;
[0010] Step 4: Determine the component perpendicular to the tool axis and the deformation of the tool holder according to the direction of the cutting force;
[0011] Step 5: Based on the component perpendicular to the tool axis and the deformation of the tool holder, perform offset compensation on the tool position point in the NC program.
[0012] Optionally, step 3 includes:
[0013] A cutting layer is formed by offsetting a machining allowance t1 outward on the 3D model;
[0014] Based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position to determine the current cutting area;
[0015] Determine the entry point and cutting force direction on the cutting profile;
[0016] Cutting is performed using the climb milling direction, and the cutting force at the point of entry is determined.
[0017] Optionally, based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position point to determine the current cutting area, including:
[0018] Establish a cutting profile with the path forward direction as the normal. Assume that the cutting profile and the surface before finishing form an intersection line, denoted as L1, and the intersection line between the tool spherical surface and the cutting profile is denoted as L2. The intersection point of L1 and L2 is denoted as A.
[0019] Copy L2 and move it along L1 by a single-layer cutting depth t2 to obtain the intersection line L3 of the previous layer machining surface and the cutting profile. The intersection point of L3 and L1 is denoted as B, and the intersection point of L3 and L2 is denoted as C. The area within the three points A, B, and C is the current cutting area.
[0020] Optionally, determining the entry point and cutting force direction on the cutting profile includes:
[0021] Create a normal line L0 for the cutting profile through point B, where L0 represents the edge left by the previous machining layer.
[0022] At the current cutting point, find the intersection point D of a single helical cutting edge and L0 by rotating the conical ball end mill around the cutting axis;
[0023] The direction perpendicular to the helical cutting edge at point D is taken as the direction of the cutting force.
[0024] Optionally, cutting is performed in the climb milling direction, and the cutting force at the point of entry is determined, including:
[0025] The milling cutting force is decomposed into the principal cutting force and the perpendicular cutting force. The formula for calculating the principal cutting force Fc is as follows:
[0026] F c =k L *h D*b D
[0027] Where: k L h represents the unit cutting force. D Indicates the cutting thickness, b D Indicates the cutting width.
[0028] Secondly, embodiments of this application provide a milling finishing interpolation device based on tool contact points, comprising:
[0029] The model import module is used to import the 3D model of the workpiece after finishing and the 3D model of the cutting tool into 3D CAM software.
[0030] The correspondence establishment module is used to establish the relative relationship between the tool position point, tool axis vector and workpiece according to the XYZBC coordinates of each line of the finishing NC program;
[0031] The cutting force determination module is used to determine the cutting profile and the cutting force on the cutting profile based on the relative relationship between the tool position point, the tool axis vector and the workpiece.
[0032] The tool holder deformation determination module is used to determine the component perpendicular to the tool axis and the deformation of the tool holder according to the direction of the cutting force.
[0033] The offset compensation module is used to offset the tool position point in the NC program based on the component perpendicular to the tool axis and the deformation of the tool holder.
[0034] Optionally, the cutting force determination module is specifically used for:
[0035] A cutting layer is formed by offsetting a machining allowance t1 outward on the 3D model;
[0036] Based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position to determine the current cutting area;
[0037] Determine the entry point and cutting force direction on the cutting profile;
[0038] Cutting is performed using the climb milling direction, and the cutting force at the point of entry is determined.
[0039] Optionally, based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position point to determine the current cutting area, including:
[0040] Establish a cutting profile with the path forward direction as the normal. Assume that the cutting profile and the surface before finishing form an intersection line, denoted as L1, and the intersection line between the tool spherical surface and the cutting profile is denoted as L2. The intersection point of L1 and L2 is denoted as A.
[0041] Copy L2 and move it along L1 by a single-layer cutting depth t2 to obtain the intersection line L3 of the previous layer machining surface and the cutting profile. The intersection point of L3 and L1 is denoted as B, and the intersection point of L3 and L2 is denoted as C. The area within the three points A, B, and C is the current cutting area.
[0042] Optionally, determining the entry point and cutting force direction on the cutting profile includes:
[0043] Create a normal line L0 for the cutting profile through point B, where L0 represents the edge left by the previous machining layer.
[0044] At the current cutting point, find the intersection point D of a single helical cutting edge and L0 by rotating the conical ball end mill around the cutting axis;
[0045] The direction perpendicular to the helical cutting edge at point D is taken as the direction of the cutting force.
[0046] Optionally, cutting is performed in the climb milling direction, and the cutting force at the point of entry is determined, including:
[0047] The milling cutting force is decomposed into the principal cutting force and the perpendicular cutting force. The formula for calculating the principal cutting force Fc is as follows:
[0048] F c =k L *h D *b D
[0049] Where: k L h represents the unit cutting force. D Indicates the cutting thickness, b D Indicates the cutting width.
[0050] Thirdly, embodiments of this application provide a milling finishing interpolation device based on tool contacts, comprising: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to:
[0051] Perform the steps of the milling finishing interpolation method based on tool contact as described in any one of the first aspects.
[0052] Fourthly, embodiments of this application provide a computer-readable storage medium for storing a program, which, when executed, implements the steps of the milling finishing interpolation method based on tool contacts as described in any one of the first aspects.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] This application uses CAM software to calculate the tool contact point, cutting force, and tool deformation at each point along the finishing path, thereby compensating for the tool position and improving the finishing accuracy. This is particularly important for machining complex surfaces, where the tool contact point, tool axis angle, and cutting thickness change at each point along the machining path, resulting in variations in cutting force and tool deformation. This is especially significant for finishing blades using slender tools. Attached Figure Description
[0055] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort. Other features, objects, and advantages of the present invention will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0056] Figure 1 A flowchart of a milling finishing interpolation method based on tool contact points provided in this application embodiment;
[0057] Figure 2 A schematic diagram illustrating the imported three-dimensional model of the impeller after finishing and the three-dimensional model of the cutting tool, provided for embodiments of this application;
[0058] Figure 3 A schematic diagram illustrating the process of offsetting a machining allowance t1 outward on a three-dimensional model of a blade to form a cutting layer, as provided in this embodiment of the application.
[0059] Figure 4 This is a schematic diagram of the current cutting zone provided in an embodiment of this application;
[0060] Figure 5 This is a schematic diagram of the cutting direction and cutting force direction of the current tool position provided in an embodiment of this application;
[0061] Figure 6 This is a schematic diagram of climb milling and conventional milling. Detailed Implementation
[0062] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0063] It should be noted that when a component is said to be "fixed" to another component, it can be directly on the other component or it can be in a middle component. When a component is said to be "connected" to another component, it can be directly connected to the other component or it may be in a middle component.
[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0065] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0066] The technical solutions of the present invention and how they solve the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0067] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0068] Figure 1 A flowchart of a milling finishing interpolation method based on tool contact points provided in this application embodiment is shown below. Figure 1 As shown, the method in this embodiment may include:
[0069] Step S101: Perform dense interpolation on the finishing NC program.
[0070] In this embodiment, the NC program machining process refers to converting mechanical part drawings into program instructions that can be recognized by CNC machine tools through CAD software, and then manufacturing the parts through the machining process.
[0071] Step S102: Import the 3D model of the workpiece after finishing and the 3D model of the cutting tool into the 3D CAM software.
[0072] Figure 2 This is a schematic diagram of the three-dimensional model of the impeller after finishing and the three-dimensional model of the cutting tool provided in the embodiments of this application.
[0073] Step S103: Establish the relative relationship between the tool position point, tool axis vector and workpiece according to the XYZBC coordinates of each line of the finishing NC program.
[0074] Step S104: Offset a machining allowance t1 outward on the 3D model to form a cutting layer.
[0075] In this embodiment, since only the cutting force at the current tool contact point is considered, the tangent surface of the workpiece surface at the tool contact point can be found, and the tangent surface is offset outward by a machining allowance t1 to form a cutting layer. Figure 3 This is a schematic diagram illustrating the process of offsetting a machining allowance t1 outward on a three-dimensional model of a blade to form a cutting layer, as provided in an embodiment of this application.
[0076] It should be noted that the unevenness of the processing allowance is not considered at this stage.
[0077] Step S105: Establish a cutting profile with the path forward direction as the normal through the current tool position point.
[0078] Figure 4 This is a schematic diagram of the current cutting zone provided in an embodiment of this application, such as... Figure 4 As shown, a cutting profile is established with the path forward direction (assumed to be perpendicular to the paper and outwards) as the normal. The cutting profile and the surface before finishing form an intersection line L1 (dashed line). The intersection line between the tool spherical surface and the cutting profile is an arc L2. The intersection point of L1 and L2 is A. L2 is copied and moved along L1 by a single-layer cutting depth t2, resulting in the intersection line L3 between the previous layer machined surface and the cutting profile. The intersection point of L3 and L1 is B, and the intersection point of L3 and L2 is C. The area within points A, B, and C is the current cutting area.
[0079] Step S106: Determine the entry point and cutting force direction on the cutting profile.
[0080] Figure 5 This is a schematic diagram of the cutting direction and cutting force direction of the current tool position provided in the embodiments of this application, as shown below. Figure 5 As shown, a normal line L0 (perpendicular to the paper plane) for the cutting profile is created through point B. L0 represents the edge left by the previous machining layer. At the current tool position point, the intersection point D of the single helical cutting edge and L0 is found by rotating the conical ball end mill around the tool axis.
[0081] Step S107: Perform cutting in the climb milling direction and determine the cutting force at the entry point.
[0082] Figure 6 This is a schematic diagram of climb milling and conventional milling. Finishing is done using climb milling, where the cutting thickness is greatest at the entry point, and the corresponding cutting force is also greatest. Figure 5 The direction perpendicular to the helical cutting edge at point D is taken as the cutting direction, and it is assumed that the cutting force direction is opposite to the cutting direction. The actual direction of the cutting force varies, but because climb milling is used, the cutting thickness is the largest at point D, and the corresponding cutting force is also the largest. To simplify the calculation, only the cutting force at this point is calculated.
[0083] In this embodiment, the cutting force can be calculated based on the cutting thickness and cutting width.
[0084] For example, referring to "Principles of Metal Cutting" edited by Zhou Zehua, the milling cutting force F can be decomposed into the main cutting force (tangential force) and the perpendicular cutting force (radial force). Here, the main cutting force is assumed to be perpendicular to the cutting edge. Because the radial force is relatively small and lacks a calculation method, it is temporarily ignored. The calculation of the main cutting force Fc refers to the following formula:
[0085] F c =k L *h D *b D
[0086] Where: k L h represents the unit cutting force. D Indicates the cutting thickness, b D Indicates the cutting width.
[0087] Step S108: Determine the component perpendicular to the tool axis and the deformation of the tool holder according to the direction of the cutting force.
[0088] In this embodiment, the deformation of the tool holder is the displacement of the tool position point, and the direction of displacement can be considered to be consistent with the direction of the cutting force.
[0089] Step S109: Perform offset compensation on the tool position points in the NC program.
[0090] In this embodiment, the offset direction is opposite to the deformation displacement direction mentioned above, and the offset amount is equal to the deformation displacement amount, thus generating the compensated NC program.
[0091] In this embodiment, by calculating the tool contact point, cutting force, and tool deformation at each point along the finishing path using CAM software, the tool position point is compensated, thereby improving the finishing accuracy. For machining complex surfaces, the tool contact point, tool axis angle, and cutting thickness change at each point along the machining path, resulting in variations in cutting force and tool deformation. This is particularly important for blade finishing using slender tools.
[0092] It should be noted that although the current calculation only considers the case of uniform cutting allowance, if a three-dimensional model of the workpiece before finishing can be obtained later, the actual changes in cutting allowance can be taken into account, which can more accurately calculate the changes in cutting force and tool deformation, and will be of greater significance for improving the machining accuracy of finishing.
[0093] This application also provides a milling finishing interpolation device based on tool contact, including:
[0094] The model import module is used to import the 3D model of the workpiece after finishing and the 3D model of the cutting tool into 3D CAM software.
[0095] The correspondence establishment module is used to establish the relative relationship between the tool position point, tool axis vector and workpiece according to the XYZBC coordinates of each line of the finishing NC program;
[0096] The cutting force determination module is used to determine the cutting profile and the cutting force on the cutting profile based on the relative relationship between the tool position point, the tool axis vector and the workpiece.
[0097] The tool holder deformation determination module is used to determine the component perpendicular to the tool axis and the deformation of the tool holder according to the direction of the cutting force.
[0098] The offset compensation module is used to offset the tool position point in the NC program based on the component perpendicular to the tool axis and the deformation of the tool holder.
[0099] For example, the cutting force determination module is specifically used for:
[0100] A cutting layer is formed by offsetting a machining allowance t1 outward on the 3D model;
[0101] Based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position to determine the current cutting area;
[0102] Determine the entry point and cutting force direction on the cutting profile;
[0103] Cutting is performed using the climb milling direction, and the cutting force at the point of entry is determined.
[0104] For example, based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position point to determine the current cutting area, including:
[0105] Establish a cutting profile with the path forward direction as the normal. Assume that the cutting profile and the surface before finishing form an intersection line, denoted as L1, and the intersection line between the tool spherical surface and the cutting profile is denoted as L2. The intersection point of L1 and L2 is denoted as A.
[0106] Copy L2 and move it along L1 by a single-layer cutting depth t2 to obtain the intersection line L3 of the previous layer machining surface and the cutting profile. The intersection point of L3 and L1 is denoted as B, and the intersection point of L3 and L2 is denoted as C. The area within the three points A, B, and C is the current cutting area.
[0107] For example, determining the entry point and cutting force direction in the cutting profile includes:
[0108] Create a normal line L0 for the cutting profile through point B, where L0 represents the edge left by the previous machining layer.
[0109] At the current cutting point, find the intersection point D of a single helical cutting edge and L0 by rotating the conical ball end mill around the cutting axis;
[0110] The direction perpendicular to the helical cutting edge at point D is taken as the direction of the cutting force.
[0111] For example, cutting is performed in the climb milling direction, and the cutting force at the point of entry is determined, including:
[0112] The milling cutting force is decomposed into the principal cutting force and the perpendicular cutting force. The formula for calculating the principal cutting force Fc is as follows:
[0113] F c =k L *h D *b D
[0114] Where: k L h represents the unit cutting force. D Indicates the cutting thickness, b D Indicates the cutting width.
[0115] This application embodiment also provides a milling finishing interpolation device based on tool contact, including: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to: execute the steps of the above-described milling finishing interpolation method based on tool contact.
[0116] It should be noted that those skilled in the art will understand that various aspects of the present invention can be implemented as systems, methods, or program products. Therefore, various aspects of the present invention can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "platform."
[0117] Furthermore, embodiments of this application also provide a computer-readable storage medium storing computer-executable instructions. When at least one processor of a user device executes these computer-executable instructions, the user device performs the various possible methods described above. The computer-readable medium includes a computer storage medium and a communication medium, wherein the communication medium includes any medium that facilitates the transfer of a computer program from one location to another. The storage medium can be any available medium accessible to a general-purpose or special-purpose computer. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Additionally, the ASIC can reside in the user device. Alternatively, the processor and storage medium can exist as discrete components in a communication device.
[0118] This application also provides a program product including a computer program stored in a readable storage medium. At least one processor of the server can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the server to implement any of the methods described in the embodiments of the present invention.
[0119] The program product may take the form of any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
[0120] The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A milling finishing interpolation method based on tool contact points, characterized in that, include: Step 1: Import the 3D model of the workpiece after finishing and the 3D model of the cutting tool into the 3D CAM software; Step 2: Based on the XYZBC coordinates of each line of the finishing NC program, establish the relative relationship between the tool position point, tool axis vector and workpiece; Step 3: Determine the cutting profile and the cutting force on the cutting profile based on the relative relationship between the tool position point, tool axis vector, and workpiece. Step 3 includes: offsetting a machining allowance t1 outward on the 3D model to form a cutting layer; establishing a cutting profile with the path forward direction as the normal through the current tool position point to determine the current cutting area; determining the entry point and cutting force direction on the cutting profile; performing cuts in the climb milling direction and determining the cutting force at the entry point; wherein, establishing a cutting profile with the path forward direction as the normal through the current tool position point to determine the current cutting area based on the cutting layer includes: establishing a cutting profile with the path forward direction as the normal, assuming that the cutting profile and the pre-finishing surface form an intersection line denoted as L1, the intersection line between the tool spherical surface and the cutting profile is denoted as L2, and the intersection point of L1 and L2 is denoted as A; copying L2 and moving it along L1 by a single-layer cutting depth t2 to obtain the intersection line L3 between the previous layer of machined surface and the cutting profile. Let B be the intersection of L3 and L1, and C be the intersection of L3 and L2. Then the area within points A, B, and C is the current cutting area. Step 4: Determine the component perpendicular to the tool axis and the deformation of the tool holder according to the direction of the cutting force; Step 5: Based on the component perpendicular to the tool axis and the deformation of the tool holder, perform offset compensation on the tool position point in the NC program.
2. The milling finishing interpolation method based on tool contact points according to claim 1, characterized in that, Determining the entry point and cutting force direction on the cutting profile includes: Create a normal line L0 for the cutting profile through point B, where L0 represents the edge left by the previous machining layer. At the current cutting point, find the intersection point D of a single helical cutting edge and L0 by rotating the conical ball end mill around the cutting axis; The direction perpendicular to the helical cutting edge at point D is taken as the direction of the cutting force.
3. The milling finishing interpolation method based on tool contact points according to claim 1, characterized in that, Cutting is performed using the climb milling direction, and the cutting force at the point of entry is determined, including: The milling cutting force is decomposed into the principal cutting force and the perpendicular cutting force. The formula for calculating the principal cutting force Fc is as follows: in: Represents the unit cutting force. Indicates the cutting thickness. Indicates the cutting width.
4. A milling finishing interpolation device based on tool contact, characterized in that, include: The model import module is used to import the 3D model of the workpiece after finishing and the 3D model of the cutting tool into 3D CAM software. The correspondence establishment module is used to establish the relative relationship between the tool position point, tool axis vector and workpiece according to the XYZBC coordinates of each line of the finishing NC program; The cutting force determination module is used to determine the cutting profile and the cutting force on the cutting profile based on the relative relationship between the tool position point, the tool axis vector and the workpiece. Specifically, the cutting force determination module is used to offset a machining allowance t1 outward on the three-dimensional model to form a cutting layer. Based on the cutting layer, a cutting profile is established with the path forward direction as the normal through the current tool position point to determine the current cutting area. Determine the entry point and cutting force direction on the cutting profile; Cutting is performed using the climb milling direction, and the cutting force at the entry point is determined. Based on the cutting layer, a cutting profile is established using the current tool position point and the path forward direction as the normal to determine the current cutting area. This includes: establishing a cutting profile using the path forward direction as the normal; assuming the cutting profile and the pre-finishing surface form an intersection line denoted as L1, the intersection line between the tool spherical surface and the cutting profile is denoted as L2, and the intersection point of L1 and L2 is denoted as A; copying L2 and moving it along L1 by a single-layer cutting depth t2, obtaining the intersection line L3 between the previous layer's machined surface and the cutting profile; the intersection point of L3 and L1 is denoted as B, and the intersection point of L3 and L2 is denoted as C. The area within points A, B, and C is the current cutting area. The tool holder deformation determination module is used to determine the component perpendicular to the tool axis and the deformation of the tool holder according to the direction of the cutting force. The offset compensation module is used to offset the tool position point in the NC program based on the component perpendicular to the tool axis and the deformation of the tool holder.
5. A milling finishing interpolation device based on tool contact, characterized in that, include: A processor and a memory, wherein the memory stores executable program instructions, and when the processor invokes the program instructions in the memory, the processor is used to: The steps of performing the milling finishing interpolation method based on tool contact as described in any one of claims 1 to 3.
6. A computer-readable storage medium for storing a program, characterized in that, When the program is executed, it implements the steps of the milling finishing interpolation method based on tool contact as described in any one of claims 1 to 3.