Summary of the invention
Task of the present invention is to solve the deficiency that in prior art, hand-eye machine people scaling method exists, and a kind of hand-eye machine people full automatic calibration method based on exponent product model is provided.
Its technical solution is:
A kind of hand-eye machine people full automatic calibration method based on exponent product model comprises the following steps:
A provides industrial robot, end binocular camera, a level crossing and some surveyor's beacons; The end binocular camera takes the detachable connected mode to be installed on the robot end, and surveyor's beacon is pasted on the minute surface of level crossing and place, robot end's instrument reference mark; Then enter step b,
B determines the initial position of robot, and the level crossing of selecting suitable position will be pasted with surveyor's beacon is positioned in end binocular camera field range, utilize simultaneously the end binocular camera to obtain one of the mirror image of level crossing, comprise minute surface surveyor's beacon information in this mirror image and reflex to the surveyor's beacon information that the end hand of mirror the inside is grabbed, be used for demarcating the trick relation; Then enter step c,
The c control begins to rotate one by one from the end joint, utilizes end binocular camera interval certain angle in each joint rotary course to take minute surface surveyor's beacon image once, until it exceeds the viewing field of camera scope; Suppose to obtain m in each joint motions process of robot
iThe width image, i=1 ..., n, n are the joint of robot number, utilize
Width image calibration camera and joint of robot parameter.
In above-mentioned steps a, the exponent product motion model of setting robot is:
G wherein
WT(θ) that robot is in θ=(θ
1, θ
2, θ
3..., θ
n) time end-of-arm tooling coordinate system T relative world coordinate system W transformation relation,
It is the motion spinor
Exponential matrix;
In above-mentioned steps b, setting the trick variation relation is A
ch,
A wherein
ocAnd A
Ch 'Be given data;
In above-mentioned steps c, suppose that the point that the end binocular camera is measured is designated as X in i joint rotary course
i=(x
i1, x
i2..., x
im), i=1 ..., n, x
ij∈ R
4 * numBe space three-dimensional homogeneous coordinates, m
iBe the number of times of camera measurement data in the rotary course of i joint, num is the number of measured point, space, and the joint parameter solution formula is:
X wherein
i,aAnd x
i,bX
iIn the homogeneous coordinates value of any two groups of data, can directly obtain spinor parameter ξ according to following formula
ij, then pass through X
iIn m
iThe group measurement data, every two groups obtain one group of solution, obtain by combination in twos
Group is separated, will
The group solution is averaged as final joint parameter, that is:
ξ wherein
iBe motion spinor coordinate.
The present invention has following useful technique effect:
1, realize simply.Do not need extra measuring equipment, only utilize self-contained end camera in each joint rotation of robot
Obtain in process
The width image can all be demarcated trick, camera, body.
2, the introducing error is little.Error source only has index of measuring accuracy of end camera.
3, precision is high.Error source is few, and utilizes the image calibration joint of robot parameter of calibration for cameras, and its degree of accuracy is higher.Description of drawings
Below in conjunction with accompanying drawing and embodiment, the present invention is further described:
Fig. 1 is the robot kinematics's illustraton of model in the present invention.
Fig. 2 is that the trick in the present invention concerns calibration principle figure.
Fig. 3 is the calibration principle figure in the present invention.
Embodiment
Shown in Fig. 1 is robot kinematics's illustraton of model.During initial position, world coordinate system W and tool coordinates are that T is based upon on robot end's camera, world coordinates ties up to initial position and maintains static, and tool coordinates is moved along with the machine human motion, supposes that there is the rotary joint of n series connection in robot, and the exponent product motion model of robot is:
G wherein
WT(θ) that robot is in θ=(θ
1, θ
2, θ
3..., θ
n) time end-of-arm tooling coordinate system T relative world coordinate system W transformation relation.
It is the motion spinor
Exponential matrix, specifically be expressed as follows:
Antisymmetric matrix for ω.ξ
iBe motion spinor coordinate, can be expressed as:
ω wherein
iAnd r
i∈ R
3, i=1 ..., n is joint turning axle unit's direction under world coordinate system and the position vector of turning axle, is collectively referred to as the spinor parameter, also referred to as joint parameter.And the coordinate of spatial point under world coordinate system can obtain according to following formula:
X
W=g
WT(θ) X
T(4) X wherein
T, X
W∈ R
4 * 1Be respectively the homogeneous coordinates of spatial point under tool coordinates system and world coordinate system.
Shown in Fig. 2 is the hand and eye calibrating schematic diagram.At first select a suitable attitude as robot initial position, and obtain the mirror image of the level crossing in field range, comprised minute surface surveyor's beacon information in this mirror image and reflexed to the surveyor's beacon information that the end hand of mirror the inside is grabbed.Namely utilize this two parts information acquisition trick relation, concrete grammar is as follows:
Consider the robot end at camera not within sweep of the eye, can utilize mirror to reflect it to it within sweep of the eye, as shown in Figure 2, C, H, O are respectively camera coordinates system, hand coordinate system and minute surface coordinate system, C ', H ' are corresponding virtual image coordinate system, X be the space a bit, its virtual image is X '.Before introducing the hand and eye calibrating process, two propositions of given first:
Proposition 1: by specularly reflected jiong coordinate system, if the left-handed system of being originally is right-handed system after reflection, vice versa;
Proposition 2: due to point and the duality of camera, the camera observation station X ' at some C place is equivalent to the camera observation station X that a C ' locates.
Postulated point X ' and the odd coordinate of X under camera C and O coordinate system are expressed as respectively
X
cAnd X
o, the coordinate transform between coordinate system O and C, C and C ', C and H ', C ' and H ', C and H is respectively A
oc, A
Cc ', A
Ch ', A
C ' h ', A
ch, A wherein
ocAnd A
Ch 'Be given data, A
chThe trick transformation relation of finding the solution for needs.
With
, X
cWith X
oBetween have a following relation:
X
o=A
ocX
c(6)
According to proposition 1 as can be known:
Bringing formula (5) and (6) into (7) arranges:
If note X
c′Odd coordinate for X under coordinate system C ', according to proposition 2 as can be known
, formula (8) can be changed into:
Camera coordinates is transformation relation A between C and C ' as can be known
Cc 'For:
Again according to the transformation relation between coordinate in Fig. 2 as can be known:
In addition, according to proposition 2 as can be known:
A
ch=A
C ' h '(12) formula (10) and (11) are brought in formula (12), can be got:
Trick relativeness A
chCan determine by formula (13) is unique.
As Fig. 3, the present invention does not need extra surveying instrument, only need utilize mirror and some surveyor's beacons to get final product.Its principal feature is: the one, and the principle of reflection of the having utilized mirror hand information that end camera field range is outer is transformed under camera coordinates system,
Complete hand and eye calibrating; The 2nd, the end camera that robot is self-contained is as surveying instrument, gridiron pattern (surveyor's beacon) on the minute surface of space is as measurement target, with the point of fixity in the field range of space as impact point, then in robot simple joint rotary course, impact point is taken, first utilize these image calibration camera intrinsic parameters, the reentry 3 d space coordinate value of impact point, wherein end binocular camera intrinsic parameter is that the planar approach of utilizing Zhang Zhengyou to propose is demarcated, and the scaling method of joint of robot parameter is as follows:
Suppose that the point that the end camera is measured is designated as X in i joint rotary course
i=(x
i1, x
i2..., x
im), i=1 ..., n, x
ij∈ R
4 * numBe space three-dimensional homogeneous coordinates, m
iBe the number of times of camera measurement data in the rotary course of i joint, num is the number of measured point, space, and the joint parameter solution formula is:
x
i,aAnd x
i,bX
iIn the homogeneous coordinates value of any two groups of data, can directly obtain spinor parameter ξ according to following formula
ijDue to X
iIn m is arranged
iThe group measurement data, every two groups can obtain one group of solution, can obtain by combination in twos
Group is separated, with this
The group solution is averaged as final joint parameter, that is:
The relevant technologies content of not addressing in aforesaid way is taked or is used for reference prior art and can realize.
Need to prove, those skilled in the art can also make such or such easy variation pattern under the instruction of this instructions, such as equivalent way, or obvious mode of texturing.Above-mentioned variation pattern all should be within protection scope of the present invention.