Imagine a quadrotor navigating a tight indoor corridor. On paper, its trajectory is governed by elegant, continuous differential equations. We can prove mathematically that it will never hit a wall. But when we deploy this controller onto physical hardware, the math changes. The drone's onboard computer operates on a digital clock, updating its motors at discrete intervals (say, every 20 milliseconds). Between these ticks, the control input is held perfectly constant—a phenomenon known as a zero-order hold.
During this tiny window, the physical world keeps moving. If the drone is traveling fast or buffeted by a gust of wind, it can easily drift across a safety boundary before the next clock cycle even begins.
This mismatch is the discrete-time safety gap. As Andrew J. Taylor et al. point out in Safety of Sampled-Data Systems with Control Barrier Functions via Approximate Discrete Time Models, control theories designed for continuous-time systems frequently lose their safety guarantees when translated to digital hardware. To build truly safe autonomous systems, we must guarantee safety not just at the sampling points, but between them.
Why Continuous Guarantees Fail in Discrete Time
Continuous-time safety verification often relies on Control Barrier Functions (CBFs). Think of a CBF as a scalar function $h(x)$ where the safe operating region is defined by $h(x) \ge 0$. To ensure the system never leaves this region, we enforce a condition on its continuous derivative: $\dot{h}(x) \ge -\alpha(h(x))$, where $\alpha$ is a class-$\mathcal{K}$ function. This mathematical boundary acts like a magnetic field, pushing the system back as it approaches the edge ($h(x) \to 0$).
However, digital microprocessors cannot continuously adjust the control input $u$. They sample the state $x_k$, compute a fixed control $u_k$, and hold it until the next sample $x_{k+1}$.
As Wenceslao Shaw Cortez et al. observe in Differentiable Predictive Control with Safety Guarantees: A Control Barrier Function Approach, this latency means the continuous-time derivative condition is routinely violated during the inter-sample period. Even worse, Lukas Brunke et al. demonstrate in Practical Considerations for Discrete-Time Implementations of Continuous-Time Control Barrier Function-Based Safety Filters that discrete-time implementations can encounter states where the control input's immediate influence on the safety margin drops to zero. This renders the safety filter momentarily inactive, leading to aggressive control chattering or outright safety violations between samples.
Quantifying and Bounding Inter-Sample Drift
To fix this gap, modern control frameworks explicitly model or bound the system's behavior during the zero-order hold period. Three primary methodologies have emerged to guarantee inter-sample safety:
1. Sampled-Data Control Barrier Functions (SD-CBFs)
Instead of checking the continuous derivative $\dot{h}(x)$, researchers evaluate the difference in the barrier function's value across discrete time steps ($h(x_{k+1}) - h(x_k)$). Because the exact continuous trajectory between $t_k$ and $t_{k+1}$ is unknown, the authors of Safety of Sampled-Data Systems with Control Barrier Functions via Approximate Discrete Time Models utilize approximate discrete-time models (such as Runge-Kutta discretization) to bound the inter-sample evolution. This ensures "practical safety," meaning the system remains within a provably bounded envelope of the safe set throughout the entire digital execution cycle.
2. Robust Disturbance Modeling
Another intuition is to treat the discretization error as an adversarial disturbance. Because the control input is frozen between samples, the difference between the ideal continuous control law and the held digital signal can be modeled as a perturbation.
Andrew J. Taylor et al. formalize this in Safety-Critical Event Triggered Control via Input-to-State Safe Barrier Functions by treating the sample-and-hold error as an external input within an Input-to-State Safety (ISSf) framework. By designing the controller to be robust to this worst-case "input disturbance," the system maintains its safety certificates even when control updates are non-continuous.
3. Integrated Safety Margins
If we can calculate the maximum possible distance a system can drift during a single sampling interval, we can proactively shrink our allowed operating region. This creates a protective "buffer" or safety margin around obstacles.
Continuous Safe Boundary ───────────────────────────────
▲
Safety Buffer (Absorbs Inter-Sample Drift)
▼
Discrete Execution Boundary -------------------------------
●───────────────●───────────────● (System State at Sample Ticks)
\ / \ /
\___________/ \___________/ (Actual Continuous Trajectory)
Javier Borquez et al. leverage this concept in On Safety and Liveness Filtering Using Hamilton-Jacobi Reachability Analysis, using reachability analysis to derive safety margins that absorb digital control loop latency. Similarly, Kai S. Yun et al. demonstrate in Safe Control of Quadruped in Varying Dynamics via Safety Index Adaptation that integrating dedicated safety buffers into a robot's control logic successfully prevents hardware noise and discretization errors from causing physical boundary breaches.
Breaking the Fixed Clock: Event-Triggered Safety
Instead of trying to predict inter-sample behavior over a fixed time step, an alternative paradigm changes when the controller updates. This is the core mechanism of Event-Triggered Control (ETC).
In a traditional sampled-data system, updates happen on a rigid timer regardless of whether the system is in the center of a safe room or millimeters from a wall. In an event-triggered framework, the system monitors a state-dependent triggering condition. The control input is held constant until the system drifts too close to the edge of the safe set, at which point an "event" is triggered, forcing an immediate control update.
In Optimal Control of Connected Automated Vehicles with Event-Triggered Control Barrier Functions: a Test Bed for Safe Optimal Merging, Ehsan Sabouni et al. apply this logic to autonomous vehicle merging. By replacing fixed-interval sampling with logic that triggers updates only when safety bounds are nearly breached, they guarantee continuous-time safety while drastically reducing the communication and computational burden on digital hardware.
However, checking trigger conditions continuously on digital hardware is itself impossible. As Kazumune Hashimoto et al. address in Event-Triggered Intermittent Sampling for Nonlinear Model Predictive Control, modern frameworks must design intermittent or discrete-time triggering conditions. These conditions guarantee that the continuous trajectory never escapes the safe set during the unobserved gaps between checks, successfully bridging the gap between continuous physical safety and discrete digital computation.