Papers
Topics
Authors
Recent
Search
2000 character limit reached

Control Barrier Function (CBF) Theory

Updated 23 January 2026
  • Control Barrier Function (CBF) Theory is a framework that formalizes safety constraints by converting set invariance into optimization-based control synthesis.
  • It guarantees forward invariance of safe sets by employing quadratic program designs that satisfy affine input constraints and robust compatibility margins.
  • The approach uses grid-based certification algorithms to verify multiple barrier functions, addressing input limitations and computational challenges.

Control Barrier Function (CBF) theory formalizes safety constraints in control systems as set-invariance conditions enforced through affine constraints on the control input. Developed to address state and input constraints, CBFs rigorously transform the problem of set invariance into real-time controller synthesis, particularly well-suited to modern optimization-based safety-critical control.

1. Formal Definition and Invariance Guarantees

A control-affine system is modeled as

x˙=f(x)+g(x)u,xRn,uURm\dot x = f(x) + g(x) u,\quad x \in \mathbb{R}^n,\, u \in \mathcal{U} \subset \mathbb{R}^m

where ff and gg are locally Lipschitz and U\mathcal{U} encodes control limits. The desired safe set is typically specified as a zero-superlevel set of NN continuously differentiable barrier functions: C={xRn:hi(x)0,  i=1,,N}C = \{ x \in \mathbb{R}^n : h_i(x) \ge 0,\; i = 1, \dots, N \} A C1C^1 function h(x)h(x) is a control barrier function (CBF) on a domain DCD \supset C if there exists an extended class–K\mathcal{K} function α\alpha such that

xD,uU:Lfh(x)+Lgh(x)u+α(h(x))0\forall x \in D,\, \exists u \in \mathcal{U} : \quad L_f h(x) + L_g h(x)\, u + \alpha(h(x)) \ge 0

with Lfh(x)=h(x)f(x),Lgh(x)=h(x)g(x)L_f h(x) = \nabla h(x)^\top f(x),\, L_g h(x) = \nabla h(x)^\top g(x). For multiple constraints, the input set is determined by the intersection: K(x)={uU:A(x)u+b(x)0}K(x) = \Big\{ u \in \mathcal{U} : A(x) u + b(x) \ge 0 \Big\} where A(x)A(x) stacks the Lghi(x)L_g h_i(x) row vectors and b(x)b(x) stacks Lfhi(x)+αi(hi(x))L_f h_i(x) + \alpha_i(h_i(x)). Forward invariance of CC is guaranteed for all u(x)K(x)u(x) \in K(x) via Nagumo’s set invariance theorem (Tan et al., 2022).

2. Multiple Barriers and Compatibility

When multiple CBF constraints are imposed, their compatibility may not be automatic, particularly under input bounds. Compatibility holds if K(x)K(x) \neq \emptyset for all xDx \in D. If not, the associated quadratic program (QP) for real-time controller synthesis is infeasible, and safety cannot be enforced.

Robust compatibility strengthens each barrier inequality to

Lfhi(x)+Lghi(x)u+αi(hi(x))ηL_f h_i(x) + L_g h_i(x) u + \alpha_i(h_i(x)) \ge \eta

where η>0\eta > 0 is a margin ensuring invariance against additive state disturbances with worst-case Lie derivative bounded by η\eta. The maximal attainable uniform slack c(x)c(x), defined as

c(x)=maxuU,tRt    s.t.    A(x)u+b(x)t1c(x) = \max_{u \in \mathcal{U},\, t \in \mathbb{R}} t \;\; \text{s.t.}\;\; A(x) u + b(x) \ge t \mathbf{1}

quantifies the compatibility at each xx (Tan et al., 2022).

3. Quadratic Program (QP) Controller Synthesis

CBF-based controllers are commonly synthesized via an online QP: u(x)=argminuRm12uunom(x)2u^*(x) = \arg\min_{u \in \mathbb{R}^m} \frac{1}{2} \|u - u_{\rm nom}(x)\|^2 subject to

A(x)u+b(x)0,uminuumaxA(x) u + b(x) \ge 0,\quad u_{\min} \leq u \leq u_{\max}

where unom(x)u_{\rm nom}(x) is a performance-oriented nominal controller, and actuator limits are explicit. The QP’s feasibility directly depends on CBF compatibility (Tan et al., 2022).

Certified feasibility is essential; otherwise, some states may violate safety constraints. If the QP admits a solution at each xCx \in C, the closed-loop system is provably forward-invariant in CC.

4. Algorithmic Verification of Compatibility

A rigorous grid-based offline certification algorithm establishes robust compatibility or finds counterexamples. The procedure exploits global Lipschitz bounds of A(x)A(x) and b(x)b(x): A(x)A(y)LAxy,b(x)b(y)Lbxy\|A(x) - A(y)\|_\infty \le L_A \|x - y\|_\infty,\quad \|b(x) - b(y)\|_\infty \le L_b \|x - y\|_\infty At each lattice center xkx_k, calculate ck=c(xk)c_k = c(x_k) and optimizer uku_k^*. The cube B(xk,ρk)B(x_k,\rho_k), with radius

ρk=2ckLAuk+Lb\rho_k = \frac{2 c_k}{L_A \|u_k^*\|_\infty + L_b}

is certified compatible. Shells where ρk<r\rho_k < r are recursively refined. The algorithm terminates finitely under a uniform robustness margin η>0\eta > 0, providing either a compatibility certificate or an upper bound η\eta' (Tan et al., 2022).

5. Numerical Illustration and Complexity

Representative examples use 2-dimensional control-affine dynamics with box-bounded inputs and annular safety regions. Key parameters (grid size r0r_0, refinement factor λ\lambda, Lipschitz constants LAL_A, LbL_b) determine computational cost. Compatible and incompatible input bounds yield respectively (i) finite certification time—three iterations with Umax=3U_{\max}=3, (ii) immediate detection of incompatibility with Umax=2U_{\max}=2. Robust margin bounds are empirically validated.

The algorithm is restricted by the curse of dimensionality; practical application is limited to n4n \leq 4. Local Lipschitz estimations and boundary-only certification can mitigate computational burden (Tan et al., 2022).

6. Extensions and Limitations

Further improvements include:

  • Restricting verification to neighborhoods of C\partial C (boundary-only certification)
  • Employing non-cube coverings or adaptive tessellations
  • Generalizing to time-varying systems and sets by state-space augmentation with time
  • Utilizing local Lipschitz constants for reduced conservatism

Limitations center on dimensionality and conservatism. Grid refinement scales exponentially with state dimension. Over-conservatism may occur due to global Lipschitz bounds and can be reduced by employing local analysis.

The presented grid-based certification framework guarantees offline verification of feasibility for multiple CBF constraints under input bounds, ensuring QP-based controller synthesis can be conducted with provable online feasibility (Tan et al., 2022). This is fundamental for robust safety-critical control design in input-constrained, multi-barrier control systems.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Control Barrier Function (CBF) Theory.