ArticleslgStudy

computer science

Forward kinematics

Forward kinematics is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Forward kinematics rather than just read about it. In short: In robot kinematics, forward kinematics refers to the use of the kinematic equations of a robot to compute the position of the end-effector from specified values for the joint parameters. The kinematics equations of the robot are used in robotics, computer games, and animation.

Forward kinematics — main illustration
Forward kinematics — illustration

Key takeaways

  • Forward kinematics belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Forward kinematics to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Forward kinematics from memory before moving on to harder problems.

Reference excerpt

In robot kinematics, forward kinematics refers to the use of the kinematic equations of a robot to compute the position of the end-effector from specified values for the joint parameters. The kinematics equations of the robot are used in robotics, computer games, and animation. The reverse process, that computes the joint parameters that achieve a specified position of the end-effector, is known as inverse kinematics.

Kinematics equations The kinematics equations for the series chain of a robot are obtained using a rigid transformation [Z] to characterize the relative movement allowed at each joint and separate rigid transformation [X] to define the dimensions of each link. The result is a sequence of rigid transformations alternating joint and link transformations from the base of the chain to its end link, which is equated to the specified position for the end link,

[T]=[Z1][X1][Z2][X2]…[Xn−1][Zn], where [T] is the transformation locating the end-link. These matrix equations are called the kinematics equations of the serial chain.

Link transformations In 1955, Jacques Denavit and Richard Hartenberg introduced a convention for the definition of the joint matrices [Z] and link matrices [X] to standardize the coordinate frame for spatial linkages. This convention positions the joint frame so that it consists of a screw displacement along the Z-axis

[Zi]=TransZi(di)RotZi(θi), and it positions the link frame so it consists of a screw displacement along the X-axis,

[Xi]=TransXi(ai,i+1)RotXi(αi,i+1). Using this notation, each transformation-link goes along a serial chain robot, and can be described by the coordinate transformation,

i−1Ti=[Zi][Xi]=TransZi(di)RotZi(θi)TransXi(ai,i+1)RotXi(αi,i+1), where θi, di, αi,i+1 and ai,i+1 are known as the Denavit-Hartenberg parameters.

Kinematics equations revisited The kinematics equations of a serial chain of n links, with joint parameters θi are given by

[T]=0Tn=∏i=1ni−1Ti(θi), where i−1Ti(θi) is the transformation matrix from the frame of link i to link i−1. In robotics, these are conventionally described by Denavit–Hartenberg parameters.

Denavit-Hartenberg matrix The matrices associated with these operations are:

TransZi(di)=[10000100001di0001],RotZi(θi)=[cos⁡θi−sin⁡θi00sin⁡θicos⁡θi0000100001]. Similarly,

TransXi(ai,i+1)=[100ai,i+1010000100001],RotXi(αi,i+1)=[10000cos⁡αi,i+1−sin⁡αi,i+100sin⁡αi,i+1cos⁡αi,i+100001]. The use of the Denavit-Hartenberg convention yields the link transformation matrix, [i-1Ti] as

i−1Ti=[cos⁡θi−sin⁡θicos⁡αi,i+1sin⁡θisin⁡αi,i+1ai,i+1cos⁡θisin⁡θicos⁡θicos⁡αi,i+1−cos⁡θisin⁡αi,i+1ai,i+1sin⁡θi0sin⁡αi,i+1cos⁡αi,i+1di0001], known as the Denavit-Hartenberg matrix.

Computer animation

The forward kinematic equations can be used as a method in 3D computer graphics for animating models. The essential concept of forward kinematic animation is that the positions of particular parts of the model at a specified time are calculated from the position and orientation of the object, together with any information on the joints of an articulated model. So for example if the object to be animated is an arm with the shoulder remaining at a fixed location, the location of the tip of the thumb would be calculated from the angles of the shoulder, elbow, wrist, thumb and knuckle joints. Three of these joints (the shoulder, wrist and the base of the thumb) have more than one degree of freedom, all of which must be taken into account. If the model were an entire human figure, then the location of the shoulder would also have to be calculated from other properties of the model. Forward kinematic animation can be distinguished from inverse kinematic animation by this means of calculation - in inverse kinematics the orientation of articulated parts is calculated from the desired position of certain points on the model. It is also distinguished from other animation systems by the fact that the motion of the model is defined directly by the animator - no account is taken of any physical laws that might be in effect on the model, such as gravity or collision with other models.

See also Inverse kinematics Kinematic chain Robot control Mechanical systems Robot kinematics Kinematic synthesis

References

Illustrations

Forward kinematics: An articulated six DOF robotic arm uses forward kinematics to position the gripper.
An articulated six DOF robotic arm uses forward kinematics to position the gripper.
Forward kinematics: The forward kinematics equations define the trajectory of the end-effector of a PUMA robot reaching for parts.
The forward kinematics equations define the trajectory of the end-effector of a PUMA robot reaching for parts.
Forward kinematics: Forward vs Backwards Kinematics
Forward vs Backwards Kinematics

Worked examples

Example 1 — a first encounter with Forward kinematics

Start with the simplest possible case. Write down what Forward kinematics claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Forward kinematics before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Forward kinematics ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Forward kinematics

In research
Forward kinematics appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Forward kinematics in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Forward kinematics is common in secondary-school and first-year university syllabi. It links to neighbouring topics 3D computer graphics, Computational physics, Robot kinematics, so understanding it makes those chapters shorter.
In everyday life
Look for Forward kinematics outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Forward kinematics” →

How to study Forward kinematics in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Forward kinematics means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Forward kinematics out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Forward kinematics in simple terms?

In robot kinematics, forward kinematics refers to the use of the kinematic equations of a robot to compute the position of the end-effector from specified values for the joint parameters. The kinematics equations of the robot are used in robotics, computer games, and animation.

Why does Forward kinematics matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Forward kinematics?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Forward kinematics.

Tags

  • 3D computer graphics
  • Computational physics
  • Robot kinematics

Keep exploring