Meridia Insight Tech for Good Frontiers

A safety filter that knows the actuator is moving faster than the robot

A robot can obey a safety rule in its simplified model and still violate it in reality. This paper builds a buffer for the dynamics that model leaves out.

Two time scales, uncertain parameters, and safety margins: the framework aims to keep both robot motion and fast

A robot can satisfy a safety rule in the model used by its controller and still drift toward danger in the machine itself. The reason may be temporal: its body moves on one clock, while an actuator responds on another. Prashanth Krishnamurthy and Farshad Khorrami develop a way to account for both clocks, while also allowing for uncertainty about the system’s parameters. Their central result is conditional but important: when the fast dynamics settle appropriately and the safety constraints remain feasible, a controller can protect slow states despite the fast motion it leaves out of a reduced model; it can also impose separate safety constraints on the fast states themselves.

The work addresses a quiet mismatch between how engineered systems behave and how controllers are often designed. A robot’s mechanical motion may be slow compared with its motors or actuators. Electrical currents can change rapidly while mechanical parts respond gradually. Simplifying such a system is useful: it makes the control problem smaller. But safety is exactly where a small, fast deviation can matter. A wheel can turn sharply before the vehicle’s position changes much; a motor current can spike before the machine’s slower state registers a problem.

The paper’s contribution is not a demonstrated deployment or a new robot. It is a mathematical framework, illustrated in simulation, for adding safety filters to nonlinear systems with this slow-fast structure and unknown parameters. That distinction matters. The framework offers a route toward more realistic safety guarantees, but its assumptions and the limited evidence in the supplied manuscript excerpt should remain visible.

The Science

A control barrier function, or CBF, is a mathematical safety rule that translates a boundary—such as “remain outside this obstacle”—into a condition on how a system must move. The safe region is represented by a function that is nonnegative inside it. A controller then chooses inputs that keep the system from crossing into the unsafe region. In many applications, a CBF acts as a safety filter: it leaves the preferred controller alone when possible, and modifies its command when necessary.

The authors consider systems with a slow state, written as , and a fast state, written as . The slow state might represent a vehicle’s position and heading; the fast state might describe an actuator’s turn rate. Their dynamics are linked: each can influence the other, and both respond to the same control input. A small parameter, , scales the fast subsystem. When is small, the fast state can change substantially over the time it takes the slow state to change appreciably. This mathematical structure is called a singularly perturbed system.

A standard simplification asks what value the fast state would settle to if the slow state and control input were held fixed. That equilibrium defines the “slow manifold.” Substituting it into the slow-state equations yields a reduced-order model: a smaller description that is easier to use for designing a controller. But the true fast state does not teleport onto that equilibrium. It takes time to approach it, and uncertainty about system parameters can make the predicted equilibrium wrong.

The authors handle these two sources of mismatch differently. They assume an online estimator supplies an estimate of unknown, constant parameters, along with a known bound on how far that estimate may be from reality. The bound can tighten as the estimator improves, though the authors note that even a conservative bound follows from the assumed parameter range. They use the estimated parameters to calculate the slow manifold and reduced model, then add safety margins to the CBF inequalities to cover the possible parameter error.

That is the adaptive part of the approach: the safety calculation can use information that changes as the parameter estimate changes. The margin depends on the state as well as the estimation-error bound, rather than treating every point in the system’s operating range as equally sensitive. A second mismatch arises because the actual fast state may be away from its equilibrium. The analysis bounds that deviation’s effect on the slow safety condition and uses stability of the fast subsystem to show how the deviation behaves.

There are two safety questions. First, if the goal is to constrain only the slow state, will a CBF designed for the reduced model still protect it in the full system? Second, what if the fast state has its own limit—for example, a permitted turn-rate range—and both constraints must hold at once? The paper develops results for both cases. Its mathematical guarantees depend on assumptions including bounded operating regions and inputs, regularity of the dynamics, a stable fast subsystem, and the existence of control inputs that satisfy the relevant barrier inequalities.

What They Found

For slow-state constraints alone, the result is a practical safety guarantee. If the adaptive controller satisfies the slow CBF condition with an appropriate margin, then, for sufficiently small , the slow state stays within an neighborhood of its safe set. In plain language, the full system’s slow motion need not lie exactly where the reduced model says it will, but the discrepancy can be bounded in proportion to the strength of the time-scale separation, under the stated conditions.

That is not the same as saying every point in the original safe set is protected without qualification. An neighborhood means the analysis allows a deviation whose size shrinks as the time-scale parameter shrinks; the guarantee also relies on a robustness margin and on assumptions about the settling of the fast subsystem. If an application cannot tolerate even a small boundary excursion, engineers would need to design the nominal safe region and margins accordingly, or use a stronger result tailored to that system.

For the more general problem, the authors give conditions under which slow and fast CBFs can be applied together to achieve joint safety despite parametric uncertainty. In practical terms, the controller must not only keep the vehicle away from an obstacle but can also keep its fast actuator state within a specified safe region. The two conditions are evaluated using the parameter estimate, with state-dependent margins accounting for the possible mismatch between estimated and true dynamics. The guarantee is not automatic: the chosen inputs must be able to satisfy both constraints, and the fast subsystem must meet the stability conditions used in the analysis.

The paper illustrates the framework in two simulations. The first is a synthetic fourth-order system built to exhibit two distinct time scales. Figure 0 compares a nominal controller without CBFs, a slow-only CBF, and simultaneous slow and fast CBFs. Its plotted quantities include the slow-state trajectory, the fast-state trajectory, barrier values, control inputs, parameter estimates, and the margins used to account for estimation uncertainty. The figure description says the slow-only and combined CBF traces overlap over much or all of the simulation in several plots. That visual overlap is an illustration, not a reported statistical performance measure.

Fig. 1: Simulation results for Example 1 under three cases: nominal controller (no CBFs) – dashed red; slow CBF only – dash-dotted green, both slow and fast CBFs – solid blue. The plots show slow state trajectories in the x-plane with exclusion circle centered at cx,
fast state trajectories in the z-plane with exclusion circle centered at cz,
slow and fast CBFs hx and hz, and control inputs u1 and u2. Note that in the slow state trajectory, CBF, and control input plots, the dash-dotted green lines overlap with the blue lines over most/all of the simulations.
The bottom row additionally shows the online parameter adaptation: the estimates θ^1 and θ^2 (solid blue) together with their true values (dashed red) and nominal initial values (dotted green), and the adaptive CBF margins σxβθ (solid blue), σzβθ (dash-dotted magenta), and the parameter-estimation error bound βθ (dotted black).
Fig. 1: Simulation results for Example 1 under three cases: nominal controller (no CBFs) – dashed red; slow CBF only – dash-dotted green, both slow and fast CBFs – solid blue. The plots show slow state trajectories in the x-plane with exclusion circle centered at cx, fast state trajectories in the z-plane with exclusion circle centered at cz, slow and fast CBFs hx and hz, and control inputs u1 and u2. Note that in the slow state trajectory, CBF, and control input plots, the dash-dotted green lines overlap with the blue lines over most/all of the simulations. The bottom row additionally shows the online parameter adaptation: the estimates θ^1 and θ^2 (solid blue) together with their true values (dashed red) and nominal initial values (dotted green), and the adaptive CBF margins σxβθ (solid blue), σzβθ (dash-dotted magenta), and the parameter-estimation error bound βθ (dotted black). Source: Prashanth Krishnamurthy, Farshad Khorrami

The second example is closer to a familiar robotic task: a unicycle model, in which the vehicle’s heading and forward motion evolve alongside a fast turn-rate actuator. Its slow safety constraint represents obstacle avoidance; its fast constraint limits turn rate. Figure 1 compares the nominal controller with slow-only and joint slow-fast safety filtering, and shows the obstacle, trajectory, turn rate, barrier functions, control input, parameter estimate, and adaptive margins. The figure description reports that the slow-only and joint-filter traces overlap in several plots, but the supplied text does not provide numerical values for clearance, tracking error, control effort, or success rate.

Fig. 2: Simulation results for Example 2 under three cases: nominal controller (no CBFs) – dashed red; slow CBF only – dash-dotted green, both slow and fast CBFs – solid blue. The plots show slow state planar trajectories (px,py) with obstacle (keep-out region shown as orange shaded circle), heading angle φ (slow state variable),
turn rate (fast state variable),
obstacle avoidance CBF hx for slow subsystem, turn rate constraint CBF hz for fast subsystem, and control input u. Note that in slow state trajectories, CBF, and control input plots, dash-dotted green lines overlap with blue lines over most/all of the simulations.
The bottom row additionally shows the online parameter adaptation: the estimate θ^ (solid blue) together with the true value (dashed red) and the nominal initial value (dotted green), the parameter estimation error |θ^−θ|, and the adaptive CBF margins σxβθ (solid blue), σzβθ (dash-dotted magenta), and βθ (dotted black).
Fig. 2: Simulation results for Example 2 under three cases: nominal controller (no CBFs) – dashed red; slow CBF only – dash-dotted green, both slow and fast CBFs – solid blue. The plots show slow state planar trajectories (px,py) with obstacle (keep-out region shown as orange shaded circle), heading angle φ (slow state variable), turn rate (fast state variable), obstacle avoidance CBF hx for slow subsystem, turn rate constraint CBF hz for fast subsystem, and control input u. Note that in slow state trajectories, CBF, and control input plots, dash-dotted green lines overlap with blue lines over most/all of the simulations. The bottom row additionally shows the online parameter adaptation: the estimate θ^ (solid blue) together with the true value (dashed red) and the nominal initial value (dotted green), the parameter estimation error |θ^−θ|, and the adaptive CBF margins σxβθ (solid blue), σzβθ (dash-dotted magenta), and βθ (dotted black). Source: Prashanth Krishnamurthy, Farshad Khorrami

This absence of a numerical chart is itself worth being clear about. The material supplied for this digest contains descriptions of the figures, not the plotted data or a numerical results table. It would be misleading to invent chart values or to turn visual descriptions into quantitative claims. The paper’s evidence here is theoretical analysis supported by simulation illustrations, rather than a measured improvement expressed as a percentage or a validated hardware trial.

Why This Changes Things

Safety systems often simplify dynamics to make real-time decisions possible. That trade-off is sensible: a controller with a tractable model can be faster and easier to analyze than one that reasons over every motor, electrical response, and mechanical interaction at once. Yet a safety claim based on a simplified model can be brittle if the discarded dynamics move the real system across a boundary. This paper’s broader contribution is a way to make that simplification explicit and to ask what margin is needed to compensate for it.

The framework also connects two research traditions that have often been treated separately. Singular perturbation theory uses time-scale separation to reduce complex systems to smaller models. CBF methods use inequalities to keep trajectories inside safe sets. Adaptive control addresses the uncertainty that arises when system parameters are not known in advance. Here, those ingredients have to interact: parameter error changes the estimated slow manifold; that changes the reduced dynamics; and the resulting mismatch changes whether the barrier condition really protects the physical system.

The practical appeal is clearest in systems with actuator limits or fast inner loops. An autonomous vehicle may need to respect both a road boundary and steering-rate limits. A robotic arm may need to keep its end effector away from a person while avoiding unsafe actuator behavior. Industrial equipment may have slower process variables coupled to faster electrical or pressure dynamics. In each case, a reduced model could make safety filtering manageable, while a separate fast-state constraint may catch a failure mode the slow model cannot see.

But the framework does not remove the hard work of model building. An engineer still needs a usable description of the system, a defensible bound on parameter error, a suitable barrier function, and evidence that the CBF inequalities remain feasible across the operating region. If the fast subsystem is unstable or cannot settle near its slow manifold, the slow-only result does not apply in the stated form. If the available controls cannot satisfy obstacle avoidance and actuator limits together, writing down both barriers cannot manufacture a feasible command.

Nor does the stated result mean that parameter adaptation automatically learns the true system. The analysis accommodates an error bound; it does not establish, from the excerpt provided, that estimation converges to zero under all operating conditions. That is an important distinction. A safety guarantee can be designed to tolerate uncertainty even when perfect identification is unavailable, but the size of the required margin may determine how useful that guarantee is in practice.

What’s Next

The paper’s examples offer a starting point, not the final test. The next step is to determine whether the framework remains effective with realistic sensing delays, actuator saturation, noise, and changing environments—and whether its safety margins leave enough room for useful motion. Physical experiments would help reveal whether the assumptions and bounds are tractable for actual robots, rather than merely mathematically checkable in a simulation model.

There is also a design question about conservatism. A larger uncertainty margin protects against a wider range of model error, but can leave a controller with fewer available actions. Better parameter estimates may shrink that margin, yet an estimator must be reliable precisely in the conditions where safety is most important. Future work could measure the trade-off between a conservative guarantee and the flexibility needed to complete a task, and test how the framework handles higher-relative-degree constraints, where the control input affects safety only after multiple derivatives.

For now, the paper gives control designers a disciplined way to confront a familiar engineering fact: systems do not move on a single clock, and their parameters are rarely known perfectly. Its promise is not a universal safety switch. It is a route to safety conditions that acknowledge the fast actuator, the uncertain model, and the gap between a simplified prediction and the physical trajectory. If that route proves workable on real machines, it could help make the efficiency of reduced models compatible with the caution demanded by autonomous systems.

Comments (0)

No comments yet. Be the first to share your thoughts.