Manipulator Basics · Theory · Module 08 of 14
08 — Jacobian and Differential Kinematics
The Jacobian is the linear map from joint velocities to tool velocity. Build it from the joint axes, read singularities and manipulability from its singular values, invert it safely with damped least squares, and use its transpose to turn tool forces into joint torques.
Forward kinematics tells you where the tool is. The Jacobian tells you how it moves when the joints move, how much force the joints must apply, and where the robot loses the ability to move in some direction.
Learning objectives
After this module you should be able to:
- Build the geometric Jacobian of a serial arm from its joint axes and origins.
- Map joint velocities to tool linear and angular velocities, and back.
- Explain the pseudoinverse and damped least-squares inverses and when each is appropriate.
- Compute manipulability and condition number, and identify boundary, interior and wrist singularities.
- Use τ = JᵀF to find the joint torques that hold a tool force.
Conceptual explanation
Differentiating FK in time gives a linear relation between joint velocities and the tool's twist (linear velocity and angular velocity ). The 6×n matrix of that relation is the Jacobian . It depends on the configuration but is linear in the velocities.
Each column is the tool velocity produced by one joint moving at unit speed with the others still:
- a revolute joint with axis through spins the tool about that axis: linear part , angular part ;
- a prismatic joint slides the tool along its axis: linear part , angular part zero.
Singularities
At a singular configuration, loses rank: some tool directions cannot be produced by any joint velocity, and in the remaining directions small tool velocities can need very large joint velocities. Three kinds matter in practice:
- boundary: the arm is fully stretched or folded (a 2R arm with or );
- interior: for example, the wrist centre on the axis of joint 1 (shoulder singularity);
- wrist: two wrist axes line up ( for a spherical wrist), so they turn the tool about the same axis.
The manipulability measures how far from singular the arm is; it is the volume of the velocity ellipsoid the unit ball of joint speeds maps to. The condition number measures how uneven that ellipsoid is. See both live in Lab 06.
Forces
By the principle of virtual work, the same matrix maps a tool force (wrench) to the joint torques that balance it: . Near a singularity the robot can resist large forces in the lost direction with almost no torque, which is why you lock your elbow to carry a heavy bag.
Mathematical formulation
For the planar 2R arm (linear rows only):
Pseudoinverse: the smallest joint velocity that produces ẋ (for a redundant or square, full-rank J).
Damped least squares: trades a small tracking error for bounded joint velocity near singularities.
Manipulability (Yoshikawa) and condition number from the singular values.
Statics: joint torques that balance a tool wrench F (gravity of the links not included).
Diagrams
Worked examples
Example 1: from joint speeds to tool velocity
2R arm, m, at :
A finite-difference Jacobian computed by the engine agrees with the analytic one to .
Example 2: manipulability as the elbow straightens
| q₂ | σmax | σmin | Manipulability w | Condition number |
|---|---|---|---|---|
| 90° | 0.539 | 0.2227 | 0.1200 | 2.4 |
| 60° | 0.660 | 0.1575 | 0.1039 | 4.2 |
| 30° | 0.736 | 0.0816 | 0.0600 | 9.0 |
| 10° | 0.759 | 0.0275 | 0.0208 | 27.6 |
| 2° | 0.761 | 0.0055 | 0.0042 | 138.5 |
: it is largest at (0.120) and falls to zero as the arm straightens. The smallest singular value is the tool speed you get along the "weak" direction (pointing along the arm) per unit of joint speed.
Example 3: asking for radial speed near the boundary
At ask for 0.1 m/s outwards along the arm. The pseudoinverse demands rad/s, which is far beyond any real joint speed. DLS with gives rad/s and delivers m/s: only a few mm/s outwards, with a small sideways error. DLS gives up speed in the direction the arm can barely move instead of demanding impossible joint speeds.
Example 4: holding a 2 kg load
A 2 kg part at the tool exerts N (taking g ≈ 10 m/s²). At :
In this pose the forearm points straight up, so a vertical load produces no torque at the elbow. The shoulder carries all of it: 20 N times the 0.346 m horizontal distance from the shoulder to the tool. The arm's own weight adds to this (Module 09).
Example 5: a wrist singularity on a 6-DOF arm
For the engine's 6-DOF arm at the smallest singular value of the full 6×6 Jacobian is (rank 6). Setting lines up axes 4 and 6: the smallest singular value drops to and the rank to 5. Near this pose, a small change in tool orientation can demand a fast spin of joints 4 and 6 in opposite directions. Industrial controllers slow down or stop for this.
Interactive experiment
Interactive Jacobian and manipulability ellipse (needs JavaScript).
Real-world applications
- Jogging and teleoperation in Cartesian mode compute joint speeds from the requested tool velocity every cycle, with DLS or singularity avoidance.
- Force control uses to apply a desired contact force (polishing, assembly).
- Design and layout: a work cell is placed so that the task stays in high-manipulability regions.
- Numerical IK (Module 07) is built on the Jacobian.
Common mistakes
Using the analytic Jacobian and the geometric Jacobian interchangeably
The geometric Jacobian gives the angular velocity ω; the analytic Jacobian gives rates of Euler angles. They differ by a configuration-dependent matrix, and the analytic one has extra representation singularities.
Expressing columns in different frames
All columns must use the same frame (usually the base) and the same reference point p. Mixing them gives a meaningless matrix.
Inverting J directly
Use solve, pinv or DLS. A plain inverse fails for non-square J and explodes near singularities.
Treating singularities as rare
A fully stretched arm, a wrist with q₅ = 0, or a wrist centre above the base are common in real programs. Plan around them.
Key takeaways
- The Jacobian maps joint velocities to tool twist: [v; ω] = J(q) q̇.
- Revolute column: [z × (p − o); z]. Prismatic column: [z; 0].
- Singular values give manipulability and condition number; rank loss means a singularity.
- Use DLS to invert near singularities; use τ = JᵀF for statics.
Knowledge check
Write an answer to each question, then reveal the explanation. Your answers stay in your browser.
Question 1
What is the Jacobian column of a revolute joint whose axis z passes through point o?
Explanation
Linear part z × (p − o), angular part z, with p the tool point.
Question 2
At which q₂ is a 2R arm singular, and what motion does it lose?
Explanation
q₂ = 0 or 180° (det J = L₁L₂ sin q₂ = 0). It cannot move the tool along the line through the base and the tool.
Question 3
Two configurations have manipulability 0.12 and 0.01. Which is better for fast, accurate motion?
Explanation
The 0.12 one: its velocity ellipsoid is bigger and rounder, so moderate joint speeds produce tool speeds in every direction.
Question 4
How can a robot near a boundary singularity hold a large force with little torque?
Explanation
τ = JᵀF: forces along the lost direction lie in the null space of Jᵀ, so they produce almost no joint torque. The structure carries them.
Question 5
Why does DLS give a tracking error even away from singularities?
Explanation
The damping term penalises joint speed, so the solution does not satisfy Jq̇ = ẋ exactly. The error is small when σ ≫ λ.
Practise it in the labs
Then test yourself in practice exercises and challenge mode.
References and further reading
- T. Yoshikawa, "Manipulability of robotic mechanisms", International Journal of Robotics Research, 4(2), 1985.
- Y. Nakamura and H. Hanafusa, "Inverse kinematic solutions with singularity robustness for robot manipulator control", ASME Journal of Dynamic Systems, Measurement and Control, 108, 1986.
- K. M. Lynch and F. C. Park, Modern Robotics, Cambridge, 2017, chapter 5.