Papers
Topics
Authors
Recent
Search
2000 character limit reached

Explicit Model Predictive Control

Updated 19 March 2026
  • 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 x0x_0. The system is governed by

xk+1=Axk+Bukx_{k+1} = A x_k + B u_k

subject to state constraints HxxkKxH_x x_k \leq K_x and input constraints HuukKuH_u u_k \leq K_u. The finite-horizon quadratic cost function is

J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)

The mpQP is solved ahead of time via parametric programming, resulting in an explicit, piecewise affine (PWA) feedback law: u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r Here, {Pi}\{P_i\} denote a partition of the admissible state space Rn\mathbb{R}^n into nrn_r non-overlapping convex polyhedra. Each Pi={xHixKi}P_i = \{x \mid H_i x \leq K_i\} is the intersection of xk+1=Axk+Bukx_{k+1} = A x_k + B u_k0 closed half-spaces. Continuity of xk+1=Axk+Bukx_{k+1} = A x_k + B u_k1 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 xk+1=Axk+Bukx_{k+1} = A x_k + B u_k2 to any real value xk+1=Axk+Bukx_{k+1} = A x_k + B u_k3, resulting in the quantized value xk+1=Axk+Bukx_{k+1} = A x_k + B u_k4 with xk+1=Axk+Bukx_{k+1} = A x_k + B u_k5. Every component of the explicit controller is quantized:

  • Region definition matrices: xk+1=Axk+Bukx_{k+1} = A x_k + B u_k6, xk+1=Axk+Bukx_{k+1} = A x_k + B u_k7
  • Control law parameters: xk+1=Axk+Bukx_{k+1} = A x_k + B u_k8, xk+1=Axk+Bukx_{k+1} = A x_k + B u_k9
  • Measured state: HxxkKxH_x x_k \leq K_x0 Each perturbation is bounded: HxxkKxH_x x_k \leq K_x1, HxxkKxH_x x_k \leq K_x2, HxxkKxH_x x_k \leq K_x3, HxxkKxH_x x_k \leq K_x4, HxxkKxH_x x_k \leq K_x5 (Knyazev et al., 2015).

3. Analysis and Bounding of Control Error under Quantization

The central technical concern is to quantify the resulting maximal deviation HxxkKxH_x x_k \leq K_x6 as a function of HxxkKxH_x x_k \leq K_x7 and system parameters. Two situations are distinguished:

  • Case A (same region): HxxkKxH_x x_k \leq K_x8 and HxxkKxH_x x_k \leq K_x9 remain in the same region HuukKuH_u u_k \leq K_u0; the error is dominated by the quantization of HuukKuH_u u_k \leq K_u1, HuukKuH_u u_k \leq K_u2, and HuukKuH_u u_k \leq K_u3, and admits a direct bound.
  • Case B (facet crossing): HuukKuH_u u_k \leq K_u4 and HuukKuH_u u_k \leq K_u5 straddle a shared facet between HuukKuH_u u_k \leq K_u6 and HuukKuH_u u_k \leq K_u7; 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 HuukKuH_u u_k \leq K_u8, with quantization errors HuukKuH_u u_k \leq K_u9, J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)0. Analysis yields

J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)1

and J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)2, where J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)3 and J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)4. The control error bound is

J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)5

where J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)6, J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)7 are the gain matrices of the adjacent regions, and J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)8 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 J=xNTPxN+j=0N1(xjTQxj+ujTRuj)J = x_N^T P x_N + \sum_{j=0}^{N-1} (x_j^T Q x_j + u_j^T R u_j)9 over a compact domain u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r0, a control designer computes a monotonic upper bound u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r1 from the above expressions and solves u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r2 for the minimum required quantizer granularity u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r3. In fixed-point arithmetic, u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r4 fractional bits corresponds to u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r5. Advances involve the following practical techniques:

  • Employ non-uniform precision: assign higher bit-widths to the most sensitive parameters (e.g., u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r6 on sensitive facets), lowering memory costs.
  • Exploit a posteriori evaluation: after quantization, verify if the real bound is below the guarantee and potentially reduce u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r7 by 1–2 bits.
  • Input normalization and facet scaling: rescaling u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r8 to satisfy u(x)=Fix+Gi,xPi,i=1,,nru(x) = F_i x + G_i, \quad x \in P_i, \quad i = 1,\ldots,n_r9 and normalizing facets so {Pi}\{P_i\}0 reduces the error margin {Pi}\{P_i\}1, 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, {Pi}\{P_i\}2, with state and input bounds {Pi}\{P_i\}3, {Pi}\{P_i\}4, prediction horizon {Pi}\{P_i\}5, and quadratic cost, is analyzed:

  • The explicit controller partitions the state-space into 13 regions.
  • Implementing a fixed-point format with {Pi}\{P_i\}6, {Pi}\{P_i\}7 (i.e., {Pi}\{P_i\}8), the maximum control error observed is {Pi}\{P_i\}9, with the a posteriori and a priori bounds at Rn\mathbb{R}^n0 and Rn\mathbb{R}^n1, respectively.
  • Increasing the accuracy to Rn\mathbb{R}^n2, Rn\mathbb{R}^n3 (Rn\mathbb{R}^n4), the observed maximal error decreases to Rn\mathbb{R}^n5. 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)

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Explicit Model Predictive Control (MPC).