Machining compensation method and device, machining equipment and readable storage medium
By obtaining the average rotation speed value and rotation duration of the machine tool shaft, determining the thermal compensation curve and performing processing compensation processing, the problem of the impact of thermal elongation in machine tool processing is solved, efficient and economical thermal elongation compensation is achieved, and processing accuracy is improved.
Patent Information
- Application Number
- CN202411858568.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-25
AI Technical Summary
During the machine tool processing, the friction between the balls and the screw nut generates heat, which causes the rotating parts to be heat elongated, affecting the processing accuracy. The prior art usually addresses this problem by adding cooling, elongation detection or temperature detection equipment, which adds additional costs.
By obtaining the average rotation speed value and rotation duration of the machine tool rotation shaft, a thermal compensation curve is determined, and processing compensation processing is performed based on the curve to reduce the change in the amount of heat elongation caused by the heat imbalance caused by the rotational movement.
It realizes the thermal elongation compensation of the machine tool rotary shaft directly and quickly without adding any additional costs, effectively improving the problem of large fluctuations in the thermal elongation of the machine tool rotary shaft during the processing process, improving the processing compensation efficiency, and meeting higher machining accuracy requirements.
Smart Images

Figure CN119882612A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of machine tool processing, and in particular to a processing compensation method, device, processing equipment and readable storage medium. Background Art
[0002] With the continuous development of machine tool processing technology and the continuous enrichment of processing needs, the requirements for machine tool processing accuracy are getting higher and higher. In the processing process, in order to meet the conversion requirements between rotational motion and linear motion in the processing process, rolling screw transmission is widely used as a machine tool transmission system. During the movement, due to the friction between the ball and the screw nut, a certain amount of heat is generated and causes the thermal expansion effect of the material, which in turn causes the thermal elongation of the rotating parts, seriously affecting the processing accuracy of the machine tool.
[0003] In the related art, the method of dealing with the thermal expansion of rotating parts is usually to install machine tool cooling, expansion detection or temperature detection equipment, which will incur additional costs. Summary of the invention
[0004] Based on this, it is necessary to provide a processing compensation method, device, processing equipment and readable storage medium to address the above technical problems.
[0005] A machining compensation method, comprising:
[0006] Obtain the average speed value and rotation duration of the machine tool shaft;
[0007] Determining a thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration;
[0008] A machining compensation result of the machine tool shaft is determined according to the thermal compensation curve, the average rotation speed value and the rotation duration.
[0009] In one embodiment, determining the thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration includes:
[0010] Determining an initial thermal elongation curve of the machine tool shaft according to the average rotation speed value and the rotation duration;
[0011] A thermal compensation curve of the machine tool shaft is determined according to the initial thermal extension curve.
[0012] In one embodiment, determining the initial thermal elongation curve of the machine tool shaft according to the average rotation speed value and the rotation duration includes:
[0013] Obtaining historical speed and thermal elongation data of the machine tool shaft;
[0014] Determining a thermal elongation speed curve of the machine tool shaft according to the historical speed and thermal elongation data;
[0015] An initial thermal elongation curve of the machine tool shaft is determined according to the average rotation speed value, the rotation duration and the thermal elongation rotation speed curve.
[0016] In one embodiment, determining the thermal compensation curve of the machine tool shaft according to the initial thermal elongation curve includes:
[0017] Obtaining the rotation start time and thermal equilibrium time of the machine tool shaft;
[0018] According to the rotation start time and the thermal equilibrium time, the initial thermal expansion curve is mirrored to determine the mirrored initial thermal expansion curve;
[0019] A thermal compensation curve of the machine tool shaft is determined according to the mirrored initial thermal extension curve.
[0020] In one embodiment, determining the machining compensation result of the machine tool shaft according to the thermal compensation curve, the average rotation speed value and the rotation duration includes:
[0021] Determining an initial thermal elongation curve of the machine tool shaft according to the average rotation speed value and the rotation duration;
[0022] According to the thermal compensation curve and the initial thermal elongation curve, machining compensation processing is performed on the machine tool shaft to determine the machining compensation result of the machine tool shaft.
[0023] In one embodiment, performing machining compensation processing on the machine tool shaft according to the thermal compensation curve and the initial thermal elongation curve to determine the machining compensation result of the machine tool shaft includes:
[0024] Determining a target thermal expansion curve of the machine tool shaft according to the thermal compensation curve and the initial thermal expansion curve;
[0025] According to the target thermal elongation curve, machining compensation processing is performed on the machine tool shaft to determine the machining compensation result of the machine tool shaft.
[0026] In one embodiment, determining a target thermal expansion curve of the machine tool shaft according to the thermal compensation curve and the initial thermal expansion curve includes:
[0027] Obtaining a superimposed fitting curve of the thermal compensation curve and the initial thermal elongation curve;
[0028] According to the superimposed fitting curve, a target thermal expansion curve of the machine tool shaft is determined.
[0029] A processing compensation device, comprising:
[0030] An acquisition module is used to acquire the average rotation speed value and rotation duration of the machine tool shaft;
[0031] A compensation curve determination module, connected to the acquisition module, for determining a thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration;
[0032] The processing result determination module is connected to the acquisition module and the compensation curve determination module, and is used to determine the processing compensation result of the machine tool shaft according to the thermal compensation curve, the average rotation speed value and the rotation duration.
[0033] A processing device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the above method.
[0034] A computer-readable storage medium stores a computer program, which implements the above method when executed by a processor.
[0035] A computer program product, when the computer program product is run on a terminal device, enables the terminal device to execute any of the methods described above.
[0036] The beneficial effects of the embodiments provided in this application include:
[0037] The machining compensation method obtains a thermal elongation result applicable to different average speed values and different rotation durations and capable of reflecting the machine tool shaft before thermal elongation compensation is performed, based on the average speed value and rotation duration of the machine tool shaft, and then analyzes and processes the obtained thermal elongation result before thermal elongation compensation is performed to obtain a thermal compensation curve capable of performing thermal elongation compensation on the machine tool shaft to reduce the change in thermal elongation caused by heat imbalance generated by rotational motion, and then, based on the obtained thermal compensation curve and the thermal elongation result of the machine tool shaft before thermal compensation is performed, the machine tool shaft is compensated. Through the processing of machining compensation, a machining compensation result that can reflect the actual thermal elongation of the machine tool shaft after machining compensation is obtained. Compared with the thermal elongation response method through the installation of machine tool cooling, elongation detection or temperature detection equipment, the thermal elongation compensation method that only uses the average speed value and rotation duration of the machine tool shaft can achieve more direct and rapid thermal elongation compensation for the machine tool shaft with almost no additional cost, effectively improving the problem of large fluctuations in the thermal elongation of the machine tool shaft during machining, while improving the machining compensation efficiency, and effectively meeting the higher requirements of machine tool machining accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 is a schematic flow chart of a processing compensation method in one embodiment;
[0040] Figure 2 is a specific flow chart of step 104 in one embodiment;
[0041] Figure 3 This is a specific flow chart of step 106 in one embodiment;
[0042] Figure 4 A schematic diagram of a thermal elongation speed curve of a machine tool shaft in one embodiment;
[0043] Figure 5 is a schematic diagram of a machining compensation result in one embodiment;
[0044] Figure 6 It is a schematic block diagram of the structure of a processing compensation device in one embodiment;
[0045] Figure 7 is a schematic block diagram of the specific structure of the compensation curve determination module 40 in one embodiment;
[0046] Figure 8 is a schematic block diagram of the specific structure of the processing result determination module 60 in one embodiment;
[0047] Fig. 9 Schematic diagram of the structure of a processing device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0050] Figure 1 , which is a flow chart of a processing compensation method in one embodiment.
[0051] In this embodiment, if Figure 1 As shown, the machining compensation method includes steps 102 to 106 .
[0052] Step 102, obtaining the average rotation speed value and rotation duration of the machine tool shaft.
[0053] The machine tool shaft may be a shaft body that performs a rotational motion during the machining process of the machine tool. The average speed value may be an average value of the rotation speed of the machine tool shaft within a certain period. The rotation duration may be the duration of the rotational motion of the machine tool shaft.
[0054] The situations for obtaining the average speed value and rotation duration of a machine tool shaft include: detecting the rotation speed of the machine tool shaft by a speed detector to obtain the average speed value of the machine tool shaft; detecting the rotation motion process of the machine tool shaft by a timer to obtain the rotation duration of the machine tool shaft.
[0055] It should be noted that when the machine tool is cold-started, the rotation speed of the machine tool shaft increases rapidly from zero to a preset rotation speed. When obtaining the average rotation speed value of the machine tool shaft, detection is usually performed after the rotation speed of the machine tool shaft jumps. Similarly, when obtaining the rotation duration of the machine tool shaft, detection is usually performed after the rotation speed of the machine tool shaft jumps, so as to improve the influence of system errors on the detection process as much as possible, thereby ensuring the effectiveness of the detection process.
[0056] Step 104: determining a thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration.
[0057] The thermal compensation curve can be formed based on the average rotation speed value and rotation duration of the machine tool shaft, and can compensate for the thermal elongation of the machine tool shaft to reduce the change in thermal elongation caused by the heat imbalance generated by the rotational motion. Optionally, the thermal compensation curve can be a thermal elongation compensation curve per unit time.
[0058] The situations in which the thermal compensation curve of a machine tool shaft is determined according to an average rotation speed value and a rotation duration include: determining a thermal elongation result of the machine tool shaft before thermal compensation is performed according to the average rotation speed value and the rotation duration; and analyzing and processing the obtained thermal elongation result of the machine tool shaft before thermal compensation is performed to determine the thermal compensation curve of the machine tool shaft.
[0059] Step 106, determining the machining compensation result of the machine tool shaft according to the thermal compensation curve, the average rotation speed value and the rotation duration.
[0060] The machining compensation result may be formed based on the thermal compensation curve, the average rotation speed value and the rotation duration, and may reflect the actual thermal elongation of the machine tool shaft after machining compensation.
[0061] The situations in which the machining compensation result of a machine tool shaft is determined according to a thermal compensation curve, an average rotation speed value and a rotation duration include: determining a thermal elongation result of the machine tool shaft before thermal compensation is performed according to the average rotation speed value and the rotation duration; performing machining compensation processing on the machine tool shaft according to the obtained thermal compensation curve and the thermal elongation result of the machine tool shaft before thermal compensation is performed to determine the machining compensation result of the machine tool shaft.
[0062] During the machining process of the machine tool, the rotation speed of the machine tool shaft is first detected by a speed detector to obtain the average rotation speed value of the machine tool shaft; the rotation motion process of the machine tool shaft is detected by a timer to obtain the rotation duration of the machine tool shaft; secondly, the thermal elongation result of the machine tool shaft before thermal compensation is determined according to the average rotation speed value and the rotation duration; the obtained thermal elongation result of the machine tool shaft before thermal compensation is performed is analyzed and processed to determine the thermal compensation curve of the machine tool shaft; then, according to the obtained thermal compensation curve and the thermal elongation result of the machine tool shaft before thermal compensation is performed, the machine tool shaft is subjected to machining compensation processing to determine the machining compensation result of the machine tool shaft.
[0063] The machining compensation method provided in this embodiment obtains a thermal elongation result that is applicable to different average speed values and different rotation durations and can reflect the thermal elongation of the machine tool shaft before thermal elongation compensation is performed, based on the average speed value and rotation duration of the machine tool shaft. The thermal elongation result obtained before thermal elongation compensation is performed is then analyzed and processed to obtain a thermal compensation curve that can compensate for the thermal elongation of the machine tool shaft to reduce the change in thermal elongation caused by the heat imbalance generated by the rotational motion. Then, the machine tool shaft is compensated for the thermal elongation of the machine tool shaft according to the obtained thermal compensation curve and the thermal elongation result of the machine tool shaft before thermal compensation is performed. By performing machining compensation processing, a machining compensation result that can reflect the actual thermal elongation of the machine tool shaft after machining compensation is obtained. Compared with the thermal elongation response method through the installation of machine tool cooling, elongation detection or temperature detection equipment, the thermal elongation compensation method that only uses the average speed value and rotation duration of the machine tool shaft can achieve more direct and rapid thermal elongation compensation for the machine tool shaft with almost no additional cost, effectively improving the problem of large fluctuations in the thermal elongation of the machine tool shaft during machining, while improving the machining compensation efficiency and effectively meeting the higher requirements of machine tool machining accuracy.
[0064] Figure 2 , which is a specific flow chart of step 104 in an embodiment.
[0065] In this embodiment, if Figure 2As shown, step 104 includes sub-steps 202 to 204 .
[0066] In sub-step 202, an initial thermal elongation curve of a machine tool shaft is determined according to the average rotation speed value and the rotation duration.
[0067] The initial thermal elongation curve can be formed based on the average rotation speed value and rotation duration of the machine tool shaft, and can reflect the actual initial thermal elongation curve of the machine tool shaft before thermal elongation compensation is performed. Optionally, the initial thermal elongation curve can be a curve of thermal elongation change per unit time before thermal elongation compensation is performed on the machine tool shaft.
[0068] The situations in which the initial thermal elongation curve of a machine tool shaft is determined according to an average speed value and a rotation duration include: obtaining historical speed and thermal elongation data of the machine tool shaft; determining the thermal elongation speed curve of the machine tool shaft according to the historical speed and thermal elongation data; determining the initial thermal elongation curve of the machine tool shaft according to the average speed value, the rotation duration and the thermal elongation speed curve.
[0069] The historical speed and thermal elongation data can be the thermal elongation of the machine tool shaft at different rotation speeds per unit time. The thermal elongation speed curve can be formed based on the historical speed and thermal elongation data, and is a curve of the thermal elongation change of the machine tool shaft at different rotation speeds per unit time.
[0070] In sub-step 204, a thermal compensation curve of the machine tool shaft is determined according to the initial thermal extension curve.
[0071] The case of determining the thermal compensation curve of the machine tool shaft according to the initial thermal expansion curve includes: obtaining the rotation start time and thermal balance time of the machine tool shaft; mirroring the initial thermal expansion curve according to the rotation start time and thermal balance time to determine the initial thermal expansion curve after mirroring; and determining the thermal compensation curve of the machine tool shaft according to the initial thermal expansion curve after mirroring.
[0072] The rotation start time may be the time point when the machine tool shaft starts to rotate. The thermal balance time may be the time point when the heat generated by the machine tool shaft due to the rotational movement changes from imbalance to balance. The mirroring process may be a process of horizontally mirroring the initial thermal expansion curve between the rotation start time and the thermal balance time with the horizontal axis corresponding to half of the initial thermal expansion when the machine tool shaft is in thermal balance as the mirror line. The mirrored initial thermal expansion curve may be an initial thermal expansion curve obtained by horizontally mirroring the initial thermal expansion curve between the rotation start time and the thermal balance time with the horizontal axis corresponding to half of the initial thermal expansion when the machine tool shaft is in thermal balance as the mirror line.
[0073] The machining compensation method provided in this embodiment obtains the initial thermal elongation curve of the machine tool shaft based on the average rotation speed value and rotation duration of the machine tool shaft, and mirrors the initial thermal elongation curve between the rotation start time and the thermal balance time, and then determines the thermal compensation curve of the machine tool shaft according to the mirror processing result, thereby achieving accurate thermal elongation compensation for the change in thermal elongation caused by the heat imbalance generated by the rotational motion of the machine tool shaft, thereby ensuring the feasibility and feasibility of the machining compensation method.
[0074] Figure 3 , which is a specific flow chart of step 106 in one embodiment.
[0075] In this embodiment, if Figure 3 As shown, step 106 includes sub-steps 302 to 304 .
[0076] In sub-step 302, an initial thermal elongation curve of a rotating shaft of a machine tool is determined according to the average rotation speed value and the rotation duration.
[0077] In sub-step 304, a machining compensation process is performed on the machine tool shaft according to the thermal compensation curve and the initial thermal elongation curve to determine the machining compensation result of the machine tool shaft.
[0078] The situations in which machining compensation processing is performed on the machine tool shaft according to the thermal compensation curve and the initial thermal expansion curve to determine the machining compensation result of the machine tool shaft include: determining the target thermal expansion curve of the machine tool shaft according to the thermal compensation curve and the initial thermal expansion curve; performing machining compensation processing on the machine tool shaft according to the target thermal expansion curve to determine the machining compensation result of the machine tool shaft.
[0079] The target thermal elongation curve can be formed based on the thermal compensation curve and the initial thermal elongation curve, and can be a curve that can perform processing compensation on the machine tool shaft so that the heat generated by the rotational motion is balanced and the thermal elongation remains unchanged. Optionally, the target thermal elongation curve can be a curve of thermal elongation change per unit time that is expected to be maintained after the machine tool shaft is compensated for thermal elongation.
[0080] The specific situation of determining the target thermal expansion curve of the machine tool rotating shaft according to the thermal compensation curve and the initial thermal expansion curve includes: obtaining a superimposed fitting curve of the thermal compensation curve and the initial thermal expansion curve; and determining the target thermal expansion curve of the machine tool rotating shaft according to the superimposed fitting curve. The superimposed fitting curve can be a curve constructed by fitting after superimposing the thermal expansion amount values of the thermal compensation curve and the initial thermal expansion curve.
[0081] The specific situation of determining the target thermal expansion curve of the machine tool shaft according to the superimposed fitting curve includes: performing fluctuation analysis on the thermal expansion amount at each location on the superimposed fitting curve and obtaining the fluctuation analysis result; when the fluctuation analysis result satisfies the machining accuracy error, the superimposed fitting curve is used as the target thermal expansion curve of the machine tool shaft.
[0082] The processing compensation method provided in this embodiment obtains a superimposed fitting curve by superimposing the thermal compensation curve and the initial thermal elongation curve by the thermal elongation values, and determines the superimposed fitting curve as the target thermal elongation curve when the superimposed fitting curve meets the processing accuracy condition. In this way, while meeting the processing accuracy constraint, the applicable range of the target thermal elongation curve is guaranteed, thereby improving the feasibility of the processing compensation method.
[0083] For example, when the machine tool shaft is rotating, the speed detector is used to detect the rotation speed of the machine tool shaft to obtain the average rotation speed of the machine tool shaft, and the rotation process of the machine tool shaft is detected by the timer to obtain the rotation duration of the machine tool shaft; secondly, the historical speed and thermal elongation data of the machine tool shaft are obtained, and the thermal elongation speed curve of the machine tool shaft is determined according to the historical speed and thermal elongation data, such as Figure 4 As shown in FIG. 1 , the initial thermal elongation curve of the machine tool shaft is determined according to the average speed value, the rotation duration and the thermal elongation speed curve; then the initial thermal elongation curve between the rotation start time and the thermal balance time is mirrored, and the thermal compensation curve of the machine tool shaft is determined according to the mirroring result, and then the thermal compensation curve and the initial thermal elongation curve are superimposed with the thermal elongation value to obtain the superimposed fitting curve, and when the superimposed fitting curve meets the machining accuracy condition, it is determined as the target thermal elongation curve, as shown in FIG. Figure 5 shown.
[0084] It should be noted that the double-dash line represents the ideal thermal elongation change curve that is expected to be achieved, the solid line represents the initial thermal elongation curve obtained from the test, the vertical dotted line represents the thermal equilibrium time, the long dotted line represents the thermal compensation curve, which is the mirror image of the initial thermal elongation curve between the rotation start time and the thermal equilibrium time, and the single-dash line represents the superimposed fitting curve that meets the machining accuracy conditions, that is, the target thermal elongation curve (the closer to the horizontal, the better, and the ideal state is to coincide with the double-dash line). Although there are some fluctuations in the compensation process, the machining accuracy error is reduced by 85% compared with before compensation, which effectively improves the machining accuracy of the machine tool shaft.
[0085] Specifically, the thermal compensation curve of the machine tool shaft is determined as follows: first, the program is run for the first time, and the average speed value and rotation duration of the machine tool shaft are calculated; second, the average speed value and rotation duration are compared with the obtained average speed value and rotation duration. Figure 4The thermal elongation speed curve of the machine tool shaft shown in the figure determines the final thermal compensation curve; for example, after determining the thermal compensation curve, taking the machine tool shaft with a rotation duration of 10 minutes and an average speed of 700rpm as an example, the target thermal elongation is 36 microns; then when the speed is 700rpm and the thermal elongation is 8 microns in 10 minutes, the thermal elongation compensation for 1-10 minutes is 36 microns-8 microns=28 microns, and the thermal elongation at 20 minutes is 15 microns, so the thermal elongation compensation for 10-20 minutes is 36 microns-15 microns=21 microns, and so on until the thermal elongation compensation is 0 microns at 70 minutes, that is, the machine tool shaft is in thermal equilibrium.
[0086] It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the prompts of the arrows, these steps are not necessarily executed in sequence in the order of the arrow prompts. Unless clearly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the above sub-steps may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps. It should be noted that the above different embodiments can be combined with each other.
[0087] Figure 6 , is a schematic block diagram of the structure of a processing compensation device in an embodiment.
[0088] In this embodiment, if Figure 6 As shown, the processing compensation device includes an acquisition module 20, a compensation curve determination module 40 and a processing result determination module 60.
[0089] The acquisition module 20 is used to acquire the average rotation speed value and rotation duration of the machine tool shaft.
[0090] The compensation curve determination module 40 is connected to the acquisition module 20 and is used to determine the thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration.
[0091] The processing result determination module 60 is connected to the acquisition module 20 and the compensation curve determination module 40, and is used to determine the processing compensation result of the machine tool shaft according to the thermal compensation curve, the average rotation speed value and the rotation duration.
[0092] In this embodiment, each module is used to execute Figure 1 For details of the steps in the corresponding embodiments, please refer to Figure 1 as well as Figure 1The relevant descriptions in the corresponding embodiments are not repeated here.
[0093] Specifically, during the machining process of the machine tool, the rotation speed of the machine tool shaft is first detected by a speed detector to obtain the average rotation speed value of the machine tool shaft; the rotation motion process of the machine tool shaft is detected by a timer to obtain the rotation duration of the machine tool shaft; secondly, based on the average rotation speed value and the rotation duration, the thermal elongation result of the machine tool shaft before thermal compensation is determined; the obtained thermal elongation result of the machine tool shaft before thermal compensation is performed is analyzed and processed to determine the thermal compensation curve of the machine tool shaft; then, based on the obtained thermal compensation curve and the thermal elongation result of the machine tool shaft before thermal compensation is performed, the machine tool shaft is subjected to machining compensation processing to determine the machining compensation result of the machine tool shaft.
[0094] The machining compensation device provided in this embodiment obtains a thermal expansion result applicable to different average speed values and different rotation durations and capable of reflecting the thermal expansion amount compensation of the machine tool shaft before the thermal expansion amount compensation is performed, based on the average speed value and the rotation duration of the machine tool shaft. The thermal expansion amount compensation result obtained before the thermal expansion amount compensation is performed is then analyzed and processed to obtain a thermal compensation curve capable of performing thermal expansion compensation on the machine tool shaft to reduce the change in thermal expansion amount caused by the heat imbalance generated by the rotational motion. Then, the machine tool shaft is compensated for the thermal expansion amount according to the obtained thermal compensation curve and the thermal expansion amount compensation result of the machine tool shaft before the thermal compensation is performed. By performing machining compensation processing, a machining compensation result that can reflect the actual thermal elongation of the machine tool shaft after machining compensation is obtained. Compared with the thermal elongation response method through the installation of machine tool cooling, elongation detection or temperature detection equipment, the thermal elongation compensation method that only uses the average speed value and rotation duration of the machine tool shaft can achieve more direct and rapid thermal elongation compensation for the machine tool shaft with almost no additional cost, effectively improving the problem of large fluctuations in the thermal elongation of the machine tool shaft during machining, while improving the machining compensation efficiency and effectively meeting the higher requirements of machine tool machining accuracy.
[0095] Figure 7 , is a schematic block diagram of the specific structure of the compensation curve determination module 40 in an embodiment.
[0096] In this embodiment, if Figure 7 As shown, the compensation curve determination module 40 includes an initial thermal expansion determination unit 420 and a compensation curve determination unit 440 .
[0097] The initial thermal expansion determination unit 420 is used to determine the initial thermal expansion curve of the machine tool shaft according to the average rotation speed value and the rotation duration.
[0098] The compensation curve determining unit 440 is connected to the initial thermal elongation determining unit 420 and is used to determine the thermal compensation curve of the machine tool shaft according to the initial thermal elongation curve.
[0099] In this embodiment, each unit is used to execute Figure 2 For details of the steps in the corresponding embodiments, please refer to Figure 2 as well as Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.
[0100] Figure 8 , is a schematic block diagram of the specific structure of the processing result determination module 60 in an embodiment.
[0101] In this embodiment, if Figure 8 As shown, the processing result determination module 60 includes an initial thermal expansion determination unit 620 and a compensation result determination unit 640 .
[0102] The initial thermal expansion determination unit 620 is used to determine the initial thermal expansion curve of the machine tool shaft according to the average rotation speed value and the rotation duration.
[0103] The compensation result determination unit 640 is connected to the initial thermal elongation determination unit 620, and is used to perform machining compensation processing on the machine tool shaft according to the thermal compensation curve and the initial thermal elongation curve, and determine the machining compensation result of the machine tool shaft.
[0104] In this embodiment, each unit is used to execute Figure 3 For details of the steps in the corresponding embodiments, please refer to Figure 3 as well as Figure 3 The relevant descriptions in the corresponding embodiments are not repeated here.
[0105] The division of the various modules in the above-mentioned machining compensation device is only for illustration. In other embodiments, the machining compensation device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned machining compensation device.
[0106] The specific definition of the processing compensation device can be found in the definition of the processing compensation method above, which will not be repeated here. Each module in the above processing compensation device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the processing equipment in the form of hardware, or can be stored in the memory of the processing equipment in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0107] Fig. 9 , is a schematic diagram of the structure of a processing device in an embodiment.
[0108] In this embodiment, if Fig. 9As shown, the processing device includes a memory A1 and a processor A2; it may also include a display screen A3, a communications interface (Communications Interface) and a bus. Optionally, the processing device may be a processing compensation device.
[0109] Among them, the memory A1, the processor A2, the display screen A3 and the communication interface can communicate with each other through a bus; the display screen A3 is set to display the user operation interface preset in the initial setting mode, and the display screen A3 can also display the process control window; the communication interface can transmit information; the memory A1 stores a computer program, and the processor A2 can call the logical instructions in the memory A1 to execute the method in the above embodiment.
[0110] In addition, the logic instructions in the above-mentioned memory A1 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent part.
[0111] The memory A1 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present application. The processor A2 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory A1, that is, implementing the methods in the above embodiments.
[0112] The memory A1 includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory A1 can include a high-speed random access memory and a non-volatile memory.
[0113] Processor A2 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0114] The present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, enable the processors to execute the method in the above embodiment.
[0115] The embodiment of the present application also provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the method in the above embodiment.
[0116] The machining compensation method, device, machining equipment and readable storage medium provided in the above-mentioned embodiments obtain, based on the average rotation speed value and rotation duration of the machine tool shaft, a thermal elongation result applicable to different average rotation speed values and different rotation durations and capable of reflecting the machine tool shaft before thermal elongation compensation is performed, and then the obtained thermal elongation result before thermal elongation compensation is performed is analyzed and processed to obtain a thermal compensation curve capable of performing thermal elongation compensation on the machine tool shaft to reduce the change in thermal elongation caused by the heat imbalance generated by the rotational motion, and then the machine tool shaft is compensated for the thermal elongation based on the obtained thermal compensation curve and the thermal elongation result of the machine tool shaft before thermal compensation is performed. By performing machining compensation processing, a machining compensation result that can reflect the actual thermal elongation of the machine tool shaft after machining compensation is obtained. Compared with the thermal elongation response method through the installation of machine tool cooling, elongation detection or temperature detection equipment, the thermal elongation compensation method that only uses the average speed value and rotation duration of the machine tool shaft can achieve more direct and rapid thermal elongation compensation for the machine tool shaft with almost no additional cost, effectively improving the problem of large fluctuations in the thermal elongation of the machine tool shaft during machining, while improving the machining compensation efficiency, effectively meeting the higher requirements of machine tool machining accuracy, and has important economic value and promotion and practical value.
[0117] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0118] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0119] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A processing compensation method, characterized in that: include: Obtain the average speed value and rotation duration of the machine tool shaft; Determining a thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration; A machining compensation result of the machine tool shaft is determined according to the thermal compensation curve, the average rotation speed value and the rotation duration.
2. The machining compensation method according to claim 1, characterized in that: Determining the thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration includes: Determining an initial thermal elongation curve of the machine tool shaft according to the average rotation speed value and the rotation duration; A thermal compensation curve of the machine tool shaft is determined according to the initial thermal extension curve.
3. The machining compensation method according to claim 2, characterized in that: Determining the initial thermal elongation curve of the machine tool shaft according to the average rotation speed value and the rotation duration includes: Obtaining historical speed and thermal elongation data of the machine tool shaft; Determining a thermal elongation speed curve of the machine tool shaft according to the historical speed and thermal elongation data; An initial thermal elongation curve of the machine tool shaft is determined according to the average rotation speed value, the rotation duration and the thermal elongation rotation speed curve.
4. The machining compensation method according to claim 2, characterized in that: Determining the thermal compensation curve of the machine tool shaft according to the initial thermal elongation curve includes: Obtaining the rotation start time and thermal equilibrium time of the machine tool shaft; According to the rotation start time and the thermal equilibrium time, the initial thermal expansion curve is mirrored to determine the mirrored initial thermal expansion curve; A thermal compensation curve of the machine tool shaft is determined according to the mirrored initial thermal extension curve.
5. The machining compensation method according to claim 1, characterized in that: Determining the machining compensation result of the machine tool shaft according to the thermal compensation curve, the average rotation speed value and the rotation duration includes: Determining an initial thermal elongation curve of the machine tool shaft according to the average rotation speed value and the rotation duration; According to the thermal compensation curve and the initial thermal elongation curve, machining compensation processing is performed on the machine tool shaft to determine the machining compensation result of the machine tool shaft.
6. The machining compensation method according to claim 5, characterized in that: The step of performing machining compensation processing on the machine tool shaft according to the thermal compensation curve and the initial thermal elongation curve to determine the machining compensation result of the machine tool shaft includes: Determining a target thermal expansion curve of the machine tool shaft according to the thermal compensation curve and the initial thermal expansion curve; According to the target thermal elongation curve, machining compensation processing is performed on the machine tool shaft to determine the machining compensation result of the machine tool shaft.
7. The machining compensation method according to claim 6, characterized in that: Determining a target thermal expansion curve of the machine tool shaft according to the thermal compensation curve and the initial thermal expansion curve includes: Obtaining a superimposed fitting curve of the thermal compensation curve and the initial thermal elongation curve; According to the superimposed fitting curve, a target thermal elongation curve of the machine tool shaft is determined.
8. A processing compensation device, characterized in that: include: An acquisition module is used to acquire the average rotation speed value and rotation duration of the machine tool shaft; A compensation curve determination module, connected to the acquisition module, for determining a thermal compensation curve of the machine tool shaft according to the average rotation speed value and the rotation duration; The processing result determination module is connected to the acquisition module and the compensation curve determination module, and is used to determine the processing compensation result of the machine tool shaft according to the thermal compensation curve, the average rotation speed value and the rotation duration.
9. A processing equipment, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.