Visual servoing: steering a robot by what the camera sees
视觉伺服
Put image measurements inside the feedback loop: define the visual error and the interaction matrix, derive the point-feature matrix and its depth dependence, compare image-based and position-based schemes, and test depth guesses and optical-axis rotations in a synthetic simulation.
visual-servoingMove until the picture matches
Visual servoing means steering a robot with what its camera sees, while it moves. The controller compares the current image with a goal image and keeps nudging the robot until the two match. A typical use is bringing a gripper to a part by lining up marks on the part with their target spots in the image.
Suppose a camera is bolted to a robot’s wrist. The task is to stop in front of a part so that four marks on it appear at known places in the image. Then, for example, a gripper can close on it. One approach is to look once, compute where the part is, and then move blindly. Hutchinson, Hager and Corke call this open-loop “looking then moving”. Its accuracy depends directly on how accurate the camera and the arm are. A feedback loop on the image instead lets the robot keep correcting until what it sees matches the goal. That can raise overall accuracy. Open-loop versus visual feedback
Chaumette and Hutchinson define visual servo control as the use of computer-vision data to control the motion of a robot. The camera may ride on the robot (the eye-in-hand case, which their tutorial mainly treats) or be fixed in the workspace and watch the robot. Every scheme follows the same loop. It measures some visual features (image quantities such as the positions of marked points), compares them with their desired values, and commands a camera velocity that shrinks the difference. Definition and camera configurations
The method raises several specific questions. How does a small camera motion change the image? Why does a purely two-dimensional image error still need depth? Why can the camera back away from the target when asked only to rotate? And should the error be measured in the image or in three-dimensional pose? This article draws on the two tutorials above and an original synthetic simulation to answer them. It assumes the pinhole model from image formation, the Jacobian and the pseudoinverse, and camera velocities as in rigid transformations.
Error, interaction matrix, control law
This section builds the basic controller in three steps: an error, a matrix that links camera motion to image motion, and a law that turns the error into a velocity. Chaumette and Hutchinson write the goal of every vision-based controller as driving an error to zero. With image measurements (say, pixel coordinates of points), extra parameters (such as coarse intrinsics or a 3-D object model), a feature vector of length and desired values :
Here is the camera’s linear and angular velocity, expressed in the camera frame, and is the interaction matrix, also called the feature Jacobian. Part I of their tutorial treats a fixed goal and a motionless target, so is constant, changes only because the camera moves, and . Error and interaction matrix Schemes differ mainly in how is chosen: image-based visual servoing (IBVS) uses quantities directly available in the image; position-based visual servoing (PBVS) uses 3-D parameters that must first be estimated from the image.
To make the error decay exponentially and independently in each component, impose with a gain . Solving for the velocity gives the classical law:
is the Moore–Penrose pseudoinverse; the closed form holds when has full column rank 6. The hat matters: the true interaction matrix is never known exactly, so the controller uses an approximation. Control law The output is a camera velocity. Turning it into joint velocities goes through the robot’s own Jacobian, a step covered in robot kinematics and inverse kinematics rather than here.
Point features
For a point with camera-frame coordinates , the normalized image coordinates are obtained from pixel coordinates using the intrinsics (principal point, focal length, pixel ratio). Differentiating the projection and using the motion of a static point seen from a moving camera gives a 2×6 interaction matrix per point. Point interaction matrix, eqs. (6)–(11)
In words: and are where the point lands in the image, and each row of says how fast one of them changes for each of the six camera velocity components. Two facts follow immediately. First, the three translational columns contain the depth : a sideways camera motion sweeps a near point across the image faster than a far one. Any controller that uses this matrix must estimate or approximate , even though the error itself is two-dimensional. The rotational columns do not depend on . Second, the intrinsics enter through and .
Each point gives two rows, so controlling six degrees of freedom needs at least three points. Chaumette and Hutchinson note that with exactly three points there are configurations where the stacked matrix is singular, and four distinct camera poses give zero error and cannot be told apart; in practice more points are used. How many points
Three ways to approximate the matrix
The tutorial discusses three common choices of :
- Current: evaluated with the current features and current depths. It needs a depth estimate at every iteration.
- Desired: evaluated at the goal. It is constant and needs only the depths at the goal.
- Mean: , which they credit to Malis (2004).
In their own simulation of a large displacement, without noise or modelling error, the desired-matrix choice converged but behaved poorly for roughly the first 30 iterations; the current-matrix choice gave nearly straight image trajectories but worse 3-D motion and large initial velocities; the mean gave smooth image and 3-D trajectories. Simulated comparison, Figs. 2–4 These are observations about their scenario, not general laws.
The most striking case is a pure rotation about the optical axis. With the current matrix, the points are driven along straight lines in the image; straight lines between rotated positions pass closer to the image centre, and the camera realizes this by rotating while retreating along the optical axis. The authors trace this to coupling between the third (translation along the axis) and sixth (rotation about it) columns. At a rotation of exactly π, no rotation is induced at all. The desired matrix instead causes an unexpected forward motion, and the mean yields a pure rotation in all cases except a rotation of exactly π. The effect fades for small errors. Geometric interpretation, Fig. 5
With a calibrated stereo pair one can stack left and right coordinates of each point. The resulting 4×6 matrix has rank only 3, because a 3-D point has three independent parameters (the epipolar constraint removes the fourth); two points give rank 5, so three points are still needed. Stereo IBVS Triangulation itself belongs to stereo vision.
Position-based servoing
PBVS defines from the camera’s pose relative to a reference frame. Estimating that pose from one image needs the intrinsics and a 3-D model of the object, the “3-D localization” problem that the tutorial leaves aside (see pose estimation). Two choices are compared. With , the object origin expressed in the camera frame plus the angle–axis rotation to the goal, the rotation follows a geodesic with exponentially decreasing speed and the object origin moves on a straight line in the image, but the camera path is not straight. With , translation and rotation decouple as and ; with perfect pose estimates the camera moves on a straight line, but image trajectories are worse and points may leave the field of view. Two PBVS schemes, eqs. (13)–(18)
Stability
Using the Lyapunov function , the closed loop gives the following conditions. Stability analysis, eqs. (19)–(20)
If is positive definite, the error decreases from any start: global asymptotic stability. With and full-rank matrices, this holds if the approximation is not too coarse. For IBVS with more than three points, however, is with rank at most 6, so it has a null space. Any error lying in the kernel of produces zero velocity: a local minimum. Only local asymptotic stability can be proved, through the 6×6 condition on the right. How large the region of convergence is remains open, though the authors describe it as surprisingly large in practice. For PBVS, global asymptotic stability holds only under the strong hypothesis of perfect pose estimates; the true condition involves the unknown real interaction matrix, and small image errors can produce large pose errors. Stability of IBVS and PBVS
Our derivation: a constant depth guess
A common shortcut uses one constant depth guess for all points. At the goal of our example, all points share one depth . If , only the translational columns are scaled, and a short calculation (ours, not the tutorial’s) gives:
So near the goal the translational error decays at rate instead of : an underestimate () slows it, an overestimate speeds it up, and any satisfies the local continuous-time condition, while violates it. The relation is exact only at the goal for a target parallel to the image plane; elsewhere depths differ and it is approximate. A real controller is also sampled. With step , a mode with rate is multiplied each step by , so (again our own analysis, not in the continuous-time tutorial):
In words: is that error mode at step , and it shrinks only if the product of gain, time step and depth ratio stays between 0 and 2; above 2 each correction overshoots by more than it fixes.
A synthetic eye-in-hand simulation
The program below is an original synthetic simulation, numpy only, with no random numbers. A camera with direct six-degree-of-freedom velocity control looks at four points forming a 0.2 m square; at the goal it sits 0.5 m in front of the square looking straight at it, so all goal depths are 0.5 m. Each iteration computes features, error and , then applies for s through the exact SE(3) exponential, with and 300 iterations. There is no image noise, no robot dynamics, no field-of-view limit, and the intrinsics are known (normalized coordinates are used directly). It is a teaching toy, not a model of any real system.
import numpy as np
# Synthetic eye-in-hand IBVS simulation: a camera with 6-DOF velocity control
# looks at four points forming a 0.2 m square. No noise, no robot dynamics,
# perfect feature extraction; normalized image coordinates (intrinsics known).
SIDE = 0.2
P_WORLD = np.array([[-1, -1, 0], [1, -1, 0], [1, 1, 0], [-1, 1, 0]], float) * SIDE / 2
LAMBDA, DT, STEPS = 1.0, 0.05, 300
def skew(w):
return np.array([[0.0, -w[2], w[1]], [w[2], 0.0, -w[0]], [-w[1], w[0], 0.0]])
def rot(axis, angle):
k = np.asarray(axis, float) / np.linalg.norm(axis)
K = skew(k)
return np.eye(3) + np.sin(angle) * K + (1 - np.cos(angle)) * K @ K
def exp_twist(v, w):
th = np.linalg.norm(w)
if th < 1e-12:
return np.eye(3), v.copy()
K = skew(w / th)
R = np.eye(3) + np.sin(th) * K + (1 - np.cos(th)) * K @ K
V = np.eye(3) + (1 - np.cos(th)) / th * K + (th - np.sin(th)) / th * K @ K
return R, V @ v
def camera_points(R, t):
return (P_WORLD - t) @ R
def features(Xc):
return np.column_stack([Xc[:, 0] / Xc[:, 2], Xc[:, 1] / Xc[:, 2]]).ravel()
def interaction(s, Z):
rows = []
for (x, y), z in zip(s.reshape(-1, 2), Z):
rows.append([-1 / z, 0, x / z, x * y, -(1 + x * x), y])
rows.append([0, -1 / z, y / z, 1 + y * y, -x * y, -x])
return np.array(rows)
R_GOAL, T_GOAL = np.eye(3), np.array([0.0, 0.0, -0.5])
S_GOAL = features(camera_points(R_GOAL, T_GOAL))
Z_GOAL = camera_points(R_GOAL, T_GOAL)[:, 2]
L_GOAL = interaction(S_GOAL, Z_GOAL)
def rot_angle(R):
return np.degrees(np.arccos(np.clip((np.trace(R) - 1) / 2, -1, 1)))
def servo(R, t, mode, zhat=None, steps=STEPS):
R, t = R.copy(), t.copy()
norms, zs, vmax, zmin = [], [t[2]], 0.0, np.inf
for _ in range(steps):
Xc = camera_points(R, t)
zmin = min(zmin, Xc[:, 2].min())
s = features(Xc)
e = s - S_GOAL
norms.append(np.linalg.norm(e))
if mode == "current":
Lhat = interaction(s, Xc[:, 2])
elif mode == "desired":
Lhat = L_GOAL
elif mode == "mean":
Lhat = 0.5 * (interaction(s, Xc[:, 2]) + L_GOAL)
else:
Lhat = interaction(s, np.full(4, zhat))
vc = -LAMBDA * np.linalg.pinv(Lhat) @ e
vmax = max(vmax, np.linalg.norm(vc[:3]))
dR, dt = exp_twist(vc[:3] * DT, vc[3:] * DT)
t = t + R @ dt
R = R @ dR
zs.append(t[2])
pos_err = np.linalg.norm(t - T_GOAL) * 1000
ang_err = rot_angle(R_GOAL.T @ R)
return np.array(norms), np.array(zs), pos_err, ang_err, vmax, zmin
def first_below(norms, tol):
idx = np.nonzero(norms < tol)[0]
return int(idx[0]) if idx.size else -1
R0 = rot([1, 1, 0], np.radians(20)) @ rot([0, 0, 1], np.radians(30))
T0 = np.array([0.08, -0.05, -0.75])
print("1) Interaction matrix of one point at x=0.1, y=-0.2, Z=0.5")
print(np.round(interaction(np.array([0.1, -0.2]), [0.5]), 4))
print(" rank of stacked L at goal (4 points):", np.linalg.matrix_rank(L_GOAL))
print(" rank with 2 points:", np.linalg.matrix_rank(L_GOAL[:4]),
"| with 3 points:", np.linalg.matrix_rank(L_GOAL[:6]))
print("\n2) Convergence from start pose (20 deg tilt, 30 deg about optical axis)")
print(" initial ||e|| = %.4f" % np.linalg.norm(features(camera_points(R0, T0)) - S_GOAL))
for mode in ["current", "desired", "mean"]:
n, zs, pe, ae, vm, zm = servo(R0, T0, mode)
print(" %-8s ||e|| at k=0,20,50,100: %.4f %.4f %.5f %.2e | steps to 1e-4: %3d"
" | final pos err %.4f mm, rot err %.4f deg | max |v| %.3f m/s"
% (mode, n[0], n[20], n[50], n[100], first_below(n, 1e-4), pe, ae, vm))
ratio = servo(R0, T0, "current")[0]
print(" 'current' ratio ||e||(k=60)/||e||(k=40) = %.4f | (1-lambda*dt)^20 = %.4f"
" | exp(-lambda*dt*20) = %.4f"
% (ratio[60] / ratio[40], (1 - LAMBDA * DT) ** 20, np.exp(-LAMBDA * DT * 20)))
print("\n3) Constant depth guess Zhat for all points (true goal depth 0.5 m)")
for zhat in [0.1, 0.25, 0.5, 1.0, 2.5, 25.0]:
n, zs, pe, ae, vm, zm = servo(R0, T0, "fixed", zhat)
if pe > 1000:
print(" Zhat=%5.2f: diverged (lambda*dt*Zhat/Z* = %.2f > 2)"
% (zhat, LAMBDA * DT * zhat / 0.5))
continue
print(" Zhat=%5.2f: ||e|| at k=299 %.2e | steps to 1e-4: %3d | final pos err %.4f mm"
% (zhat, n[-1], first_below(n, 1e-4), pe))
print(" local condition: eigenvalues of pinv(Lhat) @ L* at the goal")
for c in [0.2, 1.0, 5.0, 20.0, -1.0]:
Lhat = interaction(S_GOAL, Z_GOAL * c)
ev = np.linalg.eigvals(np.linalg.pinv(Lhat) @ L_GOAL).real
print(" Zhat = %5.1f x Z*: min real eig %.4f, max real eig %.4f" % (c, ev.min(), ev.max()))
print("\n4) Pure rotation about the optical axis (start at goal position)")
for deg in [90, 170]:
Rs = rot([0, 0, 1], np.radians(deg))
for mode in ["current", "desired", "mean"]:
n, zs, pe, ae, vm, zm = servo(Rs, T_GOAL, mode)
print(" %3d deg %-8s camera z in [%.4f, %.4f] m (goal -0.5) | min point depth %.4f m"
" | final rot err %.4f deg" % (deg, mode, zs.min(), zs.max(), zm, ae))
The program prints:
1) Interaction matrix of one point at x=0.1, y=-0.2, Z=0.5
[[-2. 0. 0.2 -0.02 -1.01 -0.2 ]
[ 0. -2. -0.4 1.04 0.02 -0.1 ]]
rank of stacked L at goal (4 points): 6
rank with 2 points: 4 | with 3 points: 6
2) Convergence from start pose (20 deg tilt, 30 deg about optical axis)
initial ||e|| = 1.0760
current ||e|| at k=0,20,50,100: 1.0760 0.3842 0.08220 6.32e-03 | steps to 1e-4: 181 | final pos err 0.0001 mm, rot err 0.0000 deg | max |v| 0.557 m/s
desired ||e|| at k=0,20,50,100: 1.0760 0.4998 0.12949 1.07e-02 | steps to 1e-4: 192 | final pos err 0.0001 mm, rot err 0.0000 deg | max |v| 0.269 m/s
mean ||e|| at k=0,20,50,100: 1.0760 0.4409 0.10378 8.20e-03 | steps to 1e-4: 186 | final pos err 0.0001 mm, rot err 0.0000 deg | max |v| 0.238 m/s
'current' ratio ||e||(k=60)/||e||(k=40) = 0.3581 | (1-lambda*dt)^20 = 0.3585 | exp(-lambda*dt*20) = 0.3679
3) Constant depth guess Zhat for all points (true goal depth 0.5 m)
Zhat= 0.10: ||e|| at k=299 2.28e-02 | steps to 1e-4: -1 | final pos err 13.0888 mm
Zhat= 0.25: ||e|| at k=299 2.45e-04 | steps to 1e-4: -1 | final pos err 0.1336 mm
Zhat= 0.50: ||e|| at k=299 2.64e-07 | steps to 1e-4: 184 | final pos err 0.0001 mm
Zhat= 1.00: ||e|| at k=299 2.19e-07 | steps to 1e-4: 180 | final pos err 0.0000 mm
Zhat= 2.50: ||e|| at k=299 2.29e-07 | steps to 1e-4: 181 | final pos err 0.0000 mm
Zhat=25.00: diverged (lambda*dt*Zhat/Z* = 2.50 > 2)
local condition: eigenvalues of pinv(Lhat) @ L* at the goal
Zhat = 0.2 x Z*: min real eig 0.2000, max real eig 1.0000
Zhat = 1.0 x Z*: min real eig 1.0000, max real eig 1.0000
Zhat = 5.0 x Z*: min real eig 1.0000, max real eig 5.0000
Zhat = 20.0 x Z*: min real eig 1.0000, max real eig 20.0000
Zhat = -1.0 x Z*: min real eig -1.0000, max real eig 1.0000
4) Pure rotation about the optical axis (start at goal position)
90 deg current camera z in [-0.7189, -0.5000] m (goal -0.5) | min point depth 0.5000 m | final rot err 0.0000 deg
90 deg desired camera z in [-0.5000, -0.3271] m (goal -0.5) | min point depth 0.3271 m | final rot err 0.0000 deg
90 deg mean camera z in [-0.5000, -0.5000] m (goal -0.5) | min point depth 0.5000 m | final rot err 0.0000 deg
170 deg current camera z in [-7.0670, -0.5000] m (goal -0.5) | min point depth 0.5000 m | final rot err 0.0000 deg
170 deg desired camera z in [-0.5000, 6.8410] m (goal -0.5) | min point depth -6.8178 m | final rot err 176.8014 deg
170 deg mean camera z in [-0.5000, -0.5000] m (goal -0.5) | min point depth 0.5000 m | final rot err 0.0000 deg
Part 1 checks the point matrix. At , , the first row is : the entry and are the depth-dependent terms. Stacking the four goal points gives rank 6, two points give rank 4 (not enough for six degrees of freedom), and three points give rank 6, matching the three-point minimum.
Part 2 starts 0.75 m from the square, offset by (0.08, −0.05) m, tilted 20° and rotated 30° about the optical axis; the initial error norm is 1.0760. All three choices converge to a final position error of 0.0001 mm and a rotation error of 0.0000°. The current matrix needs 181 iterations to bring the error norm below , the desired matrix 192, and the mean 186. The current matrix also commands the largest translational speed, 0.557 m/s, against 0.269 m/s for the desired matrix and 0.238 m/s for the mean. This loosely echoes the tutorial’s remark about large initial velocities, but our start pose is not theirs. With the current matrix the error decays as designed: the ratio of the error norm at iteration 60 to that at 40 is 0.3581, close to the discrete-time factor rather than the continuous .
Part 3 replaces all depths by a constant guess. With m () the loop is still converging after 300 iterations: error norm 2.28e-02 and position error 13.0888 mm. With m () it reaches 2.45e-04 and 0.1336 mm, also not yet below . The correct guess, 0.5 m, needs 184 iterations; overestimates of 1.0 m and 2.5 m need 180 and 181. Our reading, based on the diagonal result above: overestimates speed up the translational modes, so near the goal the slowest modes are the rotational ones, whose rate does not depend on depth, and the iteration count barely changes. Final position errors in these three cases are 0.0001 mm or less. With m, and the sampled loop diverges, exactly as the inequality above predicts; in continuous time it would not. The eigenvalues of at the goal confirm the diagonal result: for they range from 0.2000 to 1.0000, for from 1.0000 to 5.0000, for from 1.0000 to 20.0000, and a wrong sign () gives a minimum of −1.0000, violating the local condition. When convergence is reached, the final pose is exact. A coarse depth changes the path and speed, not the end point, consistent with the tutorial’s conclusion. Conclusions
Part 4 starts at the goal position, rotated about the optical axis only. In the camera-position coordinate , −0.5 is the goal and more negative means farther from the target. At 90°, the current matrix makes the camera retreat to (about 0.219 m) and come back; the desired matrix makes it advance to (about 0.173 m); the mean keeps at −0.5000, a pure rotation. All three end with a rotation error of 0.0000°. At 170°, the current matrix sends the camera back to , a retreat of about 6.6 m, before it converges. The desired matrix commands such a large forward motion that, in the simulation, the camera passes through the target plane ( up to 6.8410, minimum point depth −6.8178 m: the points end up behind the camera) and stops 176.8014° away from the goal rotation. This 170° run is physically meaningless: the simulation has no visibility check, so it keeps projecting points that a real camera could not see, and a real robot would lose the features or collide with the target. What it does show is the size of the forward motion the law asks for. The mean again gives a pure rotation and converges. These runs reproduce the tutorial’s retreat/advance/pure-rotation interpretation in a toy setting; 170° is not the π case that the tutorial singles out.
The cost per iteration is one pseudoinverse plus projection of four points, negligible here. In a real system, the expensive and fragile parts are the ones this toy skips: extracting and tracking the features in each image (see optical flow), estimating depth or pose online (a state estimation problem), and the robot’s own dynamics.
What the loop cannot fix
This section lists what feedback on the image does not solve: path quality, bad estimates, calibration, and the limits of our own analysis.
IBVS trades 3-D predictability for image robustness. Chaumette and Hutchinson describe IBVS as remarkably robust to calibration errors and image noise, because the error lives in the image. Under large displacements, however, it can reach local minima, cross singularities of the interaction matrix, and follow unpredictable Cartesian paths, as the 170° retreat illustrates. Neither IBVS nor PBVS is superior in general. Conclusions
Where the estimate enters decides what it can spoil. In IBVS, depth estimates appear only in the interaction matrix: poor estimates can destabilize the loop, but coarse ones only perturb the trajectory, not the final accuracy. In PBVS the estimated pose is the error itself, so coarse estimates also bias the final pose; two quite different poses can produce almost the same image of four coplanar points. Robustness trade-off
Calibration still matters. Eye-in-hand systems need hand–eye calibration (the camera-to-end-effector transform), fixed cameras need their extrinsic pose, and intrinsic calibration is needed in both. Hutchinson, Hager and Corke point out that with a wrist camera observing only the target, errors in the camera-to-end-effector relationship produce positioning errors that the loop cannot observe; they argue accuracy is guaranteed only if control points on both the end-effector and the target are seen. Calibration and observability of errors
Our analysis is idealized. The diagonal depth result is exact only at the goal for a fronto-parallel planar target; the sampled-gain bound is a simple discrete-time argument for one mode, not a full analysis with delays, robot dynamics or saturation. The example has no noise, no feature loss, no field-of-view limit and known intrinsics. The advanced remedies the tutorials mention, such as hybrid or partitioned schemes and image moments, are in Part II of the tutorial, which we did not read; we name them only as later work.
Exercises
These exercises check the depth dependence, a hand calculation, the stability conditions, method choice and the sampled-gain bound.
-
IBVS works with 2-D image coordinates and never computes the camera pose. Why does it still need a depth value for each point?
Answer: The interaction matrix maps camera velocity to image velocity. A camera translation moves a near point across the image faster than a far one, so the translational columns contain ; the rotational columns do not. The law therefore needs some value of : a current estimate, the goal depth (desired matrix), or a mix. As long as the stability condition holds, coarse values change only the trajectory, as Part 3 of the example shows.
-
One point, and only and are allowed. The error is , the true depth is m and s⁻¹. (a) Using the first two columns of , find giving . (b) If the controller uses m, what does it command, and at what rate does the error actually decay?
Answer: (a) With only these two velocities, and . Setting gives m/s, and likewise m/s. (b) The controller commands m/s, half as much. The true error rate is , so the error decays at 0.5 s⁻¹ instead of 1 s⁻¹. This is the case of our diagonal result; the example’s run is still converging after 300 iterations.
-
A student says: “With four points the stacked matrix is 8×6 and has full rank, so IBVS with the current matrix is globally stable.” What is wrong?
Answer: The global condition requires for an 8×8 matrix of rank at most 6. Such a matrix has a two-dimensional null space and can never be positive definite. If the error lies in the kernel of , the commanded velocity is zero while the error is not: a local minimum. Only local asymptotic stability, through the 6×6 condition , can be shown. Full rank of the stacked matrix is necessary, not sufficient. Large rotations about the optical axis are a further practical failure mode (Part 4).
-
Choose IBVS or PBVS for: (a) a monocular camera with rough calibration that must centre a part in the image for grasping; (b) a task where the camera must follow a straight Cartesian line to avoid obstacles, with a good 3-D model and accurate calibration; (c) a goal that requires a 160° rotation about the optical axis, using point features.
Answer: (a) IBVS: the error is defined in the image, so calibration errors and coarse depth mainly affect the path, not the final image alignment. (b) PBVS with : with a perfect pose estimate the camera moves straight, but the final accuracy depends on the pose estimate, and the points may leave the field of view, so visibility must be checked. (c) Plain IBVS with the current matrix would make the camera retreat far along the optical axis (about 6.6 m at 170° in our toy); the mean matrix or a PBVS rotation along a geodesic behaves better. The more advanced remedies are in Part II of the tutorial, which we did not read.
-
The example uses and s. Near the goal, how large can a constant depth overestimate be before the sampled loop diverges?
Answer: The translational mode is multiplied by per step, which must lie strictly between −1 and 1, so , i.e. m when m. The example’s m (, ) diverges, while m () converges. This bound is our own sampled-controller argument; the tutorial’s analysis is in continuous time.
History and further reading
This section gives a short history of the field as the 1996 tutorial tells it, and points to further reading. According to Hutchinson, Hager and Corke, early work by Shirai and Inoue already used a visual feedback loop to correct a robot’s position. The term “visual servoing” appears to have been introduced by Hill and Park in 1979 to distinguish their approach from earlier “blocks world” experiments that looked and then moved; before that, “visual feedback” was the usual phrase. They describe progress as slow after the first systems of the early 1980s, and attribute the marked increase in research in the few years before their 1996 tutorial to personal computers becoming fast enough to analyse images at servo rates, replacing specialized pixel-processing hardware. History We did not read Hill and Park or Shirai and Inoue; these statements are as cited by the 1996 tutorial.
The same tutorial reports a classification it credits to Sanderson and Weiss (1980), again cited rather than read by us. It asks two questions: does the vision system give set-points to joint-level controllers (dynamic look-and-move) or compute joint inputs directly (direct visual servo)? And is the error defined in 3-D task space or in image features? That gives four categories. In 1996 the tutorial reported that nearly all implemented systems used dynamic look-and-move. The reasons were that vision rates were low relative to arm dynamics, many robots already accepted Cartesian velocity or incremental position commands, and keeping kinematic singularities away from the visual controller simplified it. Servoing architectures The tutorial also surveys projection models (perspective, scaled orthographic, affine) and many feature types: points, lines, areas, centroids and moments, ellipse parameters.
Chaumette and Hutchinson’s 2006 Part I is the clearest current entry point to the basic IBVS and PBVS laws and their stability; Part II (2007), which we did not read, continues with more advanced schemes. Readers coming from classical control will recognize the proportional law of PID control, applied to an image error through a matrix that changes with the scene.
Make a prediction, then check
IBVS uses four point features (s is 8-dimensional, L̂⁺ = L⁺, exact depths). Which statement about stability is correct?
Learning objectives
- Write the visual-servoing error e = s − s*, the interaction-matrix relation ṡ = L v and the control law v = −λ L̂⁺ e, derive the point-feature interaction matrix, and explain why it needs depth estimates.
- Compare IBVS and PBVS stability and robustness: explain local minima, singularities, camera retreat under rotation about the optical axis, and whether depth or pose estimation errors affect the trajectory or the final accuracy.
Prerequisites & connections
Explore related knowledge →References
- Visual Servo Control, Part I: Basic Approaches — scoped
François Chaumette; Seth Hutchinson · 2006 - A Tutorial on Visual Servo Control — scoped
Seth Hutchinson; Gregory D. Hager; Peter I. Corke · 1996
Version1 · Editorial status: Recorded technical checks completed
View technical check record (AI)
Claude · 2026-12-03 · Independent AI check (Claude subagent, not the author; not a human or expert review). Research was done by a separate research subagent (facts.md) and the prose by a writer subagent; style-only edits suggested by the Gemini app were applied to the intuition section before this check, and all nine logged edits for this topic (gemini-edits-016a.json) were compared old/new and found to change no fact, hedge or attribution. I first made readability (D012) edits to the intuition section and section openings in both languages, then checked the edited text. I ran example.py with the pinned interpreter (numpy 1.26.4); output is byte-identical to example.stdout.txt, the python block in en.mdx and zh.mdx is byte-identical to example.py, and every number quoted in the prose was compared with the output. I re-derived the point interaction matrix row at x=0.1, y=-0.2, Z=0.5, the diag(c,c,c,1,1,1) depth-scaling result, the sampled bound 0<lambda*dt*c<2 and the c<40 (Zhat<20 m) answer, the 90/170 degree retreat/advance distances, and all exercise answers. I fetched Chaumette & Hutchinson 2006 (ChaHut06.pdf, pdftotext) and re-read pp. 82-90 for the definition, eqs. (1)-(5), (6)-(11), the three-point remarks, the three L_e^+ choices and Figs. 2-4 text, the Fig. 5 geometric interpretation (retreat, 3rd/6th column coupling, pi case, forward motion, mean pure rotation except at pi), stereo rank 3/5, PBVS eqs. (13)-(18), stability eqs. (19)-(21) and the Conclusions. I fetched the scanned Hutchinson, Hager & Corke 1996 PDF and OCR'd journal pp. 651-656 only (tesseract), checking the look-then-move remark, Shirai & Inoue, Hill & Park 1979, the computing-power remark, feature types, projection models, calibration, the Sanderson & Weiss 1980 taxonomy and the three reasons for look-and-move, and the unobservable hand-eye error remark. I did not read pp. 657-670 of the 1996 tutorial, Part II (2007), or any work cited only through the tutorials, and I did not run the site validator or build.
- The example was re-run with the pinned interpreter; output matches example.stdout.txt byte for byte, both code blocks match example.py byte for byte, and every quoted number matches the output.
- Re-derived the point interaction matrix, the diag(c,c,c,1,1,1) constant-depth result (labelled as our derivation), the sampled-gain bound 0<lambda*dt*c<2 with the Zhat<20 m answer, and all exercise answers.
- Checked the interaction matrix, IBVS/PBVS, the three interaction-matrix estimates, the optical-axis retreat and pi case, stereo ranks, stability conditions and conclusions against Chaumette & Hutchinson 2006, pp. 82-90.
- The 1996 tutorial is used only for OCR'd pp. 651-656; Hill & Park (1979), Sanderson & Weiss (1980) and Shirai & Inoue are marked as cited through it.
- The 170-degree run is stated to be physically meaningless; the claim that overestimated depth is limited by rotational modes is kept but rephrased as our reading of the diagonal result, valid near the goal.
- zh and en were compared section by section: claims, equations, numbers, exercises and answers match; the Gemini style edits changed no fact, hedge or attribution.
Source locations checked:
- Visual Servo Control, Part I: Basic Approaches — scoped · pdftotext of ChaHut06.pdf (9 pages = journal pp. 82–90), read in full. p. 82: definition, eye-in-hand vs fixed camera, scope excludes feature tracking and 3-D pose estimation, eq. (1) e = s(m,a) − s*, fixed goal / motionless target / 6 DOF, IBVS vs PBVS, eq. (2)–(3) interaction matrix ('feature Jacobian'). p. 83: eqs. (4)–(5) control law and Moore–Penrose pseudoinverse; eq. (6) projection with intrinsics (c_u, c_v, f, α); eqs. (7)–(11) point interaction matrix with depth Z; ≥3 points, singular configurations [5], four global minima [6]; L̂⁺ = L_e⁺ with current depth [7]. p. 84: L_{e*}⁺ [8], mean ½(L_e + L_{e*})⁺ [9 Malis 2004]; Figs. 1–4 simulation (first ~30 iterations, high condition number, mean smooth). pp. 84–85: geometric interpretation (Fig. 5): retreat with L_e, coupling of 3rd and 6th columns, π rad case [11], forward motion with L_{e*}, mean pure rotation. p. 86: stereo IBVS, eq. (12) velocity transform, L_{xs} rank 3, two points rank 5; PBVS needs intrinsics + 3-D model ('3-D localization'). p. 87: eqs. (13)–(18) two PBVS schemes, Figs. 7–8; Lyapunov ℒ = ½‖e‖², eq. (19). pp. 88–89: IBVS k > 6 null space and local minima (Fig. 9), eq. (20) local condition, neighbourhood size open but large in practice; PBVS global stability only with perfect pose, eq. (21), Fig. 10 ambiguity. p. 90: conclusions (depth in IBVS vs pose in PBVS, IBVS robustness, local minima, singularities, Cartesian paths) and references. NOT read: Part II, any cited original.
- A Tutorial on Visual Servo Control — scoped · Scanned PDF without text layer; OCR (tesseract, 200 dpi) of journal pp. 651–656. p. 651: abstract, intro (Shirai & Inoue visual feedback loop; look-then-move; term 'visual servoing' appears first introduced by Hill and Park 1979; early-1980s first systems; computing power; applications; Corke review). p. 652: paper outline, §II-A coordinate transformations, task space. p. 653: §II-B rigid-body velocity, §II-C projection models start. p. 654: perspective, scaled orthographic, affine projection; §II-D image feature parameters; §II-E camera configurations begin. p. 655: fixed / agile camera, intrinsic and extrinsic calibration, hand–eye calibration; §III Sanderson & Weiss 1980 taxonomy, dynamic look-and-move vs direct visual servo, three reasons look-and-move dominates. p. 656 (partial): position-based vs image-based description, unobservable camera–end-effector errors, accuracy needs control points on both end-effector and target. NOT read: pp. 657–670 (§IV PBVS, §V IBVS, §VI tracking, §VII). OCR quality good but not perfect (some symbols garbled).
Related topics