Professional Documents
Culture Documents
Chapter 5 - Lecture Notes (Kinematics) - Part1
Chapter 5 - Lecture Notes (Kinematics) - Part1
Module 5
Forward Kinematics
10-Oct-22 Robotics 1
Cosine Rule
10-Oct-22 Robotics 2
Introduction to Robot Kinematics
• Typically, the manipulator will be able to sense its own position in
some manner using internal sensors (position encoders located at
joints 1 and 2) that can measure directly the joint angles 1 and 2. We
also need therefore to express the positions A and B in terms of these
joint angles.
• This leads to the forward kinematics problem: motion of objects
without reference to the forces which cause the motion.
Robotic Manipulators
• a robotic manipulator is a kinematic chain
• i.e. an assembly of pairs of rigid bodies that can move respect to one another
via a mechanical constraint
• the rigid bodies are called links
• the mechanical constraints are called joints
10-Oct-22 Robotics 6
Two Link manipulator Arm
Four Link manipulator Arm
Joint Variables
• revolute and prismatic joints are one degree of freedom (DOF)
joints; thus, they can be described using a single numeric value
called a joint variable
• qi : joint variable for joint i
1. revolute
• qi = qi : angle of rotation of link i relative to link i – 1
2. prismatic
• qi = di : displacement of link i relative to link i – 1
θi
link i – 1
link i – 1 link i
di
What you can find: The angles of each joint needed to obtain
that position
Forward Kinematics
Given the joint variables and dimensions of the links what is the
position and orientation of the end effector?
a2
θ2
a1
θ1
a2
θ2
y0
a1
θ1
x0
a2
θ2
y0
a1
θ1 ( a1 cos θ1 , a1 sin θ1 )
x0
y1
a2
θ2
y0
θ1
a1 x1
θ1 ( a1 cos θ1 , a1 sin θ1 )
x0
y1
a2
( a2 cos (θ1 + θ2),
θ2 a2 sin (θ1 + θ2) )
y0
θ1
a1 x1
θ1
( a1 cos θ1 , a1 sin θ1 )
x0
y1
a2
( a2 cos (θ1 + θ2),
θ2 a2 sin (θ1 + θ2) )
y0
θ1
a1 x1
θ1
( a1 cos θ1 , a1 sin θ1 )
x0
a2
θ2
y0
θ1
a1
θ1
x0
θ2
y0
θ1
a1
θ1
x0
a1
θ1 ?
x0
a2
y0
a1
x0
law of cosines
b 2 = a12 + a22 − 2a1a2 cos(π − θ 2 ) = x 2 + y 2 (x, y)
a2
b
θ2 ?
y0
a1
x0
x 2 + y 2 − a12 − a22
cos θ 2 = = C2
2a1a2
We could take the inverse cosine, but this gives only one of the two solutions.
± 1 − C 2
θ 2 = tan −1 2
C2
which yields both solutions for θ2 . In many programming languages you would use the
four quadrant inverse tangent function atan2
y −1 a2 sin θ 2
θ1 = tan − tan
−1
x a1 + a2 cos θ 2