NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Convex synthesis and verification of control-Lyapunov and barrier functions with input constraints

Hongkai Dai, Frank Permenter

TL;DR

Researchers at the Toyota Research Institute have developed a new way to design and verify safety and stability for robots with physical limits (like motor torque bounds). By using a clever mathematical "flip" (the contrapositive) and Sum-Of-Squares optimization, they can certify larger safe regions for complex systems like quadrotors without the computational headache of designing a specific "nominal" controller first.

What Problem Does This Paper Address?

In robotics, we use Control Lyapunov Functions (CLFs) to ensure a system reaches a goal (stability) and Control Barrier Functions (CBFs) to ensure it stays away from "bad" areas (safety).

The challenge is that real robots have input constraints—motors can only provide so much torque, and rotors only so much thrust. Most existing formal methods for designing these functions either ignore these limits entirely or require the simultaneous design of a "nominal" polynomial controller. This joint design is problematic:

  1. Conservatism: It assumes the best controller must be a polynomial of a specific degree, which might not be true, leading to smaller "certified" safe zones.
  2. Scalability: As the robot gets more complex (more "states"), the math for the controller explodes in size, making it impossible to solve for systems like a 13-state quadrotor.

Methods

The authors propose a technique that characterizes CLFs and CBFs using Sum-Of-Squares (SOS) optimization—a powerful tool for proving that a polynomial is always non-negative.

The "secret sauce" is a two-step approach:

  1. The Contrapositive Trick: Instead of trying to prove "there exists a control input $u$ that keeps the system safe," they prove the contrapositive: "If every possible control input $u$ fails to keep the system safe, then the robot must already be outside the safe region."
  2. Vertex Exploitation: Because the robot's dynamics are "control-affine" (linear in terms of the input $u$) and the input limits form a "polytope" (a shape with flat sides and corners), the authors show that you only need to check the vertices (corners) of the input limits. If the condition holds at the corners, it holds everywhere inside.

They provide two main algorithms:

  • Algorithm 1: Uses an "inner ellipsoid" to grow the certified region.
  • Algorithm 2: Uses "sample points" to ensure specific states are included in the certified region.

Datasets

As is common in control theory research, the "datasets" are simulated dynamical systems used as benchmarks:

  • 2D Toy System: A simple mathematical model used to visualize how the certified region grows.
  • Inverted Pendulum: A classic robotics problem (balancing a pole) with torque limits.
  • 3D Quadrotor: A complex 13-state system used to demonstrate that the method scales to real-world dimensions.

Key Insights and Ideas

  • Implicit Control: You don't need to know exactly what the controller is to prove that a valid one exists. By removing the need to explicitly construct a polynomial controller, the optimization problem becomes much smaller and more flexible.
  • Convexity is King: By formulating the problem as a convex SOS program, the authors can use reliable off-the-shelf solvers (like Mosek) to find global solutions for the verification step.
  • Better Scaling: Traditional methods for a 13-state quadrotor would require solving a semidefinite constraint of order $O(degree(u)^{13})$. The authors' method avoids this exponential growth, allowing them to certify a quadrotor's stability even when it starts from extreme angles (like a 140° roll).

Key Results

  • Larger Safe Zones: In the 2D toy example, the authors' method certified a significantly larger stabilizable region compared to methods that rely on fixed-degree polynomial controllers.
  • Quadrotor Success: The method successfully certified a CLF for a 13-state quadrotor. It proved the drone could stabilize from 10 meters away or from an initial roll of 140°.
  • Computational Efficiency: For the quadrotor, finding a cubic controller using old methods took 1,540 seconds and hit memory limits for higher degrees. The authors' approach avoids this "controller degree" bottleneck entirely.
  • Safety Verification: They demonstrated a CBF that prevents a quadrotor from dropping below a minimum height ($p_z = -0.15m$), showing that the drone stays safe even when the "stability" controller wants to go lower.

Limitations and Future Work

  • Polynomial Requirement: The current math requires the robot's dynamics to be expressed as polynomials. While many robots fit this, systems with trigonometric functions (like arm joints) must be converted using coordinate changes, which can increase the number of states.
  • Continuous Dynamics Only: The paper focuses on smooth, continuous motion. It does not yet handle "hybrid" systems—robots that make and break contact with the ground, like walking bipeds.
  • Local Optima in Synthesis: While verifying a function is convex, searching for the best function (synthesis) still involves "bilinear alternation," which can sometimes get stuck in local optima.

The authors suggest that future work will focus on extending these formal safety guarantees to hybrid systems with rigid contacts.

Summary updated

BibTeX
@inproceedings{dai2023convex,
  author = {Hongkai Dai and Frank Permenter},
  title = {{Convex synthesis and verification of control-Lyapunov and barrier functions with input constraints}},
  booktitle = {ACC},
  year = {2023},
  doi = {10.23919/acc55779.2023.10156043},
}
Figure