Modeladvanced
Mixed logical dynamical system
Also called MLD system.
A model that writes hybrid dynamics with logic as linear equations and inequalities in real and binary variables.
A mixed logical dynamical (MLD) system is a discrete-time model in which the state update is linear in real variables and binary variables, and a set of linear inequalities ties the binary variables to the state and the input. The inequalities encode logic (if, and, or, implies), switching between modes, saturations and the condition that a real quantity is above a threshold. Bemporad and Morari (1999) introduced the form so that the finite-horizon optimal control of a hybrid plant becomes a mixed-integer linear or quadratic program, which a standard solver can handle. The model is the input format of hybrid MPC. It describes the same systems as a piecewise affine system under mild conditions (Heemels, De Schutter and Bemporad 2001), but in a form that an optimizer reads directly.
The machine
The state has real components and binary components , and the input and output are split the same way. The model adds auxiliary binary variables and auxiliary real variables :
Time is discrete. For a given and , the inequalities define the allowed . The model is well posed if, for every for which the inequalities have a solution, the next state and the output are unique (Bemporad and Morari 1999). The pairs with no solution are forbidden, so the inequalities also express state and input constraints.
From logic to inequalities. Let be affine with on the bounded domain, and let be a small tolerance.
| statement | inequalities |
|---|---|
| , | |
| , | |
| , |
These are big-M constraints. The constants and come from bounds on and , so the domain must be bounded in the directions that the logic uses. The tolerance is needed because a strict inequality cannot be written as a closed constraint.
Example. Take the scalar PWA system if and if , on , . Let stand for . With , the event gives and . Write the update as with , where :
For the second pair gives and . For the first pair gives and the second pair holds because . So , , , , with one binary variable, one auxiliary real variable and six inequalities. The model is well posed: the event inequalities fix for every outside , and the inequalities forbid that small interval.
What it counts
The model predicts the next state and the output, but each prediction is a feasibility problem: given and , find that satisfy the inequalities. Over a horizon of steps, the unknowns are input and auxiliary variables, of which are binary (plus binary inputs if any). With a quadratic cost, the optimal control problem is a mixed-integer quadratic program; with a 1-norm or infinity-norm cost, a mixed-integer linear program (Bemporad and Morari 1999). The size of the MLD model, and the tightness of the big-M constants, decide how hard these programs are for branch and bound (see mixed-integer programming).
Relation to other models
- PWA systems. A PWA system on a bounded domain becomes an MLD system with one binary variable per mode, , and ; the next state is . A well-posed MLD system defines a PWA system: for each value of the binary variables the remaining constraints are a polyhedron in and the update is affine. Heemels, De Schutter and Bemporad (2001) proved this equivalence, with the conditions on boundedness and well-posedness, and they extended it to linear complementarity, extended linear complementarity and max-min-plus-scaling systems. The PWA form is better for analysis by cells; the MLD form is better as input to an optimizer.
- Hybrid automata. A hybrid automaton has continuous time, locations with flows, guards and resets, and can be nondeterministic. An MLD system is in discrete time and is deterministic when it is well posed. A discrete-time hybrid automaton with affine flows, polyhedral guards and affine resets can be written in MLD form.
- Timed automata and Petri nets. A timed automaton has only clocks, and a Petri net only discrete markings. The MLD form can encode the discrete part of both with binary variables, but it is meant for plants with real dynamics, not for model checking.
- Mixed-integer programs. One step of an MLD system is a set of constraints of a mixed-integer program. Stacking copies gives the constraints of a planning problem.
Known results in the model
- Predictive control. The finite-horizon optimal control of an MLD system is an MIQP or MILP, and with a terminal equality constraint the receding horizon law makes the state converge to the equilibrium when the first problem is feasible (Bemporad and Morari 1999). See hybrid MPC and the MPC stability theorem.
- Equivalence. MLD and PWA systems describe the same input and state behaviors under the conditions of Heemels, De Schutter and Bemporad (2001), so the hardness results for PWA systems also hold here: asymptotic stability is NP-hard to decide even for two half spaces (Blondel and Tsitsiklis 1999), see piecewise affine system.
- Observability and controllability. Bemporad, Ferrari-Trecate and Morari (2000) reduced these questions for MLD and PWA systems to mixed-integer linear programs.
- Modeling tools. The HYSDEL language (Torrisi and Bemporad 2004) takes a description with logic, automata, events and linear dynamics and generates the MLD matrices, with the big-M constants computed from the given bounds.
- Explicit solutions. The optimal input of the finite-horizon problem is a piecewise affine function of the state, and it can be computed offline by multiparametric mixed-integer programming or dynamic programming (Borrelli, Bemporad and Morari 2017, Chapters 16 and 17). See explicit MPC.
References
- A. Bemporad and M. Morari, Control of systems integrating logic, dynamics, and constraints, Automatica 35(3), 1999, pages 407 to 427, the MLD form, the translation of propositional logic into mixed-integer inequalities, well-posedness, and predictive control of MLD systems
- W. P. M. H. Heemels, B. De Schutter and A. Bemporad, Equivalence of hybrid dynamical models, Automatica 37(7), 2001, pages 1085 to 1091, the equivalence of MLD, PWA, linear complementarity, extended linear complementarity and max-min-plus-scaling systems
- F. D. Torrisi and A. Bemporad, HYSDEL: a tool for generating computational hybrid models for analysis and synthesis problems, IEEE Transactions on Control Systems Technology 12(2), 2004, pages 235 to 249, the HYSDEL language and its compilation into MLD form
- A. Bemporad, G. Ferrari-Trecate and M. Morari, Observability and controllability of piecewise affine and hybrid systems, IEEE Transactions on Automatic Control 45(10), 2000, pages 1864 to 1876, observability and controllability tests for MLD and PWA systems by mixed-integer linear programming
- F. Borrelli, A. Bemporad and M. Morari, Predictive Control for Linear and Hybrid Systems, Cambridge University Press, 2017, Chapter 16, Models of Hybrid Systems
Where this leads
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 | W4 complete |
|
Tag 9HNM8B Edit this page History Report an error Markdown