Lesson 56 of 78 · Geometry & Kinematics
Inverse Kinematics, Jacobians & Singularities
Inverse kinematics (IK) asks which joint configurations produce a desired tool pose. There may be no solution, one boundary solution, several branches, or infinitely many for a redundant robot.
For the planar two-link arm, distance \(r=\sqrt{x^2+y^2}\) must satisfy
The law of cosines gives
typically yielding elbow-up and elbow-down branches. Select using joint limits, collision, cable routing, stiffness, continuity from current pose, and downstream task—not angle size alone.
The Jacobian
For joint vector \(q\) and task velocity \(\dot x\),
Static wrench relationship is \(\tau=J^T F\). The same geometry that maps velocity maps force in a dual way. Near a singularity, modest Cartesian velocity can require extreme joint speed, and some force directions become weak or uncontrollable.
Singularity-aware planning
Watch Jacobian rank, determinant for square cases, singular values, or condition number. Set operational thresholds before numerical inversion becomes explosive. Damped least squares trades perfect task tracking for bounded joint motion near singularity.
Workspace is more than reach
Separate reachable position workspace, dexterous workspace with required orientations, payload-rated workspace, collision-free workspace, and process-qualified workspace. A catalog reach sphere does not prove the robot can weld, insert, or inspect at every point within it.
Exercise
For a two-link arm, plot or tabulate five target points. Solve both IK branches, check joint limits, calculate a Jacobian condition measure, and choose one configuration with a written rationale. Add a keep-out region and see whether the best kinematic branch changes.
Source trail
References
Further reading
- CS223A / ME320 - Introduction to Robotics. Stanford University. verifiedCurrent physics-based syllabus covering spatial transformations, kinematics, Jacobians, dynamics, motion and force control, and vision-based control.
- Stanford Engineering Everywhere - CS223A Introduction to Robotics. Stanford University. verifiedFree lecture videos, transcripts, handouts, and assignments on robot kinematics, Jacobians, planning, dynamics, and control.
- Introduction to Robotics. MIT OpenCourseWare. verifiedMechanisms, kinematics, planning, dynamics, controls, actuators, sensors, networks, interfaces, embedded software, laboratories, and a team robot project.
Check your understanding
- What does the manipulator Jacobian relate locally?
- Joint rates to end-effector velocity
- Part price to cycle time
- Voltage to resistance only
- Material to color
The Jacobian maps small joint-rate changes to task-space velocity and its transpose maps task wrench to joint torque.
- What happens at a kinematic singularity?
- The Jacobian loses rank and some task motion directions become unavailable or costly
- Every motor stops by law
- Link lengths vanish
- Gravity is zero
Rank loss creates lost instantaneous mobility and potentially extreme joint rates or poor force capability.