Compensation method and system for butt joint accuracy and cold and hot machine of double-spindle numerical control lathe
By performing reference position correction and real-time compensation in a dual-spindle CNC lathe, the problems of machining instability and misalignment caused by the hot-cold machine phenomenon were solved, improving machining accuracy and spindle life, and achieving higher machine tool accuracy and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG PINSHANG INTELLIGENT TECH CO LTD
- Filing Date
- 2023-05-19
- Publication Date
- 2026-05-12
AI Technical Summary
When using a row of cutting tools on a dual-spindle CNC lathe, the machining dimensions become unstable due to the hot-cold cycle and the spindles become misaligned, affecting the service life of the machine tool spindle. Existing technologies have not been able to effectively solve the problem of low cutting accuracy caused by thermal errors.
A method for compensating for docking accuracy and thermal stress in a dual-spindle CNC lathe is provided, including a calibration step before operation and a mechanical wear compensation step during operation. The method involves obtaining the difference between the reference position and the actual position for calibration, adjusting the spindle position in real time to compensate for heat loss, and adjusting the tool position using the linear relationship between temperature and time.
It improves the machining accuracy of CNC machine tools, avoids spindle deviation caused by environmental changes, extends the service life of machine tool spindles, and ensures machining accuracy and stability.
Smart Images

Figure CN116442008B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of CNC machine tool technology, specifically relating to a method and system for compensating for the docking accuracy and hot / cold mechanical properties of a dual-spindle CNC lathe. Background Technology
[0002] As the advantages of twin-spindle CNC lathes become increasingly apparent, end customers are increasingly accepting them. Consequently, the requirements for various precision indicators of twin-spindle CNC lathes are becoming more stringent, especially when using multi-tool layouts. Because the spindle travel distance is required to accommodate multiple tools, the mechanical precision becomes more difficult to control with the longer travel distance. The hot-cold phenomenon becomes very obvious, which not only causes instability in the machined dimensions of the product but also causes misalignment when the two spindles are connected, resulting in poor runout at both ends of the product and affecting the service life of the machine tool spindle.
[0003] Related technologies provide a method for separating thermal errors from machine tool positioning errors, including: 1) selecting thermally sensitive measuring points in the machine tool transmission system and monitoring their temperature changes, and measuring the positioning error of each thermally sensitive measuring point; 2) starting from a cold state, repeatedly measuring the positioning error and recording the temperature values of the thermally sensitive measuring points until the transmission system reaches a thermal equilibrium state, i.e., the temperature rise of the thermally sensitive measuring points tends to be 0 or approximately equal to 0; 3) taking the positioning deviation data of the front and rear thermally sensitive measuring points at the same location in each cycle, removing the small errors under the same test conditions, and obtaining the residual error; 4) subtracting the value under the cold state from the average value of the residual error corresponding to different measurement cycles, and separating the thermal error of the transmission system under different temperature rise states.
[0004] However, the above method obtains the temperature change, then determines the error based on the temperature change, and then obtains the thermal error of the transmission system under different temperature rise states. It does not make a solution to change the large cutting error caused by the thermal error. In practice, there will still be thermal errors due to temperature rise, which will lead to low cutting accuracy. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a method and system for compensating for the docking accuracy and the hot and cold operation of a dual-spindle CNC lathe, so as to solve the problems mentioned in the background art.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0007] On the one hand, a method for compensating for the docking accuracy and hot / cold mechanical properties of a dual-spindle CNC lathe is provided, the method including: a calibration step before operation and a mechanical wear compensation step during operation;
[0008] The calibration steps before operation include: obtaining the reference position when the first spindle and the second spindle of the CNC lathe are aligned;
[0009] Before operation, the first spindle and the second spindle of the CNC lathe are controlled to move towards each other to obtain the end positions of the first spindle and the second spindle before operation.
[0010] Compare the endpoint position with the reference position;
[0011] The mechanical wear compensation steps during operation include: when the endpoint position coincides with the reference position, the operation is performed, the first spindle and the second spindle are controlled to move towards each other, and the actual moving distance of the first spindle and the second spindle during the operation is obtained;
[0012] Obtain the current position coordinates of the workpiece to be processed during the operation;
[0013] The actual moving distances of the first and second spindles are compared with the current position coordinates of the workpiece to be processed to obtain the comparison difference.
[0014] The first and second spindles are moved according to the comparison difference until the comparison difference is zero.
[0015] In an optional embodiment, the method further includes a heat loss compensation step during operation:
[0016] Get the current positions of the first and second spindles in the job;
[0017] Compare the current positions of the first and second spindles in the operation with the reference position;
[0018] The CNC lathe tool is adjusted based on the difference between the current position and the reference position.
[0019] In an optional embodiment, the heat loss compensation step in the operation further includes:
[0020] Acquire the first temperature and first time of the first and second spindles when they are in the reference position before the operation;
[0021] The acquisition of the current positions of the first and second spindles in the job includes:
[0022] Obtain the second temperature and second time of the first and second spindles at their current positions during the operation;
[0023] The temperature difference is obtained based on the first temperature and the second temperature;
[0024] A coordinate system is established based on the first temperature, the second temperature, the first time, and the second time to obtain the linear relationship between temperature and time.
[0025] The temperature rise characteristics of CNC machine tools at different temperatures and times are determined based on the linear relationship between temperature and time.
[0026] Based on the temperature rise characteristics, correction parameters are determined, and the cutting tools of the CNC machine tool are adjusted according to the correction parameters at different temperatures and times during operation.
[0027] In one optional embodiment, determining the temperature rise characteristics of the CNC machine tool at different temperatures and times based on the linear relationship between temperature and time includes:
[0028] Obtain the displacements of the first and second spindles under different temperatures and times during the operation;
[0029] A linear relationship between temperature, time, and displacement is obtained based on temperature, time, and displacement.
[0030] The correction parameters for CNC machine tools at different temperatures and times are determined based on the linear relationship between temperature, time, and displacement.
[0031] In one optional embodiment, when the endpoint position does not coincide with the reference position, the difference between the endpoint position and the reference position is obtained, and the first spindle and the second spindle are adjusted to be aligned according to the difference between the endpoint position and the reference position.
[0032] In an optional embodiment, the method further includes:
[0033] Get the current positions of the first and second spindles in the job;
[0034] Compare the current position with the reference position;
[0035] The difference between the current position and the reference position is the change in the lead screw of the first spindle and the second spindle;
[0036] Obtain the current position of the CNC lathe tool;
[0037] Obtain the proportional relationship between the current position of the CNC lathe tool and the change in the lead screw;
[0038] The CNC lathe tool is moved to a standard position according to the stated proportional relationship.
[0039] In one optional embodiment, controlling the CNC lathe tool to move to a standard position according to the proportional relationship includes:
[0040] Obtain the difference between the current position and the standard position of the CNC lathe tool;
[0041] The CNC lathe tool is moved to the standard position based on the difference between its current position and the standard position, and the change in the lead screw.
[0042] In one optional embodiment, the dual-spindle CNC machine tool is equipped with a position acquisition device at a preset position on the first spindle and the second spindle.
[0043] In one optional embodiment, the dual-spindle CNC machine tool is equipped with a temperature acquisition device at a preset position on the first spindle and the second spindle.
[0044] On the other hand, a compensation system for the docking accuracy and heating / cooling of a dual-spindle CNC lathe is provided, wherein the system uses any of the methods shown above to compensate for the docking accuracy and heating / cooling of the dual-spindle CNC lathe.
[0045] The method provided in this embodiment of the invention has at least the following beneficial effects:
[0046] This invention employs a pre-operation calibration step to calibrate the CNC machine frame before operation. When the endpoint positions and reference positions of the first and second spindles coincide, it indicates that the CNC machine frame is ready for normal use. Operation is then performed at this point, avoiding the possibility of misalignment between the two spindles due to external environmental factors before operation, thus improving the accuracy of the CNC machine frame. During operation, the actual movement distances of the first and second spindles are compared with the current position coordinates of the workpiece. Based on the difference, the movement of the first and second spindles is controlled until the difference is zero. This compensates for misalignment of the first and second spindles caused by problems with the CNC machine frame itself, further improving the accuracy of the first and second spindle movements and resulting in higher machining precision for the CNC machine tool. Attached Figure Description
[0047] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments of the present disclosure and, together with the specification, further serve to explain the principles of the present disclosure and enable those skilled in the art to implement and use the present disclosure.
[0048] Figure 1 This is a schematic diagram of the overall process of the method for compensating for docking accuracy and hot / cold mechanical operation of a dual-spindle CNC lathe according to the present invention;
[0049] Figure 2 This is a schematic flowchart of a method for compensating for docking accuracy and hot / cold mechanical operation in a dual-spindle CNC lathe according to the present invention.
[0050] Figure 3 This is a detailed flowchart illustrating the method for compensating for docking accuracy and thermal cycling of a dual-spindle CNC lathe according to the present invention.
[0051] Figure 4This is a schematic diagram illustrating the compensation results for a specific embodiment of the present invention regarding the docking accuracy and the hot / cold mechanism of a dual-spindle CNC lathe. Detailed Implementation
[0052] The following describes in detail, with reference to the accompanying drawings and specific embodiments, a method and system for compensating for docking accuracy and thermal cycling of a dual-spindle CNC lathe provided by the present invention. It should be noted that, to make the embodiments more detailed, the following embodiments are the best and preferred embodiments; those skilled in the art can also use other alternative methods to implement some known technologies; and the accompanying drawings are only for more specific description of the embodiments and are not intended to specifically limit the present invention.
[0053] It should be noted that the use of terms such as "an embodiment," "an embodiment," "an exemplary embodiment," and "some embodiments" in the specification indicates that the described embodiment may include a specific feature, structure, or characteristic, but not every embodiment necessarily includes that specific feature, structure, or characteristic. Furthermore, when a specific feature, structure, or characteristic is described in connection with an embodiment, implementing such a feature, structure, or characteristic in conjunction with other embodiments (whether explicitly described or not) should be within the knowledge of those skilled in the art.
[0054] like Figures 1-3 As shown, an embodiment of the present invention provides a method for compensating for docking accuracy and mechanical wear during the heating and cooling of a dual-spindle CNC lathe. The method includes: a pre-operation calibration step S1; and a mechanical wear compensation step S2 during operation. The pre-operation calibration step S1 includes:
[0055] S11. Obtain the reference position when the first spindle and the second spindle of the CNC lathe are directly aligned;
[0056] S12. Before operation, control the first spindle and the second spindle of the CNC lathe to move towards each other and obtain the end positions of the first spindle and the second spindle before operation;
[0057] S13. Compare the endpoint position with the reference position;
[0058] The mechanical wear compensation step S2 during operation includes:
[0059] S21. When the endpoint position coincides with the reference position, control the first spindle and the second spindle to move towards each other, and obtain the actual moving distance of the first spindle and the second spindle during the operation.
[0060] S22. Obtain the current position coordinates of the workpiece to be processed during the operation;
[0061] S23. Compare the actual moving distances of the first and second spindles with the current position coordinates of the workpiece to be processed to obtain the comparison difference.
[0062] S24. Control the movement of the first and second spindles according to the comparison difference until the comparison difference is zero.
[0063] The method provided by the present invention will be further explained and described below through optional embodiments.
[0064] S11. Obtain the reference position when the first spindle and the second spindle of the CNC lathe are aligned.
[0065] It should be noted that the method provided in this embodiment of the invention sets high-precision position sensors at preset positions of the first spindle and the second spindle, which can acquire the position information of the first spindle and the second spindle in real time.
[0066] S12. Before operation, control the first spindle and the second spindle of the CNC lathe to move towards each other and obtain the end positions of the first spindle and the second spindle before operation.
[0067] The server first obtains the reference position information when the first spindle and the second spindle are facing each other. Due to the differences in models and sizes of different CNC lathes, during operation, the server first obtains the pre-stored reference positions of the first spindle and the second spindle, and controls the CNC lathe to move the first spindle and the second spindle toward each other under no-load conditions. When they reach the end position, the high-precision sensor sets up to obtain the end position of the first spindle and the second spindle, and sends the end position to the server.
[0068] S13. Compare the endpoint position with the reference position.
[0069] The method provided in this embodiment of the invention compares the three-dimensional coordinates of the endpoint position and the reference position. That is, in the same space, without changing other variables, the three-dimensional coordinates of the endpoint position and the reference position are compared to see if they are the same or coincident.
[0070] S21. When the endpoint position coincides with the reference position, control the first spindle and the second spindle to move towards each other, and obtain the actual moving distance of the first spindle and the second spindle during the operation.
[0071] The server compares the endpoint position with the reference position. When the endpoint position coincides with the reference position, it indicates that the CNC machine tool does not require adjustment and can be used normally. When the endpoint position does not coincide with the reference position, it indicates that the CNC machine tool needs to be calibrated. Further, the comparison of the reference position and the endpoint position in this embodiment refers to comparing the coordinates of the reference position and the endpoint position. In this embodiment, the first spindle and the second spindle are placed in a three-dimensional coordinate system. The server obtains the three-dimensional coordinates of the first spindle and the second spindle. When the three-dimensional coordinates of the endpoint position and the reference position completely coincide, it indicates that the CNC machine tool does not need to be calibrated. When one dimension of the three-dimensional coordinates does not coincide, calibration is required.
[0072] In one optional embodiment, when the endpoint position does not coincide with the reference position, the difference between the endpoint position and the reference position is obtained, and the first spindle and the second spindle are adjusted to be aligned based on the difference between the endpoint position and the reference position.
[0073] S22. Obtain the current position coordinates of the workpiece to be processed during the operation.
[0074] It is understandable that when the three-dimensional coordinates of the endpoint position coincide with or are the same as the reference position, it indicates that the mechanical structure of the CNC machine tool has not changed and it can operate normally. At this time, the controller controls the first spindle and the second spindle to move to the required position to receive and process the workpiece. When the first spindle and the second spindle move to the required position, the high-precision sensor sets up to obtain the current position coordinates of the first spindle and the second spindle. These position coordinates are three-dimensional position coordinates.
[0075] S23. Compare the actual moving distances of the first and second spindles with the current position coordinates of the workpiece to be processed to obtain the comparison difference.
[0076] Understandably, after obtaining the current position coordinates of the workpiece, the server sends a command to the controller based on this information. The controller then controls the first and second spindles to move to preset positions to approach the workpiece. If the first and second spindles do not malfunction or experience mechanical errors, the actual distance they move should match the current position coordinates of the workpiece given by the sensor. However, if the CNC machine tool malfunctions, or if the first and second spindles experience other mechanical failures or errors due to other reasons, the actual distance they move will differ from the current position coordinates of the workpiece.
[0077] Furthermore, the actual movement distance of the first spindle and the second spindle includes the lateral movement distance and the longitudinal movement distance. During comparison, a two-dimensional coordinate is formed by projecting the lateral movement distance and the longitudinal movement distance of the first spindle and the second spindle onto the horizontal plane. This two-dimensional coordinate is then compared with the two-dimensional coordinate formed by projecting the current position of the workpiece onto the horizontal plane.
[0078] S24. Control the movement of the first and second spindles according to the comparison difference until the comparison difference is zero.
[0079] It is understandable that if there is a difference between the actual moving distance of the first and second spindles and the current position coordinates of the workpiece, it indicates an error in the CNC machine tool and a mechanical error in the first and second spindles. If this error is not corrected or compensated, it will lead to low machining accuracy. This embodiment of the invention corrects and moves the first and second spindles by comparing the difference until the difference is zero. In this way, the problem of low machining accuracy is solved at its source.
[0080] In an optional embodiment, the method further includes a thermal compensation step S3 during the operation:
[0081] S31. Obtain the current positions of the first and second spindles in the job.
[0082] S32. Compare the current position and reference position of the first and second spindles during the operation.
[0083] S33. Adjust the cutting tool of the CNC lathe according to the difference between the current position and the reference position.
[0084] It is understandable that CNC machine tools generate heat during use, and due to thermal expansion and contraction, errors may occur in the movement of the first and second spindles. Therefore, this embodiment of the invention compensates for the errors caused by heat during the use of the CNC machine tool.
[0085] Furthermore, the first and second spindles will generate heat and cause errors after operation. Therefore, the sensor acquires the current position of the first and second spindles in real time during operation and compares the current position of the first and second spindles with the reference position. When there is an error between the current position of the first and second spindles and the reference position during operation, it indicates that the CNC machine tool has caused an error due to heat. The first and second spindles need to be adjusted to compensate for the error caused by heat.
[0086] In an optional embodiment, the method further includes:
[0087] Acquire the first temperature and first time of the first and second spindles when they are in the reference position before the operation;
[0088] S31 includes: acquiring the second temperature and second time when the first spindle and the second spindle are in their current positions during the operation;
[0089] The temperature difference is obtained based on the first temperature and the second temperature;
[0090] A coordinate system is established based on the first temperature, the second temperature, the first time, and the second time to obtain the linear relationship between temperature and time.
[0091] The temperature rise characteristics of CNC machine tools at different temperatures and times were determined based on the linear relationship between temperature and time.
[0092] The correction parameters are determined based on the temperature rise characteristics, and the cutting tools of the CNC machine tool are adjusted according to the correction parameters at different temperatures and times during operation.
[0093] It should be noted that the temperature rise of CNC machine tools is not abrupt, but a gradual increase over a period of time. Therefore, by acquiring the first temperature and first time of the first and second spindles at the reference position in real time as reference temperature and time points, and continuously acquiring the second temperature and second time of the first and second spindles at the current position during operation, the temperature difference is obtained from the first and second temperatures. Based on the first temperature, second temperature, first time, and second time, a coordinate system is established to obtain the linear relationship between temperature and time. That is, the temperature change trend of the CNC machine tool over time can be seen through this linear relationship.
[0094] In one optional embodiment, determining the temperature rise characteristics of a CNC machine tool at different temperatures and times based on the linear relationship between temperature and time includes:
[0095] Obtain the displacements of the first and second spindles under different temperatures and times during the operation;
[0096] The linear relationship between temperature, time, and displacement is obtained based on temperature, time, and displacement.
[0097] The correction parameters for CNC machine tools at different temperatures and times are determined based on the linear relationship between temperature, time, and displacement.
[0098] Understandably, changes in the temperature of a CNC machine tool will ultimately be reflected in the moving positions of the first and second spindles, and due to these temperature variations, their moving positions will differ. Furthermore, as time progresses, the temperature eventually stabilizes, meaning the moving positions of the first and second spindles also tend to stabilize. In other words, over a period of time, as the temperature continuously rises, the changes in the moving positions of the first and second spindles also increase. However, once the temperature reaches a critical point, it stops rising, and the changes in the moving positions of the first and second spindles cease to increase.
[0099] Therefore, this embodiment of the invention obtains the displacements of the first spindle and the second spindle at different temperatures and times during operation, and obtains the linear relationship between temperature, time and displacement based on temperature, time and displacement amount; and determines the correction parameters of the CNC machine tool at different temperatures and times based on the linear relationship between temperature, time and displacement.
[0100] In an optional embodiment, the method further includes:
[0101] Get the current positions of the first and second spindles in the job;
[0102] Compare the current position with the reference position;
[0103] The difference between the current position and the reference position is the change in the lead screw of the first spindle and the second spindle;
[0104] Get the current position of the CNC lathe tool;
[0105] Obtain the proportional relationship between the current position of the CNC lathe tool and the change in the lead screw;
[0106] The CNC lathe tool is moved to the standard position according to the proportional relationship.
[0107] It is understandable that the movement of the first and second spindles of the CNC tool is mainly achieved by the rotation of the lead screw. When the lead screw has a rotation error due to heat, it will cause the movement deviation of the first and second spindles. Therefore, this embodiment of the invention compares the current position of the first and second spindles with the reference position during operation, and determines the change in the lead screw by the difference between the two. That is, the lead screw has an error due to heat loss, and this error is reflected in the above-mentioned change. Then, by determining the proportional relationship between the change in the lead screw and the current position of the CNC lathe tool, the movement of the CNC lathe tool is controlled to compensate for the error caused by the change in the lead screw.
[0108] In one optional embodiment, controlling the CNC lathe tool to move to a standard position according to a proportional relationship includes:
[0109] Obtain the difference between the current position and the standard position of the CNC lathe tool;
[0110] The CNC lathe tool is moved to the standard position based on the difference between its current position and the standard position, and the change in the lead screw.
[0111] Further, please see Figure 4 , Figure 4 In the diagram, the horizontal axis represents the CNC lathe tool, and T1, T2, T3, and T4 are tool position numbers. Taking tool position T1 as an example, the CNC lathe tool actually needs to move to the position of -100.000mm (theoretical position), which is the standard position. Due to the influence of thermal expansion, it will actually move to -100.001mm (uncompensated position), which is 0.001mm more. In order to move the machine tool to the required position, the CNC algorithm reduces the movement of the machine tool by 0.001mm. The machine tool only needs to move to -99.999mm (compensated position) according to the compensated coordinates.
[0112] In one optional embodiment, the dual-spindle CNC machine tool is equipped with a position acquisition device at a preset position on the first spindle and the second spindle.
[0113] This invention uses a position sensor to acquire the positions of the first spindle, the second spindle, and the workpiece to be processed. This position sensor has a repeatability of 0.0005 mm, an IP67 waterproof rating, is much cheaper than a linear encoder, and is less sensitive to installation precision and environmental conditions.
[0114] In one optional embodiment, a temperature acquisition device is provided at a preset position on the first spindle and the second spindle of the dual-spindle CNC machine tool.
[0115] On the one hand, a compensation system for the docking accuracy and heating / cooling of a dual-spindle CNC lathe is also provided. The system uses any of the methods shown above to compensate for the docking accuracy and heating / cooling of the dual-spindle CNC lathe.
[0116] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for compensating for docking accuracy and hot / cold mechanical operation in a dual-spindle CNC lathe, characterized in that, The method includes: a calibration step before operation and a mechanical wear compensation step during operation. The calibration steps before operation include: obtaining the reference position when the first spindle and the second spindle of the CNC lathe are aligned; Before operation, the first spindle and the second spindle of the CNC lathe are controlled to move towards each other to obtain the end positions of the first spindle and the second spindle before operation. Compare the endpoint position with the reference position; The mechanical wear compensation steps during operation include: when the endpoint position coincides with the reference position, the operation is performed, the first spindle and the second spindle are controlled to move towards each other, and the actual moving distance of the first spindle and the second spindle during the operation is obtained; Obtain the current position coordinates of the workpiece to be processed during the operation; The actual moving distances of the first and second spindles are compared with the current position coordinates of the workpiece to be processed to obtain the comparison difference. The first and second spindles are moved according to the comparison difference until the comparison difference is zero. The actual moving distance of the first spindle and the second spindle includes the lateral moving distance and the longitudinal moving distance. When comparing, the two-dimensional coordinates are formed by projecting the lateral moving distance and the longitudinal moving distance of the first spindle and the second spindle onto the horizontal plane. The two-dimensional coordinates are then compared with the two-dimensional coordinates formed by projecting the current position of the workpiece onto the horizontal plane. The method also includes a heat loss compensation step during operation; Get the current positions of the first and second spindles in the job; Compare the current positions of the first and second spindles in the operation with the reference position; The cutting tool of the CNC lathe is adjusted according to the difference between the current position and the reference position; The heat loss compensation step in the operation also includes: Acquire the first temperature and first time of the first and second spindles when they are in the reference position before the operation; The acquisition of the current positions of the first and second spindles in the job includes: Obtain the second temperature and second time of the first and second spindles at their current positions during the operation; The temperature difference is obtained based on the first temperature and the second temperature; A coordinate system is established based on the first temperature, the second temperature, the first time, and the second time to obtain the linear relationship between temperature and time. The temperature rise characteristics of CNC machine tools at different temperatures and times are determined based on the linear relationship between temperature and time. Based on the temperature rise characteristics, correction parameters are determined, and the cutting tools of the CNC machine tool under different temperatures and times during operation are adjusted according to the correction parameters. The temperature rise characteristics of CNC machine tools at different temperatures and times are determined based on the linear relationship between temperature and time, including: Obtain the displacements of the first and second spindles under different temperatures and times during the operation; The linear relationship between temperature, time, and displacement is obtained based on temperature, time, and displacement. The correction parameters for CNC machine tools at different temperatures and times are determined based on the linear relationship between temperature, time, and displacement.
2. The method for compensating for docking accuracy and hot / cold mechanical operation of a dual-spindle CNC lathe according to claim 1, characterized in that, When the endpoint position does not coincide with the reference position, the difference between the endpoint position and the reference position is obtained, and the first spindle and the second spindle are adjusted to be aligned according to the difference between the endpoint position and the reference position.
3. The method for compensating for docking accuracy and hot / cold mechanical operation in a dual-spindle CNC lathe according to claim 1, characterized in that, The method further includes: Obtain the current position of the first spindle and the second spindle during the operation; compare the current position with the reference position; the difference between the current position and the reference position is the lead screw change of the first spindle and the second spindle; obtain the current position of the CNC lathe tool; obtain the proportional relationship between the current position of the CNC lathe tool and the lead screw change. The CNC lathe tool is moved to a standard position according to the stated proportional relationship.
4. The method for compensating for docking accuracy and hot / cold mechanical operation of a dual-spindle CNC lathe according to claim 3, characterized in that, Controlling the CNC lathe tool to move to a standard position according to the stated proportional relationship includes: Obtain the difference between the current position and the standard position of the CNC lathe tool; The CNC lathe tool is moved to the standard position based on the difference between its current position and the standard position, and the change in the lead screw.
5. The method for compensating for docking accuracy and hot / cold mechanical operation of a dual-spindle CNC lathe according to claim 1, characterized in that, The dual-spindle CNC lathe is equipped with position acquisition devices at preset positions of the first spindle and the second spindle.
6. The method for compensating for docking accuracy and hot / cold mechanical operation of a dual-spindle CNC lathe according to claim 1, characterized in that, The dual-spindle CNC lathe is equipped with temperature acquisition devices at preset positions on the first spindle and the second spindle.
7. A compensation system for docking accuracy and thermal cycling of a dual-spindle CNC lathe, characterized in that, The system uses any of the compensation methods shown in claims 1-6 to compensate for the docking accuracy and hot / cold mechanical properties of the dual-spindle CNC lathe.