Method and system for compensating motion error of rotating shaft based on double-vector measurement
The rotation axis angle error is calculated in a multi-axis tool machine through the two-vector measurement method, and the error calibration mold is used to achieve high-precision error compensation, which solves the problem of low accuracy of rotation axis motion error, and improves the machining accuracy of the multi-axis tool machine and Scope of application.
Patent Information
- Application Number
- CN202410667475.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-05-28
AI Technical Summary
In the prior art, the accuracy of the rotation axis motion error is low, which limits the machining accuracy and efficiency of the multi-axis tool machine.
Using the rotation axis motion error compensation method based on dual vector measurement, the reference point is determined on a multi-axis tool, the error calibration mold is designed, and the vector relationship is calculated using the coordinate data of the two calibration points to achieve accurate measurement of the rotation axis angle error and compensate.
It improves the measurement accuracy and efficiency of rotation shaft motion error, and is suitable for multi-axis tooling machines of different models and specifications, significantly improving processing accuracy and product quality.
Smart Images

Figure CN118990129A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-axis rotation error compensation in numerically controlled machine tools, and in particular to a method and system for compensating rotation axis motion errors based on dual-vector measurement. Background Art
[0002] With the widespread application of multi-axis machine tools (such as CNC machine tools, machining centers, etc.) in the manufacturing industry, the requirements for machining accuracy and efficiency are also increasing. During the machining process of multi-axis machine tools, the motion errors of the rotating axes (such as A-axis, B-axis, and C-axis) will directly affect the dimensional accuracy and surface quality of the workpiece. Therefore, how to accurately measure and compensate for the motion errors of these rotating axes has become the key to improving the machining accuracy of multi-axis machine tools.
[0003] Traditional rotation axis motion error compensation methods usually use single vector measurement or direct sensor measurement. However, these methods have certain limitations in terms of measurement accuracy, measurement efficiency, and scope of application. For example, single vector measurement can only provide a single measurement data, and the absolute error obtained based on a single measurement data cannot obtain the accurate rotation axis motion error; while the method based on direct sensor measurement is limited by factors such as the sensor installation position and measurement range. Summary of the invention
[0004] To this end, the technical problem to be solved by the present invention is to overcome the problem of low accuracy of rotation axis motion error in the prior art, and provide a rotation axis motion error compensation method and system based on dual vector measurement, the error compensation method comprising the following steps:
[0005] S1: Determine a fixed reference point on the multi-axis machine tool, and construct an XYZ coordinate system based on the reference point, define the A axis as a rotation axis rotating around the X axis, the B axis as a rotation axis rotating around the Y axis, and the C axis as a rotation axis rotating around the Z axis;
[0006] S2: Design an error calibration mold, the error calibration mold comprising a first calibration column, a second calibration column and a connecting shaft, the first calibration column and the second calibration column are respectively installed on the connecting shaft, and the first calibration column and the second calibration column are arranged at a certain interval along the length direction of the connecting shaft, the first calibration column is provided with a first calibration point, and the second calibration column is provided with a second calibration point;
[0007] S3: using the error calibration mold to perform error compensation on the rotation angles of the A axis, the B axis, and the C axis respectively;
[0008] The method of using the error calibration mold to perform error compensation on the rotation angle of the C-axis includes:
[0009] S31: installing the error calibration mold on the XOY plane of the multi-axis machine tool, acquiring initial coordinate data of a first calibration point and initial coordinate data of a second calibration point, and obtaining a vector A between the first calibration point and the second calibration point based on the initial coordinate data of the two calibration points;
[0010] S32: Control the error calibration mold to rotate by an angle α with the Z axis as the rotation center, obtain the coordinate data of the first calibration point and the coordinate data of the second calibration point after the rotation, and obtain the vector B between the first calibration point and the second calibration point after the rotation based on the coordinate data of the two calibration points;
[0011] S33: Based on the vector A and the vector B, obtain the angle β between the vectors;
[0012] S34: Obtain a relative angle error according to α and β, and use the relative angle error to perform error compensation on the rotation angle of the C-axis.
[0013] In one embodiment of the present invention, the relative angle error err is calculated as follows:
[0014] err=α-β
[0015] Among them, the angle between the vectors
[0016] In one embodiment of the present invention, when error compensation is performed on the rotation angle of the A-axis, the error calibration mold is installed on the YOZ plane of the multi-axis machine tool through the connecting shaft; when error compensation is performed on the rotation angle of the B-axis, the error calibration mold is installed on the XOZ plane of the multi-axis machine tool through the connecting shaft; when error compensation is performed on the rotation angle of the C-axis, the error calibration mold is installed on the XOY plane of the multi-axis machine tool through the connecting shaft.
[0017] In one embodiment of the present invention, the connecting axis extends from the center of the mounting surface of the multi-axis machine tool to the edge thereof.
[0018] In one embodiment of the present invention, a first standard sphere and a second standard sphere are mounted on the first calibration column and the second calibration column, respectively, and the first calibration point and the second calibration point are the centers of the first standard sphere and the second standard sphere, respectively.
[0019] In one embodiment of the present invention, the coordinate data of the first calibration point and the second calibration point are both measured by a contact probe or a non-contact laser sensor installed on a probe of a CNC machine tool.
[0020] In one embodiment of the present invention, the angle β between the vectors is calculated by averaging the coordinate data of the first calibration point and the second calibration point after multiple measurements and rotations.
[0021] Based on the same inventive concept, the present invention also provides a rotation axis motion error compensation system based on dual vector measurement, which is used to implement the rotation axis motion error compensation method based on dual vector measurement, and specifically includes the following modules:
[0022] A coordinate system construction module is used to determine a fixed reference point on the multi-axis machine tool, and based on the reference point, construct an XYZ coordinate system, defining the A axis as a rotation axis rotating around the X axis, the B axis as a rotation axis rotating around the Y axis, and the C axis as a rotation axis rotating around the Z axis;
[0023] An error calibration mold design module is used to design an error calibration mold, wherein the error calibration mold includes a first calibration column, a second calibration column and a connecting shaft, wherein the first calibration column and the second calibration column are respectively installed on the connecting shaft, and the first calibration column and the second calibration column are arranged at a certain interval along the length direction of the connecting shaft, and the first calibration column is provided with a first calibration point, and the second calibration column is provided with a second calibration point;
[0024] A rotation axis motion error compensation module is used to use the error calibration mold to perform error compensation on the rotation angles of the A axis, the B axis, and the C axis respectively;
[0025] The method of using the error calibration mold to perform error compensation on the rotation angle of the C-axis includes:
[0026] The error calibration mold is mounted on the XOY plane of the multi-axis machine tool, initial coordinate data of a first calibration point and initial coordinate data of a second calibration point are obtained, and a vector A between the first calibration point and the second calibration point is obtained based on the initial coordinate data of the two calibration points;
[0027] Control the error calibration mold to rotate by an angle α with the Z axis as the rotation center, obtain coordinate data of the first calibration point and coordinate data of the second calibration point after the rotation, and obtain a vector B between the first calibration point and the second calibration point after the rotation based on the coordinate data of the two calibration points;
[0028] Based on vector A and vector B, the angle β between the vectors is obtained;
[0029] According to α and β, a relative angle error is obtained, and the rotation angle of the C-axis is compensated with the relative angle error.
[0030] The present invention also provides a numerically controlled machine tool, including a control system, in which the rotary axis motion error compensation system based on dual-vector measurement is integrated, and the error compensation system is used for real-time online monitoring and angle error compensation during workpiece processing.
[0031] The present invention also provides a computer storage medium, which stores a computer software product. The computer software product includes several instructions for enabling a computer device to execute the method for compensating the motion error of a rotating axis based on dual-vector measurement.
[0032] The above technical solution of the present invention has the following advantages compared with the prior art:
[0033] The method and system for compensating the motion error of a rotating axis based on dual vector measurement of the present invention measures the coordinate data of calibration points at two different positions and calculates the vector relationship between the two points, thereby realizing accurate measurement of the motion error of the rotating axis. This method not only has the advantages of high measurement accuracy and high measurement efficiency, but also can be applied to multi-axis machine tools of different models and specifications. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein
[0035] Figure 1 It is a flow chart of a method for implementing a rotation axis motion error compensation method based on dual vector measurement provided in an embodiment of the present invention;
[0036] Figure 2 It is a schematic diagram of constructing an XYZ coordinate system and three rotation axes (A axis, B axis and C axis) based on a fixed reference point on a multi-axis machine tool provided in an embodiment of the present invention;
[0037] Figure 3 is a structural diagram of an error calibration mold provided in an embodiment of the present invention;
[0038] Figure 4 It is a flow chart of a method for implementing error compensation for the rotation angle of the C-axis by using the error calibration mold provided in an embodiment of the present invention;
[0039] Figure 5 It is a structural diagram of a rotation axis motion error compensation system based on dual vector measurement provided in an embodiment of the present invention;
[0040] Explanation of the figure marks in the specification: 10, first calibration column; 101, first standard sphere; 20, second calibration column; 201, second standard sphere; 30, connecting axis; 500, coordinate system construction module; 600, error calibration mold design module; 600, rotation axis motion error compensation module. DETAILED DESCRIPTION
[0041] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0042] Embodiment 1
[0043] Reference Figures 1 to 4 As shown, the present invention provides a method and system for compensating the motion error of a rotating axis based on dual vector measurement, and the error compensation method comprises the following steps:
[0044] S1: Specific Figure 2 As shown, a fixed reference point is determined on the multi-axis machine tool, and based on the reference point, an XYZ coordinate system is constructed, and the A axis is defined as a rotation axis rotating around the X axis, the B axis is a rotation axis rotating around the Y axis, and the C axis is a rotation axis rotating around the Z axis;
[0045] S2: Design an error calibration mold, the error calibration mold comprising a first calibration column 10, a second calibration column 20 and a connecting shaft 30, the first calibration column 10 and the second calibration column 20 are respectively installed on the connecting shaft 30, and the first calibration column 10 and the second calibration column 20 are arranged at a certain interval along the length direction of the connecting shaft 30, the first calibration column 10 is provided with a first calibration point, and the second calibration column 20 is provided with a second calibration point;
[0046] S3: using the error calibration mold to respectively perform error compensation on the rotation angles of the A-axis, the B-axis, and the C-axis.
[0047] Further, for the error calibration mold, as Figure 3 As shown, a first standard ball 101 and a second standard ball 201 are mounted on the first calibration column 10 and the second calibration column 20 respectively, and the first calibration point and the second calibration point are the centers of the first standard ball 101 and the second standard ball 201 respectively.
[0048] The method for using the error calibration mold to perform error compensation on the rotation angle of the C-axis is implemented as follows: Figure 4 As shown, the following steps are included:
[0049] S31: Mount the error calibration mold on the XOY plane of the multi-axis machine tool, obtain initial coordinate data (x1, y1, z1) of the first calibration point and initial coordinate data (x2, y2, z2) of the second calibration point, and obtain a vector A=(x1-x2, y1-y2, z1-z2) between the first calibration point and the second calibration point based on the initial coordinate data of the two calibration points;
[0050] S32: Control the error calibration mold to rotate around the Z axis at an angle α, and obtain the coordinate data of the first calibration point after rotation (x1 * ,y1 * ,z1 * ) and the coordinate data of the second calibration point (x2 * ,y2 * ,z2 * ), based on the coordinate data of the two calibration points, the vector B between the first calibration point and the second calibration point after rotation is obtained = (x1 * -x2 * ,y1 * -y2 * ,z1 * -z2 * );
[0051] S33: Based on vector A and vector B, the angle β between the vectors is obtained:
[0052]
[0053] S34: Obtain a relative angle error according to α and β, and use the relative angle error to perform error compensation on the rotation angle of the C-axis.
[0054] Further, in step S34, the relative angle error err=α-β is calculated first, the pitch compensation table is opened on the machine tool end, the relative angle error is written into the corresponding step number and the axis node, and the pitch compensation table is used to perform error compensation. If there is no corresponding step number in the compensation table, the CNC system will calculate the compensation amount by linear interpolation. When designing the number of steps in the compensation table, it is recommended that the number of compensation steps is average. Table 1 is a C-axis pitch compensation table.
[0055] Table 1
[0056] Serial number Rotation Angle Compensation 1 0 0 2 30 +0.0002 3 60 +0.0004 4 90 +0.0003 5 120 +0.0004 6 150 +0.0004 7 180 +0.0003 8 210 +0.0001 9 240 0 10 270 +0.0001 11 300 +0.0001 12 330 +0.0001
[0057] In this embodiment, when error compensation is performed on the rotation angle of the A-axis, the error calibration mold is installed on the YOZ plane of the multi-axis machine tool through the connecting shaft, and the error compensation amount is calculated in the same way as the aforementioned C-axis; when error compensation is performed on the rotation angle of the B-axis, the error calibration mold is installed on the XOZ plane of the multi-axis machine tool through the connecting shaft, and the error compensation amount is calculated in the same way as the aforementioned C-axis; when error compensation is performed on the rotation angle of the C-axis, the error calibration mold is installed on the XOY plane of the multi-axis machine tool through the connecting shaft.
[0058] Furthermore, the connecting axis extends from the center of the mounting surface of the multi-axis machine tool to the edge thereof.
[0059] In this embodiment, the coordinate data of the first calibration point and the second calibration point are measured by a contact probe or a non-contact laser sensor installed on the probe of a CNC machine tool. Multiple sensors (such as a laser rangefinder, a visual system, etc.) can also be combined to simultaneously acquire the coordinate data of the calibration points, providing a more accurate data basis for the subsequent calculation of the error compensation amount, thereby improving the accuracy and robustness of the measurement.
[0060] Specifically in this embodiment, the angle β between the vectors is calculated by averaging the coordinate data of the first calibration point and the second calibration point after multiple measurements and rotations.
[0061] Embodiment 2
[0062] Based on the same inventive concept as the method described in Example 1, Figure 5 As shown, the present invention also provides a rotation axis motion error compensation system based on dual vector measurement, which is used to implement the rotation axis motion error compensation method based on dual vector measurement described in embodiment 1, and specifically includes the following modules:
[0063] A coordinate system construction module 500 is used to determine a fixed reference point on the multi-axis machine tool, and based on the reference point, construct an XYZ coordinate system, defining the A axis as a rotation axis rotating around the X axis, the B axis as a rotation axis rotating around the Y axis, and the C axis as a rotation axis rotating around the Z axis;
[0064] The error calibration mold design module 600 is used to design an error calibration mold, wherein the error calibration mold includes a first calibration column, a second calibration column and a connecting shaft, wherein the first calibration column and the second calibration column are respectively installed on the connecting shaft, and the first calibration column and the second calibration column are arranged at a certain interval along the length direction of the connecting shaft, and the first calibration column is provided with a first calibration point, and the second calibration column is provided with a second calibration point;
[0065] The rotation axis motion error compensation module 700 is used to use the error calibration mold to perform error compensation on the rotation angles of the A axis, the B axis, and the C axis respectively;
[0066] The method of using the error calibration mold to perform error compensation on the rotation angle of the C-axis includes:
[0067] The error calibration mold is mounted on the XOY plane of the multi-axis machine tool, initial coordinate data of a first calibration point and initial coordinate data of a second calibration point are obtained, and a vector A between the first calibration point and the second calibration point is obtained based on the initial coordinate data of the two calibration points;
[0068] Control the error calibration mold to rotate by an angle α with the Z axis as the rotation center, obtain coordinate data of the first calibration point and coordinate data of the second calibration point after the rotation, and obtain a vector B between the first calibration point and the second calibration point after the rotation based on the coordinate data of the two calibration points;
[0069] Based on vector A and vector B, the angle β between the vectors is obtained;
[0070] According to α and β, a relative angle error is obtained, and the rotation angle of the C-axis is compensated with the relative angle error.
[0071] The present embodiment proposes a system for compensating the motion error of a rotating axis based on dual-vector measurement, which is used to implement the aforementioned method for compensating the motion error of a rotating axis based on dual-vector measurement. Therefore, the specific implementation method of the system for compensating the motion error of a rotating axis based on dual-vector measurement can be seen from the aforementioned embodiment part of the method for compensating the motion error of a rotating axis based on dual-vector measurement. For example, the coordinate system construction module 500, the error calibration mold design module 600 and the rotation axis motion error compensation module 700 are respectively used to implement steps S1, S2 and S3 of the method for compensating the motion error of a rotating axis based on dual-vector measurement in embodiment one. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part. In order to avoid redundancy, it will not be repeated here.
[0072] Embodiment 3
[0073] The present invention also provides a CNC machine tool, including a control system, in which the rotary axis motion error compensation system based on dual-vector measurement described in Example 2 is integrated into the control system. During the workpiece processing process, the error compensation system is used for real-time online monitoring and angle error compensation. Through continuous monitoring and adjustment, it can adapt to changes in working conditions and ensure continuous and high-precision operation of the CNC machine tool.
[0074] Embodiment 4
[0075] The present invention also provides a computer storage medium, which stores a computer software product. The computer software product includes several instructions for enabling a computer device to execute the method for compensating the motion error of a rotating axis based on dual-vector measurement described in Example 1.
[0076] It can be seen from the above embodiments that the error compensation method provided by the present invention can accurately measure and calculate the angular error of the rotating axis through the dual-vector measurement method, thereby achieving high-precision error compensation; the designed error calibration mold is easy to manufacture and install, which not only reduces the technical difficulty and cost, but also significantly improves the processing accuracy and product quality of multi-axis machine tools, and reduces the scrap rate and defective product rate.
[0077] The present invention can also be applied to the field of measurement and detection, such as coordinate measuring machines (CMMs), optical measurement systems, etc., and can help improve the accuracy and reliability of measuring equipment.
[0078] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A method for compensating the motion error of a rotating axis based on dual vector measurement. It is characterized in that include: S1: Determine a fixed reference point on the multi-axis machine tool, and construct an XYZ coordinate system based on the reference point, define the A axis as a rotation axis rotating around the X axis, the B axis as a rotation axis rotating around the Y axis, and the C axis as a rotation axis rotating around the Z axis; S2: Design an error calibration mold, the error calibration mold comprising a first calibration column, a second calibration column and a connecting shaft, the first calibration column and the second calibration column are respectively installed on the connecting shaft, and the first calibration column and the second calibration column are arranged at a certain interval along the length direction of the connecting shaft, the first calibration column is provided with a first calibration point, and the second calibration column is provided with a second calibration point; S3: using the error calibration mold to perform error compensation on the rotation angles of the A axis, the B axis, and the C axis respectively; The method of using the error calibration mold to perform error compensation on the rotation angle of the C-axis includes: S31: installing the error calibration mold on the XOY plane of the multi-axis machine tool, acquiring initial coordinate data of a first calibration point and initial coordinate data of a second calibration point, and obtaining a vector A between the first calibration point and the second calibration point based on the initial coordinate data of the two calibration points; S32: Control the error calibration mold to rotate by an angle α with the Z axis as the rotation center, obtain the coordinate data of the first calibration point and the coordinate data of the second calibration point after the rotation, and obtain the vector B between the first calibration point and the second calibration point after the rotation based on the coordinate data of the two calibration points; S33: Based on the vector A and the vector B, obtain the angle β between the vectors; S34: Obtain a relative angle error according to α and β, and use the relative angle error to perform error compensation on the rotation angle of the C-axis.
2. The method for compensating the motion error of a rotating axis based on dual vector measurement according to claim 1, Features: The calculation method of the relative angle error err is: err=α-β Among them, the angle between the vectors 3. The method for compensating the motion error of a rotating axis based on dual vector measurement according to claim 1, Features: When error compensation is performed on the rotation angle of the A-axis, the error calibration mold is installed on the YOZ plane of the multi-axis machine tool through the connecting shaft; when error compensation is performed on the rotation angle of the B-axis, the error calibration mold is installed on the XOZ plane of the multi-axis machine tool through the connecting shaft; when error compensation is performed on the rotation angle of the C-axis, the error calibration mold is installed on the XOY plane of the multi-axis machine tool through the connecting shaft.
4. The method for compensating the motion error of a rotating axis based on dual vector measurement according to claim 1, Features: The connecting axis extends from the center of the mounting surface of the multi-axis machine tool to the edge thereof.
5. The method for compensating the motion error of a rotating axis based on dual vector measurement according to claim 1, Features: A first standard ball and a second standard ball are mounted on the first calibration column and the second calibration column, respectively. The first calibration point and the second calibration point are the centers of the first standard ball and the second standard ball, respectively.
6. The method for compensating the motion error of a rotating axis based on dual vector measurement according to claim 5, Features: The coordinate data of the first calibration point and the second calibration point are both obtained by measuring with a contact probe or a non-contact laser sensor installed on a probe of a numerical control machine tool.
7. The method for compensating the motion error of a rotating axis based on dual vector measurement according to claim 6, Features: The angle β between the vectors is calculated by averaging the coordinate data of the first calibration point and the second calibration point after multiple measurements and rotations.
8. A system for compensating a rotation axis motion error based on dual vector measurement, used to implement the method for compensating a rotation axis motion error based on dual vector measurement according to any one of claims 1 to 7, It is characterized in that Specifically includes the following modules: A coordinate system construction module is used to determine a fixed reference point on the multi-axis machine tool, and based on the reference point, construct an XYZ coordinate system, defining the A axis as a rotation axis rotating around the X axis, the B axis as a rotation axis rotating around the Y axis, and the C axis as a rotation axis rotating around the Z axis; An error calibration mold design module is used to design an error calibration mold, wherein the error calibration mold includes a first calibration column, a second calibration column and a connecting shaft, wherein the first calibration column and the second calibration column are respectively installed on the connecting shaft, and the first calibration column and the second calibration column are arranged at a certain interval along the length direction of the connecting shaft, and the first calibration column is provided with a first calibration point, and the second calibration column is provided with a second calibration point; A rotation axis motion error compensation module is used to use the error calibration mold to perform error compensation on the rotation angles of the A axis, the B axis, and the C axis respectively; The method of using the error calibration mold to perform error compensation on the rotation angle of the C-axis includes: The error calibration mold is mounted on the XOY plane of the multi-axis machine tool, initial coordinate data of a first calibration point and initial coordinate data of a second calibration point are obtained, and a vector A between the first calibration point and the second calibration point is obtained based on the initial coordinate data of the two calibration points; Control the error calibration mold to rotate by an angle α with the Z axis as the rotation center, obtain coordinate data of the first calibration point and the coordinate data of the second calibration point after the rotation, and obtain a vector B between the first calibration point and the second calibration point after the rotation based on the coordinate data of the two calibration points; Based on vector A and vector B, the angle β between the vectors is obtained; According to α and β, a relative angle error is obtained, and the rotation angle of the C-axis is compensated with the relative angle error.
9. A CNC machine tool, It is characterized in that It comprises a control system, in which the rotary axis motion error compensation system based on dual vector measurement as claimed in claim 8 is integrated, and the error compensation system is used for real-time online monitoring and angle error compensation during workpiece processing.
10. A computer storage medium, It is characterized in that The computer storage medium stores a computer software product, and the computer software product includes several instructions for enabling a computer device to execute the method for compensating the motion error of a rotating axis based on dual-vector measurement as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Geometry / thermal error online measuring and compensating system for numerical control machine tool
CN109623499A
Rapid measurement and compensation method for geometric error of machine tool
CN115781416A
Method and device for correcting thermal displacement of numerical control machine tool
JP2011045986A
Cited By
Double-vector cooperative compensation method and system for multi-degree-of-freedom motion error of computer rotating shaft
CN120353263A
Dual-vector collaborative compensation method and system for multi-degree-of-freedom motion errors of computer axis
CN120353263B
