Manipulator Basics · Lab 06 of 10
Lab 06: Jacobian and Singularities
Watch joint velocities become end-effector velocity, manipulability ellipses shrink and inverse Jacobians blow up.
Objective
See the Jacobian map joint velocities to end-effector velocity, read manipulability, singular values and the condition number, drive the arm into a singularity, watch the inverse Jacobian demand huge joint speeds, and tame it with damped least squares.
Brief theory
The Jacobian relates velocities: . For the 2R arm (position rows only)
The singular values of are the semi-axes of the manipulability ellipse: the end-effector velocities a unit-norm joint velocity can produce. Manipulability and the condition number measure how close the arm is to a singularity, where and some direction cannot be produced at all. Resolved-rate control computes ; near a singularity that blows up, while stays bounded. See Module 08.
Simulation workspace
Drag in the view where the controls say you can. Every number shown is computed live by the simulation engine running in your browser.
Loading the simulation…
Guided tasks
Each task ticks itself when the simulation sees you do it. Progress is saved in this browser.
- Move the arm into different configurationsChange the joint angles and watch the ellipse change shape.
- Change joint velocitiesSet non-zero joint velocities and read the resulting end-effector velocity arrow and numbers.
- Approach a singularityBring the elbow near 0° (arm stretched) until the singularity indicator lights up.
- Observe inverse-Jacobian instabilityRun the outward motion with the plain inverse until the demanded joint speed passes the 3 rad/s limit.
- Apply damped least-squares controlRun a motion with DLS that stays within the 3 rad/s limit and compare the peak joint speed and the tracking error.
Challenges
Each challenge states an objective, its constraints and how success is measured. The live line under it is computed from the simulation. Hints and full solutions are there when you want them.
Success criteria
- All numbers (J, singular values, w, κ) are computed from the model at the current configuration; the finite-difference Jacobian shown next to the analytical one agrees with it.
- You have produced a run where the inverse demands more than the joint speed limit and a DLS run that stays within it.
Explanation of the results
At the stretched configuration the two columns of are parallel: both joints can only move the tool sideways, never along the arm. One singular value drops to zero, the ellipse collapses to a line, and does not exist. Close to it, exists but its entries are about , so a modest tool velocity along the arm needs a very large joint velocity: that is the spike in the plot.
Damped least squares replaces by , which is never larger than . The price is a tracking error in the hard direction near the singularity, visible in the error plot. Real controllers use exactly this trade-off (often with a damping that grows only near singularities).