Algorithm Search⌘K

Theoremadvanced

Sixteen solutions of the general 6R inverse kinematics

Also called Lee-Liang theorem, 6R sixteen solutions.

The inverse kinematics of a general six-revolute arm has at most 16 complex solutions, and the bound is reached.

An arm with six revolute joints in general position has at most 16 solutions of its inverse kinematics for a given pose of the hand, even when complex joint angles are counted. For a general arm and pose there are exactly 16 complex solutions, and Manseur and Doty (1989) built an arm and a pose for which all 16 are real. So 16 is the exact bound, both over the complex numbers and over the real numbers. The number is the degree of the polynomial that the Raghavan-Roth method reaches. Arms with special geometry, such as a spherical wrist, have fewer solutions; see Pieper's criterion, which gives at most 8.

Statement

Take an arm with six revolute joints and Denavit-Hartenberg parameters (ai,αi,di)(a_i, \alpha_i, d_i), i=1,…,6i = 1, \ldots, 6, and a target pose TT in SE(3)SE(3). Write the pose equation A1(θ1)⋯A6(θ6)=TA_1(\theta_1) \cdots A_6(\theta_6) = T in the half angle tangents xi=tan⁡(θi/2)x_i = \tan(\theta_i/2). This turns it into a system of polynomial equations, and a solution is a point (x1,…,x6)(x_1, \ldots, x_6) in C6\mathbb{C}^6, or a point at infinity for an angle of π\pi.

Theorem.

  1. (Primrose; Lee and Liang; Raghavan and Roth.) For a general arm and pose, the solution set is finite and has at most 16 points.
  2. For the parameters and poses outside a proper algebraic subset, the solution set has exactly 16 points.
  3. (Manseur and Doty.) There is an arm and a pose with 16 real solutions.

Since the parameters and the pose are real, the complex solutions that are not real come in conjugate pairs; for general data the number of real solutions is even, from 0 to 16.

In plain words

Write down the equations that say the hand is at a given pose. Allow the angles to be complex numbers, which makes the counting clean. No matter how the six joints are placed, as long as the answers are isolated, there are at most 16 of them. For almost every arm there are exactly 16, though most of them may be complex and so cannot be used. Someone has also built an arm where all 16 are real, so 16 real poses of the arm can reach the same hand pose.

Proof

The proof is the elimination of Raghavan and Roth. The page gives its steps; the expansion of the large determinant in the last step is a symbolic computation done in their paper, and we do not repeat it here. The Raghavan-Roth method page proves every step in full for the smaller 3R position problem.

Step 1: equations free of θ6\theta_6. Write the loop as A3A4A5=A2−1A1−1 T A6−1A_3A_4A_5 = A_2^{-1}A_1^{-1}\,T\,A_6^{-1}. The rotation A6−1A_6^{-1} starts with Rz(−θ6)R_z(-\theta_6), which fixes the zz axis and the origin. So the third and fourth columns of both sides, a direction l\mathbf l and a point p\mathbf p, do not contain θ6\theta_6. This gives 6 scalar equations in θ1,…,θ5\theta_1, \ldots, \theta_5.

Step 2: the 14 equations. Add p⋅p\mathbf p \cdot \mathbf p, p⋅l\mathbf p \cdot \mathbf l, p×l\mathbf p \times \mathbf l and (p⋅p) l−2(p⋅l) p(\mathbf p \cdot \mathbf p)\,\mathbf l - 2(\mathbf p \cdot \mathbf l)\,\mathbf p of both sides. These products keep the degree in the sines and cosines low, because a rotation keeps lengths, dot and cross products. The result is 14 equations of the form

A(θ3) X45=B X12,A(\theta_3)\,X_{45} = B\,X_{12},

where X45X_{45} holds the 9 terms s4s5,s4c5,c4s5,c4c5,s4,c4,s5,c5,1s_4s_5, s_4c_5, c_4s_5, c_4c_5, s_4, c_4, s_5, c_5, 1, X12X_{12} holds the 8 terms s1s2,s1c2,c1s2,c1c2,s1,c1,s2,c2s_1s_2, s_1c_2, c_1s_2, c_1c_2, s_1, c_1, s_2, c_2, BB is constant, and AA is affine in (cos⁡θ3,sin⁡θ3)(\cos\theta_3, \sin\theta_3).

Step 3: eliminate θ1\theta_1 and θ2\theta_2. Use 8 of the 14 equations to solve for X12X_{12}, and put the result into the other 6. This leaves 6 equations Σ′(θ3) X45=0\Sigma'(\theta_3)\,X_{45} = 0 that do not contain θ1\theta_1 or θ2\theta_2.

Step 4: the dialytic step. With x4x_4 and x5x_5, multiply each equation by (1+x42)(1+x52)(1 + x_4^2)(1 + x_5^2). Each becomes a sum of the 9 terms x4ix5jx_4^ix_5^j with 0≤i,j≤20 \le i, j \le 2. Multiply the 6 equations by x4x_4 as well, which gives 6 more equations. Together the 12 equations are linear in the 12 terms x4ix5jx_4^ix_5^j with 0≤i≤30 \le i \le 3 and 0≤j≤20 \le j \le 2:

Σ(x3) (x43x52,…,1)T=0,\Sigma(x_3)\,\big(x_4^3x_5^2, \ldots, 1\big)^T = 0,

with a 12×1212 \times 12 matrix Σ(x3)\Sigma(x_3) whose entries are polynomials of degree at most 2 in x3x_3. A solution gives a nonzero vector in the kernel, so det⁡Σ(x3)=0\det\Sigma(x_3) = 0.

Step 5: the degree. The determinant has degree at most 24 in x3x_3. It contains the factor (1+x32)4(1 + x_3^2)^4, which comes from the conversion of cos⁡θ3\cos\theta_3 and sin⁡θ3\sin\theta_3 and gives no solution. What is left is a polynomial f(x3)f(x_3) of degree at most 16.

Step 6: back substitution. For a root x3x_3 at which Σ(x3)\Sigma(x_3) has rank 11, the kernel is one dimensional, and its vector fixes x4x_4 and x5x_5 as ratios of its entries. Then X12X_{12} follows from the linear system of Step 3, which fixes θ1\theta_1 and θ2\theta_2, and θ6\theta_6 follows from the remaining columns of the loop equation. So each root gives at most one solution.

Part 1. For a general arm and pose the rank conditions hold, ff is not zero everywhere, and the map from solutions to roots of ff is one to one, so there are at most 16 solutions. Primrose (1986) proved the same bound for the general 7R loop, which covers the general 6R arm, since a 6R arm with a fixed hand pose closes a 7R loop.

Part 2. The conditions that fail somewhere are polynomial equations in the data, so they fail only on a proper algebraic subset, provided they hold at one point. The arm of Manseur and Doty is such a point: there ff has 16 distinct real roots, so ff has degree 16 and the leading coefficient is not zero. Outside a proper algebraic subset, ff then has degree 16 and 16 distinct roots, and each gives one solution.

Part 3. This is the arm of Manseur and Doty, whose 16 real solutions they list in their paper. □\square

Consequences

  • Algorithms that find all solutions. The Raghavan-Roth method, in the eigenvalue form of Manocha and Canny (1994), finds all 16 in well under a millisecond. Homotopy continuation can track 16 paths, one per solution, from a start system that has the same structure.
  • Special arms have fewer. An arm that meets Pieper's criterion has at most 8, and simpler arms fewer still.
  • The number of real solutions is even for general data, because the nonreal ones come in conjugate pairs.
  • The 7R loop. The same count holds for the positions of a closed loop of seven revolute joints with one input angle fixed, the form in which Duffy and Crane, Primrose, and Lee and Liang studied it.
  • Compare. The forward kinematics of the general Stewart-Gough platform is the analogous count for a parallel robot, with the bound 40.

Tightness

  • Over the complex numbers. Part 2 says that 16 is reached for almost all data, so the bound cannot be lowered.
  • Over the real numbers. Part 3 says that 16 real solutions also occur. For a random arm and pose, most of the 16 solutions are usually complex.
  • The generality hypothesis is needed. Special arms and poses can have a continuum of solutions. For example, if two consecutive axes coincide, or an arm with a spherical wrist is in a wrist singularity, only the sum of two angles is fixed.
  • Earlier bounds. Before the bound of 16, the best elimination, by Duffy and Crane (1980), gave a polynomial of degree 32, so it allowed up to 32 solutions.

History

Pieper (1968) solved arms with three intersecting axes and left the general 6R arm open. Duffy and Crane (1980) reduced the equivalent 7R loop to a polynomial of degree 32. Tsai and Morgan (1985) solved arms by homotopy continuation, found 16 solutions, and conjectured that 16 is the bound. Primrose (1986) proved that there are at most 16. Lee and Liang (1988) found a polynomial of degree 16 for the 7R loop. Manseur and Doty (1989) gave an arm with 16 real solutions. Raghavan and Roth presented their elimination in 1990 and published it in 1993, and Manocha and Canny (1994) made it fast and accurate as an eigenvalue problem.

References

  1. Madhusudan Raghavan and Bernard Roth, Inverse kinematics of the general 6R manipulator and related linkages, Journal of Mechanical Design 115(3), 502-508, 1993, the elimination to a polynomial of degree 16 and the back substitution (general locator)
  2. Hong-You Lee and Chong-Gao Liang, Displacement analysis of the general spatial 7-link 7R mechanism, Mechanism and Machine Theory 23(3), 219-226, 1988, the polynomial of degree 16 for the 7R loop (general locator)
  3. E. J. F. Primrose, On the input-output equation of the general 7R-mechanism, Mechanism and Machine Theory 21(6), 509-510, 1986, the proof that the 7R loop has at most 16 positions
  4. Lung-Wen Tsai and Alexander P. Morgan, Solving the kinematics of the most general six- and five-degree-of-freedom manipulators by continuation methods, Journal of Mechanisms, Transmissions, and Automation in Design 107, 189-200, 1985, the 16 solutions found by continuation and the conjecture that 16 is the bound
  5. Rachid Manseur and Keith L. Doty, A robot manipulator with 16 real inverse kinematic solution sets, International Journal of Robotics Research 8(5), 1989, from page 75, the arm and the pose with 16 real solutions
  6. Joseph Duffy and Carl Crane, A displacement analysis of the general spatial 7-link, 7R mechanism, Mechanism and Machine Theory 15(3), 153-169, 1980, the first reduction, to a polynomial of degree 32

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/C37Z8Q/text.yaml