Model-based Predictive Control (MPC)

Slides:



Advertisements
Similar presentations
PROCESS INTEGRATED DESIGN WITHIN A MODEL PREDICTIVE CONTROL FRAMEWORK Mario Francisco, Pastora Vega, Omar Pérez University of Salamanca – Spain University.
Advertisements

Contents of the presentation:
280 SYSTEM IDENTIFICATION The System Identification Problem is to estimate a model of a system based on input-output data. Basic Configuration continuous.
INTEGRATED DESIGN OF WASTEWATER TREATMENT PROCESSES USING MODEL PREDICTIVE CONTROL Mario Francisco, Pastora Vega University of Salamanca – Spain European.
A COMPUTER BASED TOOL FOR THE SIMULATION, INTEGRATED DESIGN, AND CONTROL OF WASTEWATER TREAMENT PROCESSES By P. Vega, F. Alawneh, L. González, M. Francisco,
NORM BASED APPROACHES FOR AUTOMATIC TUNING OF MODEL BASED PREDICTIVE CONTROL Pastora Vega, Mario Francisco, Eladio Sanz University of Salamanca – Spain.
Model Predictive Controller Emad Ali Chemical Engineering Department King Saud University.
Estimation and the Kalman Filter David Johnson. The Mean of a Discrete Distribution “I have more legs than average”
Overall Objectives of Model Predictive Control
CSE 425: Industrial Process Control 1. About the course Lect.TuLabTotal Semester work 80Final 125Total Grading Scheme Course webpage:
Adaptive Signal Processing
Optimal temperature control of rooms Siri Hofstad Trapnes Superviors: Sigurd Skogestad and Chriss Grimholt.
Proportional/Integral/Derivative Control
Industrial Process Modelling and Control Ton Backx Emeritaatsviering Joos Vandewalle.
Chapter 6 Control Using Wireless Throttling Valves.
Offset Free Tracking with MPC under Uncertainty: Experimental Verification Audun Faanes * and Sigurd Skogestad † Department of Chemical Engineering Norwegian.
PSE and PROCESS CONTROL
Temperature Controller A model predictive controller (MPC) based on the controller proposed by Muske and Rawlings (1993) is used. For the predictions we.
Solution of a Partial Differential Equations using the Method of Lines
Chapter 20 1 Overall Objectives of Model Predictive Control 1.Prevent violations of input and output constraints. 2.Drive some output variables to their.
An Introduction To The Kalman Filter By, Santhosh Kumar.
Under supervision of: Dr S.K. Hosseini S.
MPC in Statoil. 2 In-house tool Septic, Statoil Estimation and Prediction Tool for Identification and Control Developed and maintained by the process.
Matlab Tutorial for State Space Analysis and System Identification
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.
2/25/2001Industrial Process Control1 Dynamic Matrix Control - Introduction Developed at Shell in the mid 1970’s Evolved from representing process dynamics.
ChE 433 DPCL Model Based Control Smith Predictors.
Cascade Control Systems (串级控制系统)
Coordinator MPC with focus on maximizing throughput
Fuzzy Logic Workshop   Design of Fuzzy Controller for Temperature Chamber  
Implementation of a MPC on a deethanizer
Process Dynamics and Operations Group (DYN) TU-Dortmund
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
CEC Conference, July 10, 2017 Comparison of different cryogenic control strategies via simulation applied to a superconducting magnet test bench at CERN.
Model Predictive Control
Presentation at NI Day April 2010 Lillestrøm, Norway
Unscented Kalman Filter for a coal run-of-mine bin
Model-based Predictive Control (MPC)
Mathematical Models for Simulation, Control and Testing
Introduction to process control
Course PEF3006 Process Control Fall 2017 Lecture: Process dynamics
State estimation (Kalman filter)
Model-based Predictive Control (MPC)
Tuning of PID controllers
Overall Objectives of Model Predictive Control
Av Finn Aakre Haugen IA3112 Automatiseringsteknikk og EK3114 Automatisering og vannkraftregulering Høstsemesteret 2017 Gain scheduling.
Course PEF3006 Process Control Fall 2018 Feedforward Control
Tuning of PID controllers
Kalman Filtering: Control with Limited/Noisy Measurements
Autonomous Cyber-Physical Systems: Dynamical Systems
Process Control Engineering
Model-based Predictive Control (MPC)
Course PEF3006 Process Control Fall 2018 Lecture: Process dynamics
Course PEF3006 Process Control Fall 2018 PID Control
State estimation (Kalman filter)
IA3112 Automatiseringsteknikk (Automatic Control)
Christoph J. Backi and Sigurd Skogestad
Introduction to process control
IA3112 Automatiseringsteknikk Høsten 2018
Implementation of a MPC on a deethanizer
Example : Optimal blending of gasoline
IA3112 Automatiseringsteknikk Høsten 2017
Averaging (or equalizing) level control
Av Finn Aakre Haugen IA3112 Automatiseringsteknikk og EK3114 Automatisering og vannkraftregulering Høstsemesteret 2018 Gain scheduling.
Course PEF3006 Process Control Fall 2017 Feedforward Control
How a control system may become unstable
Averaging (or equalizing) level control
Averaging (or equalizing) level control
How a control system may become unstable
Presentation transcript:

Model-based Predictive Control (MPC) IA3112 Automatiseringsteknikk Høsten 2018 Model-based Predictive Control (MPC) Finn Aakre Haugen (finn.haugen@usn.no) IA3112 Aut. MPC. Haugen. 2018

J. M. Maciejowski in Predictive Control with Constraints (2002). "MPC is the only advanced control technique that is more advanced than standard PID to have a significant and widespread impact on industrial process control." J. M. Maciejowski in Predictive Control with Constraints (2002). IA3112 Aut. MPC. Haugen. 2018

History Cutler and Ramaker (Shell Oil), 1973: DMC (Dynamic Matrix Control). 1983: QDMC (Quadratic DMC). Application to furnace temperature control. Richalet et al., 1976: Algorithm: MPHC (Model predictive heuristic control). Software: IDCOM (Identification and Command). Applied to a fluid catalytic cracking unit and a PVC plant. Lot of development since then. MPC is the dominating model-based controller in control-oriented conferences and journals. IA3112 Aut. MPC. Haugen. 2018

Some MPC products DeltaV (Emerson Process Partner) 800xA APC (ABB) Matlab MPC Toolbox, also for Simulink LabVIEW Predictive Control palette in Control Design toolkit Septic (Statoil, no external use) . IA3112 Aut. MPC. Haugen. 2018

What is MPC? IA3112 Aut. MPC. Haugen. 2018

(typical from Euler forward discretization) Process model (typical from Euler forward discretization) IA3112 Aut. MPC. Haugen. 2018

MPC as an optimization problem: Cost-coefficients (tuned by user) Prediction horizon Control error = Setpoint - Meas Control signal change min U Compactly expressed: t = time now! min U Cost-coefficients (tuned by user) U (to be calculated as the optimal solution) in detail: IA3112 Aut. MPC. Haugen. 2018

Summary of MPC: The MPC is a model-based controller that continuously predicts the optimal future control sequence using the following information: An optimization criterion that typically consists of a sum of future (predicted) squared control errors and quadratic control signal changes. A process model The current process state obtained from measurements and/or state estimates from a state estimator which typically is in the form of a Kalman filter. Current, and, if available, future setpoint values and process disturbance values. Constraints (max and min values) of the control signal and the process variable. From the optimal future control sequence, the first element is picked out and applied as control signal to the process. Some versions of the MPC assume linear process models, while others are based on nonlinear process models. The models may be multivariable and contain time delays. IA3112 Aut. MPC. Haugen. 2018

Application: MPC temperature control of a simulated air heater IA3112 Aut. MPC. Haugen. 2018

Example: Temperature control of air heater IA3112 Aut. MPC. Haugen. 2018

Mathematical model (time-constant with time-delay): IA3112 Aut. MPC. Haugen. 2018

Front panel of the simulator: Teacher runs simulations (link will not work for students) IA3112 Aut. MPC. Haugen. 2018

Experimental results: PID MPC Which is better? IA3112 Aut. MPC. Haugen. 2018

Application: MPC for position control of a simulated pendulum IA3112 Aut. MPC. Haugen. 2018

Front panel of the simulator: Teacher runs simulations (link will not work for students) IA3112 Aut. MPC. Haugen. 2018

Application: MPC for averaging level control of the inlet magazine upstreams the VEAS wrrf (water resource recovery facility), Slemmestad, Norway IA3112 Aut. MPC. Haugen. 2018

Combined sewage system of Oslo and surroundings: Slemmestad IA3112 Aut. MPC. Haugen. 2018

The WWTP in Slemmestad (in the Bjerkås mountain): IA3112 Aut. MPC. Haugen. 2018

Facts about VEAS VEAS is Norway's largest wastewater treatment plant (WWTP) Serves approx. 700.000 pe (person equivalents). Average: 3,5 m³/s. Retention time in the WWTP: 3 – 4 hours. IA3112 Aut. MPC. Haugen. 2018

The inlet magazine: Inflow to WWTP Tunnel Inlet basin Controller 20 The inlet magazine: Inflow to WWTP Tunnel Inlet basin Controller (PI, MPC) IA3112 Aut. MPC. Haugen. 2018

Compliant level control @ Normally low load (tunnel flow) Operation mode #1 Compliant level control @ Normally low load (tunnel flow) 21 Constraints in this mode: 1. Smooth pump flow. Specifically, d(F_in)/dt <= 20 (L/s)/min 2. Pump flow, F_in, between 8000 and 0 L/s. 3. Level between soft limits of 1.5 m and 2.5 m, with 1.8 m as the nominal level setpoint. (Lately, these limits have been changed to 1.6 m and 2.8 m, respectively, with setpoint 2.3 m. Both the above sets of specifications are used in this article.) IA3112 Aut. MPC. Haugen. 2018

Mathematical model of liquid level of inlet basin 22 Mathematical model of liquid level of inlet basin (needed in simulator, PI tuning, MPC and Kalman Filter): (material balance) IA3112 Aut. MPC. Haugen. 2018

PI controller Skogestad tuning: Process model: PI settings: IA3112 Aut. MPC. Haugen. 2018

MPC including KF (Kalman Filter): (impl. with fmincon in MATLAB) Model used in KF: IA3112 Aut. MPC. Haugen. 2018

Let's look at real results of three various level control solutions PI control with original PI settings PI control with Skogestad (or optimized) PI settings (cf. previous lecture) MPC IA3112 Aut. MPC. Haugen. 2018

Computer implementation PC with LabVIEW and MATLAB: LabVIEW for implementation of main program and GUI, and - in case of real experiments - IO (voltages for measurement and control). Matlab in Matlab Script Node in LabVIEW for running the MPC based on fmincon() incl. the observer. IA3112 Aut. MPC. Haugen. 2018

Experimental results on the real plant (VEAS) (time interval = 21 h) 27 MPC (preliminary results) Original PI settings (Kc = 8.0 , Ti = 1000 s) Skogestad PI settings (Kc = 3.1 , Ti = 3240 s) Level Pump flow Rate of change of pump flow IA3112 Aut. MPC. Haugen. 2018

PI control with Skogestad settings (Tc = 1000 s), and MPC Simulations: PI control with Skogestad settings (Tc = 1000 s), and MPC Level: Pump flow: Rate of change of pump flow: MPC: Blue. PI: Magenta IA3112 Aut. MPC. Haugen. 2018