RC Session3 Inverse Kinematics
RC Session3 Inverse Kinematics
Dr Seemal Asif
20/10/2020
www.cranfield.ac.uk
• The relative position of the tool frame {T} with respect to the station
frame is
𝑆
𝑇 𝑇(ϴ1, ϴ2, …,ϴn) = 𝐵𝑆𝑇 01𝑇(𝑎0,𝛼0,𝑑1) (ϴ1) 12𝑇(𝑎1,𝛼1,𝑑2) (ϴ2) …
… 𝑁−1 𝑊
𝑁𝑇 𝑎𝑁−1,𝛼𝑁−1,𝑑𝑁 (𝜃𝑁 ) 𝑇 𝑇
Standard frames:
• The base frame, the station frame, tool frame and goal frame.
1. The user specifies the station frame relative to the base frame 𝐵𝑆𝑇
based on the physical arrangement of the workspace.
2. The user specifies the tool frame relative to the wrist frame 𝑊𝑇𝑇. This
depends on the particular tool gripped by the robot and how it is
gripped.
3. The user specifies the goal frame, usually specified for the goal of the
tool. The goal frame {G} is specified with respect to the station frame
𝐺
𝑆𝑇
• The goal wrist frame is calculated based on setting the tool frame equal
to the goal frame {T} = {G}. Thus,
0 0 𝐵 𝑆 𝑇
𝑊𝑇 = 𝐵 𝑇 𝑆𝑇 𝑇 𝑇 𝑊𝑇
= 0𝑆𝑇 𝐺𝑆𝑇 𝑊𝐺𝑇
• Existence of solutions
• Multiple solutions
• Non-Uniqueness of Inverse Kinematics
• Methods of solutions
Sometimes
there is no
solution!
• Note that if a manipulator has less than 6 DOF then it cannot attain
general positions and orientations in 3-space
• For economy of time and energy its probably better to pick the solution
nearest to the current configuration
• IK solution is the set of joint variables associated with an end effector’s desired
position and orientation
• There are no good general algorithms that lead to the solution of inverse
kinematic equations
• There are two main categories of manipulator inverse kinematics solutions:
1. Closed form solutions: In which the forward kinematics may be rewritten in a
manner that leads to a set of highly structured non-linear equations that may
be solved explicitly for the joint variables
2. Numerical solutions: In which a numerical algorithm is applied that explicitly
generates all solutions in a computationally feasible manner
Aristidou, A., & Lasenby, J. (2011). FABRIK: A fast, iterative solver for
the Inverse Kinematics problem. Graphical Models, 73(5), 243-260.
We then compute
Refers to C.5 in the
formula sheet
Having found the ϴ2 we can solve (4.10) and (4.11) for ϴ1. We write (4.10)
and (4.11) in the form
Where
(4.20)
y B
C
L2
L1
𝜓
𝛽
A
O x 𝑋0
y B
C ϴ2
L2
L1
Pythagorean
𝜓
Theorem 𝛽
A
O
x 𝑋0
𝐿2 2 = 𝐿1 2 + 𝑥 2 + 𝑦 2 − 2𝐿1 𝑥 2 + 𝑦 2 cos(𝜓)
𝑥 2 + 𝑦 2 + 𝐿1 2 − 𝐿2 2
cos(𝜓) =
2𝐿1 𝑥 2 + 𝑦 2
• Manipulators that are sufficiently simple that the forward kinematics can
be rewritten as a set of polynomial equations or order four or less are
termed closed-form solvable (Polynomials of order five do not have a
closed-form solution)
• One strategy for determining inverse kinematics is Pieper’s solution
• Although an arbitrary 6 DOF manipulator cannot be solved using a
closed form solution, the quite common class of manipulators, where
three axes intersect at a point, can be solved – using Pieper's solution
The key idea in Pieper's approach is to split the calculation into two
separate problems - the first three, and the last three joints
1. Locate the intersection of the last 3 joint axes
2. Calculate the position of this intersection point, given we know the
desired position P and pose R of the end effector/tool
3. Solve inverse kinematics for first three joints
4. Compute 36𝑇, and determine 03𝑇 06𝑇
5. Solve inverse kinematics for last three joints
• Finally,
• θ3 = - (90 + ζ)
• The negative sign in θ3 indicates that the rotation occurred in the opposite
direction
Almaged, M. (2017). Forward and Inverse Kinematic Analysis and
Validation of the ABB IRB 140 Industrial Robot. Journal of Mechanical
Engineering and Technology (JMET), 9(2), 1-20.
• Any position within the robot workspace can be achieved with many
orientations
• ∴ multiple solutions exist for the variables Ɵ1, Ɵ2 and Ɵ3 due to the
nature of trigonometric functions
Almaged, M. (2017). Forward and Inverse Kinematic Analysis and
Validation of the ABB IRB 140 Industrial Robot. Journal of Mechanical
Engineering and Technology (JMET), 9(2), 1-20.
• The final orientation matrix that results from these three consecutive
rotations will be as follow
• The last three intersected joints form a set of ZYZ Euler angles with
respect to frame {3}
We can use the ZYZ Euler’s angles formula to obtain the solutions for Ɵ4-6
(2.73-2.74, P.45 John Craig’s textbook)
Singularity
if β = 0 or 180 will position the robot in a singular configuration where the
joint axes 4 and 6 are parallel
• Saw the practical reality of what the maths in each of these cases is
telling us, ie. depends on the relationship between the robot's workspace
and the point we specify.
• Number of possibilities for solving the inverse kinematics: numerical,
closed form (algebraic and geometric).
• These days, with fast, modern computing hardware, numerical approach
most popular
• However, closed form solution methods still useful, since most robots
designed with “simple” form so closed form solution is possible.
• Strategies for finding closed form solution: Reduction to polynomial,
Pieper's method
Exercise