Singularities and static forces
Singular configurations (boundary, wrist, elbow, shoulder), how to detect and handle them, and computing joint torques from tool forces with τ = Jᵀ·F.
Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Near a singularity an industrial arm suddenly whips its wrist round or stops with a "singularity" alarm in the middle of a weld — a real safety and quality problem. The same Jacobian that predicts singularities also tells you the motor torques needed to push, press or hold a load, which is how motors and gearboxes are sized and how force control works.
Key ideas
Singularity. A configuration q where the Jacobian J(q) loses rank (det J = 0 for a square J). At and near it:
- the tool cannot move in one or more directions, whatever the joint speeds;
- tool motion in nearby directions needs very large joint speeds (q̇ = J⁻¹·ẋ blows up as det J → 0);
- the inverse-kinematics solutions merge, and there may be infinitely many;
- the arm can resist forces in the "lost" direction with zero joint torque — the load goes straight into the structure.
Types.
- Boundary (workspace) singularities — arm fully stretched or fully folded, on the edge of the workspace. Planar 2R: θ₂ = 0° or 180°. Easy to avoid by not using the edge of the envelope.
- Interior singularities — inside the workspace, from alignment of joint axes. In a 6-axis arm with a spherical wrist:
- wrist singularity: joint 5 at 0°, so axes 4 and 6 line up — the most common in practice;
- elbow singularity: arm fully stretched (θ₃ such that the wrist centre is at maximum reach);
- shoulder singularity: wrist centre on the axis of joint 1, so the waist angle is undefined.
- Because of the wrist/arm decoupling, det J of a 6-axis arm factors into an arm part and a wrist part.
Measuring closeness. det J, the smallest singular value σ_min of J, or Yoshikawa's manipulability w = √det(J·Jᵀ). For a planar 2R arm w = |det J| = L₁L₂|sin θ₂|, largest at θ₂ = ±90°.
Handling singularities. Plan paths to stay clear; use joint-interpolated moves through the region; damped least squares q̇ = Jᵀ(JJᵀ + λ²I)⁻¹·ẋ; redundant (7-axis) arms use their extra joint to stay away.
Statics. In equilibrium, by the principle of virtual work (power in = power out, τᵀq̇ = Fᵀẋ = FᵀJq̇ for all q̇):
τ = Jᵀ·F
where F is the force (and moment) the tool applies to the environment, and τ the joint torques (forces for prismatic joints) needed. Gravity on the links adds a separate term g(q), handled in dynamics. Notice the duality: directions in which the tool cannot move at a singularity are exactly the directions in which forces need no joint torque.
Formulas
Singularity: rank J(q) < m; square J: det J(q) = 0
Planar 2R: det J = L₁·L₂·sin θ₂ (m²) — singular at θ₂ = 0°, 180°
Manipulability: w = √det(J·Jᵀ)
Static torques: τ = Jᵀ · F
- F — tool force in the base frame (N), with moments (N·m) for a 6-D wrench; τ — joint torques (N·m) or prismatic joint forces (N); J evaluated at the current q.
Planar 2R, tip force (Fx, Fy):
τ₁ = −(L₁·s₁ + L₂·s₁₂)·Fx + (L₁·c₁ + L₂·c₁₂)·Fy
τ₂ = −L₂·s₁₂·Fx + L₂·c₁₂·Fy
- equal to the moment of F about each joint axis (r × F).
Damped least squares: q̇ = Jᵀ(J·Jᵀ + λ²I)⁻¹ · ẋ
Worked examples
Example 1 (standard). Planar 2R, L₁ = 0.5 m, L₂ = 0.3 m, at θ₁ = 0°, θ₂ = 90°. The tool pushes on a surface with F = (10, 20) N. Find the joint torques.
- Tool at (0.5, 0.3) m; J = [[−0.3, −0.3], [0.5, 0]] (from the 2R formula).
- τ = Jᵀ·F: τ₁ = (−0.3)(10) + (0.5)(20) = −3 + 10 = 7 N·m.
- τ₂ = (−0.3)(10) + (0)(20) = −3 N·m.
- Check by moments: about joint 1 at (0, 0): x·Fy − y·Fx = 0.5·20 − 0.3·10 = 7 ✓; about joint 2 at (0.5, 0): 0·20 − 0.3·10 = −3 ✓.
Answer: τ₁ = 7 N·m, τ₂ = −3 N·m.
Example 2 (GATE level). A planar 2R arm (L₁ = 0.6 m, L₂ = 0.4 m) is held fully stretched and horizontal (θ₁ = θ₂ = 0°). (a) It holds a 5 kg payload at the tip (link weights neglected). (b) It instead pushes horizontally along its own length with 100 N. Find the joint torques in each case.
- At θ = 0: J = [[0, 0], [1.0, 0.4]], det J = 0 — a boundary singularity.
- (a) The tool must supply F = (0, +49.05) N (holding the 5 × 9.81 N load). τ₁ = 1.0 × 49.05 = 49.05 N·m; τ₂ = 0.4 × 49.05 = 19.62 N·m.
- (b) F = (100, 0) N: τ₁ = 0·100 = 0; τ₂ = 0. The radial force goes entirely into the links.
Answer: (a) 49.05 N·m and 19.62 N·m; (b) 0 and 0 — the singular direction needs no torque.
Example 3 (near-singular speed). L₁ = L₂ = 0.5 m, θ₁ = 0°, θ₂ = 5°; the tool must move radially at 0.05 m/s. det J = 0.25·sin 5° = 0.0218 m². Solving J·q̇ = (0.05, 0) gives θ̇₁ = 1.14 rad/s and θ̇₂ = −2.29 rad/s — huge joint rates for a slow tool motion, which is why controllers slow down or fault near singularities.
Common mistakes
- Assuming any configuration with "nice" angles is singular — check det J; for 2R only θ₂ matters.
- Using J⁻¹ instead of Jᵀ for statics: τ = Jᵀ·F needs no inversion and holds even at singularities.
- Sign of F: τ = Jᵀ·F uses the force the robot applies to the environment.
- Forgetting gravity torques of the links themselves when sizing motors.
- Thinking singularities exist only at the workspace boundary — wrist singularities occur inside.
For GATE ME
Questions ask for the singular configurations of a planar arm (det J = 0), joint torques from a given tip force using τ = Jᵀ·F or moments, and conceptual consequences (loss of a direction, unbounded joint rates, zero torque for forces along the singular direction). Practise finding torques both by Jᵀ·F and by r × F as a check.
Quick check
- At which θ₂ is a planar 2R arm singular?
- A planar 1-link arm of length 0.4 m, horizontal, carries a 10 N downward load at its tip. Joint torque?
- What does det J = 0 imply for q̇ = J⁻¹·ẋ?
- Name the most common interior singularity of a 6-axis arm.
- Does τ = Jᵀ·F require J to be invertible?
Answers: 1. 0° or 180°; 2. 4 N·m; 3. J⁻¹ does not exist — some tool velocities need unbounded joint rates or are impossible; 4. Wrist singularity (θ₅ = 0, axes 4 and 6 aligned); 5. No.
Interview questions
All Robotics interview questionsTry answering each one aloud before you open it.
1.What is a singularity in the context of robotics?Concept
In robotics, a singularity refers to a configuration of a robot where the robot loses its ability to move in certain directions or gains infinite velocity in some joints. This occurs when the robot's Jacobian matrix becomes rank-deficient, meaning it loses full rank and cannot be inverted. Singularities can lead to unpredictable robot behavior and are critical to avoid in robotic path planning.
2.Explain static force analysis of a robot manipulator.Concept
Static analysis finds the joint torques needed to hold the arm in equilibrium while the tool applies a force or moment, with no acceleration. By virtual work, τ = Jᵀ·F, where J is the manipulator Jacobian at the current configuration and F the wrench the tool exerts on the environment. Gravity torques from the links and payload, g(q), are added on top. It is used to size motors and gearboxes and as the basis of force control.
3.How do singularities affect the control of robotic arms?Application
Singularities affect the control of robotic arms by causing a loss of control in certain directions, leading to unpredictable or infinite joint velocities. This can result in erratic movements or even damage to the robot. To manage this, control algorithms must detect and avoid singularities during path planning and execution.
4.Describe a method to avoid singularities in robotic path planning.Application
One method to avoid singularities in robotic path planning is to use redundancy resolution techniques, which involve adding extra degrees of freedom to the robot. This allows the robot to bypass singular configurations by choosing alternative paths. Additionally, singularity avoidance algorithms can be implemented to detect and steer clear of singular configurations during path planning.
5.A horizontal robotic arm holds a 5 kg object at 0.5 m from the joint axis. What holding torque must the joint supply? Take g = 9.81 m/s² and neglect the arm's own weight.Numerical
The load is m·g = 5 × 9.81 = 49.05 N acting vertically. With the arm horizontal the moment arm is the full 0.5 m, so τ = 49.05 × 0.5 = 24.5 N·m. If the arm were inclined at angle θ to the horizontal, the torque would drop to 24.5·cos θ N·m, and in practice you would add the link's own gravity torque.
6.A robotic arm experiences a singularity when its Jacobian matrix becomes singular. What does this imply about the determinant of the Jacobian matrix?Concept
When a robotic arm experiences a singularity, the Jacobian matrix becomes singular, which implies that the determinant of the Jacobian matrix is zero. This means the matrix cannot be inverted, leading to a loss of control in certain directions and potentially infinite joint velocities.
7.What singularities does a typical 6-axis industrial arm with a spherical wrist have?Concept
Three kinds. A wrist singularity when joint 5 is at zero, so axes 4 and 6 line up and only their sum matters; this is the one met most often in welding and dispensing paths. An elbow singularity when the arm is fully stretched so the wrist centre is at maximum reach. A shoulder singularity when the wrist centre lies on the axis of joint 1, so the waist angle is undefined. Because the wrist and arm decouple, det J factors into an arm term and a wrist term.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?