Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-mlc7c Total loading time: 0 Render date: 2024-11-17T13:21:34.568Z Has data issue: false hasContentIssue false

6 - Inverse Kinematics

Published online by Cambridge University Press:  04 June 2024

Kevin M. Lynch
Affiliation:
Northwestern University, Illinois
Frank C. Park
Affiliation:
Seoul National University
Get access

Summary

For a general n degree-of-freedom open chain with forward kinematics T (θ), θ ϵ Rn, the inverse kinematics problem can be stated as follows: given a homogeneous transform X ϵ SE(3), find solutions θ that satisfy T (θ) = X. To highlight the main features of the inverse kinematics problem, let us examine the twolink planar open chain of Figure 6.1(a) as a motivational example. Considering only the position of the end-effector and ignoring its orientation, the forward kinematics can be expressed as

Assuming L1 > L2, the set of reachable points, or the workspace, is an annulus of inner radius L1 −L2 and outer radius L1 +L2. Given some end-effector position (x, y), it is not hard to see that there will be either zero, one, or two solutions depending on whether (x, y) lies in the exterior, boundary, or interior of this annulus, respectively. When there are two solutions, the angle at the second joint (the “elbow” joint) may be positive or negative. These two solutions are sometimes called “lefty” and “righty” solutions, or “elbow-up” and “elbow-down” solutions.

Finding an explicit solution (θ1, θ2) for a given (x, y) is also not difficult. For this purpose, we will find it useful to introduce the two-argument arctangent function atan2(y, x), which returns the angle from the origin to a point (x, y) in the plane. It is similar to the inverse tangent tan−1(y/x), but whereas tan−1(y/x) is equal to tan−1(−y/−x), and therefore tan−1 only returns angles in the range [−π/2, π/2], the atan2 function returns angles in the range (−π, π]. For this reason, atan2 is sometimes called the four-quadrant arctangent.

We also recall the law of cosines,

where a, b, and c are the lengths of the three sides of a triangle and C is the interior angle of the triangle opposite the side of length c.

Referring to Figure 6.1(b), angle β, restricted to lie in the interval [0, π], can be determined from the law of cosines,

Type
Chapter
Information
Modern Robotics
Mechanics, Planning, and Control
, pp. 187 - 208
Publisher: Cambridge University Press
Print publication year: 2017

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×