Adaptive Sampling-based Motion Planning with Control Barrier Functions

Ahmad Ahmad, Călin Belta, Roberto Tron

Abstract

Sampling-based algorithms, such as Rapidly Exploring Random Trees (RRT) and its variants, have been used extensively for motion planning. Control barrier functions (CBFs) have been recently proposed to synthesize controllers for safety-critical systems. In this paper, we combine the effectiveness of RRT-based algorithms with the safety guarantees provided by CBFs in a method called CBF-RRT. CBFs are used for local trajectory planning for RRT, avoiding explicit collision checking of the extended paths. We prove that CBF-RRT preserves the probabilistic completeness of RRT. Furthermore, in order to improve the sampling efficiency of the algorithm, we equip the algorithm with an adaptive sampling procedure, which is based on the cross-entropy method (CEM) for importance sampling (IS). The procedure exploits the tree of samples to focus the sampling in promising regions of the configuration space. We demonstrate the efficacy of the proposed algorithms through simulation examples.

Introduction

Motion planning for robotic systems requires finding feasible, collision-free paths in complex environments. While algorithms like RRT provide probabilistic completeness and asymptotic optimality, they often suffer from high computational costs due to frequent collision checking and inefficient uniform sampling. This paper introduces CBF-RRT*, which integrates Control Barrier Functions (CBFs) into the RRT framework to provide intrinsic safety guarantees. By augmenting this with an adaptive sampling layer based on the Cross-Entropy Method (CEM), the search is focused on high-reward regions, significantly accelerating convergence.

Methodology

CBF-RRT*: The Safety Layer

The core innovation of CBF-RRT is the replacement of standard "steer-and-check" mechanisms with a safety-aware local planner. By utilizing Higher Order Control Barrier Functions (HOCBFs)*, the algorithm generates trajectories that are mathematically guaranteed to remain within the safe set.

  1. Exploratory Planning: During tree expansion, a CBF-based controller steers the system toward a random sample. Since the controller ensures the state never leaves the safe region, explicit collision checking for these segments is eliminated, reducing computational overhead.
  2. Exact Planning and Rewiring: For the rewiring phase, a Control Lyapunov Function (CLF) is integrated with the CBF. This allows the robot to be steered precisely to existing vertices while maintaining strict safety constraints.

Adaptive Sampling: The Efficiency Layer

To overcome the limitations of uniform sampling, an adaptive procedure based on the Cross-Entropy Method (CEM) is employed. This process iteratively refines the sampling distribution to favor regions that have previously yielded successful "elite" trajectories.

Overview of the adaptive sampling procedure using elite trajectories and density estimation.

The adaptive loop involves identifying elite paths, performing non-parametric density estimation via Weighted Gaussian Kernel Density Estimation (WGKDE), and using the resulting probability map for importance sampling in subsequent iterations. This non-parametric approach is highly flexible, adapting to the complex topology of the configuration space without requiring a predefined number of distribution modes.

Experimental Evaluation

The proposed algorithm was evaluated using a simulated unicycle robot model in a 2D environment containing various ellipsoidal obstacles. This setup serves as a benchmark for kinodynamic motion planning, testing the algorithm's ability to handle non-holonomic constraints and complex obstacle geometries.

Results and Discussion

Simulations demonstrate that Adaptive CBF-RRT significantly outperforms both standard RRT and non-adaptive CBF-RRT* in terms of convergence speed and sample efficiency.

Comparison of paths generated by CLF-CBF-QP, CBF-RRT, CBF-RRT*, and the proposed Adaptive CBF-RRT*.

Key findings include:

  • Rapid Convergence: The adaptive version reaches the goal and begins path optimization much faster than its counterparts.
  • Vertex Efficiency: On average, the adaptive algorithm required only 392 vertices to converge to a stable sampling distribution, highlighting its ability to focus search efforts effectively.
  • Path Quality: The generated paths are qualitatively smoother and more direct, as the importance sampling mechanism effectively "remembers" and exploits successful routes to the goal.

Conclusion

CBF-RRT* successfully bridges high-level global planning with low-level safety control. By leveraging HOCBFs for local planning and CEM for adaptive sampling, the algorithm provides a robust framework for safe and efficient motion planning. Future work will explore scaling these methods to higher-dimensional systems, such as quadrotors, and investigating sampling directly in the control input space to further enhance performance.

Summary updated

BibTeX
@inproceedings{ahmad2022adaptive,
  author = {Ahmad Ahmad and Călin Belta and Roberto Tron},
  title = {{Adaptive Sampling-based Motion Planning with Control Barrier Functions}},
  booktitle = {2022},
  year = {2022},
}
Figure