Safe-Ballbot: Tilt-Consistent MPC with Control Barrier Functions for Ballbot Navigation

Duc Cuong Vu, Tung Lam NguyenarXiv 2026

TL;DR

This paper introduces a two-layer navigation scheme for ball-balancing robots (ballbots) that ensures safety and agility by explicitly linking motion planning to the robot's physical lean limits. By using a "jerk-model" MPC for planning and a robust sliding-mode tracker, the system achieves collision-free navigation 10–15 times faster than traditional full-model approaches while maintaining strict safety guarantees even with uncertain obstacle motions.

What Problem Does This Paper Address?

Ballbots are inherently unstable, underactuated systems that must lean to accelerate. This creates a fundamental "chicken-and-egg" problem for navigation: a planner needs to know the robot's dynamics to produce feasible paths, but full-model nonlinear Model Predictive Control (NMPC) is computationally expensive and often too slow for real-time reaction. Conversely, simple planners that ignore balance dynamics often request accelerations (and thus leans) that the robot cannot physically achieve or that its safety filters will reject, leading to tracking failures and potential collisions.

Furthermore, navigating around dynamic, rotating, or concave obstacles while accounting for prediction uncertainty remains a significant challenge for these agile robots.

Methods

The authors propose a decoupled, two-layer architecture:

  1. The Planning Layer (Upper): A Model Predictive Controller (MPC) operating on a jerk model (a triple integrator). Using jerk as the control input ensures that the resulting acceleration—and therefore the robot's lean—is continuous and smooth. It incorporates Discrete-time Control Barrier Functions (DCBFs) to handle a variety of obstacles, including static, moving, rotating, and complex concave shapes (decomposed into convex ellipses).
  2. The Tracking Layer (Lower): A Hierarchical Sliding Mode Controller (HSMC) paired with an Extended State Observer (ESO) to handle model mismatches and disturbances. It uses an Exponential Control Barrier Function (ECBF) to enforce a hard tilt limit.
  3. The Tilt-Consistent Interface: This is the "secret sauce." The authors derived a closed-form acceleration bound for the planner based on the actual steady-state tilt the tracker can admit ($\phi^*$), rather than the theoretical maximum tilt. This ensures the planner never asks for a lean that the tracker's safety filter would reject.
  4. Conformal Prediction: To handle obstacles with unpredictable motion, the planner inflates obstacle boundaries using radii derived from conformal prediction. This provides a probabilistic guarantee that the robot will maintain clearance without requiring a specific noise model (like Gaussian).
Fig. 3. Two-layer architecture. References (cyan), torques (orange), measure- ments (gray), ESO estimates (violet); dashed red: acceleration bound (19), set at design time from φ⋆. Badges: contributions of Section I.

Datasets

The study primarily uses high-fidelity simulations in MuJoCo, specifically a model adapted from the asRoBallet platform.

  • Calibration Set: For conformal prediction, the authors generated 200 independent 30-second trajectories of roaming obstacles to calibrate the prediction error quantiles.
  • Evaluation Scenarios: The system was tested across various benchmarks: figure-eight tracking, recovery from 25 N pushes, and navigation through static, moving, rotating, and concave obstacles.

Key Insights and Ideas

  • The Jerk Model is the "Sweet Spot": While a position or velocity model is too simple and a full dynamic model is too complex, a jerk model provides exactly the right level of smoothness for a ballbot. It ensures the lean reference is continuous, preventing the torque spikes that plague lower-order models.
  • Consistency is Key: A major finding was that using the raw physical tilt limit in the planner is insufficient. Because robust trackers add safety margins to handle disturbances, the "admitted" tilt is smaller than the "limit" tilt. Accounting for this gap in the planner-tracker interface reduced tracking errors by a factor of 1.8–7.
  • Conformal Prediction for Robotics: Applying conformal prediction to obstacle avoidance allows the robot to be "cautiously agile." It inflates obstacles just enough to account for observed prediction errors, successfully handling sharp turns that would cause a standard constant-velocity predictor to fail.
Fig. 4. Conformal prediction. (a) Offline, qk is the quantile covering a fraction 1 −α of the calibration errors Sk. (b) Online, the predicted obstacle at step k is inflated by r + qk, and the plan (cyan) stays outside.

Key Results

The proposed scheme was compared against a state-of-the-art full-model NMPC and various ablation models:

  • Speed: The jerk-model MPC plans in 9–12 ms, which is 10–15 times faster than full-model NMPC.
  • Safety: In 50 Monte Carlo runs with random obstacles, the robot achieved zero collisions and zero falls, maintaining at least 10 cm of clearance.
  • Precision: The system tracked planned paths with an RMS error of less than 2 cm, even under model mismatch (e.g., ±20% changes in mass and COM height).
  • Uncertainty Handling: Conformal inflation removed all collisions in 30 random crossing scenarios where a standard constant-velocity predictor failed 7 times.
Comparison of the proposed work with existing ballbot navigation literature.

Limitations and Future Work

  • Per-Step vs. Joint Probability: The conformal prediction guarantee currently holds per horizon step. A guarantee for the entire trajectory (using a union bound) would be much more conservative; finding a tighter joint guarantee is an open area.
  • Exchangeability Assumption: Conformal prediction assumes that future obstacle behavior is "exchangeable" with the calibration data. If the environment changes drastically (e.g., a sudden increase in crowd density), the system would need online recalibration.
  • Hardware Validation: While the MuJoCo simulations are contact-rich and detailed (including roller slip and torque saturation), the authors note that physical hardware validation is the next logical step.

Summary updated

Abstract

Ball-balancing robots (ballbots) must lean to accelerate, and the lean is limited by the wheel torques and by safety. Planners that use the full robot model are expensive, while planners that ignore the balance dynamics produce references that cannot be followed. This paper presents a two-layer navigation scheme for a three-omni-wheel ballbot. The upper layer is a model predictive controller on a \emph{jerk model} of the ball position, with discrete-time control barrier functions for static, moving, rotating and concave obstacles. The lower layer is a hierarchical sliding mode controller with an extended state observer and a robust exponential control barrier function on the tilt (HSMC-ESO-ECBF). The layers are linked by an acceleration bound derived in closed form from the largest steady tilt that the barrier function admits, so that the plan never asks for a lean the tracker refuses. For obstacles whose motion is only predicted, the obstacles are inflated by conformal prediction radii that bound the prediction error with a prescribed probability. In MuJoCo, with omni-wheel roller contacts and torque saturation, the scheme keeps at least $10$\,cm of clearance, tracks the plan within $2$\,cm RMS, keeps the tilt below the limit and plans in $9$--$12$\,ms, $10$--$15$ times faster than a full-model nonlinear MPC that enters the inflated obstacles; with predicted obstacles, the conformal inflation removes the collisions of a constant-velocity predictor in $30$ random crossing scenarios and reduces them in an endless run on a closed path.The source code and video illustrations are available at https://safe-ballbot.github.io
BibTeX
@misc{vu2026safe,
  author = {Duc Cuong Vu and Tung Lam Nguyen},
  title = {{Safe-Ballbot: Tilt-Consistent MPC with Control Barrier Functions for Ballbot Navigation}},
  year = {2026},
  eprint = {2611.03307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03307},
}
Figure