Problemadvanced
Region of attraction estimation
Also called domain of attraction estimation.
Given a system and an asymptotically stable equilibrium, find a large set of initial states that is proved to lie in its region of attraction, often a sublevel set of a Lyapunov function.
Region of attraction estimation asks for a set of initial states that is proved to lie in the region of attraction of an asymptotically stable equilibrium, and that is as large as possible. The region itself is defined on its own page, with its properties and the basic sublevel set estimate. This page is about the computational problem: what the input and output are, how hard it is, and which methods give a certified answer. The exact region is rarely computable, so every practical method gives an inner estimate, and the methods differ in how large the estimate is and in what kind of proof comes with it. The standard certificate is a sublevel set of a Lyapunov function inside the set where the function decreases.
In plain words
A controller or a physical system works well near its operating point, but how far can the state be pushed before it no longer returns? A simulation from one initial state answers the question for that state only. An estimate of the region of attraction answers it for a whole set at once, with a proof. The usual proof is a bowl-shaped function that decreases along every solution in a region: a solution that starts below a level of the bowl stays below it and slides down to the bottom. The task is to find a bowl and a level that cover as much of the state space as possible.
Definition
Input. A vector field on , usually polynomial or given by a formula, with and the origin asymptotically stable (for example, with a Hurwitz Jacobian). Sometimes also a class of candidate sets, such as ellipsoids or sublevel sets of polynomials of a given degree, and a measure of size, such as the volume or the radius of the largest ball inside.
Output. A set with and a certificate that . The usual certificate is a continuously differentiable and a level such that
- (or its connected component that contains ) is bounded;
- for in , and ;
- for , .
Then is positively invariant and every solution from it converges to (Khalil 2002, Section 8.2).
The optimization problem. Among the candidate pairs that satisfy 1 to 3, find one that maximizes the size of . For a fixed the best level is
when the sublevel sets below are bounded.
The decision form. Given and a set (a ball, a box, a polytope), decide whether .
Variants
- Fixed , best level. is given, often from the Lyapunov equation of the linearization. Only is computed. This is a nonconvex minimization over the curve or surface .
- Search over . ranges over a class, such as quadratic forms or polynomials of degree . The joint search over and is not convex in general.
- Inner and outer estimates. An inner estimate is a set inside . An outer estimate is a set that contains ; it shows which initial states surely fail. Outer estimates use other certificates, such as barrier certificates or occupation measures.
- Robust estimates. depends on an uncertain parameter in a known set, and must lie in the region of attraction for every value. One for all parameters gives a conservative answer; a parameter-dependent gives a larger one.
- Design to enlarge the region. The controller is a variable too, as with input saturation, where the goal is a feedback whose closed loop has a large certified region. For linear systems with linear constraints, the maximal positively invariant set can be computed as a polytope.
- Discrete time. For , condition 3 becomes .
- Other attractors. The same problem for a stable limit cycle uses a function of the distance to the cycle.
Examples
A system with a saddle on the boundary. Take
The equilibria are and . The Jacobian at the origin is , which is Hurwitz. At the Jacobian has the eigenvalues , so is a saddle, and its stable solutions form the boundary of . The region is unbounded and not convex.
Quadratic from the linearization. With , the equation gives . For ,
On the ray , with , so at where . Minimizing over these points gives , reached at . Any estimate must have , because the saddle is not in .
Searching over the shape. With and the best level for each on a grid, the estimates grow a lot. The table compares them with the true boundary, which the trajectory reversing method finds: integrate backward in time from points close to the saddle along its stable eigenvector (classical Runge-Kutta, step ).
| Method | Certified set | Area | Largest disc inside |
|---|---|---|---|
| from | 5.1247 | radius 1.0041 | |
| Best area on the grid ( step 0.025, step 0.05) | , , level 2.55606 | 15.330 | radius 1.3779 |
| Best disc on a finer grid (step 0.0025) | , , level 2.56807 | 14.262 | radius 1.3899 |
| Trajectory reversing (the true boundary) | no certificate by itself | unbounded | radius 1.3916 |
The closest point of the boundary to the origin is near . Along the axes, the region of attraction meets the -axis in the interval and the -axis in . The best ellipses come close to the true distance , but no ellipse can cover a region that is unbounded and not convex. Polynomial of higher degree, found by sum-of-squares programming, give larger estimates.
The levels in the table come from a numerical minimization over , so they are numerical values, not proofs. A simulation from 360 points on each ellipse at times its level converged to the origin in every case. That is a check, not a proof either. A proof needs an exact or verified certificate, as in the algorithms below.
Known algorithms
- Sublevel set of a fixed . Compute by minimizing on . In two dimensions this is a one-dimensional search, as in the example. To certify the result, show that on by an exact algebraic argument, by interval arithmetic on a cover of the set, or by a sum-of-squares certificate (Khalil 2002, Section 8.2).
- Sum-of-squares programming. For polynomial and , condition 3 on holds if there are a sum-of-squares polynomial and a small such that
For fixed and this is a semidefinite feasibility problem, and bisection on gives the best level that this certificate can prove. The joint search over , and is bilinear. The usual method alternates: fix and find and , then fix and find , and repeat (Chesi 2011). Each step is a semidefinite program. If each step starts from the previous solution, which is still feasible, the estimate does not decrease, but the iteration can stop at a point that is not the global optimum.
- Trajectory reversing. In the plane, the boundary of consists of solutions, often the stable solutions of saddles or an unstable limit cycle. Integrating backward in time from near the saddle, or from any point near the cycle, traces the boundary (Genesio, Tartaglia and Vicino 1985). This gives the true region with the accuracy of the integrator, not a certificate.
- Backward reachability. If a set is a certified estimate, then every state whose solution enters is in . Reachable set computation backward from , by level set methods such as Hamilton-Jacobi reachability or by set propagation, enlarges a small estimate. The cost grows quickly with the dimension.
- Zubov's method. The exact region is for the solution of a first-order partial differential equation, in one form with a chosen positive definite . Series solutions truncated at a finite degree give estimates near the origin.
- Simulation and sampling. Simulate from many initial states and record which converge. This gives a picture of the region and a good candidate for or , but no proof: a finite set of samples says nothing about the points between them. Simulations are useful to find counterexamples, since one diverging solution proves that its initial state is outside , and so gives an upper bound on the level .
Bounds
- Exact answers. No general method computes exactly for nonlinear systems. For linear systems with linear constraints the related maximal positively invariant set is a polytope that a finite algorithm finds under the conditions given on that page.
- Hardness. For polynomial vector fields of low degree (typically ), deciding whether all solutions from a given ball converge to a given equilibrium has no polynomial-time algorithm, and not even a pseudo-polynomial-time one, unless P = NP (Ahmadi, Majumdar and Tedrake 2013). So the decision form is hard in the worst case, and the methods above are relaxations or heuristics.
- Size of the SOS relaxations. A certificate of degree in variables uses a Gram matrix of size for each sum-of-squares term. For , that is ; for , it is . The semidefinite programs are solved by interior point methods in a time that is polynomial in the size and in for accuracy , under strict feasibility; this is not an exact decision procedure.
- Completeness in principle. By the converse Lyapunov theorem for the region of attraction, there is a smooth on whose sublevel sets are compact subsets of and fill it. So every compact subset of is inside some sublevel set certificate. Quadratic , as the example shows, can be far from this.
Reductions
- To nonnegativity of polynomials. For polynomial and , the check of a given pair is the question whether a polynomial is positive on a semialgebraic set. Sum-of-squares programming replaces it by a semidefinite program, with a Positivstellensatz certificate in the general case. The S-procedure is the quadratic case.
- To reachability. is the set of states that reach a certified neighborhood of the equilibrium, so estimation reduces to a small certified estimate plus a backward reachable set.
- From the problem of Lur'e. Absolute stability asks for a global answer for a family of nonlinearities. When only a local sector holds, the answer is an estimate of the region of attraction, often an ellipsoid found with a linear matrix inequality.
Applications
- Saturated control. A linear controller for a plant with actuator limits is only locally valid. The certified region tells which initial states and disturbances the closed loop tolerates, and anti-windup design tries to enlarge it.
- Power systems. After a fault is cleared, the state must lie in the region of attraction of the post-fault equilibrium. Lyapunov estimates give a bound on the time to clear the fault.
- Gain scheduling and motion planning. A controller designed at many operating points is valid only if the region of each one contains the states where the next one hands over. Certified estimates make this check.
- Model predictive control. The terminal set of an MPC scheme is a certified invariant set of a local controller, often a sublevel set of a quadratic .
References
- Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 8.2, Region of Attraction (estimates by sublevel sets of Lyapunov functions and the trajectory reversing method)
- R. Genesio, M. Tartaglia and A. Vicino, On the estimation of asymptotic stability regions: state of the art and new proposals, IEEE Transactions on Automatic Control 30(8), 747-755, 1985, the survey of Lyapunov and non-Lyapunov estimation methods and the trajectory reversing method
- G. Chesi, Domain of Attraction: Analysis and Control via SOS Programming, Lecture Notes in Control and Information Sciences 415, Springer, 2011, estimates by sublevel sets of polynomial Lyapunov functions with sum-of-squares certificates
- A. A. Ahmadi, A. Majumdar and R. Tedrake, Complexity of ten decision problems in continuous time dynamical systems, Proceedings of the American Control Conference, 2013, arXiv:1210.7420, the hardness of deciding whether all solutions from a ball converge to an equilibrium, for polynomial vector fields of low degree
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag AMSQV3 Edit this page History Report an error Markdown