Manuscript Offprint
arXiv:2610.16978Joint-Feasibility Margin Feedback for Bounded-Input Second-Order Control Barrier Functions
Siyuan Yang and Shaoming He
Abstract—Multiple second-order control barrier function constraints can exhaust their common control authority under bounded acceleration, even when the current state remains feasible. We define a signed local joint-feasibility margin whose sign exactly identifies whether the current barrier half-spaces intersect the admissible input set. For unit-scaled distance constraints, it has acceleration units and a support-function dual that identifies weighted constraint conflicts. We predict the margin one sample ahead for nine task-directed candidates, selecting either the least-deviating candidate that attains a desired margin or the candidate with the largest predicted margin before solving the same hard HOCBF quadratic program. A controlled one-step case shows that, at the state predicted under the hard-QP command, two constraints remain individually feasible but become jointly infeasible, whereas the margin-feedback controller retains a positive next margin. Separately, across 20 paired initial conditions, the margin-feedback controller retains the hard-QP command in a low-pressure task and acts at positive margin in a critical task before the hard-QP problem becomes infeasible; its trajectories remain feasible at that time and complete the task. Source code is publicly available.
Index Terms—Control barrier functions, input constraints, joint feasibility, predictive safety filtering, multi-UAV systems.
I. INTRODUCTION
Control barrier functions (CBFs) turn state constraints into inequalities on the control input and are widely used as real-time safety filters [1], [2]. For systems controlled through acceleration, collision clearance, communication range, and other distance requirements have relative degree two and can be enforced with high-order CBFs (HOCBFs) [3]–[5]. Each requirement is simple in isolation, but all of its HOCBF inequalities share the same bounded acceleration. Their common admissible set can therefore shrink rapidly or disappear as relative speed and braking demand increase.
A conventional hard HOCBF quadratic program (QP) reports this conflict only after no input satisfies all inequalities. The task controller may still be driving toward the boundary while the current QP remains feasible. This motivates two questions: how much common control authority remains at the current state, and can that quantity modify the task command before it changes sign?
The first quantity is a signed joint-feasibility margin: the largest common slack of each UAV's local HOCBF constraints over its admissible acceleration set. Its sign gives an exact pointwise feasibility test, while its dual assigns a separating weight to conflicting constraints. To act before this margin changes sign, a one-step feedback law evaluates nine commands between the task-directed input and a maximum-margin input, then selects either the least-deviating candidate that reaches a desired margin or the candidate with the largest predicted margin. The selected command remains the nominal input of the same hard HOCBF-QP. In the evaluation, Proposed denotes this margin-feedback controller, while Baseline denotes the unchanged hard HOCBF-QP.
The contributions are twofold. First, we formulate a local joint-feasibility margin in acceleration units for normalized second-order distance constraints and give its exact feasibility and dual interpretations. Second, we develop a deterministic one-step margin-feedback controller that balances task tracking and predicted common control authority without a finite-horizon optimization.
We first isolate the one-step mechanism in a controlled case with one UAV and two fixed references. We then evaluate the method in a post-detection maritime response task with four UAVs and two fixed references. In 20 paired initial conditions, the Proposed and Baseline controllers behave identically in a low-pressure task. At a critical but statically reachable distance, Proposed first acts while its current margin is positive; Baseline subsequently reaches local infeasibility, whereas Proposed retains positive margin at the same time and completes reach-and-dwell. These trajectories show preventive margin regulation in the matched task.
Several studies analyze that question directly. Tan and Dimarogonas use a pointwise max-min compatibility score with grid refinement to verify multiple CBFs over a state domain [9]. Isaly et al. study feasibility and continuity of controllers defined by vector-valued barrier functions [10].
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
Siyuan Yang and Shaoming He are with the School of Aerospace Engineering, Beijing Institute of Technology, Beijing 100081, China.
Shaoming He is the corresponding author (e-mail: shaoming.he@bit.edu.cn).
https://github.com/xirhxq/cbf/tree/robio2026-preventive-regulation
Other methods construct compatible or consolidated barrier families, or adapt HOCBF parameters to preserve feasibility . In contrast to state-domain verification, we compute at each sample an online signed bounded-input margin for the current finite set of second-order distance constraints and use its one-step prediction to select the task command.
Predictive safety filters solve a finite-horizon problem and use a backup trajectory toward a safe terminal set [14]. Predictive CBFs instead encode the future safety of a propagated nominal trajectory into a barrier condition [15]. Both address limitations of purely pointwise filtering, but with different predictive objects and guarantees. Here a finite set of accelerations is propagated for one sampling period, and predicted joint feasibility selects the nominal command supplied to the same hard HOCBF-QP.
III. PROBLEM FORMULATION
Let index UAVs moving in the plane,
where are the position, velocity, and acceleration of UAV . Throughout, denotes the Euclidean norm. The acceleration belongs to a nonempty compact convex set . A task controller supplies a bounded nominal acceleration . At samples , , with sampling period , the local model uses , the mobile neighbor's actual input held over the preceding control interval, with specified initial values . Let be the sampled mobile-UAV joint state and define , where denotes the other mobile UAVs. At a fixed sample, we write . In pairwise expressions, may denote a mobile neighbor or a fixed reference at , ; the latter has .
Let . The constants and denote the minimum permitted separation and maximum permitted communication distance, respectively. Collision clearance and communication range are represented by
For either barrier , positive gains with units give the second-order condition
The corresponding high-order safe set also requires and initially.
The controller domain contains only constrained pairs with . Define and on this domain. Because
each HOCBF condition is affine in after the neighbor acceleration used for the current update is fixed. Let the transverse kinematic term , measured in m/s . The collision and communication conditions respectively become
(5)
(6)
Let denote all current constraints of UAV i, written as
where these constraints retain their identities while their coefficients depend on the state. Equations (5) and (6) give for collision clearance and for communication range, with and measured in m/s .
Whenever the local constraints are feasible, the hard-QP command is the unique solution of
(8)
Our objective is to change the nominal supplied to this hard HOCBF-QP when a one-step forecast indicates loss of common control authority, while retaining (7) as hard constraints.
IV. JOINT-FEASIBILITY MARGIN
Definition 1 (Local joint-feasibility margin). For a nonempty local constraint set , define
With unit-normal scaling, has acceleration units; its sign characterizes feasibility for the preceding neighbor accelerations used at that sample, while its magnitude depends on the chosen constraint scaling.
Let be the all-ones vector, , and for be the support function of the input set. All sums over below range over .
Proposition 1 (Feasibility and dual interpretation). The local constraints (7) admit an input in if and only if . Moreover,
Thus exactly when a convex combination of the constraint requirements exceeds the maximum support available over .
Proof. If (7) is feasible, its feasible input makes the inner minimum in (9) nonnegative. Conversely, an optimizer with satisfies every constraint. Writing the inner minimum as a minimization over gives a bilinear objective on compact convex sets. The minimax theorem exchanges the two optimizations, and maximizing over yields the support function in (10).
For the componentwise box used in our simulations, where is the acceleration bound, , with denoting the one-norm. The minimizing identifies the limiting weighted constraint combination without reference to the quadratic cost in (8).
V. ONE-STEP MARGIN FEEDBACK
The margin-feedback controller uses the feasible task-directed command from (8) and a maximum-margin endpoint
where is a fixed lexicographic order on acceleration components. It evaluates the nine uniformly interpolated inputs
When , convexity makes every candidate feasible for the current local constraints.
For candidate of UAV , define the synchronous task-reference surrogate by and for . Let the superscript denote a one-step prediction at . All mobile states are propagated with zero-order hold,
Fixed references remain stationary, and . The state-dependent coefficients are then rebuilt for all corresponding constraints using as the neighbor acceleration. Writing and for the resulting predicted mobile-UAV joint state, the score is , where the other UAVs use their task-directed safe commands in this surrogate. The associated task-deviation score is . Both and have units of .
The threshold , measured in m/s , ranks predicted candidates; zero remains the hard-feasibility boundary. Write . Let and . If , the controller minimizes lexicographically over . Otherwise it minimizes over . The first case is the least-deviation branch; the second is the maximum-margin fallback. Let denote the minimizing index under the applicable rule and . This selected candidate replaces in the hard HOCBF-QP (8).
Algorithm 1 summarizes the controller.
This is a one-step selection rule; the hard HOCBF-QP checks feasibility again at the next sample.
Algorithm 1 One-step joint-feasibility-margin feedback
Require: Current states, , all current constraints, task inputs, , and
Ensure: Hard HOCBF-QP commands , or FAILURE
1: for each UAV do
2: Solve (9) and choose by (11)
3: if then
4: return FAILURE {no input satisfies all current constraints}
5: end if
6: Compute the unique task-directed hard HOCBF-QP command
7: end for
8: for each UAV do
9: for do
10: Form by (12)
11: Propagate one step with and
12: Evaluate predicted margin and deviation
13: end for
14: if then
15: Select the least-deviation candidate using the stated tie order
16: else
17: Select the maximum-margin candidate using the stated tie order
18: end if
19: Solve the current hard HOCBF-QP centered at
20: end for
21: Apply all UAV commands simultaneously
VI. NUMERICAL EVALUATION
A. Controlled One-Step Case
We first isolate the one-step mechanism using one UAV and two fixed-reference communication constraints under the exact ZOH model. For this single-UAV case, we omit the UAV subscript. The setup uses s, input box m/s , m and m, m, s , m, m, m/s at low pressure and m/s at critical pressure, and m/s . The controlled case uses m/s , which lies between the central and candidate margins of 0.912 and 1.462 m/s ; the multi-UAV case uses m/s , whose absolute value is not directly comparable because the state-dependent constraint offsets differ. At low pressure, the margin-feedback controller selects and therefore returns the hard-QP command unchanged, with next margin 5.804 m/s . At critical pressure, the current joint margin is 12.027 m/s , but the hard-QP command produces a nominal-next joint margin of m/s . At that predicted-next state, both singleton margins remain positive m/s , and both dual weights are strictly positive , so both constraints participate in the same joint-margin certificate. The margin-feedback controller selects , or ; all five predicted and actual next margins round to 1.462 m/s and exceed . Figure 1 shows how this preventive command restores positive predicted joint margin before the current constraints become infeasible.
B. Multi-UAV Task and Setup
We consider a post-detection response phase in which the horizontal position of a stationary vessel is known. Two fixed references and support four mobile UAVs. We adapt
(a)

(b)

(c)


Fig. 1. Controlled one-step joint-constraint case. (a) The current critical state is jointly feasible. (b) The states predicted under the hard-QP and margin-feedback commands have different next-step feasible sets. (c) Median critical candidate margins across five fixed offsets; the five curves overlap at this scale.
the static reference construction in [16] to the response task. The assigned communication edges are
The resulting single triangular ladder remains fixed throughout the task. For each UAV, contains its three mobile-UAV collision constraints and the assigned outgoing communication constraints in (14); these identities do not switch, although their coefficients change with the state. UAV4 completes the task after remaining within 50 m of the vessel position for 30 continuous seconds; leaving the neighborhood resets the dwell timer.
The physical communication limit is 850 m and the minimum UAV separation is 10 m. The acceleration satisfies . Let be UAV i's fixed assigned goal and whenever . The common task controller uses and returns zero at the goal, where is Euclidean saturation with limit a and . We use and . The desired predicted margin is .
The fixed-reference positions are m and m in an m world. Let D denote the vessel's offshore horizontal offset in meters. With , , and , the fixed task references are
The critical vessel offset is m, for which the longest terminal assigned edge is 840 m and therefore retains 10 m relative to the physical communication limit. The low-pressure offset is m. Both terminal geometries satisfy the static distance limits; the critical case increases relative speed and second-order braking demand during approach.
TABLE I NOMINAL INITIAL STATES; m/s.
| UAV | (m) | (m) |
|---|---|---|
| UAV1 | 685.460911 | 1244.880280 |
| UAV2 | 681.101518 | 734.898912 |
| UAV3 | 1124.938034 | 986.114251 |
| UAV4 | 1120.578641 | 476.132883 |
Table I lists the nominal initial states.
Proposed and Baseline share the task reference, task controller, local barrier constraints, input bounds, HOCBF gains, sample time, and hard HOCBF-QP. Baseline applies from (8); Proposed applies Algorithm 1 before the same hard HOCBF-QP. We evaluate 20 matched initial conditions obtained by componentwise perturbations m and m/s of each nominal UAV state. Each pair uses the same initial state and task parameters for both controllers. We use 20 fixed deterministic perturbations within these bounds, indexed by seeds 20262701–20262720 and provided with the public code. The initial held accelerations are . Every perturbed initial state satisfies and for all prescribed constraints. We use Gurobi 12.0 with feasibility and optimality tolerances. We report hard infeasibility only when the QP status and reconstructed margin agree.
Let be UAV i's selected candidate index at sample k, let , and let and be the selected nominal candidate and Baseline command at that sample. We count one intervention whenever . The associated task deviation compares these time-indexed commands at the same state and preceding neighbor accelerations:
C. Multi-UAV Results
Figures 2 and 3 show the representative event sequence and paired critical-task mechanism, while Table II summarizes the task outcomes.
Both metrics end at Proposed's first dwell completion; over that interval, the reported range and separation are

Proposed / assigned edges
Baseline / assigned edges
×
Baseline final logged state
critical UAV1- assigned edge
Fig. 2. Representative paired trajectory at four events. The final panel retains only Baseline's last available state.
(a) Local margin near the first paired divergence

(b) Assigned range before Baseline infeasibility

(c) Task-period intervention cost
Fig. 3. Critical-task results over 20 pairs: median UAV1 local margin, assigned UAV1- range, and Proposed interventions before dwell completion.
extrema of the assigned communication edges and pairwise UAV distances across the 20 Proposed trajectories.
At , both controllers complete all 20 tasks in 74.0–74.5 s, and Proposed never changes the Baseline command. At , Proposed completes all 20 tasks at 76.5 s, whereas every paired Baseline reaches local HOCBF-QP infeasibility before completion.
In the critical task, Proposed first changes UAV1's command at 30.5 s in eight pairs and 31.0 s in twelve. UAV1's current margin at that instant is 14.072–21.339 m/s . Baseline first becomes locally infeasible at 32.0 s in 14 pairs and 32.5 s in six. Its reconstructed UAV1 margin is -2.212 to -0.013 m/s , while paired Proposed has 12.128–14.913 m/s at the same time. Ten first actions use the least-deviation branch; the other ten use maximum-margin fallback. Across all 638 interventions, including the 74 preceding the paired Baseline failure, the one-step margin error is at most m/s and never changes its classification relative to either 0 or .
TABLE II RESULTS OVER 20 PAIRED INITIAL CONDITIONS.
| Metric | Low task | Critical task |
|---|---|---|
| Proposed completion | 20/20 | 20/20 |
| Baseline completion | 20/20 | 0/20 |
| Proposed completion time (s) | 74.0–74.5 | 76.5 |
| Proposed interventions | 0 | 30–35 |
| Task deviation (m/s) | 0 | 40.94–45.08 |
| Maximum assigned range (m) | 822.63 | 840.06 |
| Minimum UAV separation (m) | 385.23 | 399.83 |
Figure 3(a) shows the median UAV1 local margin across the 20 pairs and the individual event markers; Proposed acts before the paired Baseline margin becomes negative. At Baseline's first infeasibility, its UAV1- assigned range is 824.793–831.503 m, below the 850 m physical limit; thus the local HOCBF conflict appears before a communication-range violation. Proposed limits the growth of that edge and remains within 840.060 m over the completed task, as shown in Fig. 3(b). This edge illustrates the dominant conflict in these trajectories but does not by itself define the multi-constraint margin.
Proposed uses 30–35 task-period interventions per critical trajectory. Three or four occur between its first action and the paired Baseline infeasibility; 26–31 occur afterward but before dwell completion. The corresponding task deviation (15) is 40.942–45.082 m/s per trajectory. The first-action window supports the initial paired divergence, whereas the later actions quantify the cost of continued regulation and task completion. Across all completed Proposed trajectories, the physical communication and separation limits and the sampled hard HOCBF-QP constraints remain satisfied.
The evaluation covers 20 deterministic pairs with planar dynamics, a known stationary target, and fixed references. The study does not vary or beyond their specified values; disturbances and real-sea operation remain for future evaluation.
VII. Conclusion
This paper introduced a local joint-feasibility margin for bounded-input second-order barrier constraints and used its one-step prediction to modify a task command before an unchanged hard HOCBF-QP is solved. A controlled one-UAV case isolated the predicted joint conflict and showed that the margin-feedback controller retained positive next-step common control authority. In separate matched multi-UAV simulations, Proposed retains nominal behavior at low pressure and acts at positive margin in the critical task before Baseline reaches local infeasibility, then remains feasible at the same time and completes reach-and-dwell. Together, these results support the margin-feedback controller as a one-step preventive layer for bounded-input second-order barrier controllers whose common control authority can shrink before current infeasibility.
ACKNOWLEDGMENT
Generative AI tools assisted with manuscript restructuring and language editing; the authors verified the scientific content and conclusions.
REFERENCES
[1] A. D. Ames, X. Xu, J. W. Grizzle, and P. Tabuada, “Control barrier function based quadratic programs for safety critical systems,” IEEE Transactions on Automatic Control, vol. 62, no. 8, p. 3861–3876, Aug. 2017.
[2] A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath, and P. Tabuada, “Control barrier functions: Theory and applications,” in 2019 18th European Control Conference (ECC). IEEE, June 2019, p. 3420–3431.
[3] Q. Nguyen and K. Sreenath, “Exponential control barrier functions for enforcing high relative-degree safety-critical constraints,” in 2016 American Control Conference (ACC). IEEE, July 2016, p. 322–328.
[4] W. Xiao and C. Belta, “Control barrier functions for systems with high relative degree,” in 2019 IEEE 58th Conference on Decision and Control (CDC). IEEE, Dec. 2019, p. 474–479.
[5] W. Xiao and C. Belta, “High-order control barrier functions,” IEEE Transactions on Automatic Control, vol. 67, no. 7, p. 3655–3662, July 2022.
[6] D. R. Agrawal and D. Panagou, “Safe control synthesis via input constrained control barrier functions,” in 2021 60th IEEE Conference on Decision and Control (CDC). IEEE, Dec. 2021, p. 6113–6118.
[7] J. Breeden and D. Panagou, “High relative degree control barrier functions under input constraints,” in 2021 60th IEEE Conference on Decision and Control (CDC). IEEE, Dec. 2021, p. 6119–6124.
[8] J. Breeden and D. Panagou, “Robust control barrier functions under high relative degree and input constraints for satellite trajectories,” Automatica, vol. 155, p. 111109, September 2023.
[9] X. Tan and D. V. Dimarogonas, “Compatibility checking of multiple control barrier functions for input constrained systems,” in 2022 IEEE 61st Conference on Decision and Control (CDC). IEEE, December 2022, pp. 939–944.
[10] A. Isaly, M. Ghanbarpour, R. G. Sanfelice, and W. E. Dixon, “On the feasibility and continuity of feedback controllers defined by multiple control barrier functions,” IEEE Transactions on Automatic Control, vol. 69, no. 11, pp. 7326–7339, Nov. 2024.
[11] J. Breeden and D. Panagou, “Compositions of multiple control barrier functions under input constraints,” in 2023 American Control Conference (ACC). IEEE, May 2023, pp. 3688–3695.
[12] M. Black and D. Panagou, “Adaptation for validation of consolidated control barrier functions,” in 2023 62nd IEEE Conference on Decision and Control (CDC). IEEE, 2023, pp. 751–757.
[13] S. Zhang, D. Zhai, Y. Xiong, and Y. Xia, “Feasibility-guaranteed safety-critical control with high-order control barrier function method,” International Journal of Robust and Nonlinear Control, vol. 34, no. 5, p. 3425–3441, Mar. 2024.
[14] K. P. Wabersich and M. N. Zeilinger, “A predictive safety filter for learning-based control of constrained nonlinear dynamical systems,” Automatica, vol. 129, p. 109597, 2021.
[15] J. L. Breeden and D. Panagou, “Predictive control barrier functions for online safety critical control,” in 2022 IEEE 61st Conference on Decision and Control (CDC). IEEE, 2022, pp. 924–931.
[16] S. Yang, D. Lin, S. He, I. Hussain, and L. Seneviratne, “Aerial swarm search for gnss-denied maritime surveillance,” IEEE Transactions on Aerospace and Electronic Systems, vol. 60, no. 3, p. 3442–3453, June 2024.