Problemadvanced
Kinematic calibration
Also called robot calibration.
Estimate the true link parameters of a robot from measured end effector poses, so that its forward kinematics model matches the real arm. It is a nonlinear least squares problem.
Kinematic calibration finds the true values of the geometric parameters of a robot: the link lengths, the twists and offsets between joint axes, the zero positions of the joints, and the frames of the base and the tool. The controller computes the pose of the tool with forward kinematics, using the values from the drawings. Small errors in manufacture and assembly make the real pose differ from this prediction, often by a millimeter or more on an industrial arm, even though the arm returns to a taught pose much more precisely. Calibration moves the arm to many poses, measures the tool with an external sensor, and fits the parameters by nonlinear least squares. The main questions are which parameters the data can determine (identifiability), how to choose the poses, and which model of the arm to use.
In plain words
A robot computes where its hand is from its joint angles and from the lengths of its parts. If a part is a little longer than the drawing says, the robot thinks its hand is in one place when it is really a little to the side.
To fix this, move the robot to many positions and measure where the hand really is, for example with a laser tracker. Then adjust the lengths and angles in the robot's model until its predictions match the measurements as closely as possible.
Some errors cannot be told apart. If the whole robot is turned a little on the floor, or its first joint reads a little off, every measurement changes in the same way. Then only the sum of the two errors can be found, and the model must keep only one of them.
Definition
Model. A forward kinematics map of the joint values and the parameter vector . The parameters can be the Denavit-Hartenberg parameters plus joint offsets and the base and tool frames, or the joint screws and home pose of the product of exponentials. The nominal value is .
Data. joint vectors and the measurements of the tool at those joint values. A measurement can be a full pose ( numbers), a position (), or less.
Problem. Find
where is the part of that the sensor measures. The norm can be weighted to put positions and angles on the same scale.
Identification Jacobian. Stack the derivatives for all into the matrix .
Identifiability. If has full column rank at the true parameters , then is locally identifiable: no other parameter vector near gives the same noise-free measurements. Proof: the map has an injective derivative at , so it is an immersion and is injective on a neighborhood of . If some column of is a combination of others for every choice of poses, the parameter set is redundant and must be reduced. If the rank is low only for the chosen poses, more or better poses are needed. This is the same question as observability in control.
Complete and minimal models. A model is complete if it can describe every real arm close to the nominal one, and minimal if no parameter is redundant. Everett, Driels and Mooring (1987) showed that a complete and minimal model of an arm with revolute and prismatic joints has
independent parameters when the full pose of the tool is measured. For a 6R arm, . With position measurement only, the 3 parameters of the tool orientation do not affect the data, and 27 parameters remain.
Variants
| variant | what is measured | notes |
|---|---|---|
| open loop, full pose | position and orientation of the tool | 6 equations per pose |
| open loop, position only | tool position, for example by a laser tracker | 3 equations per pose; the tool orientation is not identifiable |
| closed loop, self calibration | none outside; the tool is held on a point, a plane or a sphere | the constraint gives the equations; Hollerbach and Wampler (1996) count the equations each pose gives, their calibration index, to classify such methods |
| parallel robots | leg lengths and the measured platform pose | the residual can be written in the leg lengths, which needs only the closed form inverse kinematics |
| non-geometric errors | as above | joint compliance, gear errors and heat are outside the kinematic model; some methods add terms for them |
The DH model near parallel axes. For two nominally parallel joint axes, the DH offset is set by the common normal. A tilt of one axis by a small angle moves the common normal far along the axis, so changes by an amount of order , and the model is not a continuous function of the real geometry. Hayati (1983) and Hayati and Mirmirani (1985) replace by a small rotation about the axis for such joints. The CPC model of Zhuang, Roth and Hamano (1992) is complete and parametrically continuous for all axis layouts. A product of exponentials model is also continuous in this sense, because a small change of a joint axis is a small change of its screw.
Examples
A planar 2R arm, worked by hand. The nominal link lengths are m and the true ones are m and m. The tip is
which is linear in , so here the least squares problem is linear and one step of Gauss-Newton solves it.
- At the measured tip is ; the nominal model predicts . The rows of are and .
- At the measured tip is ; the nominal model predicts . The rows are and .
With both poses, and . Solving gives and , the true values.
With the first pose only, has rank 1: the data fix and nothing else. A stretched arm cannot tell its two links apart, so the poses must be chosen with care.
Two parameters that cannot be separated. Add to the same arm a rotation of the base about the vertical axis and an offset of the zero of joint 1. The tip depends only on , so the columns of for and are equal at every pose. No choice of poses makes them identifiable, and a minimal model keeps only their sum.
Known algorithms
Costs are in the real RAM model for poses, joints and parameters.
| step | method | cost |
|---|---|---|
| residuals and | forward kinematics and its derivative in the parameters, pose by pose | by a direct method, with prefix and suffix products |
| one iteration | Gauss-Newton: form and solve, or use the QR decomposition of | |
| robust iteration | Levenberg-Marquardt, with a damping term | the same per iteration |
| redundant parameters | find the dependent columns with the singular value decomposition or QR with pivoting, and remove them | |
| pose selection | choose poses that make the smallest singular value, or the condition number, of good | heuristic search |
Gauss-Newton converges locally, and quadratically when the residual at the solution is zero. The nominal parameters are usually a good start because the errors are small, but that is an observation about practice, not a theorem.
Bounds
- Number of measurements (counting). The noise-free equations can determine parameters only if . For a 6R arm this means at least 5 full poses () or at least 9 positions (). In practice many more poses are used, to average the noise.
- Number of parameters. for a complete and minimal model with full pose data (Everett, Driels and Mooring 1987).
- Accuracy of the estimate. For the linearized problem with independent noise of variance in each measured number, the least squares estimate has covariance . So a small singular value of means a large error in some combination of the parameters.
Reductions
- To nonlinear least squares. The problem is an instance of nonlinear least squares with a structured Jacobian, one block of rows per pose.
- From dynamic identification. Dynamic parameter identification estimates masses and inertias and is linear in its parameters, so one linear least squares solve suffices. Its counterpart of a minimal model is the set of base inertial parameters. Kinematic calibration is nonlinear in its parameters, because they enter through sines, cosines and products of transforms.
- To linear least squares, near the nominal model. Linearize at : . One solve of this linear problem is one Gauss-Newton step, and for small errors one or two steps are often enough.
Applications
Offline programming, where robot programs are generated from a CAD model and run without teaching each pose by hand, needs an arm whose absolute pose is accurate, not only repeatable. So do robots that are guided by external sensors, robots in machining and drilling, and robots replaced in a cell without reteaching. Calibration is also a step in the manufacture of many industrial arms, and the identified parameters are stored in the controller.
References
- J. M. Hollerbach and C. W. Wampler, The calibration index and taxonomy for robot kinematic calibration methods, International Journal of Robotics Research 15(6), 1996, pages 573 to 591, the count of equations per pose and the classification of open loop and closed loop calibration methods
- S. A. Hayati, Robot arm geometric link parameter estimation, Proceedings of the 22nd IEEE Conference on Decision and Control, 1983, pages 1477 to 1483, the failure of the DH parameters for nearly parallel joint axes, and an extra rotation for such joints
- S. Hayati and M. Mirmirani, Improving the absolute positioning accuracy of robot manipulators, Journal of Robotic Systems 2(4), 1985, pages 397 to 413, the modified link model and its use for calibration
- H. Zhuang, Z. S. Roth and F. Hamano, A complete and parametrically continuous kinematic model for robot manipulators, IEEE Transactions on Robotics and Automation 8(4), 1992, pages 451 to 463, the CPC model
- L. J. Everett, M. Driels and B. W. Mooring, Kinematic modelling for robot calibration, Proceedings of the 1987 IEEE International Conference on Robotics and Automation, Raleigh, the number of independent kinematic parameters, 4R + 2P + 6 (general locator)
- B. W. Mooring, Z. S. Roth and M. R. Driels, Fundamentals of Manipulator Calibration, Wiley, 1991, modeling, measurement, identification and compensation (general locator)
- Bruno Siciliano, Lorenzo Sciavicco, Luigi Villani and Giuseppe Oriolo, Robotics, Modelling, Planning and Control, Springer, 2009, Section 2.11, Kinematic Calibration
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag SBVY23 Edit this page History Report an error Markdown