---
title: Reciprocal Resistance-Based Barrier Function
url: https://www.emergentmind.com/topics/reciprocal-resistance-based-barrier-function-rrbf
type: topic
---

# Reciprocal Resistance-Based Barrier Function

Reciprocal Resistance-Based Barrier Function (RRBF) is a barrier-function construction for disturbed affine nonlinear systems that augments the conventional zeroing barrier function framework with a reciprocal resistance-like term in order to enhance robustness without requiring explicit knowledge of disturbance bounds. Introduced in “Enhancing Robustness of Control Barrier Function: A Reciprocal Resistance-based Approach” [2507.18888], the framework defines a strengthened barrier condition on the interior of a safe set and uses the singular growth of a term of the form $\beta(1/h)$ as $h\to 0^+$ to create a built-in buffer zone near the safety boundary. The same idea is extended to control barrier functions, high-order relative-degree constraints, and disturbance-observer-based implementations, with simulation studies on a second-order linear system and adaptive cruise control [2507.18888].

## 1. Safe-set formulation and relation to zeroing barrier functions

Let $h:\mathbb{R}^n\to\mathbb{R}$ be a continuously differentiable safety function, and define the safe set
$$
C:=\{x\in\mathbb{R}^n\mid h(x)\ge 0\},
$$
with boundary $\partial C:=\{x\mid h(x)=0\}$ and interior $\mathrm{Int}\,C:=\{x\mid h(x)>0\}$. This setup is the starting point for both the conventional zeroing barrier function (ZBF) and the reciprocal resistance-based construction [2507.18888].

A continuously differentiable $h$ is a ZBF if there exists an extended-class $K$ function $\alpha_e$ such that, for all $x\in\mathbb{R}^n$,
$$
L_f h(x)=\frac{\partial h}{\partial x}f(x)\ge -\alpha_e\bigl(h(x)\bigr).
$$
For control-affine systems, it is standard that any Lipschitz controller satisfying
$$
L_f h(x)+L_g h(x)\,u(x)+\alpha_e\bigl(h(x)\bigr)\ge 0
$$
renders $C$ forward-invariant [2507.18888].

Within this formulation, the conventional ZBF contributes an outward-pointing correction through the class-$K$ term near the boundary. The RRBF preserves that structure but supplements it with a term that becomes unbounded as $h$ approaches zero from the positive side. This suggests that the intended modification is not a replacement of the ZBF principle, but a refinement designed specifically to strengthen disturbance rejection close to $\partial C$.

## 2. Definition of RRBF and the reciprocal-resistance mechanism

The RRBF is motivated by the scalar dynamics
$$
\dot z=-\alpha z+\frac{\beta}{z},
$$
which combine linear decay with a reciprocal repulsion term [2507.18888]. For the uncontrolled dynamics $\dot x=f(x)$, a continuously differentiable function $h:\mathbb{R}^n\to\mathbb{R}$ is a Reciprocal Resistance-Based Barrier Function if there exist extended-class $K$ functions $\alpha,\beta:\mathbb{R}_+\to\mathbb{R}_+$ such that, for all $x\in \mathrm{Int}\,C$,
$$
L_f h(x)+\alpha\bigl(h(x)\bigr)-\beta\!\Bigl(\frac1{h(x)}\Bigr)\ge 0.
$$

In this inequality, $\alpha(h)$ retains the usual ZBF role, while $\beta(1/h)$ grows unbounded as $h\to 0^+$. The paper characterizes this growth as creating a built-in “buffer.” Formally, the reciprocal term is not an auxiliary post-processing correction or a worst-case disturbance margin; it is embedded directly in the barrier condition itself [2507.18888].

The mechanism can be understood through the competition between $\alpha(h)$ and $\beta(1/h)$. Since $\alpha(s)\to 0$ as $s\to 0$ and $\beta(1/s)\to\infty$ as $s\to 0$, there exists a unique $h_s>0$ satisfying
$$
\alpha(h_s)=\beta\Bigl(\frac1{h_s}\Bigr).
$$
This induces the set
$$
S:=\{x\mid h(x)\ge h_s\},
$$
with boundary $\partial S=\{h(x)=h_s\}$ and interior $\mathrm{Int}\,S=\{h(x)>h_s\}$ [2507.18888].

The region $0<h<h_s$ is the operative buffer zone. In that region, the reciprocal term dominates strongly enough that trajectories are driven toward $h_s$. A plausible implication is that RRBF redefines “safe operation” into two layers: the original safe set $C$, and an inner set $S$ that functions as a robustness margin while remaining entirely contained in $\mathrm{Int}\,C$.

## 3. Forward invariance and buffer-zone dynamics

The forward-invariance result is stated for $\mathrm{Int}\,C$: if the RRBF inequality holds and $x(0)\in \mathrm{Int}\,C$, then $x(t)\in \mathrm{Int}\,C$ for all $t\ge 0$ [2507.18888]. The proof is organized around the intermediate threshold $h_s$.

On $\partial S$, where $h=h_s$, the RRBF condition yields
$$
\dot h=L_f h\ge -\alpha(h_s)+\beta(1/h_s)=0.
$$
By Nagumo’s theorem, $S$ is forward-invariant. For states with $0<h(x)<h_s$, define
$$
V_C(x)=h_s-h(x)>0.
$$
Then
$$
\dot V_C=-\dot h\le -\bigl[\alpha(h)-\beta(1/h)\bigr]<0 \qquad (0<h<h_s).
$$
Trajectories in $\mathrm{Int}\,C\setminus S$ are therefore driven into $S$ and remain there thereafter [2507.18888].

The significance of this argument is that the repelling action near the boundary is endogenous to the barrier inequality rather than supplied externally by a disturbance estimate or an explicit safety margin. The paper’s terminology of a “buffer zone” is mathematically tied to the strict decrease of $V_C$ when $0<h<h_s$. This is a stronger statement than merely asserting non-exit from $C$: the construction enforces motion away from the near-boundary region.

A common misconception is that any reciprocal barrier quantity necessarily yields the same robustness behavior. The reported formulation is more specific. The buffer effect is tied to the RRBF inequality itself and the balance equation $\alpha(h_s)=\beta(1/h_s)$, not merely to introducing an inverse of $h$ in isolation [2507.18888].

## 4. Robustness to bounded disturbances without explicit disturbance bounds

For disturbed dynamics
$$
\dot x=f(x)+d(t,x),
$$
the framework assumes no *a priori* known disturbance bound, and assumes only that $\partial h/\partial x$ and $g$ are bounded on the admissible set $X$ [2507.18888]. Along trajectories,
$$
\dot h
=L_f h+\frac{\partial h}{\partial x}\cdot d
\ge -\alpha(h)+\beta(1/h)-\Bigl\lvert\frac{\partial h}{\partial x}\cdot d\Bigr\rvert
\ge -\alpha(h)+\beta(1/h)-D,
$$
where $D$ is an unknown upper bound on $\left|\frac{\partial h}{\partial x}\cdot d\right|$.

Define $h_b>0$ by
$$
\alpha(h_b)+D=\beta(1/h_b).
$$
Then, whenever $0<h\le h_b$, one has $\dot h\ge 0$. By the same Nagumo-and-Lyapunov-type argument used in the disturbance-free case, $\mathrm{Int}\,C$ remains forward-invariant without requiring explicit knowledge of $D$ [2507.18888].

The key point is not that disturbances are absent or small, but that the reciprocal term automatically dominates them near $h=0$. The paper states this directly: the reciprocal term $\beta(1/h)$ **automatically dominates** the unknown disturbance near the boundary. This distinguishes the construction from robust CBF methods that require an explicit worst-case bound in the online inequality. This also clarifies a possible misunderstanding: RRBF does not eliminate the existence of a disturbance bound in analysis; rather, it eliminates the need to know that bound explicitly when enforcing safety.

The trade-off is conservatism. The paper later reports that tuning $\beta$ trades off buffer size versus conservatism in simulation [2507.18888]. This suggests that increased near-boundary repulsion may enlarge the practical separation from the constraint surface even when exact disturbance magnitudes are unavailable.

## 5. Control extensions: RRCBF and high-order RRCBF

For the control-affine disturbed system
$$
\dot x=f(x)+g(x)\bigl(u+d(t,x)\bigr),
$$
the control counterpart is the Reciprocal Resistance-Based Control Barrier Function (RRCBF). A function $h$ is a RRCBF if
$$
\sup_{u\in\mathbb{R}^m}\Bigl[
L_f h(x)+L_g h(x)\,u+\alpha\bigl(h(x)\bigr)-\beta\bigl(1/h(x)\bigr)
\Bigr]\ge 0
$$
for all $x\in \mathrm{Int}\,C$ [2507.18888]. Any Lipschitz $u(x)$ satisfying this constraint renders $\mathrm{Int}\,C$ forward-invariant even under unknown bounded disturbances.

The paper also extends the construction to high-relative-degree constraints. If $h$ has relative degree $r$, so that
$$
L_gL_f^k h=0,\quad k=0,\ldots,r-2,\qquad L_gL_f^{r-1}h\ne 0,
$$
then one defines recursively, for $i=1,\dots,r$,
$$
\psi_{i-1}(x)=
\begin{cases}
h(x), & i=1,\\
\dot\psi_{i-2}(x)+\alpha_{i-1}(\psi_{i-2}(x)), & i>1,
\end{cases}
$$
where each $\alpha_i$ is extended-class $K$ [2507.18888].

The high-order RRCBF (HO-RRCBF) condition is
$$
\sup_u
\Bigl[
L_f^r h
+L_gL_f^{r-1}h\,u
+\alpha_r(\psi_{r-1})
-\beta(1/\psi_{r-1})
+O(h(x))
\Bigr]\ge 0
$$
on the set
$$
\bar S=\bigcap_{i=0}^{r-1}\{\psi_i\ge 0\}.
$$
A nested Nagumo-type argument then shows that $\bar S$ is forward-invariant under any admissible $u$ [2507.18888].

This extension is technically important because many safety constraints in mechanical and transportation systems have relative degree greater than one. The recursive $\psi_i$ construction preserves the familiar high-order barrier architecture while moving the reciprocal term to the terminal inequality. This suggests that the reciprocal-resistance principle is modular with respect to established high-order CBF constructions rather than restricted to relative-degree-one constraints.

## 6. Disturbance-observer integration and simulation evidence

To reduce conservatism when $d(t,x)$ is complex but estimateable, the framework introduces a disturbance-observer-based RRCBF (DO-RRCBF). Using, for example, the nonlinear DOB of Chen (2004),
$$
\dot \xi=-l(x)\bigl(f(x)+g(x)\,u+\xi+p(x)\bigr),\qquad \hat d=\xi+p(x),
$$
with $\hat d\to d$, the RRCBF constraint is modified by replacing $d$ with $\hat d$:
$$
\sup_u
\Bigl[
L_f h
+L_g h\,(u+\hat d)
+\alpha(h)
-\beta(1/h)
\Bigr]\ge 0.
$$
The paper states that, because $\beta(1/h)$ still dominates the estimation error $d-\hat d$ when $h\to 0$, strict safety is guaranteed and there is no need to know explicit bounds on $d$ or its derivative. At the same time, the DOB compensates most of $d$, recovering near-nominal performance in the interior of the safe set [2507.18888].

Two simulation studies are reported. In a second-order linear system,
$$
\dot x_1=-x_2,\qquad \dot x_2=u+w(t),
$$
with safety function $h(x)=x_1-x_2\ge 0$, nominal controller $u_0=x_1-2x_2-1$, and barrier parameters $\alpha(h)=1\cdot h$, $\beta(1/h)=2\cdot (1/h)$, three QP-based filters were tested: ZCBF, RBF with $B=1/h$, and RRCBF [2507.18888]. Without disturbance, ZCBF and RBF guarantee invariance of $C$, but trajectories can approach $\partial C$ very slowly; RRCBF shows the buffer region $S=\{h\ge h_s\}$ with $h_s\approx 0.5$, and trajectories starting with $h<h_s$ are driven up to $\partial S$. Under $w(t)=3\sin t$, both ZCBF and RBF lose invariance, whereas RRCBF robustly maintains $h(x(t))>0$. The paper also notes that tuning $\beta$ trades off buffer size versus conservatism.

In an adaptive cruise control (ACC) example with
$$
\dot v_\ell=a_\ell,\qquad
\dot v_e=-\frac1m(f_0+f_1v_e+f_2v_e^2)+\frac1m\,u+w(t),\qquad
\dot D=v_\ell-v_e,
$$
the distance barrier is $b(D)=D-D_0$ with relative degree $r=2$, desired speed $v_d=20\,\mathrm{m/s}$, desired gap $D_0=80\,\mathrm{m}$, barrier parameters $\alpha_1=\alpha_2=1$, and $\beta=0.01$ [2507.18888]. The compared controllers are standard CBF, robust CBF (worst-case), DO-CBF (requires $\delta_0,\delta_1$), RRCBF, and DO-RRCBF, under disturbance
$$
w(t)=\sin t-0.5\sin 2t.
$$
Standard CBF and DO-CBF without explicit error bound fail safety under $w(t)$. Robust CBF and RRCBF maintain safety but are highly conservative, with the following gap $D$ staying well above $D_0$. DO-RRCBF enforces strict safety $(D\ge D_0)$ and allows $D$ to hover close to $D_0$, recovering nominal performance because $\hat d$ compensates most of $w(t)$ and $\beta(1/h)$ only dominates the small estimation error near the boundary [2507.18888].

Taken together, these results support several conclusions stated in the paper: the RRBF framework ensures forward invariance of $C$ even under unknown bounded disturbances, does not require explicit disturbance bounds, creates a buffer zone near $\partial C$ through the $\beta(1/h)$ term, extends naturally to high-order constraints, and can recover near-nominal performance with minimal conservatism when combined with a disturbance observer [2507.18888]. The main qualification is that robustness and conservatism remain coupled through the reciprocal term; the observer-based variant is introduced precisely to mitigate that coupling without sacrificing strict safety.

Source: https://www.emergentmind.com/topics/reciprocal-resistance-based-barrier-function-rrbf