from (Lynch & Park, 2017):
Inverse Kinematics
For a general
To highlight the main features of the inverse kinematics problem, let us examine the two-link planar open chain of the following figure as a motivational example.
Inverse kinematics of a
planar open chain. (a) A workspace, and lefty and righty configurations. (Lynch & Park, 2017).
Considering only the position of the end-effector and ignoring its orientation, the forward kinematics can be expressed as
Assuming
Finding an explicit solution
We also recall the law of cosines,
where
Geometric solution.
Referring to the figure above, angle
from which it follows that
Also from the law of cosines,
The angle
and the lefty solution is
If
This simple motivational example illustrates that, for open chains, the inverse kinematics problem may have multiple solutions; this situation is in contrast with the forward kinematics, where a unique end-effector displacement
In this chapter we first consider the inverse kinematics of spatial open chains with six degrees of freedom. At most a finite number of solutions exists in this case, and we consider two popular structures – the PUMA and Stanford robot arms – for which analytic inverse kinematic solutions can be easily obtained. For more general open chains, we adapt the Newton–Raphson method to the inverse kinematics problem. The result is an iterative numerical algorithm which, provided that an initial guess of the joint variables is sufficiently close to a true solution, converges quickly to that solution.
Analytic Inverse Kinematics
We begin by writing the forward kinematics of a spatial six-dof open chain using the Denavit-Hartenberg method:
where each
6R PUMA-Type Arm
We first consider a
- the two shoulder joint axes intersect orthogonally at a common point, with joint axis 1 aligned in the
-direction and joint axis 2 aligned in the -direction; - joint axis 3 (the elbow joint) lies in the
-plane and is aligned parallel with joint axis 2; - joint axes 4, 5, and 6 (the wrist joints) intersect orthogonally at a common point (the wrist center) to form an orthogonal wrist and, for the purposes of this example, we assume that these joint axes are aligned in the
-, -, and -directions, respectively.
The lengths of links 2 and 3 are
Inverse position kinematics of a
PUMA-type arm. (Lynch & Park, 2017).
A
PUMA-type arm with a shoulder offset. (Lynch & Park, 2017).
The inverse kinematics problem for PUMA-type arms can be decoupled into inverse-position and inverse-orientation subproblems, as we now show. We first consider the simple case of a zero-offset PUMA-type arm. Referring to the first figure and expressing all vectors in terms of fixed-frame coordinates, denote the components of the wrist center
Note that a second valid solution for
when the original solution for
Singular configuration of the zero-offset
PUMA-type arm. (Lynch & Park, 2017).
If there is an offset
Determining angles
Using
and
where
Four possible inverse kinematics solutions for the
PUMA-type arm with shoulder offset. (Lynch & Park, 2017).
the postures in the upper panel are lefty solutions (elbow-up and elbow-down), while those in the lower panel are righty solutions (elbow-up and elbow-down).
We now solve the inverse orientation problem of finding
where
: rotation about the -axis by angle : rotation about the -axis by angle : rotation about the -axis by angle
Denoting the rotation matrix component of the right-hand side of Equation (LP6.2) by
Stanford-Type Arms
If the elbow joint in a
The first three joints of a Stanford-type arm. (Lynch & Park, 2017).
The first joint variable
where
The translation distance
Ignoring the negative square root solution for
Exercises
Question 1
Compute the inverse kinematics of the following manipulator:
Simple robot with one revolute and one prismatic joint.
The forward kinematics are:
where
Solution:
Given
Meaning, we need to find
Now that we know
Solving for
Therefore:
Question 2
Given the following manipulator:
Simple manipulator.
Part a
Compute the inverse kinematics.
Solution:
Denoting the frames according to the D–H method:
Assigning frames.
Therefore, the table:
The forward kinematics are:
Given
First, we compute
Therefore:
Thing is, we don’t know
That is because we don’t know the sign of
- if
, then: - if
, then: So basically:
Now we can move to
As before,
Regarding
We therefore have 4 solutions.
Part b
Write the inverse kinematics solution as a function of the target point
- The four solutions have a distinct geometrical interpretation of the manipulator’s pose.
- The idea is to allow the user to determine the manipulator’s pose by setting
and .
Let us examine the relation between
- if
, then - if
, then
We can therefore write the solution as:
Distinction between left arm and right arm.
Let us examine the relation between
- if
, then - if
, then
We can therefore write the solution as: