Manipulator Basics · Theory · Module 04 of 14
04 — Robot Kinematics Fundamentals
Kinematics is geometry without forces: how the joint values fix the pose of the tool. Meet the two directions of the problem, the chain of transforms that solves the forward one, and the first look at how joint motion turns into tool motion.
Given the joint values, where is the tool? Given where the tool must be, what should the joints be? These two questions, forward and inverse kinematics, are the core of manipulator software.
Learning objectives
After this module you should be able to:
- Define configuration variables, joint coordinates and Cartesian (task) coordinates.
- Write the end-effector pose of a serial chain as a product of link transforms.
- Explain why forward kinematics always has one answer and inverse kinematics may have none, several or infinitely many.
- Relate small joint motions to small tool motions, as a preview of the Jacobian.
Conceptual explanation
The configuration variables of a serial manipulator are its joint values : the minimal set of numbers that fixes where every point of the robot is. They are the robot's joint coordinates. The tool's pose is usually described in Cartesian coordinates: a position and an orientation (a rotation matrix, Euler angles or a quaternion; see Module 03).
A kinematic chain is a sequence of links joined by joints. In a serial manipulator the chain is open: each joint moves everything after it. Attaching a frame to each link turns the chain into a product of transforms. Each factor depends on one joint value, and the product from the base to the tool is the tool pose.
Forward and inverse kinematics
| Forward kinematics (FK) | Inverse kinematics (IK) | |
|---|---|---|
| Question | Joint values → tool pose | Tool pose → joint values |
| Number of answers | Always exactly one | None, one, several or infinitely many |
| Method | Multiply the link transforms | Geometry, algebra or numerical iteration |
| Cost | Cheap and exact | Analytic for special designs, iterative in general |
| Used for | Display, simulation, collision checking, sensing the tool pose | Commanding the tool to a pose, Cartesian paths |
Joint-space motion and task-space motion
Moving the joints in a straight line from to moves the tool along a curve, not a straight line. Moving the tool in a straight line needs joint motions that are generally non-linear in time. Which space you plan in is a design choice (Module 10). Joint-space motion is simple and always respects joint limits along the way; task-space motion controls exactly where the tool goes. For small motions the link between the two is linear: the Jacobian of Module 08 maps joint velocities to tool velocities.
Mathematical formulation
For a serial chain with link transforms , a fixed base transform and a fixed tool transform:
For a planar 3R arm the product collapses to sums of link vectors:
Inverse kinematics asks for such that . A first-order change obeys
which is the starting point of every numerical IK method (Module 07).
Worked examples
Forward kinematics of a planar 3R arm
The engine's planar 3R arm has links m. At the cumulative angles are 20°, 60° and 30°, so
The engine's product of DH transforms gives m and a heading of : the same numbers.
A small joint change
Turn joint 1 by rad (0.57°). The first-order estimate from the Jacobian is m. Recomputing FK exactly gives m. The two differ by about 0.03 mm, a tiny fraction of the 8 mm motion, because the error of the linear estimate is second order in . Joint 1 moves the tool along a circle about the base, perpendicular to the line from the base to the tool.
One position, two configurations
For a 2R arm (0.4 m and 0.3 m), the point m is reached by elbow up, and elbow down, . FK maps each of them to the same point. This is why IK must choose a branch.
Interactive experiment
Interactive 2R inverse kinematics (needs JavaScript).
Real-world applications
- Robot controllers run FK at every control cycle to report the tool pose and to monitor safety zones.
- Offline programming and simulation tools use FK to animate and collision-check robot programs before they reach the cell.
- Jogging in "world" or "tool" mode on a teach pendant solves IK (or its velocity form) continuously, so the tool moves along the axes you press.
Common mistakes
Expecting straight joint moves to give straight tool paths
Joint interpolation gives curved tool paths. If the tool must follow a line, plan in Cartesian space and solve IK along it.
Assuming IK has one answer
Even a 2R arm has two solutions for most targets. A 6-DOF arm can have up to 16, and a redundant arm has infinitely many.
Leaving out the base or tool transform
FK to the flange is not FK to the tool. Getting the TCP wrong by 10 mm moves every taught point by up to 10 mm.
Using the first-order estimate for large motions
δx ≈ J δq holds only for small δq. For large steps, recompute FK or iterate.
Key takeaways
- The configuration q is the set of joint values; the tool pose is described in Cartesian coordinates.
- FK is a product of link transforms and always has exactly one answer.
- IK inverts that map and may have no answer, several, or infinitely many.
- Joint-space and task-space motion differ; the Jacobian links them for small motions.
Knowledge check
Write an answer to each question, then reveal the explanation. Your answers stay in your browser.
Question 1
Why does forward kinematics always have exactly one solution?
Explanation
Each joint value fixes its link transform uniquely, and a product of matrices has one value. Every configuration places the tool in exactly one pose.
Question 2
A planar 3R arm must put its tool at (x, y) with any heading. How many solutions are there typically?
Explanation
Infinitely many: three joints against two constraints leaves a one-parameter family. Each heading in a range gives up to two solutions (elbow up and down) for the wrist point.
Question 3
You move all joints linearly from qa to qb. Does the tool move in a straight line?
Explanation
Generally not: FK is non-linear (sines and cosines of joint sums), so the tool traces a curve. Only special designs such as Cartesian robots map straight joint motions to straight tool motions.
Question 4
What do you need besides the link transforms to compute the tool pose in the world frame?
Explanation
The base transform (where the robot stands in the world) and the tool transform (where the TCP is relative to the flange).
Practise it in the labs
- Lab 04Forward KinematicsDrive 2R, 3R, 4-DOF and 6-DOF arms joint by joint, read the pose and verify your own calculation.
- Lab 05Inverse KinematicsDrag a target: analytical 2R IK with both elbows, pseudoinverse and damped least-squares IK, convergence and limits.
Then test yourself in practice exercises and challenge mode.
References and further reading
- J. J. Craig, Introduction to Robotics: Mechanics and Control, 4th ed., Pearson, 2017, chapters 3–4.
- K. M. Lynch and F. C. Park, Modern Robotics, Cambridge, 2017, chapter 4.