Techniqueresearch
Symbolic control
Also called abstraction-based controller synthesis.
Builds a finite abstraction of a continuous system related by approximate bisimulation, synthesizes a controller on it, and refines it back.
Symbolic control designs a controller for a continuous or hybrid system in three steps. It replaces the system by a finite transition system, the abstraction, whose states are cells of a grid and whose transitions over-approximate the dynamics. It solves the control problem on the finite system as a game on a graph, which is exact and automatic for safety, reachability and temporal logic goals. Then it refines the finite controller into a controller for the real system: measure the state, find its cell, and apply an input that the finite controller allows in that cell. A relation between the two systems, an approximate bisimulation (Girard and Pappas 2007; Pola, Girard and Tabuada 2008) or a feedback refinement relation (Reissig, Weber and Rungger 2017), makes the refined controller correct by construction. Tabuada (2009) presents the approach in a book.
In plain words
Draw a grid over the space of states. For each square and each allowed input, work out, with a safe margin, which squares the system can move into in one step. Now you have a finite map: squares, and arrows labeled with inputs. A computer can solve control questions on such a map exactly, the way it solves a game on a board: which squares can stay away from the bad ones for ever, or reach a goal.
To use the answer, look at which square the real state is in, and apply an input that the map allows there. Because the arrows include every real move, the real system does what the map promises. The price is the grid: it grows very fast with the number of state components.
When it applies
- Discrete-time or sampled dynamics. The system is , or a continuous system sampled with a period and inputs held constant, on a bounded set of states, with finitely many input values or a quantized input set.
- A way to over-approximate one step. For each cell and input, the program needs a set that contains all successors: from monotonicity, a Lipschitz or growth bound, or an interval or zonotope enclosure. This is a small reachable set computation.
- Specifications for finite systems. Safety, reachability, reach-avoid and linear temporal logic goals, which have exact algorithms on finite graphs; see reactive synthesis and games on graphs.
- Low dimension. In practice, about up to five or six state variables with current tools, because the number of cells is exponential in the dimension (a rule of thumb, not a theorem).
The template
The cells partition the bounded state set, each cell is a set , and is the set of cells that meet an over-approximation of . The goal here is safety: keep the state in the safe set for ever.
SYMBOLIC-SAFETY(cells, inputs, f, S)- 1
for each cell q and input u do Post(q, u) ← the cells that meet an over-approximation of f([q], u) - 2
W ← the cells q with [q] inside S - 3
repeat - 4
W' ← the cells q in W that have an input u with Post(q, u) nonempty and inside W - 5
if W' = W then stop; W ← W' - 6
C(q) ← the inputs u with Post(q, u) inside W, for each q in W - 7
refined controller: at the state x, find the cell q with x in [q], and apply any u in C(q)
Lines L3 to L5 compute the largest fixed point of a safety game on the finite graph, the finite analogue of the control invariant set iteration. With a counter of the good successors per pair , it takes time linear in the number of transitions.
Theorem (soundness of the refinement). Suppose that for every cell , input and state , the successor lies in a cell of . Then every solution of the closed loop of line L7 that starts in a cell of stays in the union of the cells of , and so in .
Proof. Let with , and let be the applied input. Then lies in a cell of , and by line L6, which is nonempty by line L4 at the fixed point. By induction the state stays in cells of , and these lie in by line L2.
The converse fails: a state from which a safe controller exists can be outside , because the abstraction adds behaviors. Approximate bisimulation gives a bound on this loss, for incrementally stable systems.
Classic examples
An unstable scalar plant. Take with and the safe set . With cells , , and , a cell maps exactly to .
| cell | best input | image | kept in round 1 | kept in round 2 |
|---|---|---|---|---|
| no | ||||
| yes | yes | |||
| yes | yes | |||
| no |
The fixed point is , with on the left cell and on the right one. From , the closed loop visits and repeats, so it stays safe. The largest set from which some input sequence keeps the state in is : for , , so the distance above at least doubles at every step. The abstraction finds this set except the point . With the coarser cells and , the images are and at best, both leave , and is empty: the coarse abstraction proves nothing, although the plant can be kept safe.
Exact abstractions of hybrid systems. For timed automata, the region graph is a finite bisimulation quotient. Alur, Henzinger, Lafferriere and Pappas (2000) describe other classes of hybrid systems with finite bisimulation quotients. For general continuous dynamics such quotients do not exist, and symbolic control uses approximate ones.
Incrementally stable systems. Pola, Girard and Tabuada (2008) built grid abstractions of nonlinear control systems that are incrementally globally asymptotically stable. For such systems, the finite model is approximately bisimilar to the sampled system, with a precision that a fine enough grid and a long enough sampling time make as small as wanted. A controller found on the finite model then has a guaranteed precision on the real system.
Tools. SCOTS (Rungger and Zamani 2016) builds abstractions with growth bounds, in the setting of feedback refinement relations, and solves safety and reachability games.
Variations
- Reachability and reach-avoid. Replace the greatest fixed point by a least fixed point: start from the target cells and add the cells that have an input whose successors all lie in the set so far. The number of rounds bounds the number of steps to the target.
- Temporal logic goals. Turn an LTL formula into an automaton, take the product with the abstraction, and solve the resulting game, for example a parity game; see reactive synthesis and LTL model checking.
- Feedback refinement relations. Reissig, Weber and Rungger (2017) require the abstraction to over-approximate the reachable sets of cells, and refine the controller by a quantizer only, without incremental stability.
- Nonuniform and lazy abstractions. Refine the grid only where the synthesis needs it, or compute transitions only for the cells that the fixed point visits.
- Abstraction of hybrid systems. The same steps apply to switched and piecewise affine systems, with the modes as inputs or as part of the state.
Pitfalls
- An abstraction that under-approximates (line L1). If misses a cell that a real successor enters, for example because the program sampled a few points of the cell, the theorem fails. Use a sound enclosure of the successors of the whole cell.
- Cells that overlap, or a state between cells (line L7). The refinement needs each state in exactly one cell. Use half-open cells, and treat the edge of the domain as unsafe.
- Empty answer from a coarse grid (lines L3 to L5). The method is sound but not complete: an empty means only that this abstraction found no controller, as in the example. Refine the grid or shorten the sampling period.
- Dimension. With cells per axis there are cells, the curse of dimensionality. Exploit structure (monotone dynamics, decomposition) before refining.
- Sampled-data effects. For a continuous plant, the abstraction is about the sampling instants. Safety between samples needs an enclosure of the flow over the whole sampling interval.
- Measurement errors. The refinement assumes that the cell of the true state is known. With measurement errors, enlarge the over-approximation by the error, or the theorem no longer applies.
Exercises
- In the example, use the cells of width on . Which cells are in , and how close is to ?
- Replace the inputs by in the example and compute with cells of width . Compare with the largest set that some input sequence can keep in .
- Write the least fixed point for the goal "reach while staying in " and run it on the example with cells of width .
- Show that the iteration of lines L3 to L5 stops after at most as many rounds as there are cells.
- For with , show that cells of any width give an abstraction in which the images of a cell have width , and explain why such a contracting system is easy to abstract.
References
- P. Tabuada, Verification and Control of Hybrid Systems: A Symbolic Approach, Springer, 2009, the chapters on symbolic models, approximate symbolic models for control, and controller synthesis on finite models
- A. Girard and G. J. Pappas, Approximation metrics for discrete and continuous systems, IEEE Transactions on Automatic Control 52(5), 2007, pages 782 to 798, approximate simulation and bisimulation relations with a precision, and bisimulation functions
- G. Pola, A. Girard and P. Tabuada, Approximately bisimilar symbolic models for nonlinear control systems, Automatica 44(10), 2008, pages 2508 to 2516, finite models on a grid that are approximately bisimilar to incrementally stable nonlinear control systems
- G. Reissig, A. Weber and M. Rungger, Feedback refinement relations for the synthesis of symbolic controllers, IEEE Transactions on Automatic Control 62(4), 2017, pages 1781 to 1796, abstractions built from over-approximated reachable sets of cells, and refinement of the controller by a quantizer only
- R. Alur, T. A. Henzinger, G. Lafferriere and G. J. Pappas, Discrete abstractions of hybrid systems, Proceedings of the IEEE 88(7), 2000, pages 971 to 984, classes of hybrid systems with exact finite bisimulation quotients
- M. Rungger and M. Zamani, SCOTS: A tool for the synthesis of symbolic controllers, Hybrid Systems: Computation and Control (HSCC 2016), 2016, pages 99 to 104, a tool that builds grid abstractions with growth bounds and solves safety and reachability games
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 W6XGE3 Edit this page History Report an error Markdown