A machine tool precision compensation method and device
By obtaining the motion parameters and temperature changes of CNC machine tools, calculating wear and thermal deformation, generating accuracy compensation coefficients, establishing error models, and automatically correcting control parameters, the problem of tool wear affecting accuracy and improving the accuracy and stability of the machine tool.
Patent Information
- Application Number
- CN202410368032.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-03-28
AI Technical Summary
When improving the accuracy, existing CNC machine tools fail to effectively consider tool wear, resulting in increased machining errors and reduced accuracy.
By obtaining the tool's motion parameters, calculating the wear coefficient and thermal deformation degree, generating accuracy compensation coefficients, combining temperature rise data and displacement changes caused by wear, establishing an error model, and automatically correcting the machine tool control parameters to achieve accuracy compensation.
It effectively improves the machining accuracy of CNC machine tools, reduces errors, and enhances the stability and reliability of the machine tools.
Smart Images

Figure CN118192434B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of numerically controlled machine tools, and in particular to a method and a device for compensating machine tool accuracy. Background Art
[0002] As the mainstream equipment in today's mechanical manufacturing industry, CNC machine tools are widely used in various fields such as aerospace, aircraft carriers and submarines, and high-tech industries. The accuracy of CNC machine tools is an important parameter to measure the quality of a CNC machine tool. The accuracy of CNC machine tools is divided into dynamic accuracy and static accuracy. Static accuracy refers to spatial geometric accuracy and positioning accuracy, while dynamic accuracy refers to processing accuracy. The geometric accuracy of CNC machine tools reflects the errors caused by the accuracy of parts and the level of assembly and debugging. It mainly includes the straightness, relative position, verticality and parallelism of each axis. For geometric accuracy problems, the processing accuracy can be improved by adjusting the CNC machine foot and each axis mechanism. For some problems that are difficult to improve mechanically, they can be compensated by parameter optimization.
[0003] In recent years, the technical level of precision CNC machine tools has been significantly improved, but there are still some key problems that have not been effectively solved, such as the stability and reliability of machine tool accuracy. One of the main reasons for the decline in machine tool stability is the thermal accuracy problem, and as the accuracy of machine tools increases, the proportion of thermal accuracy problems in the total error of machine tools continues to increase, up to 80%.
[0004] Publication No. CN110174872A provides a temperature rise compensation system and method for CNC machine tools, which compares the ambient temperature sensor with the equipment temperature sensor and performs temperature rise compensation based on the compared temperature rise data. This method can effectively solve the precision error problem of thermal deformation of machine tools and ensure the reliability of hardware processing, but by compensating for the displacement error value, it does not take into account the wear degree of machine tool parts. When the machining tool of the machine tool is worn, only temperature rise compensation will still cause errors in the machined workpiece, and cannot effectively improve the machining accuracy.
[0005] Therefore, the main technical problem of the above system is that it does not take into account the wear degree of the machine tool processing tool and ignores the influence of the loss in the actual processing process. Therefore, during the subsequent processing, the error increases and the processing accuracy decreases. Summary of the invention
[0006] The purpose of the present invention is to provide a machine tool accuracy compensation method and device to solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A machine tool precision compensation method, the specific steps include:
[0009] Obtaining the motion parameters of a tool of a target CNC machine tool at the current moment, wherein the motion parameters include a cutting speed, a cutting time, a cutting amount, and a tool wear amount of the CNC machine tool;
[0010] According to the obtained tool motion parameters, the cutting speed, cutting time, cutting amount and tool wear data are de-dimensionalized, and a data analysis model is established to generate the tool wear coefficient according to the cutting conditions in the current application scenario;
[0011] The diameter reduction due to tool wear is calculated based on the generated machine tool tool wear coefficient, cutting speed and cutting time;
[0012] Monitor and collect the temperature of the moving rods when the machine tool is working, calculate the temperature change of the environment, and calculate the degree of thermal deformation of the rods based on the temperature rise data, where the temperature rise data is equal to the temperature rise value minus the temperature drop value;
[0013] Based on the comprehensive analysis of the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, the accuracy compensation coefficient is generated, the accuracy compensation coefficient is compared with the preset compensation threshold, and when the accuracy compensation coefficient is greater than the compensation value, it is determined that the machine tool needs to be compensated for accuracy;
[0014] When compensation is needed, the displacement change corresponding to each moving axis of the machine tool is obtained according to the thermal deformation of the rod under different temperature rise data of each moving axis during the machine tool movement and the diameter reduction caused by different tool wear, and different error models are generated;
[0015] According to the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, the two generated parameters are fitted and analyzed, and the different generated error models are called to determine the current corresponding comprehensive compensation data. The comprehensive compensation data is then transmitted to the machine tool control system to correct the motion parameters.
[0016] Furthermore, the tool wear coefficient is calculated based on the tool wear, cutting amount and cutting time of the CNC machine tool; the tool wear is obtained by dedimensionalization: , the cutting amount is , cutting time is The wear coefficient of the tool is , the formula based on is:
[0017]
[0018] The tool wear is , the cutting amount is , cutting time is Both are greater than 0.
[0019] Furthermore, according to the obtained tool motion parameters, the calculated tool wear coefficient is , collect cutting speed and cutting time data and de-dimensionalize them to obtain the wear coefficient: , cutting speed and cutting time is , the diameter reduction due to tool wear is calibrated as , the formula based on is:
[0020] ;
[0021] in, and is the cutting speed and cutting time is The preset scaling factor of , and Both are greater than 0.
[0022] Furthermore, the temperature rise data is equal to the temperature rise value minus the temperature drop value, and the temperature rise of the calibration environment is , the formula based on is:
[0023]
[0024] in Indicates the temperature rise value, Indicates the temperature drop value;
[0025] Temperature rise due to the environment , calculate the thermal deformation degree of the rod, and calibrate the thermal deformation degree of the rod as Under normal working conditions, the thermal deformation of the rod is constrained. As an elastic body, the rod cannot deform freely when it is subject to external constraints and mutual constraints between internal parts. At this time, the temperature of the temperature field changes, and the thermal deformation of the rod will occur with the temperature change stress. It is expressed as:
[0026]
[0027] in is the linear expansion coefficient; is the initial length of the bar; is the temperature rise of the environment, for thermal stress; is the elastic modulus.
[0028] Furthermore, the diameter reduction due to tool wear is calculated based on the and the degree of thermal deformation of the rod , the precision compensation coefficient is comprehensively generated, and the calibration precision compensation coefficient is , the formula based on is:
[0029]
[0030] in, To process the workpiece, the required diameter is is the initial length of the rod and the required diameter of the workpiece and the initial length of the member All are greater than 0;
[0031] According to the generated accuracy compensation coefficient With the pre-set compensation threshold compared to:
[0032] like , then the machine tool needs to be compensated for accuracy;
[0033] like , there is no need to perform precision compensation on the machine tool.
[0034] Furthermore, corresponding points are set on each coordinate axis of the CNC machine tool. When the corresponding rod of the machine tool passes through these points, the thermal deformation of the rod under different temperature rise data of each moving axis is measured by laser interferometer. and diameter reduction under different tool wear levels , get the corresponding displacement change of each motion axis of the machine tool and generate different error models;
[0035] CNC machine tools axis, axis, axis, Axis and The positioning accuracy and repeatability of the axis are measured, including axis, Axis and The axis is a machine tool linear axis. Axis and The axis is the rotating axis of the machine tool. The axis divides the stroke into 10 equal parts at intervals of 65 mm. The axis divides the travel into 8 equal parts at intervals of 65 mm. The axis divides the travel into 17 equal parts at intervals of 28 mm. The axis divides the travel into 5 equal parts at 30° intervals. The axis divides the travel into 12 equal parts at intervals of 30°, and each node is set as a data sampling point. The data collection and processing are automatically completed by the measurement computer;
[0036] The error model refers to a mathematical model of the size change or shape deviation caused by temperature change and tool wear during the operation of the CNC machine tool, and is used to evaluate the accuracy compensation value of the machine tool.
[0037] Furthermore, according to the thermal deformation of the rod and the diameter reduction under different tool wear levels measured by the CNC machine tool currently in use, different error models are generated, and the corresponding vector difference is the difference in the corresponding coordinate values, which is recorded as , , , , , which is the precision deviation of the machine tool. This deviation is used as the motion compensation value of the rod. The motion parameters are corrected with this compensation value, and the vector difference corresponding to each rod is transmitted to the machine tool control system for precision compensation.
[0038] The present invention also provides a machine tool accuracy compensation device, which is used to execute the above-mentioned machine tool accuracy compensation method, comprising:
[0039] A monitoring module, the monitoring module includes a motion monitoring unit and a temperature monitoring unit. The motion monitoring unit is used to measure the motion parameters of the machine tool, including cutting speed, cutting amount and tool wear; the temperature monitoring unit monitors the temperature of the machine tool when it is working, accurately measures and monitors the temperature of the environment and each rod, and then transmits the monitored data to the data acquisition module;
[0040] A data acquisition module, which is used to collect and monitor motion parameters, including cutting speed and cutting amount, and record the actual cutting time of the machine tool tool; based on the temperature monitoring unit, collect the real-time temperature of each moving rod, record the initial length of the rod, and transfer the collected motion parameters and temperature parameters to the preprocessing module;
[0041] The first analysis module is used to de-dimensionalize the cutting speed, cutting time, cutting amount and tool wear amount data according to the acquired tool motion parameters, establish a data analysis model, generate the tool wear coefficient according to the cutting conditions in the current application scenario; and calculate the diameter reduction caused by tool wear according to the generated machine tool tool wear coefficient, cutting speed and cutting time;
[0042] The second analysis module is used to monitor and collect the temperature of the moving rod when the machine tool is working, calculate the temperature change of the environment, and calculate the degree of thermal deformation of the rod according to the temperature rise data, where the temperature rise data is equal to the temperature rise value minus the temperature drop value;
[0043] A comprehensive analysis module is used to generate a precision compensation coefficient based on a comprehensive analysis of the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, compare the precision compensation coefficient with a preset compensation threshold, and determine the need for precision compensation of the machine tool when the precision compensation coefficient is greater than the compensation value;
[0044] The model generation module is used to obtain the displacement change corresponding to each moving axis of the machine tool according to the thermal deformation of the rod under different temperature rise data and the diameter reduction caused by different tool wear during the movement of the machine tool when compensation is needed, and generate different error models;
[0045] The compensation module is used to perform fitting analysis on the two generated parameters according to the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, call the generated different error models, determine the current corresponding comprehensive compensation data, and transmit the comprehensive compensation data to the machine tool control system to correct the motion parameters.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention sets a monitoring module to monitor the movement of machine tool processing tools, collects motion parameters, generates tool life parameters, calculates tool wear errors according to the machine tool tool life, and simultaneously monitors the temperature changes of the environment in real time, calculates temperature rise data, calculates the thermal deformation of the rod under different temperature rise environments according to different temperature rise values, combines the generated tool wear errors and the thermal deformation of the rod, calls the generated different error models, generates a total compensation value by comparison, feeds the compensation value back to the machine tool control system, corrects the motion parameters, realizes an automated precision compensation system, and effectively improves the precision of CNC machine tools. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a schematic diagram of the overall method flow of the present invention;
[0049] Figure 2 It is a schematic diagram of the structure of the device of the present invention. DETAILED DESCRIPTION
[0050] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0051] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0052] Example:
[0053] See also Figure 1 , the present invention provides a technical solution:
[0054] A machine tool precision compensation method, the specific steps include:
[0055] Step 1: Obtain the motion parameters of the tool of the target CNC machine tool at the current moment, wherein the motion parameters include the cutting speed, cutting time, cutting amount and tool wear amount of the CNC machine tool;
[0056] Cutting speed monitoring method for CNC machine tools: Use speed sensors and acceleration sensors installed on machine tools or cutting tools to monitor the running status and vibration of cutting tools in real time. These sensors can measure the speed and acceleration of cutting tools and transmit the data to the data acquisition unit for processing and analysis.
[0057] Tool wear monitoring methods for CNC machine tools: Use specialized measuring tools, such as tool wear measuring instruments or digital microscopes, to quantitatively measure tool wear. These tools can provide more accurate wear data. For some tools, especially cutting tools, wear can be estimated indirectly by measuring the weight change of the tool before and after use. This method requires accurate weighing equipment.
[0058] Cutting volume monitoring method for CNC machine tools: by installing force sensors or torque sensors and other equipment to measure the cutting force or torque in real time during the cutting process, the information on the cutting volume can be indirectly obtained. By measuring the changes in the force or torque during the cutting process, the size of the cutting volume can be inferred;
[0059] Step 2: De-dimensionalize the cutting speed, cutting time, cutting amount and tool wear data, establish a data analysis model, and generate the tool wear coefficient based on the cutting conditions in the current application scenario;
[0060] According to the tool wear, cutting amount and cutting time of the CNC machine tool, the tool wear coefficient is calculated; the tool wear is obtained by dedimensionalization: , the cutting amount is , cutting time is The wear coefficient of the tool is , the formula based on is:
[0061]
[0062] The tool wear is , the cutting amount is , cutting time is All are greater than 0;
[0063] Step 3: Calculate the diameter reduction due to tool wear based on the generated machine tool tool wear coefficient, cutting speed and cutting time;
[0064] According to the obtained tool motion parameters, the calculated tool wear coefficient is , collect cutting speed and cutting time data and de-dimensionalize them to obtain the wear coefficient: , cutting speed and cutting time is , the diameter reduction due to tool wear is calibrated as , the formula based on is:
[0065]
[0066] in, and is the cutting speed and cutting time is The preset scaling factor of , and Both are greater than 0.
[0067] During the process, vibration will produce chatter marks in different directions during turning, and tool wear affects the positioning accuracy of the machine tool. Tool wear causes the gap between the tool and the workpiece to become larger or deformed, which in turn leads to an increase in motion transmission errors and position deviations. This may affect the positioning accuracy and axial positioning accuracy of the machine tool. Therefore, in order to ensure the machining accuracy and workpiece quality of the machine tool, the machining accuracy is reduced due to the wear of machine tool parts, and the wear of machine tool parts is regularly inspected and measured, and corresponding compensation is performed in the CNC system to maintain the machining accuracy.
[0068] Step 4: Monitor and collect the temperature of the parts when the machine tool is working, calculate the temperature change of the environment, and calculate the degree of thermal deformation of the rod according to the temperature rise change, where the temperature rise data is equal to the temperature rise value minus the temperature drop value;
[0069] Calculate the temperature rise data. The temperature rise data is equal to the temperature rise value minus the temperature drop value. The temperature rise of the calibration environment is , the formula based on is:
[0070]
[0071] in Indicates the temperature rise value, Indicates the temperature drop value;
[0072] Temperature rise due to the environment , calculate the thermal deformation degree of the rod, and calibrate the thermal deformation degree of the rod as Under normal working conditions, the thermal deformation of the rod is constrained. As an elastic body, the rod cannot deform freely when it is subject to external constraints and mutual constraints between internal parts. At this time, the temperature of the temperature field changes, and the thermal deformation of the rod will occur with the temperature change stress. It is expressed as:
[0073]
[0074] in is the linear expansion coefficient; is the initial length of the bar; is the temperature rise of the environment, for thermal stress; is the elastic modulus;
[0075] Among them, the method of obtaining temperature rise data is as follows: the temperature of the machine tool can be directly measured by using a temperature sensor, usually using a thermistor, thermocouple or semiconductor sensor. It can be installed in key locations such as the machine tool spindle, main bearing, feed system and electrical components to measure local temperature in real time; combined with the data acquisition unit, the machine tool temperature rise data can be monitored and recorded in real time. The temperature data measured by the sensor is collected by the data acquisition unit, and the data is analyzed, stored and visualized. In this way, the temperature changes of the machine tool can be tracked and analyzed over a long period of time;
[0076] Thermal stress acquisition method: The stress of an object under thermal load can be directly measured by experimental methods. A common method is stress optical measurement, which uses grating methods or other optical techniques to measure changes in stress distribution on the surface of an object. In addition, stress measurements can also be performed using sensors such as strain gauges and piezoelectric sensors, which can be installed on the surface or inside the object.
[0077] How to obtain the elastic modulus: You can find the elastic modulus value of the material used for machine tool rods by consulting the technical manuals, product specifications or material data sheets of the relevant materials. These manuals usually list the mechanical properties parameters of different materials, including the elastic modulus.
[0078] Regarding the thermal error of CNC machine tools, on the one hand, the heat generated by external factors and internal components is transferred to the internal parts of the CNC machine tools through convection or thermal radiation, causing the temperature of the parts to rise, which in turn causes the corresponding parts of the CNC machine tools to produce thermal deformation, which in turn causes the temperature of the parts to rise; on the other hand, after some parts inside the CNC machine tools undergo thermal deformation, the shape of their own devices changes, which increases the mechanical friction between the parts, increases the frictional heat, and also causes the temperature of the parts to rise. The parts inside the CNC machine tools will deform after the temperature rises, causing relative displacement between the tool and the workpiece, that is, errors in the geometric accuracy and positioning accuracy of the workpiece.
[0079] Step 5: Generate a precision compensation coefficient based on a comprehensive analysis of the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, compare the precision compensation coefficient with a preset compensation threshold, and determine that the machine tool needs to be precision compensated when the precision compensation coefficient is greater than the compensation value;
[0080] Diameter reduction due to generated tool wear and the degree of thermal deformation of the rod , the precision compensation coefficient is comprehensively generated, and the calibration precision compensation coefficient is , the formula based on is:
[0081]
[0082] in, To process the workpiece, the required diameter is is the initial length of the rod and the required diameter of the workpiece and the initial length of the member All are greater than 0;
[0083] According to the generated accuracy compensation coefficient With the pre-set compensation threshold compared to:
[0084] like , then the machine tool needs to be compensated for accuracy;
[0085] like , then there is no need to perform precision compensation on the machine tool;
[0086] Among them, the accuracy compensation coefficient The calculation formula shows that the diameter reduction caused by tool wear is and the degree of thermal deformation of the rod and accuracy compensation coefficient There is a positive correlation, that is, the diameter reduction caused by tool wear and the degree of thermal deformation of the rod The larger the value, the greater the degree of precision compensation the machine tool needs;
[0087] Step 6: When compensation is required, according to the thermal deformation of the rod under different temperature rise data of each moving axis during the movement of the machine tool and the diameter reduction caused by different tool wear, the displacement change corresponding to each moving axis of the machine tool is obtained, and different error models are generated;
[0088] Corresponding points are set on each coordinate axis of the CNC machine tool. When the corresponding rod of the machine tool passes through these points, the thermal deformation of the rod under different temperature rise data of each moving axis is measured by laser interferometer. and diameter reduction under different tool wear levels , get the corresponding displacement change of each motion axis of the machine tool and generate different error models;
[0089] CNC machine tools axis, axis, axis, Axis and The positioning accuracy and repeatability of the axis are measured, where axis, Axis and The axis is a machine tool linear axis. Axis and The axis is the rotating axis of the machine tool. The axis divides the stroke into 10 equal parts at intervals of 65 mm. The axis divides the travel into 8 equal parts at intervals of 65 mm. The axis divides the travel into 17 equal parts at intervals of 28 mm. The axis divides the travel into 5 equal parts at 30° intervals. The axis divides the travel into 12 equal parts at intervals of 30°, and each node is set as a data sampling point. The data collection and processing are automatically completed by the measurement computer;
[0090] The error model refers to a mathematical model of dimensional change or shape deviation caused by temperature change and tool wear during the operation of the CNC machine tool, which is used to evaluate the accuracy compensation value of the machine tool;
[0091] Laser interferometer can be used to measure the parallelism and verticality errors of the surface of an object. By emitting a laser beam to the object and detecting the reflected interference signal, the parallelism and verticality deviation of the surface of the object can be determined;
[0092] Step 7: According to the generated diameter reduction caused by tool wear and the degree of thermal deformation of the rod, the two generated parameters are fitted and analyzed, the generated different error models are called, the current corresponding comprehensive compensation data is determined, and the comprehensive compensation data is transmitted to the machine tool control system to correct the motion parameters;
[0093] Among them, according to the thermal deformation of the rod and the diameter reduction under different tool wear degrees measured by the CNC machine tool currently in use, different error models are called, and the corresponding vector difference is the difference of the corresponding coordinate values, which is recorded as , , , , , which is the precision deviation of the machine tool. This deviation is used as the motion compensation value of the rod. The motion parameters are corrected with this compensation value, and the vector difference corresponding to each rod is transmitted to the machine tool control system for precision compensation.
[0094] See also Figure 2 The present invention further provides a machine tool precision compensation device, wherein the machine tool precision compensation device is applicable to the above-mentioned precision compensation method, comprising:
[0095] A monitoring module, the monitoring module includes a motion monitoring unit and a temperature monitoring unit. The motion monitoring unit is used to measure the motion parameters of the machine tool, including cutting speed, cutting amount and tool wear; the temperature monitoring unit monitors the temperature of the machine tool when it is working, accurately measures and monitors the temperature of the environment and each rod, and then transmits the monitored data to the data acquisition module;
[0096] A data acquisition module, which is used to collect and monitor motion parameters, including cutting speed and cutting amount, and record the actual cutting time of the machine tool tool; based on the temperature monitoring unit, collect the real-time temperature of each moving rod, record the initial length of the rod, and transfer the collected motion parameters and temperature parameters to the preprocessing module;
[0097] The first analysis module is used to de-dimensionalize the cutting speed, cutting time, cutting amount and tool wear amount data according to the acquired tool motion parameters, establish a data analysis model, generate the tool wear coefficient according to the cutting conditions in the current application scenario; and calculate the diameter reduction caused by tool wear according to the generated machine tool tool wear coefficient, cutting speed and cutting time;
[0098] The second analysis module is used to monitor and collect the temperature of the moving rod when the machine tool is working, calculate the temperature change of the environment, and calculate the degree of thermal deformation of the rod according to the temperature rise data, where the temperature rise data is equal to the temperature rise value minus the temperature drop value;
[0099] A comprehensive analysis module is used to generate a precision compensation coefficient based on a comprehensive analysis of the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, compare the precision compensation coefficient with a preset compensation threshold, and determine the need for precision compensation of the machine tool when the precision compensation coefficient is greater than the compensation value;
[0100] The model generation module is used to obtain the displacement change corresponding to each moving axis of the machine tool according to the thermal deformation of the rod under different temperature rise data and the diameter reduction caused by different tool wear during the movement of the machine tool when compensation is needed, and generate different error models;
[0101] The compensation module is used to perform fitting analysis on the two generated parameters according to the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, call the generated different error models, determine the current corresponding comprehensive compensation data, and transmit the comprehensive compensation data to the machine tool control system to correct the motion parameters.
[0102] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0103] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. Those skilled in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software methods depends on the specific application and design constraints of the technical solution.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A machine tool accuracy compensation method, characterized in that: The specific steps include: Obtaining the motion parameters of a tool of a target CNC machine tool at the current moment, wherein the motion parameters include a cutting speed, a cutting time, a cutting amount, and a tool wear amount of the CNC machine tool; According to the obtained tool motion parameters, the cutting speed, cutting time, cutting amount and tool wear data are de-dimensionalized, and a data analysis model is established to generate the tool wear coefficient according to the cutting conditions in the current application scenario; The diameter reduction amount due to tool wear is calculated based on the generated machine tool tool wear coefficient, cutting speed and cutting time; Monitor and collect the temperature of the moving rods when the machine tool is working, calculate the temperature change of the environment, and calculate the degree of thermal deformation of the rods based on the temperature rise data, where the temperature rise data is equal to the temperature rise value minus the temperature drop value; Based on the comprehensive analysis of the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, the accuracy compensation coefficient is generated, the accuracy compensation coefficient is compared with the preset compensation threshold, and when the accuracy compensation coefficient is greater than the compensation value, it is determined that the machine tool needs to be compensated for accuracy; When compensation is needed, the displacement change corresponding to each moving axis of the machine tool is obtained according to the thermal deformation of the rod under different temperature rise data of each moving axis during the machine tool movement and the diameter reduction caused by different tool wear, and different error models are generated; According to the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, the two generated parameters are fitted and analyzed, and the different generated error models are called to determine the current corresponding comprehensive compensation data. The comprehensive compensation data is then transmitted to the machine tool control system to correct the motion parameters.
2. A machine tool accuracy compensation method according to claim 1, characterized in that: According to the tool wear, cutting amount and cutting time of the CNC machine tool, the tool wear coefficient is calculated; the tool wear is obtained by dedimensionalization: , the cutting amount is , cutting time is The wear coefficient of the tool is , the formula based on is: The tool wear is , the cutting amount is , cutting time is Both are greater than 0.
3. A machine tool accuracy compensation method according to claim 1, characterized in that: According to the obtained tool motion parameters, the calculated tool wear coefficient is , collect cutting speed and cutting time data and de-dimensionalize them to obtain the wear coefficient: , cutting speed and cutting time is , the diameter reduction due to tool wear is calibrated as , the formula based on is: ; in, and is the cutting speed and cutting time is The preset scaling factor of , and Both are greater than 0.
4. A machine tool accuracy compensation method according to claim 1, characterized in that: The temperature rise data is equal to the temperature rise value minus the temperature drop value. The temperature rise of the calibration environment is , the formula based on is: in Indicates the temperature rise value, Indicates the temperature drop value; Temperature rise due to the environment , calculate the thermal deformation degree of the rod, and calibrate the thermal deformation degree of the rod as , the degree of thermal deformation of the rod It is expressed as: in is the coefficient of thermal expansion; is the initial length of the bar; is the temperature rise of the environment, for thermal stress; is the elastic modulus.
5. A machine tool accuracy compensation method according to claim 1, characterized in that: Diameter reduction due to generated tool wear and the degree of thermal deformation of the rod , the precision compensation coefficient is comprehensively generated, and the calibration precision compensation coefficient is , the formula based on is: in, To process the workpiece, the required diameter is is the initial length of the rod and the required diameter of the workpiece and the initial length of the member All are greater than 0; According to the generated accuracy compensation coefficient With the pre-set compensation threshold compared to: like , then the machine tool needs to be compensated for accuracy; like , there is no need to perform precision compensation on the machine tool.
6. A machine tool accuracy compensation method according to claim 1, characterized in that: Corresponding points are set on each coordinate axis of the CNC machine tool. When the corresponding rod of the machine tool passes through these points, the thermal deformation of the rod under different temperature rise data of each moving axis is measured by laser interferometer. and diameter reduction under different tool wear levels , get the corresponding displacement change of each motion axis of the machine tool and generate different error models; CNC machine tools axis, axis, axis, Axis and The positioning accuracy and repeatability of the axis are measured, where axis, Axis and The axis is a machine tool linear axis. Axis and The axis is the rotating axis of the machine tool. The axis divides the stroke into 10 equal parts at intervals of 65 mm. The axis divides the travel into 8 equal parts at intervals of 65 mm. The axis divides the travel into 17 equal parts at intervals of 28 mm. The axis divides the travel into 5 equal parts at 30° intervals. The axis divides the travel into 12 equal parts at intervals of 30°, and each node is set as a data sampling point. The data collection and processing are automatically completed by the measurement computer; The error model refers to a mathematical model of the size change or shape deviation caused by temperature change and tool wear during the operation of the CNC machine tool, and is used to evaluate the accuracy compensation value of the machine tool.
7. A machine tool accuracy compensation method according to claim 6, characterized in that: According to the thermal deformation of the rod and the diameter reduction under different tool wear levels measured by the CNC machine tool currently in use, different error models are generated and the corresponding vector difference is the difference in the corresponding coordinate values, which is recorded as , , , , , which is the precision deviation of the machine tool. This deviation is used as the motion compensation value of the rod. The motion parameters are corrected with this compensation value, and the vector difference corresponding to each rod is transmitted to the machine tool control system for precision compensation.
8. A machine tool precision compensation device, characterized in that: The machine tool precision compensation device is used to execute the precision compensation method according to any one of claims 1 to 7, comprising: A monitoring module, the monitoring module includes a motion monitoring unit and a temperature monitoring unit. The motion monitoring unit is used to measure the motion parameters of the machine tool, including cutting speed, cutting amount and tool wear; the temperature monitoring unit monitors the temperature of the machine tool when it is working, accurately measures and monitors the temperature of the environment and each rod, and then transmits the monitored data to the data acquisition module; A data acquisition module, which is used to collect and monitor motion parameters, including cutting speed and cutting amount, and record the actual cutting time of the machine tool tool; based on the temperature monitoring unit, collect the real-time temperature of each moving rod, record the initial length of the rod, and transfer the collected motion parameters and temperature parameters to the preprocessing module; The first analysis module is used to de-dimensionalize the cutting speed, cutting time, cutting amount and tool wear amount data according to the acquired tool motion parameters, establish a data analysis model, generate the tool wear coefficient according to the cutting conditions in the current application scenario; and calculate the diameter reduction caused by tool wear according to the generated machine tool tool wear coefficient, cutting speed and cutting time; The second analysis module is used to monitor and collect the temperature of the moving rod when the machine tool is working, calculate the temperature change of the environment, and calculate the degree of thermal deformation of the rod according to the temperature rise data, where the temperature rise data is equal to the temperature rise value minus the temperature drop value; A comprehensive analysis module is used to generate a precision compensation coefficient based on a comprehensive analysis of the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, compare the precision compensation coefficient with a preset compensation threshold, and determine the need for precision compensation of the machine tool when the precision compensation coefficient is greater than the compensation value; The model generation module is used to obtain the displacement change corresponding to each moving axis of the machine tool according to the thermal deformation of the rod under different temperature rise data and the diameter reduction caused by different tool wear during the movement of the machine tool when compensation is needed, and generate different error models; The compensation module is used to perform fitting analysis on the two generated parameters according to the diameter reduction caused by tool wear and the degree of thermal deformation of the rod, call the generated different error models, determine the current corresponding comprehensive compensation data, and transmit the comprehensive compensation data to the machine tool control system to correct the motion parameters.
