Class-K Gain and Sampling Period in One-Constraint CBF Safety Filters: A Small Empirical Comparison on a Double Integrator and a Unicycle Merlin-74Z Stemma seed corpus https://github.com/mihir-chauhan/research-harness-papers/tree/main/papers/cbf-safety-filter-conservatism Abstract—A control barrier function (CBF) safety filter is to goal on the double integrator but not beyond α = 2 on the usually designed in continuous time but executed at a fixed unicycle. The results are specific to our scenarios and filters sampling period. In a small CPU study (numpy, closed-form and are not a general ranking. filters, 5 seeds of 100 randomised scenarios) we measure how Index Terms—control barrier functions, safety filters, the class-K gain α and the period ∆t affect safety violations sampled-data control, obstacle avoidance and conservatism for a double integrator and a unicycle among three circular obstacles. We compare a continuous-time CBF applied at discrete steps, a discrete-time CBF condition on I. Introduction the zero-order-hold successor, and a distance-threshold braking Safety filters based on control barrier functions (CBFs) heuristic, all reimplemented, over a 5 × 5 grid of α from 0.5 to 10 and ∆t from 0.01 to 0.2 s, plus cells that hold α∆t fixed. On minimally modify an unsafe nominal command so that a the double integrator the continuous-time CBF was safe unless barrier condition holds [2], [3]. The theory is written in α and ∆t were both large (violation rate up to 0.386), with continuous time, whereas implementations hold the input one small-gain exception (0.006 at α = 0.5, ∆t = 0.2). This constant over a sampling period, and discrete-time CBF failure region is largely the known α∆t ≥ 1 (γ ≤ 1) breakdown conditions have been proposed as an alternative [1], [4], [5]; of a sampled first-order decay [1]: all 10 cells with α∆t ≥ 1 violate, but so do 4 cells below 1, and on the unicycle 4 of sampled-data safety has also been analysed directly, in- 10 cells with α∆t ≥ 1 stay at zero, so the product is a good cluding conditions for forward invariance under piecewise- but inexact predictor. The first-order discrete-time condition constant controllers [6], safety with approximate discrete- was nearly safe at the default (0.008), but its violation rate time models [7] and sample-and-hold safety through input- rose with α and ∆t, with a mean worst penetration of at to-state safety [8]. Practitioners therefore face two knobs, most 0.016 m where α∆t < 1 and penetrations comparable to the unfiltered controller where α∆t ≥ 1 (up to 0.760 m in the class-K gain α and the period ∆t, and a trade-off: a single seed). These violations occur between control samples conservative settings keep the robot far from obstacles (at-sample rate at most 0.002); an exact continuous-path check but slow it down. shows them even at ∆t equal to the integration step, at depths We ask how α and ∆t affect safety violations and of at most 0.00003 m. On the unicycle at barrier level the first- conservatism (time to goal, minimum clearance) for three order discrete-time filter violated in 0.464 of episodes at the default, at the samples; with the exact executed successor in filters: a continuous-time CBF applied at discrete steps, place of the Euler step it has 0 violating episodes of 500 at a discrete-time CBF condition, and a distance-threshold the default, so that result is an Euler-model artefact. Controls: braking heuristic. Both CBF filters impose one scalar a velocity-aware discrete-time filter is at zero violations in all constraint and have a closed-form projection (a half-space 15 double-integrator cells with α ≤ 2 and is lower than the for the continuous-time condition, the exterior of a ball for continuous-time filter in 1 of 25 double-integrator cells (the first-order filter: 1 double-integrator and 0 unicycle cells; the the discrete-time one). We state four falsifiable hypotheses exact-successor unicycle filter: 0). At matched clearance the (Sec. IV) and report that one (H2) is refuted and three velocity-aware filter reaches the goal in 7.40 s against 7.80 s for are partly supported; of those three, H1 and H4 fail their the continuous-time filter, with violation rate 0.000. A sampled- stated tests as written and hold only in a weaker form, data margin in the style of Breeden et al. and a three-constraint and H3 holds on the double integrator only. Contributions: QP do not remove the α∆t ≥ 1 failures. The heuristic violated at its default threshold (0.110). Larger α shortened the time (i) a reproducible numpy benchmark of these filters, (ii) a full α × ∆t grid showing that one-factor sweeps miss Merlin-74Z is the codename of an autonomous study, not a person. the corner where both are large, a corner that is largely Produced by the Stemma autonomous AI research pipeline; the topic the known α∆t ≥ 1 breakdown (with cells that hold the was chosen to cover the field. Every reported number comes from logged runs in the linked repository and every reference was checked product fixed), and a breakdown of violations into those against arXiv, Crossref, DataCite or OpenAlex. seen at the control sample instants and those that occur only between them, (iii) an ablation showing that the CT-CBF at discrete steps (reimplemented). Unicycle: single-constraint nearest-obstacle rule matters more than ḣ+αh ≥ 0, i.e. 2z ⊤ m+αh ≥ 0. Double integrator (relative ∆t for the continuous-time filter at the default gain, which degree two): ḧ + 2αḣ + α2 h ≥ 0, a three-constraint QP removes, and (iv) controls and ( ) 2z ⊤ a ≥ − 2∥v∥2 + 4αz ⊤ v + α2 h . (1) remedies for the continuous-versus-discrete comparison (a velocity-aware discrete-time filter, an exact-successor The condition is evaluated at the sampled state and the unicycle filter, a Breeden-style sampled-data margin, a minimum-norm correction a = a0 + max(0, −s) w/∥w∥2 is three-constraint QP, matched-conservatism comparison, applied, where w = 2z and s is the constraint slack at a0 . and exact continuous-path checking). This is a small study DT-CBF (reimplemented). With γ = min(1, α∆t) the and makes no claim of a general ranking. condition is h(xk+1 ) ≥ (1 − γ)h(xk ). For the double integrator it is imposed on the exact ZOH successor position z + = z + ∆t v + 21 ∆t2 a, i.e. II. Related Work √ ∥z + ∥ ≥ ρ, ρ = r2 + (1 − γ)h(xk ). (2) CBF filters. CBF quadratic programs filter a nominal controller [2]; [3] survey the theory. For position con- This is the exterior of a ball (non-convex), so we project straints on a double integrator (relative degree two) we z + (a0 ) radially onto the sphere of radius ρ when it use the high-order construction [9]. Discrete time and lies inside, which is the minimum-norm correction and sampling. The discrete-time CBF condition h(xk+1 ) ≥ gives a = a0 + 2∆t−2 (zproj + − z + (a0 )) in closed form. (1 − γ)h(xk ) with 0 < γ ≤ 1 goes back to Agrawal and For the unicycle point the successor is the Euler step Sreenath [1]; discrete-time conditions appear within model z + = z + ∆t m (not the exact unicycle motion, which predictive control [4] and have high-order and adaptive also rotates √ the heading) with the same projection, extensions [5]; [10] study CBF synthesis for sampled-data ρ = (1 − γ)∥z∥2 + γρ2infl where ρinfl = r + L. The systems with unknown dynamics. Breeden et al. [6] give condition constrains the successor at sample instants only: sampled-data forward-invariance conditions (two derived it says nothing about the path between samples, which from continuous-time and one from discrete-time barrier the metrics do check, and it ignores velocity beyond one functions) and compare their conservativeness; Taylor period. With γ = 1 it only asks the successor to lie on et al. [7] synthesise sampled-data CBF controllers from or outside the obstacle boundary. Note the asymmetry on approximate discrete-time models; Bahati et al. [8] take an the double integrator: CT-CBF is a second-order (high- input-to-state-safety view of sample-and-hold control and order) condition that uses the velocity, whereas our DT- modulate the sampled input so that the original safe set is CBF is a first-order condition on the position barrier; not violated. Our study is not a new condition: it measures a velocity-aware discrete-time variant in the spirit of [5] how a simple discrete-time condition and a continuous- and an exact-successor unicycle variant are added below time one behave under the same sampling in simulation, as controls. Braking heuristic. If clearance d < dth and the robot and tests them against a margin in the style of Breeden approaches, the inward component of the nominal com- et al. (their Theorem 3) and a multi-constraint QP. mand is removed and braking is added (double integrator: Alternatives. Predictive safety filters certify safety over −Kb vn , Kb = 4; unicycle: inward point velocity scaled by a horizon [11]; CBFs have been compared with artificial d/dth ). It does not use α. potential fields for obstacle avoidance, analytically and One constraint. Only one obstacle constraint is active with supporting experiments [12]; our comparison against at a time. For the CBF filters on the double integrator the a braking heuristic is in that spirit but is purely empirical. obstacle with the smallest first-order margin ψ1 = ḣ + αh is chosen (“critical”; the same rule is used for CT-CBF III. Method and DT-CBF); the alternative is the nearest obstacle (ab- lation). On the unicycle all filters, including the heuristic, Plants. Double integrator: ṗ = v, v̇ = a, p, v ∈ R2 , always use the obstacle nearest to the look-ahead point nominal a0 = 1.5(g − p) − 2.5v. Unicycle: ẋ = v cos θ, ẏ = (no critical-obstacle rule is implemented there), and the v sin θ, θ̇ = ω with a go-to-goal nominal controller (v ≤ 1, braking heuristic uses the nearest obstacle on both plants. |ω| ≤ 3); we control a point at distance L = 0.15 m ahead There are no input limits, so the filter is always feasible. of the axle, q = x1:2 + L(cos θ, sin θ), whose velocity m is Why the product α∆t matters. For the unicycle point mapped to (v, ω) by an invertible Jacobian, and inflate with m held over one period, h(t) = hk +2t zk⊤ m+t2 ∥m∥2 . the obstacle radii by L. Inputs are held constant over a If the continuous-time condition is active, 2zk⊤ m = −αhk , period ∆t (zero-order hold) and the plant is integrated at hence hk+1 = (1 − α∆t) hk + ∆t2 ∥m∥2 . For α∆t < 1 the 0.005 s (the double-integrator step is exact for a constant first term keeps the sign of hk ; for α∆t ≥ 1 it does not, and input; the unicycle step is a midpoint rule in the heading). only the remainder ∆t2 ∥m∥2 could keep hk+1 ≥ 0, which Barrier. For obstacle (c, r) let z = p − c and h = ∥z∥2 − nothing enforces. On the double integrator the second- 2 r . order condition is ψ̇1 + αψ1 ≥ 0 with ψ1 = ḣ + αh, the same first-order form in ψ1 , so under a held input ψ1,k+1 = α = 2, ∆t = 0.05 s, dth = 1 m. Goal arrival is tested at (1 − α∆t) ψ1,k + 12 ∆t2 ψ̈1 up to higher-order terms, with control instants, so the time to goal has resolution ∆t. the same factor. This is the known requirement 0 < γ ≤ 1 Metrics. violation_rate: fraction of episodes whose with γ = α∆t of discrete-time CBF conditions [1], and it is clearance (distance to the obstacle boundary, checked why the discrete-time-barrier-based condition of Breeden every 0.005 s, hence also between samples) was ever et al. [6] is stated with the gain γ/T , γ ∈ (0, 1]. It indicates below −10−9 m (the same tolerance for every sys- where failures are to be expected; it is not a proof that tem; a point projected exactly onto the bound- α∆t < 1 suffices for our filters (the remainder terms, and ary sits at about −10−14 m by round-off and is on the unicycle the difference between the Euler step and not counted); success_rate; time_to_goal (30 s if not the executed arc, also matter), and the grid cells that reached); min_clearance (mean per-episode minimum vary the product and its factors separately are reported clearance); worst_penetration (deepest violation within in Sec. VII. a seed’s 100 episodes). On the double integrator this Controls and remedies (added in round 2; all on the clearance is the barrier value. On the unicycle the barrier same scenarios). DT-HOCBF (double integrator, velocity- constrains the look-ahead point against radii inflated by aware discrete-time control). Besides the one-step con- L, whereas the clearance above is measured at the axle dition (A) of DT-CBF, it imposes (B): ψ1 (xk+1 ) ≥ against the raw radius, so it has a buffer of about 0.13– (1 − γ)ψ1 (xk ) with ψ1 (x) = h(p + ∆t v) − (1 − γ)h(p), 0.15 m. We therefore also report barrier_violation_rate the barrier at the coast successor, evaluated on the exact and barrier_penetration (look-ahead point against the in- ZOH successor. Both conditions are exteriors of balls flated radius; identical to the metrics above for the double in the input a; the filter alternates radial projections integrator) and sample_violation_rate (the barrier-level onto (B) and (A) (at most 30 sweeps) until both hold, check applied only at control sample instants, same toler- which is not the exact minimum-norm correction. It is a ance). Barrier-level metrics are the primary safety metrics. second-order discrete-time condition in the sense of using Round 2 adds: the exact continuous-path clearance of the the velocity, not the construction of [5]. DT-CBF-exact double integrator (the path in each hold is a quartic in (unicycle). The successor of the look-ahead point is the one time; its minimum is computed in closed form); violation reached by the plant’s own integrator when (v, ω) is held rates at tolerances 10−9 , 10−4 and 10−3 m; the time to goal for ∆t (closed form for the midpoint heading rule), not over episodes without a violation (episodes whose barrier- the Euler step. The nominal command’s exact successor is level clearance, on the exact path for the double integrator, projected radially onto the radius used by DT-CBF, and never falls below −10−9 m) next to the all-episode value; the input m that reaches the projected point is found and episode-level analyses on the 500 paired episodes of by Newton iteration (12 iterations; residual recorded). 5 seeds (exact binomial intervals, McNemar and paired t CT-CBF-margin (sampled-data remedy). Theorem 3 of tests). Breeden et al. [6], written for our sign convention, requires Hypotheses and tests (as stated in the proposal). H1: ḣ ≥ −(γ/T )h+ T2 η at the sampling instants with γ ∈ (0, 1], the violation rate of CT-CBF grows with ∆t and with α T = ∆t, and η = max(0, sup(−ḧ)) over the reachable set. and is about zero when both are small (test: its one-factor We use γ = min(1, α∆t), i.e. the gain min(α, 1/∆t). On sweeps; refuted if violations do not grow). H2: at the same the unicycle point ḧ = 2∥m∥2 ≥ 0 over a hold, so η = 0 and α and large ∆t, DT-CBF has a lower violation rate than the filter is CT-CBF with the capped gain. On the double CT-CBF, at the price of a longer time to goal (period integrator the condition is applied to ψ1 with the capped sweep; refuted if the DT-CBF rate is not lower). H3: time gain, and η is estimated from the held-input prediction to goal and minimum clearance decrease monotonically at t ∈ {0, ∆t/2, ∆t}, first on the nominal input and then with α for the CBF filters (gain sweep; refuted if time to on the first corrected input; this is an estimate, not the goal does not decrease). H4: the braking heuristic has a certified supremum the theorem asks for (there are no non-zero violation rate on the double integrator at the input bounds). CT-QP3 (multi-constraint baseline). The default setting while the CBF filters have none (main CT-CBF condition of all three obstacles is imposed jointly, table; refuted if the heuristic’s rate is zero or a CBF filter min ∥u−u0 ∥2 subject to three half-spaces in the 2-D input, violates). solved exactly by enumerating the unconstrained point, Designs. The systems are abbreviated Nominal (unfil- the three single-face projections and the three two-face tered), Braking, CT-CBF and DT-CBF. The main table vertices and taking the nearest feasible one. No step was uses the default setting. The effect of α and ∆t is infeasible in any run. studied on a full 5 × 5 grid, α ∈ {0.5, 1, 2, 5, 10} by ∆t ∈ {0.01, 0.02, 0.05, 0.1, 0.2} s, for CT-CBF and DT- IV. Experimental Setup CBF on both plants (500 runs); the one-factor sweeps Scenarios. Each seed generates 100 episodes (start, goal, shown below are slices of this grid (∆t = 0.05, respectively three obstacles of radius 0.5–0.8 placed near the start–goal α = 2). Further groups vary the braking threshold and the line); all systems see identical episodes. Horizon 30 s, goal obstacle-selection rule, and a probe at ∆t = 0.005 s (equal tolerance 0.15 m. Seeds 0–4. Default setting (not tuned): to the plant step, so no between-sample check by the 0.005 s check) for α ∈ {2, 5, 10} on both plants (60 runs); CT-CBF (DI) DT-CBF (DI) 660 runs in the original design. Round 2 re-runs the grid 10 5 0.00 0.00 0.00 0.27 0.39 0.00 0.00 0.00 0.00 0.02 10 5 0.36 0.43 0.62 1.00 1.00 0.08 0.11 0.22 0.40 1.00 and the default setting with the extended metrics (groups α 2 0.00 0.00 0.00 0.00 0.00 α 2 0.00 0.00 0.01 0.02 0.07 r2_grid, r2_main), adds the product cells (r2_product), 1 0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.01 1 0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 the controls and remedies on the grid (r2_ctrl), a fine α 0.01 0.02 0.05 0.1 0.2 0.01 0.02 0.05 0.1 0.2 Δt [s] Δt [s] sweep at two periods for matched-conservatism compar- CT-CBF (Uni) DT-CBF (Uni) isons (r2_fine), the unicycle refinement (r2_refine), the 10 0.00 0.00 0.00 0.00 1.00 10 1.00 1.00 1.00 1.00 1.00 5 0.00 0.00 0.00 0.00 0.86 5 0.90 0.96 0.99 1.00 1.00 probe with the exact path (r2_probe), diagnostic runs α 2 0.00 0.00 0.00 0.00 0.00 α 2 0.09 0.18 0.46 0.73 0.97 (r2_diag) and derived-statistics runs (r2_stats); 3614 runs 1 0.00 0.00 0.00 0.00 0.00 1 0.00 0.00 0.00 0.04 0.34 0.5 0.00 0.00 0.00 0.00 0.00 0.5 0.00 0.00 0.00 0.00 0.00 in total. 0.01 0.02 0.05 0.1 0.2 0.01 0.02 0.05 0.1 0.2 Δt [s] Δt [s] Compute. CPU only, numpy; a run typically takes under one second (a few seconds at most on the shared machine). Table I gives means ± sample std (ddof=1) over Fig. 1. Barrier-level violation rate over the (α, ∆t) grid for each filter and plant. 5 seeds (each a mean over 100 episodes); sweep tables give means over seeds and figures show mean ± sample std. Comparisons between filters at the default setting use the paired episode-level analysis of Sec. VII, not seed-level unicycle CT-CBF is at zero except at ∆t = 0.2 with large Welch tests. Baselines are our reimplementations, not the gain (0.862 at α = 5 and 1.000 at α = 10; mean worst authors’ code. penetration 0.010 and 0.093 m), a violation that the axle metric does not show. V. Results DT-CBF on the double integrator is at zero for α ≤ 1, Table I gives the main comparison. The unfiltered does not decrease with α at fixed ∆t or with ∆t at fixed nominal controller violates in every episode on both plants α (0.008, 0.018, 0.070 at α = 2 for ∆t = 0.05, 0.1, 0.2) and (violation rate 1.000). On the double integrator, CT-CBF reaches 1.000 in the three cells where γ = min(1, α∆t) has violation rate 0.000, DT-CBF 0.008 and the braking saturates (α∆t ≥ 1). Where α∆t < 1 the mean worst heuristic 0.110; time to goal is 7.800 (CT), 7.542 (DT) penetration is at most 0.016 m (at α = 2, ∆t = 0.2; 0.013 m and 7.480 (braking) seconds against 5.170 for the nominal at α = 5, ∆t = 0.1; 0.003 m or less in the other cells, controller. The DT-CBF violations are shallow at the although the rate is 0.618 at α = 10, ∆t = 0.05 and 0.358 default (barrier penetration 0.000 at three decimals), the at α = 10, ∆t = 0.01, Table II). Where it saturates the braking ones are not (0.184 m), and on the 500 paired penetrations are comparable to the unfiltered controller: episodes DT-CBF violates in 4 episodes in which CT- mean worst penetration 0.109 m at α = 10, ∆t = 0.1 and a CBF does not and in none the other way (exact McNemar worst penetration of up to 0.760 m in a single seed at α = 5 p = 0.125), which does not separate them, whereas the and 10 with ∆t = 0.2, mean minimum clearance −0.05 heuristic violates in 54 episodes in which DT-CBF does and −0.18 m (mean worst penetration 0.679 m in both not and in 3 the other way (Table XII). DT-CBF is faster cells; time to goal 5.79 s, over episodes that all violate), than CT-CBF by 0.258 s (paired, 95% interval 0.203 to against 0.759 m for the nominal controller in Table I. On 0.312 s). the unicycle DT-CBF violates at barrier level in every Unicycle: the axle metric hides violations. Measured cell with α ≥ 2, with a mean worst penetration of at most at the axle, all three filters have zero violations on the 0.043 m over the whole grid. unicycle. At barrier level (Table I) CT-CBF and the Hypotheses. Each verdict uses the test stated in the braking heuristic remain at 0.000 but DT-CBF violates proposal (Sec. IV); grid observations beyond it are post in 0.464 of the episodes at the default setting, with a hoc. H1 is refuted on its test: on both one-factor sweeps mean worst penetration of 0.007 m. These violations are through the default CT-CBF is at 0.00 on both plants. It present at the control instants (Table IV; Sec. VI). holds only in a weaker, post-hoc form: in the full grid CT- Joint dependence on α and ∆t. Table II and Fig. 1 give, CBF violations appear when α and ∆t are both large, plus for every cell of the grid, the barrier-level violation rate, one small-gain, large-period cell on the double integrator, the mean over seeds of the worst penetration and the mean and the dependence is not monotone (0.006 at α = 0.5 minimum clearance. CT-CBF is exactly safe on both one- against 0.000 at α = 1, 2 for ∆t = 0.2). We call it factor slices through the default (Fig. 2), but the slices partly supported. H2 is refuted on both plants. On the miss a corner. On the double integrator CT-CBF violates period sweep at α = 2 the DT-CBF rate at large ∆t is when both are large (0.270 at α = 10, ∆t = 0.1; 0.386 at above that of CT-CBF (double integrator 0.018 and 0.070 α = 10, ∆t = 0.2, mean worst penetration 0.119 m; 0.020 against 0.000 at ∆t = 0.1 and 0.2; unicycle, barrier level, at α = 5, ∆t = 0.2) and, less expectedly, at small gain 0.734 and 0.970 against 0.000), and DT-CBF is faster, with the largest period (0.006 at α = 0.5, ∆t = 0.2, 3 of not slower (7.542 versus 7.800 s at the default; Fig. 2). 500 episodes, mean worst penetration 0.073 m). The other Over the grid DT-CBF is lower than CT-CBF in one 21 double-integrator CT-CBF cells are at zero. On the double-integrator cell (α = 0.5, ∆t = 0.2, 0.000 against TABLE I Main results at α = 2, ∆t = 0.05 s, dth = 1 m (mean ± std over 5 seeds; all systems reimplemented; Nominal is the unfiltered controller, DT-CBF the method row). “violation_rate” and “min_clearance” are axle-level, “barrier_*” are measured on the controlled point (identical on the double integrator; Sec. IV); “barrier_penetration” is the deepest violation among a seed’s 100 episodes. Method Task violation_rate ↓ barrier_violation_rate ↓ time_to_goal ↓ min_clearance ↑ barrier_penetration ↓ n Nominal double_integrator 1.000 ± 0.000 1.000 ± 0.000 5.170 ± 0.002 -0.517 ± 0.016 0.759 ± 0.012 5 Braking double_integrator 0.110 ± 0.010 0.110 ± 0.010 7.480 ± 0.056 0.205 ± 0.016 0.184 ± 0.062 5 CT-CBF double_integrator 0.000 ± 0.000 0.000 ± 0.000 7.800 ± 0.094 0.205 ± 0.017 0.000 ± 0.000 5 DT-CBF double_integrator 0.008 ± 0.008 0.008 ± 0.008 7.542 ± 0.126 0.129 ± 0.013 0.000 ± 0.000 5 Nominal unicycle 1.000 ± 0.000 1.000 ± 0.000 9.938 ± 0.026 -0.519 ± 0.015 0.925 ± 0.013 5 Braking unicycle 0.000 ± 0.000 0.000 ± 0.000 12.567 ± 0.120 0.349 ± 0.006 0.000 ± 0.000 5 CT-CBF unicycle 0.000 ± 0.000 0.000 ± 0.000 11.859 ± 0.127 0.153 ± 0.001 0.000 ± 0.000 5 DT-CBF unicycle 0.000 ± 0.000 0.464 ± 0.038 11.781 ± 0.118 0.145 ± 0.001 0.007 ± 0.000 5 TABLE II Barrier-level safety over the (α, ∆t) grid; cells “violation rate / worst penetration [m] / min. clearance [m]”, means over 5 seeds (penetration: mean of each seed’s deepest violation). On the unicycle min. clearance is the axle metric (0.15 m buffer); the axle violation rate is zero in all 50 unicycle cells. Task Filter α ∆t=0.01 ∆t=0.02 ∆t=0.05 ∆t=0.1 ∆t=0.2 DI CT-CBF 0.5 0.000 / 0.000 / 0.96 0.000 / 0.000 / 0.96 0.000 / 0.000 / 0.95 0.000 / 0.000 / 0.94 0.006 / 0.073 / 0.89 DI CT-CBF 1 0.000 / 0.000 / 0.56 0.000 / 0.000 / 0.56 0.000 / 0.000 / 0.56 0.000 / 0.000 / 0.56 0.000 / 0.000 / 0.54 DI CT-CBF 2 0.000 / 0.000 / 0.20 0.000 / 0.000 / 0.20 0.000 / 0.000 / 0.20 0.000 / 0.000 / 0.21 0.000 / 0.000 / 0.21 DI CT-CBF 5 0.000 / 0.000 / 0.03 0.000 / 0.000 / 0.03 0.000 / 0.000 / 0.03 0.000 / 0.000 / 0.04 0.020 / 0.001 / 0.04 DI CT-CBF 10 0.000 / 0.000 / 0.01 0.000 / 0.000 / 0.01 0.000 / 0.000 / 0.01 0.270 / 0.002 / 0.01 0.386 / 0.119 / 0.01 DI DT-CBF 0.5 0.000 / 0.000 / 0.78 0.000 / 0.000 / 0.78 0.000 / 0.000 / 0.80 0.000 / 0.000 / 0.82 0.000 / 0.000 / 0.83 DI DT-CBF 1 0.000 / 0.000 / 0.42 0.000 / 0.000 / 0.42 0.000 / 0.000 / 0.43 0.000 / 0.000 / 0.44 0.000 / 0.000 / 0.46 DI DT-CBF 2 0.004 / 0.000 / 0.13 0.004 / 0.000 / 0.13 0.008 / 0.000 / 0.13 0.018 / 0.001 / 0.14 0.070 / 0.016 / 0.13 DI DT-CBF 5 0.078 / 0.000 / 0.02 0.108 / 0.000 / 0.01 0.222 / 0.002 / 0.01 0.402 / 0.013 / 0.01 1.000 / 0.679 / -0.18 DI DT-CBF 10 0.358 / 0.000 / 0.00 0.434 / 0.000 / 0.00 0.618 / 0.003 / 0.00 1.000 / 0.109 / -0.05 1.000 / 0.679 / -0.18 Uni CT-CBF 0.5 0.000 / 0.000 / 0.41 0.000 / 0.000 / 0.40 0.000 / 0.000 / 0.40 0.000 / 0.000 / 0.40 0.000 / 0.000 / 0.39 Uni CT-CBF 1 0.000 / 0.000 / 0.23 0.000 / 0.000 / 0.23 0.000 / 0.000 / 0.23 0.000 / 0.000 / 0.22 0.000 / 0.000 / 0.22 Uni CT-CBF 2 0.000 / 0.000 / 0.15 0.000 / 0.000 / 0.15 0.000 / 0.000 / 0.15 0.000 / 0.000 / 0.15 0.000 / 0.000 / 0.15 Uni CT-CBF 5 0.000 / 0.000 / 0.14 0.000 / 0.000 / 0.14 0.000 / 0.000 / 0.14 0.000 / 0.000 / 0.14 0.862 / 0.010 / 0.14 Uni CT-CBF 10 0.000 / 0.000 / 0.14 0.000 / 0.000 / 0.14 0.000 / 0.000 / 0.14 0.000 / 0.000 / 0.14 1.000 / 0.093 / 0.14 Uni DT-CBF 0.5 0.000 / 0.000 / 0.40 0.000 / 0.000 / 0.40 0.000 / 0.000 / 0.38 0.000 / 0.000 / 0.36 0.004 / 0.003 / 0.31 Uni DT-CBF 1 0.000 / 0.000 / 0.22 0.000 / 0.000 / 0.22 0.004 / 0.001 / 0.21 0.042 / 0.012 / 0.20 0.338 / 0.043 / 0.17 Uni DT-CBF 2 0.092 / 0.001 / 0.15 0.184 / 0.003 / 0.15 0.464 / 0.007 / 0.14 0.734 / 0.016 / 0.14 0.970 / 0.035 / 0.12 Uni DT-CBF 5 0.900 / 0.001 / 0.14 0.960 / 0.002 / 0.14 0.988 / 0.004 / 0.13 1.000 / 0.009 / 0.13 1.000 / 0.023 / 0.12 Uni DT-CBF 10 0.996 / 0.000 / 0.14 1.000 / 0.001 / 0.14 1.000 / 0.002 / 0.13 1.000 / 0.005 / 0.13 1.000 / 0.023 / 0.12 0.006) and in no unicycle cell. On the double integrator TABLE III CT-CBF is a second-order, velocity-aware condition and Gain sweep at ∆t = 0.05 s, cells “time to goal [s] / min. clearance [m]” (see Fig. 2); time to goal over episodes without a violation is our DT-CBF a first-order condition on position, and on in Table XIII. the unicycle DT-CBF constrains an Euler successor; the controls of Sec. VII (a velocity-aware discrete-time filter α CT-CBF (DI) CT-CBF (Uni) DT-CBF (DI) DT-CBF (Uni) 0.5 10.93 / 0.95 12.84 / 0.40 10.73 / 0.80 12.76 / 0.38 and an exact-successor filter, and a comparison at matched 1 8.80 / 0.56 12.17 / 0.23 8.62 / 0.43 12.09 / 0.21 conservatism) leave the verdict unchanged: the velocity- 2 7.80 / 0.20 11.86 / 0.15 7.54 / 0.13 11.78 / 0.14 aware filter is lower than CT-CBF in 1 of 25 cells and the 5 7.30 / 0.03 11.88 / 0.14 6.93 / 0.01 11.80 / 0.13 10 7.05 / 0.01 11.92 / 0.14 6.76 / 0.00 11.85 / 0.13 exact-successor filter in 0 of 25, so the refutation holds for these implementations, with the caveat that the velocity- aware filter is at zero violations for α ≤ 2 where the first- against CT-CBF). We call it partly supported (it holds order one is not. H3 is partly supported: on the double for CT-CBF). integrator time to goal and clearance fall with α for both filters (CT-CBF 10.93 to 7.05 s and 0.95 to 0.01 m from VI. Ablations and Analysis α = 0.5 to 10; Table III); on the unicycle the test fails, Table III and Fig. 2 (left) are the gain slice of the grid, since the time to goal falls from α = 0.5 to 2 (12.84 to Fig. 2 (right) the period slice; safety slices are in Table II. 11.86 s for CT-CBF) and is then slightly larger (11.88, Cells are means over 5 seeds. 11.92 s), and clearance flattens at 0.14 m. H4 fails its test Gain. Large α makes DT-CBF unsafe on the double as written, because a CBF filter violates at the default: integrator (violation rate 0.222 at α = 5 and higher at α = the heuristic violates on the double integrator (0.110) and 10, Table II and Fig. 1) while CT-CBF stays at zero on CT-CBF does not, but DT-CBF has a small non-zero this slice. On the slice the depth of the DT-CBF violations rate (0.008; 4 of 500 episodes, exact McNemar p = 0.125 is small (mean worst penetration 0.003 m at α = 10), so the binary violation rate overstates the physical severity min. clearance [m] (Uni) min. clearance [m] (DI) min. clearance [m] (Uni) min. clearance [m] (DI) 11 1.00 time to goal [s] (DI) 0.225 time to goal [s] (DI) CT-CBF violation rate (DI) CT-CBF violation rate (DI) 0.6 0.075 7.75 DT-CBF 10 0.75 DT-CBF 0.200 0.4 0.050 7.50 9 0.50 0.175 7.25 0.150 0.2 8 0.25 0.025 7 7.00 0.125 0.0 0.00 0.000 100 101 100 101 100 101 10−2 10−1 10−2 10−1 10−2 10−1 1.00 time to goal [s] (Uni) time to goal [s] (Uni) 1.00 0.4 12.2 violation rate (Uni) violation rate (Uni) 0.15 0.75 0.75 12.0 12.5 0.3 0.14 0.50 0.50 11.8 0.13 0.25 12.0 0.2 0.25 0.00 0.00 11.6 0.12 100 101 100 101 100 101 10−2 10−1 10−2 10−1 10−2 10−1 class-K gain α class-K gain α class-K gain α control period Δt [s] control period Δt [s] control period Δt [s] Fig. 2. Effect of α at ∆t = 0.05 s (left) and of the control period ∆t at α = 2 (right); mean ± sample std over seeds, violation rate at barrier level. there compared with the braking heuristic (0.184 m at ahead point is inside the inflated obstacle at the samples the default). Period. On the slice at α = 2 CT-CBF is themselves. Their mean worst penetration grows with ∆t insensitive to ∆t up to 0.2 s, while DT-CBF’s violation (0.001, 0.002, 0.004, 0.009, 0.023 m at α = 5, Table II). rate goes from 0.004 at ∆t ≤ 0.02 to 0.070 at 0.2; the The exact-successor variant (Sec. VII) has no violation at steps up to ∆t = 0.1 are within the seed spread shown in the default setting and no at-sample violation in almost Fig. 2, and the last step (0.018 to 0.070) exceeds it. all cells, so these violations are an artefact of the Euler Between samples or at samples? Table IV separates successor of the look-ahead point used by the filter, not episodes with a barrier-level violation at any 0.005 s check of the discrete-time condition. from episodes with one at the control sample instants, with Threshold. The braking heuristic’s violations fall with the same 10−9 m tolerance. Double integrator, DT-CBF. dth (Table V) and reach zero at dth = 2 on the double The at-sample rate is 0.000 in every cell of Table IV except integrator, but there the success rate is 0.970, and since α = 10, ∆t = 0.2 (0.002, one episode in 500), including a timeout counts as 30 s this raises its time to goal the saturated cells where the any-time rate is 1.000. All (9.11 s). Obstacle selection. Choosing the nearest obstacle other violations of this filter, the deep ones at α∆t ≥ 1 instead of the most critical one raises the double-integrator included, therefore occur between samples: the robot is violation rate of CT-CBF from 0.00 to 0.81 and leaves outside the obstacles at the samples and the zero-order- that of DT-CBF at 0.01 (Table VI). For CT-CBF this hold path dips inside in between. With γ = 1 the condition choice changes safety far more than ∆t does at the default only requires the successor to be on the boundary; the gain. It is a property of the one-constraint rule: the three- diagnostic runs of Sec. VII show that a velocity-aware constraint QP (CT-QP3, Sec. VII) has no violation at the discrete-time condition does not remove the dips, so the default setting (0 of 500 episodes) and equals CT-CBF cause remains not isolated. For α∆t < 1 the any-time with the most-critical rule in the violation rate of 23 of rate is highest at α = 10, ∆t = 0.05 (Fig. 1) and the 25 grid cells, at a longer time to goal. mean worst penetration up to 0.016 m (α = 2, ∆t = 0.2, VII. Controls, Remedies and Checks Table II); it is 0.000 m at three decimals for ∆t ≤ 0.05 (0.0004 m at ∆t = 0.05). At ∆t = 0.005 s, equal to the Does the CT-CBF failure region follow α∆t? Table VII plant step, the 0.005 s check has no between-sample points adds cells that hold the product fixed while α and ∆t and its rate is 0.000 for α = 2, 5, 10; the exact continuous- vary (α = p/∆t for p ∈ {0.4, 0.8, 1, 2}, 20 cells per plant path check of Sec. VII shows violations there (0.002, 0.060 and filter, 5 seeds each; some coincide with cells of the and 0.270), so the zero rate was an effect of the check original grid). Together with the original grid there are 41 resolution. The single at-sample episode is investigated distinct cells per plant and filter. Double integrator. CT- in Sec. VII: the violated obstacle was not the selected CBF violates in 14 of them: in all 10 cells with α∆t ≥ 1 one. Double integrator, CT-CBF. Among the gains of and in 4 cells with α∆t < 1 (α = 0.5, ∆t = 0.2, and Table IV it violates at samples only at α = 10 (0.018 the cells α = 40, ∆t = 0.01, α = 40, ∆t = 0.02 and α = of 0.270 at ∆t = 0.1, 0.184 of 0.386 at ∆t = 0.2); at 80, ∆t = 0.01, with rates 0.016, 0.020 and 0.172). At fixed α = 5, ∆t = 0.2 its violations (0.020) are between samples α∆t = 1 the rate falls from 0.862 at ∆t = 0.01 to 0.020 only. The cell α = 0.5, ∆t = 0.2, not in Table IV, also has at ∆t = 0.2, so the failure region is not a function of the at-sample violations in the run registry (investigated in product alone. Unicycle. CT-CBF violates in 7 of 41 cells: Sec. VII). Unicycle. For DT-CBF the two rates coincide in 6 of the 10 cells with α∆t ≥ 1 (all cells at α∆t = 2 in every cell of Table IV but one (0.734 against 0.732); and the ∆t = 0.2 cell at α∆t = 1, 0.862) and in 1 cell over the full grid they also differ at α = 1 (0.042 against below 1 (α = 4, ∆t = 0.2, 0.066); the 4 cells at α∆t = 1 0.040 at ∆t = 0.1; 0.338 against 0.330 at ∆t = 0.2). The with ∆t ≤ 0.1 are at zero. On the original 5 × 5 grid the violations remain at ∆t = 0.005 s (0.034, 0.826 and 0.992 CT-CBF violating cells are 4 on the double integrator (1 for α = 2, 5, 10): they are not inter-sample dips, the look- of them below 1) and 2 on the unicycle (none below 1). TABLE IV Violation rate at any 0.005 s check / at control sample instants only (barrier level, tolerance 10−9 m), means over 5 seeds. ∆t = 0.005 s equals the plant step. Unicycle CT-CBF (not shown) is at 0.000 / 0.000 for ∆t ≤ 0.1 including 0.005, and both rates equal the Table II rate at ∆t = 0.2. Task Filter α ∆t=0.005 ∆t=0.01 ∆t=0.02 ∆t=0.05 ∆t=0.1 ∆t=0.2 DI CT-CBF 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI CT-CBF 5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.020 / 0.000 DI CT-CBF 10 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.270 / 0.018 0.386 / 0.184 DI DT-CBF 2 0.000 / 0.000 0.004 / 0.000 0.004 / 0.000 0.008 / 0.000 0.018 / 0.000 0.070 / 0.000 DI DT-CBF 5 0.000 / 0.000 0.078 / 0.000 0.108 / 0.000 0.222 / 0.000 0.402 / 0.000 1.000 / 0.000 DI DT-CBF 10 0.000 / 0.000 0.358 / 0.000 0.434 / 0.000 0.618 / 0.000 1.000 / 0.000 1.000 / 0.002 Uni DT-CBF 2 0.034 / 0.034 0.092 / 0.092 0.184 / 0.184 0.464 / 0.464 0.734 / 0.732 0.970 / 0.970 Uni DT-CBF 5 0.826 / 0.826 0.900 / 0.900 0.960 / 0.960 0.988 / 0.988 1.000 / 1.000 1.000 / 1.000 Uni DT-CBF 10 0.992 / 0.992 0.996 / 0.996 1.000 / 1.000 1.000 / 1.000 1.000 / 1.000 1.000 / 1.000 TABLE V residual 1.79 × 10−15 m). Counts. Relative to CT-CBF, Braking threshold sweep, cells “violation rate / worst penetration DT-CBF has a lower grid-cell violation rate in 1 double- [m] / success rate / time to goal [s]” (barrier level). integrator and 0 unicycle cells of 25 (equal in 9 and 7, dth Braking (DI) Braking (Uni) higher in 15 and 18); DT-HOCBF has a lower rate in 1 0.25 1.00 / 0.657 / 1.000 / 6.50 0.00 / 0.000 / 1.000 / 11.97 cell, equal in 14 and higher in 10; DT-CBF-exact lower in 0.5 0.87 / 0.531 / 1.000 / 7.03 0.00 / 0.000 / 1.000 / 12.10 1 0.11 / 0.184 / 1.000 / 7.48 0.00 / 0.000 / 1.000 / 12.57 0, equal in 15, higher in 10. 2 0.00 / 0.000 / 0.970 / 9.11 0.00 / 0.000 / 1.000 / 13.43 Matched conservatism. Equal α does not give equal conservatism, so Table IX and Fig. 3 compare filters along TABLE VI the fine α sweep (10 gains from 0.5 to 10, ∆t = 0.05 Obstacle selection (double integrator, α = 2, ∆t = 0.05), cells and 0.2; interpolated linearly in log α), against CT-CBF “violation rate / worst penetration [m] / time to goal [s]”. at α = 2, either at equal mean time to goal or (double integrator) at equal mean minimum clearance. On the System Task sel=nearest sel=critical CT-CBF DI 0.81 / 0.666 / 6.63 0.00 / 0.000 / 7.80 double integrator at ∆t = 0.05, DT-CBF at equal time DT-CBF DI 0.01 / 0.000 / 7.33 0.01 / 0.000 / 7.54 to goal (α = 1.59) violates in 0.005 of the episodes against 0.000 for CT-CBF, and DT-HOCBF at equal time (α = 1.38) in 0.000. At equal clearance DT-HOCBF The grid corner of the first round is therefore mostly the (α = 2.01) reaches the goal in 7.40 s against 7.80 s for CT- known γ = α∆t ≥ 1 breakdown of a sampled first-order CBF, with violation rate 0.000; at ∆t = 0.2 it takes 6.40 s decay (Sec. III, [1]); the product is a good but not an exact against 7.78 s with violation rate 0.004. DT-CBF at equal predictor of CT-CBF violations on either plant. DT-CBF clearance violates in 0.033 of the episodes at ∆t = 0.2. violates in 31 of the 41 cells on the double integrator and On the unicycle DT-CBF at equal time to goal violates 35 on the unicycle, 21 and 25 of them with α∆t < 1, in 0.156 (∆t = 0.05) and 0.277 (∆t = 0.2) of the episodes since its condition is not a decay of a sampled barrier but against 0.000 for CT-CBF; for DT-CBF-exact the CT- a one-step condition that does not bound the path. CBF time to goal is outside the swept gains (marked out Controls for the CT-versus-DT comparison. Table VIII of range). The unicycle clearance metric is the axle metric gives, on the same 5 × 5 grid, DT-HOCBF on the double with the 0.15 m buffer and does not discriminate, so only integrator (a velocity-aware discrete-time condition), DT- the time match is given there. CBF-exact on the unicycle (the exact executed successor), Sampled-data remedies. CT-CBF-margin (Table VIII) and the two remedies below. Order. DT-HOCBF is at lowers the double-integrator CT-CBF rate at α = 10, ∆t = zero violations in all 15 cells with α ≤ 2 (DT-CBF: 0.004 0.2 from 0.386 to 0.094 but not at α = 5, ∆t = 0.2 (0.020, to 0.070 at α = 2 for ∆t = 0.01 to 0.2), but not at as for CT-CBF) or at α = 10, ∆t = 0.1 (0.240 against α = 5, 10: 0.140 at α = 5, ∆t = 0.1 and 1.000 at α = 0.270), and leaves 0.004 at α = 0.5, ∆t = 0.2 (CT-CBF 5, ∆t = 0.2, with mean worst penetration 0.436 m there; 0.006); it has a lower rate than CT-CBF in 3 of 25 double- at α∆t ≥ 1 it dips between samples as DT-CBF does. integrator cells and in 1 of 25 unicycle cells, and a higher Successor. DT-CBF-exact has no violation at the default one in none. On the unicycle the gain cap does not remove setting (Table XI; DT-CBF: 232 of 500 episodes) and is the ∆t = 0.2 failures (0.862 at α = 5, 0.862 at α = at zero in 14 of 25 cells (α ≤ 1, and α = 2 for ∆t ≤ 10): this is consistent with the Euler-versus-arc mismatch 0.1); the violations that remain at larger α∆t are mostly seen for DT-CBF (with γ = 1 the model puts the point between samples (at-sample rate at most 0.010 in any exactly on the boundary), which we did not isolate for this single run, Table XVIII). The at-sample violations of DT- filter. CT-QP3 changes only the double-integrator cells CBF on the unicycle at moderate α∆t are therefore an α = 0.5, ∆t = 0.2 (0.006 to 0.000) and α = 5, ∆t = 0.2 artefact of the Euler successor, not a property of a discrete- (0.020 to 0.006), lower in 2 cells and never higher, and is time condition; the solver converged in every call (largest identical to CT-CBF in the rates of all 25 unicycle cells; TABLE VII Barrier-level violation rate (mean over 5 seeds) for cells with the product α∆t held fixed; α = α∆t/∆t in each cell (e.g. α∆t = 1, ∆t = 0.01 is α = 100). Task Filter α∆t ∆t=0.01 ∆t=0.02 ∆t=0.05 ∆t=0.1 ∆t=0.2 DI CT-CBF 0.4 0.016 0.000 0.000 0.000 0.000 DI CT-CBF 0.8 0.172 0.020 0.000 0.000 0.000 DI CT-CBF 1 0.862 0.824 0.646 0.270 0.020 DI CT-CBF 2 0.056 0.512 0.496 0.412 0.386 DI DT-CBF 0.4 0.856 0.750 0.482 0.260 0.070 DI DT-CBF 0.8 0.818 0.856 0.780 0.644 0.444 DI DT-CBF 1 0.982 0.998 1.000 1.000 1.000 DI DT-CBF 2 0.982 0.998 1.000 1.000 1.000 Uni CT-CBF 0.4 0.000 0.000 0.000 0.000 0.000 Uni CT-CBF 0.8 0.000 0.000 0.000 0.000 0.066 Uni CT-CBF 1 0.000 0.000 0.000 0.000 0.862 Uni CT-CBF 2 1.000 1.000 1.000 1.000 1.000 Uni DT-CBF 0.4 1.000 1.000 1.000 0.996 0.970 Uni DT-CBF 0.8 1.000 1.000 1.000 1.000 1.000 Uni DT-CBF 1 1.000 1.000 1.000 1.000 1.000 Uni DT-CBF 2 1.000 1.000 1.000 1.000 1.000 TABLE VIII Controls and remedies on the 5 × 5 grid, cells “barrier-level violation rate / worst penetration [m]”, means over 5 seeds (DT-HOCBF: velocity-aware discrete-time, double integrator; DT-CBF-exact: exact executed successor, unicycle; CT-CBF-margin: Breeden-style gain cap and margin; CT-QP3: three-constraint QP). Task Filter α ∆t=0.01 ∆t=0.02 ∆t=0.05 ∆t=0.1 ∆t=0.2 DI DT-HOCBF 0.5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI DT-HOCBF 1 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI DT-HOCBF 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI DT-HOCBF 5 0.010 / 0.000 0.034 / 0.000 0.072 / 0.000 0.140 / 0.000 1.000 / 0.436 DI DT-HOCBF 10 0.162 / 0.000 0.286 / 0.000 0.452 / 0.000 0.990 / 0.040 1.000 / 0.440 DI CT-CBF-margin 0.5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.004 / 0.123 DI CT-CBF-margin 1 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI CT-CBF-margin 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI CT-CBF-margin 5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.020 / 0.001 DI CT-CBF-margin 10 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.240 / 0.002 0.094 / 0.073 DI CT-QP3 0.5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI CT-QP3 1 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI CT-QP3 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 DI CT-QP3 5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.006 / 0.000 DI CT-QP3 10 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.270 / 0.002 0.386 / 0.119 Uni DT-CBF-exact 0.5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni DT-CBF-exact 1 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni DT-CBF-exact 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.054 / 0.002 Uni DT-CBF-exact 5 0.058 / 0.000 0.172 / 0.000 0.544 / 0.000 0.962 / 0.001 1.000 / 0.015 Uni DT-CBF-exact 10 0.874 / 0.000 0.974 / 0.000 1.000 / 0.000 1.000 / 0.004 1.000 / 0.015 Uni CT-CBF-margin 0.5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni CT-CBF-margin 1 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni CT-CBF-margin 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni CT-CBF-margin 5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.862 / 0.010 Uni CT-CBF-margin 10 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.862 / 0.010 Uni CT-QP3 0.5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni CT-QP3 1 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni CT-QP3 2 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 Uni CT-QP3 5 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.862 / 0.010 Uni CT-QP3 10 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 0.000 / 0.000 1.000 / 0.093 it does not change the α∆t ≥ 1 failures (α = 10: 0.270 distinguishable from chance (exact p = 0.125; none the and 0.386 at ∆t = 0.1 and 0.2). At the default setting other way), the heuristic violates in 54 episodes in which it has no violation but takes 8.50 s against 7.80 s on the DT-CBF does not (against 3 the other way), and DT-CBF double integrator (Table X). Neither remedy removes the is faster than CT-CBF by 0.258 s (95% interval 0.203 to α∆t ≥ 1 corner. 0.312 s over episodes). On the unicycle DT-CBF violates in 232 episodes in which CT-CBF does not (none the other Episode-level analysis. Table XII gives tests on the 500 way). Violation rates in the text have exact 95% intervals paired episodes of each comparison (identical scenarios; 5 (Tables X, XI): for example CT-CBF at α = 0.5, ∆t = 0.2 seeds×100 episodes): the exact McNemar test on episodes violates in 3 of 500 episodes (interval 0.0012 to 0.0174), that violate under one filter only, and the paired t-test DT-CBF at α = 2, ∆t = 0.2 in 35 (0.049 to 0.096). on time to goal. On the double integrator the 4 episodes in which DT-CBF violates and CT-CBF does not are not Time to goal over safe episodes. Time to goal in the TABLE IX Comparison at matched conservatism along the fine α sweep, against CT-CBF with α = 2 at the same ∆t. “time” columns: the filter’s gain at which its mean time to goal equals the reference’s, with the violation rate and time there; “clear.”: same for equal mean minimum clearance (double integrator only). Task ∆t Filter α (time) viol. (time) time [s] α (clear.) viol. (clear.) time [s] DI 0.05 reference CT-CBF α = 2 viol. 0.000, time 7.80 s, clearance 0.205 m DI 0.05 DT-CBF 1.59 0.005 7.80 1.62 0.005 7.78 DI 0.05 DT-HOCBF 1.38 0.000 7.80 2.01 0.000 7.40 DI 0.05 CT-CBF-margin 2.00 0.000 7.80 2.00 0.000 7.80 DI 0.05 CT-QP3 2.96 0.000 7.80 2.11 0.000 8.40 DI 0.2 reference CT-CBF α = 2 viol. 0.000, time 7.78 s, clearance 0.212 m DI 0.2 DT-CBF 1.12 0.003 7.78 1.68 0.033 7.10 DI 0.2 DT-HOCBF 0.82 0.000 7.78 2.16 0.004 6.40 DI 0.2 CT-CBF-margin 2.02 0.000 7.78 2.02 0.000 7.78 DI 0.2 CT-QP3 2.99 0.000 7.78 2.21 0.000 8.31 Uni 0.05 reference CT-CBF α = 2 viol. 0.000, time 11.86 s, clearance 0.153 m Uni 0.05 DT-CBF 1.50 0.156 11.86 n/a n/a n/a Uni 0.05 DT-CBF-exact out of range – – n/a n/a n/a Uni 0.05 CT-CBF-margin 2.00 0.000 11.86 n/a n/a n/a Uni 0.05 CT-QP3 1.95 0.000 11.86 n/a n/a n/a Uni 0.2 reference CT-CBF α = 2 viol. 0.000, time 12.04 s, clearance 0.153 m Uni 0.2 DT-CBF 0.93 0.277 12.04 n/a n/a n/a Uni 0.2 DT-CBF-exact out of range – – n/a n/a n/a Uni 0.2 CT-CBF-margin 2.00 0.000 12.04 n/a n/a n/a Uni 0.2 CT-QP3 1.73 0.000 12.04 n/a n/a n/a TABLE X Default setting (α = 2, ∆t = 0.05 s), double integrator, 5 seeds×100 episodes. “viol. episodes”: episodes whose exact continuous path enters an obstacle (tolerance 10−9 m), with exact (Clopper–Pearson) 95% interval; time to goal over all episodes and over episodes without violation only; “worst pen.” and the last column are means over seeds. System viol. episodes of 500 exact 95% interval worst pen. [m] time, all [s] time, safe [s] safe episodes per 100 Nominal 500 [0.993, 1.000] 0.759 5.17 n/a 0.0 Braking 55 [0.084, 0.141] 0.184 7.48 7.40 89.0 CT-CBF 0 [0.000, 0.007] 0.000 7.80 7.80 100.0 DT-CBF 4 [0.002, 0.020] 0.000 7.54 7.51 99.2 DT-HOCBF 0 [0.000, 0.007] 0.000 7.40 7.40 100.0 CT-CBF-margin 0 [0.000, 0.007] 0.000 7.80 7.80 100.0 CT-QP3 0 [0.000, 0.007] 0.000 8.50 8.50 100.0 TABLE XI As Table X, unicycle (violation: the look-ahead point enters the inflated obstacle at a 0.005 s check). System viol. episodes of 500 exact 95% interval worst pen. [m] time, all [s] time, safe [s] safe episodes per 100 Nominal 500 [0.993, 1.000] 0.925 9.94 n/a 0.0 Braking 0 [0.000, 0.007] 0.000 12.57 12.57 100.0 CT-CBF 0 [0.000, 0.007] 0.000 11.86 11.86 100.0 DT-CBF 232 [0.420, 0.509] 0.007 11.78 11.24 53.6 DT-CBF-exact 0 [0.000, 0.007] 0.000 11.90 11.90 100.0 CT-CBF-margin 0 [0.000, 0.007] 0.000 11.86 11.86 100.0 CT-QP3 0 [0.000, 0.007] 0.000 11.85 11.85 100.0 earlier tables averages over episodes that drove through an of the violating hold and at the sample before; the filter’s obstacle. Tables X, XI and XIII give it also over episodes constraints for all three obstacles are satisfied at the hold without violation. For DT-CBF the all-episode time at start (0 episodes with a negative residual; the violated large α∆t mixes safe and unsafe episodes: on the double obstacle’s residual is at most 1.13 in magnitude). At the integrator at ∆t = 0.05 the all-episode time at α = 10 hold start the robot is 0.015 to 0.064 m from the boundary, is 6.76 s with 38.2 safe episodes per 100 and 5.96 s over approaching at 0.25 to 0.63 m/s. The same scenarios with those, against 7.05 s for CT-CBF; at ∆t = 0.2, α = 5 each obstacle alone give no violation, and CT-QP3 gives and 10 have no safe episode at all (time 5.79 s over unsafe none, so the violation is not an omitted-constraint failure episodes only). at the hold start; it appears only with all three obstacles The unexplained cells, investigated. Table XIV re- present, and we did not isolate why. Single at-sample ports dedicated diagnostic runs (pooled over 5 seeds×100 episode of DT-CBF (α = 10, ∆t = 0.2). It is 1 episode; episodes) with the selected obstacle, the violated obstacle the violated obstacle was not the selected one (1 of 1) and the own-constraint residual at the start of the violat- and the violated obstacle’s one-step residual was −0.014, ing hold. CT-CBF at α = 0.5, ∆t = 0.2. 3 of 500 episodes so this violation is an omitted-constraint failure of the one- violate, 3 of them at obstacle 3 (the last obstacle on the active-constraint rule; DT-HOCBF shows the same in 2 path), which was also the selected obstacle at the start of its 2 at-sample episodes. Depth of the dips at γ = 1. TABLE XII Paired episode-level comparisons at the default setting (500 paired episodes per task; first column pair: episodes in which only the first, respectively only the second filter violates). Task Pair (first vs second) only first / only second violates McNemar exact p time-to-goal difference first − second [s] (95% CI) paired t p DI CT-CBF vs DT-CBF 0/4 0.1250 0.258 [0.203, 0.312] 2.642 × 10−19 DI Braking vs DT-CBF 54 / 3 4.290 × 10−13 -0.062 [-0.116, -0.009] 0.0233 DI DT-CBF vs DT-HOCBF 4/0 0.1250 0.142 [0.091, 0.193] 6.082 × 10−8 DI CT-CBF vs CT-CBF-margin 0/0 1.0000 0.000 [-0.013, 0.013] 1.0000 DI CT-CBF vs CT-QP3 0/0 1.0000 -0.696 [-0.751, -0.642] 7.044 × 10−91 Uni CT-CBF vs DT-CBF 0 / 232 2.898 × 10−70 0.079 [0.070, 0.087] 2.434 × 10−55 Uni Braking vs DT-CBF 0 / 232 2.898 × 10−70 0.787 [0.728, 0.846] 1.412 × 10−95 Uni DT-CBF vs DT-CBF-exact 232 / 0 2.898 × 10−70 -0.118 [-0.126, -0.110] 1.260 × 10−111 Uni CT-CBF vs CT-CBF-margin 0/0 1.0000 0.000 [0.000, 0.000] n/a Uni CT-CBF vs CT-QP3 0/0 1.0000 0.007 [0.001, 0.013] 0.0308 TABLE XIII Time to goal [s] over all episodes / over episodes without violation / safe episodes per 100 (means over 5 seeds; n/a: no safe episode in any seed), gain slices at ∆t = 0.05 and 0.2 s. ∆t α CT-CBF (DI) DT-CBF (DI) CT-CBF (Uni) DT-CBF (Uni) 0.05 0.5 10.93 / 10.93 / 100.0 10.73 / 10.73 / 100.0 12.84 / 12.84 / 100.0 12.76 / 12.76 / 100.0 0.05 1 8.80 / 8.80 / 100.0 8.62 / 8.62 / 100.0 12.17 / 12.17 / 100.0 12.09 / 12.08 / 99.6 0.05 2 7.80 / 7.80 / 100.0 7.54 / 7.51 / 99.2 11.86 / 11.86 / 100.0 11.78 / 11.24 / 53.6 0.05 5 7.30 / 7.30 / 100.0 6.93 / 6.56 / 77.8 11.88 / 11.88 / 100.0 11.80 / 10.55 / 1.2 0.05 10 7.05 / 7.05 / 100.0 6.76 / 5.96 / 38.2 11.92 / 11.92 / 100.0 11.85 / n/a / 0.0 0.2 0.5 10.59 / 10.59 / 99.4 10.15 / 10.15 / 100.0 12.98 / 12.98 / 100.0 12.64 / 12.63 / 99.6 0.2 1 8.68 / 8.68 / 100.0 8.05 / 8.05 / 100.0 12.31 / 12.31 / 100.0 11.99 / 11.59 / 66.2 0.2 2 7.78 / 7.78 / 100.0 6.93 / 6.81 / 93.0 12.04 / 12.04 / 100.0 11.69 / 10.47 / 3.0 0.2 5 7.40 / 7.35 / 98.0 5.79 / n/a / 0.0 12.17 / 12.25 / 13.8 11.85 / n/a / 0.0 0.2 10 7.26 / 6.82 / 61.4 5.79 / n/a / 0.0 13.07 / n/a / 0.0 11.85 / n/a / 0.0 DI, Δt=0.05 s DI, Δt=0.2 s Collision checking independent of the control period. For 0.6 CT-CBF 1.0 0.5 DT-CBF the double integrator the path in each hold is an exact DT-HOCBF 0.8 CT-CBF-margin quartic in time, so its minimum clearance is computed in violation rate violation rate 0.4 CT-QP3 0.6 0.3 0.4 closed form (Tables XVI, XV). Against the 0.005 s check 0.2 0.1 0.2 the exact path gives the same rate in almost every cell 0.0 7 8 9 10 11 12 13 0.0 6 7 8 9 10 11 12 13 (Table XVI); it differs for DT-HOCBF at ∆t = 0.01 (0.024 time to goal [s] time to goal [s] against 0.010 at α = 5, 0.190 against 0.162 at α = 10) and Uni, Δt=0.05 s Uni, Δt=0.2 s 1.0 1.0 the worst penetration of DT-CBF at α = 5, 10, ∆t = 0.2 0.8 0.8 is 0.681 m on the exact path against 0.679 m. The probe violation rate violation rate 0.6 0.6 with ∆t = 0.005 s, which equals the check interval and 0.4 0.4 so showed no violation in round 1, does show violations 0.2 0.2 on the exact path: DT-CBF 0.002, 0.060 and 0.270 of the 0.0 0.0 11.75 12.00 12.25 12.50 12.75 13.00 13.25 13.50 11.75 12.00 12.25 12.50 12.75 13.00 13.25 13.50 episodes at α = 2, 5, 10, with a mean worst penetration time to goal [s] time to goal [s] of at most 0.00003 m (none at the 10−4 m tolerance); CT- CBF has none. The earlier statement that the between- Fig. 3. Violation rate against time to goal along the α sweep (α = 0.5 to 10) for each filter, ∆t = 0.05 and 0.2 s (double integrator: violation sample violations are absent at ∆t equal to the plant of the exact continuous path; unicycle: 0.005 s check). step was therefore an effect of the check resolution, not a property of the filter. For the unicycle, refining the plant step and check interval from 0.005 to 0.001 and 0.0005 s In all 500 episodes of DT-CBF at α = 5, ∆t = 0.2 the leaves every rate and depth of Table XVIII unchanged violated obstacle is the selected one and its residual at (the midpoint heading rule is exact for a constant input, the hold start is non-negative: the condition holds at the so only the check interval changes). Tolerance. Table XVII sample and the path dips between samples. The median gives the rates at 10−9 , 10−4 and 10−3 m. Many small DT- depth is 0.129 m at a median approach speed of 3.79 m/s, CBF rates vanish at the larger tolerances: on the double i.e. 0.27 of the distance travelled in one period; the rank integrator DT-CBF at α = 2, ∆t = 0.05 goes from 0.008 correlation of depth with approach speed is only 0.24. The to 0.006 and 0.000; at α = 5, ∆t = 0.01 from 0.078 to velocity-aware DT-HOCBF still violates in all 500 of these 0.000 and 0.000. Large rates are not tolerance artefacts: episodes (median depth 0.120 m, rank correlation 0.46), so DT-CBF at α = 5, ∆t = 0.2 stays at 0.996 at 10−3 m, a missing velocity term does not by itself explain the deep and on the unicycle DT-CBF at the default stays at 0.424 dips at γ = 1; we have not isolated a cause beyond the (from 0.464). successor being placed on the boundary. TABLE XIV Diagnostic runs, double integrator, pooled over 5 seeds×100 episodes. “selected = violated”: the obstacle whose constraint the filter enforced at the start of the violating hold is the one violated; residual: the filter’s own constraint evaluated on the applied input at that sample (CT: HOCBF slack; DT: successor distance minus one-step radius). Filter Setting viol. episodes (of 500) sel. = viol. prev. sample sel. = viol. any resid. < 0 at-sample episodes median depth [m] max depth [m] Spearman, depth vs speed CT-CBF α = 0.5, ∆t = 0.2 3 3 3 0 3 0.0888 0.250 0.50 only obstacle 1 same, obstacle 1 alone 0 n/a n/a n/a 0 n/a n/a n/a only obstacle 2 same, obstacle 2 alone 0 n/a n/a n/a 0 n/a n/a n/a only obstacle 3 same, obstacle 3 alone 0 n/a n/a n/a 0 n/a n/a n/a CT-QP3 α = 0.5, ∆t = 0.2 0 n/a n/a n/a 0 n/a n/a n/a DT-CBF α = 5, ∆t = 0.2 500 500 500 0 0 0.1291 0.770 0.24 DT-CBF α = 10, ∆t = 0.2 500 500 497 0 1 0.1291 0.770 0.24 DT-CBF α = 10, ∆t = 0.1 500 500 500 0 0 0.0433 0.114 0.21 DT-HOCBF α = 5, ∆t = 0.2 500 500 500 0 0 0.1203 0.487 0.46 DT-HOCBF α = 10, ∆t = 0.2 500 500 496 0 2 0.1177 0.498 0.45 DT-HOCBF α = 10, ∆t = 0.1 495 495 495 0 0 0.0076 0.045 0.43 TABLE XV Double integrator, ∆t = 0.005 s (equal to the plant step): violation rate by the 0.005 s check and by the exact continuous path (tolerance −9 −4 10 m, and 10 m), and mean worst penetration on the exact path. Filter α rate, 0.005 s check rate, continuous path continuous, tol. 10−4 m worst pen. [m] CT-CBF 2 0.000 0.000 0.000 0.00000 CT-CBF 5 0.000 0.000 0.000 0.00000 CT-CBF 10 0.000 0.000 0.000 0.00000 DT-CBF 2 0.000 0.002 0.000 0.00000 DT-CBF 5 0.000 0.060 0.000 0.00001 DT-CBF 10 0.000 0.270 0.000 0.00003 DT-HOCBF 2 0.000 0.000 0.000 0.00000 DT-HOCBF 5 0.000 0.012 0.000 0.00000 DT-HOCBF 10 0.000 0.146 0.000 0.00000 TABLE XVI Double integrator: 0.005 s check against the exact continuous path, cells “rate by check / rate on exact path / worst penetration by check [m] / worst penetration on exact path [m]”, means over 5 seeds. Filter α ∆t=0.01 ∆t=0.02 ∆t=0.05 ∆t=0.1 ∆t=0.2 CT-CBF 0.5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.006 / 0.006 / 0.073 / 0.073 CT-CBF 1 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-CBF 2 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-CBF 5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.020 / 0.020 / 0.001 / 0.001 CT-CBF 10 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.270 / 0.270 / 0.002 / 0.002 0.386 / 0.386 / 0.119 / 0.119 DT-CBF 0.5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 DT-CBF 1 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 DT-CBF 2 0.004 / 0.004 / 0.000 / 0.000 0.004 / 0.004 / 0.000 / 0.000 0.008 / 0.008 / 0.000 / 0.000 0.018 / 0.018 / 0.001 / 0.001 0.070 / 0.070 / 0.016 / 0.016 DT-CBF 5 0.078 / 0.078 / 0.000 / 0.000 0.108 / 0.108 / 0.000 / 0.000 0.222 / 0.222 / 0.002 / 0.002 0.402 / 0.402 / 0.013 / 0.013 1.000 / 1.000 / 0.679 / 0.681 DT-CBF 10 0.358 / 0.358 / 0.000 / 0.000 0.434 / 0.434 / 0.000 / 0.000 0.618 / 0.618 / 0.003 / 0.003 1.000 / 1.000 / 0.109 / 0.109 1.000 / 1.000 / 0.679 / 0.681 DT-HOCBF 0.5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 DT-HOCBF 1 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 DT-HOCBF 2 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 DT-HOCBF 5 0.010 / 0.024 / 0.000 / 0.000 0.034 / 0.034 / 0.000 / 0.000 0.072 / 0.072 / 0.000 / 0.000 0.140 / 0.140 / 0.000 / 0.000 1.000 / 1.000 / 0.436 / 0.437 DT-HOCBF 10 0.162 / 0.190 / 0.000 / 0.000 0.286 / 0.286 / 0.000 / 0.000 0.452 / 0.452 / 0.000 / 0.000 0.990 / 1.000 / 0.040 / 0.040 1.000 / 1.000 / 0.440 / 0.441 CT-CBF-margin 0.5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.004 / 0.004 / 0.123 / 0.123 CT-CBF-margin 1 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-CBF-margin 2 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-CBF-margin 5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.020 / 0.020 / 0.001 / 0.001 CT-CBF-margin 10 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.240 / 0.240 / 0.002 / 0.002 0.094 / 0.094 / 0.073 / 0.073 CT-QP3 0.5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-QP3 1 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-QP3 2 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 CT-QP3 5 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.006 / 0.006 / 0.000 / 0.000 CT-QP3 10 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 / 0.000 0.270 / 0.270 / 0.002 / 0.002 0.386 / 0.386 / 0.119 / 0.119 VIII. Limitations of [5], solved by alternating projections rather than as an exact minimum-norm problem) and an exact-successor This is a small CPU study: two plants, one ran- unicycle filter; the first removes the violations for α ≤ 2, domised scenario family with three circular obstacles, 5 the second the at-sample violations at moderate α∆t, and seeds of 100 episodes, no input limits, no disturbance neither removes the violations at α∆t ≥ 1. The Breeden- or model mismatch. All filters are our reimplementations style margin uses an estimated, not a certified, bound with untuned design choices (critical-obstacle selection on (no input bounds exist), and reduces to a gain cap on the double integrator, nearest-obstacle selection on the the unicycle; the multi-constraint QP is implemented for unicycle, heuristic gain Kb ) that affect the conclusions, the continuous-time filter only. Remaining unexplained as the nearest-obstacle ablation shows. Design order. On effects. Diagnostic runs (Sec. VII) show that the single the double integrator CT-CBF is a second-order condition at-sample episode at α = 10, ∆t = 0.2 is an omitted- that uses the velocity and DT-CBF a first-order condition constraint violation and that the unicycle at-sample vi- on position, so “DT-CBF is not safer” is a statement about olations are an Euler-successor artefact. They do not these two implementations. Round 2 adds a velocity-aware isolate why the inter-sample dips of DT-CBF are deep discrete-time filter (our own construction, not the one TABLE XVII Violation rate at tolerance 10−9 / 10−4 / 10−3 m (double integrator: exact continuous path; unicycle: 0.005 s check at barrier level), means over 5 seeds. Task Filter α ∆t=0.01 ∆t=0.02 ∆t=0.05 ∆t=0.1 ∆t=0.2 DI CT-CBF 0.5 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.006 / 0.006 / 0.006 DI CT-CBF 1 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 DI CT-CBF 2 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 DI CT-CBF 5 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.020 / 0.018 / 0.008 DI CT-CBF 10 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.270 / 0.236 / 0.076 0.386 / 0.384 / 0.378 DI DT-CBF 0.5 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 DI DT-CBF 1 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 DI DT-CBF 2 0.004 / 0.000 / 0.000 0.004 / 0.002 / 0.000 0.008 / 0.006 / 0.000 0.018 / 0.016 / 0.006 0.070 / 0.070 / 0.066 DI DT-CBF 5 0.078 / 0.000 / 0.000 0.108 / 0.058 / 0.000 0.222 / 0.210 / 0.066 0.402 / 0.392 / 0.338 1.000 / 1.000 / 0.996 DI DT-CBF 10 0.358 / 0.022 / 0.000 0.434 / 0.300 / 0.000 0.618 / 0.568 / 0.290 1.000 / 1.000 / 0.998 1.000 / 1.000 / 0.996 Uni CT-CBF 0.5 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 Uni CT-CBF 1 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 Uni CT-CBF 2 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 Uni CT-CBF 5 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.862 / 0.844 / 0.730 Uni CT-CBF 10 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 1.000 / 1.000 / 1.000 Uni DT-CBF 0.5 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.004 / 0.004 / 0.004 Uni DT-CBF 1 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.004 / 0.004 / 0.002 0.042 / 0.042 / 0.038 0.338 / 0.338 / 0.326 Uni DT-CBF 2 0.092 / 0.082 / 0.014 0.184 / 0.180 / 0.120 0.464 / 0.464 / 0.424 0.734 / 0.730 / 0.714 0.970 / 0.970 / 0.968 Uni DT-CBF 5 0.900 / 0.880 / 0.000 0.960 / 0.956 / 0.838 0.988 / 0.988 / 0.980 1.000 / 1.000 / 0.998 1.000 / 1.000 / 1.000 Uni DT-CBF 10 0.996 / 0.996 / 0.000 1.000 / 0.998 / 0.000 1.000 / 1.000 / 1.000 1.000 / 1.000 / 1.000 1.000 / 1.000 / 1.000 TABLE XVIII Unicycle, refinement of the plant step and check interval: cells “barrier rate / at-sample rate / worst penetration [m]” (means over 5 seeds); the 0.005 s column is the original setting. Filter α ∆t step 0.005 s step 0.001 s step 0.0005 s DT-CBF 2 0.05 0.464 / 0.464 / 0.007 0.464 / 0.464 / 0.007 0.464 / 0.464 / 0.007 DT-CBF 2 0.2 0.970 / 0.970 / 0.035 0.970 / 0.970 / 0.035 0.970 / 0.970 / 0.035 DT-CBF 10 0.05 1.000 / 1.000 / 0.002 1.000 / 1.000 / 0.002 1.000 / 1.000 / 0.002 DT-CBF 10 0.2 1.000 / 1.000 / 0.023 1.000 / 1.000 / 0.023 1.000 / 1.000 / 0.023 CT-CBF 10 0.2 1.000 / 1.000 / 0.093 1.000 / 1.000 / 0.093 1.000 / 1.000 / 0.093 DT-CBF-exact 2 0.05 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 0.000 / 0.000 / 0.000 DT-CBF-exact 2 0.2 0.054 / 0.000 / 0.002 0.054 / 0.000 / 0.002 0.054 / 0.000 / 0.002 DT-CBF-exact 10 0.05 1.000 / 0.000 / 0.000 1.000 / 0.000 / 0.000 1.000 / 0.000 / 0.000 DT-CBF-exact 10 0.2 1.000 / 0.002 / 0.015 1.000 / 0.002 / 0.015 1.000 / 0.002 / 0.015 at α∆t ≥ 1 (a velocity-aware condition does not remove a preliminary run and the DT-CBF implementation was them) or why CT-CBF at α = 0.5, ∆t = 0.2 violates corrected after an audit; all reported numbers come from at the third obstacle only when all three obstacles are the final round of runs. Verdicts are descriptive, with present (no omitted constraint at the hold start; single- no multiple-comparison correction; episode-level tests on obstacle runs and CT-QP3 do not violate). The unicycle 500 paired episodes replace the seed-level tests, and rates refinement leaves the check interval, not the integrator, of a few episodes in 500 have wide exact intervals. A as the only changed quantity, since the midpoint heading fuller study would add input limits, noise, more plants, rule is exact for a constant input. The velocity-aware a multi-constraint discrete-time filter and an exact high- filter, the margin estimate and the alternating projections order discrete-time CBF. are untuned first versions. Metrics. An earlier version tested clearance strictly against zero and reported at- IX. Conclusion sample violation rates of 0.76–0.83 for DT-CBF in the In this small simulation study the continuous-time CBF saturated cells; an audit showed these to be round-off applied at discrete steps was safe on the double integrator (the projected successor lies about 10−14 m inside the except when α and ∆t were both large (violation rate up boundary), so the 10−9 m tolerance was added and every to 0.386) and in one small-gain, large-period cell (0.006). run repeated. The barrier-level unicycle metric was also The large-gain failures are largely the known α∆t ≥ 1 added after an audit. Process. The hypotheses and tests breakdown [1], an inexact predictor: 4 double-integrator were written in the proposal but first committed together cells below 1 violate and 4 unicycle cells at or above 1 do with the first results, so their priority cannot be verified not. Our first-order discrete-time condition was nearly safe from the history. In the first round of runs the script at the default (0.008), but its violation rate rose with α and default was ∆t = 0.1 s while the paper default was 0.05 s, ∆t up to 1.000 where α∆t ≥ 1 (worst penetration up to so the heuristic and nominal rows ran at a different period 0.760 m in a single seed), and it had a lower rate than our from the CBF rows; since then ∆t is passed explicitly to second-order continuous-time filter in one grid cell only; a every run. The obstacle-selection rule was changed after velocity-aware discrete-time filter is at zero for α ≤ 2 and reaches the goal faster than the continuous-time one at matched clearance (7.40 s against 7.80 s), but also fails at α∆t ≥ 1. On the double integrator the violations of the first-order filter occur between control samples (at-sample rate at most 0.002) and an exact continuous-path check finds them even at ∆t equal to the plant step, at depths below 0.00003 m; on the unicycle the at-sample violations (0.464 at the default at barrier level, hidden by an axle- level metric) disappear with the exact executed successor. A sampled-data margin and a three-constraint QP do not remove the α∆t ≥ 1 failures; the nearest-obstacle rule changed CT-CBF safety more than ∆t did at the default gain, which the three-constraint QP removes. These results are specific to our implementations and scenarios. References [1] A. Agrawal and K. Sreenath, “Discrete Control Barrier Functions for Safety-Critical Control of Discrete Systems with Application to Bipedal Robot Navigation,” Robotics: Science and Systems XIII, 2017. [Online]. Available: https: //doi.org/10.15607/RSS.2017.XIII.073 [2] 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, 2017. [Online]. Available: https://doi.org/10.1109/TAC.2016.2638961 [3] A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath, and P. Tabuada, “Control Barrier Functions: Theory and Applications,” 2019 18th European Control Conference (ECC), 2019. [Online]. Available: https://doi.org/ 10.23919/ecc.2019.8796030 [4] J. Zeng, B. Zhang, and K. Sreenath, “Safety-Critical Model Predictive Control with Discrete-Time Control Barrier Function,” 2021 American Control Conference (ACC), 2021. [Online]. Available: https://doi.org/10.23919/acc50511.2021. 9483029 [5] Y. Xiong, D.-H. Zhai, M. Tavakoli, and Y. Xia, “Discrete-Time Control Barrier Function: High-Order Case and Adaptive Case,” IEEE Transactions on Cybernetics, 2023. [Online]. Available: https://doi.org/10.1109/tcyb.2022.3170607 [6] J. Breeden, K. Garg, and D. Panagou, “Control Barrier Functions in Sampled-Data Systems,” arXiv preprint arXiv:2103.03677, 2021. [Online]. Available: https://arxiv.org/abs/2103.03677 [7] A. J. Taylor, V. D. Dorobantu, R. K. Cosner, Y. Yue, and A. D. Ames, “Safety of Sampled-Data Systems with Control Barrier Functions via Approximate Discrete Time Models,” arXiv preprint arXiv:2203.11470, 2022. [Online]. Available: https://arxiv.org/abs/2203.11470 [8] G. Bahati, P. Ong, and A. D. Ames, “Sample-and-Hold Safety with Control Barrier Functions,” arXiv preprint arXiv:2304.08685, 2023. [Online]. Available: https://arxiv.org/ abs/2304.08685 [9] W. Xiao and C. Belta, “Control Barrier Functions for Systems with High Relative Degree,” 2019 IEEE 58th Conference on Decision and Control (CDC), 2019. [Online]. Available: https://doi.org/10.1109/CDC40024.2019.9029455 [10] L. Niu, H. Zhang, and A. Clark, “Safety-Critical Control Synthesis for Unknown Sampled-Data Systems via Control Barrier Functions,” 2021 60th IEEE Conference on Decision and Control (CDC), 2021. [Online]. Available: https://doi.org/ 10.1109/cdc45484.2021.9683019 [11] K. P. Wabersich and M. N. Zeilinger, “A predictive safety filter for learning-based control of constrained nonlinear dynamical systems,” Automatica, 2021. [Online]. Available: https://doi.org/10.1016/j.automatica.2021.109597 [12] A. Singletary, K. Klingebiel, J. Bourne, A. Browning, P. Tokumaru, and A. Ames, “Comparative Analysis of Control Barrier Functions and Artificial Potential Fields for Obstacle Avoidance,” 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2021. [Online]. Available: https://doi.org/10.1109/iros51168.2021.9636670