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 provides a kind of hand-eye machine people full automatic calibration method based on exponent product model.
Its technical solution is:
Based on a hand-eye machine people full automatic calibration method for exponent product model, comprise the following steps:
A provides industrial robot, end binocular camera, one piece of level crossing and some surveyor's beacons; End binocular camera takes detachable connected mode to be installed on robot end, on the minute surface that surveyor's beacon is pasted on level crossing and robot end's tool control point place; Then step b is entered,
B determines the initial position of robot, and select suitable position to be positioned over by the level crossing being pasted with surveyor's beacon in end binocular camera field range, utilize end binocular camera to obtain the mirror image one of level crossing simultaneously, comprise minute surface surveyor's beacon information and the surveyor's beacon information reflexing to the robot end's tool control point place inside mirror in this mirror image, be used for demarcating trick relation; Then step c is entered,
C control rotates one by one from end joint, utilizes end binocular camera certain angular interval in the rotary course of each joint to take minute surface surveyor's beacon image once, until it exceeds end binocular camera field range; Suppose to obtain m in each joint motions process of robot
iwidth image, i=1 ..., n, n are 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:
Wherein g
wt(θ) be that robot is in θ=(θ
1, θ
2, θ
3..., θ
n) time end-of-arm tooling coordinate system T-phase to the transformation relation of world coordinate system W,
it is motion spinor
exponential matrix;
In above-mentioned steps b, setting trick variation relation is A
ch,
wherein A
ocand A
ch'for given data;
In above-mentioned steps c, suppose that the point that end binocular camera is measured in i-th joint rotary course is designated as
x
ij∈ R
4 × numfor space three-dimensional homogeneous coordinates, m
ibe the number of times of camera measurement data in the i-th joint rotary course, num is the number of measured point, space, and joint parameter solution formula is:
Wherein x
i,aand x
i,bx
iin the homogeneous coordinates value of any two groups of data, can directly obtain spinor parameter ξ according to above formula
ij, then pass through X
iin m
igroup measurement data, every two groups are obtained one group of solution, are obtained by combination of two
group is separated, will
group solution is averaged as final joint parameter, that is:
Wherein ξ
ifor motion spinor coordinate.
The present invention has following Advantageous Effects:
1, realize simply.Do not need extra measuring equipment, only utilize self-contained end camera to obtain in robot each joint rotary course
trick, camera, body can all be demarcated by width image.
2, error is introduced little.Error source only has measuring accuracy index 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.
Embodiment
Shown in Fig. 1 is robot kinematics's illustraton of model.During initial position, world coordinate system W and tool coordinates system 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 motion of robot, assuming that there be n rotary joint of connecting in robot, then the exponent product motion model of robot is:
Wherein g
wt(θ) be that robot is in θ=(θ
1, θ
2, θ
3..., θ
n) time end-of-arm tooling coordinate system T-phase to the transformation relation of world coordinate system W.
it is motion spinor
exponential matrix, be specifically expressed as follows:
for the antisymmetric matrix of ω.ξ
ifor motion spinor coordinate, can be expressed as:
Wherein ω
iand r
i∈ R
3, i=1 ..., n is the position vector of turning axle unit direction, joint under world coordinate system and turning axle, is collectively referred to as 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)
Wherein X
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 hand and eye calibrating schematic diagram.First select a suitable attitude as robot initial position, and obtain the mirror image of the level crossing in field range, contain minute surface surveyor's beacon information in this mirror image and reflex to the surveyor's beacon information that the end hand inside mirror grabs.Namely utilize this two parts information acquisition trick relation, concrete grammar is as follows:
Consider robot end at camera not within sweep of the eye, mirror can be utilized 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 space a bit, its virtual image is X'.Before introducing hand and eye calibrating process, first provide two propositions:
Proposition 1: by specularly reflected jiong coordinate system, if the left-handed system of being originally, be right-handed system after reflection, vice versa;
Proposition 2: due to point and the duality of camera, at the camera observation station X' at a C place, be equivalent to the camera observation station X at a C' place.
The homogeneous coordinates of postulated point X' and X under camera C and O coordinate system are expressed as X '
c, X'
o, X
cand X
o, coordinate system O and C, C and C', C and H', coordinate transform between C' and H', C and H are respectively A
oc, A
cc', A
ch', A
c'h', A
ch, wherein A
ocand A
ch'for given data, A
chfor needing the trick transformation relation solved.Then X '
cwith X'
o, X
cwith X
obetween there is following relation:
X'
o=A
ocX′
c (5)
X
o=A
ocX
c (6)
According to proposition 1:
Bring formula (5) and (6) into (7) to arrange:
If note X
c'for the homogeneous coordinates of X under coordinate system C', according to the known X ' of proposition 2
c=X
c', then formula (8) can be changed into:
Transformation relation A then between known camera coordinates system C and C '
cc'for:
Again according to the transformation relation in Fig. 2 between coordinate:
In addition, according to proposition 2:
A
ch=A
c'h' (12)
Formula (10) and (11) are brought in formula (12), can obtain:
Then trick relativeness A
chuniquely can be determined by formula (13).
As Fig. 3, the present invention does not need extra surveying instrument, only need utilize mirror and some surveyor's beacons.Its principal feature is: one is, under extraneous for end camera fields of view hand information is transformed into camera coordinates system by the principle of reflection that make use of mirror, complete hand and eye calibrating; Two is as surveying instrument using end camera self-contained for robot, with the gridiron pattern (surveyor's beacon) on the minute surface of space for measurement target, using the point of fixity within the scope of spatial field of view as impact point, then in robot single joint rotary course, impact point is taken, first utilize these image calibration camera intrinsic parameters, to reentry the 3 d space coordinate value of impact point, wherein end binocular camera intrinsic parameter is that the planar approach utilizing Zhang Zhengyou to propose carries out demarcating, and the scaling method of joint of robot parameter is as follows:
Suppose that the point that end camera is measured in i-th joint rotary course is designated as
x
ij∈ R
4 × numfor space three-dimensional homogeneous coordinates, m
ibe the number of times of camera measurement data in the i-th joint rotary course, num is the number of measured point, space, then 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 above formula
ij.Due to X
iin have m
igroup measurement data, every two groups can be obtained one group of solution, can be obtained by combination of two
group is separated, by this
group solution is averaged as final joint parameter, that is:
The relevant technologies content do not addressed in aforesaid way is taked or uses for reference prior art to realize.
It should be noted that, under the instruction of this instructions, those skilled in the art can also make such or such easy variation pattern, such as equivalent way, or obvious mode of texturing.Above-mentioned variation pattern all should within protection scope of the present invention.