Cutter extension compensation method and system for improving machining quality

By adjusting the tool extension compensation table in real time, the problem of tool extension variation caused by high-speed spindle rotation is solved, improving the surface finish and accuracy of metal processing and meeting the requirements of high-precision machining.

CN122007975APending Publication Date: 2026-05-12KEJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
KEJIE TECH CO LTD
Filing Date
2025-12-22
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In metal processing, the centrifugal force generated by the high-speed rotation of the spindle causes changes in the elongation of the cutting tool, resulting in a tool-joint step problem, which affects the surface finish and machining accuracy of the parts, especially in high-precision fields where strict requirements are placed on form and position tolerances and assembly accuracy.

Method used

By using a pre-defined tool extension compensation table that matches the spindle speed with the tool extension, the tool extension is adjusted in real time. The current extension compensation value is obtained based on the real-time spindle machining speed, and the system machining coordinates are adjusted to avoid tool length changes caused by changes in spindle speed.

Benefits of technology

It effectively avoids the tool step problem caused by the change in tool length due to the rotation speed, improves the product processing quality, and meets the requirements of high-precision machining without increasing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122007975A_ABST
    Figure CN122007975A_ABST
Patent Text Reader

Abstract

The invention relates to a tool extension compensation method and system for improving machining quality. The method comprises the steps that a system machining program, a tool reference length and a tool elongation compensation table are obtained, the current spindle rotating speed is obtained, a spindle is started, and the spindle rotates to the current spindle rotating speed from a static state; meanwhile, a current extension compensation value is obtained according to the current spindle rotating speed and the tool extension compensation table, and system machining coordinates are adjusted according to the current extension compensation value; after machining of the current procedure is completed and the system griffes the tool to enable the tool to be separated from the workpiece, the system obtains the spindle rotating speed of the next procedure, spindle speed adjustment is conducted, and meanwhile the extension compensation value of the next procedure is obtained through calculation according to the tool extension compensation table, the spindle rotating speed of the next procedure and the current extension compensation value; and adjusting system processing coordinates according to the extension compensation value of the next process. On the basis that the hardware cost is not increased, the product processing quality is obviously improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a tool extension compensation method and system for improving machining quality, belonging to the field of CNC technology. Background Technology

[0002] In metalworking technology, to meet certain process requirements, it is often necessary to use different sized cutting tools and different spindle speeds to machine adjacent surfaces separately. Before actual machining, the tool length is usually measured using a tool setter, and machining parameters are set accordingly. However, during machining, due to the centrifugal force generated by the high-speed rotation of the spindle, the cutting tool is prone to axial elongation to varying degrees. This elongation varies with the rotation speed, resulting in deviations in the actual cutting position of the tool when machining adjacent surfaces at different speeds. Consequently, a tool-joining step can easily form at the junction of the two machined surfaces. Obviously, a tool-joining step not only seriously affects the surface finish of the part but also reduces the overall machining accuracy.

[0003] Currently, with the continuous improvement of processing efficiency and part performance requirements in modern manufacturing, the spindle speed is increasing day by day in pursuit of high-efficiency processing, resulting in more significant tool elongation caused by centrifugal force, and the tool step problem is further amplified. At the same time, in high-precision fields such as aerospace and precision instruments, parts not only require extremely high surface finish to ensure fatigue strength and aerodynamic performance, but also place almost stringent requirements on form and position tolerances and assembly accuracy. Even micron-level tool steps can directly affect the reliability and performance of the entire product. Therefore, the tool step problem in traditional machining is urgently needed to be solved in the current context of high-end manufacturing. Summary of the Invention

[0004] This invention provides a method and system for compensating for tool extension to improve machining quality, aiming to solve at least one of the technical problems existing in the prior art.

[0005] The technical solution of the present invention relates to a method for compensating for tool extension, and the method according to the present invention includes the following steps: S100: Obtain the system machining program and tool reference length, as well as the tool extension compensation table; obtain the current spindle speed and start the spindle, so that the spindle rotates from a stationary state to the current spindle speed; at the same time, according to the current spindle speed and the tool extension compensation table, obtain the current extension compensation value; after adjusting the system machining coordinates according to the current extension compensation value, move the tool down to perform the workpiece machining of the current process; S200. When the current process is completed, the system lifts the tool to separate it from the workpiece. The system then obtains the spindle speed for the next process and adjusts the spindle speed. At the same time, it calculates the extension compensation value for the next process using the tool extension compensation table, the spindle speed for the next process, and the current extension compensation value. After adjusting the system's machining coordinates according to the extension compensation value for the next process, the system moves the tool down to perform the next process of workpiece machining. S300, Repeat step S200 until a stop command is received.

[0006] Furthermore, in step S100, the tool reference length is the static extension amount of the tool when the spindle is in a stationary state.

[0007] Furthermore, the data in the tool extension compensation table was obtained through actual testing, where △L k =L k -L0, where △L k Indicates the spindle speed S k Elongation compensation value below; L k Indicates the spindle speed S k The tool extension amount is indicated by k; k represents the serial number; L0 represents the tool reference length; S0 indicates that the spindle is stationary, S0=0.

[0008] Furthermore, step S200 includes the following steps: The system obtains the spindle speed S for the next process. j+1 Adjust the spindle speed and find the corresponding spindle speed S in the tool extension compensation table. k2,j+1 This makes S k2,j+1 =S j+1 =S k2 The corresponding extension compensation value △L is obtained based on the serial number k2. k2,j+1 =△L k2 Where j represents the process sequence number, and k2 represents the sequence number of the tool extension compensation table corresponding to the spindle speed of the next process; Based on the current process's extension compensation value △L k1,j By calculating △L j =△L k2,j+1 -△L k1,j Obtain the extension compensation value △L for the next process. j+1 And write it into the system coordinate offset value; where k1 represents the serial number of the tool extension amount compensation table corresponding to the spindle speed of the current process.

[0009] Furthermore, the current spindle speed and the spindle speed S of the next process... j+1 All of these are spindle speed settings obtained from the system's machining program.

[0010] Furthermore, the tool extension compensation includes multiple spindle speeds of S. k The difference between the rotational speeds of two adjacent spindles is ΔS = S. k+1 -S k Fixed, where k represents the sequence number.

[0011] Furthermore, the spindle speed in the tool extension compensation is S. k The spindle speed of each spindle is equal to the spindle speed set in the system machining program, which is S. j And k=j, where k represents the sequence number and j represents the process sequence number.

[0012] Furthermore, the tool extension compensation table includes temperature T, serial number k, and spindle speed S. k And the extension compensation value △L k Wherein, at a fixed temperature T, the corresponding spindle speed S is determined according to the sequence number k. k Corresponding to each of the aforementioned extension compensation values ​​△L k .

[0013] The present invention also relates to a computer-readable storage medium having program instructions stored thereon, which, when executed by a processor, implement the above-described method.

[0014] The present invention also relates to a tool extension compensation system, the system comprising a computer device including the aforementioned computer-readable storage medium.

[0015] The beneficial effects of this invention are as follows: The tool extension compensation method and system of the present invention for improving machining quality, based on a pre-defined tool extension compensation table that matches the spindle speed with the tool extension, can obtain the current tool extension compensation value according to the real-time spindle speed during machining, thereby adjusting the tool extension in real time online. This can effectively avoid the tool step problem caused by changes in tool length due to speed, thus significantly improving product machining quality without increasing hardware costs. Attached Figure Description

[0016] Figure 1 This is a basic flowchart of the method according to the present invention. Detailed Implementation

[0017] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention.

[0018] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. The singular forms "a," "described," and "the" used herein are also intended to include the plural forms, unless the context clearly indicates otherwise. Furthermore, 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. The terminology used in this specification is for the purpose of describing particular embodiments only and not for limiting the invention. The term "and / or" as used herein includes any combination of one or more of the associated listed items.

[0019] It should be understood that although the terms first, second, third, etc., may be used to describe various elements in this disclosure, these elements should not be limited to these terms. These terms are used only to distinguish elements of the same type from one another. For example, a first element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as a first element. Any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided herein are intended only to better illustrate embodiments of the invention and, unless otherwise required, do not impose a limitation on the scope of the invention.

[0020] See Figure 1 In some embodiments, the tool extension compensation method according to the present invention is applied to systems such as machine tools and machining centers, and the method includes at least the following steps: S100: Obtain the system machining program and tool reference length, as well as the tool extension compensation table; obtain the current spindle speed and start the spindle, so that the spindle rotates from a stationary state to the current spindle speed; at the same time, according to the current spindle speed and the tool extension compensation table, obtain the current extension compensation value; after adjusting the system machining coordinates according to the current extension compensation value, move the tool down to perform the workpiece machining of the current process; S200. When the current process is completed, the system lifts the tool to separate it from the workpiece. The system then obtains the spindle speed for the next process and adjusts the spindle speed. At the same time, it calculates the extension compensation value for the next process using the tool extension compensation table, the spindle speed for the next process, and the current extension compensation value. After adjusting the system's machining coordinates according to the extension compensation value for the next process, the system moves the tool down to perform the next workpiece machining process. S300, Repeat step S200 until a stop command is received.

[0021] This invention is based on a pre-defined tool extension compensation table that matches the spindle speed with the tool extension. During the machining process, the current tool extension compensation value can be obtained according to the real-time spindle speed, thereby adjusting the tool extension in real time online. This effectively avoids the tool step problem caused by changes in tool length due to speed, thus significantly improving product machining quality without increasing hardware costs.

[0022] In some embodiments of the present invention, the data of the tool extension compensation table of the present invention are obtained through actual testing. Specifically, firstly, a tool (such as a ball end mill) is selected and installed on the spindle. Then, with the spindle stationary, the static extension of the tool installed on the spindle is measured and obtained. This static extension is set as the tool reference length L0, and S0 indicates that the spindle is stationary, i.e., S0=0. Then, a cyclic measurement program is executed to measure different spindle speeds S. k The tool extension L k According to the formula △L k =L k -L0, obtain different spindle speeds S k Elongation compensation value △L k And record it in the tool extension compensation table.

[0023] It should be noted that when the tool is mounted on the spindle, it extends a fixed static extension under the static clamping force. However, the centrifugal force generated by the high-speed rotation of the spindle causes the tool extension to exceed the static extension, resulting in a dynamic extension. When the spindle stops and the centrifugal force disappears, the tool returns to its static extension under the static clamping force. Furthermore, at a constant spindle speed, the dynamic extension caused by the spindle's centrifugal force is constant, meaning the tool's extension compensation value relative to its reference length is constant. This compensation value is independent of the historical path of spindle speed changes. Specifically, during machining, the dynamic extension increases as the spindle speed increases and decreases as the spindle speed decreases.

[0024] In some embodiments of the present invention, the process of machining a workpiece using the equipment includes: obtaining the extension amount of the tool in a stationary state (when the spindle is not rotating) as the tool reference length; then obtaining the machining program and starting the spindle for machining; obtaining the current spindle speed during the machining process; determining the current extension compensation value of the tool according to the current spindle speed and the tool extension compensation table; controlling the Z-axis to move up and down; and adjusting the tool tip position when the tool contacts the workpiece so that the tool tip is at a set height.

[0025] In some specific embodiments of the present invention, the method includes the following steps: after the system acquires the current machining process, it starts the spindle according to the current spindle speed, so that the spindle rotates from a stationary state to the current spindle speed, and at the same time acquires the tool reference length L0, and according to the current spindle speed S j Find the corresponding spindle speed S in the tool extension compensation table. k1,j This allows us to obtain the corresponding extension compensation value △L in the tool extension compensation table. k1,j This makes the current process extension compensation value △L j =△L k1,j (Since the tool extension compensation value △L0 = 0 when the spindle is stationary), this is used as the current extension compensation value △L. k1,j Because L j =△L k1,j This is then written into the system's Z-axis coordinate values, causing the Z-axis to move an additional ΔL based on the machining coordinates. j The distance is adjusted to control the contact position between the tool tip and the workpiece, where j represents the process sequence number, e.g., j=1 indicates the first process of the system; j=2 indicates the second process of the system. It can be understood that the spindle can be directly changed from a stationary state to a spindle speed S. k .

[0026] Furthermore, after the current machining operation is completed and the system lifts the tool to disengage from the workpiece, the system obtains the spindle speed S for the next operation. j+1 Adjust the spindle speed and find the corresponding spindle speed S in the tool extension compensation table. k2,j+1 (At this point, k=k2, which is the serial number of the tool extension compensation table corresponding to the spindle speed of the next process), i.e., S k2,j+1 =S j+1 =S k2 Thus, the corresponding extension compensation value △L is obtained according to the serial number k2. k2,j+1 =△L k2 Simultaneously, based on the extension compensation value △L from the previous process (the current process mentioned above), k1,j (At this point, k=k1, which is the serial number of the tool extension compensation table corresponding to the spindle speed of the current process). By calculating △L j+1 =△L k2,j+1 -△L k1,j Obtain the extension compensation value △L for the next process. j+1 This information is then written to the Z-axis coordinate offset value. It should be noted that the spindle speed adjustment and system coordinate offset value adjustment can be performed simultaneously in this invention.

[0027] Understandably, at that time S k1,j >S k2,j+1 That is, the spindle needs to be decelerated, then ΔL j =△L k2,j+1-△L k1,j A negative value means the tool extension is smaller, in which case the Z-axis needs to move downwards by ΔL. j The distance of S at that time; k1,j k2,j+1 That is, the main shaft needs to be accelerated, then ΔL j =△L k2,j+1 -△L k1,j A positive value indicates a larger tool extension, at which point the Z-axis needs to move upwards by ΔL. j The distance.

[0028] It should be noted that the spindle changes directly from a stationary state to a spindle speed S. j Then the tool extension amount supplement table △L k (Since L0=0) is directly the tool extension amount to be compensated, while the spindle speed S is determined by the current spindle speed of the process. j Change the spindle speed S to the next process j+1 Since tool compensation has already been performed in the current process, the previous compensation amount needs to be subtracted in the next process compensation.

[0029] In some embodiments of the present invention, referring to Tables 1 and 2, the tool extension compensation table of the present invention includes three parameters, namely, serial number k, spindle speed S, etc. k And the extension compensation value △L k Where k = 0, 1, 2, ...; k = 0 represents the system in a static state, S0 = 0, ΔL0 = 0, at a spindle speed of S... k The corresponding tool extension compensation value is △L k Spindle speed S k The numerical settings can be flexibly adjusted according to actual needs, allowing the tool extension compensation table to be used as a general-purpose table or a special-purpose table. It is understood that the same tool extension compensation table can be used for spindles of the same model.

[0030] In some specific embodiments of the present invention, the tool extension compensation table of the present invention is used as a general-purpose table, enabling the table to be repeatedly applied to different machining needs after being created once. Specifically, the spindle speed S k The difference ΔS between two adjacent speed values ​​is fixed, that is, ΔS = S. k+1 -S k (k≠0), for example, △S=1000rpm; S k =3000rpm, then S k+1 =S k +△S=4000;S k+2 =5000; S​k+3 =6000; and so on. Furthermore, when using a general table, the spindle speed required for machining is between two adjacent speed values ​​in the table. For example, if the required spindle speed is 3500 rpm, its value is between 3000 rpm and 4000 rpm in Table 1. This invention assumes that the tool extension amount changes linearly between the two spindle speeds, and obtains the extension amount for the target speed by linearly interpolating the two spindle speeds. It is understood that for cases requiring particularly high machining accuracy, the tool extension point can also be fitted to a curve relating speed and extension amount, thereby calculating the tool extension amount corresponding to a higher-precision target speed.

[0031] Furthermore, the present invention obtains the spindle speed S during machining. j Then, the spindle speed S can be compared with the tool extension amount compensation table. k Perform comparisons one by one until S k =S j This allows us to determine the corresponding extension compensation value △L in the tool extension compensation table. k Furthermore, the present invention obtains the spindle speed S during machining. j Then, according to k=(S j -S1) / △S+1 (where S1 is the spindle speed when k=1 in the tool extension supplement table), and thus obtain the corresponding extension compensation value △L based on the value of k. k .

[0032] In some specific embodiments of the present invention, the tool extension compensation table is used as a dedicated table to achieve accurate matching of table values ​​with the machining program's rotational speed, thereby reducing the lookup and matching time. Specifically, the spindle speed S... k The spindle speeds are set sequentially according to the system program requirements. For example, if the spindle speeds for the first and second processes are 3000 rpm (j=1) and 5000 rpm (j=2) respectively, then the spindle speeds S1 and S2 are 3000 rpm (k=1) and 5000 rpm (k=2) respectively. Therefore, based on the current process sequence number, S can be directly obtained by using k=j. k And determine its corresponding extension compensation value △L k .

[0033] In some specific embodiments of the present invention, the tool extension compensation table of the present invention includes the tool reference length L0 and the tool extension L after spindle rotation. k This can be obtained through high-precision testing instruments such as laser tool setters. Specifically, after installing a laser tool setter on the CNC machine to be machined, the tool reference length L0 is obtained and recorded using the laser tool setter. The spindle is then started according to the set spindle speed. kThe tool extension Lk during spindle rotation is obtained using a laser tool setter, and then calculated according to the formula ΔL. k =L k -L0, obtain different spindle speeds S k Elongation compensation value △L k The results are recorded in the tool extension compensation table. After the test is completed, the laser tool setter is removed.

[0034] In some specific embodiments of the present invention, the tool extension compensation table of the present invention includes the tool reference length L0 and the tool extension L after spindle rotation. k The depth of the indentation can be obtained by measuring the workpiece depth at different spindle speeds. Specifically, the reference distance between the tool tip and the workpiece surface is obtained when the workpiece is not machined, and the reference length L0 of the tool in the spindle stationary state is measured. The spindle is rotated according to the value in the tool extension compensation table, and the tool is moved along the Z-axis at the aforementioned reference distance. It can be understood that in an ideal state (i.e., there is no dynamic tool extension caused by centrifugal force), the tool tip will just not touch the workpiece surface (i.e., the workpiece surface remains flat in an ideal state). However, in reality, the tool generates a dynamic tool extension under the centrifugal force generated by the spindle speed. Therefore, when the spindle is rotating, the tool will actually contact the workpiece surface and form an indentation. The depth of the indentation is the dynamic tool extension at the current spindle speed.

[0035] Furthermore, at the current spindle speed, after the tool contacts the workpiece surface until no more chips are generated, the system raises and adjusts the spindle to the next spindle speed, moves the tool along the X and Y axes, changes position, and then lowers the tool to create a new pit at the next spindle speed. Further, after completing the product machining at all the required spindle speeds, the pit depth is uniformly measured using a high-precision testing instrument.

[0036] In some specific embodiments of the present invention, the values ​​of the current spindle speed and the spindle speed of the next program are the spindle speed settings of the system machining program. It is understood that the deviation between the machining program setting and the actual spindle speed is adjusted by the existing spindle speed compensation algorithm in the system. This invention uses the spindle speed setting to calculate the tool extension compensation value, making the entire tool program simpler and faster. Furthermore, after the spindle completes the current machining operation and moves away from the workpiece, the spindle accelerates or decelerates according to the speed setting of the next operation. Simultaneously, it can obtain extension compensation based on the speed setting of the next operation and perform tool extension compensation. That is, the adjustment of the spindle speed and the tool extension can be performed synchronously, thereby effectively reducing waiting time.

[0037] It should be noted that the current spindle speed of this invention can also be the actual spindle speed value obtained online in real time by a sensor. The tool extension compensation table adopts a general table format, and the difference between two adjacent spindle speeds in the table is small, at the micrometer level. The extension compensation value in the table is obtained by measurement using a high-precision detector. The tool extension compensation method based on the actual value of the online real-time spindle speed in this embodiment of the invention includes the following steps: A100, obtaining the system machining program and the tool reference length L0, as well as the tool extension compensation table, and obtaining the spindle speed setting value of the first operation of the machining program as the current actual spindle speed. The spindle is then started, causing it to rotate from a stationary state to the set spindle speed; where h represents the spindle speed sequence number, h=0,1,2,3...; This indicates that the spindle is stationary; simultaneously, based on the current actual spindle speed... Find the corresponding current spindle speed in the tool extension compensation table. This allows us to obtain the current extension compensation value △L. f1 =△L f1,h (At this time, k=f1, that is, the current spindle speed) (Corresponding to the serial number of the tool extension compensation table), after adjusting the system machining coordinates according to the initial extension compensation value, the tool is moved down to start the first workpiece machining operation; A200, the actual spindle speed value is obtained online in real time through the sensor. When the actual spindle speed value is detected to be different from the spindle speed setting value set in the machining operation, the detected actual spindle speed value is used as the next actual spindle speed. According to the next actual spindle speed Find the corresponding next spindle speed in the tool extension compensation table. (At this point, k=f2, which is the next spindle speed) The corresponding tool extension compensation table number), i.e. = = Thus, the corresponding extension compensation value △L is obtained based on the serial number f2. f2,h+1 =△L f2 At the same time, based on the current spindle speed in the table The corresponding extension compensation value △L f1,h By calculating △L h+1 =△L f2,h+1 -△L f1,h Obtain the extension compensation value △L for the next process. h+1 Write it to the Z-axis coordinate offset value; A300, repeat step A200 until a stop command is received.

[0038] In some embodiments of the present invention, referring to Table 3, the tool extension compensation table of the present invention includes four parameters, namely temperature T, serial number k, spindle speed S. k And the extension compensation value △L k Where k = 0, 1, 2, ...; k = 0 represents the system's static state, t = 0, S0 = 0, ΔL k =0, at a spindle speed of S k The corresponding tool extension compensation value is △L k It should be noted that, in addition to the dynamic tool extension caused by spindle rotation, the temperature of the leadscrew or spindle also affects the tool extension. The tool extension at different spindle speeds can be measured at a set temperature. Furthermore, a relationship table between temperature and tool extension can be established based on the internal spindle temperature and ambient temperature. By compensating for both speed and heat, the machining accuracy problem caused by tool tip extension can be more effectively solved.

[0039] It should be noted that in the field of high-precision equipment, laser tool setters are typically used to accurately obtain the tool tip position before machining. Although laser tool setters are expensive, equipment equipped with them can measure the tool length under machining speed conditions, thereby effectively measuring and compensating for tool elongation caused by centrifugal force and other factors at different speeds, ultimately obtaining accurate tool tip position information and ensuring machining accuracy. However, for most equipment equipped only with contact-type tool setters, it is difficult to directly measure the tool length at machining speed, making it difficult to compensate for tool elongation caused by speed changes in real time, thus affecting the final machining accuracy of the workpiece. This invention provides a method for compensating for tool elongation at different speeds, which does not rely on real-time tool data measurement by a laser tool setter and can effectively solve the tool connection problem that occurs during machining without increasing hardware costs.

[0040] Practical tests were conducted on the method of this invention. After machining workpieces using both existing and the method of this invention, the planar contours of two workpieces before and after tool extension compensation were measured, and measurement data were obtained. As the spindle speed increased, the planar contour became deeper. When the spindle speed was S24000, the planar contour reached 0.015 μm, and the machining depth corresponded to the tool tip extension measured, demonstrating the influence of tool tip extension on machining accuracy. After compensating for tool extension using the method of this invention, the maximum depth of the workpiece contour data was only 0.0025 mm, and the accuracy error was significantly reduced. Therefore, the method of this invention can effectively avoid the tool step problem caused by changes in spindle speed.

[0041] It should be understood that the method steps in the embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can use standard programming techniques. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).

[0042] Furthermore, the procedures described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by the context. The procedures described herein (or variations and / or combinations thereof) may be executed under the control of one or more computer systems configured with executable instructions, and may be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. The computer program comprises a plurality of instructions executable by one or more processors.

[0043] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RSM, ROM, etc., such that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques described in the invention, the invention may also include the computer itself.

[0044] A computer program can be applied to input data to perform the functions described herein, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.

[0045] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.

Claims

1. A method for compensating for tool extension, characterized in that, The method includes the following steps: S100: Obtain the system machining program and tool reference length, as well as the tool extension compensation table; obtain the current spindle speed and start the spindle, so that the spindle rotates from a stationary state to the current spindle speed; at the same time, according to the current spindle speed and the tool extension compensation table, obtain the current extension compensation value; after adjusting the system machining coordinates according to the current extension compensation value, move the tool down to perform the workpiece machining of the current process; S200. When the current process is completed, the system lifts the tool to separate it from the workpiece. The system then obtains the spindle speed for the next process and adjusts the spindle speed. At the same time, it calculates the extension compensation value for the next process using the tool extension compensation table, the spindle speed for the next process, and the current extension compensation value. After adjusting the system's machining coordinates according to the extension compensation value for the next process, the system moves the tool down to perform the next process of workpiece machining. S300, Repeat step S200 until a stop command is received.

2. The method according to claim 1, characterized in that, In step S100, the tool reference length is the static extension of the tool when the spindle is stationary.

3. The method according to claim 2, characterized in that, The data in the tool extension compensation table was obtained through actual testing, where △L k =L k -L0, where △L k Indicates the spindle speed S k Elongation compensation value below; L k Indicates the spindle speed S k The tool extension amount is indicated by k; k represents the serial number; L0 represents the tool reference length; S0 indicates that the spindle is stationary, S0=0.

4. The method according to claim 1, characterized in that, Step S200 includes the following steps: The system obtains the spindle speed S for the next process. j+1 Adjust the spindle speed and find the corresponding spindle speed S in the tool extension compensation table. k2,j+1 This makes S k2,j+1 =S j+1 =S k2 The corresponding extension compensation value △L is obtained based on the serial number k2. k2,j+1 =△L k2 Where j represents the process sequence number, and k2 represents the sequence number of the tool extension compensation table corresponding to the spindle speed of the next process; Based on the current process's extension compensation value △L k1,j By calculating △L j+1 =△L k2,j+1 -△L k1,j Obtain the extension compensation value △L for the next process. j+1 And write it into the system coordinate offset value; where k1 represents the serial number of the tool extension amount compensation table corresponding to the spindle speed of the current process.

5. The method according to claim 4, characterized in that, The current spindle speed and the spindle speed of the next process S j+1 All of these are spindle speed settings obtained from the system's machining program.

6. The method according to claim 1, characterized in that, The tool extension compensation includes multiple spindle speeds of S. k The difference between the rotational speeds of two adjacent spindles is ΔS = S. k+1 -S k Fixed, where k represents the sequence number.

7. The method according to claim 1, characterized in that, The spindle speed in the tool extension compensation is S. k The spindle speed of each spindle is equal to the spindle speed set in the system machining program, which is S. j And k=j, where k represents the sequence number and j represents the process sequence number.

8. The method according to claim 1, characterized in that, The tool extension compensation table includes temperature T, serial number k, and spindle speed S. k And the extension compensation value △L k Wherein, at a fixed temperature T, the corresponding spindle speed S is determined according to the sequence number k. k Corresponding to each of the aforementioned extension compensation values ​​△L k .

9. A computer-readable storage medium, characterized in that, It stores program instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 8.

10. A tool extension compensation system, characterized in that, include: A computer device, the computer device comprising the computer-readable storage medium according to claim 9.