Papers
Topics
Authors
Recent
Search
2000 character limit reached

Matrix Control Barrier Functions

Updated 8 July 2026
  • Matrix Control Barrier Functions are matrix-valued generalizations of control barrier functions that use symmetric maps and Loewner inequalities to define and maintain safe sets.
  • They enable complex safe-set representations, including spectrahedra and Boolean disjunctions, across continuous, discrete, and sampled-data control frameworks.
  • Advanced MCBF formulations leverage high-order control and semidefinite programming to ensure system invariance and robust safety under adversarial and high-relative-degree conditions.

Matrix Control Barrier Functions (MCBFs) generalize control barrier functions by replacing scalar barrier functions with matrix-valued functions H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p. Safe sets are then defined by matrix inequalities, most commonly H(x)0H(x)\succeq 0, and safety is enforced through Loewner-order differential or difference inequalities rather than scalar superlevel conditions. This framework was introduced to represent safe sets that are naturally semidefinite, indefinite, spectral, Boolean-composed, or nonsmooth, and it has since been extended to discrete-time systems, sampled-data zero-order-hold control, adversarial multi-agent settings, and high-relative-degree matrix constraints (Ong et al., 15 Aug 2025, Usevitch et al., 10 Oct 2025, Usevitch, 18 Mar 2026, Gessow et al., 3 Apr 2026).

1. Formalism and invariance conditions

For a control-affine system

x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,

with xRnx\in\mathbb{R}^n and uRmu\in\mathbb{R}^m, an MCBF is built from a symmetric matrix-valued map H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p. The entrywise Lie derivative is defined by

[LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),

and for control-affine dynamics,

H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.

The foundational continuous-time theory distinguishes three closely related formulations. In the semidefinite case, the safe set is

C={xRnH(x)0},C=\{x\in\mathbb{R}^n\mid H(x)\succeq 0\},

and an exponential MCBF requires

H˙(x,u)cαH(x)\dot H(x,u)\succ -c_\alpha H(x)

for some H(x)0H(x)\succeq 00. In the indefinite case, the safe set is

H(x)0H(x)\succeq 01

and the barrier condition is

H(x)0H(x)\succeq 02

The general semidefinite formulation applies a class-H(x)0H(x)\succeq 03 function spectrally: H(x)0H(x)\succeq 04 with H(x)0H(x)\succeq 05, and requires

H(x)0H(x)\succeq 06

These matrix inequalities are sufficient for control invariance, and the corresponding autonomous matrix barrier conditions imply eigenvalue comparison results such as

H(x)0H(x)\succeq 07

in the exponential semidefinite case (Ong et al., 15 Aug 2025).

2. Safe-set geometry and logical expressiveness

The principal representational advantage of MCBFs is that matrix inequalities describe a richer class of safe sets than scalar inequalities. Semidefinite constraints H(x)0H(x)\succeq 08 include spectrahedra and direct eigenvalue lower bounds, while indefinite constraints H(x)0H(x)\succeq 09 encode sets defined by nonnegativity of the largest eigenvalue. In the foundational formulation, diagonal semidefinite matrices recover conjunctions of scalar CBF constraints, and diagonal indefinite matrices recover disjunctions. This is the basis for the claim that the matrix framework naturally provides a continuous safety filter for Boolean-based control barrier functions, notably disjunctions (OR), without relaxing the safe set. The cylinder example is representative: “outside the cylinder” is expressed as a disjunction and then written as an indefinite matrix inequality rather than through a soft-max or nonsmooth scalar surrogate (Ong et al., 15 Aug 2025).

The same geometric viewpoint appears in later multi-agent formulations. In sampled-data MCBFs for heterogeneous agents, the safe set is

x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,0

with x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,1, so collective safety can be encoded directly in the aggregate state rather than through pairwise scalar barriers. The paper explicitly motivates MCBFs by their ability to encode direct eigenvalue constraints, spectrahedra, and combinatorial x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,2-choose-x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,3 constraints. This suggests that MCBFs are not merely a compact notation for stacked scalar inequalities; they are a distinct cone-valued safety formalism whose native objects are symmetric matrices and Loewner-order inequalities (Usevitch, 18 Mar 2026).

3. Optimization-based synthesis in continuous, discrete, and sampled-data time

In continuous time, the standard implementation is a semidefinite-program safety filter. For the exponential semidefinite case, the controller is obtained from

x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,4

with analogous CBF-SDPs for indefinite and general spectral-class-x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,5 MCBFs. A central theoretical result is continuity of these safety filters on a neighborhood of the safe set, derived from strict feasibility, continuity of the matrix inequality data, convexity of the feasible set in x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,6, and lower semicontinuity of the feasible-set map. The same paper also proves a non-constructive existence result: if x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,7 is an exponential MCBF, then there exists a smooth controller satisfying the strict matrix inequality on a neighborhood of the safe set (Ong et al., 15 Aug 2025).

In discrete time, the direct analogue is the Discrete-Time Exponential Matrix Control Barrier Function (DTE-MCBF), defined for

x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,8

through

x˙=f(x)+g(x)u,\dot x=f(x)+g(x)u,9

The associated safe-input set is

xRnx\in\mathbb{R}^n0

and the theory includes a zeroing property: xRnx\in\mathbb{R}^n1 Because xRnx\in\mathbb{R}^n2 is generally nonconvex in xRnx\in\mathbb{R}^n3, the paper introduces safe subset functions xRnx\in\mathbb{R}^n4 and the Subset-based DTE-MCBF (SDTE-MCBF), then constructs a projection-based convex reformulation using supporting halfspaces of convex unsafe components. The resulting online method uses two sequential convex optimization problems per time step: projections onto convex unsafe components, followed by a quadratic program / constrained linear least-squares problem for the control correction. In the bicopter study, the reported average runtimes per iteration were xRnx\in\mathbb{R}^n5 for PDTE-MCBF with lsqlin, xRnx\in\mathbb{R}^n6 for a nonconvex CBF solved with fmincon, and xRnx\in\mathbb{R}^n7 for a nonconvex CBF solved with YALMIP/MOSEK via bmibnb (Usevitch et al., 10 Oct 2025).

For sampled-data zero-order-hold control, the continuous-time matrix inequality must remain valid over each inter-sample interval while the control remains frozen. The Zero-order-hold Exponential Matrix Control Barrier Function (ZE-MCBF) therefore strengthens the sample-time condition by the conservative margin

xRnx\in\mathbb{R}^n8

yielding

xRnx\in\mathbb{R}^n9

The corresponding feasible set is

uRmu\in\mathbb{R}^m0

and the forward-invariance proof combines the inter-sample norm bound with Weyl’s inequality. The online synthesis problem is a convex conic / semidefinite program that minimally modifies a nominal control and is centralized in the aggregate control vector uRmu\in\mathbb{R}^m1 (Usevitch, 18 Mar 2026).

4. High-order MCBFs and matrix relative degree

When the control does not appear in the first derivative of the matrix safety function, first-order MCBFs are insufficient. High-Order Matrix Control Barrier Functions (HOMCBFs) address this by defining

uRmu\in\mathbb{R}^m2

and associated sets

uRmu\in\mathbb{R}^m3

The high-order barrier condition is imposed at the first level uRmu\in\mathbb{R}^m4 where the control enters: uRmu\in\mathbb{R}^m5 Forward invariance is then proved for

uRmu\in\mathbb{R}^m6

The key conceptual advance is matrix relative degree. A smooth uRmu\in\mathbb{R}^m7 has matrix relative degree uRmu\in\mathbb{R}^m8 at uRmu\in\mathbb{R}^m9 if H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p0 for every H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p1 and H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p2, and if there exists H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p3 such that

H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p4

where H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p5 spans the minimum eigenspace of H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p6. This replaces the scalar nonvanishing Lie-derivative condition with controllability of the directions in which semidefiniteness is first lost. The same paper also defines well-posedness for single-integrator matrix safe sets through an inward-pointing condition on the minimum eigenspace and introduces the optimal-decay formulation

H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p7

which yields forward invariance while requiring control only over the minimum eigenspace (Gessow et al., 3 Apr 2026).

A sampled-data counterpart appears in the adversarial multi-agent setting. There the recursive quantities are

H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p8

with the first control-dependent matrix quantity H:RnSpH:\mathbb{R}^n\to\mathbb{S}^p9 incorporating both normal and adversarial inputs. The safe-set hierarchy

[LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),0

parallels scalar high-order CBF constructions, but the invariance proof is carried out through recursive matrix inequalities and Loewner positivity. This formulation underlies the High-Order ARZE-MCBF theorem for adversarially robust sampled-data invariance (Usevitch, 18 Mar 2026).

5. Applications and empirical demonstrations

The first major application area is connectivity maintenance in multi-UAV networks. In the continuous-time foundational paper, five planar single-integrator UAVs are controlled with a centralized CBF-SDP that combines a Laplacian-based MCBF

[LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),1

with pairwise collision-avoidance scalar CBFs. In simulation and hardware, the reported outcome is that the network remains connected, collision avoidance is preserved, and the control inputs remain continuous even when Laplacian eigenvalues merge or cross. The hardware experiment used five Crazyflie 2.1+ quadrotors, OptiTrack localization at [LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),2 Hz, an offboard centralized controller, Clarabel as the SDP solver, solve times around [LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),3–[LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),4 ms, and onboard low-level attitude control at [LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),5 Hz (Ong et al., 15 Aug 2025).

Discrete-time nonconvex safety filtering is illustrated on a bicopter in a vertical plane. The example combines a circular obstacle centered at

[LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),6

velocity bounds, and reference-tilt bounds. The controller computes safe outer-loop accelerations by solving the projection-based DTE-MCBF program with [LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),7, [LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),8, and [LFH]ij(x)=LFHij(x),[L_FH]_{ij}(x)=L_FH_{ij}(x),9. The numerical comparison reports that PDTE-MCBF and the YALMIP-based nonconvex method recover from entering the buffer and return to the safe set, while the fmincon nonconvex method fails to recover and enters the unsafe set in the shown simulation (Usevitch et al., 10 Oct 2025).

High-order matrix safety is demonstrated on a localization problem for a double integrator with a nonlinear measurement model. The safe set is defined by

H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.0

so safety corresponds to maintaining sufficient positive definiteness of the Hessian of a nonlinear least-squares objective. Because the Hessian depends on position but not velocity, the matrix constraint has relative degree two and is handled with the OD-HOMCBF construction. The paper presents both range-only and bearing-only measurement models, and the safety filter modifies a nominal LQR controller while state estimation is performed by solving the nonlinear least-squares problem via gradient descent (Gessow et al., 3 Apr 2026).

A recurrent source of confusion is that not every CBF method built from matrix data is a matrix-valued barrier theory in the strict sense. One nearby line of work addresses task-space singularity avoidance by constructing scalar barriers from eigenvalues or singular values of a state-dependent matrix. There the central matrix object is

H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.1

or its Gram matrix H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.2 or H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.3, and the barrier is of the form

H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.4

This is a scalar CBF built from a matrix-derived spectral certificate, not a direct matrix inequality preserved through a matrix differential inequality. The distinction matters because direct MCBFs avoid explicit eigenvalue differentiation and support semidefinite-program constraints in the control input, whereas spectral scalarizations inherit smoothness issues at repeated eigenvalues (Forghani et al., 24 Mar 2026).

Two other neighboring theories are often grouped with MCBFs because they produce structured vector or matrix-like control constraints while remaining scalar at the barrier level. The first is the compatibility theory for multiple ECBFs on vector-valued outputs under box constraints. There the output has vector relative degree, the decoupling matrix

H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.5

is invertible, the H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.6 scalar ECBF inequalities are automatically compatible, and choosing H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.7 yields a closed-form controller with

H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.8

The second is the multi-input HOCBF literature for scalar barriers with vector controls, where a relative degree set records the derivative order at which each control channel first appears, and integral augmentation or barrier transformation is used to recover affine inequalities in a control vector. Both frameworks are structurally relevant to stacked or matrix-shaped safety constraints, but neither introduces a genuine matrix-valued barrier object or Loewner-order invariance condition (Cohen et al., 4 Sep 2025, Xiao et al., 2022).

The current MCBF literature also has clear limitations. Continuous-time MCBF safety filters are proved continuous, but local Lipschitz continuity remains open; semidefinite programs are computationally heavier than quadratic programs; sampled-data margins such as H˙(x,u)=LfH(x)+i=1mLgiH(x)ui.\dot H(x,u)=L_fH(x)+\sum_{i=1}^m L_{g_i}H(x)u_i.9 are conservative and become stricter as C={xRnH(x)0},C=\{x\in\mathbb{R}^n\mid H(x)\succeq 0\},0 increases; multi-agent sampled-data synthesis is centralized in aggregate coordinates; and high-order matrix theory certifies invariance of the recursive intersection C={xRnH(x)0},C=\{x\in\mathbb{R}^n\mid H(x)\succeq 0\},1, which may be smaller than the original safe set. In addition, matrix-relative-degree verification is pointwise and can be difficult globally, and the high-order theory presently assumes smooth symmetric matrix maps for control-affine systems (Ong et al., 15 Aug 2025, Usevitch, 18 Mar 2026, Gessow et al., 3 Apr 2026).

In this sense, Matrix Control Barrier Functions now comprise a distinct branch of barrier-based safety analysis: one centered on cone-valued safety objects, spectral geometry, and semidefinite optimization, rather than on scalar superlevel sets alone. The resulting theory unifies continuous-time semidefinite barriers, exact Boolean disjunctions, discrete-time subset-based convexification, sampled-data robustness margins, and high-order minimum-eigenspace control within a common matrix-inequality framework.

Topic to Video (Beta)

No one has generated a video about this topic yet.

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 Matrix Control Barrier Functions.