Teaching Seven-Degrees-of-Freedom Robots

Seven-Degrees-of-Freedom (7-DOF) type robots have redundant axes as part of the inverse kinematic chain.

Kinematic redundancy is beneficial because it allows robots to require a small footprint and move in complex ways to avoid collision with obstacles and improve target reachability in constrained environments. The challenge with these robots is that their complexity requires additional information when you seek to teach them.

This page discusses:

Jogging 7-DOF Robots

Described below are the forward and inverse kinematic behaviors of 7-DOF robots.

Forward Kinematic Behavior

The forward kinematic behavior for 7-DOF robots during jog is identical to other robot models except that the joint tab of the Jog dialog box displays seven joints instead of the usual six.

Inverse Kinematic (IK) Behavior

The inverse kinematic (IK) behavior for a 7-DOF robot is dependent on the IK routine defined for the model during its Robot Library definition and creation.

There are two basic approaches for the IK behavior:

Redundant Angle (RA) Behavior
In this approach, the seventh joint of the robot IK chain is maintained at its current angular value. The IK solves for the other 6 joints to reach the required target.
Elbow Angle (EA) Behavior
In this approach, the inverse kinematics algorithm solves all seven joints of the robot IK chain to reach the required target while also maintaining the requested Elbow Angle value. This Elbow Angle for a 7 DOF Robot arm is the angle between the plane of the arm and the vertical plane as shown.
  • Elbow Angle = -45

  • Elbow Angle = 0

  • Elbow Angle = +120

The inverse kinematic routine assigned to the robot during its definition defines the choice of RA or EA for a particular 7-DOF robot.

The particular IK behavior for a 7-DOF robot during jog is such that the motion of the orientation Robot results in the robot TCP following the orientation Robot position and orientation. Therefore, maintaining the current value of the RA or EA. This angle value is displayed in the Cartesian tab of the Jog dialog box. In the case of an RA-type 7 DOF Robot, the limits in the display are the Joint limits for the redundant Joint 7. In the case of an EA-type Robot, the limits are -180 to +180.

TCP Lock Precession

There is an additional behavior related to your specified modification of the angle value during IK jog.

The behavior changes if you have modified the RA or EA by entering a number or using the spinners. The IK algorithm solves such that the TCP position and orientation lock in place while the arm orientation changes to achieve the specified RA or EA value. If the spinner value is constantly changed by holding down the mouse, the arm appears to rotate or process between the robot base and the robot TCP. This behavior in jog is essential to avoid obstacles and exploit the reachability benefits of the 7-DOF arm without changing the TCP location.

Teaching 7-DOF Robots

Shown below is an example of the Teach dialog box in Table mode when teaching a 7-DOF robot.

The angle value displayed in the Elbow Angle column is the RA or the EA value. In the case of an RA-type 7-DOF robot, the display limits of this field are the joint limits for the redundant Joint 7. In the case of an EA-type 7-DOF robot, the display limits for this field are -180 to +180 degrees.

  • When you insert a new move operation while teaching a 7-DOF robot, the current RA or EA value displays and saves into this new field.
  • If you invoke Jog during Teach, the Cartesian tab page provides you with the EA to exploit the behavior.
  • After doing any TLP type adjustment of the robot arm for collision or reachability, you can Modify the current operation in Teach and the robot's current new RA or EA value replaces the value for that operation.
  • During playback for Tag or Cartesian targets, the robot's IK algorithm uses the RA or EA value that persists to compute the appropriate solution for all seven joints of the robot. Joint or Home targets specify all seven joint values, and therefore ignore the RA or EA.
  • During playback for LIN or CIR motion types, the motion planner from the initial target-related value interpolates the RA or EA value to the final related target. This maintains any EA or RA values that you selected for obstacle avoidance reasons during the intermediate steps of the robot's motions. JNT or SLEW motion types ignore the RA or EA value during the intermediate steps of the robot motion since there is no use of the robot's IK algorithm during intermediate step computations for these motion types.