1 Model Predictive Control: On-line optimization versus explicit precomputed controller Espen Storkaas Trondheim, 7.6. 2005.

Slides:



Advertisements
Similar presentations
استاد محترم : دکتر توحيدخواه ارائه دهنده : فاطمه جهانگيري.
Advertisements

TOWARDS a UNIFIED FRAMEWORK for NONLINEAR CONTROL with LIMITED INFORMATION Daniel Liberzon Coordinated Science Laboratory and Dept. of Electrical & Computer.
دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي Constraints in MPC کنترل پيش بين-دکتر توحيدخواه.
Control Structure Selection for a Methanol Plant using Hysys/Unisim
1 TTK4135 Optimization and control B.Foss Spring semester 2005 TTK4135 Optimization and control Spring semester 2005 Scope - this you shall learn Optimization.
1 Nonlinear Control Design for LDIs via Convex Hull Quadratic Lyapunov Functions Tingshu Hu University of Massachusetts, Lowell.
Nonlinear Optimization for Optimal Control
Separating Hyperplanes
Inexact SQP Methods for Equality Constrained Optimization Frank Edward Curtis Department of IE/MS, Northwestern University with Richard Byrd and Jorge.
1 CONTROLLED VARIABLE AND MEASUREMENT SELECTION Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology (NTNU)
IAAC International Symposium in Systems & Control, 7-8 October 2013, Technion, Haifa, Israel P-O Gutman: Constrained control of uncertain linear time-invariant.
PROCESS INTEGRATED DESIGN WITHIN A MODEL PREDICTIVE CONTROL FRAMEWORK Mario Francisco, Pastora Vega, Omar Pérez University of Salamanca – Spain University.
Using MPC in MPC Tim Robinson.
280 SYSTEM IDENTIFICATION The System Identification Problem is to estimate a model of a system based on input-output data. Basic Configuration continuous.
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
Using Analytic QP and Sparseness to Speed Training of Support Vector Machines John C. Platt Presented by: Travis Desell.
Explicit Non-linear Optimal Control Law for Continuous Time Systems via Parametric Programming Vassilis Sakizlis, Vivek Dua, Stratos Pistikopoulos Centre.
Classification Problem 2-Category Linearly Separable Case A- A+ Malignant Benign.
Reformulated - SVR as a Constrained Minimization Problem subject to n+1+2m variables and 2m constrains minimization problem Enlarge the problem size and.
Model Predictive Controller Emad Ali Chemical Engineering Department King Saud University.
REAL TIME OPTIMIZATION: A Parametric Programming Approach Vivek Dua You Only Solve Once.
Certifying the robustness of model predictive controllers W. P. Heath and B. Lennox Control Systems Centre The University of Manchester.
Overall Objectives of Model Predictive Control
Slide# Ketter Hall, North Campus, Buffalo, NY Fax: Tel: x 2400 Control of Structural Vibrations.
Unit 3a Industrial Control Systems
Industrial Process Modelling and Control Ton Backx Emeritaatsviering Joos Vandewalle.
Dual Evolution for Geometric Reconstruction Huaiping Yang (FSP Project S09202) Johannes Kepler University of Linz 1 st FSP-Meeting in Graz, Nov ,
Introduction to estimation theory Seoul Nat’l Univ.
1 Approaches to increase the range of use of Model predictive control Miguel Rodriguez Advisor: Cesar De Prada Systems Engineering and Automatic Control.
Belief space planning assuming maximum likelihood observations Robert Platt Russ Tedrake, Leslie Kaelbling, Tomas Lozano-Perez Computer Science and Artificial.
Offset Free Tracking with MPC under Uncertainty: Experimental Verification Audun Faanes * and Sigurd Skogestad † Department of Chemical Engineering Norwegian.
A Framework for Distributed Model Predictive Control
Frank Edward Curtis Northwestern University Joint work with Richard Byrd and Jorge Nocedal February 12, 2007 Inexact Methods for PDE-Constrained Optimization.
Bert Pluymers Johan Suykens, Bart De Moor Department of Electrotechnical Engineering (ESAT) Research Group SCD-SISTA Katholieke Universiteit Leuven, Belgium.
TUTORIAL on LOGIC-BASED CONTROL Part I: SWITCHED CONTROL SYSTEMS Daniel Liberzon Coordinated Science Laboratory and Dept. of Electrical & Computer Eng.,
1 Deadzone Compensation of an XY –Positioning Table Using Fuzzy Logic Adviser : Ying-Shieh Kung Student : Ping-Hung Huang Jun Oh Jang; Industrial Electronics,
Temperature Controller A model predictive controller (MPC) based on the controller proposed by Muske and Rawlings (1993) is used. For the predictions we.
Chapter 8 Model Based Control Using Wireless Transmitter.
Multiple Model approach to Multi-Parametric Model Predictive Control of a Nonlinear Process a simulation case study Boštjan Pregelj, Samo Gerkšič Jožef.
MURI: Integrated Fusion, Performance Prediction, and Sensor Management for Automatic Target Exploitation 1 Dynamic Sensor Resource Management for ATE MURI.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
Machine Learning Weak 4 Lecture 2. Hand in Data It is online Only around 6000 images!!! Deadline is one week. Next Thursday lecture will be only one hour.
CONTROL ENGINEERING IN DRYING TECHNOLOGY FROM 1979 TO 2005: REVIEW AND TRENDS by: Pascal DUFOUR IDS’06, Budapest, 21-23/08/2006.
Optimal Resource Allocation for Protecting System Availability against Random Cyber Attack International Conference Computer Research and Development(ICCRD),
Chapter 20 1 Overall Objectives of Model Predictive Control 1.Prevent violations of input and output constraints. 2.Drive some output variables to their.
Chapter 20 Model Predictive Control
1 Chapter 20 Model Predictive Control Model Predictive Control (MPC) – regulatory controls that use an explicit dynamic model of the response of process.
Robust Nonlinear Model Predictive Control using Volterra Models and the Structured Singular Value (  ) Rosendo Díaz-Mendoza and Hector Budman ADCHEM 2009.
دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي استاد درس دكتر فرزاد توحيدخواه بهمن 1389 کنترل پيش بين-دکتر توحيدخواه MPC Stability-2.
Dynamic Neural Network Control (DNNC): A Non-Conventional Neural Network Model Masoud Nikravesh EECS Department, CS Division BISC Program University of.
1 Effect of Input Rate Limitation on Controllability Presented at AIChE Annual Meeting in Austin, Texas November 7 th, 2002 Espen Storkaas & Sigurd Skogestad.
Water resources planning and management by use of generalized Benders decomposition method to solve large-scale MINLP problems By Prof. André A. Keller.
Computational Approach for Adjudging Feasibility of Acceptable Disturbance Rejection Vinay Kariwala and Sigurd Skogestad Department of Chemical Engineering.
بسم الله الرحمن الرحيم وبه نستعين
Chapter 20 Model Predictive Control (MPC) from Seborg, Edgar, Mellichamp, Process Dynamics and Control, 2nd Ed 1 rev. 2.1 of May 4, 2016.
Coordinator MPC with focus on maximizing throughput
Mechatronics at the University of Calgary: Concepts and Applications
Process Dynamics and Operations Group (DYN) TU-Dortmund
Presentation at NI Day April 2010 Lillestrøm, Norway
Recent Development of Global Self-Optimizing Control
Decomposed optimization-control problem
MPC in Statoil Stig Strand, specialist MPC Statoil Research Center 93  SINTEF Automatic Control Dr. ing 1991: Dynamic Optimisation in State.
CIS 700 Advanced Machine Learning for NLP Inference Applications
Overall Objectives of Model Predictive Control
Two-level strategy Vertical decomposition Optimal process operation
Dr. Arslan Ornek IMPROVING SEARCH
Multirate Output Feedback
Distributed Stochastic Model Predictive Control
Masoud Nikravesh EECS Department, CS Division BISC Program
Presentation transcript:

1 Model Predictive Control: On-line optimization versus explicit precomputed controller Espen Storkaas Trondheim,

2 Outline Introduction Brief history Linear MPC –Theory, feasibility, stability, performance Derivation of explicit MPC Nonlinear and hybrid MPC Applications Future directions Conclusions

3 Introduction Control problem: Find stabilizing control strategy that –Minimize objective functional –Satisfies constraints –is robust towards uncertainty

4 Solution strategies Closed loop optimal control Feedback: u=k(x) s.t. closed loop trajectories satisfying optimality Advantages: Feedback Uncertainty Disturbances Unstable systems Drawbacks Find k(x)? Open loop optimal control Input trajectory: u=u(t,x 0 ) solving optimization problem Advantages: Computationally feasible Drawbacks: No feedback Disturbances? Unstable systems Uncertainty

5 Possible solution 1 : MPC with online optimization Solve optimization problem over finite horizon Implement optimal input for  2 [t,t+] Re-optimize at next sample (feedback) Optimal control inputs implicitly via optimalization

6 MPC with online optimization (Allgöwer, 2004)

7 Solution strategies Close loop optimal control Feedback: u=k(x) s.t. closed loop trajectories satisfying optimality Advantages: Feedback Uncertainty Disturbances Unstable systems Drawbacks Find k(x)? Open loop optimal control Input trajectory: u=u(t,x 0 ) solving optimization problem Advantages: Computationally feasible Drawbacks: No feedback Disturbances? Unstable systems Uncertainty

8 Possible solution 2: Explicit MPC (Bemporad et al., 2002, Tøndel et al., 2003) Solve optimization problem offline for all x 2 X For linear systems: multiparametric QP (mp-QP) with solution Piecewise affine controller Exactly identical to implicit solution (via online optimization)

9 Model Predictive Control (MPC) Brief history (Qin & Badgwell, 2003) LQR (Kalman, 1964) –Unconstrained infinite horizon Constrained finite horizon – MPC (Richalet et al., 1978, Cutler & Ramaker,1979) –Driven by demands in industry –Defined MPC paradigm Posed as quadration program (QP) (Cutler et al. 1983) –Constraints appear explicitly Academic research (919 papers in 2002! (Allgöwer, 2004)) –Stability –Performance Explicit MPC (Bemporad et al. 2002, Tøndel et al. 2003)

10 Linear MPC – Problem formulation (Scokaert & Rawlings, 1998, Bemporad et al, 2002) Linear time-invariant discrete model: Objective: Constraints:

11 Linear MPC – Unconstrained case Problem: Classical LQR solution (Kalman 1960) K calculated from algebraic Ricatti equation Assymptotically stabilizing

12 Linear MPC – Infinite horizon (Constrained LQR) Problem: Infinite number of decision variables Stability proved by Rawlings & Muske (1993) Computationally feasible (Scokeart & Rawlings, 1998) Computationally expensive

13 Linear MPC – Finite input horizon Problem: Achieved solution: Stabilizing for K=0 and K=K LQ provided N large enough

14 Important aspects Feasibility –Slack on output constraints –Feasible region for unstable systems under input constraints Closed loop stability –Contraction constraint –Terminal constraint (x(k+N)=0) –Stable for control horizon N ”large enough” Performance –Implemented control trajectory may differ significantly from computed open-loop optimal –May lead to infeasibility –Solution: Long enough control horizon On-line computational requirements x(t) * x(t+) *

15 Derivation of explicit MPC (Bemporad et al., 2002) Rewrite constrained LQR problem: QP parameterized in initial state x(t) Solution for all x(t) by multi-parametric quadratic program (mp-QP) Solve mp-QP offline to find optimal solution U * t =U * (x(t)) Optimal input given by

16 Derivation of explicit MPC (2) With From Karush-Kuhn-Tucker optimality conditions and assuming linearly independent active constraints: KKT conditions gives partitioning of feasible regions into polyhedra Inherits properties of optimization problem

17 Partitioning of state space Offline computations Bemproad et al Tøndel et al Typical Algorithm: Choose initial active set Find control law for active set Find critical region correspond to active set Systematic exploration of remaining parameter space (Build search tree/ reduce complexity)

18 Explicit MPC: Online computations Binary search tree Sequential search Determine critical region –Sequential search –Binary search tree Implement optimal control Complexity of partition increses with # states/parameters

19 Properties of explicit MPC Dimensional explosion max 5-7 states/parameter with current formulation Disturbance rejection, reference tracking and soft/variable constraints can be included, but increases complexity Greatly simplified code vs. online optimization –Safety-critical systems

20 Nonlinear MPC Based on nonlinear process model and/or constraints to improve forcasting Requires solution of NLP, generally non-convex Stability and performance issues more important ”There are no analysis methods available that permit to analyze close loop stability based on knowledge of plant model, objective functional and horizon lengths” (Allgöwer et al.,1999) Approaches: –Infinite horizon NMPC –Zero state terminal equality constraint –Dual mode NMPC –Contractive NMPC –Quasi-infinite horizon NMPC

21 Nonlinear explicit MPC Exact solution cannot be represented as PWA control law Approximative PWA solutions with user-specified tolerance can be found (Johansen, 2004) –Solution of NLP’s offline –k-d tree partitioning of state space –Joint convexity of obejctive functional and constraints assumed Complexity similar to linear explicit MCP Guaranteed stability under assumptions on tolerance Larger potential than linear EMPC?

22 Hybrid MPC Applications to broad class of systems including –Linear hybrid dynamical systems –Piecewise linear systems (including approximations of nonlinear systems –Linear systems with constraints Modeled as mixed logical dynamical systems (Bemporad & Morari, 1999) MPC problem is MILP/MIQP Difficult to solve online in available time Explicit Hybrid MPC is PWA (Bemporad et al. 2002, Dua et al. 2002) –Identical to implicit solution found by online optimization

23 Application areas LinearNonlinear/Hybrid Online optimization + Reconfigurable + Proven technology - Slow processes - Not safety critical Refinery +Important nonlinearities/discret events + Reconfigureable -Slow processes - Not safety critical Polymer reactor Explicit precomputed +Safety critical +Low-cost hardware +High sampling rate -Low order -Fixed configuration ESP for cars +Safety critical +Low-cost hardware +High sampling rate -Low order -Fixed configuration Compressor Anti-surge

24 Future directions Linear MPC –Improved models / adaptive formulations –Multi-objective, prioritized constraints etc. Nonlinear/Hybrid MPC –Computational efficiency –Guaranteed stability/performance Explicit MPC –Reduction of complexity vs degree of suboptimality –Reconfigurability Exploit structure of problem

25 Concluding remarks Online optimization MPC for –Slow systems –Large systems Explicit precomputed MPC for –Small systems with high sampling rate –Safety critical –Dedicated hardware (controller on a chip) Acknowledgements Thanks to Tor Arne Johansen, Petter Tøndel and Olav Slupphaug for invaluable help with preparing this presentation

26 Selected References Allgöwer, F. (2004), Model Predictive Control: A Success Story Continues, APACT’04, Bath,April 26-28, 2004 Allgöwer, F., Badgwell, T.A., Qin, S.J., Rawlings, J.B. and Wright, S.J., (1999). Nonlinear predictive control and moving horizon estimation—an introductory overview. In: Frank, P.M., Editor,, Advances in control: highlights of ECC ’99, Springer, Berlin. Bemporad, A., Morari, M., Dua, V. and Pistikopoulos, E.N. (2002), The explicit linear quadratic regulator for constrained systems. Automatica 38 1, pp. 3–20, Bemporad A, Borrelli F, Morari M, (2002). On the optimal control law for linear discrete time hybrid systems, Lecture notes in computer science 2289: Bemporad A, Morari M, (1999), Control of systems integrating logic, dynamics and constraints, Automatica 35 (3): MAR 1999 Cutler, C. R., & Ramaker, B. L. (1979). Dynamic matrix control—a computer control algorithm. AICHE national meeting, Houston, TX, April Cutler, C., Morshedi, A., & Haydel, J. (1983). An industrial perspective on advanced control. In AICHE annual meeting, Washington, DC, October 1983 Dua V, Bozinis NA, Pistikopoulos EN. (2002), A multiparametric approach for mixed- integer quadratic engineering problems, Computers & Chemical Engineering 26 (4-5): MAY

27 Selected References Kalman, R. (1964), When is a linear control system optimal?, Journal of Basic Engineering – Transactions on ASME – Series D, 51-60, Johansen, T.A., Approximate Explicit Receding Horizon Control of Constrained Nonlinear Systems, Automatica, Vol. 40, pp , 2004 Qin, SJ., Badgwell, TA., A survey of industrial model predictive control technology, Control Engineering practice 11 (7): , 2003 Rawlings, J.B. and Muske, K.R., Stability of constrained receding horizon control. IEEE Transactions on Automatic Control 38 10, pp. 1512–1516 Richalet, J., Rault, A., Testud, J.L. and Papon, J., Model predictive heuristic control: Applications to industrial processes. Automatica 14, pp. 413–428, 1978 Scokaert, P.O.M. and Rawlings, J.B., Constrained linear quadratic regulation. IEEE Transactions on Automatic Control 43 8, pp. 1163–1169, 1998 Tøndel, P., Johansen, T.A. and Bemporad, A.(2003), An algorithm for multi- parametric quadratic programming and explicit MPC solutions. Automatica 39, 2003 Tøndel, P., Johansen, T.A. and Bemporad, A (2003). Evalution of piecewise affine control via binary search tree. Automatica 39, 2003

28 Ting som ikke er nevnt Robusthet Practical implementations

29 Thank you for your attention!

30 Functional spec. in modern MPC Prevent violation of input and output constraints Drive CV’s to steady state optimal values (or within bounds) Drive MV’s to steady state optimal values (or within bounds) Prevent excessive use of MVs In case of signal or actuator failure, control as much of the plant as possible as possible

31 Modern industrial MPC algorithm Overview Read MV, CV, DV Output feedback Determination of controlled sub- process Removal of ill-condisioned plant Local steady state optimization Dynamical optimization MV’s to process

32 Modern industrial MPC algorithm Output feedback Process states and kalman filter seldom used Ad-hoc biasing scheemes with challenges regarding –Extra measurements ? –Linear combinations of states? –Unmeasured disturbances models? –Measurements noise? Implications –Sluggish input disturbance rejection –Poor control of integrating and unstable systems

33 Modern industrial MPC algorithm Dynamic optimization Deviations from output trajectory Process model Output constraints Input constraints Output slack variablesInput deviationsInput moves

34 Modern industrial MPC algorithm Dynamic optimization (2) Solved as a sequence according to prioritized constraints and targets –Hard constraint on MV rate of change (always) –Hard constraint on MV magnitude –Sequential high priority soft constraints on CV’s –Set point control –Sequencial low priority soft constraints on CV’s and MV’s

35 Limitations with modern MPC algorithms

36 Pros/Cons

37 Road Ahead

38 Plan Introduction –General control problem formulation Goal Constraints-ARW or MPC Uncertainty Etc. –control hierachy MPC –History Drivers (industry, academia) Development –State of the art Theorethical status Fuctionality Industrial Practice Limitations –Theory Explicit MPC –History Drivers –Theory –State of the art Practical implementations? limitations Pros/cons Online opt./xplicit Future –What drives the development? –Explicit MPC in process industry? Which problems can this solve? –Other industries? Probably skip! –Can challenges with explicit MPC be resolved faster than growth in computing power needed for online opt –Robustness of online opt

39 Optimal operation of constrained processes Control of exothermal reaction Maximize throughput Quality requirements Limited cooling capacity Variable feed composition and temperature