Control Barrier Function for Unknown Systems: An Approximation-free Approach thanks: This work was supported in part by the ARTPARK.

Shubham Sawarkar
Centre for Cyber-Physical Systems
IISc, Bengaluru, India
shubhamsg@iisc.ac.in
&Pushpak Jagtap
Centre for Cyber-Physical Systems and
Department of Aerospace Engineering
IISc, Bengaluru, India
pushpak@iisc.ac.in
Abstract

We study the prescribed-time reach-avoid (PT-RA) control problem for nonlinear systems with unknown dynamics operating in environments with moving obstacles. Unlike robust or learning based Control Barrier Function (CBF) methods, the proposed framework requires neither online model learning nor uncertainty bound estimation. A CBF-based Quadratic Program (CBF-QP) is solved on a simple virtual system to generate a safe reference satisfying PT-RA conditions with respect to time-varying, tightened obstacle and goal sets. The true system is confined to a Virtual Confinement Zone (VCZ) around this reference using an approximation-free feedback law. This construction guarantees real-time safety and prescribed-time target reachability under unknown dynamics and dynamic constraints without explicit model identification or offline precomputation. Simulation results illustrate reliable dynamic obstacle avoidance and timely convergence to the target set.

1 Introduction

Safety assurance in dynamical systems is essential in applications such as autonomous vehicles, aerial robots, and industrial automation. Beyond achieving the control objective, it is necessary to ensure that the system trajectories remain within safe regions of the state space. These requirements are often expressed as state constraints, and most existing control strategies rely on some knowledge of the system dynamics to check or enforce them. In practice, obtaining an accurate model is difficult due to uncertainty, unmodeled effects, and environmental changes. Exhaustive testing is also not feasible, yet safety and timely goal satisfaction must still be ensured, often within a prescribed time window.

Several approaches have been developed for the safety-critical control of nonlinear systems. Hamilton–Jacobi (HJ) reachability (mitchell2005) provides rigorous guarantees through backward reachable sets, but it requires solving high-dimensional PDEs, making it model-dependent and computationally expensive. Predictive safety filters (waberisich2023) enforce Nagumo’s condition through constrained optimization, but their complexity grows rapidly with the prediction horizon and the number of known obstacle trajectories. saxena proposed an RL-based approach to handle partially unknown dynamics, but it requires extensive offline training and offers no formal safety guarantees. Symbolic control (tabuada2009verification) requires large offline abstractions, making it impractical for high-dimensional or prescribed-time tasks. Achieving prescribed-time reach–avoid behavior remains challenging for all these approaches.

CBFs (ames2019theory; jagtap2020formal) have emerged as an efficient framework for real-time safety enforcement. However, classical CBF-based Quadratic Programs (CBF-QPs) (ames2019theory) assume fully known dynamics. To address uncertainty, several extensions have been proposed. Robust formulations explicitly compensate for known bounded disturbances or modeling errors (JANKOVIC2018359; buch2022; XU201554; kolathaya2019; alan2023), while learning-based methods employ Gaussian Processes or neural networks to approximate the unknown dynamics from data (jagtap2020; seiler2022; COHEN2024100947). Other works focus on improving estimation and observer design under uncertainty (takano2018) or adaptively adjusting safety margins. Moreover, Dynamic obstacle avoidance has been addressed via collision-cone constraints (manan). Despite these advances, most approaches still depend on either prior knowledge of uncertainty bounds or extensive offline training, limiting their practicality for systems with unstructured or time-varying uncertainties. Time-varying CBFs (8404080) extend safety constraints to logical or temporal tasks but remain applicable mainly to known system models and known disturbance bounds.

To deal with an unknown model, Prescribed-Performance Control  (4639441; BERGER2018345; Berger2021) provides an approximation-free framework that ensures tracking errors remain in user-defined transient performance bounds.  dasstt and das2025 extend the approximation-free framework to address the reach-avoid problem by using Spatiotemporal Tubes (STT). However, these frameworks do not explicitly encode safety constraints or support dynamic obstacle avoidance.

To overcome these limitations, we propose the Virtual Confinement Zone (VCZ) framework, which unifies approximation-free confinement and CBF-based safety. A CBF-QP generates a virtual trajectory ensuring reach-avoid satisfaction within a prescribed time using time-varying CBF constraints, while the true system is confined around this trajectory inside a shrinking, time-varying region. This construction guarantees VCZ forward invariance and prescribed-time reachability for nonlinear systems with unknown dynamics and moving obstacles, providing real-time safety and goal satisfaction without exact model knowledge, conservative uncertainty bounds, or any form of offline pre-computation. The proposed framework has been demonstrated using simulation.

2 Preliminaries and Problem Formulation

Notations: The Euclidean norm of vector xnx\in\mathbb{R}^{n} is denoted by x\|x\|. The closed and open balls centered at x0x_{0} with radius rr are given by (x0,r):={xnxx0r}\mathcal{B}(x_{0},r):=\{x\in\mathbb{R}^{n}\mid\|x-x_{0}\|\leq r\} and (x0,r):={xnxx0<r}\mathcal{B}^{\circ}(x_{0},r):=\{x\in\mathbb{R}^{n}\mid\|x-x_{0}\|<r\}, respectively. The intersection and union of a collection of dd sets {𝒮i}i=1d\{\mathcal{S}_{i}\}_{i=1}^{d} are denoted by i=1d𝒮i\bigcap_{i=1}^{d}\mathcal{S}_{i} and i=1d𝒮i\bigcup_{i=1}^{d}\mathcal{S}_{i}, respectively. For a vector-valued function h:nmh:\mathbb{R}^{n}\to\mathbb{R}^{m}, the Jacobian with respect to xx is denoted by 𝕁xh:=h(x)xm×n\mathbb{J}_{x}h:=\frac{\partial h(x)}{\partial x}\in\mathbb{R}^{m\times n}. The class 𝒦\mathcal{K} consists of continuous, strictly increasing functions α\alpha with α(0)=0\alpha(0)=0; 𝒦\mathcal{K}_{\infty} denotes unbounded 𝒦\mathcal{K} functions; and the extended 𝒦\mathcal{K}_{\infty} class includes functions α:+\alpha:\mathbb{R}\to\mathbb{R}_{+} that are continuous, strictly increasing, unbounded, and satisfy α(0)=0\alpha(0)=0. The notations A()0A\succ(\prec)0 and A()0A\succeq(\preceq)0 represent positive (negative) definite and semidefinite matrices, respectively. The symbol 0n0_{n} denotes a vector of nn zeros. All other notation in this paper follows standard mathematical conventions.

2.1 System Definition

We consider a nonlinear control-affine dynamical system

x˙=f(x)+g(x)u+ω,\dot{x}=f(x)+g(x)u+\omega, (1)

where x(t)nx(t)\in\mathbb{R}^{n} denotes the state, u(t)nu(t)\in\mathbb{R}^{n} denotes the control input, maps f:nnf:\mathbb{R}^{n}\to\mathbb{R}^{n}, g:nn×ng:\mathbb{R}^{n}\to\mathbb{R}^{n\times n} and disturbance signal ω:+n\omega:\mathbb{R}_{+}\to\mathbb{R}^{n} satisfies the following assumptions.

Assumption 1.

The functions ff and gg are unknown, but bounded and locally Lipschitz continuous. Moreover, g(x)+g(x)2\frac{g(x)+g(x)^{\top}}{2} is assumed to be sign definite for all xnx\in\mathbb{R}^{n}. The disturbance ω\omega is an unknown but bounded and piecewise continuous signal.

2.2 Control Barrier Functions (CBFs)

A Control Barrier Function (CBF), as defined in ames2019theory, is a scalar function that ensures forward invariance of a safe set by enforcing an inequality constraint on the system’s input.

Definition 1 (8404080) Def. 2).

A continuously differentiable vector-valued function h:n×+dh:\mathbb{R}^{n}\times\mathbb{R}_{+}\to\mathbb{R}^{d}, where dd is number of unsafe set, given by h(z,t):=[h1(z,t),h2(z,t),,hd(z,t)]h(z,t):=[h_{1}(z,t),h_{2}(z,t),\dots,h_{d}(z,t)]^{\top}, is a Control Barrier Function (CBF) candidate, where hih_{i} defines a unsafe set 𝒰i\mathcal{U}_{i} as

𝒰i(t):={znhi(z,t)<0}i{1,,d},\mathcal{U}_{i}(t):=\{z\in\mathbb{R}^{n}\mid h_{i}(z,t)<0\}\quad\forall i\in\{1,\dots,d\}, (2)

and each scalar function hi(z,t)h_{i}(z,t) satisfies: hi(z,t)<0h_{i}(z,t)<0 in the interior of the unsafe set, hi(z,t)=0h_{i}(z,t)=0 on its boundary, and hi(z,t)0h_{i}(z,t)\geq 0 outside.

Given a known control-affine system z˙=fz(z)+gz(z)uz\dot{z}=f_{z}(z)+g_{z}(z)u_{z} where fz:nn,gz:nn×mf_{z}:\mathbb{R}^{n}\rightarrow\mathbb{R}^{n},g_{z}:\mathbb{R}^{n}\rightarrow\mathbb{R}^{n\times m} and uzmu_{z}\in\mathbb{R}^{m}, forward invariance over n𝒰i(t)\mathcal{R}^{n}\setminus\mathcal{U}_{i}(t) is ensured by enforcing the following CBF condition for all i{1,,d}i\in\{1,\dots,d\},:

hi(z,t)z(fz(z)+gz(z)uz)+hi(z,t)tγi(hi(z,t)),\frac{\partial h_{i}^{\top}(z,t)}{\partial z}(f_{z}(z)+g_{z}(z)u_{z})+\frac{\partial h_{i}(z,t)}{\partial t}\!\geq\!-\gamma_{i}(h_{i}(z,t)), (3)

where γi:\gamma_{i}:\mathbb{R}\to\mathbb{R} is an extended class 𝒦\mathcal{K}_{\infty} function.

The control input uzmu_{z}\in\mathbb{R}^{m} is then synthesized via the following Quadratic Program (QP):

minuzm12uzHuz+Fuz\displaystyle\min_{u_{z}\in\mathbb{R}^{m}}\ \frac{1}{2}u_{z}^{\top}Hu_{z}+F^{\top}u_{z} (4)
s.t.𝕁zh(z,t)(fz(z)+gz(z)uz+h(z,t)t+Γ(h(z,t))0,\displaystyle\text{ s.t.}\ \mathbb{J}_{z}h^{\top}(z,t)(f_{z}(z)+g_{z}(z)u_{z}+\frac{\partial h(z,t)}{\partial t}+\Gamma(h(z,t))\geq 0,

where Γ(h(z,t)):=[γ1(h1(z,t)),,γd(hd(z,t))]\Gamma(h(z,t)):=[\gamma_{1}(h_{1}(z,t)),\cdots,\gamma_{d}(h_{d}(z,t))]^{\top}, Hm×mH\in\mathbb{R}^{m\times m} is a positive-definite Hessian matrix and FmF\in\mathbb{R}^{m} is a gradient vector. This QP guarantees that the system remains within the safe set ni=1d𝒰i\mathbb{R}^{n}\setminus\bigcup_{i=1}^{d}\mathcal{U}_{i}.

Lemma 1 (Forward Invariance of the Safe Set).

Let hi:n×+h_{i}:\mathbb{R}^{n}\times\mathbb{R}_{+}\rightarrow\mathbb{R}, i={1,,d}i=\{1,\dots,d\}, be continuously differentiable functions defining the unsafe set i=1d𝒰i\bigcup_{i=1}^{d}\mathcal{U}_{i} If the control input uzu_{z} is chosen as the solution to the Quadratic Program (4), and the QP remains feasible for all zni=1d𝒰i(t)z\in\mathbb{R}^{n}\setminus\bigcup_{i=1}^{d}\mathcal{U}_{i}(t) and t+t\in\mathbb{R}_{+}, then the safe set ni=1d𝒰i(t)\mathbb{R}^{n}\setminus\bigcup_{i=1}^{d}\mathcal{U}_{i}(t) is forward invariant. That is,

z(0)ni=1d𝒰i(0)z(t)ni=1d𝒰i(t),t+.z(0)\in\mathbb{R}^{n}\setminus\bigcup_{i=1}^{d}\mathcal{U}_{i}(0)\quad\Rightarrow\quad z(t)\in\mathbb{R}^{n}\setminus\bigcup_{i=1}^{d}\mathcal{U}_{i}(t),\quad\forall t\in\mathbb{R}_{+}.

2.3 Problem Formulation

In this work, we consider the prescribed-time reach-avoid tasks as defined next.

Definition 2.

Given an initial state x(0)nx(0)\in\mathbb{R}^{n}, let 𝒰(t)n\mathcal{U}(t)\subset\mathbb{R}^{n} denote the time-varying unsafe set, and let n𝒰(t)\mathcal{R}\subset\mathbb{R}^{n}\setminus\mathcal{U}(t) denote the target set. For the initial state x(0)n𝒰(0)x(0)\in\mathbb{R}^{n}\setminus\mathcal{U}(0) and a prescribed time tf>0t_{f}>0, the system in (1) is said to satisfy prescribed-time reach-avoid (PT-RA) task if x(tf)x(t_{f})\in\mathcal{R} and x(t)n𝒰(t),t[0,tf]x(t)\in\mathbb{R}^{n}\setminus\mathcal{U}(t),\ \forall t\in[0,t_{f}].

Problem 1.

Given an unknown system defined in (1) satisfying Assumption 1, time-varying unsafe set 𝒰(t)\mathcal{U}(t), a target set \mathcal{R}, a prescribe time tf>0t_{f}>0, and initial state x(0)n𝒰(0)x(0)\in\mathbb{R}^{n}\setminus\mathcal{U}(0); the objective is to synthesize a continuous controller u:n×+nu:\mathbb{R}^{n}\times\mathbb{R}_{+}\rightarrow\mathbb{R}^{n} such that the system state x(t)x(t) satisfies the prescribed-time reach-avoid task as defined in Definition 2 using a Control Barrier Function-based Quadratic Program (CBF-QP).

In principle, CBFs can achieve the PT-RA objective by enforcing set invariance and guaranteeing reach-avoid behavior, provided the CBF constraints are feasible. However, this approach relies on precise system dynamics, making it unsuitable for systems with unknown or uncertain dynamics.

To address this, in the next Section, we introduce a Virtual Confinement Zone (VCZ), a designer-specified, time-varying region, endowed with nominal virtual dynamics and a virtual control input, that encloses the system trajectory with appropriate approximation-free control design. We then generate a virtual control input via CBF-QP formulation to ensure satisfaction of the PT-RA task by VCZ. Next, as the true system trajectory remains confined within VCZ, it inherits its safety and reachability properties, ensuring the PT-RA task. Detailed controller design and analysis are presented in Sections 3 and 4, respectively. The schematic of the control flow is shown in Figure 1.

Refer to caption
Figure 1: Control Flowchart

3 Controller Design

To address unknown dynamics, we first introduce the Virtual Confinement Zone (VCZ), a user-specified, time-varying region equipped with nominal virtual dynamics and a virtual control input.

Definition 3 (Virtual Confinement Zone).

A Virtual Confinement Zone (VCZ) is a time-varying open ball 𝒞(t)n\mathcal{C}(t)\subset\mathbb{R}^{n} defined as 𝒞(t):=(c(t),rc)\mathcal{C}(t):=\mathcal{B}^{\circ}(c(t),r_{c}), where c(t)c(t) is a time-varying center and rc>0r_{c}>0 is a fixed radius.

The center c(t)c(t) is assumed to evolve according to a user-defined virtual dynamical system of relative degree one:

c˙=fc(c)+gc(c)uc,\dot{c}=f_{c}(c)+g_{c}(c)u_{c}, (5)

where fc:nnf_{c}:\mathbb{R}^{n}\to\mathbb{R}^{n} and gc:nn×mg_{c}:\mathbb{R}^{n}\to\mathbb{R}^{n\times m} are chosen as locally Lipschitz continuous functions, and ucmu_{c}\in\mathbb{R}^{m} is the virtual control input.

The VCZ 𝒞(t)\mathcal{C}(t) serves as a dynamically adjustable admissible set that guides and constrains the actual system’s state. By appropriately designing the virtual dynamics (fc,gc,uc)(f_{c},g_{c},u_{c}), one can generate reference trajectories that respect PT-RA requirements. Moreover, the radius rc>0r_{c}>0 is chosen such that the terminal ball (c(tf),rc)\mathcal{B}^{\circ}(c(t_{f}),r_{c}) lies entirely within the target region \mathcal{R}.

With the (VCZ) and virtual dynamics defined, the overall control strategy proceeds in two concurrent stages:

  • (1)

    Virtual control design: a CBF-QP-based controller that navigates the VCZ center.

  • (2)

    Confinement control design: a separate controller maintains the system state within the evolving VCZ.

Step 1: Virtual Control Design using CBF-QP over VCZ dynamics

Consider a prescribed-time reach-avoid problem defined in Problem 1, where unsafe region 𝒰(t)\mathcal{U}(t) is defined as the union of d1d-1 moving obstacles

𝒰(t):=j=1d1𝒰j(t),t[0,tf],\mathcal{U}(t):=\bigcup_{j=1}^{d-1}\mathcal{U}_{j}(t),\forall t\in[0,t_{f}],

where each obstacle 𝒰j(t)\mathcal{U}_{j}(t) is modeled as an open Euclidean ball 𝒰j(t):=(buj(t),ruj)\mathcal{U}_{j}(t):=\mathcal{B}^{\circ}(b_{u_{j}}(t),r_{u_{j}}) with center buj(t)nb_{u_{j}}(t)\in\mathbb{R}^{n} and radius ruj>0r_{u_{j}}>0. The target set is a closed ball :=(bR,rR)\mathcal{R}:=\mathcal{B}(b_{R},r_{R}) with bRnb_{R}\in\mathbb{R}^{n} and by Definition 2, it satisfies n𝒰(t)\mathcal{R}\subset\mathbb{R}^{n}\setminus\mathcal{U}(t).

a)  Initialization of VCZ.

At t=0t=0, we initialize a Virtual Confinement Zone (VCZ) around the initial state x(0)x(0) [cf. Def 3], i.e., x(0)𝒞(0)x(0)\in\mathcal{C}(0), and 𝒞(0)n𝒰(0)\mathcal{C}(0)\subset\mathbb{R}^{n}\setminus\mathcal{U}(0), ensuring that the system starts in a safe configuration. Additionally, the radius rc>0r_{c}>0 of VCZ is chosen as rc<rRr_{c}<r_{R} to ensure that (c(tf),rc)=(bR,rR)\mathcal{B}^{\circ}(c(t_{f}),r_{c})\subset\mathcal{R}=\mathcal{B}(b_{R},r_{R}).

b)  Barrier functions for PT-RA Task.

Assuming that the true state lies within 𝒞(t)\mathcal{C}(t), an equivalent subobjective is to ensure that the entire VCZ remains safe and reaches the target set \mathcal{R} at the prescribed time tft_{f}:

𝒞(t)n𝒰(t),t[0,tf] and 𝒞(tf).\mathcal{C}(t)\subset\mathbb{R}^{n}\setminus\mathcal{U}(t),\quad\forall t\in[0,t_{f}]\text{ and }\mathcal{C}(t_{f})\subset\mathcal{R}.

We make the following assumptions about the obstacle sets:

Assumption 2 (Obstacle motion and separation).

For all t[0,tf]t\in[0,t_{f}] and for all j{1,2,,d1}j\in\{1,2,\dots,d-1\}:

  1. 1.

    Each obstacle has known radius rujr_{u_{j}}, center position buj(t)b_{u_{j}}(t), and velocity b˙uj(t)\dot{b}_{u_{j}}(t). The quantitie b˙uj\|\dot{b}_{u_{j}}\| is bounded, and obstacle motion buj(t)b_{u_{j}}(t) is continuous.

  2. 2.

    Minimum distance between any two obstacles satisfies

    minijbui(t)buj(t)2rc+rui+ruj,\min_{i\neq j}\|b_{u_{i}}(t)-b_{u_{j}}(t)\|\geq 2r_{c}+r_{u_{i}}+r_{u_{j}},

    ensuring that the VCZ 𝒞(t)\mathcal{C}(t) can pass between them.

  3. 3.

    At t=tft=t_{f}, the target set \mathcal{R} is obstacle-free: 𝒰j(tf)=(buj(tf),ruj)=,j\mathcal{U}_{j}(t_{f})=\mathcal{B}^{\circ}(b_{u_{j}}(t_{f}),r_{u_{j}})\cap\mathcal{R}=\emptyset,\ \forall j.

To ensure the entire VCZ remains outside all obstacles, it suffices for its center c(t)c(t) to satisfy the tightened constraint

c(t)buj(t)ruj+rc,j{1,,d1}.\|c(t)-b_{u_{j}}(t)\|\;\geq\;r_{u_{j}}+r_{c},\quad j\in\{1,\dots,d-1\}.

Accordingly, the unsafe set for the VCZ center is

𝒰VCZ(t):=j=1d1(buj(t),ruj+rc).\mathcal{U}_{VCZ}(t):=\bigcup_{j=1}^{d-1}\mathcal{B}^{\circ}(b_{u_{j}}(t),r_{u_{j}}+r_{c}).

To guarantee the VCZ remains within the target region VCZ\mathcal{R}_{VCZ} at t=tft=t_{f}, we define the shrunk target set for the center as

VCZ:=(bR,rRrc),\mathcal{R}_{VCZ}:=\mathcal{B}\big(b_{R},r_{R}-r_{c}\big),

By construction, maintaining the center of VCZ c(t)c(t) within the tightened safe set n𝒰VCZ(t)\mathbb{R}^{n}\setminus\mathcal{U}_{VCZ}(t) for all t[0,tf]t\in[0,t_{f}] and driving it into VCZ\mathcal{R}_{VCZ} at tft_{f} ensure that the entire VCZ satisfies PT-RA task. Formally,

(c(t)n𝒰VCZ(t),t[0,tf])(c(tf)VCZ)\displaystyle\big(c(t)\in\mathbb{R}^{n}\setminus\mathcal{U}_{VCZ}(t),\ \forall t\in[0,t_{f}]\big)\wedge\big(c(t_{f})\in\mathcal{R}_{VCZ}\big)
(𝒞(t)n𝒰(t),t[0,tf])(𝒞(tf)).\displaystyle\Longrightarrow\big(\mathcal{C}(t)\subset\mathbb{R}^{n}\setminus\mathcal{U}(t),\ \forall t\in[0,t_{f}]\big)\wedge\big(\mathcal{C}(t_{f})\subseteq\mathcal{R}\big). (6)

A formal proof of this implication is provided in the next section.

To address the prescribed-time reach-avoid problem for the VCZ center c(t)c(t) with respect to the unsafe set 𝒰VCZ(t)\mathcal{U}_{VCZ}(t) and the target set VCZ\mathcal{R}_{VCZ}, we employ the CBF–QP framework [Def. 1] applied to the virtual dynamics (5). We consider d1d-1 obstacles forming the unsafe set 𝒰VCZ(t)\mathcal{U}_{\text{VCZ}}(t), with corresponding control barrier functions

hj(c,t):=cbuj(t)2(ruj+rc)2,j{1,2,,d1}.h_{j}(c,t):=\|c-b_{u_{j}}(t)\|^{2}-(r_{u_{j}}+r_{c})^{2},\quad j\in\{1,2,\dots,d-1\}. (7)

To ensure c(t)c(t) reaches the target VCZ\mathcal{R}_{VCZ}, within the prescribed time tft_{f}, we construct a shrinking set that initially encloses both c(t)c(t) and VCZ\mathcal{R}_{VCZ} and contracts over time until it is fully contained in VCZ\mathcal{R}_{\text{VCZ}} at t=tft=t_{f}. A barrier function associated with this set guarantees the invariance of c(t)c(t) and thus the prescribed-time convergence.

Formally, the shrinking set is defined as s(t):=(bR,rr(t))n\mathcal{R}_{s}(t):=\mathcal{B}(b_{R},r_{r}(t))\subset\mathbb{R}^{n}, where rr(t):=mttf+qr_{r}(t):=-m\frac{t}{t_{f}}+q with rr(0)c(0)bRr_{r}(0)\geq\|c(0)-b_{R}\| and rr(tf)rRrc>0r_{r}(t_{f})\leq r_{R}-r_{c}>0. The parameters mm and qq are chosen to satisfy the boundary conditions based on the geometry of the sets, and can be explicitly computed as m=(rr0rrf)/tfm=(r_{r_{0}}-r_{r_{f}})/t_{f} and q=rr0q=r_{r_{0}}.

The corresponding barrier function for target reach is

hd(c,t):=rr(t)2cbR2.h_{d}(c,t):=r_{r}(t)^{2}-\|c-b_{R}\|^{2}. (8)

c)  Controller synthesis for prescribed-time reach-avoid.

Now we collect d1d-1 CBFs for obstacle avoidance (7) and one CBF for the prescribed-time reach (8) as

h(c,t):=[h1(c,t),h2(c,t),,hd(c,t)].h(c,t):=[h_{1}(c,t),h_{2}(c,t),\dots,h_{d}(c,t)]^{\top}. (9)

By Lemma 1, the CBF conditions guarantee forward invariance of the set associated with each CBF

c(t)(n𝒰VCZ(t))s(t)s(0),t[0,tf].c(t)\in\big(\mathbb{R}^{n}\setminus\mathcal{U}_{\text{VCZ}}(t)\big)\cap\mathcal{R}_{s}(t)\subset\mathcal{R}_{s}(0),\forall t\in[0,\;t_{f}]. (10)

Consequently, the VCZ center c(t)c(t) satisfies PT-RA task (3).

To enforce these conditions, we synthesize the virtual control input ucmu_{c}\in\mathbb{R}^{m} via the following quadratic program (QP) based on the virtual dynamics (5):

minucm\displaystyle\min_{u_{c}\in\mathbb{R}^{m}} 12ucHuc+Fuc\displaystyle\tfrac{1}{2}u_{c}^{\top}Hu_{c}+F^{\top}u_{c} (11)
s.t. h˙(c,t)+Γ(h(c,t))0,\displaystyle\dot{h}(c,t)+\Gamma(h(c,t))\geq 0,

where h(c,t):=[h1(c,t),,hd(c,t)]h(c,t):=[h_{1}(c,t),\dots,h_{d}(c,t)]^{\top} and Γ(h(c,t)):=[γ1(h1(c,t)),,γd(hd(c,t))]\Gamma(h(c,t)):=[\gamma_{1}(h_{1}(c,t)),\dots,\gamma_{d}(h_{d}(c,t))]^{\top}. The matrices H,FH,F and the class-𝒦\mathcal{K} function γj()\gamma_{j}(\cdot) are defined in Def. 1.

Assumption 3.

t[0,tf]\forall t\in[0,t_{f}] and c(0)n𝒰VCZ(0)\forall c(0)\in\mathbb{R}^{n}\setminus\mathcal{U}_{VCZ}(0), there exists a control input uc(t)mu_{c}(t)\in\mathbb{R}^{m} that satisfies the CBF constraints in (11).

Remark 1.

From h˙j(c,t)=hj(c,t)c(fc(c)+gc(c)uc)+hj(c,t)t\dot{h}_{j}(c,t)=\tfrac{\partial h_{j}(c,t)}{\partial c}\big(f_{c}(c)+g_{c}(c)u_{c}\big)+\tfrac{\partial h_{j}(c,t)}{\partial t} in (11), the coefficient of the control input is hj(c,t)cgc(c)\tfrac{\partial h_{j}(c,t)}{\partial c}\,g_{c}(c). The virtual input matrix gc(c)g_{c}(c) must therefore be chosen so that this term does not vanish (at least on or near hj(c,t)=0h_{j}(c,t)=0) for all j{1,,d}j\in\{1,\dots,d\}, ensuring that the CBF constraints in (11) can be enforced.

The virtual dynamics, driven by the virtual control input ucmu_{c}\in\mathbb{R}^{m}, ensure the PT-RA task. The next step ensures that the true state remains within the VCZ 𝒞(t)\mathcal{C}(t), which allows the true system to inherit the reach–avoid property

Step 2: Confinement Control Design

In Step 1, it has been shown that the entire VCZ 𝒞(t)\mathcal{C}(t) avoids the true unsafe sets for all t[0,tf]t\in[0,t_{f}] and reaches the target set at time tft_{f}. Hence, if the true state trajectory x(t)x(t) is confined within the VCZ 𝒞(t)\mathcal{C}(t), the PT-RA objective in Definition 2 is satisfied. The goal of Step 2 is to ensure this confinement:

x(t)𝒞(t),t[0,tf].x(t)\in\mathcal{C}(t),\qquad\forall t\in[0,t_{f}]. (12)

To enforce (12), we design a feedback controller uu based on the error between the true state and the VCZ center

e:=xce:=x-c (13)

and its normalized form e^:=erc\hat{e}:=\frac{\|e\|}{r_{c}}. From Definition 3 xc<rc\|x-c\|<r_{c}, the normalized error e^\hat{e} satisfies 0e^<10\leq\hat{e}<1.

The control input ensuring confinement within VCZ 𝒞(t)t[0,tf]\mathcal{C}(t)\forall t\in[0,t_{f}] is defined as:

u:={kζ(e^)ϕ(e)if xc>0,0nif xc=0,u:=\begin{cases}-k\zeta(\hat{e})\phi(e)&\text{if }\|x-c\|>0,\\ 0_{n}&\text{if }\|x-c\|=0,\end{cases} (14)

where ζ:[0,1)\zeta:[0,1)\to\mathbb{R} is defined as ζ(e^):=ln(1+e^1e^)\zeta(\hat{e}):=\ln\!\left(\tfrac{1+\hat{e}}{1-\hat{e}}\right), acting as a logarithmic barrier that ensures 0e^<10\leq\hat{e}<1. The design gain k>0k>0 if g(x)+g(x)20\tfrac{g(x)+g(x)^{\top}}{2}\succ 0, and k<0k<0 if g(x)+g(x)20\tfrac{g(x)+g(x)^{\top}}{2}\prec 0. Furthermore, ϕ(e):=ee\phi(e):=\frac{e}{\|e\|}.

Remark 2.

The control input uu defined in (14) is continuous in e=xce=x-c. For detailed proof, refer to Lemma 3.

By Step 1, the VCZ center trajectory c(t)c(t) satisfies the PT-RA specification with respect to inflated sets (3). By Step 2, the true state x(t)x(t) is confined within the VCZ 𝒞(t)\mathcal{C}(t) for all t[0,tf]t\in[0,t_{f}] (12). Together, these yield the implication chain:

(c(t)n𝒰VCZ(t),t[0,tf])(c(tf)VCZ)\displaystyle\big(c(t)\in\mathbb{R}^{n}\setminus\mathcal{U}_{\text{VCZ}}(t),\ \forall t\in[0,t_{f}]\big)\ \wedge\ \big(c(t_{f})\in\mathcal{R}_{\text{VCZ}}\big)
(𝒞(t)n𝒰(t),t[0,tf])(𝒞(tf))\displaystyle\Longrightarrow\!\big(\mathcal{C}(t)\subset\mathbb{R}^{n}\setminus\mathcal{U}(t),\ \forall t\in[0,t_{f}]\big)\wedge\big(\mathcal{C}(t_{f})\subseteq\mathcal{R}\big)
(x(t)n𝒰(t),t[0,tf])(x(tf)).\displaystyle\Longrightarrow\!\big(x(t)\in\mathbb{R}^{n}\setminus\mathcal{U}(t),\forall t\in[0,t_{f}]\big)\wedge\big(x(t_{f})\in\mathcal{R}\big). (15)

Thus, the true system trajectory satisfies the prescribed-time reach–avoid specification of Definition 2.

4 Stability and Invariance Analysis

This section establishes the stability of the closed-loop system and demonstrates set invariance with respect to the true obstacles. We first verify the well-posedness of the CBF-QP (11) and continuity of the control input uu. Next, we show that the true system state remains within the VCZ for all t[0,tf]t\in[0,t_{f}]. Finally, leveraging this confinement, we prove that the true system satisfies the PT-RA condition [Def. 2] via set invariance.

Lemma 2 (Boundedness of solution of CBF-QP).

Consider the virtual system (5) with locally Lipschitz fcf_{c} and gcg_{c}. The virtual control ucu_{c} derived from the CBF-QP (11) using the CBF vector (9) satisfying hcgc(c)0\frac{\partial h}{\partial c}g_{c}(c)\neq 0, admits a unique optimizer uc(c,t)u_{c}^{\ast}(c,t) for every cs(0) and t[0,tf]c\in\mathcal{R}_{s}(0)\text{ and }t\in[0,\;t_{f}]. Moreover, under Assumption 3, uc\|u_{c}^{\ast}\| is uniformly bounded on s(0)\mathcal{R}_{s}(0) and piece-wise continuous in tt.

Lemma 3 (Continuity of controller).

For a system (1) satisfying Assumption 1, the control input unu\in\mathbb{R}^{n} defined in equation (14) is continuous over error ee (13).

The proofs of Lemma 2 and Lemma 3 are provided in Appendix A and Appendix B, respectively.

Theorem 1.

Consider an unknown dynamical system (1) subject to Assumption 1, initialized at x(0)n𝒰(0)x(0)\in\mathbb{R}^{n}\setminus\mathcal{U}(0). Let the control input uu be defined in (14),

u:={kζ(e^)ϕ(e)if xc>00nif xc=0,u:=\begin{cases}-k\zeta(\hat{e})\phi(e)&\text{if }\|x-c\|>0\\ 0_{n}&\text{if }\|x-c\|=0,\end{cases}

where cc is derived from the virtual dynamics (5)

c˙=fc(c)+gc(c)uc,\dot{c}=f_{c}(c)+g_{c}(c)u_{c},

of the VCZ constructed in Section 3, such that x(0)𝒞(0)n𝒰(0)x(0)\in\mathcal{C}(0)\subset\mathbb{R}^{n}\setminus\mathcal{U}(0), with fcf_{c} and gcg_{c} locally Lipschitz. The virtual control input ucu_{c} is derived from the CBF-QP (11)

minucm\displaystyle\min_{u_{c}\in\mathbb{R}^{m}} 12ucHuc+Fuc\displaystyle\tfrac{1}{2}u_{c}^{\top}Hu_{c}+F^{\top}u_{c}
s.t. h˙(c,t)+Γ(h(c,t))0,\displaystyle\dot{h}(c,t)+\Gamma(h(c,t))\geq 0,

where h(c,t):=[h1(c,t),h2(c,t),,hd(c,t)].h(c,t):=[h_{1}(c,t),h_{2}(c,t),\dots,h_{d}(c,t)]^{\top}. Under Assumption 3, The resulting closed-loop system satisfies the PT-RA task

(x(t)n𝒰(t),t[0,tf])(x(tf)).\big(x(t)\in\mathbb{R}^{n}\setminus\mathcal{U}(t),\ \forall t\in[0,t_{f}]\big)\ \wedge\ \big(x(t_{f})\in\mathcal{R}\big).
Proof.

We first show that x(t)𝒞(t)t[0,tf]x(t)\in\mathcal{C}(t)\;\forall t\in[0,t_{f}] and then prove prescribed-time reach-avoid (PT-RA) for the VCZ 𝒞(t)\mathcal{C}(t).

Step 1: Confinement of x(t)x(t) in 𝒞(t)\mathcal{C}(t): Using error (13) and the true dynamics (1), we get error dynamics as

e˙=f(x)+g(x)u+ωc˙.\dot{e}=f(x)+g(x)u+\omega-\dot{c}. (16)

By Assumption 1, f(x)f(x), g(x)g(x), and ω\omega are bounded. The virtual system satisfies c˙=fc(c)+gc(c)uc\dot{c}=f_{c}(c)+g_{c}(c)u_{c}, where fc(c)f_{c}(c) and gc(c)g_{c}(c) are locally Lipschitz. The CBF (7) subject to the feasibility Assumption 3 ensures c(t)s(t)t[0,tf]c(t)\in\mathcal{R}_{s}(t)\;\forall t\in[0,t_{f}], making fcf_{c} and gcg_{c} bounded over the compact domain s(t)nt[0,tf]\mathcal{R}_{s}(t)\subset\mathbb{R}^{n}\;\forall t\in[0,t_{f}]. By virtue of Lemma 2, the virtual control input ucu_{c} is uniformly bounded and piecewise continuous in tt. Thus c˙\dot{c} is uniformly bounded over compact set s(0)\mathcal{R}_{s}(0) and piecewise continuous in tt, implying continuity of c(t)c(t) and therefore of e(t)e(t). With the control law (14),

e˙=m(e,c)p(e,c)(kζ(e^)ϕ(e)),\dot{e}=m(e,c)-p(e,c)\,\big(k\,\zeta(\hat{e})\,\phi(e)\big), (17)

where m(e,c):=f(x)+ωc˙m(e,c):=f(x)+\omega-\dot{c} is bounded and piecewise continuous in tt t[0,tf]\forall t\in[0,t_{f}] and p(e,c)=g(x)p(e,c)=g(x) is sign-definite and bounded (Assumption 1).

At t=0t=0 the dynamics (17) is well defined as control uu is defined for x(0)𝒞(0)x(0)\in\mathcal{C}(0)) and remains well posed within (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}) as ee is continuous over (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}) from Lemma 3. Now to prove that x(t)𝒞(t)t[0,tf]e(t)(0n,rc);t[0,tf]x(t)\in\mathcal{C}(t)\;\forall t\in[0,t_{f}]\Longleftrightarrow e(t)\in\mathcal{B}^{\circ}(0_{n},r_{c});\forall t\in[0,t_{f}] we consider the Lyapunov candidate V(e):=ζ2(e^)V(e):=\zeta^{2}(\hat{e}) defined over domain (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}), where e^=e/rc\hat{e}=\|e\|/r_{c}. ζ()=ln(1+e^1e^)\zeta(\cdot)=\ln\big(\frac{1+\hat{e}}{1-\hat{e}}\big) is a extended class-𝒦\mathcal{K} function (strictly increasing, continuous, and ζ(0)=0\zeta(0)=0), V(e)V(e) is positive in ee. Differentiating along (17) and applying standard comparison arguments, we obtain ultimate boundedness of e(t)e(t), i.e., the closed-loop system is uniformly ultimately bounded [ref. khalil2002nonlinear Theorem 4.18 ] on (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}), which implies

e(t)(0n,rc);t[0,tf]x(t)𝒞(t)t[0,tf].e(t)\in\mathcal{B}^{\circ}(0_{n},r_{c});\forall t\in[0,t_{f}]\Longleftrightarrow x(t)\in\mathcal{C}(t)\;\forall t\in[0,t_{f}]. (18)

The proof for error ee for error dynamics (17) to be Uniformly Ultimately Bounded (UUB) within (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}) follows similarly to related constructions in the literature (e.g., demos_funnel).

Step 2: Ensuring PT-RA for VCZ 𝒞(t)\mathcal{C}(t): The CBF constraints for obstacle avoidance enforce forward invariance over the inflated set such that c(t)n(t)𝒰VCZ(t)c(t)\in\mathbb{R}^{n}(t)\setminus\mathcal{U}_{VCZ}(t), which implies c(t)buj(t)ruj+rc,j{1,2,,d1},t[0,tf]\|c(t)-b_{u_{j}}(t)\|\geq r_{u_{j}}+r_{c},\quad j\in\{1,2,\dots,d-1\},\forall t\in[0,t_{f}], using Lemma 1 and by Assumption 3. From (18), we have x(t)c(t)<rc,t[0,tf]\|x(t)-c(t)\|<r_{c},\forall t\in[0,t_{f}] (i.e., x(t)𝒞(t)x(t)\in\mathcal{C}(t)). By the triangle inequality, we have x(t)buj(t)(ruj+rc)rc=ruj,t[0,tf]\|x(t)-b_{u_{j}}(t)\|\geq(r_{u_{j}}+r_{c})-r_{c}=r_{u_{j}},\;\forall t\in[0,t_{f}], implying

x(t)n𝒰(t)t[0,tf].x(t)\in\mathbb{R}^{n}\setminus\mathcal{U}(t)\quad\forall t\in[0,t_{f}]. (19)

At t=tft=t_{f}, s(tf)=(bR,rr(tf))\mathcal{R}_{s}(t_{f})=\mathcal{B}(b_{R},r_{r}(t_{f})); forward invariance from shrinking barrier implies c(tf)bRrr(tf)rRrc\|c(t_{f})-b_{R}\|\leq r_{r}(t_{f})\leq r_{R}-r_{c}, where rRrcr_{R}\geq r_{c}. Again by the triangle inequality and x(tf)𝒞(tf)x(t_{f})\in\mathcal{C}(t_{f}) (18), one has x(tf)bRx(tf)c(tf)+c(tf)bRrc+(rRrc)=rR\|x(t_{f})-b_{R}\|\leq\|x(t_{f})-c(t_{f})\|+\|c(t_{f})-b_{R}\|\leq r_{c}+(r_{R}-r_{c})=r_{R}, which implies

x(tf).x(t_{f})\in\mathcal{R}. (20)

From (19) and (20), we conclude

(x(t)n𝒰(t),t[0,tf])(x(tf)).\big(x(t)\in\mathbb{R}^{n}\setminus\mathcal{U}(t),\ \forall t\in[0,t_{f}]\big)\ \wedge\ \big(x(t_{f})\in\mathcal{R}\big).

5 Simulation Results and Discussion

We validate the proposed control strategy on a two-dimensional second-order nonlinear control-affine system with unknown drift and a time-varying unsafe set. The true system dynamics are given by x˙=f(x)+g(x)u+ω\dot{x}=f(x)+g(x)u+\omega, where x(t)=[x1(t),x2(t)]2x(t)=[x_{1}(t),\,x_{2}(t)]^{\top}\in\mathbb{R}^{2}, u(t)=[u1(t),u2(t)]2u(t)=[u_{1}(t),\,u_{2}(t)]^{\top}\in\mathbb{R}^{2}, f(x)=[5sin(x1x2), 5cos(x1x2)]f(x)=[5\sin(x_{1}x_{2}),\,5\cos(x_{1}x_{2})]^{\top}, ω=[0.4cos(t), 0.4sin(t)]\omega=[0.4\cos(t),\,0.4\sin(t)]^{\top}, and g=diag(0.8, 0.5)g=\text{diag}(0.8,\,0.5) with initial condition x(0)=[0, 0]x(0)=[0,\,0]^{\top}. A static and a dynamic circular obstacle are defined as the sets 𝒰1=(bu1,ru1)\mathcal{U}_{1}=\mathcal{B}^{\circ}(b_{u_{1}},r_{u_{1}}) and 𝒰2=(bu2,ru2)\mathcal{U}_{2}=\mathcal{B}^{\circ}(b_{u_{2}},r_{u_{2}}), where bu1=[1.5, 2]b_{u_{1}}=[1.5,\,2]^{\top}, bu2(t)=[5+0.4t, 50.4t]b_{u_{2}}(t)=[5+0.4t,\,5-0.4t]^{\top}, ru1=0.5r_{u_{1}}=0.5, and ru2=1.5r_{u_{2}}=1.5. The objective is to reach the target set =(bR,1.1)\mathcal{R}=\mathcal{B}(b_{R},1.1) in tf=10st_{f}=10~\text{s}, where bR=[10, 10]b_{R}=[10,\,10]^{\top}.

The virtual trajectory c(t)=[c1(t),c2(t)]c(t)=[c_{1}(t),c_{2}(t)]^{\top} evolves under the single-integrator dynamics c˙(t)=uc(t)\dot{c}(t)=u_{c}(t) given in (5), where the virtual control uc(t)2u_{c}(t)\in\mathbb{R}^{2} is obtained from the CBF-QP (11). The safety constraints for the virtual state are encoded by the CBFs h1(c,t):=cbu12(rc+ru1)2h_{1}(c,t):=\|c-b_{u_{1}}\|^{2}-(r_{c}+r_{u_{1}})^{2} and h2(c,t):=cbu2(t)2(rc+ru2)2h_{2}(c,t):=\|c-b_{u_{2}}(t)\|^{2}-(r_{c}+r_{u_{2}})^{2} with rc=0.5r_{c}=0.5, in accordance with (7). To impose prescribed-time convergence, the target set is chosen as VCZ=(bR,0.5)\mathcal{R}_{VCZ}=\mathcal{B}(b_{R},0.5)\subset\mathcal{R} with center bR=[10,10]b_{R}=[10,10]^{\top}, together with a shrinking set s(t)=(bR,rr(t))\mathcal{R}_{s}(t)=\mathcal{B}(b_{R},r_{r}(t)) and the reach CBF h3(c,t):=rr2(t)cbR2h_{3}(c,t):=r_{r}^{2}(t)-\|c-b_{R}\|^{2} defined in (8). The radius rr(t)r_{r}(t) decreases linearly as rr(t)=(rrtfrrt0)ttf+rrt0r_{r}(t)=\big(r_{r_{t_{f}}}-r_{r_{t_{0}}}\big)\frac{t}{t_{f}}+r_{r_{t_{0}}} from rrt0=15r_{r_{t_{0}}}=15 to rrtf=0.5r_{r_{t_{f}}}=0.5 over the interval [0,tf][0,t_{f}] with tf=10st_{f}=10\,\text{s}. Given an initial condition x(0)x(0), the virtual state is initialized as c(0)=x(0)c(0)=x(0) with x(0)c(0)<rc\|x(0)-c(0)\|<r_{c}, ensuring that the real system starts inside the VCZ. The CBF-QP ensures that c(t)c(t) remains within the safe sets and inside the shrinking region s(t)\mathcal{R}_{s}(t), while the actual control u(t)u(t) confines the true state x(t)x(t) around c(t)c(t). Consequently, when c(t)c(t) reaches VCZ\mathcal{R}_{VCZ} at t=tft=t_{f}, the true state also lies inside the desired target region \mathcal{R}, thereby achieving prescribed-time reach-avoid.

Refer to caption
Refer to caption
Figure 2: (a) Trajectory plot in state space for PT-RA over 1010 s. Numbers next to each       marker indicate time. (b) Time evolution of state trajectories within the virtual bounds (c(t)±rc)c(t)\pm r_{c}).

As illustrated in Fig. 2(a) and (b), the system trajectory remains within the prescribed bounds over the entire time horizon t[0,10]t\in[0,10]. It consistently avoids both static and moving obstacles with a guaranteed safety margin of rc=0.5r_{c}=0.5, enforced by the control barrier function-based constraints. Moreover, the trajectory converges to the final target set \mathcal{R}, demonstrating the effectiveness of the proposed approach under time-varying safety and performance constraints for an unknown system. The simulation video is available at https://youtu.be/OqGYwqsUnAw

6 Discussion and Comparison

Table 1 compares the proposed VCZ–CBF framework with representative safe control approaches. Classical HJ–reachability methods (waberisich2023; mitchell2005) provide formal safety guarantees but rely on accurate models, known disturbance bounds, and are, in general, computationally demanding and less suited for real-time control in dynamic environments. Predictive safety filters (PSFs)  (waberisich2023) are real-time but require nominal control and cannot work under a dynamic unsafe set unless the trajectory is known. Reinforcement learning approaches (saxena) can handle partially unknown systems but depend on extensive pretraining or precomputation and no formal guarantee. Similarly, Symbolic Control (tabuada2009verification) also requires extensive precomputation and is difficult to achieve PT-RA. Funnel control (4639441) ensures bounded transient response without explicit model knowledge, but cannot directly encode time-varying safety constraints or moving obstacles. Spatio-Temporal Tubes (STT) (dasstt) ensures PT-RA with an unknown model, but also cannot handle dynamic environments.

In contrast, the proposed VCZ–CBF framework is approximation-free, ensures PT-RA, operating on a nominal virtual system while confining the true, unknown dynamics within a shrinking invariant region. This decoupling enables real-time implementation, prescribed-time reach-avoid guarantees, and robustness in dynamic environments, capabilities not jointly achieved by existing methods.

Despite these advantages, several practical limitations remain. First, as in many QP-based CBF methods, the virtual control ucu_{c} can become large near intersecting constraints or rapidly moving obstacle boundaries, increasing control effort. Second, estimating obstacle velocities in real time is challenging under noisy or delayed perception, which may lead to conservative barrier constraints and potential control saturation. Finally, because the true state must remain within a fixed radius rcr_{c} of the virtual trajectory, the tightened safe sets reduce the effective workspace, introducing spatial conservatism. Incorporating bounded-input feasibility and adaptive inflation strategies could mitigate these issues while preserving invariance and prescribed-time guarantees.

Table 1: Comparison of proposed approach with classical algorithms
Algorithm Unknown Precomp./ Formal PT-RA Dynamic
Dynamics Training Req. Guarantee Environments
RL (saxena)
Symbolic Control (tabuada2009verification)
PSFs (waberisich2023)
STT (dasstt)
HJ-Reachability (mitchell2005)
Funnel Control (Berger2021)
VCZ-CBF (Proposed)

7 conclusion

We proposed a safe control framework for nonlinear control-affine systems with unknown dynamics using a Virtual Confinement Zone (VCZ) scheme. A virtual control input was synthesized via a CBF-based Quadratic Program, ensuring prescribed-time reach–avoid guarantees without requiring explicit system identification or uncertainty bounds. Safety was enforced through Control Barrier Functions applied to a known virtual system, while the true system was confined around the virtual trajectory.

Appendix A Proof of Lemma 2

Proof.

The obstacle avoidance CBF condition from (7) can be written as:

aj(c,t)ucρj(c,t),j=1,2,,d1,a_{j}(c,t)^{\top}u_{c}\;\geq\;\rho_{j}(c,t),\qquad j=1,2,\dots,d-1,

with aj(c,t)=2gc(c)(cbuj(t))a_{j}(c,t)=2\,g_{c}(c)^{\top}\!\big(c-b_{u_{j}}(t)\big), ρj(c,t):=γ(hj(c,t))2(cbuj(t))fc(c)+2(cbuj(t))b˙uj(t)\rho_{j}(c,t):=-\gamma\!\big(h_{j}(c,t)\big)-2\big(c-b_{u_{j}}(t)\big)^{\top}f_{c}(c)+2\big(c-b_{u_{j}}(t)\big)^{\top}\dot{b}_{u_{j}}(t).

From Assumption 2, the signals b˙uj(t)\dot{b}_{u_{j}}(t), cbuj(t)\|c-b_{u_{j}}(t)\|, fc(c)\|f_{c}(c)\|, and gc(c)\|g_{c}(c)\| are bounded (and measurable) on the compact domain s(0)\mathcal{R}_{s}(0) enforced by shrinking CBF (7); hence ρj()\|\rho_{j}(\cdot)\| is bounded for j=1,,d1j=1,\dots,d-1.

The CBF for target set reach (8) can be expressed as

aj(c,t)ucρj(c,t),j=d,a_{j}(c,t)^{\top}u_{c}\;\geq\;\rho_{j}(c,t),\qquad j=d,

with aj(c,t)=2gc(c)(bRc)a_{j}(c,t)=2\,g_{c}(c)^{\top}\!\big(b_{R}-c\big), ρj(c,t):=γ(hj(c,t))2(bRc)fc(c) 2rr(t)r˙r(t)\rho_{j}(c,t):=-\gamma\!\big(h_{j}(c,t)\big)-2\big(b_{R}-c\big)^{\top}f_{c}(c)\;-\;2\,r_{r}(t)\,\dot{r}_{r}(t). By construction of the shrinking set s(t)\mathcal{R}_{s}(t), the quantities cbR\|c-b_{R}\|, |rr(t)||r_{r}(t)|, |r˙r(t)||\dot{r}_{r}(t)|, fc(c)\|f_{c}(c)\|, and gc(c)\|g_{c}(c)\| are bounded (and measurable) on s(0)\mathcal{R}_{s}(0); hence ρj()\|\rho_{j}(\cdot)\| is bounded for j=dj=d.

Stacking them together, the constraint becomes

A(c,t)ucρ(c,t),A(c,t)\,u_{c}\;\geq\;\rho(c,t),

where the rows of AA are the aja_{j}^{\top} and the entries of ρ\rho are the ρj\rho_{j} with ρ\|\rho\| bounded.

From the feasibility Assumption 3 and strict convexity of the objective (constant H0H\succ 0), bounded RHS ρ\|\rho\| and non vanishing LHS A(c,t)uc0A(c,t)\,u_{c}\neq 0 as hcgc0\frac{\partial h}{\partial c}g_{c}\neq 0, the CBF–QP (11) admits a unique optimizer uc(c,t)u_{c}^{\ast}(c,t). Since H0H\succ 0 the quadratic cost is coercive, and the affine feasible set {uc:A(c,t)ρ(c,t)}\{u_{c}:A(c,t)\geq\rho(c,t)\} is a nonempty closed polyhedron; by Berge’s maximum theorem and assumption 3 the argmin set is nonempty and compact, hence uc\|u_{c}^{\ast}\| is uniformly bounded on s(0)\mathcal{R}_{s}(0). Finally, by assumption3 the solution is feasible t[0,tf]\forall t\in[0,t_{f}] and the optimizer is unique, the mapping tuc(c,t)t\mapsto u_{c}^{\ast}(c,t) is piecewise continuous in tt. ∎

Appendix B Proof of Lemma 3

Proof.

From (14) the auxiliary function ζ(e^)\zeta(\hat{e}) is continuous on (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}) over ee. Furthermore, the function ϕ(e)=ee\phi(e)=\frac{e}{\|e\|} is continuous on n{0n}\mathbb{R}^{n}\setminus\{0_{n}\}, over ee and kk is constant based on eigenvalue of g(x)+g(x)2\frac{g(x)+g(x)^{\top}}{2}

We prove continuity of the control input uu in two parts: one where e0\|e\|\neq 0, and another at e=0\|e\|=0 by applying limits.

Part 1. For e0\|e\|\neq 0 , ζ(e^)\zeta(\hat{e}) and ϕ(e)\phi(e) are continous on (0n,rc){0n}\mathcal{B}^{\circ}(0_{n},r_{c})\setminus\{0_{n}\} in ee , the contoller uu is continuous on (0n,rc){0n}\mathcal{B}^{\circ}(0_{n},r_{c})\setminus\{0_{n}\} in ee.

Part 2. To prove that uu is continuous at e=0\|e\|=0, it is necessary that ue(t)=0=lime(t)0u.u_{\|e(t)\|=0}=\lim_{\|e(t)\|\to 0}u.

When e(t)=0\|e(t)\|=0, the control input is defined to be u=0u=0. Thus ue(t)=0=0u_{\|e(t)\|=0}=0. For e>0\|e\|>0, from (14),

u=kζ(e^)ϕ(e)=k(ln(1+e^1e^))ee.u=-k\,\zeta(\hat{e})\,\phi(e)=-k\left(\ln\!\left(\tfrac{1+\hat{e}}{1-\hat{e}}\right)\right)\cdot\frac{e}{\|e\|}.

For |e^|1|\hat{e}|\leq 1, expanding ζ\zeta gives ζ2e^+23e^3+\zeta\approx 2\hat{e}+\tfrac{2}{3}\hat{e}^{3}+\dots so

u2k(erc+e33rc3+)ee.u\approx-2k\left(\tfrac{\|e\|}{r_{c}}+\tfrac{\|e\|^{3}}{3r_{c}^{3}}+\dots\right)\cdot\frac{e}{\|e\|}.

The terms e\|e\| cancel, yielding u0nu\to 0_{n} as e0\|e\|\to 0.

Therefore, lime0u=0n=ue=0\lim_{\|e\|\to 0}u=0_{n}=u_{\|e\|=0}. Hence, the control input uu is continuous in ee on (0n,rc)\mathcal{B}^{\circ}(0_{n},r_{c}).