Velocity Kinematics
Forward kinematics tells us where the end-effector is. But for real-time control, we also need to know how fast it’s moving and in which direction. This is the domain of velocity kinematics, and its central object is the Jacobian matrix.
From Positions to Velocities
Recall from the previous lesson that forward kinematics gives us a vector function:
where is the joint angle vector and is the end-effector pose. Differentiating with respect to time:
The matrix is the Jacobian — it linearly maps joint velocities to end-effector velocities .
The Jacobian Is a Matrix of Partial Derivatives
Each entry of the Jacobian is a partial derivative:
Row tells how end-effector component responds to each joint. Column tells what velocity the end-effector gets when only joint moves.
The 2-Link Planar Arm Jacobian
For the 2R arm from the previous lesson:
Taking partial derivatives:
where , , , .
Reading the Jacobian
- Column 1 gives the end-effector velocity when only joint 1 rotates at unit speed (). This is the velocity from the entire arm swinging around the base.
- Column 2 gives the velocity when only joint 2 rotates (). This is just the second link swinging around joint 2.
The end-effector velocity is a linear combination:
where and are the columns of .
Velocity Computation Robotics Application
At with :
If joint 1 rotates at 1 rad/s and joint 2 is stationary:
The end-effector moves mostly in the direction — it’s swinging leftward.
Singularities
A configuration is singular when the Jacobian loses rank — that is, when . At a singularity, there exist directions in which the end-effector cannot move regardless of joint velocities.
For the 2R arm:
This is zero when or :
- (fully extended): The arm is a straight line. It can swing sideways but cannot extend or retract radially.
- (fully folded): The arm folds back on itself. Same problem — no radial motion.
Singularities in Practice
Near a singularity:
- Some end-effector velocities require infinite joint velocities (the robot can’t keep up)
- The inverse Jacobian blows up — computed joint commands become unreasonably large
- The robot may exhibit jerky, unstable motion
- Force control becomes problematic: the robot can exert very large forces in certain directions with tiny joint torques
Industrial robots have singularity-avoidance algorithms that detect when the robot approaches a singular configuration and modify the trajectory accordingly.
Singularities of 6-DOF Arms
For a 6-DOF arm, singularities are more complex. Common cases include:
- Shoulder singularity: The wrist center lies on the axis (directly above or below the base)
- Elbow singularity: The arm is fully extended or folded (like the 2R case)
- Wrist singularity: Two of the wrist axes align (similar to gimbal lock)
The Manipulability Ellipsoid
The manipulability ellipsoid visualizes how “capable” the robot is at a given configuration. It answers: if the joints can produce unit-speed velocities, what is the set of achievable end-effector velocities?
Mathematically, the set forms an ellipsoid in task space. This ellipsoid is characterized by :
The eigenvectors of give the principal directions of the ellipsoid, and the square roots of the eigenvalues () are the singular values — the semi-axis lengths.
Connection to Eigenvalues (Module 4)
The manipulability ellipsoid is a direct application of eigenanalysis from Module 4. The eigenvalues of determine the ellipsoid shape:
- Large eigenvalue → the robot can move fast in that direction
- Small eigenvalue → the robot struggles in that direction
- Zero eigenvalue → singularity — motion is impossible in that direction
The condition number measures isotropy. When , the ellipsoid is a circle (uniform capability). As , the robot approaches a singularity.
Yoshikawa’s Manipulability Measure
A single scalar summarizing the robot’s overall dexterity:
- at singularities
- is maximized at the most “dexterous” configurations
- For the 2R arm: , which is maximized at
Optimal Configuration Robotics Application
For a 2R arm with :
- At : (maximum)
- At :
- At : (poor)
- At : (singular)
The best configuration is the right-angle elbow (), where the manipulability ellipsoid is closest to a circle. You can verify this with the interactive visualization below.
The 6-DOF Jacobian
For a general 6-DOF arm, the Jacobian is a 6×6 matrix mapping 6 joint velocities to the 6-dimensional end-effector velocity (3 linear + 3 angular):
where is linear velocity and is angular velocity. Each column of has two parts:
For revolute joint , these are computed from the forward kinematics:
where is the rotation axis of joint and is the origin of frame . The linear velocity contribution is the cross product of the rotation axis with the vector from the joint to the end-effector — this is the formula for the velocity of a point on a rotating body.
Resolved-Rate Motion Control
The Jacobian enables a powerful control strategy: instead of planning in joint space, plan a desired end-effector velocity and compute the required joint velocities:
This is resolved-rate control. In practice, we use the pseudoinverse for robustness:
Near singularities, the damped least-squares (DLS) inverse is preferred:
where is a damping factor that trades off tracking accuracy for numerical stability. This connects directly to the matrix inverse and condition number concepts from Module 2.
Static Force Analysis
The Jacobian also relates joint torques to end-effector forces through the principle of virtual work:
The transpose of the Jacobian maps task-space forces to joint-space torques. This duality between velocity and force is a fundamental result of Lagrangian mechanics.
Interactive Visualization
Explore the Jacobian for a 2-link planar arm. Adjust joint angles and velocities to see how the Jacobian maps joint motion to end-effector velocity. The manipulability ellipsoid shows the robot’s directional capability at each configuration.
Configuration
Joint Velocities
Jacobian J(θ)
| [ | -2.86 | -1.45 | ] |
| [ | 1.03 | -0.39 | ] |
Analysis
Try this: Set "Right Angle" for a well-conditioned configuration (round ellipsoid). Then click "Singular" (θ₂ → 0) and watch the ellipsoid collapse to a line — the robot loses the ability to move radially. Try different joint velocity inputs to see how the Jacobian maps them to end-effector velocity.
Practice Problems
-
For a 2R arm with , compute the Jacobian at . What is ?
-
At the configuration from Problem 1, if rad/s and rad/s, what is the end-effector velocity?
-
Find all singular configurations for a 2R arm. Describe geometrically what happens at each.
-
A 2R arm has . At what value of is the manipulability measure maximized? What is ?
-
For the 6-DOF Jacobian column formula , explain why this gives the correct linear velocity contribution from joint .
Answers
-
At : . . .
-
m/s. The end-effector moves straight up.
-
Singular when , i.e., (arm fully extended — cannot move radially inward/outward) or (arm fully folded — same issue, also the end-effector is at a distance of from the base).
-
. Maximized at with .
-
Joint rotates frame about . The end-effector is at distance from the joint. The velocity of a point at distance from a rotation axis rotating at rate is . With and , this is exactly .
Key Takeaways
- The Jacobian maps joint velocities to end-effector velocities:
- Each Jacobian entry is a partial derivative:
- Singularities occur when — some end-effector motions become impossible
- The manipulability ellipsoid (from the eigenvalues of ) visualizes directional capability
- The Jacobian transpose maps end-effector forces to joint torques:
- Resolved-rate control uses (or ) to compute joint velocities for a desired task-space motion
Next Steps
The final lesson brings these tools to bear on path planning — using potential fields, gradients, and trajectory interpolation to move robots through cluttered environments.