Explicit Model Predictive Control
- Explicit MPC is a control strategy that computes the optimal feedback law offline, mapping the state to control via piecewise affine functions over polyhedral regions.
- It employs a multi-parametric quadratic programming approach to partition the state space, ensuring controllable transitions and performance guarantees even under finite precision quantization.
- Design guidelines derived from error analysis inform trade-offs in bit-width allocation and resource usage for robust implementation on embedded hardware.
Explicit Model Predictive Control (MPC) is a control strategy in which the optimal MPC feedback law is computed offline as an explicit mapping from system state to control action, removing the need for online numerical optimization. For constrained linear systems with quadratic cost and polyhedral constraints, explicit MPC results in the partitioning of the state space into a finite set of polyhedral regions, each associated with a unique affine control law. Implementation on resource-constrained hardware often requires controller data to be quantized, raising questions concerning the effect of finite word-length arithmetic on the accuracy of the computed control action. This article provides a detailed exposition of explicit MPC, with rigorous emphasis on the structure of its solution, error analysis under quantization, and resulting design guidelines.
1. Structure of Explicit MPC for Linear Systems
Explicit MPC for discrete-time, linear time-invariant systems with linear state and input constraints is formulated as a multi-parametric quadratic program (mpQP) in the initial state . The system is governed by
subject to state constraints and input constraints . The finite-horizon quadratic cost function is
The mpQP is solved ahead of time via parametric programming, resulting in an explicit, piecewise affine (PWA) feedback law: Here, denote a partition of the admissible state space into non-overlapping convex polyhedra. Each is the intersection of closed half-spaces. Continuity of across shared facets is enforced by the structure of the parametric solution (Knyazev et al., 2015).
2. Quantization Effects and Notation
Controller implementation on digital hardware with restricted memory and computational capacities requires the representation of all controller data with finite-precision arithmetic. This is abstracted as applying a uniform scalar quantizer to any real value , resulting in the quantized value with . Every component of the explicit controller is quantized:
- Region definition matrices: ,
- Control law parameters: ,
- Measured state: Each perturbation is bounded: , , , , (Knyazev et al., 2015).
3. Analysis and Bounding of Control Error under Quantization
The central technical concern is to quantify the resulting maximal deviation as a function of and system parameters. Two situations are distinguished:
- Case A (same region): and remain in the same region ; the error is dominated by the quantization of , , and , and admits a direct bound.
- Case B (facet crossing): and straddle a shared facet between and ; this "jump-over" scenario can cause a potentially higher error due to discontinuities in the region location computation.
For case B, assume the separating hyperplane is , with quantization errors , . Analysis yields
and , where and . The control error bound is
where , are the gain matrices of the adjacent regions, and is the state dimension. The first term captures the facet-jump effect; the second is the quantization error in the affine law (Knyazev et al., 2015).
Two explicit upper bounds are provided:
- A posteriori: using the actually quantized controller coefficients, tighter but requires access to stored quantized data.
- A priori: conservative, using only norms of the unquantized controller data.
4. Bit-Width Selection Guidelines
To guarantee a prescribed control accuracy over a compact domain , a control designer computes a monotonic upper bound from the above expressions and solves for the minimum required quantizer granularity . In fixed-point arithmetic, fractional bits corresponds to . Advances involve the following practical techniques:
- Employ non-uniform precision: assign higher bit-widths to the most sensitive parameters (e.g., on sensitive facets), lowering memory costs.
- Exploit a posteriori evaluation: after quantization, verify if the real bound is below the guarantee and potentially reduce by 1–2 bits.
- Input normalization and facet scaling: rescaling to satisfy and normalizing facets so reduces the error margin , further decreasing required bit-width.
- Trade-off between ROM requirements and control fidelity: increased bits enhance accuracy but demand more storage and may slow region search.
5. Case Study: Quantitative Results for a Double-Integrator Example
A canonical double-integrator system, , with state and input bounds , , prediction horizon , and quadratic cost, is analyzed:
- The explicit controller partitions the state-space into 13 regions.
- Implementing a fixed-point format with , (i.e., ), the maximum control error observed is , with the a posteriori and a priori bounds at $0.26$ and $0.9$, respectively.
- Increasing the accuracy to , (), the observed maximal error decreases to . These results confirm the theoretical predictions and illustrate the tradeoffs between bit-width, control error, and resource utilization (Knyazev et al., 2015).
6. Implications for Embedded Implementation and Design Practice
Explicit MPC provides an implementation pathway for constrained optimal control in environments where real-time optimization is impractical. The analytical error bounds derived for quantized explicit MPC directly inform hardware design:
- Control architects can specify memory and accuracy constraints upfront and solve for the required word length before deployment.
- The analysis reveals which control law regions, gain matrices, or polyhedral facets are susceptible to quantization-induced degradation, supporting fine-grained resource allocation.
- The procedure extends naturally to non-uniform quantizer allocation and hybrid microcontroller architectures. Ultimate memory vs. performance trade-offs and region-search complexity must be determined in context, using these quantization bounds to enable rigorous certification of embedded explicit MPC performance (Knyazev et al., 2015).
Key reference:
“Explicit model predictive control accuracy analysis” (Knyazev et al., 2015)