Skip to the content
FixTheRobot Explore Robotics / Manipulator Basics / Labs / Lab 03

Manipulator Basics · Lab 03 of 10

Lab 03: DH Parameter Explorer

Edit a DH table in the standard or modified convention and watch the frames, matrices and robot change.

Objective

Construct manipulators from Denavit–Hartenberg tables, see what each of the four parameters does to the frames, compare the standard and modified conventions, and find the DH parameters of a given robot.

Brief theory

The DH convention places one frame on each link so that two consecutive frames differ by only four numbers. In the standard (distal) convention the link transform is

Standard DH
Ai=Rotz(θi) Transz(di) Transx(ai) Rotx(αi)A_i = \mathrm{Rot}_z(\theta_i)\,\mathrm{Trans}_z(d_i)\,\mathrm{Trans}_x(a_i)\,\mathrm{Rot}_x(\alpha_i)
Joint i moves about (or along) zi−1; frame i sits at the far end of link i.

In the modified (proximal, Craig) convention the order changes and frame ii sits on joint ii:

Modified DH
Ai=Rotx(αi−1) Transx(ai−1) Rotz(θi) Transz(di)A_i = \mathrm{Rot}_x(\alpha_{i-1})\,\mathrm{Trans}_x(a_{i-1})\,\mathrm{Rot}_z(\theta_i)\,\mathrm{Trans}_z(d_i)
Joint i moves about zi. In a modified table, row i holds ai−1 and αi−1.

For a revolute joint θi\theta_i is the variable and did_i is constant; for a prismatic joint it is the other way round. The forward kinematics is the product T0n=A1A2⋯AnT_0^n = A_1 A_2 \cdots A_n. The same physical robot has different numbers in the two conventions, so a DH table is meaningless without its convention: the explorer labels it everywhere. Read Module 05 first.

Simulation workspace

Drag the 3D view to orbit, scroll or pinch to zoom. 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.

  1. Construct a 2R planar manipulatorTwo revolute rows with α = 0 and non-zero a (standard), or the equivalent modified table.
  2. Build a 3R manipulatorThree revolute rows. Try both a planar one (all α = 0) and a spatial one (α₁ = 90°).
  3. Modify DH parameters and observeChange a, α, d or θ in a row and watch that frame and every frame after it move.
  4. Switch conventionsLoad the same preset in the standard and in the modified convention and compare the tables.

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

  • Your tables build the robots described in the tasks (checked from the table, not a preset name).
  • The cumulative transform T0^n displayed equals the product of the Ai matrices shown.
  • The "Find the DH parameters" challenge matches the hidden robot’s tool pose at three test configurations to within 1 mm.

Explanation of the results

Changing a parameter of row ii moves frame ii and, because the chain multiplies, every later frame by the same rigid motion. Changing αi\alpha_i tilts the next joint’s axis; changing aia_i lengthens the common normal between two axes; did_i slides along the joint axis; θi\theta_i spins about it.

The two conventions give the same tool pose for the same robot (the challenge checks exactly that), but the intermediate frames are placed differently: in the standard convention frame ii is at the end of link ii, in the modified one at its start. Software libraries pick one (for example many textbooks after Spong use standard DH, Craig and several robot vendors use modified DH), which is why reading a DH table always starts with checking its convention.