Professional Documents
Culture Documents
3.inverse Kinematics
3.inverse Kinematics
R O B OT I C S
(OEC-EE 703)
NIRMAL MURMU
D E PA RT M E N T O F A P P L I E D P H Y S IC S
U N I V E R S I TY O F C A LC U T TA
Department of Applied Physics, University of Calcutta
SYLLABUS
• Module 1: Basics of Robotics ( 10 Hours)
• Introduction, components and structure of robotics system.
INTRODUCTION TO ROBOTICS
• Industrial Manipulator
• Robot arm kinematics and dynamics
• Planning of manipulator trajectory
• Elementary steps for robot arm design
• Control of robot arm
• Force and Impedance Control
• Mobile Robot: Wheeled and legged robots, trajectory planning,
locomotion, SLAM.
D I R E C T & I N V E R S E K I N E M AT I C S
• Spatial description and transformation
• Direct kinematics
• Inverse kinematics
• About the problem
• Method of solution
• Example
W O R K S PAC E
• The solution exists at all raises the question of the manipulator's
workspace
• Workspace is that volume of space where end-effector of the
manipulator can reach
• Dextrous workspace: The volume of space that the robot end-
effector can reach with all orientations.
• Reachable workspace: The volume of space, the robot can reach
in at least one orientation.
! Just think about the furthest points you can touch with your fingertips, that's the outer
boundary of your reachable workspace.
! The dextrous workspace is made up of all the points where you could grab a stationary
object and still move all your joints as you usually could.
W O R K S PAC E
• The reachable workspace is the volume whereby the end effector
is capable of reaching each point within the space in at least one
orientation
• The dexterous workspace has the end effector capable of
reaching all points in all orientations.
W O R K S PAC E
• If the goal (desired position and orientation) is in the reachable
workspace, then there’s at least 1 solution.
• The reachable workspace is dependent on the manipulator.
• There might be several solutions.
• We won’t cover the following considerations: obstacles, limits on
joint ranges,...
W O R K S PAC E
• Consider the workspace of the two-link manipulator in the figure,
If 𝐿1 = 𝐿2 , then the reachable workspace consists of a disc of
radius 2𝐿1 .
• The dextrous workspace consists of only a single point, the origin.
W O R K S PAC E
• If 𝐿1 ≠ 𝐿2 , then the reachable workspace becomes a ring of
outer radius 𝐿1 + 𝐿2 and inner radius |𝐿1 − 𝐿2 |.
• The dextrous workspace consists of only a single point, the origin.
• There is no dextrous workspace.
• Inside the reachable workspace there are two possible
orientations of the end-effector. On the boundaries of the
workspace there is only one possible orientation
S O LVA B I L I T Y: E X I S T E N C E O F
SOLUTIONS
• These considerations of workspace for the two-link manipulator
have assumed that all the joints can rotate 360 degrees. This is
rarely true for actual mechanisms.
• When joint limits are a subset of the full 360 degrees, then the
workspace is obviously correspondingly reduced, either in extent,
or in the number of possible orientations attainable
S O LVA B I L I T Y: E X I S T E N C E O F
SOLUTIONS
• When a manipulator has fewer than six degrees of freedom, it cannot
attain general goal positions and orientations in 3-
space.
• Clearly, the planar manipulator in the previous figure cannot reach out of
the plane, so any goal point with a nonzero Z coordinate value can be
quickly rejected as unreachable.
• Workspace also depends on the tool-frame transformation. Generally,
the tool transformation is performed independently of the manipulator
kinematics and inverse kinematics, so we are often led to consider the
workspace of the wrist frame, {W}.
• If the desired position and orientation of the wrist frame is in the
workspace, then at least one solution exists.
ODD SEMESTER, 2022
Department of Applied Physics, University of Calcutta
M U LT I P L E S O L U T I O N S
• Another possible problem encountered in solving kinematic
equations is that of multiple solutions.
• A planar arm with three revolute joints has a large dextrous
workspace in the plane, because any position in the interior of its
workspace can be reached with any orientation.
M U LT I P L E S O L U T I O N S
• The number of solutions depends upon the number of joints
in the manipulator but is also a function of the link parameters
(𝛼𝑖 , 𝑎𝑖 , and 𝑑𝑖 for a rotary joint manipulator) and the allowable
ranges of motion of the joints.
• For example, the PUMA 560 can reach certain goals with eight
different solutions. The following figure shows four solutions;
all place the hand with the same position and orientation.
M U LT I P L E S O L U T I O N S
• For each solution pictured, there is another solution in which the
last three joints “flip" to an alternate configuration according to
the following formulas:
𝜃4′ = 𝜃4 + 180
𝜃5′ = −𝜃5
𝜃6′ = 𝜃6 + 180
• So, in total, there can be eight solutions for a single goal. Because
of limits on joint ranges, some of these eight could be
inaccessible.
D I R E C T & I N V E R S E K I N E M AT I C S
• Spatial description and transformation
• Direct kinematics
• Inverse kinematics
• About the problem
• Method of solution
• Example
METHOD OF SOLUTION
• There’s no general algorithm
• Consider a manipulator as “solvable” if it is possible to calculate
all the solutions.
• Manipulator solution strategies might be split into 2 classes:
closed-form and numerical solutions (generally slower because of
their iterative nature).
METHOD OF SOLUTION
• closed-form solutions methods are solutions methods based on
analytic expressions or on the solution of a polynomial of degree
4 or less.
• There’s a general numerical solution for which all “6 DOFs in a
single chain” system with revolute and prismatic joints are
solvable!
• Only on special cases can they be solved analytically.
METHOD OF SOLUTION
• There are several closed-form solution strategies. We’ll discuss
the following 2:
• Algebraic
• Algebraic solution by reduction to polynomial
• Pieper’s criteria
• Another heuristically solution strategy:
• Cyclic Coordinate Descent (CCD)
ALGEBRAIC SOLUTION BY
R E D U C T I O N T O P O LY N O M I A L
• Substitution:
𝜃
𝑢 = tan
2
1 − 𝑢2 2𝑢
cos 𝜃 = , sin 𝜃 =
1 + 𝑢2 1 + 𝑢2
• Advantage:
• the substitution yields an expression in terms of variable
ui instead of sin 𝜃𝑖 and cos 𝜃𝑖.
• Once the solutions for 𝑢𝑖 are found,
𝜃𝑖 = 2tan−1 (solutions−of−𝑢𝑖).
PIEPER’S CRITERIA
• There’s a closed-form solution for 6 DOFs manipulators (with
prismatic and/or revolute joints configurations) in which 3
consecutive axes intersect in 1 point.
• Almost every 6 DOFs manipulator built today respect Pieper’s
criteria.
D I R E C T & I N V E R S E K I N E M AT I C S
• Spatial description and transformation
• Direct kinematics
• Inverse kinematics
• About the problem
• Method of solution
• Example
where,
Obtain
Where,
where,
where,