Search

CN-116442008-B - Compensation method and system for butt joint precision and cold and hot machine of double-spindle numerical control lathe

CN116442008BCN 116442008 BCN116442008 BCN 116442008BCN-116442008-B

Abstract

The invention provides a compensation method and a compensation system for butt joint precision and a cooling machine and a heating machine of a double-spindle numerical control lathe, which belong to the technical field of numerical control lathes and comprise the steps of obtaining a reference position when a first spindle and a second spindle of the numerical control lathe are aligned, controlling the first spindle to move towards each other before operation and obtaining an end point position of the first spindle and the second spindle before operation, comparing the end point position with the reference position, controlling the first spindle to move towards each other when the end point position coincides with the reference position and obtaining an actual moving distance of the first spindle and the second spindle during operation, obtaining a current position coordinate of a workpiece to be processed during operation, comparing the actual moving distance of the first spindle and the second spindle with the current position coordinate of the workpiece to be processed, and controlling the first spindle and the second spindle to move until a comparison difference value is zero according to the comparison difference value. The invention compensates the situation that the main shaft cannot be aligned due to the problem of the numerical control frame, so that the machining precision of the numerical control machine tool is higher.

Inventors

  • JIANG SHAOFEI
  • CHEN SHENGJIE
  • Chen Zuju

Assignees

  • 浙江品上智能科技有限公司

Dates

Publication Date
20260512
Application Date
20230519

Claims (7)

  1. 1. A compensation method for the butt joint precision and the cooling and heating machine of a double-spindle numerical control lathe is characterized by comprising a correction step before operation and a mechanical loss compensation step during operation; The correction step before operation comprises the steps of obtaining a reference position of a first main shaft and a second main shaft of a numerical control lathe when the first main shaft and the second main shaft are aligned; Before operation, controlling the first main shaft and the second main shaft of the numerical control lathe to move oppositely, and acquiring the end positions of the first main shaft and the second main shaft before operation; Comparing the end position with the reference position; When the end position coincides with the reference position, controlling the first main shaft and the second main shaft to move oppositely, and obtaining the actual moving distance of the first main shaft and the second main shaft during operation; acquiring the current position coordinates of a workpiece to be processed during operation; Comparing the actual moving distance of the first main shaft and the second main shaft with the current position coordinates of the workpiece to be processed to obtain a comparison difference value; Controlling the first spindle and the second spindle to move according to the comparison difference until the comparison difference is zero; The actual moving distance of the first spindle and the second spindle comprises a transverse moving distance and a longitudinal moving distance, when the two-dimensional coordinates are formed by the projection of the transverse moving distance and the longitudinal moving distance of the first spindle and the second spindle on a horizontal plane, and the two-dimensional coordinates are compared with the two-dimensional coordinates formed by the projection of the current position of the workpiece to be processed on the horizontal plane; the method further comprises a heat loss compensation step in operation; acquiring the current positions of a first main shaft and a second main shaft in operation; comparing the current positions of the first main shaft and the second main shaft in the operation with the reference position; Adjusting a cutter of the numerical control lathe according to the difference value between the current position and the reference position; the heat loss compensation step in the operation further comprises: Acquiring a first temperature and a first time when a first main shaft and a second main shaft are at a reference position before operation; the obtaining the current positions of the first spindle and the second spindle in the operation includes: acquiring a second temperature and a second time when the first spindle and the second spindle are at the current position in the operation; obtaining a temperature difference according to the first temperature and the second temperature; establishing a coordinate system according to the first temperature, the second temperature, the first time and the second time to obtain a linear relation between the temperature and the time; Determining the temperature rise characteristics of the numerical control machine tool at different temperatures and different times according to the linear relation between the temperatures and the time; Determining correction parameters according to the temperature rise characteristics, and adjusting cutters of the numerical control machine tool at different temperatures and different times in operation according to the correction parameters; Determining temperature rise characteristics of the numerical control machine tool at different temperatures and different times according to the linear relation between the temperatures and the time, wherein the temperature rise characteristics comprise: Obtaining the displacement of a first main shaft and a second main shaft at different temperatures and different times in the operation; obtaining a linear relation between the temperature, the time and the displacement according to the temperature, the time and the displacement; and determining the correction parameters of the numerical control machine tool at different temperatures and different times according to the linear relation of the temperature, the time and the displacement.
  2. 2. The method for compensating for the butt joint precision and the cooling and heating machine of the double-spindle numerically controlled lathe according to claim 1, wherein when the end position does not coincide with the reference position, a difference value between the end position and the reference position is obtained, and the first spindle is adjusted to be opposite to the second spindle according to the difference value between the end position and the reference position.
  3. 3. The method for compensating for the butt joint precision and the cooling and heating machine of the double-spindle numerically controlled lathe according to claim 1, wherein the method further comprises: The method comprises the steps of obtaining the current positions of a first main shaft and a second main shaft in operation, comparing the current positions with the reference positions, wherein the difference value between the current positions and the reference positions is the change amount of a screw rod of the first main shaft and the second main shaft; and controlling the numerical control lathe tool to move to a standard position according to the proportional relation.
  4. 4. The method for compensating for the butt joint precision and the cooling and heating machine of the double-spindle numerically controlled lathe according to claim 3, wherein controlling the numerically controlled lathe tool to move to a standard position according to the proportional relation comprises: obtaining a difference value between the current position and the standard position of the numerical control lathe tool; And controlling the numerical control lathe tool to move to the standard position according to the difference value between the current position and the standard position of the numerical control lathe tool and the change amount of the screw rod.
  5. 5. The method for compensating for the butt joint precision and the cooling and heating machine of the double-spindle numerical control lathe according to claim 1, wherein the double-spindle numerical control lathe is provided with a position acquisition device at preset positions of the first spindle and the second spindle.
  6. 6. The method for compensating for the butt joint precision and the cooling and heating machine of the double-spindle numerical control lathe according to claim 1, wherein the double-spindle numerical control lathe is provided with a temperature acquisition device at preset positions of the first spindle and the second spindle.
  7. 7. A compensation system for the butt joint precision and the cold and hot machines of a double-spindle numerical control lathe is characterized in that the system adopts the compensation method as shown in any one of claims 1-6 to compensate the butt joint precision and the cold and hot machines of the double-spindle numerical control lathe.

Description

Compensation method and system for butt joint precision and cold and hot machine of double-spindle numerical control lathe Technical Field The invention belongs to the technical field of numerically controlled lathes, and particularly relates to a method and a system for compensating butt joint precision and a cooling machine and a heating machine of a double-spindle numerically controlled lathe. Background Along with the increasingly obvious advantages of the double-spindle numerical control lathe, the terminal customer has increasingly higher acceptance degree of the double-spindle numerical control lathe, so that all precision indexes of the double-spindle numerical control lathe are also increasingly more and more strict, particularly when a gang tool is used, the moving distance of the spindle is extremely large, so that the tool can be discharged in a plurality of rows, the mechanical precision becomes relatively difficult to control after the stroke is long, the phenomenon of cold and hot machines is obvious, the machining dimension of a product is unstable, the non-concentricity of the two spindles in butt joint is caused, the jumping of two ends of the product is poor, and the service life of the spindle of the machine tool is influenced. The related technology provides a method for separating thermal errors from machine tool positioning errors, which comprises 1) selecting heat-sensitive measuring points in a machine tool transmission system and monitoring temperature changes of the heat-sensitive measuring points to measure positioning errors of the heat-sensitive measuring points, 2) starting from a cold state, circularly measuring the positioning errors back and forth and recording temperature values of the heat-sensitive measuring points until the transmission system reaches a heat balance state, namely that temperature rise changes of the heat-sensitive measuring points tend to 0 or are approximately equal to 0;3), removing tiny errors under the same test condition from front heat-sensitive measuring point positioning deviation data and rear heat-sensitive measuring point positioning deviation data of the same part of each cycle to obtain residual errors, and 4) subtracting values under the cold state from residual error average values corresponding to different measurement cycles to obtain thermal errors of the transmission system under different temperature rise states through separation. However, the method is that the temperature change is obtained, then the error size is determined according to the temperature change, then the thermal error of the transmission system in different temperature rising states is obtained, a scheme for changing the thermal error to cause large cutting error is not made according to the thermal error, and in practice, the thermal error exists due to temperature rising, so that the cutting machining precision is low. Disclosure of Invention The invention aims to solve the technical problem of providing a compensation method and a system for the butt joint precision and the cooling and heating machine of a double-spindle numerical control lathe so as to solve the problem in the background technology. In order to solve the technical problems, the invention provides the following technical scheme: On one hand, the method comprises a correction step before operation and a mechanical loss compensation step during operation; The correction step before operation comprises the steps of obtaining a reference position of a first main shaft and a second main shaft of a numerical control lathe when the first main shaft and the second main shaft are aligned; Before operation, controlling the first main shaft and the second main shaft of the numerical control lathe to move oppositely, and acquiring the end positions of the first main shaft and the second main shaft before operation; Comparing the end position with the reference position; When the end position coincides with the reference position, controlling the first main shaft and the second main shaft to move oppositely, and obtaining the actual moving distance of the first main shaft and the second main shaft during operation; acquiring the current position coordinates of a workpiece to be processed during operation; Comparing the actual moving distance of the first main shaft and the second main shaft with the current position coordinates of the workpiece to be processed to obtain a comparison difference value; and controlling the first spindle and the second spindle to move according to the comparison difference until the comparison difference is zero. In an alternative embodiment, the method further comprises the step of compensating for heat loss during operation: acquiring the current positions of a first main shaft and a second main shaft in operation; comparing the current positions of the first main shaft and the second main shaft in the operation with the reference position; And adjusting a cutter of the numeri