Five-axis linkage tool path track compensation method and memory

The tool path trajectory compensation for the five-axis machine tool is solved by a three-dimensional measurement device, which solves the problem of difficulty in accurately compensating the error of the five-axis machine tool in the prior art, and achieves higher machining accuracy and efficiency.

CN118915610APending Publication Date: 2024-11-08SHANGHAI TOPNC NUMERICAL CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410945900.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

It is difficult for existing five-axis machine tools to achieve accurate compensation of the tool's actual complex motion trajectory during the error measurement compensation process, and online inspection is wasted and costly.

Method used

The three-dimensional measurement device is used to clamp and measure the trajectory of the compensation machine tool. By mapping the processing trajectory and controlling the movement of the rotation axis, the actual motion trajectory is measured and error compensation is performed, and the compensation trajectory is generated for processing.

Benefits of technology

The accuracy of error compensation is improved, new errors introduced by the rotating shaft are avoided, errors are reduced during actual processing, and machining accuracy and efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118915610A_ABST
    Figure CN118915610A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of numerical control machining control, in particular to a five-axis linkage tool path track compensation method and a storage.The five-axis linkage tool path track compensation method comprises the steps that a three-dimensional measuring device is clamped on a machine tool to be compensated, a measuring track corresponding to the three-dimensional measuring device is constructed, and the motion of a rotating shaft is controlled to be consistent with the actual machining process; controlling a tool of the to-be-compensated machine tool to move according to the measurement track, and measuring the tool to obtain an actual motion track; determining the error of the machine tool to be compensated according to the actual motion trail, and compensating; aiming at the problem that the actual movement of a cutter is difficult to accurately measure because each machining shaft is respectively measured in the prior art, only the movement shaft direction of a machining track is scaled to control the movement of a rotating shaft to be consistent with the actual machining process when a measurement track is constructed, and a plurality of shafts are simultaneously measured; by means of the method, new errors caused by the rotating shaft in the actual machining process are avoided, the measurement result better conforms to the actual cutter movement process, and then the compensation precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of numerical control machining control, and in particular to a five-axis linkage tool path trajectory compensation method and a memory. Background Art

[0002] Five-axis linkage means that there are at least five coordinate axes (three linear coordinates and two rotational coordinates) on a machine tool, and they can be coordinated and processed at the same time under the control of the computer numerical control (CNC) system. The five-axis linkage CNC machine tool is a high-tech and high-precision machine tool specially used for processing complex surfaces. It is widely used in aviation, aerospace, military, scientific research, precision instruments, high-precision medical equipment and other industries. However, the machine tool itself will have certain motion errors on the motion axis, which in turn affects the processing accuracy.

[0003] To overcome this defect, there are technical solutions in the prior art for measuring the errors of machine tools and performing precision compensation in the subsequent processing process. For example, Chinese patent CN202110602232.4 discloses a geometric error compensation method for a five-axis machine tool, and the steps are as follows: error model establishment, establishing the full posture error model of the five-axis machine tool based on the local exponential product formula, separating the full posture error model to obtain the position error model; error data acquisition, setting the five-axis machine tool in linkage, so that the tool tip trajectory keeps the distance between the workpiece end and the spindle end constant, and using a ballbar to measure the distance error data of four combinations of the forward and reverse operation of the two rotating axes; actual instruction generation, inputting the four sets of distance error data into the position error model, generating the actual motion instructions of the five-axis machine tool, and inputting the actual motion instructions into the control system of the five-axis machine tool. The process of solving the inverse solution of the actual five-axis kinematic model is clear and simple, avoiding the cumbersome problem of the traditional analytical solution process; and effectively compensating the error caused by the reverse clearance of the transmission components of the five-axis machine tool by distinguishing the forward and reverse directions of the rotating axis.

[0004] However, in the actual implementation process, since the error of the machine tool motion axis is closely related to the environmental status of the machine tool and the position of the motion axis itself, it is difficult to achieve accurate compensation for the actual complex motion trajectory deviation of the tool through offline error compensation for each motion axis. Online detection during the part processing process often wastes tools and blank materials, occupies machine tool time, and has a relatively high implementation cost. Summary of the invention

[0005] In view of the above problems existing in the prior art, a five-axis linkage tool path trajectory compensation method is now provided.

[0006] The specific technical solutions are as follows:

[0007] A five-axis linkage tool path compensation method, comprising:

[0008] Step S1: clamping a three-dimensional measuring device to the machine tool to be compensated, and constructing a measurement trajectory corresponding to the three-dimensional measuring device;

[0009] The measurement trajectory is obtained by mapping the machining trajectory of the workpiece to be machined, and during the mapping process, the movement of the rotation axis is controlled to be consistent with the actual machining process;

[0010] Step S2: controlling the tool of the machine tool to be compensated to move according to the measurement trajectory, and using the three-dimensional measuring device to measure the tool to obtain an actual movement trajectory;

[0011] Step S3: determining the error of the machine tool to be compensated according to the actual motion trajectory, and compensating the machining trajectory to obtain a compensation trajectory;

[0012] The machine tool to be compensated uses the compensation trajectory to process the workpiece to be processed.

[0013] On the other hand, the step S1 comprises:

[0014] Step S11: clamping the three-dimensional measuring device to the machine tool to be compensated;

[0015] Step S12: after the three-dimensional measuring device is clamped, generating an effective measuring space and a measuring center of the three-dimensional measuring device;

[0016] Step S13: aligning the processing trajectory with the measurement center, and scaling the processing trajectory into the effective measurement space according to a fixed ratio to form the measurement trajectory.

[0017] On the other hand, the three-dimensional measuring device includes three displacement sensors, the bottom edges of which are distributed on the workpiece mounting surface along a predetermined circumference, and each of the displacement sensors points to a virtual measuring sphere center above the predetermined circumference at a preset inclination angle.

[0018] On the other hand, in step S12, the method for generating the coordinate change of the measurement center includes:

[0019]

[0020] In the formula, P(x1, y1, z1) is the measurement center, dP is the coordinate change, d1, d2, and d3 respectively correspond to the distance between each displacement sensor and the virtual measurement sphere center, and α is the preset inclination angle.

[0021] On the other hand, the method for generating the effective measurement space includes:

[0022]

[0023] Wherein, (x1, y1, z1) is the measurement center coordinate, and L is the maximum range of the displacement sensor.

[0024] On the other hand, in step S12, the effective measurement space is further simplified, and the simplified measurement space after simplification is an inscribed sphere of the effective measurement space, and the radius of the inscribed sphere is:

[0025]

[0026] Wherein, r is the radius of the inscribed sphere, and L is the maximum measuring range of the displacement sensor.

[0027] On the other hand, the step S13 comprises:

[0028] Step S131: scaling the workpiece model corresponding to the processing trajectory in equal proportion, so that the scaled workpiece model matches the effective measurement space;

[0029] Step S132: constructing a machining boundary line coordinate equation according to the workpiece scaling model;

[0030] Step S133: generating the measurement trajectory according to the processing boundary line coordinate equation.

[0031] On the other hand, in the step S131, the process of scaling the workpiece model includes a first scaling process of scaling the tool tip motion and a second scaling process of scaling the tool axis motion;

[0032] The first scaling process includes:

[0033] TCP′=λTCP;

[0034] Wherein, TCP′ is the tool tip motion trajectory mapped to the effective measurement space, λ is the scaling factor, and TCP is the tool tip motion trajectory in the machining trajectory;

[0035] The second scaling process includes:

[0036] TAD′=TAD;

[0037] Wherein, TAD′ is the tool axis motion trajectory mapped to the effective measurement space, and TAD is the tool axis motion trajectory in the processing trajectory.

[0038] On the other hand, in the step S132, the machining boundary line coordinate equation includes a first tool tip boundary equation and a second tool tip boundary equation corresponding to tool tip motion, and also includes a first tool axis boundary equation and a second tool axis boundary equation corresponding to tool axis motion;

[0039] In the step S2, the actual tool tip motion trajectory of the tool is measured according to the first tool tip boundary equation and the second tool tip boundary equation, and the actual tool axis motion trajectory of the tool is measured according to the first tool axis boundary equation and the second tool axis boundary equation.

[0040] A memory is provided with computer instructions, and when a processor executes the computer instructions, the above-mentioned five-axis linkage tool path trajectory compensation method is executed.

[0041] The above technical solution has the following advantages or beneficial effects:

[0042] In view of the error measurement and compensation scheme of the five-axis machine tool in the prior art, it is difficult to accurately measure the actual movement of the tool because each machining axis is measured separately in the offline stage. In this scheme, in the process of constructing the measurement trajectory, only the movement axis direction of the machining trajectory is scaled to control the movement of the rotating axis to be consistent with the actual machining process, and multiple axes are measured offline at the same time. This method avoids the new errors introduced by the rotating axis during actual machining, makes the measurement results more consistent with the actual tool movement process, and thus improves the compensation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The embodiments of the present invention will be described more fully with reference to the attached drawings, which are provided for illustration and description only and are not intended to limit the scope of the present invention.

[0044] Figure 1 It is an overall schematic diagram of an embodiment of the present invention;

[0045] Figure 2 This is a schematic diagram of step S1 in an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of a displacement sensor in an embodiment of the present invention;

[0047] Figure 4 Schematic diagram of step S13 in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0050] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0051] The present invention comprises:

[0052] A five-axis linkage tool path compensation method, such as Figure 1 As shown, including:

[0053] Step S1: clamping a three-dimensional measuring device to the machine tool to be compensated, and constructing a measurement trajectory corresponding to the three-dimensional measuring device;

[0054] The measurement trajectory is mapped according to the machining trajectory of the workpiece to be machined, and during the mapping process, the movement of the rotary axis is controlled to be consistent with the actual machining process;

[0055] Step S2: controlling the tool of the machine tool to be compensated to move according to the measurement trajectory, and using a three-dimensional measuring device to measure the tool to obtain the actual movement trajectory;

[0056] Step S3: determining the error of the machine tool to be compensated according to the actual motion trajectory, and compensating the machining trajectory to obtain a compensation trajectory;

[0057] The compensation trajectory is used to process the workpiece to be processed.

[0058] Specifically, the error measurement and compensation scheme of the five-axis machine tool in the prior art does not take into account the influence of the tool's rotational inertia on the moving axis, resulting in a decrease in compensation accuracy. In this scheme, in the process of constructing the measurement trajectory, only the moving axis direction of the machining trajectory is scaled and mapped to control the movement of the rotating axis to be consistent with the actual machining process. Then, based on the measurement trajectory, the tool of the machine tool to be compensated is controlled to move, and a three-dimensional measuring device is used to measure the tool to obtain the actual motion trajectory, so as to determine the errors in each axial direction of the machine tool to be compensated during the execution of the machining program, and the machining trajectory is compensated based on the error to obtain a compensated trajectory, thereby meeting the machining requirements during actual machining.

[0059] In order to achieve better measurement requirements, the processing trajectory can be an actual processing tool path trajectory, or a test trajectory for testing that includes cutting multiple different surfaces.

[0060] In one embodiment, step S1 includes:

[0061] Step S11: Clamping the three-dimensional measuring device to the machine tool to be compensated;

[0062] Step S12: after the three-dimensional measuring device is clamped, an effective measuring space and a measuring center of the three-dimensional measuring device are generated;

[0063] Step S13: aligning the processing trajectory with the measurement center, and scaling the processing trajectory to the effective measurement space according to a fixed ratio to form a measurement trajectory.

[0064] The three-dimensional measuring device includes three displacement sensors, the bottom edges of which are distributed on the workpiece mounting surface along a predetermined circumference, and each displacement sensor points to a virtual measuring sphere center above the predetermined circumference according to a preset inclination angle.

[0065] Specifically, during the measurement process, attention should first be paid to the deviation of the tool tip during the actual movement relative to the pre-designed machining path. Therefore, during the measurement process, in this embodiment, an effective measurement space is first designed around the predetermined machining position of the workpiece to be machined and the range of the installable displacement sensor. After scaling the machining trajectory, the tool tip mainly moves in the effective measurement space.

[0066] In order to measure the three-dimensional movement of the tool tip, in this embodiment, the above-mentioned setting is made for the displacement sensor. The displacement sensor is usually a grating sensor or other equivalent non-contact sensor, which can sense the relative distance of the moving object and then solve the three-dimensional spatial coordinates of the moving object.

[0067] like Figure 3 As shown, the three displacement sensors A, B, and C are respectively distributed in the XY plane with a circumscribed circle radius of R. The XY plane is consistent with the installation surface of the workpiece, and its elevation angle coordinate is α. The sensor position coordinates are A(0, R, 0), Therefore, the tool tip position P = (0, 0, R·tanα) can be measured.

[0068] Based on the above settings, in step S12, the method for generating the coordinate change of the measurement center includes:

[0069]

[0070] Where P(x1, y1, z1) is the measurement center, dP is the coordinate change, d1, d2, and d3 correspond to the distance between each displacement sensor and the center of the virtual measurement sphere, and α is the preset inclination angle.

[0071] Specifically, first, taking the axes of the three displacement sensors as normals, the equations of the three surfaces passing through the center of the sphere are obtained as follows:

[0072]

[0073] Where α is the elevation coordinate, (x, y, z) is the measurement center, R is the radius of the circumscribed circle, and d1, d2, and d3 correspond to the distance between each displacement sensor and the center of the virtual measurement sphere.

[0074] Based on the above, it is easy to determine the amount of coordinate change of the measurement center as the tool tip position deviation during actual measurement.

[0075] Then, during measurement, the effective measurement space is determined by the range L of the three displacement sensors, and the method for generating the effective measurement space includes:

[0076]

[0077] Where (x1, y1, z1) is the measurement center coordinate, and L is the maximum range of the displacement sensor.

[0078] The effective measurement space obtained by the above estimation is a cube centered at the measurement center.

[0079] In one embodiment, in step S12, the effective measurement space is further simplified, and the simplified measurement space after simplification is an inscribed sphere of the effective measurement space, and the radius of the inscribed sphere is:

[0080]

[0081] Where r is the radius of the inscribed sphere, and L is the maximum measuring range of the displacement sensor.

[0082] In one embodiment, Figure 4 As shown, step S13 includes:

[0083] Step S131: scaling the workpiece model corresponding to the processing trajectory in equal proportion, so that the scaled workpiece model matches the effective measurement space;

[0084] Step S132: constructing a machining boundary line coordinate equation according to the workpiece scaling model;

[0085] Step S133: Generate a measurement trajectory according to the processing boundary line coordinate equation.

[0086] Specifically, in order to achieve the subsequent accurate measurement process of the tool tip offset, in this embodiment, the workpiece model corresponding to the processing trajectory is first scaled proportionally so that the scaled workpiece scaled model matches the effective measurement space, and then the processing boundary line coordinate equation corresponding to the workpiece scaled model is constructed to obtain the measurement trajectory used to control the tool movement during measurement.

[0087] Wherein, in step S131, the process of scaling the workpiece model includes a first scaling process of scaling the tool tip motion and a second scaling process of scaling the tool axis motion;

[0088] The first scaling process includes:

[0089] TCP′=λTCP;

[0090] Where TCP′ is the tool tip motion trajectory mapped to the effective measurement space, λ is the scaling factor, and TCP is the tool tip motion trajectory in the machining trajectory;

[0091] The second scaling process includes:

[0092] TAD′=TAD;

[0093] Where TAD′ is the tool axis motion trajectory mapped to the effective measurement space, and TAD is the tool axis motion trajectory in the machining trajectory.

[0094] Specifically, when scaling the tool motion, the tool tip motion and tool axis motion need to be processed separately. The tool tip motion part should be scaled according to a certain scaling factor to form a tool tip motion trajectory mapped to the effective measurement space; for the movement of the tool axis part, the same mapping trajectory as the tool axis motion trajectory in the machining trajectory is maintained, thereby introducing a real tool tip rotation process during the measurement process.

[0095] In one embodiment, in step S132, the machining boundary line coordinate equation includes a first tool tip boundary equation and a second tool tip boundary equation corresponding to tool tip motion, and also includes a first tool axis boundary equation and a second tool axis boundary equation corresponding to tool axis motion.

[0096] Specifically, in order to achieve accurate measurement of the tool tip and tool axis motion, in this embodiment, the first tool tip boundary equation P is constructed around the upper and lower four boundary lines of the measurement curve. bin , the second tool tip boundary equation P bout , the first tool axis boundary equation P tin and the second tool axis boundary equation P tout , which is used to constrain the measurement process. The first and second boundary equations respectively represent the two side boundaries that the tool tip or tool axis can reach during the movement process.

[0097] In one embodiment, the actual equation coordinates are reduced by 100 times according to the above-mentioned measurement stroke.

[0098]

[0099] Among them, P s (u) represents the tool motion trajectory of five-axis machining. The tool motion trajectory has n measurement points, N i,m (P i ) represents the mapping equation from the actual machining trajectory to the measurement space. In step S2, the actual tool tip motion trajectory of the tool is measured according to the first tool tip boundary equation and the second tool tip boundary equation, and the actual tool axis motion trajectory of the tool is measured according to the first tool axis boundary equation and the second tool axis boundary equation.

[0100] Specifically, the measurements include:

[0101] TCP in =Pb in , TCP out =P bout ;

[0102] Also includes:

[0103] In the formula, TCP in is the actual measurement result equation of the first tool tip, P bin is the boundary equation of the first tool tip, TCP out is the actual measurement result equation of the second tool tip, P bout is the boundary equation of the second tool tip, TAD in is the measurement result equation of the first tool axis actually measured, P tin is the boundary equation of the first tool axis, TAD out is the actual measurement result equation of the second tool axis, P tout is the boundary equation of the second tool axis.

[0104] Based on the above formula, the tool tip point and the tool axis direction vector are calculated to obtain the measurement program for measurement, and the final measurement error is used to compensate the machining trajectory.

[0105] A memory is provided with computer instructions, and when a processor executes the computer instructions, the five-axis linkage tool path trajectory compensation method is executed.

[0106] Those skilled in the art will appreciate that various aspects of the present invention, or possible implementations of various aspects, can be specifically implemented as systems, methods or computer program products. Therefore, various aspects of the present invention, or possible implementations of various aspects, can adopt the form of complete hardware embodiments, complete software embodiments (including firmware, resident software, etc.), or combined software and hardware embodiments, all collectively referred to as "circuit", "module" or "system" here. In addition, various aspects of the present invention, or possible implementations of various aspects, can adopt the form of computer program products, which refer to computer-readable program codes stored in computer-readable media.

[0107] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium includes but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or apparatuses, or any suitable combination of the foregoing, such as random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).

[0108] The processor in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or the combination of steps in the flowchart; and generate a device for implementing the functional actions specified in each block or the combination of blocks in the block diagram.

[0109] It should be understood that the processor in the computer can be understood as one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components implemented to execute the aforementioned computer-readable program codes.

[0110] Computer readable program code can be executed completely on the local computer of the user, partially on the local computer of the user, as a separate software package, partially on the local computer of the user and partially on the remote computer, or executed completely on the remote computer or server.It should also be noted that in some alternative embodiments, the functions noted in each step in the flow chart or each block in the block diagram may not occur in the order noted in the figure.For example, depending on the function involved, two steps shown in succession or two blocks may actually be executed roughly simultaneously, or these blocks may sometimes be executed in reverse order.

[0111] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A five-axis linkage tool path compensation method, characterized in that: include: Step S1: clamping a three-dimensional measuring device to the machine tool to be compensated, and constructing a measurement trajectory corresponding to the three-dimensional measuring device; The measurement trajectory is obtained by mapping the machining trajectory of the workpiece to be machined, and during the mapping process, the movement of the rotation axis is controlled to be consistent with the actual machining process; Step S2: controlling the tool of the machine tool to be compensated to move according to the measurement trajectory, and using the three-dimensional measuring device to measure the tool to obtain an actual movement trajectory; Step S3: determining the error of the machine tool to be compensated according to the actual motion trajectory, and compensating the machining trajectory to obtain a compensation trajectory; The machine tool to be compensated uses the compensation trajectory to process the workpiece to be processed.

2. The five-axis linkage tool path compensation method according to claim 1 is characterized in that: The step S1 comprises: Step S11: clamping the three-dimensional measuring device to the machine tool to be compensated; Step S12: after the three-dimensional measuring device is clamped, generating an effective measuring space and a measuring center of the three-dimensional measuring device; Step S13: aligning the processing trajectory with the measurement center, and scaling the processing trajectory into the effective measurement space according to a fixed ratio to form the measurement trajectory.

3. The five-axis linkage tool path compensation method according to claim 2 is characterized in that: The three-dimensional measuring device comprises three displacement sensors, the bottom edges of which are distributed on the workpiece mounting surface along a predetermined circumference, and each of the displacement sensors points to a virtual measuring sphere center above the predetermined circumference at a preset inclination angle.

4. The five-axis linkage tool path compensation method according to claim 3 is characterized in that: In step S12, the method for generating the coordinate variation of the measurement center includes: In the formula, P(x1, y1, z1) is the measurement center, dP is the coordinate change, d1, d2, and d3 respectively correspond to the distance between each displacement sensor and the virtual measurement sphere center, and α is the preset inclination angle.

5. The five-axis linkage tool path compensation method according to claim 3 is characterized in that: The method for generating the effective measurement space includes: Wherein, (x1, y1, z1) is the measurement center coordinate, and L is the maximum range of the displacement sensor.

6. The five-axis linkage tool path compensation method according to claim 5 is characterized in that: In the step S12, the effective measurement space is further simplified, and the simplified measurement space after simplification is an inscribed sphere of the effective measurement space, and the radius of the inscribed sphere is: Wherein, r is the radius of the inscribed sphere, and L is the maximum measuring range of the displacement sensor.

7. The five-axis linkage tool path compensation method according to claim 1 is characterized in that: The step S13 comprises: Step S131: scaling the workpiece model corresponding to the processing trajectory in equal proportion, so that the scaled workpiece model matches the effective measurement space; Step S132: constructing a machining boundary line coordinate equation according to the workpiece scaling model; Step S133: generating the measurement trajectory according to the processing boundary line coordinate equation.

8. The five-axis linkage tool path compensation method according to claim 5, characterized in that: In the step S131, the process of scaling the workpiece model includes a first scaling process of scaling the tool tip motion and a second scaling process of scaling the tool axis motion; The first scaling process includes: TCP′=λTCP; Wherein, TCP′ is the tool tip motion trajectory mapped to the effective measurement space, λ is the scaling factor, and TCP is the tool tip motion trajectory in the machining trajectory; The second scaling process includes: TAD′=TAD; Wherein, TAD′ is the tool axis motion trajectory mapped to the effective measurement space, and TAD is the tool axis motion trajectory in the processing trajectory.

9. The five-axis linkage tool path compensation method according to claim 5, characterized in that: In the step S132, the machining boundary line coordinate equation includes a first tool tip boundary equation and a second tool tip boundary equation corresponding to tool tip motion, and also includes a first tool axis boundary equation and a second tool axis boundary equation corresponding to tool axis motion; In the step S2, the actual tool tip motion trajectory of the tool is measured according to the first tool tip boundary equation and the second tool tip boundary equation, and the actual tool axis motion trajectory of the tool is measured according to the first tool axis boundary equation and the second tool axis boundary equation.

10. A memory having computer instructions disposed therein, characterized in that: When the processor executes the computer instructions, the five-axis linkage tool path compensation method as described in any one of claims 1-9 is performed.