


Grübler’s rule gives the degrees of freedom of a robot:
where for planar mechanisms and for spatial mechanisms, is the number of links (including the ground link), is the number of joints, and is the number of degrees of freedom of joint . The formula assumes that the constraints imposed by the joints are independent. When they are dependent, as can occur in closed chains, the formula gives only a lower bound on the degrees of freedom.
Example: the human arm
How many degrees of freedom does your arm have? Count from your torso to your palm. Keep the center of your shoulder fixed and exclude your fingers.
The four links give , and the three joints give . The joint freedoms sum to . Grübler’s rule with gives
Configuration space topology
Consider a point moving on the surface of a sphere. Its C-space is two-dimensional because two coordinates, latitude and longitude, describe its configuration. A point moving on a plane also has a two-dimensional C-space, with coordinates . The two spaces have different shapes. The plane extends forever, while the sphere wraps around. An oval-shaped American football wraps around like a sphere. You can obtain its shape by stretching a sphere in one direction. Topology describes the sense in which the surfaces of a small sphere, a large sphere and a football have the same kind of shape, while a plane has a different shape. The figure shows several example topologies.
C-space representation
A choice of coordinates for an -dimensional space is an explicit parametrization of the space. For a point on a sphere, the familiar choice is the pair used for navigation on Earth:- Latitude (ϕ): angle from the equator (−90° at South Pole to +90° at North Pole)
- Longitude (λ): angle around the equator (from −180° to +180°)
You can avoid such singularities with an implicit representation. This representation treats an -dimensional space as embedded in a Euclidean space of more than dimensions. For example, a two-dimensional unit sphere is a surface embedded in three-dimensional Euclidean space. An implicit representation uses the coordinates of the higher-dimensional space, such as , with constraints that reduce the number of degrees of freedom. For the unit sphere, the constraint equation is:
An implicit representation uses more numbers than there are degrees of freedom, but it has no singularities. Rotation matrices are the main example in this chapter. A rotation matrix describes an orientation in space with nine numbers subject to six constraints. It also acts on vectors as a linear operator, so you can work with it using matrix algebra.
Velocity constraints: the TurtleBot
A configuration space describes where a robot can be. A wheeled robot cannot move in every direction from each configuration. Lynch and Park describe these limits as velocity constraints in section 2.4 (Kevin M. Lynch, 2017). A differential-drive robot such as the TurtleBot provides an example.- Where can the robot be? Its configuration is , which gives its position in the plane and its heading. Its configuration space is .
- What motions are possible in the plane? At a configuration , the velocity describes an instantaneous motion. A rigid body that slides freely on a table can have any combination of these components.
- Which motions can the TurtleBot make? It drives forward at speed and turns at rate . Forward motion follows its heading, while turning changes that heading: The first column represents forward motion, and the second represents rotation. The velocity has three components, but the robot has only these two independent choices.
- Which motion is forbidden? The wheels cannot slide sideways, so the velocity perpendicular to the heading must be zero. Eliminate from and to obtain In matrix form this is , with A constraint written as is a Pfaffian constraint.
- Does this reduce the configuration space? No. Although the robot cannot move sideways at an instant, it can reach a point beside its starting position by turning, driving, and turning back. This velocity constraint does not limit which configurations are reachable, so you cannot integrate it into a constraint on alone. Lynch and Park call such a constraint nonholonomic (book pages 31 and 32).
Think of each floor in the stack as a page of a book. Each page is a half-plane whose edge lies along the spine. Bending the stack opens the book all the way around, so the page for heading stands at angle around the spine. The last page, , lands on the first, , and the seam disappears.On each page, the height is and the distance from the spine is . As decreases, the point moves toward the spine but never reaches it. No page contains the spine, so the spine is not part of the space. It is the missing axis.A turn in place walks once around the spine and crosses every page. That loop cannot shrink to a point, because the spine is in the way.The pages at one distance from the spine, that is one value of , form the surface of a cylinder. The whole space is these cylinder surfaces nested around the spine. It is a solid cylinder with its center line removed. In a full solid cylinder, the loop could shrink through the center.
Code
Code
Task space
The task space is a space in which you can express the robot’s task naturally. Consider incremental sheet forming, shown below. A metal sheet is clamped in a frame. The robot pushes a tool with a spherical tip into the sheet and follows a path that gradually forms the part. The path of the tip’s center determines the formed surface. Rotation of the tool about that center does not change the surface. The task space is therefore , the position of the tip. If the part is formed in layers of constant depth, each layer is a contour in a plane. The task space of one layer is . If the tool must tilt so that its shank does not hit the wall of a deep part, its direction becomes part of the task. The task space is then . You choose the task space when describing the task, and it does not depend on the robot. A 6-dof arm performing a task in has three degrees of freedom left. You can use them for other purposes, such as avoiding singularities or the clamping frame.
Workspace
The workspace specifies the end-effector configurations that the robot can reach. The robot’s structure primarily determines its workspace, independently of the task.References
- Kevin M. Lynch, F. (2017). Modern Robotics. Link
Found an error on this page? Report an issue.

