Singlularity Avoidance with Application to Online Trajectory Optimization for Serial Manipulators

Florian Beck, Minh Nhat Vu, Christian Hartl-Nesic, Andreas Kugi · DOI

Introduction

In the field of robotics, maintaining high performance during trajectory execution is often hindered by "singularities"—specific configurations where a robot loses one or more degrees of freedom. Near these mathematical dead zones, the Jacobian matrix becomes ill-conditioned, leading to excessive joint velocities and a breakdown in control laws. This paper presents a novel approach to singularity avoidance (SA) that prioritizes computational efficiency and path directness, specifically designed for online trajectory optimization in redundant manipulators.

Problem Statement

Traditional methods for singularity avoidance generally fall into two categories: reactive and predictive. Reactive controllers attempt to steer the robot away from singularities in real-time, which can result in significant deviations from the desired path or potential collisions. Predictive methods, such as those based on trajectory optimization, typically aim to maximize Yoshikawa’s manipulability index. While effective at keeping the robot in dexterous configurations, the manipulability index is computationally expensive to evaluate. Calculating its gradient and Hessian—required for efficient optimization—involves complex matrix determinants, making it unsuitable for high-frequency online planning on complex 7-DoF robots.

Proposed Methodology: Distance-Based Avoidance

The authors propose a shift from volume-based manipulability maximization to distance-based singularity avoidance. Instead of optimizing for the "best" configuration globally, the method focuses on avoiding "bad" configurations locally.

Analytical Singularity Identification

The core of the proposed method lies in the analytical derivation of singular joint configurations for specific robot models. The researchers analyzed three widely used manipulators: the 6-DoF Comau Racer 7-1.4, the 7-DoF KUKA LBR iiwa, and the 7-DoF Franka Emika Panda.

Kinematic structure of the 6-DoF Comau Racer 7-1.4 robot used in the study.

Potential Functions

By identifying the specific joint angles ($q$) that trigger singularities (such as wrist or elbow locks), the authors constructed simple potential functions in the joint space. These functions act as mathematical "hills" that penalize proximity to singular states. Because these functions depend on joint-space distances rather than complex matrix operations, their derivatives are trivial to compute, significantly reducing the overhead for the trajectory optimizer.

Kinematic configurations of the 7-DoF KUKA LBR iiwa (a) and Franka Emika Panda (b) robots.

Experimental Evaluation

The proposed method was evaluated using Monte Carlo simulations across 10,000 random pairs of start and goal configurations for each robot. This extensive testing ensured a comprehensive assessment of the robots' workspaces and the robustness of the avoidance strategy compared to standard manipulability maximization.

Results and Discussion

The results demonstrate a clear advantage for the proposed potential-function-based SA:

  • Computational Efficiency: For the 7-DoF Franka Emika Panda, the proposed method achieved a 3.4x speedup in average computing time (72.3 ms vs. 245.3 ms). This improvement is critical for online applications where planning must occur within milliseconds.
  • Path Optimality: Unlike manipulability maximization, which often forces the robot into wide, sweeping motions to maintain high dexterity, the proposed method allows for more direct paths. For the KUKA LBR iiwa, average path lengths were reduced from 3.34m to 2.2m.
  • Avoidance Performance: Despite the simplified math, the proposed method maintained higher minimum manipulability values across the test sets, indicating more effective avoidance of the most critical singular regions.

Conclusion

By trading offline analytical effort for online computational speed, the authors have developed a highly efficient singularity avoidance strategy. This approach is particularly beneficial for redundant manipulators where the increased degrees of freedom otherwise lead to prohibitive computational costs. Future work will focus on integrating these potential functions into real-time human-robot interaction frameworks, where the robot must dynamically adapt its path to ensure safety and compliance.

Summary updated

BibTeX
@inproceedings{beck2023singlularity,
  author = {Florian Beck and Minh Nhat Vu and Christian Hartl-Nesic and Andreas Kugi},
  title = {{Singlularity Avoidance with Application to Online Trajectory Optimization for Serial Manipulators}},
  booktitle = {IFAC-PapersOnLine},
  year = {2023},
  doi = {10.1016/j.ifacol.2023.10.1582},
}
Figure