Source-linked AI summary

Control Barrier Functions for Systems with High Relative Degree

Wei Xiao, Calin Belta

arXiv:1903.04706v2eess.SYcs.RO

TL;DR

Existing barrier functions primarily address relative-degree-one constraints, while higher-relative-degree constraints require more general treatment. This paper develops HOCBFs parameterized by class K functions, establishes forward invariance, and validates their use in adaptive cruise control while analyzing feasible-region and control-limit conflicts.

  • Problem

    Existing barrier functions address relative-degree-one constraints, with prior higher-relative-degree methods shown for only limited cases such as relative degree two.

    Source: §I · p. 1
  • Method

    The paper introduces general HOCBFs and HOBFs based on class K functions, proves forward invariance of intersected sets, and formulates HOCBF-CLF optimal control problems.

    Source: §I · p. 1, §III · p. 2
  • Results

    The approach was validated on an automatic cruise control problem, and class K function choices were shown to affect feasible control regions and conflicts with control limitations.

    Source: §I · p. 1, §VI · p. 7, B. Case 2: conflict between braking… · p. 7
  • Takeaways & Limitations

    Penalizing class K functions provides a way to manage conflicts between HOCBF constraints and control limitations while adapting the barrier formulation to different systems and constraints.

    Source: §I · p. 1

    Class K function tuning imposes control trade-offs: decreasing p increases the minimum control input, while different choices change how closely the HOCBF approaches zero.

    Source: B. Case 2: conflict between braking… · pp. 7–8

Abstract

from arXiv · show

This paper extends control barrier functions (CBFs) to high order control barrier functions (HOCBFs) that can be used for high relative degree constraints. The proposed HOCBFs are more general than recently proposed (exponential) HOCBFs. We introduce high order barrier functions (HOBF), and show that their satisfaction of Lyapunov-like conditions implies the forward invariance of the intersection of a series of sets. We then introduce HOCBF, and show that any control input that satisfies the HOCBF constraints renders the intersection of a series of sets forward invariant. We formulate optimal control problems with constraints given by HOCBF and control Lyapunov functions (CLF) and analyze the influence of the choice of the class $\mathcal{K}$ functions used in the definition of the HOCBF on the size of the feasible control region. We also provide a promising method to address the conflict between HOCBF constraints and control limitations by penalizing the class $\mathcal{K}$ functions. We illustrate the proposed method on an adaptive cruise control problem.

I. INTRODUCTION

Existing barrier and control barrier functions support forward invariance and real-time QP control, but earlier methods primarily address relative-degree-one constraints. Prior extensions reach higher relative degrees, including arbitrarily high degree through exponential barrier functions.

  • Barrier functions are Lyapunov-like tools used for set invariance, verification, control, and multi-objective control.Source: §I · p. 1
  • Control barrier functions can combine with control Lyapunov functions as real-time quadratic-program constraints.CLF constraints can be relaxed to reduce conflict with CBF constraints.Source: §I · p. 1
  • Earlier barrier-function forms primarily handle constraints with relative degree one, while backstepping and position-based methods address relative degree two.Source: §I · p. 1
  • A more general prior method handles arbitrarily high relative degree through input-output linearization and pole placement, yielding an exponential barrier function.Source: §I · p. 1
  • The paper proposes HOCBFs that are simpler and more general than exponential HOCBFs, using class K functions and associating barrier conditions with intersections of sets.Source: §I · p. 1
  • The paper analyzes how class K function choices affect feasible control regions and system performance, and illustrates the method on adaptive cruise control.Source: §I · p. 1

III. HIGH ORDER CONTROL BARRIER FUNCTIONS

The simplified adaptive cruise-control example imposes a constant distance constraint, but the resulting low-order CBF condition does not contain the control input. This prevents direct use of that barrier condition in the paper’s real-time optimization formulation.

B. High Order Barrier Function (HOBF)

HOBFs construct a hierarchy of auxiliary functions and sets using class K functions. Satisfying the highest-order Lyapunov-like condition propagates nonnegativity backward through the hierarchy, making the intersection of all sets forward invariant.

C. High Order Control Barrier Function (HOCBF)

The paper defines HOCBFs for constraints with arbitrary relative degree and proves that satisfying their constraints preserves the forward invariance of an intersection of sets. Unlike exponential CBFs, the construction permits general class K functions.

D. Optimal Control for Time-Invariant Constraints

The paper embeds time-invariant HOCBF safety constraints in optimal control problems, optionally alongside CLF constraints for convergence. The resulting receding-horizon procedure preserves the safety constraint when each step satisfies the required conditions.

E. Time-invariant HOCBF Properties

The choice of class K functions changes both the feasible control region and system performance. Higher-order polynomial choices can enlarge feasibility away from the boundary, while penalties can help reconcile HOCBF constraints with control limits.

1) Feasible Region of Control Input:

IV. ACC PROBLEM FORMULATION

The ACC formulation uses more realistic vehicle dynamics and imposes speed, acceleration, and inter-vehicle-distance constraints. HOCBFs enforce safety, CLFs target desired speed, and the optimization cost represents energy consumption.

A. Vehicle Dynamics

  • The realistic ACC problem replaces simplified dynamics with more accurate vehicle dynamics for each vehicle in the urban-area index set S(t).Source: §IV · p. 5, A. Vehicle Dynamics · p. 5
  • Vehicle dynamics include control input, vehicle mass, velocity, and a resistance force modeled with empirically determined coefficients.Source: A. Vehicle Dynamics · p. 5
  • The resistance model separates Coulomb friction, viscous friction, and aerodynamic drag.Source: A. Vehicle Dynamics · p. 5
  • The state combines lane position and velocity, with the position component denoting the vehicle’s position in the lane.Source: A. Vehicle Dynamics · p. 5
  • Vehicle limitations constrain each vehicle’s speed and acceleration, including maximum and minimum allowed speeds and mass-dependent control bounds.Source: A. Vehicle Dynamics · p. 5
  • The safety constraint requires the distance between a vehicle and its immediately preceding vehicle to satisfy a specified lower bound.Source: A. Vehicle Dynamics · p. 5
  • The objectives are to reach desired speed and minimize energy consumption for each vehicle.Source: A. Vehicle Dynamics · p. 5
  • HOCBF constraints enforce safety, a CLF pursues desired speed, and energy consumption is included in the optimization cost.Source: A. Vehicle Dynamics · p. 5

V. ACC PROBLEM REFORMULATION

The ACC reformulation combines HOCBF constraints for speed limits with a relaxed CLF constraint for tracking desired speed, while direct control limits remain explicit constraints.

HOCBF and CLF formulation

  • Three class K function types define the HOCBF for the safety constraint in the QP-based ACC formulation.The considered forms are square root, linear, and quadratic functions.Source: §V · p. 5
  • The CLF V_acc(x_i(t)) := (v_i(t) − v_d)^2 stabilizes vehicle speed toward the desired speed and is softened with a relaxation variable.The relaxation variable δ_acc(t) makes the corresponding CLF constraint soft.Source: A. Desired Speed (Objective 1) · p. 6

Speed limitations

  • Because speed limitations have relative degree one, HOCBFs with m = 1 map upper and lower speed bounds to control-input constraints.The bounds are b_i,1(x_i(t)) := v_max − v_i(t) and b_i,2(x_i(t)) := v_i(t) − v_min, with linear α_1 functions.Source: B. Vehicle Limitations (Constraint 1) · p. 6

Control limitations

C. Safety Constraint (Constraint 2)

The safety constraint has relative degree two, so the reformulation uses a second-order HOCBF with selectable class K functions and penalization, solved through piecewise-constant QPs.

Safety HOCBF construction

  • The relative-degree-two safety constraint is represented with b(x_i(t)) := z_i,ip(t) − δ and a HOCBF with m = 2.Three class K function forms are considered, with a positive penalty p applied to α_1 and α_2.Source: C. Safety Constraint (Constraint 2) · p. 6

Piecewise-constant QP implementation

  • The optimization is discretized into equal time intervals, with constant control within each interval and a QP solved at every interval start.The optimal control is then applied over the interval before the dynamics are updated.Source: D. Reformulated ACC Problem · p. 6
  • The QP uses a quadratic objective and constraint parameters derived from the system dynamics and the selected HOCBF form.The listed expressions include Lie-derivative terms and form-dependent penalty terms.Source: D. Reformulated ACC Problem · pp. 6–7
  • After each QP solution, the dynamics are updated using u*(t) throughout the corresponding interval.Source: D. Reformulated ACC Problem · p. 7

Control-limit handling

VI. IMPLEMENTATION AND RESULTS

The implementation compares class K function choices through QP-based simulations, examining when HOCBF constraints activate and how they shape the feasible control region.

Simulation implementation

  • The implementation uses MATLAB, quadprog for quadratic programs, and ode45 for integrating the dynamics.Source: §VI · p. 7

Feasible control region

  • The case study is organized as a comparison of feasible control regions for square-root, linear, and quadratic functions.Source: §VI · p. 7
  • The simulations compare square-root, linear, and quadratic class K functions by tracking optimal and HOCBF-boundary controls as b(x_i(t)) approaches zero.Dashed curves represent HOCBF constraint boundaries, while solid curves show optimal controls; coincidence indicates an active constraint.Source: §VI · p. 7, Figure 1 · p. 7
  • Form 1 becomes over-constrained because its HOCBF constraint is active from b(x_i(t)) = 90, reducing vehicle performance.The quadratic form provides a larger feasible region than the linear form for large b(x_i), but can require larger control after activation.Source: §VI · p. 7

B. Case 2: conflict between braking limitation and HOCBF constraint

The braking-conflict study varies the penalty p for linear and quadratic class K functions, then evaluates speed tracking and forward invariance under the selected forms.

Braking-limit conflict

ACC profiles and invariance

Effect of penalty and function choice

Study scope

  • The paper validates HOCBFs on an automatic cruise-control problem with a constant safety constraint and identifies more complex future applications.Future applications include differential flatness in high relative degree systems and bipedal walking.Source: §VII · p. 8
Loading 1903.04706v2…