Forward kinematics asks one question: if I set every joint to some value, where is the hand? DH answers it with a frame on every link and a strict set of rules. The product of exponentials (PoE) answers it with just two frames, the base and the tool, plus one “screw axis” per joint. Fewer frames, fewer places to mess up.
Explaining PoE is important for the exam, and so is building the screw axes that go into it. Building the axes is where most of the confusion lives, so that comes first.
Screw axis vs exponential coordinates
These two look almost identical on paper and they are not the same thing. Driving directions make it obvious:
| Driving | Robotics | |
|---|---|---|
| Direction | ”point the car north-east” | screw axis |
| Amount | ”drive 5 km” | (or , or ) |
| The whole trip | ”drive 5 km north-east” | exponential coordinates |
The screw axis is a pure direction, so something in it has to have length 1. Otherwise “drive 5 km” and “drive 2.5 km at double speed” would be the same trip written two ways. The amount lives in and nowhere else.
A screw axis has six numbers, rotation on top, linear part below:
The two kinds of joint
Always decide first whether the joint turns or slides. That one check picks the formula.
Revolute joint (it turns)
where is any point on the rotation axis. Here the location matters, because of the lever arm. Swing a ball on a 1 m rope and on a 4 m rope: same rotation, totally different motion of the ball. The cross product is what captures that. And “any point” is fine because sliding along the axis adds a part parallel to , which the cross product kills.
You do not normalise here. Its length encodes how far the axis is from the origin. Force it to length 1 and the robot “forgets” how long its links are.
Prismatic joint (it slides)
Here the location does not matter. A train heading north is heading north whether the track is at your feet or 4 km to your right. A slider only has a direction.
The trap I fell into. A slider sitting at that moves straight down has , not the normalised . That second vector would describe a joint sliding diagonally from the base across the room. Think of an elevator four blocks away: it still only goes up and down.
Figure vs matrix: same method, different input
Two exercises looked like they used different rules for sliders, and it messed with me for a while. They don’t.
- Given a figure: you see the arrow directly. “Straight down” is , which is already length 1. Done.
- Given a transform with : you only see where it ended up, the translation . So you split it into direction and amount yourself: , .
Example: is a diagonal slide. , and has length 1 even though its entries aren’t 1. Had the figure shown that diagonal arrow, you would have had to normalise it there too.
Worked example: the SCARA
A SCARA-type arm: joint 1 turns about at the origin, joint 2 about at , joint 3 about at , and joint 4 slides straight down. In the home pose the tool sits at .
Step 1: the home pose
is an ordinary homogeneous transform. Read it off the figure like any other: rotation columns are the tool’s axes in world coordinates, the last column is the tool position.
Decode colours first, red = , green = , blue = . If the tool’s red arrow points opposite to the world’s green arrow, then and the first column is . With the tool’s pointing down:
Step 2: one screw axis per joint
All three revolute joints have . Only changes:
| Joint | Type | ||||
|---|---|---|---|---|---|
| 1 | revolute | ||||
| 2 | revolute | ||||
| 3 | revolute | ||||
| 4 | prismatic | (ignored) |
Pattern worth stealing: a -axis joint at distance along always gives .
Step 3: hat every axis
The exponential only works on square matrices, so every 6-vector gets “inflated” into a . The hat (or ) is the instruction to do that. No new maths: top three numbers go into the skew-symmetric block, bottom three become the right column, bottom row is zeros.
How I remember : diagonal all zeros, top-right triangle is reading row by row, then mirror it with the signs flipped. For joint 2:
Step 4: assemble
Checklist for a complete answer, because I lost points on each of these at least once:
- every is wrapped in its own . It is called product of exponentials, after all.
- the stay as variables. “State the PoE” means write the equation, not evaluate it. They are the motor inputs.
- is at the end. Without it you have only described motions, not where the tool is.
- you cannot merge the exponents into . For matrices only if , and joint motions basically never commute.
Evaluating it with actual numbers
Evaluating PoE for concrete joint values means four matrix exponentials (each one
a Rodrigues-style formula). That is computer work: MATLAB’s expm does it in a blink. By
hand, under time pressure, with a calculator that only does , forget it.
What you can do is trace the motion physically. Take :
- Joint 1 turns : link 1 now points down , so joint 2 sits at .
- Joint 2 turns : link 2 swings back to point along , so the arm’s end is at .
- Joint 3 turns : the tool spins in place. Orientation changes, position doesn’t.
- Joint 4 slides down 1: height goes from 1 to 0.
The tool origin ends up at . To get the tool origin out of a finished instead, multiply by , which just picks the last column. The position of a frame is the translation column of its transform.
URDF: the same robot, written relatively
A URDF describes the same arm as an XML tree of links (the bones) and joints (the hinges).
Each joint has a parent, a child, an <origin xyz rpy> and an <axis>.
The trap. In PoE everything is measured from the base. In URDF every
<origin>is measured from the previous joint. My first attempt put joint 2 atxyz="2 0 4"(absolute). The correct entry isxyz="2 0 0": two to the right of joint 1, nothing more.
<joint name="q2" type="continuous">
<parent link="link_1" />
<child link="link_2" />
<origin xyz="2 0 0" rpy="0 0 0" />
<axis xyz="0 0 1" />
</joint>
continuous is a revolute joint with no limits, prismatic slides. The <axis> is the
same direction you would put in or . To get the pose out of a URDF, turn each
<origin> into a transform (xyz is the translation, rpy builds )
and chain them.