Five-axis equipment geometric error calibration method and equipment based on line laser scanner

Through the geometric error calibration method of five-axis equipment based on line laser scanners, the kinematic model is used to calculate the error term, which solves the problems of high cost and complicated operation of rotation axis error calibration in the existing technology, and achieves high-precision and low-cost errors. compensate.

CN118776484AActive Publication Date: 2024-10-15HUAZHONG UNIV OF SCI & TECH +1

Patent Information

Application Number
CN202411024694.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-15
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The existing geometric error calibration method of the rotating axis of five-axis equipment has problems such as expensive instruments, complex operations, and cumbersome operations, which results in high calibration costs and difficult operations.

Method used

A five-axis equipment geometric error calibration method based on a line laser scanner is used to obtain the deviation between the actual position and the ideal position by scanning a standard calibration ball, and the kinematic model is used to calculate various geometric error terms, simplifying the operation process and reducing calibration costs.

Benefits of technology

It achieves high-precision calibration of the geometric error of the rotating axis, reduces the calibration cost, simplifies the operating process, and improves the accuracy of the five-axis equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776484A_ABST
    Figure CN118776484A_ABST
Patent Text Reader

Abstract

The invention belongs to the related technical field of calibration of processing equipment, and discloses a five-axis equipment geometric error calibration method and equipment based on a line laser scanner. A line laser scanner installed at the tool end of the five-axis equipment is adopted to scan the standard calibration ball to obtain the actual position of the center of the calibration ball in the space, and the difference between the obtained actual position and the ideal position is obtained to obtain the space position deviation; step 2, calculating various geometric error terms based on the obtained spatial position deviation and a deviation influence formula caused by different error terms relative to each direction in a three-dimensional space; wherein the deviation influence formula is obtained through derivation based on a kinematic model considering errors, and the kinematic model considering the errors is constructed under the condition that position-related geometric errors and position-independent geometric errors of the rotating shaft of the five-axis equipment are considered. The problems that the calibration cost of the geometric error of the rotating shaft is high and the operation is tedious are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field related to calibration of processing equipment, and more specifically, relates to a method and equipment for calibrating geometric errors of a five-axis device based on a line laser scanner. Background Art

[0002] With the continuous development of the manufacturing industry, five-axis equipment has begun to be put into use more and more. In addition to the traditional subtractive manufacturing field, many lightweight and customized manufacturing have also begun to introduce five-axis equipment. At present, due to the high precision of five-axis equipment and its flexibility in its workspace, it has been applied to the field of dispensing for small and detailed workpieces such as integrated circuits, precision parts, and glass.

[0003] Five-axis equipment usually consists of a rotating axis and a translation axis. The most common is a double turntable structure consisting of an XYZ translation axis and a UW rotation axis. The accuracy of the rotation axis plays a vital role in the performance of the five-axis equipment. However, due to the inevitable errors in the manufacturing and installation of components, the accuracy of use is affected. Therefore, calibration and compensation of the geometric errors of the rotation axis are important steps to ensure the accuracy of the five-axis dispensing equipment. It is necessary to establish a motion mathematical model according to the structural type of the five-axis equipment, and perform error modeling accordingly. The error is calculated and compensated based on the measurement of the actual motion data to achieve high-precision motion.

[0004] At present, the instruments commonly used for the calibration of the geometric error of the rotating axis include ballbars, laser interferometers, etc. These devices are usually expensive, which will increase the calibration cost; and the operation requires the implementers to have a certain level of operation. In addition, these instruments can usually only measure the motion deviation in a certain direction in space, which leads to multiple measurements during the calibration process, and the operation is cumbersome and complicated. In short, the commonly used methods currently have problems such as expensive instruments, complex execution processes, cumbersome operations, and high requirements for operators. Summary of the invention

[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a five-axis device geometric error calibration method and device based on a line laser scanner, which aims to solve the problems of high cost and cumbersome operation of calibrating the geometric error of the rotating axis.

[0006] To achieve the above object, according to one aspect of the present invention, a method for calibrating geometric errors of a five-axis device based on a line laser scanner is provided, the method comprising the following steps:

[0007] Step 1: Use a line laser scanner installed on the tool end of the five-axis device to scan the standard calibration ball to obtain the actual position of the center of the calibration ball in space, and subtract the actual position from the ideal position to obtain the spatial position deviation;

[0008] Step 2: Calculate various geometric error terms based on the obtained spatial position deviation and the deviation influence formula caused by different error terms relative to each direction in the three-dimensional space; wherein, the deviation influence formula is derived based on the kinematic model considering the error, and the kinematic model considering the error is constructed under the condition of considering the position-related geometric error and the position-independent geometric error of the rotating axis of the five-axis device, and its expression is:

[0009]

[0010] Where, T eU , T eW are the error matrices of the rotation axes U and W respectively; Represents the homogeneous transformation matrix of coordinate system {Y} relative to coordinate system {B}; Represents the homogeneous transformation matrix of coordinate system {U} relative to coordinate system {Y}; Represents the homogeneous transformation matrix of coordinate system {W} relative to coordinate system {U}; Represents the homogeneous transformation matrix of coordinate system {G} relative to coordinate system {W}; Represents the homogeneous transformation matrix of the coordinate system {X} in the base coordinate system {B}, which also includes the rotation matrix and the position vector Represents the homogeneous transformation matrix of coordinate system {Z} relative to coordinate system {X}; It represents the homogeneous transformation matrix of coordinate system {t} relative to coordinate system {Z}; coordinate system {B} is the base coordinate system; coordinate system {Z} is the coordinate system of translation axis Z; coordinate system {t} is the coordinate system of dispensing tool; coordinate system {S} is the coordinate system of line laser scanner; coordinate system {Y} is the coordinate system of translation axis Y; coordinate system {U} is the coordinate system of rotation axis U; coordinate system {W} is the coordinate system of rotation axis W; coordinate system {G} is the workpiece coordinate system.

[0011] Furthermore, according to the mechanical structure of the five-axis device, a kinematic model is constructed using a homogeneous transformation matrix; then, under the condition of considering the position-independent error and position-dependent error of the rotation axis of the five-axis device, errors are introduced into the kinematic model to obtain a kinematic model that takes errors into consideration.

[0012] Furthermore, in the workpiece coordinate system {G}, the expression of the tool coordinate system {t} is:

[0013]

[0014] In the formula, Represents the rotation matrix of coordinate system {Y} relative to coordinate system {B}; Represents the position vector of coordinate system {Y} relative to coordinate system {B}; Represents the rotation matrix of coordinate system {U} relative to coordinate system {Y}; Represents the position vector of the coordinate system {U} relative to the coordinate system {Y}; Represents the rotation matrix of coordinate system {W} relative to coordinate system {U}; Represents the position vector of coordinate system {W} relative to coordinate system {U}; represents the rotation matrix of the coordinate system {G} relative to the coordinate system {W}; represents the position vector of the coordinate system {G} relative to the coordinate system {W}; Represents the rotation matrix of coordinate system {Z} relative to coordinate system {X}; Represents the position vector of the coordinate system {Z} relative to the coordinate system {X}; represents the rotation matrix of the coordinate system {t} relative to the coordinate system {Z}; Represents the position vector of coordinate system {t} relative to coordinate system {Z}.

[0015] Furthermore, the position coordinates of the center of the calibration ball in the coordinate system {S} are:

[0016]

[0017] The subscript 0 indicates an ideal state without error. Formula (2) can express the kinematic transformation relationship of the five-axis device and can be calculated after each joint of the five-axis device reaches a different position.

[0018] Furthermore, the effect of geometric errors on the motion of rotating axis components can also be expressed by a homogeneous transformation matrix:

[0019]

[0020]

[0021] Where T eU , T eW are the error matrices of the rotation axes U and W respectively.

[0022] Furthermore, the spherical center coordinate expression obtained by the linear laser scanner is:

[0023]

[0024] In the base coordinate system, the position change relationship of the calibration ball is:

[0025]

[0026] in It represents the position where the calibration ball should reach in an ideal situation without error. The position of the calibration ball under the influence of the error, the position of the ball center obtained by the joint position and the scan Calculated; Therefore, the expression of the calibration sphere spatial deviation caused by geometric error is obtained through formulas (7) and (8):

[0027]

[0028] Furthermore, the line laser scanner measured a series of Combining the joint positions under these scanning states, the whole measurement process can be calculated by formula (8): That is, the actual position of the calibration ball in the base coordinate system; at the same time, according to the given motion command, the expected position of the calibration ball in the base coordinate system is calculated Thus, we can calculate

[0029] Further, according to The error is solved based on the relationship between the error terms and the geometric error terms; the steps are: first solve the 8 PIGE terms, then solve the PDGE in the order of U axis first and then W axis, and finally iterate to get the error.

[0030] The present invention also provides a five-axis device geometric error calibration system based on a line laser scanner, the system includes a memory and a processor, the memory stores a computer program, and the processor executes the five-axis device geometric error calibration method based on a line laser scanner as described above when executing the computer program.

[0031] The present invention also provides a computer-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the five-axis device geometric error calibration method based on the line laser scanner as described above.

[0032] In general, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:

[0033] 1. The applied measurement tools only require a line laser scanner and a calibration ball, which greatly reduces the calibration cost. Moreover, the line laser scanner itself is easy to use, and the operator only needs to specify the movement position and then collect the point cloud. Combined with the corresponding kinematic model, it saves the calibration cost while simplifying the operation process and improving the accuracy.

[0034] 2. The line laser scanner used can directly obtain the three-dimensional point cloud of the calibration sphere, and fit the point cloud of the spherical surface to get the position of the sphere center. The position of the calibration sphere in the base coordinate system can be expressed through the transformation between the coordinate systems. The coordinate values ​​in the three directions obtained directly bring great convenience to the calibration calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flow chart of a five-axis device geometric error calibration method based on a line laser scanner provided by the present invention;

[0036] Figure 2 yes Figure 1 A schematic diagram of the coordinate system between the main parts of the equipment involved in the five-axis equipment geometric error calibration method based on a line laser scanner;

[0037] Figure 3(a) is Figure 1 Schematic diagram of modeling of the position-independent geometric error of the rotation axis involved in the geometric error calibration method of the five-axis device based on the line laser scanner;

[0038] Figure 3(b) is Figure 1 Schematic diagram of modeling of the rotation axis position-related geometric errors involved in the five-axis equipment geometric error calibration method based on line laser scanner;

[0039] Figure 4 yes Figure 1 Schematic diagram of the specific process of real-time calibration and calculation operations involved in the five-axis device geometric error calibration method based on line laser scanner. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0041] The present invention provides a method for calibrating the geometric errors of a five-axis device based on a line laser scanner. The calibration method uses a line laser scanner, which is cheaper than the equipment used for calibration in the prior art. The scanned three-dimensional point cloud can be obtained after one scan, and continuous measurement can be performed after installation is completed. The operation is simple, which saves calibration costs and simplifies the operation process.

[0042] See also Figure 1 and Figure 4 , the calibration method mainly includes the following steps:

[0043] Step 1: Use a line laser scanner installed on the tool end of the five-axis equipment to scan the standard calibration ball to obtain the actual position of the center of the calibration ball in space, and subtract the actual position from the ideal position to obtain the spatial position deviation.

[0044] Step 2: Calculate various geometric error terms based on the obtained spatial position deviation and the deviation influence formula caused by different error terms relative to each direction in the three-dimensional space; wherein, the deviation influence formula is derived based on the kinematic model considering the error, and the kinematic model considering the error is constructed under the condition of considering the position-related geometric error and the position-independent geometric error of the rotating axis of the five-axis device, and its expression is:

[0045]

[0046] Where, T eU , T eW are the error matrices of the rotation axes U and W respectively; Represents the homogeneous transformation matrix of coordinate system {Y} relative to coordinate system {B}; Represents the homogeneous transformation matrix of coordinate system {U} relative to coordinate system {Y}; Represents the homogeneous transformation matrix of coordinate system {W} relative to coordinate system {U}; Represents the homogeneous transformation matrix of coordinate system {G} relative to coordinate system {W}; Represents the homogeneous transformation matrix of the coordinate system {X} in the base coordinate system {B}, which also includes the rotation matrix and the position vector Represents the homogeneous transformation matrix of coordinate system {Z} relative to coordinate system {X}; It represents the homogeneous transformation matrix of coordinate system {t} relative to coordinate system {Z}; coordinate system {B} is the base coordinate system; coordinate system {Z} is the coordinate system of translation axis Z; coordinate system {t} is the coordinate system of dispensing tool; coordinate system {S} is the coordinate system of line laser scanner; coordinate system {Y} is the coordinate system of translation axis Y; coordinate system {U} is the coordinate system of rotation axis U; coordinate system {W} is the coordinate system of rotation axis W; coordinate system {G} is the workpiece coordinate system.

[0047] The acquisition of the deviation impact formula includes the following steps:

[0048] S1, based on the mechanical structure of the five-axis device, the kinematic model is constructed using the homogeneous transformation matrix.

[0049] In this implementation, in order to solve the problems of expensive instruments, complex execution procedures, and cumbersome operations, a linear laser scanner and a standard calibration ball are used to realize the geometric error calibration function of the rotating axis, which greatly reduces the calibration cost. During the calibration process, the operator only needs to set the acquisition path in advance, move the five-axis device, and use the linear laser scanner to scan the calibration ball to collect data, which greatly simplifies the calibration process.

[0050] The line laser scanner needs to be installed on the tool end of the five-axis dispensing equipment to join the equipment motion chain. The homogeneous coordinate transformation method is used to establish a kinematic model including the scanner coordinate system, Z-axis coordinate system, X-axis coordinate system, Y-axis coordinate system, U-axis coordinate system, W-axis coordinate system, base coordinate system and workpiece coordinate system. The kinematic model is used to express the transformation relationship between the workpiece space point in the scanner coordinate system and the world coordinate system. After introducing the position-independent geometric error (PIGE) and position-dependent geometric error (PDGE) caused by the manufacturing and installation of the rotating axis components, the actual kinematic model considering the error can be obtained through the kinematic model. By comparing the position of the scanned calibration ball with the ideal position, the PIGE and PDGE of each item can be obtained by decoupling the spatial deviation of the calibration ball.

[0051] The kinematic model in this step S1 includes two kinematic chains: one kinematic chain includes the translation axis X, the translation axis Z, the dispensing tool and the line laser scanner; the other kinematic chain includes the translation axis Z, the rotation axis U (rotating around the X direction), the rotation axis W (rotating around the Z direction) and the workpiece.

[0052] Establish a base coordinate system {B}, which is established at a position with a certain amount of translation away from the mechanical origin of the machine tool. As a fixed coordinate system, it is the reference coordinate system for expressing the spatial posture of each part;

[0053] Establish a coordinate system {X} of the translation axis X, whose X direction is the same as the movement direction of the translation axis X, and is fixed to the motion module of the translation axis X, and moves with the movement of the X axis;

[0054] Establish a coordinate system {Z} of the translation axis Z, whose Z direction is the same as the movement direction of the translation axis Z, and is fixed to the motion module of the translation axis Z, and moves with the movement of the Z axis;

[0055] Establish the dispensing tool coordinate system {t}, the directions of the axes of the coordinate system {t} are the same as {Z};

[0056] Establish the coordinate system {S} of the line laser scanner, whose origin is at the imaging position of the line laser scanner, has the direction specified by the device itself, and has a fixed transformation relationship with the tool coordinate system {t};

[0057] Establish the coordinate system {Y} of the translation axis Y, whose Y direction is the same as the movement direction of the translation axis Y, and is fixed to the motion module of the translation axis Y, and moves with the movement of the Y axis;

[0058] Establish a coordinate system {U} of the rotation axis U, whose X-axis direction is the same as the movement direction of the translation axis X, and the rotation axis U will rotate around its own X-axis during the rotation process;

[0059] Establish the coordinate system {W} of the rotation axis W. In the initial position (neither the U nor the W axis has a rotation angle), the directions of the axes of {W} are the same as {U}, and the rotation axis W will rotate around its own Z axis during the rotation process;

[0060] The workpiece coordinate system {G} is established, and the directions of its axes are the same as {W}, and there is only one offset in its own Z direction with {W}. After the calibration ball is installed, there is no relative position change between the calibration ball and the workbench, and the coordinate system {b} of the calibration ball itself can be directly expressed under {G}.

[0061] The motion of a rigid body in space is described by the rotation matrix R and the position vector p in the rigid body motion transformation theory, and the two are used to form a homogeneous transformation matrix T to describe the transformation between the above coordinate systems.

[0062] definition Represents the homogeneous transformation matrix of the coordinate system {X} in the base coordinate system {B}, which also includes the rotation matrix and the position vector Similarly, we can define homogeneous transformation matrices between other coordinate systems, as well as rotation matrices and position vectors therein.

[0063] in: Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of the coordinate system {Z} relative to the coordinate system {X};

[0064] Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of coordinate system {t} relative to coordinate system {Z};

[0065] Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of the coordinate system {S} relative to the coordinate system {t};

[0066] Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of coordinate system {Y} relative to coordinate system {B};

[0067] Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of coordinate system {U} relative to coordinate system {Y};

[0068] Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of coordinate system {W} relative to coordinate system {U};

[0069] Respectively represent the homogeneous transformation matrix, rotation matrix and position vector of the coordinate system {G} relative to the coordinate system {W};

[0070] represents the position vector of the center of the calibration ball {b} in the coordinate system {G};

[0071] In the above series of relationships, It is related to the current motion position of each motion axis of the five-axis device and forms a functional relationship with the joints of each motion axis; It is related to the definition of the mechanical structure and is a fixed value.

[0072] According to the above relationship, it can be expressed that in the workpiece coordinate system {G}, the expression of the tool coordinate system {t} is:

[0073]

[0074] This expression is used to represent the transformation relationship of the Cartesian coordinate system when planning the workpiece processing path.

[0075] When the line laser scanner scans the calibration sphere, the position coordinates of the center of the calibration sphere in the coordinate system {S} can be fitted as follows:

[0076]

[0077] The subscript 0 indicates an ideal state without error. This formula can express the kinematic transformation relationship of the five-axis device and can be calculated after each joint of the five-axis device reaches a different position.

[0078] In one embodiment, the purpose is to calibrate the geometric errors of the rotation axes of the five-axis dispensing device to compensate for higher accuracy. Figure 2 As shown in the figure, the five-axis device contains two kinematic chains, one along the base, X-axis, Z-axis, dispensing tool, and line laser scanner; the other along the base, Y-axis, U-axis, W-axis, workpiece mounting plate, and calibration ball. The above parts are regarded as rigid bodies and each is established as follows Figure 2 In the coordinate system shown, when all the moving joints are initially at position 0, the coordinate axes of all parts of the coordinate system are oriented in the same direction.

[0079] S2, under the condition of considering the position-independent error and position-dependent error of the rotation axis of the v-axis device, a kinematic model considering the error is constructed.

[0080] Analyze the impact of the rotation axis geometric error on the above kinematic model: In ISO 230-7, the rotation axis geometric error is divided into 12 position-dependent geometric errors (PDGE, also known as error elements) and 8 position-independent geometric errors (PIGE). These errors are expressed as follows:

[0081] δ x (U), δy(U), δ z (U) represents the position error of the coordinate system {U} in the X, Y, and Z directions respectively when the U axis is rotating;

[0082] ε x (U), ε y (U), ε z (U) represents the angular errors caused by the rotation of the coordinate system {U} around the X, Y, and Z directions respectively when the U axis is rotating;

[0083] δ x (W), δ y (W), δ z (W) represents the position error of the coordinate system {W} in the X, Y, and Z directions respectively when the W axis is rotating;

[0084] ε x (W), ε y (W), ε z (W) represents the attitude errors caused by the rotation of the W axis and the rotation of the coordinate system {W} around the X, Y, and Z directions respectively;

[0085] δ xAY , δ yAY , δ zAY They represent the fixed position errors of the coordinate system {U} in the X, Y, and Z directions respectively due to the installation of the U axis;

[0086] α AY , β AY , γ AYThey represent the fixed attitude errors caused by the rotation of the coordinate system {U} around the X, Y, and Z directions due to the installation of the U axis;

[0087] δ yCA It indicates the fixed position error of coordinate system {W} relative to coordinate system {U} in the Y direction caused by the installation of W axis;

[0088] β CA It indicates the fixed attitude error caused by the rotation of the coordinate system {W} relative to the coordinate system {U} in the Y direction due to the installation of the W axis;

[0089] According to the rigid body motion theory, the influence of the above geometric errors on the motion of the rotating shaft components can also be expressed by the homogeneous transformation matrix:

[0090]

[0091] Where T eU , T eW are the error matrices of the rotation axes U and W respectively.

[0092] Then the kinematic model affected by the error will change to:

[0093]

[0094] After the introduction of the geometric error of the rotating axis, a deviation will occur between the actual motion coordinates and the expected motion coordinates, which will cause the tool to fail to reach the specified position. Therefore, it is necessary to calibrate the various geometric errors in the above formula and correct the kinematic model to achieve error compensation and improve equipment accuracy.

[0095] In one embodiment, a kinematic model considering errors is established based on the error model: according to Tsutsumi's description in Identification and compensation of systematic deviations particular to 5-axis machining centers, the geometric description of the 8 PIGEs is shown in FIG3(b); and according to the rigid body kinematics theory, each rotating axis will generate six directions of motion in space during the motion process, as shown in FIG3(a). According to the influence of these 20 geometric errors, the error matrix such as formula (3) and formula (4) can be listed to represent the influence of the 20 geometric errors on the motion, and finally the kinematic model with errors as shown in formula (5) is obtained.

[0096] S3, based on the kinematic model considering errors, the formula for the deviation influence caused by different error terms relative to each direction in three-dimensional space is derived.

[0097] Analyze the influence of various geometric errors of the rotating axis on the workpiece end of the equipment in three-dimensional space: Since the rotating axis is located at one end of the workpiece motion chain, after the motion instructions of the X, Y, Z, U, and W joint axes are given, motion errors will be generated on the workpiece motion chain, causing the workpiece coordinate system to deviate from the desired position. Since the calibration ball is installed on the workpiece mounting plate, it will directly lead to the deviation of the calibration ball position. According to formula (2) and formula (5), it can be concluded that when affected by the error, the expression of the spherical center coordinates obtained by the linear laser scanner is:

[0098]

[0099] The above formula expresses the relationship between the actual measurement data of the scanner and the geometric error, so it can be concluded that the position change relationship of the calibration ball in the base coordinate system is:

[0100]

[0101] in It represents the position that the calibration ball should reach in an ideal situation without error, which can be calculated from known quantities; The position of the calibration ball under the influence of the error can be obtained by the joint position and the center position of the ball obtained by scanning Calculated; Therefore, through equations (7) and (8), we can get the expression of the calibration sphere spatial deviation caused by geometric error:

[0102]

[0103] The specific step of obtaining the spatial position deviation corresponds to S4, and specifically includes the following steps:

[0104] Step S4.1, install the calibration ball at a fixed position on the workpiece mounting plate, install the line laser scanner at the end of the Z axis, and try to make the line laser scanner parallel to the coordinate axis of the base coordinate system;

[0105] Step S4.2, perform hand-eye calibration on the line laser scanner to obtain the relationship between the line laser scanner and the tool

[0106] Step S4.3, when both the U axis and the W axis are 0, that is, when the workpiece mounting plate is kept horizontal, scan the calibration ball, and then calculate the installation position of the calibration ball based on the hand-eye calibration result.

[0107] Step S4.4, designing a series of spatial postures in space as motion trajectories, making the line laser scanner maintain this motion, photographing the calibration ball at different postures, and finally obtaining a series of joint axis motion positions and corresponding sphere center positions;

[0108] Step S4.5, repeat the above steps, perform three sets of data collection operations in total, calculate the expected center position of the sphere and the actual center position of the sphere according to formula (7) and formula (8), and use formula (9) to calculate the difference between the two for subsequent calculations.

[0109] Step S4.4 includes:

[0110] Step S4.4.1, since the W axis is at the next level of the U axis in the kinematic chain at one end of the workpiece, in order to reduce the influence of the W axis when solving the U axis error, the first set of motion positions needs to be designed with W always being 0, and the U axis angle rotates at equal intervals within a certain range from negative to positive. Based on this, the scanning trajectory at each position is designed to obtain the Cartesian coordinates of the U axis rotation, so as to scan the calibration sphere at each position;

[0111] Step S4.4.2, similar to the U axis, the W axis also needs the U axis to remain unchanged when rotating, but when the U axis is 0 degrees, the Cartesian coordinate system will have countless sets of solutions in the inverse solution, so the U axis needs to be set to a non-zero angle, and on this basis, the W axis is set to rotate one circle, and the calibration sphere is scanned at each position. The step of solving various geometric errors using the deviation influence formula corresponds to S5, which specifically includes the following sub-steps:

[0112] Step S5.1, the line laser scanner measures a series of Combining the joint positions under these scanning states, the whole measurement process can be calculated by formula (8): That is, the actual position of the calibration ball in the base coordinate system; at the same time, according to the given motion command, the expected position of the calibration ball in the base coordinate system can be calculated Thus, we can calculate

[0113] Step S5.2, according to The relationship between the error terms and the geometric error terms is used to solve the error. However, it is noted that the deviation in one direction in space is affected by many different errors. In addition, since PIGE and PDGE exist at the same time, it is impossible to directly solve the two types of errors. Therefore, it is necessary to perform an iterative operation: first solve the 8 PIGE terms, then solve the PDGE in the order of U axis first and then W axis, and finally iterate to obtain a more accurate value.

[0114] Step S5.3, through step-by-step and iterative solution, 20 geometric errors of the rotating axis are obtained, among which PIGE is a fixed value, PDGE is a function related to the motion position of the rotating axis, and PDGE is fitted by Fourier series to obtain a function that can calculate the error at any position. Based on this, a kinematic model with errors can be established.

[0115] Step S5.2 includes the following sub-steps:

[0116] Step S5.2.1, the collected data includes the parts of the U-axis rotation and the W-axis rotation. First, solve the PIGE. Since the posture of a part will not change during the rotation, the mapping matrix will be insufficient in rank. Therefore, it is necessary to use the U and W data to solve the PIGE at the same time.

[0117] Step S5.2.2, in fact, PIGE and PDGE will exist at the same time and work together, so it is necessary to first assume that only PIGE exists. After PIGE is calculated, the original data is used to subtract the influence of PIGE, and the remaining part is used to calculate PDGE. Since the W axis is installed at the lower end of the U axis, it is necessary to first use the scanning data of the U axis to calculate to subtract the influence of the W axis; then the W axis data is subtracted from the influence of PIGE and the PDGE of the U axis to calculate the PDGE of the W axis;

[0118] Step S5.2.3, through S5.2.2, the PDGE and PIGE of the U-axis and W-axis can be preliminarily obtained. In order to make the result more accurate, iterative operation is required, that is, subtracting the influence of the calculated PDGE from the original data, repeating step S5.2.2, and a more accurate conclusion can be obtained after a certain number of iterations.

[0119] In one embodiment, the installation position of the calibration ball on the workpiece mounting plate is set where x 0 ,y 0 , z 0 is the position coordinate of the calibration ball center in the workpiece coordinate system. Combining formulas (7), (8), and (9), the position deviation of the calibration ball in space can be specifically expressed as and the geometric error, where Δx, Δy, and Δz are the position deviations of the calibration sphere in the base coordinate system. Since the final result will be expressed as the coupling state between the various geometric errors, it is impossible to directly express it, so a linear approximation is required. According to the theory of high-order infinitesimals, the high-order error terms in the deviation expression are removed to obtain the result.

[0120]

[0121] Where Δx PIGE , Δy PIGE , Δz PIGE Respectively represent the position deviation caused by position-independent error in the X, Y, and Z directions of space, Δx PDGE , Δy PDGE , Δz PDGE They represent the position deviation caused by the position-related error in the X, Y, and Z directions of space. The definitions of these two parts are as follows:

[0122]

[0123] Where h is the distance from the origin of the workpiece coordinate system {G} to the axis of the U axis.

[0124] Under the above expression, various geometric errors are decoupled, and by collecting data under different motion states, the calculation of various errors can be realized.

[0125] In the process of designing the motion trajectory, since the errors of the rotation axes U and W will affect each other, it is set that when one rotation axis rotates, the other rotation axis remains unchanged to ensure that formula (10) can remove the influence of a certain part and thus achieve the solution.

[0126] The process of tracking scanning is as follows: In order to ensure that the scanner always scans the calibration ball, the Cartesian coordinate system motion planning is completed according to the scanner coordinate system {S} relative to the workpiece coordinate system {G}. It is a fixed value, so when the rotating axis rotates, a series of Cartesian coordinates of the scanner in the workpiece coordinate system {G} can be obtained. Through the inverse solution, the scanner can reach the specified position, and the X-axis moves another scanning distance to obtain the point cloud data of the calibration sphere surface.

[0127] Scanning is performed in two modes. One is that the W axis is kept at 0 degrees, and the U axis starts from a negative angle and rotates to a positive angle at a fixed interval angle to ensure that the rotation area includes the commonly used motion range; the other is that the U axis is kept at a certain angle and the W axis rotates one circle (because there is no unique solution to the inverse solution of the vertical state of the U axis at 0, the U axis needs to be kept at a certain angle); and the calibration ball needs to be installed in three different positions for separate movements. After designing the motion position according to the above rules, a series of point cloud data on the surface of the calibration ball can be collected, and the spherical point cloud can be fitted to obtain the coordinates of the sphere center. According to formula (8), a series of positions of the sphere center in the base coordinate system are calculated:

[0128] When planning the motion trajectory, a series of By subtracting the two corresponding positions, we can get the spatial motion deviation caused by geometric error.

[0129] The rotation of the U axis and the W axis will calculate the spatial position deviation in two cases. First, PIGE is solved. Assuming that the U axis and the W axis are only affected by PIGE, PDGE in formula (10) can be regarded as 0, that is, Δx, Δy, Δz are directly used and substituted into formula (11) for calculation. When calculating specifically, the following equation needs to be constructed:

[0130] Am=n (13)

[0131] Where A is the mapping matrix from each PIGE to the spatial error, that is, the coefficient of each PIGE in formula (11), m is the column vector composed of 8 PIGEs, and n is the three-dimensional sphere center deviation data calculated when the U axis and W axis move. In order to solve equation (13), the least squares method is used to find m:

[0132] m=(A T A) -1 A T n (14)

[0133] After PIGE is obtained, it can be substituted back into formula (11) to calculate the impact of this PIGE, and the impact of PDGE can be obtained using formula (10), and then PDGE can be solved using formula (12). Since the obtained PDGE is a series of discrete points, corresponding to the error generated by the rotation axis at the current position when scanning the calibration sphere, in order to achieve compensation effect at more positions, it is necessary to establish a functional relationship between PDGE and the position of the rotation axis. Due to the characteristics of the rotation axis, a periodic function such as Fourier series is used to fit the PDGE of each rotation axis; then solving PDGE is converted into solving the coefficients of the Fourier series that can fit PDGE. In the fitting, the p-order Fourier series (generally 3 to 5 orders) is set, and the coefficient calculation method is:

[0134] E=(B T B) -1 B T n ′

[0135] Where E is the discrete value of PDGE in six directions of space, B is the mapping matrix from PDGE to spatial error obtained in formula (12), n ′ This is the spatial deviation data after removing PIGE. Then solve the coefficients of the Fourier series:

[0136] C=E(D T D) -1 D T

[0137] Where D is the basis of the Fourier series at each scanning position, and C is the coefficient vector of the Fourier series. The PDGE at any position can be calculated by combining the coefficients into a Fourier series expansion form.

[0138] After calculating PIGE and PDGE, iteration is required to ensure accuracy. That is, substitute the calculated PDGE into formula (10), and then use formula (11) to solve PIGE. Repeat the above steps until the value of the geometric error tends to be stable. Then, the accurate geometric error of the rotation axis can be obtained, so as to improve the motion accuracy later.

[0139] The present invention also provides a five-axis device geometric error calibration system based on a line laser scanner, the system includes a memory and a processor, the memory stores a computer program, and the processor executes the five-axis device geometric error calibration method based on a line laser scanner as described above when executing the computer program.

[0140] The present invention also provides a computer-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the five-axis device geometric error calibration method based on the line laser scanner as described above.

[0141] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A five-axis device geometric error calibration method based on a line laser scanner, characterized in that: The method comprises the following steps: Step 1: Use a line laser scanner installed on the tool end of the five-axis device to scan the standard calibration ball to obtain the actual position of the center of the calibration ball in space, and subtract the actual position from the ideal position to obtain the spatial position deviation; Step 2: Calculate various geometric error terms based on the obtained spatial position deviation and the deviation influence formula caused by different error terms relative to each direction in the three-dimensional space; wherein, the deviation influence formula is derived based on the kinematic model considering the error, and the kinematic model considering the error is constructed under the condition of considering the position-related geometric error and the position-independent geometric error of the rotating axis of the five-axis device, and its expression is: Where, T eU 、T eW are the error matrices of the rotation axes U and W respectively; Represents the homogeneous transformation matrix of coordinate system {Y} relative to coordinate system {B}; Represents the homogeneous transformation matrix of coordinate system {U} relative to coordinate system {Y}; Represents the homogeneous transformation matrix of coordinate system {W} relative to coordinate system {U}; Represents the homogeneous transformation matrix of coordinate system {G} relative to coordinate system {W}; Represents the homogeneous transformation matrix of the coordinate system {X} in the base coordinate system {B}, which also includes the rotation matrix and the position vector Represents the homogeneous transformation matrix of coordinate system {Z} relative to coordinate system {X}; It represents the homogeneous transformation matrix of coordinate system {t} relative to coordinate system {Z}; coordinate system {B} is the base coordinate system; coordinate system {Z} is the coordinate system of translation axis Z; coordinate system {t} is the coordinate system of dispensing tool; coordinate system {S} is the coordinate system of line laser scanner; coordinate system {Y} is the coordinate system of translation axis Y; coordinate system {U} is the coordinate system of rotation axis U; coordinate system {W} is the coordinate system of rotation axis W; coordinate system {G} is the workpiece coordinate system.

2. The five-axis device geometric error calibration method based on a line laser scanner as claimed in claim 1, characterized in that: According to the mechanical structure of the five-axis device, a kinematic model is constructed using the homogeneous transformation matrix. Then, under the condition of considering the position-independent error and position-dependent error of the rotation axis of the five-axis device, errors are introduced into the kinematic model to obtain a kinematic model considering the error.

3. The five-axis device geometric error calibration method based on a line laser scanner as claimed in claim 2, characterized in that: In the workpiece coordinate system {G}, the expression of the tool coordinate system {t} is: In the formula, Represents the rotation matrix of coordinate system {Y} relative to coordinate system {B}; Represents the position vector of coordinate system {Y} relative to coordinate system {B}; Represents the rotation matrix of coordinate system {U} relative to coordinate system {Y}; Represents the position vector of the coordinate system {U} relative to the coordinate system {Y}; Represents the rotation matrix of coordinate system {W} relative to coordinate system {U}; Represents the position vector of coordinate system {W} relative to coordinate system {U}; represents the rotation matrix of the coordinate system {G} relative to the coordinate system {W}; represents the position vector of the coordinate system {G} relative to the coordinate system {W}; Represents the rotation matrix of coordinate system {Z} relative to coordinate system {X}; Represents the position vector of the coordinate system {Z} relative to the coordinate system {X}; represents the rotation matrix of the coordinate system {t} relative to the coordinate system {Z}; Represents the position vector of coordinate system {t} relative to coordinate system {Z}.

4. The method for calibrating geometric errors of a five-axis device based on a line laser scanner as claimed in claim 3, characterized in that: The position coordinates of the center of the calibration ball in the coordinate system {S} are: The subscript 0 indicates an ideal state without error. Formula (2) can express the kinematic transformation relationship of the five-axis device and can be calculated after each joint of the five-axis device reaches a different position.

5. The method for calibrating geometric errors of a five-axis device based on a line laser scanner as claimed in claim 3, characterized in that: The effect of geometric errors on the motion of rotating axis components can also be expressed using a homogeneous transformation matrix: Where T eU 、T eW are the error matrices of the rotation axes U and W respectively.

6. The method for calibrating geometric errors of a five-axis device based on a line laser scanner as claimed in claim 5, characterized in that: The coordinate expression of the sphere center obtained by the linear laser scanner is: In the base coordinate system, the position change relationship of the calibration ball is: in It represents the position where the calibration ball should reach in an ideal situation without error. The position of the calibration ball under the influence of the error, the position of the ball center obtained by the joint position and the scan Calculated; Therefore, the expression of the calibration sphere spatial deviation caused by geometric error is obtained through formulas (7) and (8):

7. The five-axis device geometric error calibration method based on a line laser scanner as claimed in claim 6, characterized in that: The line laser scanner measured a series of Combining the joint positions under these scanning states, the whole measurement process can be calculated by formula (8): That is, the actual position of the calibration ball in the base coordinate system; at the same time, according to the given motion command, the expected position of the calibration ball in the base coordinate system is calculated Thus, we can calculate 8. The method for calibrating geometric errors of a five-axis device based on a line laser scanner as claimed in claim 7, characterized in that: according to The error is solved by the relationship between the error term and the geometric error term; The steps are as follows: first find the 8 PIGEs, then solve the PDGE in the order of U axis first and then W axis, and finally iterate to get the error.

9. A five-axis equipment geometric error calibration system based on a line laser scanner, characterized in that: The system includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method for calibrating the geometric errors of a five-axis device based on a line laser scanner according to any one of claims 1 to 8 is executed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions prompt the processor to implement the five-axis device geometric error calibration method based on a line laser scanner as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Precise single-axis laser scan robot calibration method on basis of ball fitting and system

    CN106546168A

  • Industrial robot plane precision calibration method

    CN109773786A

  • Geometric error modeling and separating method for five-axis AC rotating and swinging head gantry machine tool

    CN112518422A

  • Double-mechanical-arm digital ray detection device and automatic detection method

    CN113406122A

  • Swing head position error detection and identification method for ca double-swing-head five-axis numerically controlled machine tool

    WO2021189298A1

Cited By

  • Method for evaluating uncertainty of on-machine measurement of geometric parameters of cutter

    CN120170640A