[go: up one dir, main page]

CN114654461B - Geometric decoupling method for line laser calibration in robotic system - Google Patents

Geometric decoupling method for line laser calibration in robotic system Download PDF

Info

Publication number
CN114654461B
CN114654461B CN202210163120.8A CN202210163120A CN114654461B CN 114654461 B CN114654461 B CN 114654461B CN 202210163120 A CN202210163120 A CN 202210163120A CN 114654461 B CN114654461 B CN 114654461B
Authority
CN
China
Prior art keywords
laser
coordinate system
robot
line
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210163120.8A
Other languages
Chinese (zh)
Other versions
CN114654461A (en
Inventor
崔洪亮
李天伟
李超
王瑞成
杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Langfang Yichuang Technology Co ltd
Original Assignee
Langfang Yichuang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Langfang Yichuang Technology Co ltd filed Critical Langfang Yichuang Technology Co ltd
Priority to CN202210163120.8A priority Critical patent/CN114654461B/en
Publication of CN114654461A publication Critical patent/CN114654461A/en
Application granted granted Critical
Publication of CN114654461B publication Critical patent/CN114654461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/1607Calculation of inertia, jacobian matrixes and inverses
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • B25J9/1653Programme controls characterised by the control loop parameters identification, estimation, stiffness, accuracy, error analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Automation & Control Theory (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Manipulator (AREA)

Abstract

本发明公开一种线激光在机器人系统中标定的几何解耦方法,包括:计算线激光坐标系在机器人T0坐标系下的姿态矩阵对获取的数值进行判断及优化;以及计算线激光坐标系在机器人T0坐标系下的位置值本发明利用几何解耦的方法去解决欧拉角的非线性耦合问题,同时利用机器人的平移运动保证方程组的旋转矩阵相同来消除方程组中的非线性耦合项,最后采用最小二乘法求解线性方程组得到线激光的姿态矩阵后再求解位置变量;在解耦姿态矩阵中参数的同时,也解耦了姿态矩阵和位置矩阵参数的耦合,此方法可以根据用户的精度要求采集更多的数据来提高校准精度,且不影响收敛的稳定性。

The present invention discloses a geometric decoupling method for calibrating a line laser in a robot system, comprising: calculating the posture matrix of the line laser coordinate system in the robot T0 coordinate system; Judge and optimize the obtained values; and calculate the position value of the line laser coordinate system in the robot T0 coordinate system The present invention uses the method of geometric decoupling to solve the nonlinear coupling problem of Euler angles, and uses the translational motion of the robot to ensure that the rotation matrix of the equation group is the same to eliminate the nonlinear coupling terms in the equation group. Finally, the least squares method is used to solve the linear equation group to obtain the posture matrix of the line laser and then solve the position variable. While decoupling the parameters in the posture matrix, the coupling between the posture matrix and the position matrix parameters is also decoupled. This method can collect more data according to the user's accuracy requirements to improve the calibration accuracy without affecting the stability of convergence.

Description

Geometric decoupling method for calibrating line laser in robot system
Technical Field
The invention relates to the field of robot control technology and application, in particular to a method for calibrating line laser in robot system application.
Background
In the robot application system, along with the development of external sensor application, the application of a laser sensor in an absolute measurement system is more and more extensive, and especially, the proportion of the line laser is more and more large along with the development of the robot application technology due to the advantages of more collected data, good precision, high efficiency and the like, so that the indispensable achievement is even achieved. Calibration of the position and attitude of the line laser system in the robot coordinate system becomes the most important factor of whether the line laser can be used to the maximum extent.
In the prior art, describing the spatial position and posture of a line laser in a robot coordinate system, a homogeneous transformation matrix equation is generally used, as shown in formula (1):
Wherein, in the formula (1),
P B is the coordinate value of the laser measuring point under the robot world coordinate system;
Is the pose of the robot T0 coordinate system (namely the robot wrist coordinate system) under the world coordinate system;
is the position of the robot T0 coordinate system (i.e., the robot wrist coordinate system) in the robot world coordinate system;
Is the pose of the line laser in the robot T0 (i.e., robot wrist coordinate system) coordinate system;
the position of the line laser under a coordinate system of a robot T0 (namely a robot wrist coordinate system);
L x、Ly、Lz is the measured value of the object under the line laser local coordinate system respectively.
The purpose of line laser calibration is by the knownL x、Ly、Lz value, find rotation matrixPosition matrixObtainingThe difficulty of (a) is how to decouple the coefficients of the rotation matrix. As known from rigid body kinematics, the pose of a spatial rigid body is represented by three euler angles x (γ), y (β), and z (α), and forms a 3×3 rotation matrix, as shown in formula (2):
As can be seen from equation (2), although the pose matrix R has nine elements, there are only three independent variables α, β, γ, and if we want to solve α, β, γ using equation (3) below, because these three unknowns are coupled together by the nonlinear relationship of trigonometric functions, a decoupling method must be employed before solving to get a correct answer.
Wherein, in the formula (3),
The value of the X-axis coordinate of the line laser coordinate system under the T0 coordinate;
The value of the Y-axis coordinate of the line laser coordinate system under the T0 coordinate;
is the value of the line laser coordinate system Z-axis coordinate at the T0 coordinate.
Therefore, the linear programming calculation capable of solving geometric decoupling and least square method is provided, and the geometric decoupling method for calibrating the line laser of the position and the gesture of the line laser in the robot system under the robot coordinate system can be rapidly and accurately calculated, so that the problem which needs to be solved in the industry is solved.
Disclosure of Invention
The invention aims to provide a geometric decoupling method for calibrating line laser in a robot system, which comprises the mathematical methods of converting a nonlinear equation set containing Euler angles into a linear equation set, a least square method and the like, adopts a one-time measurement and line laser position and posture matrix step-by-step calculation method, can calibrate the line laser system simply, quickly, accurately and stably, solves the problems of geometric decoupling and linear programming calculation of the least square method, has the characteristics of quick calculation and high precision, and can realize online calibration quickly.
In order to achieve the above object, a first object of the present invention is to provide a geometric decoupling method for calibrating a line laser in a robot system, comprising the steps of (1) calculating an attitude matrix of a line laser coordinate system under a robot T0 coordinate systemMeasuring at least three groups of laser lines, acquiring values of the sphere center of a standard sphere calculated by the at least three groups of laser lines under a linear laser coordinate system, acquiring the position value of each laser line in the at least three groups of laser lines under a robot T0 coordinate system, acquiring the posture and the position value of the robot T0 coordinate system under a robot world coordinate system under the state of each laser line in the at least three groups of laser lines, wherein each group of line lasers comprises a first laser line and a second laser line, the movement of the robot under the first line laser and the second line laser is translational movement, and calculating to acquire a posture matrixCorresponding 9 unknown quantities, judging and optimizing the numerical value obtained in the step (1), and calculating the position value of the line laser coordinate system under the robot T0 coordinate system in the step (3)The coordinates of the sphere center of a standard sphere under the robot coordinate system are respectively extracted from the data with the same posture in each group to form an overdetermined equation set, and the equation set is simplified to be a left surface containing a position valueBy applying least square method to calculate equation set, solving position value from matrix equation
In the step (1), the position calculation theory of the line laser coordinate system under the robot Tool0 coordinate system is that a position matrix of the line laser coordinate system under the robot T0 coordinate system is calculated and expressed by a formula (3), a calibration sphere with a standard radius of R is used in the calibration process, and the robot knowledge shows that the coordinates of the sphere center of the standard sphere calculated by the first laser line under the robot coordinate system are as follows:
in the formula (4), the amino acid sequence of the compound,
The pose of the robot T0 coordinate system under the world coordinate system of the robot is shown;
The position of the robot T0 coordinate system under the robot world coordinate system;
The attitude of the line laser under a robot T0 coordinate system;
the position of the line laser under the coordinate system of the robot T0;
l1 is the value of the center of the standard sphere calculated from the first laser line in the line laser coordinate system.
The coordinates of the sphere center of the standard sphere calculated by the second laser line under the robot coordinate system are as follows:
in the formula (5), the amino acid sequence of the compound,
The pose of the robot T0 coordinate system under the world coordinate system;
the position of the robot T0 coordinate system under the world coordinate system;
The attitude of the line laser under a robot T0 coordinate system;
the position of the line laser under the coordinate system of the robot T0;
l2 is the value of the center of the standard sphere calculated from the second laser line in the line laser coordinate system.
Since the position value of the center of the standard calibration sphere in the robot system is unchanged, the equation (4) and the equation (5) are equal, i.e
As can be seen from equation (7), if it is assumed thatEqual toAnd is multiplied byThe inverse matrix of (2) can be reduced to:
from the above theoretical derivation, it is found that to obtain the formula (8), it is necessary to ensure The T0 gestures of the robots are guaranteed to be the same, namely the robots are guaranteed to move in translation in the first laser line and the second laser line; the position value can be obtained through translational movement on the premise of ensuring that the T0 posture is unchanged. By adopting the same method, N groups of laser lines are measured again, at least 3 groups of measurement are needed for ensuring that the equation 8 can be solved, and the data of multiple measurements can be solved by adopting a least square method.
Optionally, in step (1), five sets of laser line measurements are made.
Optionally, the step (1) includes (1-1) measuring and acquiring values of the sphere center of the standard sphere calculated by the five laser lines in the linear laser coordinate system, measuring and acquiring a position value of each laser line in the five laser lines in the robot T0 coordinate system, and measuring and acquiring a posture and a position value of the robot T0 coordinate system in the robot world coordinate system in the state of each laser line in the five laser lines, wherein the posture of the robot T0 coordinate system in the robot world coordinate system in the first laser line is thatThe pose of the robot T0 coordinate system under the second group of the first laser lines under the robot world coordinate system isThe pose of the robot T0 coordinate system under the third group of the first laser lines under the robot world coordinate system isThe gesture of the robot T0 coordinate system under the fourth group of the first laser lines under the robot world coordinate system isThe pose of the robot T0 coordinate system under the fifth group of the first laser line under the robot world coordinate system is(1-2) Setting the value of the center of each group of standard balls calculated by the first laser line under the online laser coordinate system minus the value of the center of each group of standard balls calculated by the second laser line under the online laser coordinate system as a center difference value, obtaining a center difference value l12 of each standard ball measured by the first two laser lines, a center difference value l34 of each standard ball measured by the second two laser lines, a center difference value l56 of each standard ball measured by the third two laser lines, a center difference value l78 of each standard ball measured by the fourth two laser lines, and a center difference value l910 of each standard ball measured by the fifth two laser lines; (1-3) setting the position value of the second laser line in each group of laser lines under the robot T0 coordinate system minus the position value of the first laser line under the robot T0 coordinate system to obtain the difference value P21 of the position values of the first two laser lines T0, the difference value P43 of the position values of the second two laser lines T0, the difference value P65 of the position values of the third two laser lines T0, the difference value P87 of the position values of the fourth two laser lines T0 and the difference value P109 of the position values of the fifth two laser lines T0, (1-4), the setting type (a) and the setting type (b)
Resetting
In the formula (c), l12 T、l34T、l56T、l78T、l910T is the transposed matrix of the first group to the fifth group of spherical center vector difference matrices respectively;
(1-5) setting
(1-6) Constructing a matrix according to formula (d), to obtain formula (e), formula (f) and formula (g):
The subscripts 1,2 and 3 in the formulas (e), (f) and (g) respectively represent a first element, a second element and a third element of the corresponding vector, and (1-7) respectively calculate 9 unknown quantities in the formula (b) according to the steps (1-1) to (1-6):
(1-8) calculating to obtain an attitude matrix of the line laser coordinate system under the robot T0 coordinate system
Wherein, in (1-3),AndIs the position of the robot T0 coordinate system under the robot world coordinate system, thusIs the difference value of the T0 position values of the two laser lines in the world coordinate system, and the two laser lines and the T0 are in translational motion, so the position difference is the same, and the position difference is setThe method comprises (8)Thereby obtaining that the difference of the position values of the robot T0 coordinate system in the world coordinate system is equal to the difference of the position values of the two laser lines T0.
Optionally, step (2) includes (2-1) performing orthogonality determination on the included angle between the 3 column vectors in formula (b), and (2-2) performing unitization on the 3 column vectors that complete step (2-1).
Optionally, in step (2-1), the angle between the 3 column vectors in formula (b) is orthogonally determined using formula (k):
when the calculated angle and 90 DEG difference value is within the range of +/-0.1 DEG, determining the attitude matrix of the line laser coordinate system obtained in the step (1) under the robot T0 coordinate system And (3) when the calculated angle and the 90 DEG difference exceeds the range of +/-0.1 DEG, re-measuring and calculating the laser line in the step (1) until the calculated angle and the 90 DEG difference are within the range of +/-0.1 deg.
Alternatively, if the calculated angle is within ±0.05° from the 90 ° difference, determining the pose matrix of the line laser coordinate system obtained in step (1) under the robot T0 coordinate systemMeets the precision requirement.
Optionally, in the step (2-2), the method comprises the steps of (2-2-1) respectively setting three column vectors in the formula (b) to obtain a formula (l);
Performing unitization calculation on the three column vectors in the step (2-2-1) respectively to obtain a formula (m);
Calculating a=x in formula (m) to obtain formula (n), obtaining a first column element of formula (b), and
(2-2-4) Respectively calculating the vector B and the vector C in the formula (m) according to the step (2-2-3) to obtain a second column element and a third column element of the formula (B) to obtain an attitude matrix of the line laser coordinate system under the robot T0 coordinate system
Preferably, in step (3), it includes (3-1), constructing an overdetermined equation set (o):
wherein in formula (o) For the pose of the line laser in the robot T0 coordinate system,For the position value of the robot T0 coordinate system under the first laser line in the robot world coordinate system,For the position value of the robot T0 coordinate system under the second group of the first laser line under the robot world coordinate system,For the position value of the robot T0 coordinate system under the third group of the first laser line under the robot world coordinate system,For the position value of the robot T0 coordinate system under the fourth group of the first laser line under the robot world coordinate system,The position value of the robot T0 coordinate system under the robot world coordinate system under the first laser line of the fifth group is obtained; L1 is the value of the spherical center of the standard sphere calculated by the first laser line of the first group under the online laser coordinate system of the robot T0 coordinate system, l3 is the value of the spherical center of the standard sphere calculated by the first laser line of the second group under the online laser coordinate system of the standard sphere, l5 is the value of the spherical center of the standard sphere calculated by the first laser line of the third group under the online laser coordinate system of the standard sphere, l7 is the value of the spherical center of the standard sphere calculated by the first laser line of the fourth group under the online laser coordinate system of the spherical center of the standard sphere calculated by the first laser line of the fourth group, l9 is the value of the spherical center of the standard sphere calculated by the first laser line of the first group, (3-2) the equation (p) is obtained by simplifying the equation (o);
(3-3) calculating an equation set (p) to construct matrixes (q) and (r);
(3-4) simplifying the equation set (p) by the matrices (q) and (r) to obtain a matrix equation(s), and
(3-5) Calculating the position value of the line laser coordinate system under the robot T0 coordinate system by the matrix equation (T)
Optionally, in step (3-1), a set of building-up overdetermined equations (o) is extracted from each set of data of the same pose.
Alternatively, in step (3-3) and step (3-5), the calculation is performed by the least square method.
The method has the advantages that (1) the problem of nonlinear coupling of Euler angles is solved by utilizing a geometric decoupling method, meanwhile, the rotation matrix of the equation set is guaranteed to be identical by utilizing the translational motion of the robot to eliminate nonlinear coupling items in the equation set, finally, the linear equation set is solved by adopting a least square method to obtain the attitude matrix of the line laser, then, the position variable is solved, the parameters in the attitude matrix are decoupled, meanwhile, the coupling of the attitude matrix and the position matrix parameters is decoupled, more data can be acquired according to the precision requirement of a user to improve the calibration precision without influencing the convergence stability, and (2) the method has the advantages of high calculation precision, high calculation speed, capability of guaranteeing the convergence stability and simple, quick and accurate realization of the line laser calibration.
Drawings
Fig. 1 is a schematic step diagram of a method for geometric decoupling of line laser calibration in a robotic system according to the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
Referring to fig. 1, as a non-limiting embodiment, the geometric decoupling method for calibrating a line laser in a robot system according to the present invention includes first, in step S1, calculating an attitude matrix of a line laser coordinate system under a robot T0 coordinate systemMeasuring at least three groups of laser lines, acquiring values of the sphere center of a standard sphere calculated by the at least three groups of laser lines under a linear laser coordinate system, acquiring the position value of each laser line in the at least three groups of laser lines under a robot T0 coordinate system, acquiring the posture and the position value of the robot T0 coordinate system under a robot world coordinate system under the state of each laser line in the at least three groups of laser lines, wherein each group of line lasers comprises a first laser line and a second laser line, the movement of the robot under the first line laser and the second line laser is translational movement, and calculating to acquire a posture matrixCorresponding 9 unknowns. Next, in step S2, the values obtained in step S1 are determined and optimized. Finally, in step S3, the position value of the line laser coordinate system in the robot T0 coordinate system is calculatedThe coordinates of the sphere center of a standard sphere under the robot coordinate system are respectively extracted from the data with the same posture in each group to form an overdetermined equation set, and the equation set is simplified to be a left surface containing a position valueBy applying least square method to calculate equation set, solving position value from matrix equation
The calculation theory of the step S1 is that a position matrix expressed by a formula (3) in a robot T0 coordinate system is calculated, a calibration sphere with a standard radius of R is used in the calibration process, and the robot knowledge can know that the coordinates of the sphere center of the standard sphere calculated by the first laser line in the robot coordinate system are as follows:
in the formula (4), the amino acid sequence of the compound,
The pose of the robot T0 coordinate system under the world coordinate system of the robot is shown;
The position of the robot T0 coordinate system under the robot world coordinate system;
The attitude of the line laser under a robot T0 coordinate system;
the position of the line laser under the coordinate system of the robot T0;
l1 is the value of the center of the standard sphere calculated from the first laser line in the line laser coordinate system.
The coordinates of the sphere center of the standard sphere calculated by the second laser line under the robot coordinate system are as follows:
in the formula (5), the amino acid sequence of the compound,
The pose of the robot T0 coordinate system under the world coordinate system;
the position of the robot T0 coordinate system under the world coordinate system;
The attitude of the line laser under a robot T0 coordinate system;
the position of the line laser under the coordinate system of the robot T0;
l2 is the value of the center of the standard sphere calculated from the second laser line in the line laser coordinate system.
Since the position value of the center of the standard calibration sphere in the robot system is unchanged, the equation (4) and the equation (5) are equal, i.e
As can be seen from equation (7), if it is assumed thatEqual toAnd is multiplied byThe inverse matrix of (2) can be reduced to:
From the theoretical derivation above, if equation (8) is desired, due to the assumption that Equal toIn teaching each pair of laser lines, e.g. 1 st laser line, 2 nd laser line, to ensureThe same T0 posture of the robot is ensured, namely the movement of the robot in the 1 st laser line and the 2 nd laser line is ensured to be translation; the position value can be obtained through translational movement on the premise of ensuring that the T0 posture is unchanged. By adopting the same method, measuring N groups of laser lines again, at least 3 groups of measurement are needed for ensuring that the equation (8) can be solved, and the equation (8) can be solved by adopting a least square method for multi-measured data.
Thus, for convenience in mathematical representation, the following settings are made as one non-limiting embodiment, taking 5 groups as examples.
Firstly, measuring and acquiring values of the sphere centers of standard spheres calculated by five groups of laser lines under an online laser coordinate system, wherein the values are sequentially l1, l2, l3, l4, l5, l6, l7, l8, l9 and l10 according to the first group of first laser lines, the first group of second laser lines, the second group of first laser lines and the second group of second laser lines and the sequence of the laser lines.
Measuring and acquiring a position value of each laser line in the five groups of laser lines under a robot T0 coordinate system, and measuring and acquiring a posture and a position value of the robot T0 coordinate system under a robot world coordinate system under a state of each laser line in the five groups of laser lines, wherein the posture of the robot T0 coordinate system under the first group of laser lines under the robot world coordinate system is thatThe pose of the robot T0 coordinate system under the second group of the first laser lines under the robot world coordinate system isThe pose of the robot T0 coordinate system under the third group of the first laser lines under the robot world coordinate system isThe gesture of the robot T0 coordinate system under the fourth group of the first laser lines under the robot world coordinate system isThe pose of the robot T0 coordinate system under the fifth group of the first laser line under the robot world coordinate system is
Setting the value of the center of each standard sphere calculated by the first laser line in the online laser coordinate system minus the value of the center of each standard sphere calculated by the second laser line in the online laser coordinate system as a center difference value, for example, l12=l1-l 2, thereby obtaining a center difference value l12 of the standard sphere measured by the first two laser lines, a center difference value l34 of the standard sphere measured by the second two laser lines, a center difference value l56 of the standard sphere measured by the third two laser lines, a center difference value l78 of the standard sphere measured by the fourth two laser lines, and a center difference value l910 of the standard sphere measured by the fifth two laser lines.
Setting the position value of the second laser line in the robot T0 coordinate system minus the position value of the first laser line in the robot T0 coordinate system, e.gThe method comprises the steps of obtaining a difference value P21 of the position values of a first group of two laser lines T0, a difference value P43 of the position values of a second group of two laser lines T0, a difference value P65 of the position values of a third group of two laser lines T0, a difference value P87 of the position values of a fourth group of two laser lines T0 and a difference value P109 of the position values of a fifth group of two laser lines T0.
Order theEqual to formula (3), namely:
Order the
In the formula (c), l12 T、l34T、l56T、l78T、l910T is the transposed matrix of the first group to the fifth group of spherical center vector difference matrices respectively;
Order the
Reconstructing the matrix according to equation (d):
wherein the subscripts 1, 2, 3 in formula (e), formula (f), and formula (g) represent the first, second, and third elements of the respective vectors, respectively.
From the formulas (a) to (g), 9 unknowns in the formula (3) can be calculated as:
The 9 unknowns in the formula (3) calculated by the formulas (h), (i) and (j) are determined and optimized after calculating the 9 unknowns in the formula (3) because various reasons for errors exist in the numerical value measurement and calculation, for example, the pose of the robot T0 is consistent when two laser lines in each group cannot be measured, or the effective numerical value length of the calculated numerical value interception is different, and the like.
The linear laser coordinate system generated from the 3 column vectors in the formula (3) should theoretically be a standard unitized orthogonal coordinate system, but due to the above-mentioned error generation, it is necessary to check and judge the orthogonality and unitization thereof for determining the accuracy of the calculated formula (3).
As another non-limiting embodiment, in step (2-1), the orthogonality is determined using the angles between the 3 column vectors in equation (3).
The formula (k) is used for judging whether the 3 column vectors are orthogonal, if the calculated angle and the difference of 90 degrees are within +/-0.05 degrees, the precision requirement is met, and otherwise, the method is used for measuring and calculating again. Of course, the accuracy range, such as + -0.1 deg., can be properly widened according to the accuracy requirement.
As another non-limiting embodiment, when unitizing the calculated numerical values, three column vectors in the formula (3) are set respectively to obtain the formula (l);
the following is a unitized calculation of 3 column vectors,
Order the
Then
Similarly, the second and third columns of elements in the expression (3) are calculated using the vectors B and C, respectively.
So far, through the three steps of measurement, calculation and optimization, calculating an attitude matrix of the line laser coordinate system under the robot T0 coordinate system:
in this non-limiting embodiment, in the foregoing In the calculation of the matrix, by ensuring that the pose of the robot T0 of each group of two laser lines is the same, the position item of the line laser under the coordinate system of the robot T0 is eliminatedAt decoupling ofThe coupling of the attitude parameters and the position parameters is decoupled at the same time of 9 unknowns in the matrix.
From equation (7), a set of measurements of the same robot pose eliminates the coupling of the pose parameters and the position parameters, after having been calculatedOn the premise of matrix, the matrix calculation needs to be reconstructed
To calculateOne data is extracted from the same posture of each group to form an overdetermined equation group:
wherein in formula (o) For the pose of the line laser in the robot T0 coordinate system,For the position value of the robot T0 coordinate system under the first laser line in the robot world coordinate system,For the position value of the robot T0 coordinate system under the second group of the first laser line under the robot world coordinate system,For the position value of the robot T0 coordinate system under the third group of the first laser line under the robot world coordinate system,For the position value of the robot T0 coordinate system under the fourth group of the first laser line under the robot world coordinate system,The position value of the robot T0 coordinate system under the robot world coordinate system under the first laser line of the fifth group is obtained; The position value of the line laser in the robot T0 coordinate system is calculated by the first laser lines, l1 is the value of the sphere center of the standard sphere calculated by the first laser lines in the line laser coordinate system, l3 is the value of the sphere center of the standard sphere calculated by the second first laser lines in the line laser coordinate system, l5 is the value of the sphere center of the standard sphere calculated by the third first laser lines in the line laser coordinate system, l7 is the value of the sphere center of the standard sphere calculated by the fourth first laser lines in the line laser coordinate system, and l9 is the value of the sphere center of the standard sphere calculated by the first laser lines in the line laser coordinate system.
Simplifying equation set (o), left is the one containing unknown termIs defined by the following items:
the following system of least squares calculation equations (24) is applied, for convenience in mathematical representation, to construct the following matrix:
Based on the coefficient matrices (q), (r), the system of equations (p) is reduced to a matrix equation:
Solving from the matrix equation by using a least square method
The geometric decoupling method for calibrating the line laser in the robot system is verified on the ABB IRB 6700 robot and the LMI 2340 line laser, the line laser system can be calibrated simply, rapidly, accurately and stably, the geometric decoupling is solved, the linear programming calculation of the least square method is realized, and the method has the characteristics of rapid calculation and high precision, and can realize online calibration rapidly.
Therefore, the method solves the problem of nonlinear coupling of Euler angles by using a geometric decoupling method, simultaneously ensures that the rotation matrixes of the equation sets are identical by using the translational motion of the robot to eliminate nonlinear coupling items in the equation sets, and finally solves the linear equation sets by using a least square method to obtain the attitude matrixes of the line lasers and then solves the position variables.
Although preferred embodiments of the present invention have been described in detail herein, it is to be understood that the invention is not limited to the precise construction and steps set forth herein, and that other modifications and variations may be effected by one skilled in the art without departing from the spirit and scope of the invention.

Claims (8)

1.一种线激光在机器人系统中标定的几何解耦方法,其特征在于,包括:1. A geometric decoupling method for line laser calibration in a robot system, comprising: (1)、计算线激光坐标系在机器人T0坐标系下的姿态矩阵 (1) Calculate the posture matrix of the line laser coordinate system in the robot T0 coordinate system 进行至少三组激光线测量,并获取由所述至少三组激光线计算出的标准球的球心在线激光坐标系下的值,获取所述至少三组激光线中每条激光线在机器人T0坐标系下的位置值,获取在所述至少三组激光线中在每条激光线的状态下机器人T0坐标系在机器人世界坐标系下的姿态及位置值,其中,每组激光线中包括第一条激光线及第二条激光线,且机器人在所述第一条激光线及所述第二条激光线的运动为平移运动,计算获取所述姿态矩阵对应的9个未知量;Perform at least three groups of laser line measurements, and obtain the value of the center of the standard sphere calculated by the at least three groups of laser lines in the linear laser coordinate system, obtain the position value of each laser line in the at least three groups of laser lines in the robot T0 coordinate system, obtain the posture and position value of the robot T0 coordinate system in the robot world coordinate system under the state of each laser line in the at least three groups of laser lines, wherein each group of laser lines includes a first laser line and a second laser line, and the movement of the robot in the first laser line and the second laser line is a translational movement, and calculate and obtain the posture matrix The corresponding 9 unknown quantities; (2)、对步骤(1)获取的数值进行判断及优化;以及(2) judging and optimizing the value obtained in step (1); and (3)、计算线激光坐标系在机器人T0坐标系下的位置值 (3) Calculate the position value of the line laser coordinate system in the robot T0 coordinate system 在每组姿态相同的数据中各抽取出一个标准球的球心在机器人坐标系下的坐标,组成超定方程组,简化方程组使其成为左面含有所述位置值的项,应用最小二乘法计算方程组,由矩阵方程解出所述位置值在步骤(1)中,进行五组激光线测量;In each set of data with the same posture, the coordinates of the center of a standard ball in the robot coordinate system are extracted to form an overdetermined set of equations. The set of equations is simplified to become the left side containing the position value The least squares method is used to calculate the equation system, and the position value is solved by the matrix equation In step (1), five sets of laser line measurements are performed; 步骤(1)包括:Step (1) comprises: (1-1)、测量并获取由五组激光线计算出的标准球的球心在线激光坐标系下的值,测量并获取所述五组激光线中每条激光线在机器人T0坐标系下的位置值,测量并获取所述五组激光线中在每条激光线的状态下机器人T0坐标系在机器人世界坐标系下的姿态及位置值,其中,第一组第一条激光线下机器人T0坐标系在机器人世界坐标系下的姿态为第二组第一条激光线下机器人T0坐标系在机器人世界坐标系下的姿态为第三组第一条激光线下机器人T0坐标系在机器人世界坐标系下的姿态为第四组第一条激光线下机器人T0坐标系在机器人世界坐标系下的姿态为第五组第一条激光线下机器人T0坐标系在机器人世界坐标系下的姿态为 (1-1), measure and obtain the value of the center of the standard sphere calculated by the five groups of laser lines in the linear laser coordinate system, measure and obtain the position value of each laser line in the five groups of laser lines in the robot T0 coordinate system, measure and obtain the posture and position value of the robot T0 coordinate system in the robot world coordinate system under the state of each laser line in the five groups of laser lines, wherein the posture of the robot T0 coordinate system in the robot world coordinate system under the first laser line of the first group is The posture of the robot T0 coordinate system under the first laser line of the second group in the robot world coordinate system is: The posture of the robot T0 coordinate system under the first laser line of the third group in the robot world coordinate system is: The posture of the robot T0 coordinate system under the first laser line of the fourth group in the robot world coordinate system is: The posture of the robot T0 coordinate system under the first laser line of the fifth group in the robot world coordinate system is: (1-2)、设定每组的由第一条激光线计算出的标准球的球心在线激光坐标系下的值减去第二条激光线计算出的标准球的球心在线激光坐标系下的值为球心差值,获取第一组两条激光线测量出的标准球的球心差值l12,第二组两条激光线测量出的标准球的球心差值l34,第三组两条激光线测量出的标准球的球心差值l56,第四组两条激光线测量出的标准球的球心差值l78,第五组两条激光线测量出的标准球的球心差值l910;(1-2) Set the value of the center of the standard sphere calculated by the first laser line in the laser coordinate system minus the value of the center of the standard sphere calculated by the second laser line in the laser coordinate system as the center difference value, and obtain the center difference value of the standard sphere measured by the first two laser lines as l12, the center difference value of the standard sphere measured by the second two laser lines as l34, the center difference value of the standard sphere measured by the third two laser lines as l56, the center difference value of the standard sphere measured by the fourth two laser lines as l78, and the center difference value of the standard sphere measured by the fifth two laser lines as l910; (1-3)设定每组激光线中第二条激光线在机器人T0坐标系下的位置值减去第一条激光线在机器人T0坐标系下的位置值,获取第一组两条激光线T0位置值的差值P21,第二组两条激光线T0位置值的差值P43,第三组两条激光线T0位置值的差值P65,第四组两条激光线T0位置值的差值P87,第五组两条激光线T0位置值的差值P109;(1-3) Set the position value of the second laser line in each group of laser lines in the robot T0 coordinate system minus the position value of the first laser line in the robot T0 coordinate system, and obtain the difference P21 of the T0 position values of the two laser lines in the first group, the difference P43 of the T0 position values of the two laser lines in the second group, the difference P65 of the T0 position values of the two laser lines in the third group, the difference P87 of the T0 position values of the two laser lines in the fourth group, and the difference P109 of the T0 position values of the two laser lines in the fifth group; (1-4)、设定式(a)及式(b)(1-4), setting formula (a) and formula (b) 再设定Reset 其中,式(c)中,l12T、l34T、l56T、l78T、l910T分别为第一组至第五组球心矢量差值矩阵的转置矩阵;Wherein, in formula (c), l12 T , l34 T , l56 T , l78 T , l910 T are the transposed matrices of the first to fifth groups of sphere center vector difference matrices respectively; (1-5)、设定(1-5) Setting (1-6)、根据式(d),构造矩阵,得到式(e)、式(f)以及式(g):(1-6), according to formula (d), construct the matrix and obtain formula (e), formula (f) and formula (g): 其中,式(e)、式(f)以及式(g)中的下标1、2、3分别表示相应矢量的第一个、第二个、第三个元素;以及Wherein, the subscripts 1, 2, and 3 in formula (e), formula (f), and formula (g) represent the first, second, and third elements of the corresponding vectors, respectively; and (1-7)、根据步骤(1-1)~(1-6),计算出式(b)中的9个未知量分别为:(1-7), according to steps (1-1) to (1-6), the 9 unknown quantities in formula (b) are calculated as follows: (1-8)、计算得到线激光坐标系在机器人T0坐标系下的姿态矩阵 (1-8) Calculate the posture matrix of the line laser coordinate system in the robot T0 coordinate system 2.如权利要求1所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,步骤(2)包括:2. The geometric decoupling method for line laser calibration in a robot system according to claim 1, characterized in that step (2) comprises: (2-1)对式(b)中的3个列向量之间的夹角进行正交性判断;以及(2-1) Determine the orthogonality of the angles between the three column vectors in equation (b); and (2-2)对完成步骤(2-1)的3个列向量进行单位化。(2-2) Normalize the three column vectors obtained in step (2-1). 3.如权利要求2所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,在步骤(2-1)中,使用式(k)对式(b)中的3个列向量之间的夹角进行正交判断:3. The geometric decoupling method for line laser calibration in a robot system as claimed in claim 2, characterized in that, in step (2-1), formula (k) is used to perform orthogonal judgment on the angles between the three column vectors in formula (b): 当计算出的角度与90°的差值在±0.1°的范围之内,则判定步骤(1)得到的线激光坐标系在机器人T0坐标系下的姿态矩阵满足精度要求;When the difference between the calculated angle and 90° is within the range of ±0.1°, it is determined that the posture matrix of the line laser coordinate system obtained in step (1) in the robot T0 coordinate system meets the accuracy requirement; 当计算出的角度与90°的差值超过±0.1°的范围,则对步骤(1)中的激光线重新测量并计算,直至计算出的角度与90°的差值在±0.1°的范围之内。When the difference between the calculated angle and 90° exceeds the range of ±0.1°, the laser line in step (1) is remeasured and calculated until the difference between the calculated angle and 90° is within the range of ±0.1°. 4.如权利要求3所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,若计算出的角度与90°的差值在±0.05°的范围之内,则判定步骤(1)得到的线激光坐标系在机器人T0坐标系下的姿态矩阵满足精度要求。4. The geometric decoupling method for line laser calibration in a robot system as described in claim 3 is characterized in that if the difference between the calculated angle and 90° is within the range of ±0.05°, it is determined that the posture matrix of the line laser coordinate system obtained in step (1) in the robot T0 coordinate system meets the accuracy requirements. 5.如权利要求3所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,在步骤(2-2)中,包括:5. The geometric decoupling method for line laser calibration in a robot system according to claim 3, characterized in that in step (2-2), it includes: (2-2-1)、对式(b)中的三个列向量分别进行设定,得到式(l);(2-2-1), set the three column vectors in equation (b) respectively, and get equation (l); X=(x1x2x3)T X=(x 1 x 2 x 3 ) T Y=(y1y2y3)T Y=(y 1 y 2 y 3 ) T z=(z1z2 z3)T (l)z=(z 1 z 2 z 3 ) T (l) (2-2-2)、对步骤(2-2-1)中的所述三个列向量分别进行单位化计算,得到式(m);(2-2-2) Normalize the three column vectors in step (2-2-1) to obtain formula (m); A=XA=X (2-2-3)、对式(m)中的A=X进行计算得出式(n),得到式(b)的第一列元素;以及(2-2-3), calculating A=X in formula (m) to obtain formula (n), and obtaining the first column element of formula (b); and (2-2-4)、按照步骤(2-2-3),分别对式(m)中的矢量B及矢量C进行计算,得到式(b)的第二列元素及第三列元素,得到线激光坐标系在机器人T0坐标系下的姿态矩阵 (2-2-4) According to step (2-2-3), calculate the vector B and vector C in formula (m) respectively, obtain the second column element and the third column element of formula (b), and obtain the posture matrix of the line laser coordinate system in the robot T0 coordinate system 6.如权利要求5所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,在步骤(3)中,包括:6. The geometric decoupling method for line laser calibration in a robot system according to claim 5, characterized in that in step (3), it includes: (3-1)、构建超定方程组(o):(3-1) Construct an overdetermined system of equations (o): 其中,式(o)中的为线激光在机器人T0坐标系下的姿态,为第一组第一条激光线下机器人T0坐标系在机器人世界坐标系下的位置值,为第二组第一条激光线下机器人T0坐标系在机器人世界坐标系下的位置值,为第三组第一条激光线下机器人T0坐标系在机器人世界坐标系下的位置值,为第四组第一条激光线下机器人T0坐标系在机器人世界坐标系下的位置值,为第五组第一条激光线下机器人T0坐标系在机器人世界坐标系下的位置值;为线激光在机器人T0坐标系下的位置值;l1为由第一组第一条激光线计算出的标准球的球心在线激光坐标系下的值,l3为由第二组第一条激光线计算出的标准球的球心在线激光坐标系下的值,l5为由第三组第一条激光线计算出的标准球的球心在线激光坐标系下的值,l7为由第四组第一条激光线计算出的标准球的球心在线激光坐标系下的值,l9为由第一组第一条激光线计算出的标准球的球心在线激光坐标系下的值;Among them, the equation (o) is the posture of the line laser in the robot T0 coordinate system, is the position value of the robot T0 coordinate system under the first laser line of the first group in the robot world coordinate system, is the position value of the robot T0 coordinate system under the first laser line of the second group in the robot world coordinate system, is the position value of the robot T0 coordinate system under the first laser line of the third group in the robot world coordinate system, is the position value of the robot T0 coordinate system under the first laser line of the fourth group in the robot world coordinate system, is the position value of the robot T0 coordinate system under the first laser line of the fifth group in the robot world coordinate system; is the position value of the line laser in the robot T0 coordinate system; l1 is the value of the center of the standard sphere calculated by the first laser line of the first group in the online laser coordinate system, l3 is the value of the center of the standard sphere calculated by the first laser line of the second group in the online laser coordinate system, l5 is the value of the center of the standard sphere calculated by the first laser line of the third group in the online laser coordinate system, l7 is the value of the center of the standard sphere calculated by the first laser line of the fourth group in the online laser coordinate system, l9 is the value of the center of the standard sphere calculated by the first laser line of the first group in the online laser coordinate system; (3-2)、对式(o)进行化简,得到方程组(p);(3-2), simplify equation (o) to obtain equation system (p); (3-3)、计算方程组(p),构建出矩阵(q)及(r);(3-3), calculate the equation group (p) and construct the matrices (q) and (r); (3-4)、通过矩阵(q)及(r),对方程组(p)进行化简,得到矩阵方程(s);以及(3-4), simplify the equation system (p) through matrices (q) and (r) to obtain the matrix equation (s); and (3-5)、由矩阵方程(t)计算出线激光坐标系在机器人T0坐标系下的位置值 (3-5) Calculate the position of the line laser coordinate system in the robot T0 coordinate system using the matrix equation (t) 7.如权利要求6所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,在步骤(3-1)中,通过在每组姿态相同的数据中各抽取出一个构建组成所述超定方程组(o)。7. The geometric decoupling method for line laser calibration in a robot system as described in claim 6 is characterized in that in step (3-1), the overdetermined set of equations (o) is constructed by extracting one from each group of data with the same posture. 8.如权利要求6所述的线激光在机器人系统中标定的几何解耦方法,其特征在于,在步骤(3-3)及步骤(3-5)中,通过最小二乘法进行计算。8. The geometric decoupling method for line laser calibration in a robot system as described in claim 6, characterized in that in step (3-3) and step (3-5), calculation is performed using the least squares method.
CN202210163120.8A 2022-02-22 2022-02-22 Geometric decoupling method for line laser calibration in robotic system Active CN114654461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210163120.8A CN114654461B (en) 2022-02-22 2022-02-22 Geometric decoupling method for line laser calibration in robotic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210163120.8A CN114654461B (en) 2022-02-22 2022-02-22 Geometric decoupling method for line laser calibration in robotic system

Publications (2)

Publication Number Publication Date
CN114654461A CN114654461A (en) 2022-06-24
CN114654461B true CN114654461B (en) 2025-02-14

Family

ID=82027411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210163120.8A Active CN114654461B (en) 2022-02-22 2022-02-22 Geometric decoupling method for line laser calibration in robotic system

Country Status (1)

Country Link
CN (1) CN114654461B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115127497B (en) * 2022-07-04 2024-06-28 武汉科技大学 Tool coordinate system calibration method for three-dimensional measurement system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109773686A (en) * 2018-12-20 2019-05-21 武汉库柏特科技有限公司 A point laser line calibration method and system for robot assembly
CN110579738A (en) * 2018-06-11 2019-12-17 深圳市优必选科技有限公司 Method for acquiring direction angle of moving target and terminal equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102020204532B4 (en) * 2020-04-08 2025-02-27 Carl Zeiss Industrielle Messtechnik Gmbh Position measurement in a positioning device
CN112815836B (en) * 2020-12-30 2023-03-17 廊坊市亿创科技有限公司 Position conversion method of robot point laser

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110579738A (en) * 2018-06-11 2019-12-17 深圳市优必选科技有限公司 Method for acquiring direction angle of moving target and terminal equipment
CN109773686A (en) * 2018-12-20 2019-05-21 武汉库柏特科技有限公司 A point laser line calibration method and system for robot assembly

Also Published As

Publication number Publication date
CN114654461A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN107738254B (en) A method and system for converting and calibrating a manipulator coordinate system
CN107175660B (en) A kind of six-freedom degree robot kinematics scaling method based on monocular vision
CN111546328B (en) Hand-eye calibration method based on 3D vision measurement
CN113386136B (en) A Robot Pose Correction Method and System Based on Standard Spherical Array Target Estimation
CN112975973B (en) A hybrid calibration method and device applied to a flexible robot
CN112720483B (en) Method and device for acquiring combined mass center state, humanoid robot and readable storage medium
CN110370316B (en) Robot TCP calibration method based on vertical reflection
CN108705531A (en) The kinematic calibration method of industrial robot, calibration system, electronic equipment
Hu et al. Automatic calibration of hand–eye–workspace and camera using hand-mounted line laser
CN106777656A (en) A kind of industrial robot absolute precision calibration method based on PMPSD
CN106406277A (en) Robot Kinematics Parameter Error Optimization Compensation Method and Device
CN113160334B (en) Dual-robot system calibration method based on hand-eye camera
CN112775935B (en) Parallel robot calibration method based on terminal error detection information subset
CN111168719A (en) Robot calibration method and system based on positioning tool
CN110253574A (en) A Multi-task Manipulator Pose Detection and Error Compensation Method
CN108656116A (en) Serial manipulator kinematic calibration method based on dimensionality reduction MCPC models
WO2019114631A1 (en) Method and device for acquiring tcp coordinates of robot
Boby Identification of elasto-static parameters of an industrial robot using monocular camera
CN107457783A (en) Sixdegree-of-freedom simulation self-adapting intelligent detection method based on PD control device
CN110900608B (en) Robot Kinematics Calibration Method Based on Optimal Measurement Configuration Selection
CN110967017B (en) Cooperative positioning method for rigid body cooperative transportation of double mobile robots
CN114654461B (en) Geometric decoupling method for line laser calibration in robotic system
CN112862904A (en) Binocular camera calibration method based on mechanical arm
TWI708667B (en) Method and device and system for calibrating position and orientation of a motion manipulator
CN115816448A (en) Mechanical arm calibration method, device, equipment and medium based on optical position indicator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant