Robot Jacobian

Also known as: manipulator Jacobian

On this page 8

The robot Jacobian, also called the manipulator Jacobian, is the matrix of partial derivatives that maps joint velocities to end-effector velocities, linking the joint space of an arm to the Cartesian space in which its tool moves. In robotics and especially in manipulation, it is the central tool for velocity control, force mapping and singularity analysis, because it describes how small joint motions translate into motion of the tool at the current configuration.

Unlike forward kinematics, which gives a position, the Jacobian is a configuration-dependent linear approximation: its entries change as the arm moves, so it must be recomputed at every control cycle.

How the robot Jacobian relates joint and Cartesian motion

The Jacobian answers a precise question: if each joint moves at a given rate, how fast and in which direction does the tool move? Written compactly, the relation is v = J(q) q̇, where q̇ is the vector of joint rates, v is the six-component twist of the end effector (three linear and three angular velocity components) and J(q) depends on the joint angles q.

For a manipulator with n joints, the Jacobian is a 6 × n matrix. Each column describes the contribution of one joint. For a revolute joint, the column contains the cross product of the joint axis with the vector from the joint to the tool center point, plus the axis itself for the angular part. For a prismatic joint, the linear part is the joint axis and the angular part is zero.

The following table summarizes the dimensions and meaning of the quantities in the velocity relation.

SymbolDimensionMeaning
qn × 1Joint positions (angles or displacements)
q̇n × 1Joint velocities
J(q)6 × nJacobian at the current configuration
v6 × 1Linear and angular velocity of the tool
F6 × 1Force and torque (wrench) at the tool
τn × 1Joint torques or forces
Quantities in the Jacobian velocity relation

Geometric and analytical Jacobian variants

Two forms are in common use, and confusing them is a frequent source of control errors. The geometric Jacobian expresses angular velocity as a physical vector, while the analytical Jacobian differentiates a minimal orientation representation such as Euler angles or roll-pitch-yaw. The two are related by a transformation matrix that itself becomes singular at representation singularities, which have nothing to do with the arm’s mechanics.

The reference frame also matters. A Jacobian can be expressed in the base frame, which suits world-fixed tasks, or in the tool frame, which suits tasks such as screwing or inserting along the tool axis. Libraries often call these the spatial and body Jacobians when the product-of-exponentials formulation is used instead of Denavit–Hartenberg parameters.

The table below compares the main variants and when each is preferred.

VariantOrientation partTypical use
Geometric JacobianAngular velocity vectorVelocity control, force mapping
Analytical JacobianDerivative of Euler or RPY anglesOperational-space control with minimal coordinates
Spatial JacobianTwist in the fixed base frameScrew-theory formulations
Body JacobianTwist in the tool frameTool-aligned tasks such as insertion
Position-only JacobianOmitted (3 × n)Tasks where orientation is free
Common forms of the manipulator Jacobian

Static force mapping through the Jacobian transpose

The same matrix also governs statics. By the principle of virtual work, a wrench F applied at the tool corresponds to joint torques τ = Jᵀ(q) F. This duality between velocity and force means one matrix tells a controller how to move the tool and how much each motor must push to exert a desired contact force.

Force mapping underpins impedance control, hybrid force-position control and gravity-free contact tasks such as polishing or peg-in-hole assembly. It also allows a robot to estimate external forces from measured joint torques without a wrist force sensor, although friction and model errors limit the accuracy of such estimates.

Singularities, manipulability and redundancy

A kinematic singularity occurs when the Jacobian loses rank. At that configuration, the tool cannot move in at least one Cartesian direction, and the inverse mapping demands unbounded joint speeds for motion close to that direction. Typical cases are a fully stretched elbow, aligned wrist axes and the wrist center passing over the shoulder axis.

Engineers quantify closeness to singularity with metrics derived from the matrix. The manipulability measure of Yoshikawa, the square root of det(J Jᵀ), drops to zero at a singularity, and the condition number grows without bound.

MetricDefinitionInterpretation
Manipulabilitysqrt(det(J Jᵀ))Volume of the velocity ellipsoid; zero at singularity
Condition numberLargest over smallest singular valueValues near 1 mean isotropic motion
Minimum singular valueSmallest singular value of JWeakest achievable motion direction
RankNumber of independent rowsBelow 6 means lost Cartesian freedom
Jacobian-based metrics for configuration quality

For a redundant manipulator with more than six joints, the Jacobian has a null space: joint motions that leave the tool still. Controllers project secondary objectives into this null space, for example avoiding joint limits, obstacles or singular configurations while the tool follows its path unchanged.

Inverting the Jacobian for control and inverse kinematics

Resolved-rate control computes joint velocities from a desired tool velocity, which requires inverting the mapping. A plain inverse exists only for a square, full-rank Jacobian, so practical systems use one of several generalized inverses, each with a distinct trade-off between accuracy and robustness.

MethodBehavior near singularityMain trade-off
Direct inverseJoint speeds explodeExact but only for 6 × 6 full-rank cases
Moore–Penrose pseudoinverseLarge but finite speedsMinimum-norm solution, still unstable
Damped least squaresBounded speedsSmall tracking error in exchange for stability
Jacobian transposeAlways definedSlow convergence, no exact tracking
Weighted pseudoinverseDepends on weightsFavors some joints over others
Methods for inverting the Jacobian

Iterative inverse kinematics solvers apply the same machinery: they repeatedly compute the pose error, multiply it by an inverse or transpose of the Jacobian and update the joints until convergence. Damped least squares, also known as the Levenberg–Marquardt approach, is the default choice in many motion planning frameworks, including MoveIt plugins, because it degrades gracefully near singular poses.

Common mistakes when working with the Jacobian

  • Mixing reference frames, for instance computing the Jacobian in the base frame and commanding velocities in the tool frame.
  • Using the analytical form with Euler angles and then blaming the arm for a singularity that exists only in the orientation parameterization.
  • Reusing a stale Jacobian across several control cycles while the arm moves quickly.
  • Ignoring unit scaling between meters and radians when computing condition numbers, which makes the metric depend on arbitrary units.
  • Inverting without damping, which produces violent joint motion when a path passes close to a singular pose.

Explained without jargon

Imagine a robot arm as a chain of motors. Each motor turns a little, and the hand at the end moves as a result. The Jacobian is a lookup table that says, for the current pose of the arm, how much each motor moves the hand and in which direction.

The table changes as the arm changes shape. When the arm is fully stretched out, some motors no longer help in certain directions, and the hand gets stuck. That situation is called a singularity. The same table also works backward: it tells each motor how hard to push so the hand presses with exactly the right force.

A typical use case

A six-axis industrial arm in an automotive plant applies a bead of sealant along a car door seam. The program defines the seam as a path for the nozzle at a constant speed of 100 mm/s. At every 4-millisecond control cycle, the controller computes the Jacobian, converts the desired nozzle velocity into six joint velocities with damped least squares and sends them to the servo drives.

Near one corner, the wrist axes approach alignment and the manipulability measure falls sharply. The damping term rises automatically, which keeps the wrist speed within its limit at the cost of a deviation under half a millimeter. The result is a continuous, uniform bead without the sudden wrist flip that an undamped inverse would have caused.