WorksComputer Science
BubbleCBF: Constructive Safety for Second-Order Systems and Application to Autonomous Robot Navigation in Unknown Environments
Abstract
Satisfying safety constraints for systems with second-order dynamics is challenging because a position constraint may require infeasible deceleration. Higher-order control barrier functions (CBFs) provide an approach for expressing safety conditions for such systems but feasibility depends on the system dynamics and available control authority. We develop a constructive approach for designing feasible safety constraints for second-order control-affine systems. Starting from a signed distance function (SDF), we construct collision-free spheres, i.e., bubbles, in position space, and use their quadratic geometry and overlap to construct a velocity-dependent safety constraint. The associated safe set is represented as a union of intersections and enforced through a quadratic-program safety filter. Under mild assumptions on the dynamics, bubble overlap, and design parameters, we prove that the quadratic-program-based controller is well defined, continuous in the system state, and renders the set forward invariant. We also derive sufficient conditions for feasibility under bounded inputs. We demonstrate that our BubbleCBF, applied to a differential-drive robot, achieves safe autonomous navigation in unknown environments. Videos and results are available at: https://existentialrobotics.org/bubblecbf/.
Introduction
Autonomous navigation in unknown environments requires a robot to simultaneously build a map of its surroundings and execute actions that avoid collisions. Beyond representing obstacle-free space, robots with second-order dynamics must ensure that feasible actions exist to enforce safety constraints. Since actuation enters at the acceleration level, a robot may remain positionally safe while approaching the boundary too quickly for any admissible input to prevent escape.
Control barrier functions (CBFs) [1] provide a principled approach for safe control design. A CBF limits how quickly the safe set boundary may be approached with rate dependent on the barrier value. Far from the boundary, the barrier value may decrease more quickly, while near the boundary, the permitted decrease becomes increasingly restrictive. Signed distance functions (SDFs) are natural CBF candidates because they encode free space using the distance to the nearest boundary [2]. SDF models of the environment can be estimated from point-cloud observations using data-driven and probabilistic approaches, including neural implicit methods [3] and
Gaussian-process methods [4]. However, for second-order systems, a position-dependent safety constraint has relative degree two and cannot be enforced by formulating CBF constraints directly from SDF values. Higher-order CBFs (HOCBFs) [5] formulate safety constraints for high-relative-degree systems but do not by themselves guarantee the existence of feasible control inputs. A key challenge in safe control synthesis for second-order systems is therefore to construct valid safe sets in the joint position-velocity space whose invariance can be enforced with admissible inputs.
To address this challenge, we develop BubbleCBF, a safe control method for second-order control-affine systems. Starting from an SDF representation of the obstacles, we derive a velocity-dependent safe set from overlapping collision-free spheres, i.e., bubbles, illustrated in Figure 1. Our design extends the union-of-intersections CBF approach of [6] to quadratic constraints and guarantees forward-invariance of the safe set and feasibility under input constraints. Our contributions are summarized as follows.

Figure 1. BubbleCBF guides a second-order system from start to goal through a safe corridor consisting of overlapping bubbles. Each bubble is a ball with radius underestimating the distance to the nearest obstacle. The union of bubbles is lifted to a velocity-dependent safe set to account for the relative-degree-two dynamics. A quadratic program with a control barrier function constraint defined from the lifted safe set is used to modify a nominal controller to restrict the system’s outward motion near bubble boundaries and ensure sufficient control authority for safety. The nominal system trajectory (orange) and the BubbleCBF-filtered trajectory (green) are shown.
We develop BUBBLECBF, a safe control method for second-order control-affine systems that constructs velocity-dependent CBFs from position-space bubbles.
Under mild assumptions on the system dynamics, bubble overlap, and input constraints, we prove that the quadratic program (QP) for BUBBLECBF is feasible over the safe set, and renders the set forward invariant.
BUBBLECBF enables safe autonomous navigation with a Clearpath Jackal robot in real-world environments, achieving a 100% success rate, compared to 50% for an SDF-CBF baseline, while increasing average obstacle clearance by 4.8%.
Related Work
CBFs have become a popular tool for safety-critical robot control [1, 7, 8]. For collision avoidance, SDFs [2] are a natural candidate to form safety constraints because they measure the minimum distance to occupied space. However, using an SDF to define a CBF constraint directly leads to challenges because SDF are often nonsmooth and can result in high relative degree constraints for high-order systems.
Existing work addresses these challenges in several ways. In [9], dual variables are used to formulate CBF constraints for nonsmooth distance functions between polytopes. Other approaches construct smooth approximations of distance functions [10], while nonsmooth CBF theory handles nonsmooth barrier compositions directly [11]. High relative degree is addressed using exponential and higher-order CBF constructions [5, 12]. Long et al. [13] learn SDF approximations online and use them to construct robust CBF constraints for safe navigation in unknown environments. Barbosa and Tumova [14] address both nonsmoothness and high relative degree by constructing a smooth approximation of the distance field and its derivatives and applying higher-order CBF techniques. In contrast, we neither smooth nor differentiate the SDF. We use only SDF queries to construct collision-free balls [15], whose quadratic geometry allows us to construct a velocity-dependent safe subset of their union for second-order systems.
Regularity is especially challenging for nonsmooth safe sets composed of multiple barrier functions [16, 17, 18]. Alyaseen et al. [6] address this by enforcing componentwise CBF constraints with state-dependent relaxation, avoiding explicit switching between active components and yielding a continuous optimization-based controller. We extend this approach to a union of bubble intersections and derive the corresponding quadratic barriers and feasibility conditions for second-order dynamics and bounded inputs.
Bubble-based representations have also been used in robotics to cover collision-free configuration space with overlapping local regions [15, 19]. Sampling-based neighborhood graphs (SNG) [20] cover free configuration space with overlapping neighborhoods, such as balls, and construct feedback navigation functions over the resulting graph. Invariant configuration-space bubbles [21] lift configuration-space bubbles to control-invariant subsets of the state space and enforce invariance using a command governor. In contrast, we construct a CBF over a union of overlapping bubbles and enforce it using a continuous QP safety filter for general second-order systems. Moreover, we show that this QP is always feasible within the safe set, and hence guarantees forward invariance of the safe set. Geometry-aware mixed-integer linear programming model predictive control (MILP-MPC) [22] combines long-horizon planning with Minkowski-based CBFs, accounting explicitly for robot geometry and environment topology at the cost of mixed-integer optimization. Our approach instead operates on an SDF-derived bubble cover, enabling online safety filtering in unknown environments without mixed-integer planning or exact robot-obstacle distance computations.
Problem Formulation
Consider a second-order control-affine system:
where is the generalized position, is the generalized velocity, and is the control input. We denote the system state by . The functions and , defining the system dynamics, are assumed to be locally Lipschitz. The system has a maximum speed constraint . The second-order dynamics in (1) can be written in control affine state-space form as
Let index a finite collection of closed balls , specifying safety constraints for the system’s position:
where and are the center and radius of the -th ball. We refer to each as a bubble.
In practice, bubbles can be obtained by querying an SDF representation of the free space in . Figure 1 illustrates this construction. The background depicts the SDF, which is queried at the bubble center to obtain the bubble radius . Thus, the safety constraint is:
This requirement is on the system position only, whereas control applies to the acceleration. Therefore, an outward velocity may push the system position outside before it can be reversed. Thus, it is generally not possible to certify safety for all of . We therefore seek a velocity-dependent safe set .
Problem 1 (Safe control over finite union of bubbles). Given the system in (1), and a continuous nominal controller , construct a nonempty set and a feedback controller , such that:
(i) is forward invariant for the closed-loop system under , i.e., every trajectory initialized in stays in for all ;
(ii) minimally deviates from the nominal controller . We refer to such a controller as a safety filter.
BubbleCBF Safety Filter
We solve Problem 1 by constructing a velocity-dependent safe set as a union of sets , each corresponding to a bubble . We design the controller as the solution of a QP subject to a CBF constraint encoding . We impose additional constraints on the input to ensure that is forward invariant and the QP is feasible.
Control Design
To enforce the positional safety requirement in (4), we first consider the forward invariance of a single bubble. A continuously differentiable function is called a CBF [1] for the system (2) if there exists an extended class- function and an admissible control input at every state satisfying along the trajectory. Such control inputs render the super-level set forward invariant. Choosing for a scalar , the CBF condition for the bubbles in (3) is:
Here, the input does not appear in (5), since it acts through acceleration. To obtain a condition depending on , a HOCBF [5] treats the LHS of (5) as another CBF:
where provides a strict safety margin. Imposing a CBF condition on as for leads to and, in turn, over the trajectories. As the dynamics (1) is affine in , the inequality is also affine in . The resulting safe set in the state space is:
To account for the maximum speed constraint of the system, we define another CBF candidate:
Now that we have designed an HOCBF for a single bubble, we aim to render the union forward invariant. We define the safe set over as a union of intersections:
These intersections and their union can be represented implicitly as super-level sets by applying min and max operations as follows:
so that is the zero superlevel set of and is the zero superlevel set of . However, these functions are not suitable for use as CBFs, because they are nonsmooth: the minimal constraint in and the maximal index in may change with the state. Such non-smoothness violates the theoretical premise of CBF constraints [1 Theorem 2], and can cause the system to leave [6 Example 4.4]. Instead of differentiating , we instead impose CBF conditions on , , and for every index , while relaxing those associated with non-maximal indices.
To see which bubble index contributes to the maximum, define the nonnegative gap:
We enforce safety using the following QP, where the CBF constraints are imposed for every bubble :
Here, , with , penalizes deviation from the nominal input, and controls inactive-component relaxation. The coefficients and regularize and . Allowing and to vary ensures feasibility at every state [6]. At a fixed state , the constraints are affine in , so the problem (12) is a QP.
The three inequalities correspond to the positional, higher-order, and velocity safety specifications, respectively. Because the safe set is a union of the component sets , not every component needs to be active at a given state. The term relaxes the constraints associated with inactive components without adding or removing the constraints. If bubble is inactive, then and multiplication with a large relaxes the constraint for as a large slack is added to the left-hand side. If , i.e., bubble is active, then the constraint applies unmodified. We refer to the QP in (12) as BubbleCBF.
Feasibility and Safety Analysis
We now present conditions on the system dynamics and control design parameters that guarantee feasibility of the QP in (12) and forward invariance of the safe set in (9). We place the following assumptions on the dynamics (1), which hold for Euler-Lagrange systems [23].
Assumption 1. The dynamics (1) satisfies the following:
(a) the function has right inverse for all ;
(b) the right inverse satisfies for all and some ;
(c) the drift term is of the form , where the velocity-dependent part satisfies for some $k_v > 0 and the position-dependent part satisfies for some and all .
Our feasibility construction requires intersecting bubbles to share a point strictly inside both. We exclude degenerate intersections that are tangent on the boundary, which can be enforced during generation.
Assumption 2 (Bubble intersections have interior). Let be the collection of all index sets with intersecting bubbles: if then . For all , there exists a point .
Pick an arbitrary for every and define the overlap size for every bubble :
Lemma IV.1. For every bubble , .
Proof. By (13), there exists with . Since , we have .
We establish a safety guarantee for under the controller (12). Under Assumptions 1 and 2, the parameters of (12) can be chosen so that the optimization problem in (12) is feasible for any state in . In turn, the controller resulting from (12) is continuous and renders the set forward invariant.
Theorem IV.2 ( is control invariant). Consider the set defined in (9), and let . Under Assumptions 1 and 2, if the parameters , , and satisfy and for all (which is always possible by Lemma IV.1), the QP in (12) is feasible for all , its solution is continuous in , and is forward invariant for the system in (1) with controller .
Proof sketch. The full proof in Appendix VIII-A relies on [6 Theorem 4.12], which shows that the existence of a control input satisfying the constraints of (12) at each point on the safe-set boundary is sufficient to establish feasibility of (12), continuity of its optimal solution in the state, and forward invariance of . We show that the following controller satisfies the constraints:
where is a sufficiently large gain, is the active index set, and is the corresponding interior point that exists by Assumption 2, with .
Although (12) is feasible and its solution renders forward invariant, the magnitude of the required control inputs may be unbounded because the proof relies on a sufficiently large gain . This may not be physically possible. Therefore, we next derive a sufficient condition on the available control authority that preserves feasibility under bounded inputs.
Theorem IV.3 (Input limits). Let and denote the gain thresholds defined in (24) and (25). Let the allowable control set be constrained as . If
then the QP in (12) remains feasible.
Proof. See Appendix VIII-B.
Theorem IV.3 gives a sufficient control-authority condition for feasibility of the optimization problem in (12). The bound in (15) relates the admissible input magnitude to the system constants and the design parameters and . It can be used either to assess whether given actuator limits are sufficient or to guide parameter selection under fixed input constraints.
Safe Differential-Drive Robot Navigation
We apply BUBBLECBF to a differential-drive robot navigating in an unknown environment. Figure 2 presents an overview of our approach. An online SDF estimate, which provides the distance from query points in the workspace to the nearest obstacles, is used to construct the union of bubbles (4) with Algorithm 1. These safety constraints are enforced by the BUBBLECBF safety filter.

Figure 2. Application of BUBBLECBF to differential-drive robot navigation. Using measurements from range sensors on the robot (1st panel), we estimate an SDF model of the obstacles (2nd panel) in real-time. We construct safe bubbles from the SDF (3rd panel) and define a nominal controller and constraints for the BUBBLECBF optimization (4th panel).
We consider a differential-drive robot with kinematics:
where , , and are the robot’s position and heading, and and are the linear and angular speeds. By differentiating the translational kinematics in (16), the model can be written in the second-order form of (1):
with generalized position , generalized velocity , and control input consisting of linear acceleration and angular speed.
The robot operates in a static environment with obstacles . Using a range sensor and an algorithm like Kernel-SDF [4] or iSDF [3], we estimate the workspace SDF:
Algorithm 1 Rapidly Exploring Bubble Graph
Require: Start configuration $\mathbf{q}_0$, SDF $d(\cdot)$, safety margin $\nu$, max. number of bubbles $N_{\max}$, min. radius $r_{\min}$.
Ensure: Collection $\mathcal{B}$ of safe bubbles covering the free space.
1: $r_0 \leftarrow d(\mathbf{q}_0)-\nu$
2: $\mathcal{B}_0 \leftarrow \{\mathbf{q}\in\mathcal{Q}\mid\|\mathbf{q}-\mathbf{q}_0\|^2\le r_0^2\}$
3: $\mathcal{B}\leftarrow\{\mathcal{B}_0\}$
4: while $|\mathcal{B}|<N_{\max}$ do
5: $\mathbf{q}_{\mathrm{rand}}\leftarrow\mathrm{SAMPLE\_RANDOM}$
6: $\mathcal{B}_{\mathrm{near}}\leftarrow\mathrm{NEAREST\_BUBBLE}(\mathcal{B},\mathbf{q}_{\mathrm{rand}})$
7: if $\mathbf{q}_{\mathrm{rand}}\notin\mathcal{B}_{\mathrm{near}}$ then
8: $\mathbf{q}_{\mathrm{new}}\leftarrow\mathrm{EXTEND\_TOWARD}(\mathcal{B}_{\mathrm{near}},\mathbf{q}_{\mathrm{rand}})$
9: $r_{\mathrm{new}}\leftarrow d(\mathbf{q}_{\mathrm{new}})-\nu$
10: if $r_{\mathrm{new}}>r_{\min}$ then
11: $\mathcal{B}_{\mathrm{new}}\leftarrow\{\mathbf{q}\in\mathcal{Q}\mid\|\mathbf{q}-\mathbf{q}_{\mathrm{new}}\|^2\le r_{\mathrm{new}}^2\}$
12: $\mathcal{B}\leftarrow\mathcal{B}\cup\{\mathcal{B}_{\mathrm{new}}\}$
13: return $\mathcal{B}$
where , is the observed obstacle set up to time , and is the unobserved space (treated as occupied). Each SDF value induces a safe bubble of the form defined in (3). At query point , the SDF gives the distance to the nearest obstacle boundary, so setting yields an obstacle-free bubble. Since real-world SDF estimates are subject to uncertainty, the safety margin can be chosen adaptively based on the estimator variance. In particular, we set , where is the standard deviation of the SDF given by Kernel-SDF [4] and is a chosen risk probability. This ensures that the corresponding bubble is safe with probability at least by Cantelli’s inequality. Thus, the safety margin in Algorithm 1 can be adjusted to account for sensor uncertainty.
To generate a collection of safe bubbles, we adapt the rapidly-exploring bubble graph (RBG) algorithm of [15] to static unknown environments. The RBG algorithm (Algorithm 1) iteratively samples a random point, finds the closest bubble, and extends a new bubble toward the random point, similar to rapidly exploring random trees [24].
In a static unknown environment, treating unobserved space as unsafe makes SDF values non-decreasing as the map is updated. Thus, the computed bubbles remain safe even if their radii change. The following result formalizes this property.
Proposition V.1. Consider bubbles generated using an SDF of . The following holds:
(i) for any and , ;
(ii) for any , and any , ;
(iii) for any and any , implies .
Proof. Since , we have , and therefore
Hence, the bubble radii are non-decreasing, . Thus, if adjacent bubbles overlap at time , i.e., , then as well, so connectivity is preserved. Safety is also preserved since each radius is given by the SDF. Therefore, the initial bubble cover remains safe and connected under SDF updates. □
Proposition V.1 implies that a bubble cover that is initially safe and connected remains safe and connected under subsequent SDF updates. Consequently, the robot can traverse the original bubble cover without repeatedly querying the SDF.
Next, we examine the feasibility of the controller (12) for differential-drive robots.
Corollary V.2. (Differential-drive safe control feasibility under input bounds). For the differential-drive model in (17), let
with and . Fix any and let . Then, for any and sufficiently small , the QP in (12), with , is feasible at states satisfying .
Proof. See Appendix VIII-C. □
An important requirement is . At , loses rank and becomes unbounded, which can lead to infeasibility because it violates the assumption on bounded . In practice, we recover from low speed by turning in place toward the nearest center of a bubble containing the robot, then accelerating toward it. The straight-line segment stays inside the bubble, so this motion remains collision free.
Experiments
We evaluate whether BubbleCBF can maintain safe, goal-directed navigation on a differential-drive robot as nominal tracking degrades. We compare it against the unfiltered nominal controller and a first-order SDF-CBF baseline [8]. In simulation, we isolate the effect of increasing reference speed. In real-world experiments, we evaluate the complete navigation system on an exploration task in an initially unknown environment, where the robot builds a map online and follows generated reference paths to expand its coverage during a two-minute interval.
Across both studies, each trial is assigned one of four mutually exclusive outcomes: arrived, collided, stuck, or timed out. A trial is successful if the robot reaches the goal and is classified as a deadlock if it remains stationary until a time budget of 60 seconds expires. A trial that remains in motion without reaching the goal is classified as a timeout. We report the success rate (SR), collision rate (CR), deadlock rate (DR), and timeout rate (TR). For the real-world experiments, we introduce two additional metrics that are relevant to the exploration objective, covered area (CA) to account for the area covered by the bubble cover and average distance to the closest obstacle (OD).
Simulated Autonomous Navigation
The nominal controller combines pure pursuit steering with proportional speed control, with fixed gains and , and the current lookahead point across all experiments. Increasing tests performance under more demanding tracking conditions. The nominal control is given by
Both safety filters receive the same nominal input from the controller (19). The first filter is the proposed bubble filter (12). The second filter is an SDF-CBF baseline with barrier , where is assumed continuously differentiable and is a safety margin. It uses the kinematic unicycle with input . We convert the nominal acceleration into a speed command over one control step , giving . The filtered input is given by
where and is the CBF gain. The filtered speed is mapped back to the plant input as . The constraint involves only , so . In effect, the baseline can slow the robot down but cannot steer it away from obstacles. We evaluate m/s over 100 trials per speed, using a common goal and identical randomly sampled initial states across all methods. As shown in Table I, the performance gap widens as the desired speed increases. At 5 m/s, the nominal controller collides in 62 trials, while SDF-CBF deadlocks in 19. In contrast, BUBBLECBF remains collision- and deadlock-free in all 100 trials. The remaining BUBBLECBF timeouts occur because the nominal command overshoots the goal despite remaining within the safe set. Overall, these results demonstrate BUBBLECBF’s robustness to increasing tracking difficulty. Figure 3 illustrates representative trajectories from one such scenario.
| Method | SR (%) | CR (%) | DR (%) | TR (%) | |
| 5.0 | Nominal | 38 | 62 | 0 | 0 |
| 5.0 | BubbleCBF | 100 | 0 | 0 | 0 |
| 5.0 | SDF-CBF | 81 | 0 | 19 | 0 |
| 2.5 | Nominal | 84 | 16 | 0 | 0 |
| 2.5 | BubbleCBF | 96 | 0 | 0 | 4 |
| 2.5 | SDF-CBF | 87 | 0 | 13 | 0 |
| 1.0 | Nominal | 95 | 5 | 0 | 0 |
| 1.0 | BubbleCBF | 100 | 0 | 0 | 0 |
| 1.0 | SDF-CBF | 98 | 0 | 2 | 0 |
Table I. Simulation performance at increasing reference speeds. SR, CR, TR, and DR are reported over 100 randomly sampled initial positions for each method and speed. Navigation at all tested speeds.
Figure 3. All planners share the same start and goal positions. Cyan denotes the bubble cover, red the path bubbles, and black the planned trajectory. The nominal controller collides at speeds above 1 m/s (panels (b) and (c)), while SDF-CBF deadlocks at 5 m/s (panel (c)).
Real-World Autonomous Navigation
We evaluate navigation on a Clearpath Jackal differential-drive robot equipped with an Ouster OS1 LiDAR in the initially unknown cluttered environment shown in Figure 4. Direct LiDAR-inertial odometry (DLIO) [25] provides state estimates using the OS1’s point cloud and built-in IMU, while Kernel-SDF [4] estimates the SDF online from LiDAR observations. The robot’s linear and angular speeds are constrained to the Jackal’s maximum allowable values.

Figure 4. Navigation experiment in an a priori unknown environment. Left: the robot and cluttered test environment. Right: the generated bubble cover, with the executed robot trajectory in green and the reference Bézier trajectory in white.
The RBG procedure in Algorithm 1 constructs a graph of overlapping safe bubbles from the current SDF. An exploration target is selected from the frontier bubbles of this cover. A shortest graph path to the target determines a sequence of bubbles, and the reference trajectory is generated as a Bézier curve constrained to lie within their union. The bubble cover defines the CBF safe set. We run six trials per method and report SR, CR, DR, CA, and OD. Each trial has a two-minute exploration budget and is successful if the robot completes this interval without collision or deadlock. TR is not reported because reaching the time limit marks completion of the exploration trial rather than failure to reach a goal. Table II summarizes the real-world results. BUBBLECBF completed all trials without collision or deadlock. SDF-CBF remained collision-free but deadlocked in 50% of the trials, and the nominal controller collided in 83.3% of the trials.
| Metric | BubbleCBF | Nominal | SDF CBF |
| CR (%) ↓ | 0.0 | 83.3 | 0.0 |
| SR (%) ↑ | 100.0 | 16.7 | 50.0 |
| DR (%) ↓ | 0.0 | 0.0 | 50.0 |
| CA (m) ↑ | 8.42 ± 0.89 | 7.86 ± 1.75 | 8.75 ± 0.80 |
| OD (m) ↑ | 0.720 ± 0.030 | 0.714 ± 0.052 | 0.687 ± 0.028 |
Table II. Results for real-world experiments. CR, SR, DR, CA, and OD from obstacles. Start goals were identical, each planner had an exploration budget of 2 minutes. Success is defined when the robot does not experience a collision or deadlock in the time budget.
The observed difference in deadlock behavior is consistent with the structure of the two safety filters. Under differential-drive kinematics, the first-order SDF-CBF constraint does not involve angular velocity , so the filter modifies translational speed while leaving the nominal steering command unchanged. When the robot points toward an obstacle, the constraint restricts forward speed as clearance decreases and can bring the robot to a stop at the safety margin. If the nominal steering command does not reorient the robot toward a feasible direction of motion, the robot can remain stopped. Such deadlocks have also been reported in [8]. In contrast, the smooth bubble barriers yield a higher-order constraint that includes both linear acceleration and angular velocity, allowing BUBBLECBF to also modify steering.
We further evaluate BUBBLECBF in a larger lobby environment, constructing the SDF and bubble cover online during navigation. Figure 5 shows the resulting trajectories and bubble cover, with performance summarized in Table III.
| CR (%) | SR (%) | DR (%) | CA () | OD (m) |
| 0.0 | 100.0 | 0.0 | 126.99 ± 43.13 | 1.247 ± 0.31 |
Table III. Performance of BUBBLECBF in the large-scale unknown environment. CR, SR, DR, CA, and OD from obstacles.

Figure 5. Autonomous navigation in a large unknown environment. Top: the robot at three times during the experiment. Bottom: the online-constructed bubble cover (red), reference Bézier trajectory (white), and executed trajectory (green). White arrows indicate the robot positions shown in the top panels.
Conclusions
We presented BUBBLECBF, a safe control synthesis method that converts spherical primitives (bubbles) obtained from signed distance measurements into a feasible higher-order CBF for second-order systems. We proved that a quadratic program with our second-order CBF constraint yields a continuous controller, renders the bubble set forward invariant, and remains feasible under sufficient bounded-input conditions. Simulation and hardware experiments demonstrate that BUBBLECBF enables safe autonomous navigation in unknown environments even as nominal trajectory tracking degrades. Future work will consider dynamic environments, online adaptation of the bubble cover as the SDF evolves, and extensions to higher-dimensional configuration spaces.
Appendix
Proof of Theorem IV.2
Proof. Let , i.e., , and define . For every , we have . Define the active barriers . We show that the controller in (14) satisfies for every and every . Fix and . Then , , or , with multiple barriers possibly being active at the same time.
Case (a): . Since and , we have . Moreover, implies . Combining with yields , regardless of .
Case (b): . So, . By definition of , . Hence, , and Assumption 2 ensures exists. For brevity, we write as . Substituting in gives
We will show that the last term has a positive lower bound, and can thus steer positive by setting a sufficiently large positive . From , we have:
Applying Young’s inequality to the second-to-last term yields:
where the last line uses definitions of and . So by (22),
where the last inequality is the premise of the theorem. This gives a positive lower bound on the last term of (21), allowing a sufficiently large to steer positive. To see how large should be, we bound the first two terms of as:
where the last inequality is implied by the facts that (from ) and . Thus, it is sufficient for that
Case (c): . Thus, and . Using from , substituting the controller (14) in yields
Using for any , we have:
By the premise , it is sufficient for that
Thus, choosing as in (14) with satisfies both (24) and (25). □
Proof of Theorem IV.3
Proof. It suffices to show that the controller in (14) belongs to . Since , , and ,
From (24)–(25), it suffices to choose
Such a exists provided that
Hence, , and the QP in (12) remains feasible. □
Proof of Corollary V.2
Proof. For the differential-drive dynamics (17), , so and, from (25), . Fix and , and choose
These choices satisfy the conditions of Theorem IV.2. Substituting them into (24) gives
where is independent of . Hence, . The sufficient condition of Theorem IV.3 becomes
On states with , . Thus, (31) holds for any by choosing
Therefore, the QP is feasible for any positive input limit by choosing sufficiently small.
References
- [1]A. D. Ames, S. Coogan, M. Eggerstedt, G. Notomista, K. Sreenath, and P. Tabuada, “Control barrier functions: Theory and applications,” in European Control Conference (ECC), 2019, pp. 3420–3431.arxiv.org/abs/1903.11199
- [2]S. Osher, R. Fedkiw, and K. Piechor, “Level set methods and dynamic implicit surfaces,” Applied Mechanics Reviews, vol. 57, no. 3, pp. B15–B15, 2004.
- [3]J. Ortiz, A. Clegg, J. Dong, E. Sucar, D. Novotny, M. Zollhoefer, and M. Mukadam, “iSDF: Real-time neural signed distance fields for robot perception,” in Robotics: Science and Systems (RSS), 2022.arxiv.org/abs/2204.02296
- [4]Z. Dai, T. Fan, M. Amani, J. Seo, K. M. B. Lee, H. Oh, and N. Atanasov, “Kernel-SDF: An open-source library for real-time signed distance function estimation using kernel regression,” IEEE Robotics and Automation Letters, vol. 11, no. 10, pp. 11054–11061, 2026.
- [5]W. Xiao and C. Belta, “High-order control barrier functions,” IEEE Transactions on Automatic Control, vol. 67, no. 7, pp. 3655–3662, 2022.
- [6]M. M. Alyaseen, N. Atanasov, and J. Cortés, “Safety-critical control of discontinuous systems with nonsmooth safe sets,” Automatica, vol. 185, p. 112780, 2026.arxiv.org/abs/2412.15437
- [7]K. Long, Y. Zi, Z. Dai, S. Herbert, J. Cortés, and N. Atanasov, “Sensor-based distributionally robust control for safe robot navigation in dynamic environments,” The International Journal of Robotics Research, vol. 45, no. 2, pp. 328–351, 2026.arxiv.org/abs/2405.18251
- [8]N. Mohammad and N. Bezzo, “Soft Actor-Critic-based control barrier adaptation for robust autonomous navigation in unknown environments,” in IEEE International Conference on Robotics and Automation (ICRA), 2025, pp. 2361–2367.arxiv.org/abs/2503.08479
- [9]A. Thirugnanam, J. Zeng, and K. Sreenath, “Safety-critical control and planning for obstacle avoidance between polytopes with control barrier functions,” in IEEE International Conference on Robotics and Automation (ICRA), 2022, pp. 286–292.arxiv.org/abs/2109.12313
- [10]S. Wu, Y. Fang, N. Sun, B. Lu, X. Liang, and Y. Zhao, “Optimization-free smooth control barrier function for polygonal collision avoidance,” IEEE Transactions on Cybernetics, vol. 55, no. 9, pp. 4257–4269, 2025.arxiv.org/abs/2502.16293
- [11]P. Glotfelter, J. Cortés, and E. D. Smeresdt, “Nonsmooth barrier functions with applications to multi-robot systems,” IEEE Control Systems Letters, vol. 1, no. 2, pp. 310–315, 2017.DOI
- [12]Q. Nguyen and K. Sreenath, “Exponential control barrier functions for enforcing high relative-degree safety-critical constraints,” in American Control Conference (ACC), 2016, pp. 322–328.
- [13]K. Long, C. Qian, J. Cortés, and N. Atanasov, “Learning barrier functions with memory for robust safe navigation,” IEEE Robotics and Automation Letters, vol. 6, no. 3, pp. 4931–4938, 2021.arxiv.org/abs/2011.01899
- [14]F. S. Barbosa and J. Tumova, “Risk-aware navigation on smooth approximations of Euclidean distance fields among dynamic obstacles,” 2022, diVA preprint, diva2:1626326.
- [15]K. M. B. Lee, Z. Dai, C. L. Gentil, L. Wu, N. Atanasov, and T. Vidal-Calleja, “Safe bubble cover for motion planning on distance fields,” arXiv preprint arXiv:2408.13377, 2024.arxiv.org/abs/2408.13377
- [16]P. Mestres, A. Alliboy, and J. Cortés, “Regularity properties of optimization-based controllers,” European Journal of Control, vol. 81, p. 101098, 2025.arxiv.org/abs/2311.13167
- [17]M. Alyaseen, N. Atanasov, and J. Cortés, “Continuity and boundedness of minimum-norm CBF-safe controllers,” IEEE Transactions on Automatic Control, vol. 70, no. 6, pp. 4148–4154, 2025.arxiv.org/abs/2306.07398
- [18]B. J. Morris, M. J. Powell, and A. D. Ames, “Continuity and smoothness properties of nonlinear optimization-based feedback controllers,” in IEEE Conference on Decision and Control (CDC), 2015, pp. 151–158.DOI
- [19]Y. Ren, F. Zhu, W. Liu, Z. Wang, Y. Lin, F. Gao, and F. Zhang, “Bubble planner: Planning high-speed smooth quadrotor trajectories using receding corridors,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2022, pp. 6332–6339.
- [20]L. Yang and S. M. LaValle, “The sampling-based neighborhood graph: An approach to computing and executing feedback motion strategies,” IEEE Transactions on Robotics and Automation, vol. 20, no. 3, pp. 419–432, 2004.DOI
- [21]C. Danielson, “Invariant configuration-space bubbles for revolute serial-chain robots,” IEEE Control Systems Letters, vol. 7, pp. 745–750, 2023.DOI
- [22]Y.-H. Chen, S. Ghori, A. Adil, E. Feron, and C. Belta, “Long-horizon geometry-aware navigation among polytopes via MILP-MPC and Minkowski-based CBFs,” in IEEE Conference on Decision and Control (CDC), 2026.
- [23]R. Ortega, A. Loria, P. J. Nicklasson, and H. Sira-Ramírez, Passivity-Based Control of Euler-Lagrange Systems: Mechanical, Electrical and Electromechanical Applications. Springer London, 1998.
- [24]S. M. LaValle, “Rapidly-exploring random trees: A new tool for path planning,” Department of Computer Science, Iowa State University, Tech. Rep. TR 98-11, 1998.
- [25]S. Chen, R. Nemiroff, and B. T. Lopez, “Direct LiDAR-inertial odometry: Lightweight LIO with continuous-time motion correction,” in IEEE International Conference on Robotics and Automation (ICRA), 2023, pp. 3983–3989.arxiv.org/abs/2203.03749
