Robot arm kinematics in 3D

A two-link robot arm bent at the elbow on a round pedestal, with the shoulder and elbow angles marked by arrows, a two-finger gripper with a red tool point, and a panel naming forward and inverse kinematics.Drag to turn

Robot arm kinematics is the geometry of arm motion. It relates joint variables, such as angles, to the position and orientation of the end effector, without considering forces or masses.

What kinematics describes in a robot arm

A robot arm is a chain of rigid links joined by joints. Each joint is usually revolute, which rotates, or prismatic, which slides. The end effector is the tool or gripper at the free end of the chain.

Kinematics studies motion only. It asks where the end effector is for a given set of joint values, and which joint values reach a wanted pose. A pose is a position plus an orientation. Forces and torques belong to dynamics, a separate topic.

Forward kinematics: from joint values to pose

Forward kinematics computes the end effector pose from known joint values. Each link adds a rotation and a translation to the one before it. Multiplying these steps in order gives the final pose.

In three dimensions this is usually done with 4 by 4 transformation matrices. A common convention for setting up the link frames is the Denavit-Hartenberg method. For a given set of joint values, forward kinematics gives exactly one answer.

Worked example: a two-link planar arm

Take two links in a plane, each 0.5 m long. Joint 1 angle is θ1 and joint 2 angle is θ2, measured relative to link 1. The tip position is x = L1 cos θ1 + L2 cos(θ1 + θ2) and y = L1 sin θ1 + L2 sin(θ1 + θ2).

Set θ1 = 0 and θ2 = 90 degrees. Then x = 0.5 × 1 + 0.5 × cos 90 = 0.5 + 0 = 0.5 m. And y = 0.5 × 0 + 0.5 × sin 90 = 0 + 0.5 = 0.5 m. The tip is at (0.5, 0.5).

Now reverse it. The elbow angle follows from cos θ2 = (x² + y² − L1² − L2²) / (2 L1 L2) = (0.5 − 0.5) / 0.5 = 0. So θ2 is +90 or −90 degrees. With θ2 = −90 degrees, θ1 = 90 degrees gives x = 0 + 0.5 × cos 0 = 0.5 and y = 0.5 + 0 = 0.5. Both settings reach the same point.

Inverse kinematics and its limits

Inverse kinematics finds joint values for a wanted pose. It is harder than the forward problem. The equations are nonlinear, and a target can have several solutions, as the example shows, or none if it lies outside the reachable workspace.

Many arms with six joints have closed-form solutions, but not all designs do. Otherwise numerical methods are used. Near a singularity, such as a fully stretched arm, small tip motions can demand very large joint speeds.

Misconceptions and where it appears

One misconception is that a reachable point has one set of joint angles. Usually it has several, called configurations, and the controller must choose one. Another is that kinematics predicts the needed motor torque. It does not, because torque requires dynamics.

Kinematics is used in industrial welding and assembly arms, surgical robots, camera cranes and robot simulation software. It is also the first step in path planning, where a tool path is converted into joint commands.

Key terms

Forward kinematics
Calculation of the end effector pose from given joint values.
Inverse kinematics
Calculation of the joint values needed to reach a given end effector pose.
End effector
The tool or gripper at the free end of the arm.
Revolute joint
A joint that rotates about an axis.
Prismatic joint
A joint that slides along an axis.
Workspace
The set of points the end effector can reach.
Singularity
A configuration where the arm loses the ability to move in some direction, so joint speeds can become very large.

Common questions

Why can inverse kinematics have two answers?

Different joint settings can place the tip at the same point. In the two-link example, elbow up and elbow down both reach (0.5, 0.5) m.

Is kinematics the same as dynamics?

No. Kinematics describes geometry and motion only. Dynamics adds masses, forces and torques.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.