Efficient and Reactive Planning for High Speed Robot Air Hockey

Puze Liu, Davide Tateo, Haitham Bou-Ammar, Jan Peters

Abstract

This paper presents a novel trajectory optimization framework that enables general-purpose, 7-DoF robotic arms (KUKA LBR IIWA 14) to play high-speed air hockey. By exploiting the robot's kinematic redundancy through a combination of nonlinear programming and anchored quadratic programming, the system can generate real-time, high-speed hitting trajectories that respect strict joint velocity limits.

Experimental setup featuring two KUKA LBR IIWA 14 robotic arms on an air hockey table.

Introduction

Highly dynamic tasks like air hockey are traditionally solved using custom-built, task-specific planar robots (e.g., 2-DoF or 3-DoF arms). General-purpose redundant manipulators struggle with these environments because standard inverse kinematics (IK) solvers often fail at high speeds, demanding impossible joint velocities that lead to safety stops. This research aims to bridge this gap, proving that with the right optimization techniques, off-the-shelf robotic arms can compete in highly dynamic, constrained environments.

Methodology

The system utilizes a two-layer hierarchical control architecture: a high-level finite state machine for game tactics (e.g., Smash, Repel, Defense) and a low-level trajectory planner. The core technical novelty lies in the low-level planner:

  • Cartesian Trajectory Planning: Collision-free paths are generated using quartic polynomials and arcs to ensure a monotonic velocity profile that peaks exactly at impact.
  • Hitting Configuration Optimization (NLP): A Nonlinear Programming step finds the optimal robot posture at the hitting point by maximizing manipulability along the hitting direction.
  • Anchored Null Space Optimization (AQP): A variant of Quadratic Programming (QP) exploits the 7-DoF arm's null space to distribute velocity across multiple joints. It anchors the trajectory to the optimal posture found by the NLP to prevent awkward configurations.
  • System Identification: To build an accurate Gazebo simulation, the authors used Heteroscedastic Evolutionary Bayesian Optimisation (HEBO) to tune physical parameters like puck friction and restitution coefficients against real-world data collected via an Optitrack motion capture system.

Key Results and Insights

The proposed NLP + AQP method demonstrated significant improvements in both reliability and performance:

  • Optimization Reliability: The method successfully computed hitting trajectories across a grid of 180 tested puck positions without a single failure, whereas standard QP frequently failed.
  • Speed: Optimization takes an average of 132.88 ms, which is well within the 1.5-second puck prediction horizon required for real-time gameplay.
  • Redundancy as a Speed Multiplier: By intelligently optimizing the null space, the system prevents any single joint from hitting its velocity ceiling, unlocking higher end-effector speeds than standard IK allows.
Comparison of joint trajectories and hitting velocities across different optimization algorithms.

Discussion and Future Work

While the system successfully demonstrated high-speed hitting on real physical robots and autonomous play in simulation, challenges remain. Modeling the air hockey table perfectly is difficult due to irregular airflow and chaotic high-speed collisions. Future work will focus on incorporating dynamic properties (forces and torques) into the optimization framework and deploying the complete multi-agent game on the physical setup.

Summary updated

BibTeX
@inproceedings{liu2021efficient,
  author = {Puze Liu and Davide Tateo and Haitham Bou-Ammar and Jan Peters},
  title = {{Efficient and Reactive Planning for High Speed Robot Air Hockey}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  doi = {10.1109/iros51168.2021.9636263},
}
Figure