Abstract
This paper proposes an optimization with penalty-based feedback design framework for safe stabilization of control affine systems. Our starting point is the availability of a control Lyapunov function (CLF) and a control barrier function (CBF) defining affine-in-the-input inequalities that certify, respectively, the stability and safety objectives for the dynamics. Leveraging ideas from penalty methods for constrained optimization, the proposed design framework imposes one of the inequalities as a hard constraint and the other one as a soft constraint. We study the properties of the closed-loop system under the resulting feedback controller and identify conditions on the penalty parameter to eliminate undesired equilibria that might arise. Going beyond the local stability guarantees available in the literature, we are able to provide an inner approximation of the region of attraction of the equilibrium, and identify conditions under which the whole safe set belongs to it. Simulations illustrate our results.
Introduction
In the design of autonomous systems and robotics, two primary objectives often conflict: stability (the ability to reach a goal state) and safety (the requirement to avoid prohibited regions of the state space). These objectives are typically modeled using Control Lyapunov Functions (CLFs) for stability and Control Barrier Functions (CBFs) for safety.
The standard approach to integrating these functions is through a Quadratic Program (QP). However, existing CLF-CBF QP formulations face significant challenges. First, when stability and safety requirements conflict, the solver may relax stability to maintain safety, potentially preventing the system from reaching its goal even when a feasible path exists. Second, these QPs can inadvertently create "spurious" equilibria—unintended stationary points where the system becomes trapped far from its target. This paper introduces a penalty-based framework to address these issues, providing a smooth controller with formal stability guarantees.
The Penalty-Based QP Framework
The authors propose a Penalty-Based QP that prioritizes safety as a hard constraint while treating stability as a soft constraint within the cost function.
Formulation and Closed-Form Solution
Unlike traditional methods that treat both objectives as equal constraints, this framework moves the stability objective into the objective function, weighted by a penalty parameter $\epsilon$. A significant advantage of this approach is that it yields a closed-form analytical expression for the control law. This eliminates the need for an online solver, ensuring the controller is computationally efficient and Lipschitz continuous.
Eliminating Undesired Equilibria
The core innovation lies in the tuning of the penalty parameter $\epsilon$. "Traps" or undesired equilibria typically occur at points of "incompatibility," where the control input required for stability directly opposes the input required for safety. The authors provide mathematical conditions to select $\epsilon$ such that these undesired equilibria are either eliminated or pushed into a negligible neighborhood of the goal.
Theoretical Guarantees and Region of Attraction
A critical contribution of this work is the formal characterization of the Region of Attraction (RoA). While existing literature often focuses on local stability, this paper provides a theorem to calculate an inner approximation of the RoA. This allows engineers to identify a specific subset of the state space from which the system is mathematically guaranteed to reach the goal safely. By identifying sublevel sets of the Lyapunov function where no incompatible points exist, the authors provide a rigorous certificate of convergence.
Simulation Results
The theoretical framework was validated using a simulated planar control-affine system (a 2D robot) tasked with reaching the origin while avoiding a circular unsafe region.
As shown in the simulation results, the proposed "Safety QP with Stability Penalty" (blue trajectories) successfully guides the system to the origin from various starting positions. In contrast, the standard CLF-CBF QP (red trajectories) often fails to reach the goal or follows less efficient paths due to the influence of undesired equilibria. The figure also highlights the estimated Region of Attraction (dotted circle), within which convergence is guaranteed.
Limitations and Future Work
While the framework provides robust guarantees, the authors note some limitations:
- Conservatism: The current inner approximation of the RoA is conservative; the actual set of safe starting points may be larger than the proven bound.
- Topological Obstructions: For bounded obstacles, global convergence with a smooth controller is topologically impossible. There will always be "singular" points (e.g., directly behind an obstacle) where the system cannot determine an optimal direction.
- Future Directions: Future research will focus on developing tighter RoA estimates and exploring generalized barrier functions to handle more complex, non-convex safety constraints.
Summary updated