Scholarly article on topic 'An Inexpensive Method for Kinematic Calibration of a Parallel Robot by Using One Hand-Held Camera as Main Sensor'

An Inexpensive Method for Kinematic Calibration of a Parallel Robot by Using One Hand-Held Camera as Main Sensor Academic research paper on "Mechanical engineering"

Share paper
Academic journal
OECD Field of science

Academic research paper on topic "An Inexpensive Method for Kinematic Calibration of a Parallel Robot by Using One Hand-Held Camera as Main Sensor"

Sensors 2013, 13, 9941-9965; doi:10.3390/sl30809941



ISSN 1424-8220 ournal/sensors


An Inexpensive Method for Kinematic Calibration of a Parallel Robot by Using One Hand-Held Camera as Main Sensor

1 2 2 3

Alberto Traslosheros , José María Sebastián '*, Jesús Torrijos , Ricardo Carelli and

Eduardo Castillo 4

1 Postgrado, Universidad Aeronáutica de Querétaro, Carretera Estatal 200, Tequisquiapan 22154, 76270 Colón, Mexico; E-Mail:

2 CAR-UPM-CSIC, Universidad Politécnica de Madrid, c/José Gutiérrez Abascal 2, 28006 Madrid, Spain; E-Mail:

3 Instituto de Automática, Universidad Nacional de San Juan, Av. San Martín Oeste 1109, 5400 San Juan, Argentina; E-Mail:

4 Instituto Politécnico Nacional, CICATA, México, Department of Mechatronics, Cerro Blanco 141, 76090 Querétaro, Mexico; E-Mail:

* Author to whom correspondence should be addressed; E-Mail:; Tel.: +34-91-3363-061; Fax: +34-91-3363-010.

Received: 21 May 2013; in revised form: 27 June 2013 /Accepted: 27 July 2013 /

Published: 5 August 2013

Abstract: This paper presents a novel method for the calibration of a parallel robot, which allows a more accurate configuration instead of a configuration based on nominal parameters. It is used, as the main sensor with one camera installed in the robot hand that determines the relative position of the robot with respect to a spherical object fixed in the working area of the robot. The positions of the end effector are related to the incremental positions of resolvers of the robot motors. A kinematic model of the robot is used to find a new group of parameters, which minimizes errors in the kinematic equations. Additionally, properties of the spherical object and intrinsic camera parameters are utilized to model the projection of the object in the image and thereby improve spatial measurements. Finally, several working tests, static and tracking tests are executed in order to verify how the robotic system behaviour improves by using calibrated parameters against nominal parameters. In order to emphasize that, this proposed new method uses neither external nor expensive sensor. That is why new robots are useful in teaching and research activities.

Keywords: kinematic calibration; external sensor calibration; one-camera-in-hand sensor; parallel mechanism; parallel robot; visual servoing

1. Introduction

Parallel robots or parallel kinematic machines (PKM), in contrast to serial robots, are characterized by high structural stiffness, high load operation, high speed and acceleration of the end effector and high accuracy positioning of the end effector. This is why parallel robots are commonly used in tasks such as surgery, material machining, electronics manufacturing, and product assembly among many other applications. In order to reach such high robot accuracy, it is necessary to avail robust and reliable calibration methods, which is quite difficult to obtain from both theoretical and practical point of view, even if it could be performed off-line. Robot accuracy can be affected by increasing backlash due to robot operation, thermal effects, robot control, robot dynamics [1], manufacturing errors and element deformation [2,3]. Nowadays, there are many robot calibration methods, so it is not easy to provide a good classification in order to know the advantages and disadvantages of each one. Furthermore, there are even some hybrid calibration methods. However, in general, it is possible to classify different calibration strategies in three main groups by considering the location of the measurement instruments and their additional elements (for a good overview, see [4]). Thus, there are external, constrained and auto calibration methods. External calibration is based on measurements of several poses (if orientation is considered) of the robot end effector (or other structural element) by using an external instrument. Constrained calibration methods rely on mechanical elements to constraint some kind of motion of the robot during the calibration process. This method is generally simple and it is considered the most inexpensive. And finally, auto calibration methods are those that calibrate the robot automatically, even during the robot operation [2,5-7]. In general auto (or self) calibration methods are more expensive due to their complexity. They are even used for including redundant sensors [8], redundant elements or more complex algorithms. The calibration method shown in this article is considered an external calibration method.

As previously mentioned, external calibration can generally be carried out by measuring pose parameters of the end effector of the robot (or other elements of the robot) completely or partially. Measurements of the pose of a platform can be made with a laser [9] and a coordinate measuring machine (CMM) [2,10], commercial visual systems [11], laser sensor [12], including additional passive legs [13], interferometers [14], LVDT and inclinometers in [15,16], theodolite [17], gauges [18], double ball bar (DBB) [19], inspection of a machine part that is dedicated to the calibration process [2,20], accelerometers [21], or visual systems and patterns that have been widely studied (i.e., chess-board) [6,22-25]. The above examples represent different strategies that can be used in order to obtain kinematic information about the robot, but in general, calibration methods impose virtual or real constraints on the poses of the end effector (or mobile elements). By choosing an appropriate method, a calibration can be an economical and practical technique in order to improve accuracy of a parallel robot (PKM) [25].

Generally, the goal of a kinematic calibration process is to obtain the constraints of quite large measured poses (called calibration poses) in order to determine which geometry (distances or angles of elements) of the robot is the best to satisfy the above constraints [26]. It should be mentioned that there are more recent approaches, which can be identify both model structure and parameters [27], obtain a range of solutions (interval analysis) that guarantee parameter values to satisfy the calibration equations or approaches that obtain a few, but high accuracy poses [9]. The above basic idea has been applied to the calibration of serial and parallel robots. The main differences are found in the measurement instruments and strategies. Visual methods are becoming more popular due to their simplicity and low cost compared to other methods. Parallel robots visual techniques were first proposed by Amirat [28]. Stereo visual methods are developed [29,30] but other visual methods based on a monocular system [6,22-25,31,32] propose using a pattern or marks on a flat surface. These kinds of patterns are employed in camera calibration where intrinsic and extrinsic parameters [33] can be obtained. By means of the extrinsic parameters of the camera it is possible (by attaching the camera or the pattern to the end effector of the robot) to obtain the pose of the end effector of the robot and consequently consider the poses as calibration poses.

In this paper a novel, inexpensive, and external calibration method to calibrate a parallel robot with three DOF is proposed. In order to obtain the joint and 3D incremental positions, the proposed method utilizes positions (not absolute but incremental positions) from the resolvers of the motors and visual information obtained from a spherical element. Once the above information is obtained, it is used in the constraint equations to solve them numerically and obtain the best set of geometrical parameters that will satisfy the set of equations. Finally, several tests are executed in order to check the best behaviour with calibrated parameters against nominal parameters.

The main contribution of this approach is the use of low-cost sensor for calibrating the robot and the methodology used with the approval of the obtained results. Also it allows the evaluation of the position accuracy of homemade robot and the easy application to other robots developed in educational and research teams.

2. System Description

The main objective of the proposed method is to calibrate a parallel robot of the system called RoboTenis. The calibration of the robot is used for improving accuracy of its visual servoing algorithms and developing future tasks such as playing a game of ping-pong. The RoboTenis system was created to study and design visual servoing controllers and to carry out object tracking under dynamic environments. The mechanical structure of the RoboTenis system was inspired by the DELTA robot [34,35]. Its vision system is based on one camera allocated at the end effector of the robot. Basically, the RoboTenis platform (Figure 1a) consists of a parallel robot and a visual system for acquisition and analysis. The maximum end effector speed of the parallel robot is 6 m/s and its maximum acceleration is 58 m/s2. The visual system of the platform RoboTenis [36] is made up of a 0.05 kg camera that is located at the end effector (Figure 1b,c) and a frame grabber (SONY XCHR50 and Matrox Meteor 2-MC/4 respectively). The motion system is composed of three AC brushless servomotors, Ac drivers (Unidrive), and planetary gearboxes. The joint controller is implemented in a

DS1103 card (software implemented in ANSI C). The camera has been calibrated following the method proposed by Zhan [32].

Figure 1. (a) System RoboTenis, (b) Robot camera, (c) Robot environment.

(a) (c)

3. Constraint Equations

Constraint equations for the calibration method were obtained from a kinematic model of the robot. It is important to emphasize that the transformation matrix, between the camera coordinates system and the effector coordinates system, does not intervene in the equations of constraint used in the calibration of the robot, but it is obtained during the camera calibration process. Transformation matrix was divided into rotation and translation components. The rotation matrix was obtained independently from the robot calibration, whereas translation matrix is not necessary since the camera is fixed to the end effector and the model of the constraint equations is incremental. Figure 2 shows a sketch of the parallel robot, where:

Zo is the robot reference frame

i is the forearm and arm number, (i c {1,2,3})

k is the incremental measurement number, (k c N)

Ai is the joint robot base arm, revolute axis of motor i

Bi is the joint arm and forearm i, Bi = [Bx By Bz]Ti

Ci is the joint effector forearm i, Ci [Cx Cy Cz] i

P is the centre of the end effector, P = [Px Py Pz] T

P0 is the initial end effector position, P0 = [P0x Poy Poz] T

b, ht H, 0, 0,o

is the arm length for the joint i is the forearm i length is the distance from P to Qi

is the distance from the robot reference frame Zo to Ai is the motor angle

is the initial motor angle (unknown)

is the angle in which point Ai is allocated in the XY plane of the robot reference frame

Figure 2. A sketch of the RoboTenis system.

Z ▲ Y,

The constraint equations are based on the movement of the forearms with respect to the robot arms [37]. In Delta robot, the forearms are parallelograms that link the end effector to the arms by means of spherical joints. Spherical joints allow modelling the movement of the end effector as the intersection of three spherical surfaces that are described by points C in Figure 3. By inspecting Figures 2 and 3, it is possible to obtain the surface of a sphere described by the point Ci with centre in Bi as:

rt = (Cx - Bx )2 + (Cy - By )2 + (Cz - Bz )2 - b2 = 0

where Bi and Qi can be expressed in the robot frame, Zo as:

(H + a cosd) cosfi (H + a cosd) sinfi a sind

" Bx '

_ Bz _

~CX ' cos$ - sinfi 0" "-h

cy — - sinfi cos$ 0 0

Cz _ _ P; _ 0 0 1 0

Since incremental joint and incremental end effector positions can be obtained (a similar approach for serial robots can be found in [38]), each absolute measurement can be expressed as:

Qk - Qo

-0t and P - Pn

Observe that 0i0 and P0 are unknown but &ik = A0ik = dik - Oi0 and nk =APk =Pk - Po are incremental positions and measured by the resolvers and the camera. So Vk = [&1 02 ©3 nx ny nz]k is a vector of measured parameters and it represents incremental positions of the end effector; they are measured from sphere images and k is the incremental measurement number.

Figure 3. One leg profile of the RoboTenis system.

4. Solution of the Constraints Equations

Not all of the robot parameters have an effect on the kinematic model and as a consequence they cannot be identified. This fact is known as observability of the term. An observability measurement can be derived from the Jacobian of the constraint equations. This Jacobian is called observation matrix and observable parameters can be obtained by its QR decomposition [39]. In the model, by means of the QR decomposition, the influences of the parameters and Hi are difficult to observe. For this reason they are not identified in this work but the nominal value is taken into account. On the other hand, identifiable parameters are: ai, bi, hi, and the reference positions of the actuators and the end effector of the robot: 6i0 and P0 respectively (P0 is the initial end effector position). Thus the unknown parameters can be expressed as: u = [a,- bi hi 6i0] and U = [u u2 u3 Px0 Py0 Pz0]

Substituting the incremental Equations (3) in Equations (2) and (1), the constraint equations can be arranged as:

rk = (Px0 + h cosfr + nxk - (at cos(ei 0 + &lk ) + H) cos0t )2 +(pyo + h sinh + nyk - (ai cos(er0+&lk)+Hr) swfii)2 (4)

+ (Pzo + nzk - at sin(0io + &k))2 - b2 = 0

In order to solve the above equations, Equation (4) is grouped as:

0(U, Vk ) = [rn... riK r21... r2K r31... r3K ]T (5)

Note that because the constraint equations are not linear, their solution is no exactly satisfied, thus, commonly, an approximate solution is obtained by numerical algorithms such as the Gauss-Newton method. Other possible alternatives are shown in [40]. By expressing the constraints in Equation (5) in them Taylor linear approximation (to be solved iteratively):

0(un+i ,V)« 0(un ,V)+J (Un ,Vk )(Un+i - Un) = o (6)

where n is the iteration number and J3k x 15 is the Jacobian of the constraint equations or the observation matrix, which is given by:

J (U n V) =

dru dru 0 ... 0 0 ... 0 drn dru drn

dax ddw dPx 0 dPyo dPz 0

J Ik =

drik drik 0 ... 0 0 ... 0 drik drik drik

dax d0w dPx 0 dPy 0 dPz 0 _

0 ••• 0 dr- dr21 0 ... 0 dr21 dr21 5^21 ]

da2 0 SPy 0 SPZ 0

0 ••• 0 dr* dr2k 0 ... 0 dr2k dr2k dr2k

da2 SPX 0 SPy 0 5Pz 0 _

0 ••• 0 0 •• 0 dr3l dr3l dr3l 5^311

da3 d03o SPX 0 P 5Pz 0

0 ••• 0 0 •• 0 dr3k dr3k dr3k sr3k dr3k

da3 d03o SPX 0 5Pz 0 _

Finally the parameters are iteratively obtained by:

Un+1 = U - n J (Un ,Vk )+0(Un ,Vk) = 0

where, J is the pseudo inverse Jacobian. Initial values (U0) are given by the nominal p

pose of the robot (given from nominal parameters). In the constraint equations in Equation (4), the units of the Jacobian (7) are homogeneous. There is not need to normalize the Jacobian.

5. Visual Measurement System

The visual measurement system is made up of a fixed (by a transparent rod) ball and a calibrated camera that is located at the end effector of the robot. The visual system has to get the relative robot position with respect to the ball in order to deliver values used in Equation (8) to the joint incremental and the end effector position. In this section, various fundamental points are analyzed to reach a good accuracy in the parameters from the robot calibration. On the one hand, it is necessary to set the wanted end effector positions to their number. On the other hand, it is also necessary to get the visual data with the greatest accuracy as possible. Besides using subpixel information, it has been considered important to correct two ball projection distortions by mean of a novel algorithm. The projected sphere is seen as an ellipse in the image. A first effect to correct is that the ellipse does not match with the projection of a ball section with the real ball centre. The second effect is the difference between the

axis ellipse extremes and the values obtained in the horizontal and vertical lines that cross the ellipse centre (see Figure 4).

5.1. Selection of Calibration Poses and Obtained Robot Parameters

In order to solve the system of constraint equations, a set of incremental positions (resolvers and end effector) is needed. Several simulations have shown that at least 6 different perfect pose measurements are required. However, it is obvious that perfect measurements cannot be obtained. Therefore, it is necessary to choose best calibration poses. Thus, errors in the parameters of the robot are especially critical when the calibration pose is near a singularity. However in a practical calibration process, if poses are extremely close to singularities, they can produce unpredictable movements (due to kinematic errors). In this work, the robot workspace is numerically well known, by using nominal values, and the calibration poses are chosen randomly from the workspace boundaries. Thus if a pose is located between 5 and 10 cm from a singularity, then it is included as a calibration pose. The experiments were implemented with 300 poses and each measure is the mean of 500 images in order to avoid noise from image acquisition (image acquisition rate: 8.34 ms) 21 minutes are needed for the acquisition of all images. Additionally, it is necessary to wait 4 seconds at each change of pose in order to ensure the absence of any vibration in the robot or the holding structure. The image processing is performed while the acquisition process, while the time taken by the optimization algorithm is almost negligible compared to the rest (about 5 seconds). Due to its simplicity, the calibration process is done automatically in 40 minutes and it can be calibrated on-line. Several calibrations have been executed and then several sets of calibrated parameters have been used in the initial tests. Since similar results have been obtained, the set of calibrated parameters that produces less error in the tests (see Section 6) has been chosen to compare with the nominal parameter in the rest of the tests. In Table 1, both parameter sets are shown.

Figure 4. Projection of the ball in the image plane.

Optical Axis

Table 1. Robot kinematic parameters, nominal and calibrated.

Nominal Calibrated

i = 1 i = 2 i = 3 i = 1 i = 2 i = 3

at (mm) 500 500 500 500.89 500.01 499.96

bi (mm) 1,000 1,000 1,000 1,002.86 1,001.37 1,001.28

hi (mm) 50 50 50 48.69 49.96 48.68

8i (degrees) 0 0 0 0.316 0.844 0.936

Px (mm) 0 5.31

Py (mm) 0 0.31

Pz (mm) 750 743.74

(degrees) 0 120 240 0 120 240

H; (mm) 210 210 210 210 210 210

Parameters that were not estimated.

5.2. Three-Dimensional Position Correction

As previously mentioned, the aim is to obtain the position of the centre of the ball, (XB, YB, ZB) shown in the camera coordinates, from the acquired visual information. With the data from the kinematic camera calibration, the relative position between the robot and the fixed ball is determined. In this section, an algorithm that makes a first correction of the ball projection in order to increase the accuracy of the detection is detailed out. The projected sphere is seen as an ellipse in the image. Nevertheless, the ellipse does not match with the projection of a ball section with the real ball centre. This little difference thereby affects the obtained position. In the method description a 2D model as shown in Figure 5 is used. The plane Xc-Zc (camera reference system) that contains the sphere centre (Yc = YB) is shown. On the other hand, each point in the image is related by a line that passes through the optical centre of the camera. In this case, the interesting points are the points that belong to the two diametrically opposed tangents to the sphere.

Figure 5. Simplified projection of the ball in the image plane.


V ^bVB),


Image plane

*/. Vi

The image points, xu1 and xu2, in central images coordinates correspond with the projection of the points P1 and P2, whose distance is not the ball diameters strictly. So:

X1 = and X2 = a2 Z2 (9)

The values a1 and a2 are obtained from the projection of the tangential points to the sphere, xul and xu2. It will be:


Xu1 _ X1 _ . xu2 _ X2 _ „

f - Z" -a • - -T, -a: (10)

where, f is the focal distance (determined in the camera calibration process). The sphere is fixed in the space, its radio is known (RB = 19 mm), and the distance of the line that is tangent to the perimeter to the centre of the sphere (XB, YB, ZB) is given by:

\XB ~ai,2ZB

^1 + a]

The term (XB -a12ZB) has different sign in the extreme values (it is null for values near to the mean value), then following equations are possible:

- XB +aZB — RBJT+a[


XB -a2ZB - RW1 + a2

From here it can obtain XB and ZB directly but it is necessary to take the Yc-Zc plane information. So, the same way in this plane the tangential points will fulfil:

Y1 =PlZ1 3nd Y2 =P2Z2 (13)

The values of p1 and are got from the projection of the tangential points to the sphere, yu1 and yu2. It will be:

yu1 _Y1 _ a . yu2 _ Y2 _ n ,

-- Z-P1 ■ -- z:-P2 (14)

Likewise, considering the distance from the sphere centre to each tangent line:

Yb -pA


With similar reasons that for Equation (12):

-Yb+pZB - RB41+P

YB -PZB - R^1+P:

Then, with Equations (12) and (16) there are four equations with three unknowns, (XB, YB, ZB), that can be solved using the least squares method.

5.3. Ellipse Ball Projection Shape Correction

The second developed correction allows calculating the ellipse axes (this ellipse is the projection of the sphere on the image) from the obtained values in the horizontal and vertical lines with intersection in the ellipse centre (see Figure 6). In Figure 6, take note that xu1 and xu2 are not on the axis (the same for the points yu1 and yu2 their use thereby influences negatively in the determination of the sphere position (according to it is described in Section 5.2). The objective is to obtain the axes major and minor of the projected ellipse in the image (ae, be) from the known information (xu1 and xu2). Once the

semi-minor axis of the projected ellipse is calculated, the algorithm seen in Section 5.2, in order to calculate the centre of the sphere definitively, is used.

Figure 6. Ellipse of the sphere projection on the image plane.

Figure 6 shows the error due to projection deformation; it can be modelled by knowing the angle 6z and the object position along the axis XC. 0z is the angle between the optical axis and the line that passes through the centre of the ball and the centre of the projected ball. Note that 6z coincides with the angle by where the image plane can be rotated around the minor axis of the ellipse in order to project a circle on the plane image, thus:

6 = a cos

+ YB 2 + ZD

where (Xb, Yb, Zb) is the previously estimated position of the sphere centre in the camera coordinates system. On the other hand, the minor (be) and major (ae) axes of the projected ellipse are related by:

be = aecos(6z) (18)

Observing Figure 6, it is deduced that the rotated ellipse is modelled suitably with the canonical parametric model. The projected ellipse in its rotated canonical parametric form can be expressed as:

Xue = be COs(6e ) COs(6r ) " ae Sin(6e ) Sin(6r ) + Xuc yue = be COs(6e ) Sin(6r ) + ae Sin(6e ) COs(6r ) + y^c

where de is the angle of a point in the canonical form of the ellipse, 6r is the angle by which the ellipse is rotated around the Z axis of the camera (Equation (19)) and (xuc yuc) is the centre of the ellipse in the image, Figure 7.

6 = arctan

_ J uc V xuc j

The ellipse point in the ellipse horizontal line that pass by the centre satisfies (see Figure 7) xuc = xue + (xu2-xu1 )/2; yue = yuc. By substituting in Equation (19) it is possible to obtain:

(x«2 " xul )/2 = be cos(6e ) cos(6r ) - ae sin(0e ) sin(0r )

0 = be cos(0e) sin(0r) + ae sin(0e) cos(0r)

By substituting Equation (18) in (21) and clearing for ae and de finally it is obtained:

0e = arctan(-tan(0r) cos(02))

(xu 2 - xu1)/2

0 ae =

cos(6z ) cos(6e ) cos(6r ) - sin(6e ) sin(6r )

With the value of ae, be is calculated and setting in Equation (19) the values of 0e = 0, ^ , n, ^ ,

allows us to determinate the new values for the extreme points used in the Equations (10) and (14); afterwards, the sphere centre position is calculated with the Equations (12) and (16). And so on. It could continue calculating with the new data this algorithm, but it has been checked that the improvement is not appreciable after a second iteration.

Figure 7. Angle Qr.

5.4. Summary of the Proposed Calibration Method

The proposed calibration algorithm is executed according to the following steps:

I. Initialize the actuators of the robot in a home position (6i0, that it is taken as unknown in the calibration algorithm).

II. Randomly, inside of the workspace (not necessary well conditioned but near of the workspace boundaries) of the robot, generate a set of 300 poses of the robot to be used as calibration poses.

III. The home of the robot is taken as unknown (6i0 and P0), but incremental measurements are acquired from: encoders of the actuators (incremental angles, 0ik) and from the visual system (incremental poses, nk).

a. Acquire 500 images in each pose of the robot (using the set in II) and by using image processing from each image a1, a2, p1, and are obtained. By using Equations (12) and (16) obtain (XB, Yb, Zb) is obtained.

b. In order to correct the projection of the spherical object in the image, use Equation (22) to correct (Xb, Yb, Zb) and repeat above step once.

IV. Obtain new parameters of the robot by using above incremental measurements and equation in (8). It is well known that Newton-Raphson method could not converge to useful value. Thus result should be tested.

6. Results

A set of test cases is implemented to check the goodness of the parameters obtained by the calibration algorithm. The behaviour between a calibrated and a not calibrated robot system is compared. Two types of tests, static and tracking tests have been implemented. By executing static tests, it is determined how calibration parameters affect the robot positioning. By the second type, it is determined how calibration parameters affect the tracking tasks in which the RoboTenis has been designed.

6.1. Static Tests

The objective of the static tests is to quantify the effect over the robot positioning by using the parameters obtained from the robot calibration process against the nominal parameters. Both parameter sets are shown in Table 1. Furthermore, the tests contribute significant information about the system behaviour. The test environment is made up of the RoboTenis (the system to test), a vision camera (measurement system) and a control element. Following the same idea in the robot calibration algorithm, the vision camera fixed to the robot hand in order to see the fixed objects in the robot visual area, is used as lonely measurement too. In order to simplify, the control element is two-dimensional formed by a plane surface with 25 black circles of 40 mm of diameter separated by 100 mm to each other, see Figure 8. A three-dimensional control element would have complicated the process without a significant information contribution. The circles have been printed on high quality and accuracy and the paper is glued to a rigid plate to make a plane exact. This control element is placed on vertical places in different distances from the robot and on a parallel plane to the image plane in each test, as see in Figure 8.

In order to evaluate the results in the robot motion, the data from the visual system when it sees the control element have been analyzed. Indeed, the repeatability of the three-dimensional data, when a circle to 200 mm of distance is seen by the camera in the image centre (to minimize the camera calibration errors) with the robot blocked, has also been analyzed. The visual resolution is 0.4 mm per pixel approximately in the horizontal axis. The circle position is determined by analysis of the circle rim with subpixel precision. Other results are the centre and diameter. A loop of 50 samples with the robot blocked allows the repeatability of the measurement to be obtained. Some representative data are shown in Table 2. It is important to emphasize the difference between Xc and Yc coordinates (image plane), due to a different camera resolution and a bigger uncertainty in the camera Zc axis since it depends on the circle diameter.

Figure 8. RoboTenis system and control element.

Table 2. Standard deviation and Range (max value-min value) of 50 samples.

Axis Standard deviation Range (mm)

Xc 0.014 0.059

Yc 0.038 0.163

Zc 0.092 0.497

The high variation of the data shown in Table 2 means; it is not possible to use any visual measurement to estimate the robot position with high accuracy. In the static measurements, the mean of 500 samples of the circle is used because it is significantly more accurate. Standard deviation and Range for 25 measurements calculated one by one from 500 samples are shown in Table 3.

Table 3. Standard deviation and Range for 25 measures analyzed.

Axis Standard Deviation Range (mm)

Xc 0.0025 0.0096

Yc 0.0049 0.0150

Zc 0.0212 0.0846

The repeatability of the measurement according to the ISO 9283 [41] (see Appendix) is 0.0635 mm. The data obtained with other test sets are similar.

The next element to be considered is the robot system itself. The maximum accuracy depends on the considered working point. With the used encoders, it is not possible to guarantee an accuracy that is less than 0.02 mm. In order to determine the robot position, the camera is placed 200 mm of distance. in front of each circle The robot analyzes the image and fixes its position till the circle centre matches the image centre, with an error less than 1 pixel (to minimize the camera calibration errors). The robot position data from the encoders are corrected with the vision system data. As previously described, in order to minimize the error in the visual data acquisition, a reliable measurement for the mean of 500 snapshots and simple data processes are considered. In such manner, accurate calculations of robot position with respect to the control element can be obtained.

6.1.1. Positioning Repeatability Analysis

Only positioning repeatability has been analyzed as the first analysis. Position accuracy depends on the calibration parameters used. It is the main aim of this research and is analyzed in Section 6.1.2 with incremental data. Orientation repeatability and accuracy have not been analyzed because the robot system has only three degrees of freedom, all of them being translation.

According to the ISO 9283 protocol for positioning repeatability, a plane in a diagonal of a cube into the robot working area is chosen. In the plane, five points are chosen (the vertices of a rectangle and its centre). The robot has to execute a loop formed by positioning in front of each point and repeatable measure the last one (focus point). For such, as mentioned above, the control element is placed 200 mm with a black circle in the image centre. The visual system analyzes the three-dimensional position of the circle. After 500 samples, the position of the robot is known.

In Table 4, the obtained values are shown after the positioning loop in the five points, have been executed 25 times. The results are similar and do not depend on the focused point (central point results in Table 4). The tests have been done with two robot speeds, 1.0 m/s and 2.0 m/s, with a negligible load (camera and bat). Table 4 shows the range of the visual data in 25 samples and the repeatability calculated according to the ISO 9283 (see annex A). The data are coherent with the robot accuracy (0.02 mm) and uncertainty visual data (0.0635).

Table 4. Repeatability of position, loop 25 poses.

Speed (m/s) Visual Data Range (Xc, Yc, Zc) with 25 Samples (mm) Repeatability of Position (mm)

1.0 0.032, 0.025, 0.114 0.07041

2.0 0.039, 0.034, 0.121 0.07512

As conclusion, it can be affirmed that the robot system and the visual sensor have repeatability of less than 0.1 mm under normal working conditions (space working points, robot speed, and load). This value has to be quite small enough so as not to affect in the accuracy of the positioning distance (next section).

6.1.2. Accuracy of the Positioning Distance Analysis

The aim of the following tests is to quantify the produced effect in the accuracy robot positioning by the parameters obtained in the calibration robot process against the nominal parameters. Both parameter sets are shown in Table 1. In order to obtain such, again, the vision system and control element have been used once more. Since no external sensor is used neither an external absolute reference system is needed, so it is more representative to analyze the accuracy of the positioning distance. The control system has been placed in five fixed vertical planes which take a homogeneous working robot area (see Figures 9 and 10). Each plane is placed parallel to the camera plane, perfect parallelism is not required. The distance between the planes is 100 mm. It does not need to be perfectly positioned since the data to be analyzes are the distances between the circles of the same plane. The analyzed area corresponds to a cube of 400 mm in each side. This physical configuration allows studying the accuracy of the positioning distance as function of the position inside the working area.

Figure 9. Spatial distribution of the obtained errors by using calibrated parameters. The mean of all errors is 0.583 mm (dimension values in mm).

Figure 10. Spatial distribution of the obtained errors by using nominal parameters. The mean of all errors is 1.468 mm (dimension values in mm).

The robot positioning in relation to the control element is done likewise as previously mentioned. The robot is placed 200 mm in front of each circle, the position is fixed till the circle is in the image centre, and the three-dimensional data position corrected with the visual information is stored. Its accuracy is considered well known to measure the mean of 500 samples.

For each circle to be analyzed (five planes with 25 circles each one), the distance between the circle and its neighbour in the same plane has been calculated by getting the absolute error. The absolute error is calculated by comparing the obtained distance with the theoretical distance of the control element. For this study a loop of 25 samples has been done according to the ISO 9283 (see Appendix). As there are several distances (so many as neighbours). The mean of the error in every distance has been calculated.

Figures 9 and 10 show results obtained both for the calibrated parameters and the nominal parameters. The error is rendered by false colour, scale between 0 and 2 mm. For each one out of five planes distributed along the working area (in the XYZ coordinate system, located at the base of the robot, Figure 2), an interpolation has been done between the obtained results for each circle of the plane. Also the mean of all the errors is shown. As it can be observed, the errors obtained in the

positioning distance decreased almost 40% using calibrated parameters. This justifies the efforts invested in the robot calibration. Among other reasons why it is not possible to minimize that error any farther, it is important to highlight that the method does not calibrate all robot parameters. It can be also observed that the errors increase in the working area limits.

6.2. Tracking Test

The objective of these tests is to quantify how calibration parameters affect the tracking tasks. It is desired that the robot is able to track an object that moves chaotically in its workspace. In order to test the calibration method, nominal parameters and calibrated parameters are compared when they are utilized in a position-based visual controller [42]. The robot and its visual controller are designed to carry out tracking tasks. For more information, please consult [43]. The visual controller is based on a well established architecture called: dynamic position-based look-and-move visual servoing. In this scheme (Figure 11), the visual controller makes use of image estimates (position and velocity), the Jacobian of the robot and its kinematic model in order to act over the robot actuators. Thus errors in the kinematic model generate undesirable movements that have an effect on the performance of the visual controller.

Figure 11. Visual servoing controller scheme of the RoboTenis System.

Ref e(t

C \ C N

Visual Image and

servoing robot

controller jacobians

Visual servoing con trol loop

First this has been studied by simulating the effect it can have on tracking tasks using erroneous values of the parameters of the robot. It seeks to limit its maximum theoretical influence. Later follow-up tests are real, using both nominal and calibrated values.

6.2.1. Simulation of the Influence of the Use of Incorrect Parameters

The visual control law based on position can be defined [42] as:


Kp is a positive scalar which fits experimentally (for test 16.8);

er is the error in Cartesian coordinates, defined as the difference between the actual relative position of the object to the robot, and the desired relative position. It is obtained from visual features;

v p is the estimated speed of the monitored object. If the direct Jacobian robot [26] is defined as:

r=JRq (24)


Articulate position: q = [q1 q2 q3 f

Cartesian position: r = [ X Y Z f (absolute position of the robot, Figure 2).

The RoboTenis system, like the Delta robot, has a Jacobian as a 3 x 3 matrix, which supports reverse except singular points.

The joint control law, which is acting on the engines, is:

Uq = JR 1Mr = JR1 {—Kper + Vp) (25)

where JR is the estimated Jacobian, which can be obtained from or nominal or calibrated values. This

Jacobian is the one used in the implementation.

The Cartesian robot behaviour (without considering the dynamics of the system) depends on the real robot Jacobian, which is unknown. It corresponds to what would move the robot when the motors are actuated.

mr = jRJR1Ur = JrJr1 {—Kper + Vp) (26)

In order to analyze the influence of the use of nominal or calibrated parameters in the control law, it is possible to compare the difference in the movement of the robot between when using a control law with nominal parameters or when using calibrated. If defined:

J RC Direct robot Jacobian obtained from calibrated parameters J R Direct robot Jacobian obtained from nominal parameters J R = J RC Considered the best estimation It is obtained:

Aur = UrN — Mc = J rcOrn —Jrc) (—Kper + Vp) (27)

Aur = JRCQRN ~ JRC) v = QrcJRN ~ l) v (28)

where v is a generic input speed. It is necessary to analyze the influence of the term ^J R = J RC (J rn — J Rc) at different velocities. Figure 12 shows a spatial distribution of the largest singular value of said matrix into a cylinder of radius 300 mm and height 400 mm, included in the workspace. The absolute coordinates of the robot, (X, Y, Z), are used. The largest singular value is the spectral norm of the matrix and it represents, in that matrix, the upper limit of how the change speed influences in the control law.

Figure 12. Largest singular value of the matrix AJR in a cylinder of radius 300 mm and height 400 mm, included in the workspace.

For a better visualization, the largest singular value along the exterior of various cylinders (10 mm, 100 m, 200 mm, and 300 mm in radius), and in two perpendicular planes is represented in this figure with false colour. The last figure (on the right) shows the colorimetric scale used. The observed asymmetry is due to the lack of symmetry of the calibrated parameters and its difference from the nominal values. The simulation environment has avoided the singular points of both Jacobians, those points alter the study. The actual control avoids such singular points obtained using the Jacobian at a near no singular point.

Assuming maximum values: ||er|| = 30 mm

||vp|| = 1500 mm/s

||v|| = 16.8 * 30 + 1500 « 2000 mm/s

||Jrc(Jrn-Jrc)|| = 0.015

It is obtained:

||Au,.|| « 0.015 * 2000 « 30 mm/s

It represents approximately 1.5% difference from the control law, which is the greatest influence that would be obtained by using the parameters calibrated against nominal values.

6.2.2. Tracking Real Tests

In order to analyze the influence of a best calibration on the robot parameters, several tracking tests of a ball with a chaotic movement at speeds up to 1,500 mm/s have been done. The objective is to keep the robot at a constant distance of 600 mm with the ball in the image centre. In Table 5, the mean of the tracking errors in millimetres when 10 tests are done for the calibrated parameters and for the nominal parameters is shown, in function of the speed of the ball. Each test consists of 5,000 samples. A certain improvement, in a smaller proportion compared to the one indicated in Section 6.1.2, can be observed. This aspect can be explained by the high tolerance in the image characteristics-based control with the influence of the calibration errors.

Table 5. Tracking Error Mean (mm).

Maximum Speed of the Ball Error with Nominal Parameters Error with Calibrated Parameters

500 mm/s 4.54 4.47

750 mm/s 7.42 7.32

1,000 mm/s 12.76 12.61

1,250 mm/s 20.14 19.84

1,500 mm/s 30.47 30.14

7. Conclusions

In this paper, a calibration method using a camera attached to the robot hand as the only main sensor in order to improve the accuracy of a parallel robot inspired by the Delta robot is described. The simplicity of the equipment used over other more expensive alternatives, makes this proposal especially useful for calibration of robots in educational and research environments. The methodology for visual data acquisition is especially accurate, and can be extended to other applications.

The improvements using this method have been verified by executing several sets of tests (static and tracking tests). Before these tests, the measure repeatability of the whole system, which is close to 0.0635 mm according to [41], has been analyzed.

From the first static tests, it can be affirmed that the positioning repeatability of the robot system and the visual sensor is less than 0.1 mm under normal working conditions (space working points, robot speed, and load). From the second kind of static tests, it can be pointed out that using calibrated parameters reduces the errors in the positioning distance by almost 40%, which is a remarkable error reduction.

On the other hand, the tracking tests, by defining an index depending on the errors in the controller and an estimated working velocity, both sets (nominal and corrected) of kinematic parameters have been compared through the visual servoing controller performance. The increase in the performance obtained from the tracking visual controller regarding the correction of the parameters is extremely minimal (errors in the controller are reduced by more than 1.5% when the robot is calibrated). The improvements in the controller performance can be explained as follows: The image visual controller makes use of the Jacobian robot and kinematic robot models (inverse and direct). When the controller corrects the robot trajectory, errors in the model have a direct influence over the direction in which the controller tries to correct. On the other hand if the position of the object remains fixed, the error in the visual controller converges to zero but the evolution of the error is different for two set of parameters.

One aspect to analyze in future work is the incorporation of non-calibrated parameters in the optimization algorithm in order to further minimize the errors obtained. Some videos of the RoboTenis system in tracking tasks (such as playing ping-pong) are shown at:


The authors would like to thank the following institutions for their financial support: Universidad Politécnica de Madrid in Madrid Spain; Universidad Aeronáutica de Querétaro, in Queretaro Mexico; and Universidad Nacional de San Juan in San Juan, Argentina. This work was supported by the Ministerio de Ciencia e Innovación of the Spanish Government under Project DPI2010-20863

Conflict of Interest

The authors declare no conflict of interest. References

1. Ma, D.; Hollerbach, J.M.; Xu, Y. Gravity Based Autonomous Calibration for Robot Manipulators. In Proceedings of the 1994 IEEE International Conference on Robotics and Automation, San Diego, CA, USA, 8-13 May 1994; pp. 2763-2768.

2. Ecorchard, G.; Maurine, P. Self-Calibration of Delta Parallel Robots with Elastic Deformation Compensation. In Proceedings of the 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems, Edmonton, AB, Canada, 2-6 August 2005; pp. 1283-1288.

3. Zhang, D.; Gao, Z. Optimal kinematic calibration of parallel manipulators with pseudoerror theory and cooperative coevolutionary network. IEEE Trans. Ind. Electron. 2012, 59, 3221-3231.

4. Majarena, A.C.; Santolaria, J.; Samper, D.; Aguilar, J.J. An overview of kinematic and calibration models using internal/external sensor or constraints to improve the behavior of spatial parallel mechanisms. Sensors 2010, 10, 10246-10297.

5. Zhong, X.-L.; Lewis, J.M; Nagy, F.L.N. Autonomous robot calibration using a trigger probe. Robot. Auton. Syst. 1996, 18, 395-410.

6. Meng, Y.; Zhuang, H. Autonomous robot calibration using vision technology. Robot. Comput. Integr. Manuf. 2007, 23, 436-446.

7. Watanabe, A.; Sakakibara, S.; Ban, K.; Yamada, M.; Shen, G.; Arai, T. A Kinematic calibration method for industrial robots using autonomous visual measurement. CIRP Ann. Manuf. Technol.

2006, 55, 1-6.

8. Nahvi, A.; Hollerbach, J.M.; Hayward, V. Calibration of a Parallel Robot Using Multiple Kinematic Closed Loops. In Proceedings of the 1994 IEEE International Conference on Robotics and Automation, San Diego, CA, USA, 8-13 May 1994; pp. 407-412.

9. Aoyagi, S.; Kohama, A.; Nakata, Y.; Hayano, Y.; Suzuki, M. Improvement of Robot Accuracy by Calibrating Kinematic Model Using a Laser Tracking System-Compensation of Non-Geometric Errors Using Neural Networks and Selection of Optimal Measuring Points Using Genetic Algorithm. In Proceedings of the 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems, Taipei, Taiwan, 18-22 October 2010; pp. 5660-5665.

10. Ouyang, J. Ball array calibration on a coordinate measuring machine using a gage block. Measurement 1995, 16, 219-229.

11. Bai, S.; Teo, M.Y. Kinematic calibration and pose measurement of a medical parallel manipulator by optical position sensors. J. Robot. Syst. 2003, 20, 201-209.

12. Meng, G.; Tiemin, L.; Wensheng, Y. Calibration Method and Experiment of Stewart Platform Using a Laser Tracker. In Proceedings of IEEE International Conference on Systems, Man and Cybernetics, Washington, DC, USA, 5-8 October 2003; Volume 3, pp. 2797-2802.

13. Patel, A.J.; Ehmann, K.F. Calibration of a hexapod machine tool using a redundant leg. Int J. Mach. Tools Manuf. 2000, 40, 489-512.

14. Fazenda, N.; Lubrano, E.; Rossopoulos, S; Clavel, R. Calibration of the 6 DOF High-Precision Flexure Parallel Robot "Sigma 6". In Proceedings of the 5th Parallel Kinematics Seminar, Chemnitz, Germany, 22-26 April 2006; pp. 379-398.

15. Karlsson, B.; Brogärdh, T. A new calibration method for industrial robots. Robotica 2001, 19, 691-693.

16. Ren, X.; Feng, Z.; Su, C. A new calibration method for parallel kinematics machine tools using orientation constraint, Int. J. Mach. Tools Manuf. 2009, 49, 708-721.

17. Zhuang, H.; Masory, O.; Yan, J. Kinematic Calibration of a Stewart Platform Using Pose Measurements Obtained by a Single Theodolite. In Proceedings of International Conference on Intelligent Robots and Systems 95, "Human Robot Interaction and Cooperative Robots", IEEE/RSJ, Pittsburgh, USA, 5-9 August 1995; Volume 2, pp. 329-334.

18. Großmann, K.; Kauschinger, B.; Szatmari, S. Kinematic calibration of a hexapod of simple design. Prod. Eng. Springer Sept. 2008, 2, 317-325.

19. Takeda, F.Y.; Shen, G.; Funabashi, H. A DBB-based kinematic calibration method for in-parallel actuated mechanisms using a Fourier series. Trans. Am. Soc. Mech. Eng. J. Mech. Des. 2004, 126, 856-865.

20. Chanal, H.; Duc, E.; Ray, P.; Hascoet, J. A new approach for the geometrical calibration of parallel kinematics machines tools based on the machining of a dedicated part. Int. J. Mach. Tools Manuf.

2007, 47, 1151-1163.

21. Canepa, G.; Hollerbach, J.M.; Boelen, A.J.M.A. Kinematic Calibration by Means of a Triaxial Accelerometer. In Proceedings of 1994 IEEE International Conference on Robotics and Automation, San Diego, CA, USA, 8-13 May 1994; Volume 4, pp. 2776-2782.

22. Motta, J.M.S.T.; de Carvalhob, G.C.; McMasterc, R.S. Robot calibration using a 3D vision-based measurement system with a single camera. Robot. Comput. Integr. Manuf. 2001, 17, 487-497.

23. Daney, D.; Andreff, N.; Chabert, G.; Papegay, Y. Interval method for calibration of parallel robots: Vision-based experiments. Mech. Mach. Theory 2006, 41, 929-944.

24. Andreff, N.; Martinet, P. Vision-based self-calibration and control of parallel kinematic mechanisms without proprioceptive sensing. Intell. Serv. Robot. 2009, 2, 71-80.

25. Renaud, P.; Andreff, N.; Lavest, J.; Dhome, M. Simplifying the kinematic calibration of parallel mechanisms using vision-based metrology. IEEE Trans. Robot. 2006, 22, 12-22.

26. Merlet, J.P. Interval analysis and reliability in robotics. Int. J. Reliab. Saf. 2009, 3, 104-130.

27. Dolinsky, J.U.; Jenkinson, I.D.; Colquhoun, G.J. Application of genetic programming to the calibration of industrial robots. Comput. Ind.. 2007, 58, 255-264.

28. Amirat, M.Y.; Pontnau, J.; Artigue, F. A three-dimensional measurement system for robot applications. J. Intell. Robot. Syst. 1994, 9, 291-299.

29. Chiang, M.-H.; Lin, H.-T. Development of a 3D parallel mechanism robot arm with three vertical-axial pneumatic actuators combined with a stereo vision system. Sensors 2011, 11, 11476-11494.

30. Chiang, M.-H.; Lin, H.-T.; Hou, C.-L. Development of a stereo vision measurement system for a 3d three-axial pneumatic parallel mechanism robot arm. Sensors 2011, 11, 2257-2281.

31. Wang, D.; Bai, Y.; Zhao, J. Robot manipulator calibration using neural network and a camera-based measurement system. Trans. Inst. Meas. Control 2010, 34, 105-121.

32. Zhan, Q.; Wang, X. Hand-eye calibration and positioning for a robot drilling system. Int. J. Adv. Manuf.. Technol. 2011, 61, 691-701.

33. Zhang, Z. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 22, 1-21.

34. Clavel, R. Conception d'un robot parallele rapide a 4 degrés de liberté. Ph.D. Thesis, Ecole Polytechnique Fédérale De Lausanne: Lausanne, Switzerland, 1991.

35. Stamper, R. A Three Degree of Freedom Parallel Manipulator with Only Translational Degrees of Freedom. Ph.D. Thesis, University of Maryland: College Park, MD, USA, 1997.

36. Sebastian, J.M.; Traslosheros, A.; Angel, L.; Roberti, F.; Carelli, R. Parallel robot high speed object tracking. Lect. Note. Comput. Sci. 2007, 4633, 295-306.

37. Traslosheros, A.; Angel, L.; Vaca, R.; Sebastián, J.M.; Roberti, F. New Visual Servoing Control Strategies in Tracking Tasks Using a PKM. In Mechatronic Systems Simulation Modeling and Control; Milella, A., Di Paola, D., Cicirelli, G., Eds.; In-Tech: Lazinica, Vienna, Austria, 2010; pp. 117-146.

38. Ha, I.-C. Kinematic parameter calibration method for industrial robot manipulator using the relative position. J. Mech. Sci. Technol. 2008, 22, 1084-1090.

39. Besnard, S.; Khalil, W. Identifiable parameters for parallel robots kinematic calibration. IEEE Int. Conf. Robot. Autom. 2001, 3, 2859-2866.

40. Majarena, A.C.; Santolaria, J.; Samper, D.; Aguilar, J.J. Analysis an evaluation of objective function in kinematic calibration of parallel mechanisms. Int. J. Adv. Manuf. Technol. 2013, 66, 751-761.

41. European Committee for Standardization. Manipulating industrial robots. Performance Criteria and Related Test Methods; Geneva, Switzerland, 1998 (ISO 9283: 1998).

42. Chaumette, F.; Hutchinson, S. Visual servo control. Part I: Basic approaches. IEEE Robot. Autom. Mag. 2006, 13, 82-90.

43. Angel, L.; Traslosheros, A.; Sebastian, J.M.; Pari, L.; Carelli, R.; Roberti, F. Vision-based control of the RoboTenis system. Lect. Notes Control Inf. Sci. 2008, 370, 229-240.


The following operation rules have been extracted from ISO 9283 (1998) Position Repeatability

The repeatability of position expresses the dispersion of the reached positions after n repeated visits in the same direction to a prefixed position.

Let Xj, yj, Zj be the coordinates of the jth reached position, and X, y, z the barycentre coordinates of the set of obtained points after repeating the same position n times, according to:

J n J n J n

x=- Z xj ; y=- Z yj ; z=- Z z-

n j=1 n j-i n j-i

The repeatability is defined as:

RP = 7 + 3S


l =1 Èh with lj =<j(xj -x)2+(yj - y )2+(zj -z Î

]L (lj - T)2

Positioning Distance Accuracy

Let Pcl, Pc2 be the prefixed positions and p ., P2j the reached positions after the jth repetition, the positioning distance accuracy is defined as the difference between the prefixed positions and the mean of the difference among the reached.

Let xcj, ycj, zcl and , yc2, ^ be the coordinates of the two prefixed positions and Xj, , zij and , y2j, ^ the coordinates obtained in the jth reached position in a set of n repetitions, then the positioning distance accuracy is calculated by using:

AD = \D - D\


D =1¿D con D = \Pu -P2j\ =

© 2013 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (

Copyright of Sensors (14248220) is the property of MDPI Publishing and its content may not be copied or emailed to multiple sites or posted to a listserv without the copyright holder's express written permission. However, users may print, download, or email articles for individual use.