QQFLY.NET
← Writing

What a seventh axis gives a robot arm

A six-axis arm can reach a target pose. But can it keep following the required path when an obstacle, a singularity, or a joint limit gets in the way? That is where a seventh axis becomes useful.

I touched on the Yaskawa SDA arm in an earlier post on its kinematics. Here I want to look more closely at what that extra axis buys us.

Why add a seventh axis?

Many manufacturers offer seven-axis arms:

Seven-axis arms from several manufacturers

For a typical six-axis arm, a given end-effector pose has several inverse-kinematic solutions. Those solutions are discrete in configuration space: in general, the arm cannot move between them while holding the end effector still.

Discrete inverse-kinematic solutions for a six-axis arm

That becomes a problem when the end effector has to follow a prescribed path. If an obstacle or a singularity blocks the way, the arm may have no way through.

Obstacles and inaccessible regions along a path

A seventh axis adds a redundant degree of freedom. Instead of a set of isolated solutions, we get a continuous family of configurations. The arm may now be able to move around an obstacle or avoid a singularity without changing the end-effector path.

Why stop at seven? Why not eight or nine? Seven is enough for many tasks, while additional joints reduce the stiffness of the mechanism. It is a useful compromise between freedom of movement and stiffness. The human arm, incidentally, also has seven degrees of freedom.

The seven degrees of freedom of a human arm

Solving the inverse kinematics

So why did six-axis arms become common first? My guess is that seven-axis inverse kinematics was once thought to lack an analytical solution.

Timing matters here. A robot controller interpolating an end-effector trajectory may need to solve inverse kinematics several times in a servo cycle shorter than 1 ms. Numerical methods, including Jacobian-based iteration, are perfectly reasonable research tools:

Numerical iteration using Newton and gradient methods

At the time (2018), a numerical solve typically took around 0.1 ms—too much of that budget if it had to be repeated several times. That was the motivation for looking for an analytical solution.

Fortunately, one exists for a common arrangement: the first three axes meet at one point, and the last three meet at another. These two spherical joints, separated by a revolute joint, form an S–R–S arm.

A classic treatment is:

Shimizu M, Kakuya H, Yoon W K, et al. Analytical inverse kinematic computation for 7-DOF redundant manipulators with joint limits and its application to redundancy resolution. IEEE Transactions on Robotics, 2008, 24(5): 1131–1142.

I will leave the derivation to the paper. The key idea is to introduce an arm-angle parameter, giving us the extra constraint needed to solve the equations.

The reference plane, arm plane, and arm angle
Defining the arm angle for a Yaskawa SDA arm

The Yaskawa SDA I work with can be handled in a similar way, with a few differences I will leave aside here.

Putting the extra axis to work

First, a familiar kinematics check: draw a circle.

Simulation: tracing a circle

Now vary the arm angle. The arm moves between configurations while the end effector stays put.

Simulation: varying the arm angle with the end effector fixed

The same freedom lets us avoid obstacles without changing the end-effector path:

Simulation: avoiding an obstacle while maintaining the end-effector path

Or stay away from joint limits:

Simulation: avoiding joint limits

The video below has more examples, including tests on the real robot—and a small surprise at the end.

Watch the video in the original article ↗

← Writing