Summary of the invention
Purpose of the present invention is the shortcoming that Measuring Time is long, cost is high in order to overcome existing single-point calibration method, provides a kind of and utilizes a scaling ruler that distance restraint is provided, and realizes the trailing type measurement mechanical arm calibration method based on distance restraint.
For achieving the above object, the present invention takes following technical measures:
A kind of trailing type measurement mechanical arm calibration method based on distance restraint is characterized in that may further comprise the steps:
1) fixation measuring mechanical arm, fixedly scaling ruler, make it to keep static relatively with the measurement mechanical arm;
2) end of traction measurement mechanical arm makes first on the measuring head contact scaling ruler on the end demarcate the hole, forms the first configuration G1 of measurement mechanical arm;
3) use the error coefficient matrix of COMPUTER CALCULATION measurement mechanical arm under the first configuration G1, and calculate the minimum singular value of this error coefficient matrix;
4) with the characteristic of computing machine judgement minimum singular value, if this minimum singular value is bigger than normal, then note the reading of each joint code-disc, and carry out step 5); Otherwise, carry out step 2);
5) traction measurement mechanical arm end makes second on the measuring head contact scaling ruler on the end demarcate the hole, forms the second configuration G2 of measurement mechanical arm;
6) use the error coefficient matrix of COMPUTER CALCULATION measurement mechanical arm under the second configuration G2, and calculate the minimum singular value of this error coefficient matrix;
7) with the characteristic of computing machine judgement minimum singular value, if this minimum singular value is bigger than normal, then note the reading of each joint code-disc, and carry out step 8); Otherwise, carry out step 5);
8) calculate calibration equation according to above-mentioned two configurations (G1, G2) measurement data;
9) the extremely new attitude of mobile scaling ruler, and guarantee that the measurement mechanical arm can arrive the first demarcation hole of scaling ruler, any one the demarcation hole in the second demarcation hole;
10) repeating step 2)~8), draw the calibration equation under isomorphism type not respectively;
11) find the solution calibration equation at last respectively, obtain the deviation of each parameter of measurement mechanical arm;
12) above calibration process can repeat repeatedly, then result is repeatedly asked on average, with this mean value as final calibration result.
Purpose of the present invention can also reach by taking following measure:
One embodiment of the present invention are: the measurement mechanical arm is formed by connecting by measuring head, wrist joint, forearm, elbow joint, big arm, shoulder joint, waist joint and pedestal.
One embodiment of the present invention are: scaling ruler comprises the chi body, is respectively equipped with first at the two ends of chi body and demarcates the hole and the second demarcation hole.
One embodiment of the present invention are: during different station the mechanical arm basis coordinates be relative pose determine comprise the steps:
1) on workpiece, sets up several measurement key points and numbering;
2) at station for the moment, the key point of this station of proceeding measurement by these key points, is set up the station reference frame that a period of time, the mechanical arm basis coordinates was fastened;
3) mobile mechanical arm is to station two, proceeding measurement station key point, and by these key points, the reference frame that the mechanical arm basis coordinates is fastened when setting up station two;
The prerequisite that reference frame need overlap during 4) at last according to different station solves the relative pose that the mechanical arm basis coordinates is under the different station.
The present invention has following beneficial effect:
The present invention is owing to be the scaling method that adopts based on distance, therefore can avoid contrary the separating of kinematics in the prior art single-point calibration method, if carry out the scaling method l-G simulation test based on distance, then setting joint variable is different value, can obtain two not isomorphism types.End effector position when obtaining isomorphism type not by forward kinematics solution, thus distance between two points obtained.And in the existing single-point calibration method, two different measurement configurations must be arranged, could be listed as and write out at least one calibration equation.If carry out single-point constraint emulation rating test, once can carry out forward kinematics solution and obtain the calibration measurements data in twice measurement by given joint variable value, but the acquisition of another nominal data can only be separated by means of kinematics is contrary.Therefore, the present invention has that scaling method is simple, demarcation speed fast, demarcate effect accurately.
Embodiment
With reference to Fig. 1, the used measurement mechanical arm 1 of the present invention is formed by connecting by measuring head 11, wrist joint 12, forearm 13, elbow joint 14, big arm 15, shoulder joint 16, waist joint 17 and pedestal 18.
With reference to Fig. 2, the used scaling ruler 2 of the present invention comprises chi body 23, is respectively equipped with first at the two ends of chi body 23 and demarcates the hole 21 and the second demarcation hole 22.
With reference to Fig. 3, when doing staking-out work,
1) earlier measurement mechanical arm 1 is fixed on the next door of measured workpiece 3, then scaling ruler 2 is fixed on a certain position of measured workpiece 3, and makes both maintenances static relatively;
2) end of traction measurement mechanical arm 1 makes first on the measuring head 11 contact scaling rulers 2 on the end demarcate hole 21, forms the first configuration G1 of measurement mechanical arm;
3) use the error coefficient matrix of COMPUTER CALCULATION measurement mechanical arm 1 under the first configuration G1, and calculate the minimum singular value of this error coefficient matrix;
4) with the characteristic of computing machine judgement minimum singular value,, then note the reading of each joint code-disc, and carry out step 5 if this minimum singular value is bigger than normal; Otherwise, carry out step 2;
5) traction measurement mechanical arm 1 end makes second on the measuring head 11 contact scaling rulers 2 on the end demarcate hole 22, forms the second configuration G2 of measurement mechanical arm;
6) use the error coefficient matrix of COMPUTER CALCULATION measurement mechanical arm 1 under the second configuration G2, and calculate the minimum singular value of this error coefficient matrix;
7) with the characteristic of computing machine judgement minimum singular value,, then note the reading of each joint code-disc, and carry out step 8 if this minimum singular value is bigger than normal; Otherwise, carry out step 5;
8) calculate calibration equation according to above-mentioned two configuration G1, G2 measurement data;
9) mobile scaling ruler 2 is to new attitude, and guarantees that measurement mechanical arm 1 can arrive first of scaling ruler and demarcate any one of demarcating in the hole in hole, second and demarcate hole;
10) repeating step 2~8, draw the calibration equation under isomorphism type not respectively;
11) find the solution calibration equation at last respectively, obtain the deviation of each parameter of measurement mechanical arm;
12) above calibration process can repeat repeatedly, then result is repeatedly asked on average, with this mean value as final calibration result.
In the staking-out work process, mechanical arm 1 may run into the problem of flexible work space less than workpiece, at this moment, needs mobile mechanical arm to work on to new position, thereby finishes whole task.
After mechanical arm moved to reposition, its basis coordinates system must obtain this relative pose and can finish continuously to guarantee task with relative pose the unknown of world's coordinate system.
From computer graphics as can be known, the space arbitrarily not three of conllinear can set up a coordinate system.Based on this principle, the mechanical arm basis coordinates is definite method of relative pose in the time of can providing different station, the steps include:
1) on workpiece, sets up several measurement key points and numbering;
2) at station for the moment, the key point of this station of proceeding measurement by these key points, is set up the station reference frame that a period of time, the mechanical arm basis coordinates was fastened;
3) mobile mechanical arm is to station two, proceeding measurement station key point, and by these key points, the reference frame that the mechanical arm basis coordinates is fastened when setting up station two;
The prerequisite that reference frame need overlap during 4) at last according to different station solves the relative pose that the mechanical arm basis coordinates is under the different station.
Referring to Fig. 4, in the mechanical arm work space, be provided with 2 P
1, P
2, its corresponding configuration is respectively G
1, G
2The distance of point-to-point transmission is made as D
R2 position vectors with respect to mechanical arm world coordinate system (basis coordinates system) are:
Wherein, A
1Be P
1The theoretical pose matrix of pairing mechanical arm end effector, dA
1Be configuration G
1Pairing error vector,
A
1 RBe A
1Rotating part, J
E1Be configuration G
1Under the error coefficient matrix, |
XyzFor obtaining the position vector of end effector pose matrix; A
2Be P
2Pairing theoretical pose matrix, dA
2Be configuration G
2Pairing error vector,
A
2 RBe A
2Rotating part, J
E2Be configuration G
2Under the error coefficient matrix.Then 2 distances are
D
R=||(A
1+dA
1)|
xyz-(A
2+dA
2)|
xyz|| (5-2)
Expansion (5-2) has
The right-hand vector of expansion (5-3) is ignored the second order error item item by item, can get
Wherein |
xBe the x component in the position vector of getting matrix; D
IBe the distance of 2 theoretical positions, A
12x=(A
1-A
2) |
x, A
12y=(A
1-A
2) |
y, A
12z=(A
1-A
2) |
zSubstitution formula (5-1) gets to formula (5-4)
Formula (5-5) is the calibration equation based on distance.
The demarcation of mechanical arm basis coordinates system:
Each coordinate system pose synoptic diagram as shown in Figure 4 in this process.
In Fig. 4, P
1, P
2, P
3For measuring key point; W is a world coordinate system; T
BBe station mechanical arm basis coordinates system for the moment, it overlaps with W, measures key point at T
BUnder position coordinates be P
1, P
2, P
3O
cX
cY
cZ
cBe the reference frame of setting up according to the measurement key point, wherein O
cSame P
1Overlap line O
cP
2Be made as O
cX
cU
cZ
cX axle X
c, Z
cBe plane O
cP
1P
2Normal, determine Y then
CT
BCBe reference frame O
cX
cY
cZ
cAt T
BUnder conversion; T '
BKey point is measured at T ' by mechanical arm basis coordinates system during for station two
BUnder the position be P '
1, P '
2, P '
3Copy O
cX
cY
cZ
cBuilding method, by a P '
1, P '
2, P '
3Construct reference frame O '
cX '
cY '
cZ '
cT '
BCBe reference frame O '
cX '
cY '
cZ '
cAt T '
BUnder conversion; T '
BBMechanical arm basis coordinates when being station two ties up to the conversion under the W.
Wherein,
Y
C=X
C×Z
C。(5-6) is similar to formula, can
Obtain
Therefore finally obtain
T′
BB=T
BC*T′
BC -1 (5-8)
In actual mechanical process, can set a plurality of measurement key points, thereby set up a plurality of reference frames, solve a plurality of T '
BB, to these T '
BBAsk average, drawing final mechanical arm basis coordinates is transformation matrix.Because in the measuring process, unavoidably have measuring error, as measuring noise etc., set up a plurality of reference frames and ask T '
BBThe method of estimating can effectively be eliminated measuring error to T '
BBInfluence.
The present invention is that the physics of trailing type mechanical arm is demarcated distance D
RCan be by one given with the scaling ruler of two conical bores, and two distance between borehole draw with the superhigh precision three coordinate measuring engine measurement.When adopting large-scale active mechanical arm to carry out timing signal, but the position of mechanical arm end effector this moment is measured in driving device arm position to the work space; The driving device arm is to the another location again, and measures the end effector position.Can calculate the distance of mechanical arm end effector under two configurations according to measurement data.
Among the present invention, the general type of robot inaccuracy model is:
e=JΔx
The position and attitude error of wherein, e---gauge head; The matrix of coefficients of J---error, it is with robot architecture's parameter correlation, and when robot was in different configurations, J can be different; Δ x---various initial errors comprise structure and kinematic error, and it is caused by factors such as manufacturings.
Minimum singular value is meant a key concept commonly used in the mathematics (matrix theory).
According to the D-H of robot parameter model, each joint has defined a coordinate system on the measurement mechanical arm.If certain two or more X-axis or the parallel situation of Z axle are arranged in each coordinate system in the gage beam, this moment, the minimum singular value of error coefficient matrix can be less than normal, otherwise can be moderate or bigger than normal; Can whether draw moderate standard bigger than normal or less than normal by repeatedly measuring statistics in advance.
" each parameter " in the deviation of each parameter of mechanical arm that the 12nd step solved at last is meant:
The measurement mechanical arm includes 6 rod members, and each rod member has 4 D-H parameters, and each parameter refers to 6 * 4=24 (individual) parameter that the measurement mechanical arm is comprised.
Two configuration G1, G2 refer to:
During traction measurement mechanical arm, it can arrive another shape, and this shape just is configuration.Under the draw, mechanical arm can not arrive identical two kinds of configurations basically, therefore, we can say that in some sense any two configurations of measurement mechanical arm all can be different.Only measuring configuration needs the gauge head of measurement mechanical arm and a certain hole of scaling ruler to coincide.
Joint variable is meant:
Rod member includes 4 D-H parameters in the measurement mechanical arm, and wherein 3 parameters are to immobilize, and with the structurally associated of gage beam, another parameter is a variable, is the reading of joint code-disc.
" proceeding measurement key point " is meant:
Set key point when the measurement mechanical arm is in first station, it is numbered gets final product arbitrarily.When second station was worked, the number order during by first station was measured key point.