Open Source Robotics

A curated collection of high-quality open source robotics projects, tools, and software to propel the robotics community forward.

Kinematic singularity

  • Also called: singular configuration, singularity
  • Category: Foundations & spatial maths › Kinematics
  • Tags: kinematics, jacobian, manipulators, inverse-kinematics, motion-planning

A configuration in which a mechanism's Jacobian loses rank, so the end effector cannot move or apply force in some direction and nearby motions demand very large joint velocities.

Definition

A kinematic singularity is a configuration of a robot arm, leg or other mechanism at which its Jacobian, the matrix mapping joint velocities to end-effector velocity, loses rank. At that point the joints can no longer produce end-effector motion in one or more directions, and the mechanism effectively loses degrees of freedom. The Jacobian itself is defined everywhere; the singularity is a property of particular configurations where its rank drops. The practical trouble starts before the exact singular point: as the configuration approaches it, the smallest singular value of the Jacobian goes to zero, and inverse kinematics that inverts the Jacobian asks for joint velocities that grow without bound.

Singularities are usually grouped by where they occur. Boundary singularities appear at the edge of the workspace, for example when an arm or a leg is fully stretched or fully folded and the elbow or knee is straight. Interior singularities occur inside the workspace when joint axes line up: on a six-axis industrial arm with a spherical wrist, the wrist singularity occurs when the fourth and sixth axes become collinear, the shoulder singularity when the wrist center lies on the first axis, and the elbow singularity when the arm is fully extended. Parallel mechanisms have additional singularity types in which the platform can gain uncontrolled freedom even with all actuators locked.

Singularities have a force side as well. Because joint torques relate to an end-effector wrench through the Jacobian transpose, at a singular configuration some wrenches are resisted by the structure without any joint torque, while others cannot be produced at all. Standard ways of handling singularities include avoiding them in the path or trajectory planner, monitoring a measure such as Yoshikawa's manipulability, using damped least-squares inverse kinematics that trades a small tracking error for bounded joint velocities, and, on redundant robots, using the extra degrees of freedom to steer away from them.

Why it matters

Near a singularity, Cartesian controllers and inverse kinematics can command dangerous joint speeds, lose tracking, or stop on safety limits. Knowing where a mechanism's singularities lie shapes workspace layout, trajectory planning, controller design and even leg and arm design.

Key applications

  • Cartesian path planning and trajectory checking for industrial arms
  • Workspace layout and cell design around a robot
  • Inverse kinematics solvers with damping or singularity avoidance
  • Leg design and base-motion limits for legged robots
  • Manipulability-based optimization for redundant arms

In practice

An engineer programs a six-axis arm to move a tool in a straight line across a workpiece. During the move the fourth and sixth joint axes come close to alignment, and the controller's inverse kinematics demands a rapid half-turn of the wrist, which trips a joint-speed limit and stops the robot. The fix is to move the workpiece so the path stays away from the wrist singularity, add a small tool tilt that keeps the axes apart, or switch to a damped least-squares solver that tolerates a slight deviation from the straight line. On a legged robot, the equivalent issue is a leg reaching full extension: the planner limits base motion so that every leg keeps its knee bent and its Jacobian well conditioned.

Common misconceptions

  • Singularities only happen at the edge of the workspace — interior singularities, such as the wrist singularity of a six-axis arm, occur well inside it
  • Only the exact singular configuration is a problem — the Jacobian becomes ill-conditioned as it is approached, so large joint velocities and poor accuracy appear in a whole neighborhood
  • Using the pseudoinverse removes singularity problems — the plain pseudoinverse still produces very large joint velocities near a singularity; damping or avoidance is needed
  • Redundant robots have no singularities — they still have singular configurations, although their extra freedom can often be used to avoid them

Who should know this

  • Robot programmers and integrators working with industrial arms
  • Motion planning and inverse kinematics developers
  • Mechanism and leg designers
  • Robotics students studying manipulator kinematics

Related technologies

  • Damped Least-Squares Inverse Kinematics
  • Manipulability Measure
  • Singular Value Decomposition
  • Spherical Wrist
  • Parallel Manipulators

Related terms

  • Jacobian
  • Kinematic Redundancy
  • Inverse Kinematics
  • Workspace
  • Task-Priority Inverse Kinematics
  • Operational Space Control

Related projects

  • OMPL: Sampling-based motion planning library powering MoveIt and countless robotics applications
  • MoveIt 2: Motion planning framework for ROS 2 robot arms, with kinematics and collision checking
  • PyRoki: Modular Python toolkit for kinematic optimization across CPU, GPU, and TPU via JAX
  • mink: Python inverse kinematics library built on MuJoCo supporting 20+ robot platforms
  • Ruckig: Real-time jerk-constrained time-optimal trajectory generation for robots and machines
  • DART: C++ physics engine for articulated rigid body dynamics and robotics simulation

This website requires JavaScript to function properly. Please enable JavaScript to explore our collection of open source robotics projects.