Control Lyapunov Function
R2026bModify control actions to satisfy Lyapunov stability constraints and optional barrier certificate constraints, subject to control bounds
Since R2026b
Libraries:
Simulink Control Design /
Constraint Control
Description
The Control Lyapunov Function block computes the modified control actions that are closest to specified control actions subject to Lyapunov stability constraints, optional barrier certificate constraints, and control bounds.
The block uses a quadratic programming (QP) solver to find the control action u and the decision variable δ that minimize the cost function . Here, u0 is the unmodified control action. p is the relaxation penalty weight and δ is the relaxation variable.
The solver applies the following constraints to the optimization problem.
Here:
V(x) is the Lyapunov function.
LfV(x) is the partial derivative of the Lyapunov function V(x) over the plant states multiplied by the state function f(x).
LgV(x) is the partial derivative of the Lyapunov function V(x) over the plant states multiplied by the input function g(x).
c is the CLF rate.
h(x) is the control barrier function.
Lfh(x) is the partial derivative of the control barrier function h(x) over the plant states multiplied by the state function f(x).
Lgh(x) is the partial derivative of the control barrier function h(x) over the plant states multiplied by the input function g(x).
γ is the constraint factor.
β is the constraint power.
umin is a lower bound for the control action.
umax is an upper bound for the control action.
Additionally,
f(x) and g(x) are functions defined by the plant dynamics .
LfV(x)+LgV(x)u+cV(x)≤δ is the CLF constraint.
Lfh(x)+Lgh(x)u+γhβ(x)≥0 is the barrier certificate constraint.
The Control Lyapunov Function block requires Optimization Toolbox™ software.
Examples
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2026b

