Workpiece origin compensation method for double-spindle machine tool based on on-machine measurement technology

By automatically calculating the workpiece origin compensation value using machine measurement technology, the problem of complex operation of dual-spindle machine tools is solved, achieving efficient and accurate workpiece position compensation, simplifying the operation process, and improving processing efficiency and accuracy.

CN116441998BActive Publication Date: 2026-03-31西安精雕软件科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-06
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing methods for workpiece origin compensation in dual-spindle machine tools involve high levels of manual intervention and are complex to operate, which affects processing efficiency and makes it difficult to achieve efficient compensation of local features.

Method used

By employing an on-machine measurement technology, the workpiece origin compensation value is automatically calculated. By selecting geometric elements and creating measurement points, automatic storage and calculation are achieved, simplifying the operation process and reducing manual intervention.

Benefits of technology

It improves the efficiency and accuracy of workpiece origin compensation in dual-spindle machine tools, reduces the difficulty of operation, supports overall or partial position alignment, and improves machine tool utilization and machining accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116441998B_ABST
    Figure CN116441998B_ABST
Patent Text Reader

Abstract

The workpiece origin compensation method based on on-machine measurement technology of double-spindle machine tool comprises the following steps: step 1), selecting a geometric element to create a measurement point; step 2), determining the number of workpiece origins to be compensated and determining the reference graphic type; step 3), calculating the offset amount of the geometric element center theoretical position and the workpiece origin theoretical position; step 4), obtaining the measurement point data of the workpiece corresponding to the Z spindle and the W spindle, and calculating the actual position data; step 5), calculating the workpiece origin compensation value; step 6), compensating the actual value of the workpiece origin; and step 7), importing the machine tool control system. The workpiece origin compensation of the double-spindle machine tool is similar to that of the single-spindle machine tool, the overall position alignment or multiple local position alignment of the workpiece of the double-spindle machine tool can be realized, the application difficulty of the workpiece origin compensation of the double-spindle machine tool is reduced, and the machining efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of machining and relates to on-machine measurement technology for dual-spindle machine tools, specifically a workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology. Background Technology

[0002] In the machining industry, using datum features to compensate for the workpiece origin before machining can achieve overall or partial workpiece positioning, ensuring high-standard machining accuracy. Twin-spindle machine tools also have this application requirement.

[0003] A twin-spindle machine tool has two spindles and two tool magazines, enabling it to process two workpieces simultaneously. Its most significant characteristic is its high processing efficiency. The structural features of a twin-spindle machine tool are that when the two spindles move simultaneously, their X and Y axis positioning is identical, while the Z axis positioning is allowed to differ. The two spindles operate in a step-like contour-following motion.

[0004] In-machine measurement technology is a technique for automatically detecting the quality of machined workpieces on machine tools. It can perform real-time measurement and compensation of the machined workpiece to improve processing efficiency, reduce error accumulation, and improve processing quality.

[0005] The existing method for workpiece origin compensation in dual-spindle machine tools is as follows:

[0006] (1) Position alignment of the Z-spindle workpiece and the W-spindle workpiece at different workpiece origins;

[0007] (2) Calculate the alignment results to determine the compensation values ​​for each direction of the workpiece origin;

[0008] (3) Update the compensation value to the same workpiece origin to achieve the purpose of compensating the Z spindle and W spindle.

[0009] Existing methods for workpiece origin compensation on dual-spindle machine tools involve high levels of manual intervention, require highly skilled operators, are inefficient, prone to errors, and are more suitable for overall workpiece origin alignment before machining. If repeated alignment of multiple local features is required during machining, existing methods become more complex and require machining interruptions, resulting in cumbersome and difficult processes that severely impact machining efficiency. Summary of the Invention

[0010] The purpose of this invention is to address the problems in the prior art by providing a workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology. Through simple interactive operation and a user experience identical to that of a single-spindle machine tool, it achieves overall or partial workpiece position alignment on dual-spindle machine tools. It automatically calculates theoretical data for the geometric elements used to compensate for the workpiece origin; automatically calculates the positional relationship between the center of the geometric elements and the workpiece origin; automatically performs dual-spindle detection and data storage and calculation; and automatically performs workpiece origin compensation, applying it to subsequent measurement or machining paths. This eliminates the need for manual on-machine alignment, reduces alignment time, lowers the operational and comprehension difficulty of workpiece origin compensation on dual-spindle machine tools, and improves machine tool utilization.

[0011] The technical solution adopted by this invention to solve its technical problem is:

[0012] The workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology includes the following steps:

[0013] Step 1): Select the geometric elements for workpiece origin compensation on the workpiece CAD model, and create measurement points at appropriate locations on the geometric elements; the number of measurement points is... n The measurement point is marked as ;

[0014] Step 2): Determine the origin number of the workpiece to be compensated, and determine the reference graphic type used to calculate the center of the geometric elements; the reference graphic types include rectangle, circle, polyline, and rectangular feature edge;

[0015] Step 3): Calculate the offset between the theoretical position of the geometric element center and the theoretical position of the workpiece origin using the created measurement points. The offset is denoted as... , , ;

[0016] Step 4): Use in-machine measurement technology to obtain the measurement point data of the workpieces corresponding to the Z-spindle and W-spindle, and use this data to calculate the actual position data of the centers of geometric elements on the Z-spindle and W-spindle workpieces; the actual position data is denoted as... , , , , , ;

[0017] Step 5): Calculate the workpiece origin compensation value; the origin compensation value is denoted as... , , , ;

[0018] Step 6): Compensate for the actual value of the workpiece origin; the actual value of the origin is denoted as... , , , ;

[0019] Step 7): Import into the machine tool control system.

[0020] The present invention also has the following additional technical features:

[0021] As a further specific optimization of the technical solution of the present invention: In step 1), the workpiece CAD model and workpiece origin number used in dual-spindle machining are the same, so only one workpiece CAD model and workpiece origin number are needed. The process of selecting geometric elements and creating measurement points can be regarded as a single spindle, and its theoretical data is applied to both the Z spindle and the W spindle.

[0022] As a further specific optimization of the technical solution of the present invention: in step 1), the geometric elements selected for workpiece origin compensation include surfaces, rectangles, circles, and lines.

[0023] As a further specific optimization of the technical solution of the present invention: In step 1), when creating measurement points, the direction of the measurement points includes the direction of the origin of the workpiece to be compensated. Compensation cannot be performed in the direction where the measurement points are missing. The number of measurement points meets the minimum requirement for calculating the center value of geometric elements; for example, a rectangle needs at least 4 points and a circle needs at least 3 points.

[0024] As a further specific optimization of the technical solution of the present invention: in step 2), the workpiece origin to be compensated is any one of G54-G59, and the workpiece origin number used by the Z spindle and the W spindle is the same.

[0025] As a further specific optimization of the technical solution of the present invention: In step 2), the reference graphic type is used to match the algorithm type, wherein the reference graphic type for calculating the center X / Y of the geometric element includes rectangle, circle, polyline, and rectangular feature edge, and the reference graphic for calculating the center Z of the geometric element is a plane by default, and the algorithms for calculating the center are different for different reference graphics.

[0026] As a further specific optimization of the technical solution of the present invention: in step 3), the process for calculating the deviation is as follows:

[0027] 1) First, calculate the theoretical position data of the center of the geometric element based on the measurement point data and the reference graphic type: , , For example, if the reference figure for the center of a geometric element in the Z direction is a plane, then... ;

[0028] 2) Then calculate the offset by subtraction. , , .

[0029] As a further specific optimization of the technical solution of the present invention: in step 4), the algorithm for calculating the actual position data of the center of the geometric element is the same as the algorithm for calculating the theoretical position data of the center of the geometric element. The difference is that the measurement point data used in the two methods are, in one case, actual measurement point data, and in the other case, theoretical measurement point data.

[0030] As a further specific optimization of the technical solution of the present invention: In step 5), due to the structural characteristics of the dual-spindle machine tool, its X-axis and Y-axis positioning are completely consistent, while the Z-axis positioning is allowed to have differences. The running trajectories of the Z-spindle and W-spindle are similar to the step-shaped contour running trajectory, with differences only in the Z-axis. Therefore, the calculation formulas for the compensation values ​​of the workpiece origin are as follows: , , , .

[0031] As a further specific optimization of the technical solution of the present invention: In step 6), the method for compensating the workpiece origin is to update the actual workpiece origin value with the sum of the actual workpiece origin value and the compensation value, and the specific formula is as follows: , , , .

[0032] Compared with the prior art, the advantages of this invention are:

[0033] Advantage 1: This invention provides a simple interactive method for determining the geometric elements and measurement points used for workpiece origin compensation, making workpiece origin compensation on dual-spindle machine tools as simple as on single-spindle machine tools. Simultaneously, by using in-machine measurement technology, machine tool operation is uninterrupted, improving machine tool utilization, measurement data accuracy, origin compensation efficiency, and reducing manual intervention.

[0034] Advantage 2: The workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology provided by this invention realizes automatic calculation of theoretical values ​​for compensation, automatic storage and management of measurement points of dual spindles, automatic calculation of compensation values ​​of dual spindles, and automatic compensation, thereby improving the accuracy and efficiency of compensation results and reducing the difficulty of understanding and operation.

[0035] Advantage 3: The workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology provided by this invention can support overall position alignment or multiple local position alignment of workpieces on dual-spindle machine tools, thereby increasing the application range of alignment and improving the machining accuracy of workpieces.

[0036] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a flowchart of the workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology according to the present invention;

[0039] Figure 2 Create a schematic diagram of measurement points on the geometric elements of the workpiece's CAD model;

[0040] Figure 3 A schematic diagram of the settings interface related to workpiece origin compensation calculation;

[0041] Figure 4 A schematic diagram of the interface for measuring the path and the nodes of the path to be compensated;

[0042] Figure 5 The flowchart for implementing the post-processing NC program. Detailed Implementation

[0043] Exemplary embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. These embodiments are intended to provide a more thorough understanding of the invention and to fully convey the scope of the invention to those skilled in the art. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention is not limited to the embodiments set forth herein.

[0044] The workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology includes the following steps:

[0045] Step 1): Select the geometric elements for workpiece origin compensation on the workpiece CAD model, and create measurement points at appropriate locations on the geometric elements; the number of measurement points is... n The measurement point is marked as ;

[0046] Step 2): Determine the origin number of the workpiece to be compensated, and determine the reference graphic type used to calculate the center of the geometric elements; the reference graphic types include rectangle, circle, polyline, and rectangular feature edge;

[0047] Step 3): Calculate the offset between the theoretical position of the geometric element center and the theoretical position of the workpiece origin using the created measurement points. The offset is denoted as... , , ;

[0048] Step 4): Use in-machine measurement technology to obtain the measurement point data of the workpieces corresponding to the Z-spindle and W-spindle, and use this data to calculate the actual position data of the centers of geometric elements on the Z-spindle and W-spindle workpieces; the actual position data is denoted as... , , , , , ;

[0049] Step 5): Calculate the workpiece origin compensation value; the origin compensation value is denoted as... , , , ;

[0050] Step 6): Compensate for the actual value of the workpiece origin; the actual value of the origin is denoted as... , , , ;

[0051] Step 7): Import into the machine tool control system.

[0052] Example 1

[0053] The workpiece origin compensation method for dual-spindle machine tools based on on-machine measurement technology includes the following steps:

[0054] Step 1): See Figure 2 Select the geometric elements for workpiece origin compensation on the workpiece CAD model and create measurement points at appropriate locations of the geometric elements.

[0055] The number of measurement points is n , ;

[0056] Select the geometric elements to compensate for the workpiece origin in the X / Y direction and create measurement points; the geometric elements selected for workpiece origin compensation include surfaces, rectangles, circles, and lines.

[0057] Select the plane to compensate for the workpiece origin in the Z direction, and create measurement points on the plane. When creating measurement points, the direction of the measurement points includes the direction of the workpiece origin to be compensated. Compensation cannot be performed in directions where measurement points are missing. The number of measurement points must meet the minimum requirements for calculating the center value of geometric elements; for example, a rectangle requires at least 4 points, and a circle requires at least 3 points.

[0058] The workpiece CAD model and workpiece origin number are the same for dual-spindle machining, so only one workpiece CAD model and workpiece origin number are needed. The process of selecting geometric elements and creating measurement points can be regarded as single-spindle machining, and its theoretical data applies to both the Z-spindle and W-spindle simultaneously.

[0059] Step 2): See Figure 3 Determine the origin number of the workpiece to be compensated, determine the reference graphic type used to calculate the center of the geometric element: rectangle, circle, polyline, or rectangular feature edge, determine the origin number of the workpiece to be compensated, and determine the origin direction of the workpiece to be compensated.

[0060] The workpiece origin number to be compensated is any one of G54-G59, and the workpiece origin number used by the Z spindle and W spindle is the same.

[0061] The reference graphic type is used to match the algorithm type. The reference graphic type for calculating the X / Y center of the geometric element includes rectangle, circle, polyline, and rectangular feature edge. The reference graphic for calculating the Z direction of the geometric element is a plane by default. Different algorithms are used to calculate the center for different reference graphics.

[0062] Step 3): See Figure 4 The offset between the theoretical position of the geometric element center and the theoretical position of the workpiece origin is calculated internally using the created measurement points. , , The process of generating a measurement path to compensate for the workpiece origin is as follows: 1) First, calculate the theoretical position data of the center position of the geometric element based on the measurement point data and the reference graphic type: , , For example, if the reference figure for the center of the geometric element in the Z direction is a plane, and the plane uses the mean value algorithm, then... 2) Then calculate the offset by subtraction. , , .

[0063] Step 4): See Figure 5 Output the measurement path and generate an NC file.

[0064] 1) In the NC file, in-machine measurement technology is used to detect and control the machine tool motion, and obtain the measurement point data of the workpiece corresponding to the Z-spindle and W-spindle;

[0065] 2) In-machine measurement technology is used to obtain the measurement point data of the workpieces corresponding to the Z-spindle and W-spindle, and the actual position data of the geometric element centers on the Z-spindle and W-spindle workpieces are calculated based on this data; the actual position data is denoted as... , , , , , The actual position calculation algorithm and the theoretical position calculation algorithm are the same.

[0066] The algorithm for calculating the actual position data of the center of a geometric element is the same as the algorithm for calculating the theoretical position data of the center of a geometric element. The difference lies in the measurement point data used: one uses actual measurement point data, and the other uses theoretical measurement point data.

[0067] Step 5): Calculate the workpiece origin compensation value; the origin compensation value is denoted as... , , , ;

[0068] Due to the structural characteristics of a dual-spindle machine tool, its X and Y axis positioning is completely consistent, while Z axis positioning is allowed to have differences. The running trajectories of the Z and W spindles are similar to a stepped contour running trajectory, with differences only in the Z axis. Therefore, the calculation formulas for the compensation values ​​of the workpiece origin are as follows: , , , Simultaneously, a foolproof judgment is performed on the compensation value. If the compensation value exceeds a reasonable range, an alarm is triggered and the program is stopped. If the compensation value is within a reasonable range, execution continues.

[0069] Step 6): Compensate for the actual value of the workpiece origin; the actual value of the origin is denoted as... , , , .

[0070] Compensation for the actual value of the workpiece origin: , , , ;

[0071] Finally, there is the implementation of the measurement or processing path to be compensated.

[0072] Step 7): Import into the machine tool control system.

[0073] This invention provides a simple interactive method for determining the geometric elements and measurement points used for workpiece origin compensation. It internally calculates the theoretical values ​​for compensation, automatically stores and manages the measurement points of the dual-spindle system, automatically calculates the compensation values ​​for both spindles, and automatically performs compensation. It supports the alignment of multiple local features on the workpiece, making workpiece origin compensation on dual-spindle machine tools as simple as on single-spindle machine tools. Simultaneously, by using on-machine measurement technology, machine tool operation is uninterrupted, improving machine tool utilization, increasing the accuracy of measurement compensation results, and enhancing processing efficiency.

[0074] The workpiece origin compensation method for dual-spindle machine tools based on in-machine measurement technology provided by this invention can realize automatic alignment of the overall or partial position of the workpiece on a dual-spindle machine tool, making workpiece position origin compensation on a dual-spindle machine tool as simple as that on a single-spindle machine tool, improving alignment speed, reducing the difficulty of understanding, and reducing manual intervention.

[0075] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention have been clearly and completely described above with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0076] Therefore, the above detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

Claims

1. A workpiece origin compensation method for a two-spindle machine tool based on on-machine measurement technology, characterized in that, The method comprises the following steps: Step 1): select the geometric element for workpiece origin compensation on the workpiece CAD model, and create a measurement point at a suitable position of the geometric element; wherein the number of measurement points is n , and the measurement point is marked as ; Step 2): determining the workpiece origin number to be compensated, and determining the reference pattern type used for calculating the geometric element center; the reference pattern type includes a rectangle, a circle, a polyline, and a rectangular feature edge; Step 3): Calculate the offset between the theoretical position of the center of the geometric element and the theoretical position of the workpiece origin through the created measuring points, and the offset is denoted as , , ; Step 4): using on-machine measurement technology to obtain measurement point data of the workpiece corresponding to the Z spindle and the W spindle, and calculating actual position data of the geometric element center on the Z spindle workpiece and the W spindle workpiece; Actual position data is denoted as , , , , , ; Step 5): Calculate the workpiece origin compensation value; the origin compensation value is recorded as , , ; due to the structural characteristics of the double-spindle machine tool, the positioning of X and Y is completely consistent, and the positioning of Z allows for differences, the running track of the Z spindle and the W spindle is similar to a stepped profiling running track, only differences exist in the Z direction, so the workpiece origin compensation value calculation formula is as follows: , , , ; Step 6): Compensate the actual value of the workpiece origin; the actual value of the origin is recorded as , , , ; Step 7): importing the machine tool control system.

2. The method for workpiece origin compensation of double-spindle machine tool based on on-machine measurement technology according to claim 1, characterized in that: In step 1), the workpiece CAD model used for double-spindle machining is the same as the workpiece origin number, so the workpiece CAD model and the workpiece origin number only need one, and the process of selecting geometric elements and creating measurement points can be regarded as single-spindle, and the theoretical data acts on the Z spindle and the W spindle at the same time.

3. The method of workpiece origin compensation for dual-spindle machine tools based on on-machine measurement technology according to claim 1, characterized in that: In step 1), the geometric elements selected for workpiece origin compensation include a face, a rectangle, a circle, and a straight line.

4. The method of workpiece origin compensation for dual-spindle machine tools based on on-machine measurement technology according to claim 1, characterized in that: In step 1), when creating a measurement point, the measurement point direction contains the direction of the workpiece origin to be compensated, and compensation cannot be performed in the direction missing in the measurement point, and the number of measurement points meets the minimum requirement for calculating the geometric element center value.

5. The method for workpiece origin compensation of double-spindle machine tool based on on-machine measurement technology according to claim 1, characterized in that: In step 2), the number of the workpiece origin to be compensated is any one of G54-G59, and the workpiece origin numbers used by the Z spindle and the W spindle are the same.

6. The method of workpiece origin compensation for dual-spindle machine tools based on on-machine measurement technology according to claim 1, characterized in that: In step 2), the reference pattern type is used for matching the algorithm type, wherein the reference pattern type for calculating the X / Y of the geometric element center includes a rectangle, a circle, a polyline, and a rectangular feature edge, and the reference pattern for calculating the Z direction of the geometric element center is a plane by default, and the algorithms for calculating the centers of different reference patterns are different.

7. The method of workpiece origin compensation for dual-spindle machine tools based on on-machine measurement technology according to claim 1, characterized in that: In step 3), the flow of calculating the deviation is: 1) First, calculate the theoretical position data of the center position of the geometric element according to the measured point data and the reference pattern type: , , ; 2) Calculate the offset by differencing , , .

8. The method of workpiece origin compensation for dual-spindle machine tools based on on-machine measurement technology according to claim 1, characterized in that: In step 4), the algorithm for calculating the actual position data of the geometric element center is the same as the algorithm for calculating the theoretical position data of the geometric element center, and the difference lies in the measurement point data used by the two, one is the actual data of the measurement point, and the other is the theoretical data of the measurement point.

9. The method for workpiece origin compensation of double-spindle machine tool based on on-machine measurement technology according to claim 1, characterized in that: In step 6), the method of compensating the workpiece origin is to update the actual workpiece origin value with the sum of the actual workpiece origin value and the compensation value, and the specific formula is: , , , .

Citation Information

Patent Citations

  • Method for setting origin and device therefor

    CN103119526A

  • Measurement point creating method based on on-line measurement technology

    CN106202843A