Memory-Efficient Mixed-Precision Implementations for Robust Explicit Model Predictive Control

We propose an optimization for space-efficient implementations of explicit model-predictive controllers (MPC) for robust control of linear time-invariant (LTI) systems on embedded platforms. We obtain an explicit-form robust model-predictive controller as a solution to a multi-parametric linear programming problem. The structure of the controller is a polyhedral decomposition of the control domain, with an affine map for each domain. While explicit MPC is suited for embedded devices with low computational power, the memory requirements for such controllers can be high. We provide an optimization algorithm for a mixed-precision implementation of the controller, where the deviation of the implemented controller from the original one is within the robustness margin of the robust control problem. The core of the mixed-precision optimization is an iterative static analysis that co-designs a robust controller and a low-bitwidth approximation that is statically guaranteed to always be within the robustness margin of the original controller. We have implemented our algorithm and show on a set of benchmarks that our optimization can reduce space requirements by up to 20.9% and on average by 12.6% compared to a minimal uniform precision implementation of the original controller.

[1]  Wayne Luk,et al.  Automatic Accuracy-Guaranteed Bit-Width Optimization for Fixed and Floating-Point Systems , 2007, 2007 International Conference on Field Programmable Logic and Applications.

[2]  Alberto Bemporad,et al.  The explicit linear quadratic regulator for constrained systems , 2003, Autom..

[3]  Florent de Dinechin,et al.  Assisted verification of elementary functions using Gappa , 2006, SAC.

[4]  Alberto L. Sangiovanni-Vincentelli,et al.  Model predictive control with signal temporal logic specifications , 2014, 53rd IEEE Conference on Decision and Control.

[5]  Daniel Kroening,et al.  Automated Formal Synthesis of Digital Controllers for State-Space Physical Plants , 2017, CAV.

[6]  Tor Arne Johansen,et al.  Hardware Synthesis of Explicit Model Predictive Controllers , 2007, IEEE Transactions on Control Systems Technology.

[7]  Eva Darulova,et al.  Sound Mixed-Precision Optimization with Rewriting , 2017, 2018 ACM/IEEE 9th International Conference on Cyber-Physical Systems (ICCPS).

[8]  Ricardo G. Sanfelice,et al.  Optimal control of Mixed Logical Dynamical systems with Linear Temporal Logic specifications , 2008, 2008 47th IEEE Conference on Decision and Control.

[9]  Eduardo Fernandez-Camacho,et al.  Introduction to Model Based Predictive Control , 1995 .

[10]  Katarzyna Radecka,et al.  An efficient hybrid engine to perform range analysis and allocate integer bit-widths for arithmetic circuits , 2011, 16th Asia and South Pacific Design Automation Conference (ASP-DAC 2011).

[11]  Wayne Luk,et al.  Ieee Transactions on Computer-aided Design of Integrated Circuits and Systems Accuracy Guaranteed Bit-width Optimization Abstract— We Present Minibit, an Automated Static Approach for Optimizing Bit-widths of Fixed-point Feedforward Designs with Guaranteed Accuracy. Methods to Minimize Both the In- , 2022 .

[12]  Rupak Majumdar,et al.  Shrinking Horizon Model Predictive Control With Signal Temporal Logic Constraints Under Stochastic Disturbances , 2017, IEEE Transactions on Automatic Control.

[13]  Eduardo F. Camacho,et al.  MIN-MAX MODEL PREDICTIVE CONTROL AS A QUADRATIC PROGRAM , 2005 .

[14]  Insup Lee,et al.  LCV: A Verification Tool for Linear Controller Software , 2019, TACAS.

[15]  Ufuk Topcu,et al.  Receding Horizon Temporal Logic Planning , 2012, IEEE Transactions on Automatic Control.

[16]  Paulo Tabuada,et al.  Automatic verification of control system implementations , 2010, EMSOFT '10.

[17]  Calin Belta,et al.  Dynamic contracts for distributed temporal logic control of traffic networks , 2017, 2017 IEEE 56th Annual Conference on Decision and Control (CDC).

[18]  Eduardo F. Camacho,et al.  Piecewise affinity of min-max MPC with bounded additive uncertainties and a quadratic criterion , 2006, Autom..

[19]  Manfred Morari,et al.  Multi-Parametric Toolbox 3.0 , 2013, 2013 European Control Conference (ECC).

[20]  Jorge Stolfi,et al.  Affine Arithmetic: Concepts and Applications , 2004, Numerical Algorithms.

[21]  Insup Lee,et al.  Automatic Verification of Finite Precision Implementations of Linear Controllers , 2017, TACAS.

[22]  Oded Maler,et al.  Robust Satisfaction of Temporal Logic over Real-Valued Signals , 2010, FORMATS.

[23]  S. Joe Qin,et al.  A survey of industrial model predictive control technology , 2003 .

[24]  Michael Athans,et al.  Design of feedback control systems for stable plants with saturating actuators , 1988, Proceedings of the 27th IEEE Conference on Decision and Control.

[25]  Colin Neil Jones,et al.  A logarithmic-time solution to the point location problem for parametric linear programming , 2006, Autom..

[26]  Nicola Nicolici,et al.  Finite Precision bit-width allocation using SAT-Modulo Theory , 2009, 2009 Design, Automation & Test in Europe Conference & Exhibition.

[27]  Alberto Bemporad,et al.  A survey on explicit model predictive control , 2009 .

[28]  Rupak Majumdar,et al.  Trigger memoization in self-triggered control , 2012, EMSOFT '12.

[29]  A. Bemporad,et al.  Model Predictive Control Design: New Trends and Tools , 2006, Proceedings of the 45th IEEE Conference on Decision and Control.

[30]  Heiko Becker,et al.  Daisy - Framework for Analysis and Optimization of Numerical Programs (Tool Paper) , 2018, TACAS.

[31]  Johan Löfberg,et al.  YALMIP : a toolbox for modeling and optimization in MATLAB , 2004 .

[32]  Eric C. Kerrigan,et al.  Explicit MPC: Hard constraint satisfaction under low precision arithmetic , 2016 .

[33]  Deepak Ingole,et al.  Reducing Memory Footprints in Explicit Model Predictive Control using Universal Numbers , 2017 .

[34]  Houssam Abbas,et al.  Smooth operator: Control using the smooth robustness of temporal logic , 2017, 2017 IEEE Conference on Control Technology and Applications (CCTA).

[35]  Martin Mönnigmann,et al.  Fast explicit MPC with multiway trees , 2011 .

[36]  Hai Zhou,et al.  Low-Power Optimization by Smart Bit-Width Allocation in a SystemC-Based ASIC Design Environment , 2007, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[37]  Ezio Bartocci,et al.  Automated Synthesis of Safe Digital Controllers for Sampled-Data Stochastic Nonlinear Systems , 2019, IEEE Access.

[38]  James Demmel,et al.  IEEE Standard for Floating-Point Arithmetic , 2008 .

[39]  Marko Bacic,et al.  Model predictive control , 2003 .

[40]  Wayne Luk,et al.  Unifying bit-width optimisation for fixed-point and floating-point designs , 2004, 12th Annual IEEE Symposium on Field-Programmable Custom Computing Machines.