Introduction to Model Predictive Control (MPC)
Oscar Mauricio Agudelo Mañozca
Computergestuurde regeltechniek Course :
Bart De Moor
ESAT - KU Leuven May 11th, 2017
Introduction to Model Predictive Control (MPC) Oscar Mauricio - - PowerPoint PPT Presentation
Introduction to Model Predictive Control (MPC) Oscar Mauricio Agudelo Maozca Bart De Moor Course : Computergestuurde regeltechniek ESAT - KU Leuven May 11th, 2017 Basic Concepts Control method for handling input and state constraints
Oscar Mauricio Agudelo Mañozca
Computergestuurde regeltechniek Course :
Bart De Moor
ESAT - KU Leuven May 11th, 2017
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
2
Basic Concepts
Control method for handling input and state constraints within an optimal control setting.
engineers
Principle of predictive control
1 k 2 k 3 k
Prediction horizon
k N k 1 k 2 k
( ) u k ( ) y k
Prediction of
( ) y k
Reference
Future Past
measurement
ref
y
2 ref ( ), , ( 1) 1
min ( )
N u k u k N i
y y k i
subject to
Why to use MPC ?
time
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
3
Some applications of MPC
Control of synthesis section of a urea plant
MPC strategies have been used for stabilizing and maximizing the throughput of the synthesis section of a urea plant, while satisfying all the process constraints.
Urea plant of Yara at Brunsbüttel (Germany), where a MPC control system has been set by IPCOS
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
4
Some applications of MPC
Control of synthesis section of a urea plant
Results of a preliminary study done by
Throughput increment of 11.81 t/h thanks to the MPC controller
2NH3 + CO2 NH2COONH4
Ammonia Carbon dioxide Ammonium carbamate
Reaction 1: Fast and Exothermic
NH2COONH4 NH2CONH2 + H2O
Ammonium carbamate Urea Water
Reaction 2: Slow and Endothermic
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
5
Some applications of MPC
Flood Control: The Demer
The Demer in Hasselt Flooding events due to heavy rainfall: 1905, 1926, 1965, 1966, 1993-1994, 1995, 1998, 2002 and 2010. The Demer and its tributaries in the south of the province of Limburg Control Strategy: PLC logic (e.g., three-pos controller) A Nonlinear MPC control strategy has been implemented (2016) for avoiding future floodings of the Demer river in Belgium. Partners: STADIUS, Dept. Civil Engineering of KU Leuven, IPCOS, IMDC, Antea Group, and Cofely Fabricom.
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
6
Some applications of MPC
Flood Control: The Demer
Flooded area during the flood event of 1998. Control Strategy: PLC logic (e.g., three-position controller)
DIEST HASSELT
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
7
Some applications of MPC
Flood Control: The Demer
Upstream part of the Demer that is modelled and controlled in a preliminary study carried
Maximal water levels for the five reaches for the current three-pos. controller and the MPC controller together with their flood levels (Flood event 2002) .
Notice: The MPC controller takes rain predictions into account!
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
8
Some applications of MPC
In addition MPC, has been used
critical ill patients,
changing wind conditions,
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
Basic Concepts
9
Kinds of MPC
Convex optimization problem
Non-convex optimization problem
( 1) ( ) ( ) k k k x Ax Bu
( 1) ( ), ( ) k k k x f x u
Linear MPC formulation (Classical MPC)
Remark: Since linear MPC includes constraints, it is a non-linear control strategy !!!
1 ref re ref ref 1 f ,
( ) ( ) min ( ) ( ) ( ( ( ) ) ( ) )
N N
N N T i i T
k i k i k i k k i k i k i k i i
x u
x x Q x x u u R u u
subject to
( 1 ) ( ) ( ), 0,1, , 1, k i k i k i i N x Ax Bu
max
( ) , 0,1, , 1, k i i N u u
max
( ) , 1,2, , , k i i N x x
Model of the plant Input constraints State constraints
( 1); ( 2); ; ( ) ,
N
k k k N x x x x
( ); ( 1); ; ( 1)
N
k k k N u u u u
with:
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC Algorithm
10
Typical MPC control Loop MPC Algorithm
At every sampling time:
MPC Plant Observer
( ) k u ( ) k y ˆ( ) k x
ref ( )
k x
ref ( )
k u
ZOH
( ) t u ( ) t y
s
T
Digital system
( ), ( 1), ( 2), , ( 1) k k k k N u u u u
Solution
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
LQR and Classical MPC
11 For simplicity, Let’s assume that the references are set to zero.
LQR CLassical Linear MPC
, 1
( ) min ( ) ( ( ) )
T T k
k k k k
x u
x Q R u x u
subject to
( 1) ( ) ( ), 0,1, , k k k k x Ax Bu
subject to
( 1) ( ) ( ), 0,1, , 1, k k k k N x Ax Bu
max
( ) , 0,1, , 1, k k N u u
max
( ) , 1,2, , , k k N x x
The optimal solution has the form:
( ) ( ) k k u Kx
PRO
CON PRO
CON
If N∞, and constraints are not considered the MPC and LQR give the same solution
1 , 1
( ) ( min ( ) ( ) )
N N
N T i k N T
k k k k
x u
u R u x Q x
k = 0
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC optimization problem – Implementation details
12
The following optimization problem, can be rewritten as a LCQP (Linearly Constrained Quadratic Program) problem in as follows:
1 ref re ref ref 1 f ,
( ) ( ) min ( ) ( ) ( ( ( ) ) ( ) )
N N
N N T i i T
k i k i k i k k i k i k i k i i
x u
x x Q x x u u R u u
subject to
( 1 ) ( ) ( ), 0,1, , 1, k i k i k i i N x Ax Bu
max
( ) , 0,1, , 1, k i i N u u
max
( ) , 1,2, , , k i i N x x
with:
( 1); ( 2); ; ( ) ,
x
n N N
k k k N
x x x x
( ); ( 1); ; ( 1)
u
n N N
k k k N
u u u u
x
1 min 2
T T
x
x Hx f x
subject to
e e
A x b
i i
A x b
with:
;
x u
N n n N N
x x u
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC optimization problem – Implementation Details
13
where
2
x u x u
N n n N n n
Q Q H R R
ref ref ref ref
(1) ( ) (0) ( 1)
x u
N n n
N N
x x f H u u
2 i
x x x u x u u u
n N n N N n n N n n n N n N
I I A I I
max 2 max i max max
x u
N n n
x x b u u
N times N times 2N times 2N times
nx = number of states, nu = number of inputs, N = prediction horizon
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC optimization problem – Implementation Details
14
e
x x x x u x
n n N n N n n n
I B A I B A A I B
e
( )
x
N n
k
Ax b
N times N times
nx = number of states, nu = number of inputs, N = prediction horizon Remarks:
form of the MPC) through elimination of the states x(k) but at the cost of sparsity !!!
Matlab function for solving the LCQP optimization problem
x_tilde = quadprog (H, f, Ai, bi , Ae, be)
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC with terminal cost
15
Short Prediction Horizon Large Prediction Horizon
N
What happens? We have a winner !!!
N
What happens? We have an accident !!!
N should be large enough in order to keep the process under control
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC with terminal cost
16
1 ref ref ref ref , 1 1
min ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
N N
N T T i N i
k i k i k i k i k i k i k i k i
x u
x x Q x x u u R u u
subject to
( 1 ) ( ) ( ), 0,1, , 1, k i k i k i i N x Ax Bu
max
( ) , 0,1, , 1, k i i N u u
max
( ) , 1,2, , , k i i N x x
ref ref
( ) ( ) ( ) ( )
T
k N k N k N k N x x S x x
Main goal of the terminal cost: What do we gain?
To include the terms for which i ≥ N in the cost function (To extend the prediction horizon to infinity)
“Stability”
( 1) k x ( 2) k x ( ) k N x
Effect of the stabilizing control law u(k) = -Kx(k)
1( )
x k
2( )
x k
ref ( )
k x ( ) k x ( ) k x
steady-state
Introduction to Model Predictive Control Course: Computergestuurde regeltechniek
MPC with terminal cost
17
How to calculate S ?
By solving the discrete-time Riccati equation,
How to carry out this calculation in Matlab?
1
( )( ) ( )
T T T T
A SA S A SB B SB R B SA Q
where u(k) = -Kx(k) is the stabilizing control law.
1
.
T T
K B SB R B SA
[K,S] = dlqr (A, B, Q, R )
Implementation details of the MPC with terminal constraint
The only change in the LCQP is the hessian matrix
2
x u x u
N n n N n n
Q Q H S R R N - 1 times N times
Bert Pluymers
Katholieke Universiteit Leuven, Belgium Faculty of Engineering Sciences Department of Electrical Engineering (ESAT) Research Group SCD-SISTA
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
Model-based Predictive Control 1 : Introduction
1
(november 3rd)
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
2
Lesson 1 : Introduction
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
3
Consider a linear discrete-time state-space model called a ‘double integrator’. We want to design a state feedback controller that stabilizes the system (i.e. steers it to x=[0; 0]) starting from x=[1; 0], without violating the imposed input constraints
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
4
Furthermore, we want the controller to lead to a minimal control ‘cost’ defined as with state and input weighting matrices A straightforward candidate is the LQR controller, which has the form
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
5
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
LQR controller
50 100 150 200 250 300
0.5 1 k xk,1 50 100 150 200 250 300
10 k uk
6
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
LQR controller with clipped inputs
50 100 150 200 250 300
0.5 1 k xk,1 50 100 150 200 250 300
0.05 0.1 0.15 k uk
7
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
LQR controller with R=100
50 100 150 200 250 300
0.5 1 k xk,1 50 100 150 200 250 300
0.05 0.1 k uk
8
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be P
Fuel gas Feed EDC EDC / VC / HCl Cracking Furnace evaporato r superheater waste gas
T P L T F H F
condenser
9
Process industry in ’70s : how to control a process ??? and… easy to understand (i.e. teach) and implement !
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
10
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
→ Modelbased Predictive Control (MPC)
inaccuracies in predictions and unmeasured disturbances
11
MPC has earned its place in the control hierarchy…
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
12
Before 1960’s :
models
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
13
Early 1960’s : Rudolf Kalman
(as the dual of Kalman filtering)
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
14
During 1960’s : ‘Receding Horizon’ concept
sampled-data automatic systems”. Automatic Remote Control, 24(7), 837–844.
York: Wiley. :
“… One technique for obtaining a feedback controller synthesis from knowledge of open-loop controllers is to measure the current control process state and then compute very rapidly for the open- loop control function. The first portion of this function is then used during a short time interval, after which a new measurement of the function is computed for this new measurement. The procedure is then repeated. …”
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
15
During 1960’s : ‘Receding Horizon’ concept
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
16
1970’s : 1st generation MPC
‘receding horizon’ concept
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
17
Early 1980’s : 2nd generation MPC
MPC algorithms
Late 1980’s : 3rd generation MPC
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
18
Mid 1990’s : 4th generation MPC
Currently (in industry) still …
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
19
Basic ingredients :
sequence
parameters
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
20
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
21
Assumptions / simplifications :
(or estimation errors are negligible)
. . . seem trivial issues but form essential difficulties in applications . . .
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
22
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
23
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
24
PRO
CON
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
25
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
26
PRO
CON
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
27
more on this later . . .
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
28
Formulation 1
Formulation 2
Formulation 3
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
29
MPC is a mix of both :
dynamics and disturbance inputs → closed loop control paradigm.
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
30
0 and go to step 1
Remarks :
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
31
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
1.prediction model
32
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
constraints
33
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
General Cost Function: Design Functions and Parameters:
1. 2. Horizon N 3. F(x) 4. Reference Trajectory
34
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
35
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
36
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
37
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
38
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
39
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
40
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
41
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
42
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
43
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
44
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
45
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
46
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
47
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 1 : Introduction bert.pluymers@esat.kuleuven.be
Bert Pluymers
Katholieke Universiteit Leuven, Belgium Faculty of Engineering Sciences Department of Electrical Engineering (ESAT) Research Group SCD-SISTA
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Model-based Predictive Control 2 : Dynamic Optimization
1
Lesson 2 : Dynamic Optimization
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
2
General form : Legend :
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
3
Gradient : (points in direction of steepest ascent) Hessian : (gives information about local curvature of )
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
4
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Example : Gradients for different Eigenvectors of hessian at the origin ( )
5
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Necessary condition for optimality of Sufficient conditions for minimum positive definite Classification of optima : positive definite minimum indefinite saddle point negative definite maximum
6
Introduction of Lagrange multipliers leads to Lagrangian : with Lagrange multipliers of the ineq. constraints Lagrange multipliers of the eq. constriants Constrained optimum can be found as Minimization over but Maximization over !!!!
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
7
Constrained optimum can be found as First-order optimality conditions in
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Gradient of Gradient of ineq. Gradient of eq.
Interpretation ???
8
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
9
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
10
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
11
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
12
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
From previous considerations we can now state necessary conditions for constrained optimality : These are called the KKT conditions.
13
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Optimization discrete continuous unconstrained constrained convex
non-convex
NLP LP QP SOCP SDP
14
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
An optimization problem of the form is convex iff for any two feasible points :
15
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
same solution
16
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
SDP SOCP QP LP
Semi-Definite Programming Second Order Cone Progr. Quadratic Programming Linear Programming
computational efficiency generality
17
General form : Remarks :
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
18
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Eliminating equality constraints : Reparametrize optimization vector : Leading to
19
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
General form : Remarks :
20
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
General form : Remarks :
robust LP, robust QP
SOC constraint
21
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
QP as special case of SOCP : Rewrite this as which is equivalent to By introducing an additional variable we get the SOCP
22
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
General form : with Remarks :
Systems & Control Theory
23
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
convexity : Easily verified : hence and therefore which means that LMI’s are convex constraints.
24
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Schur Complement : is equivalent with More general : Remarks :
problems involving eigenvalues as an LMI.
25
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
SOCP as special case of SDP : is equivalent with (by using Schur complement) : (exercise : apply Schur complement to LMI and reconstruct SOC constraint)
26
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Formulated as SDP Convex optimization Convex optimization formulatable as SDP Example :
27
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
SDP SOCP QP LP convex optimization
structure easily exploitable (many toolboxes available) → significant efficiency gains ! convexity difficult to exploit (computationally)
28
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
the current system state , calculate an ‘optimal’ input sequence over a finite time horizon :
measurements / estimates.
N N
29
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
“DP is a class of solution methods for solving sequential decision problems with a compositional cost structure”
30
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Example 1 : The darts problem* : “Obtain a score of 301 as fast as possible while beginning and ending in a double.”
http://plus.maths.org/issue3/dynamic/
* D. Kohler, Journal of the Operational Research Society, 1982.
31
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Example 2 : DNA sequence allignment : G A A T T C A G T T A (sequence #1) G G A T C G A (sequence #2)
32
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
“Series of sequential decisions” :
Typical optimization problem :
measured Optimization variables
→ standard QP formulation ?
33
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Optimization vector : Cost function : For convexity hence .
34
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Equality constraints with Sparsity : many entries in equal to 0
35
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Inequality constraints with Sparsity : many entries in equal to 0
36
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
37
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Non-convex optimization in general : to be avoided !!!
38
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
39
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
40
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
41
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
42
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
direction
43
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
44
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
In industry currently mostly ASM due to first two advantages, but IPM under consideration…
45
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
46
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
47
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
48
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
49
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
50
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 2 : Dynamic Optimization bert.pluymers@esat.kuleuven.be
Bert Pluymers
Katholieke Universiteit Leuven, Belgium Faculty of Engineering Sciences Department of Electrical Engineering (ESAT) Research Group SCD-SISTA
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Model-based Predictive Control 3 : Stability
1
Lecture 3 : Stability
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
2
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
the current system state , calculate an ‘optimal’ input sequence over a finite time horizon :
measurements / estimates.
N N
3
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
computed at to be applied at
Optimal input sequences Input sequence applied to the system
4
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Analyse poles/zeros of and associated transfer functions.
+ -
plant linear controller u x r
+ -
plant MPC controller u x r
Lyapunov theory for stability.
5
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
6
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Non-minimum phase behaviour
7
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Stability is obtained / proven in 2 steps :
i.e. controller well-defined for all k
i.e. trajectories converge to equilibrium
8
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Limited validity of MPC stability framework :
9
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Recursive Feasibility If the optimization problem is feasible for time , then it is also feasible for time . (and hence for all ) Feasible Region The region in state space, defined by all states for which the MPC optimization problem is feasible. → Recursive feasibility proven : all states within feasible region lead to trajectories for which the MPC-controller is feasible and hence well-defined.
10
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
→ Recursive feasibility proven : all states within feasible region lead to trajectories for which the MPC-controller is feasible and hence well-defined. feasible region
11
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
12
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
recursive feasibility (terminal constraint) Lyapunov stability (terminal cost)
13
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Problem : given the optimal (and hence feasible) solution to the optimization at time , construct a feasible solution for the optimization at time .
14
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Given : To be found : Observe / Choose :
15
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Plant state at time predicted at time : Real plant state at time : Assumption : No plant model mismatch, i.e. Hence, reusing the overlapping part of the input sequence will also result in an identical state sequence
16
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
OK OK OK OK OK ??? ??? ???
17
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Condition 1 : Satisfied if Condition 2 : Condition 3 : How to choose and ?
18
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Assume we know a locally stabilizing controller : i.e. such that is locally stable. How to choose and ? Then choose
19
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
OK OK OK OK OK ??? OK ???
Condition 2 : Condition 3 :
20
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Condition 2 : Condition 3 : Since we know that … Condition 2 is satisfied if Condition 3 is satisfied if
21
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Recursive feasibility is guaranteed if 1) 2) 3)
Terminal constraint is feasible w.r.t state constraints Terminal constraint is feasible w.r.t input constraints Terminal constraint is a positive invariant set w.r.t
22
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
If such that for some region around 0 then all trajectories starting within asymptotically evolve towards 0.
Under which conditions is a Lyapunov function ???
23
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Under which conditions is a Lyapunov function ??? We have to prove that Or in other words that This is satisfied if
24
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Special relationship between the two cost expressions : should be < 0 Satisfied if Condition 4 :
25 Lyapunov inequality i.e. should ‘overbound’ cost of terminal controller
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Recursive feasibility and asymptotic stability is guaranteed if 1) 2) 3) 4)
Terminal constraint is feasible w.r.t state constraints Terminal constraint is feasible w.r.t input constraints Terminal constraint is a positive invariant set w.r.t
Iff the optimization problem is feasible at time !!!!!
26
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
“Given an autonomous dynamical system, then a set is (positive) invariant if it is guaranteed that if the current state lies within , all future states will also lie within .”
0.5 1 1.5
0.5 1 1.5
0.5 1 1.5
0.5 1 1.5
not invariant invariant
27
– linear system – linear controller
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
– state constraints
0.5 1 1.5
0.5 1 1.5
‘feasible region’ of closed loop system
28
Consider an autonomous time-invariant system as defined previously A set is …
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
… feasible iff Problem : Given an autonomous dynamical system subject to state constraints, find the feasible invariant set of maximal size. … invariant iff
29
Given an LTI system subject to linear constraints then the largest size feasible invariant set can be found as with a finite integer.
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Given an LTI system subject to linear constraints then the largest size feasible invariant set can be found as with a finite integer.
(Gilbert et al.,1991, IEEE TAC)
30
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
How to choose such that conditions are satisfied ? Different possibilities, depending of
31
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
32
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
33
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
2 1
34
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
35
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
36
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
37
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Terminal constraint set determines feasible region
38
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Solid : standard MPC, dashed : terminal cost, constraint, dotted : terminal equality constr.
39
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
40
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 3 : Stability bert.pluymers@esat.kuleuven.be
Bert Pluymers
Katholieke Universiteit Leuven, Belgium Faculty of Engineering Sciences Department of Electrical Engineering (ESAT) Research Group SCD-SISTA
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Model-based Predictive Control 4 : Robustness
1
Lecture 4 : Robustness
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
2
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Linear state-space system of the form with bounded parametric uncertainty Aim : steer this system towards the origin from initial state without violating the constraint
3
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Results for 4 different parameter settings :
4
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Robust with respect to what ?
Cause predictions of ‘nominal’ MPC to be inaccurate
5
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Main aims :
disturbances
We need to have an idea about …
6
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Linear Parameter-Varying state space models with polytopic uncertainty description
7
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Linear Parameter-Varying state space models with norm-bounded uncertainty description
8
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
9
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Main aims :
disturbances
Necessary modifications :
uncertainty region)
10
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be model uncertainty disturbances
Uncertain predictions :
N N
11
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Step 1) Robust Constraint Satisfaction Result : Sufficient to impose constraint only for vert. of : Observations :
12
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
(L=1)
(L>1, e.g. 2)
13
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Impose state constraints on all nodes
→ number of constraints increases expon. with incr. !!!
14
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Step 2) Worst-Case cost minimization Observations :
→ Also for objective function sufficient to make predictions only with vertices of uncertainty polytope
15
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
states inputs
16
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
17
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
18
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Constraints of the form :
19
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
20
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
By rewriting we now get Terminal cost Terminal constraint
21
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
“non-robust” stability condition for terminal cost: In case of…
… this becomes :
22
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Robust stability condition for terminal cost: Observations :
Hence, inequality satisfied iff
23
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
by solving the following optimization problem :
Minimization of eigenvalues of
24
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Recursive feasibility is guaranteed if 1) 2) 3)
Terminal constraint is feasible w.r.t state constraints Terminal constraint is feasible w.r.t input constraints Terminal constraint is a positive invariant set w.r.t
Reminder : nominal case
remain unchanged Has to be modified in order to Model uncertainty into account Robust positive invariance
25
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Consider linear terminal controller , then the resulting closed loop system is : Robust positive invariance : Again : sufficient to satisfy inclusion
26
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Reminder : invariant sets for LTI systems Given an LTI system subject to linear constraints then the largest size feasible invariant set can be found as with a finite integer. Given an LTI system subject to linear constraints then the largest size feasible invariant set can be found as with a finite integer. Comes down to making forward predictions using
27
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
(L=1,n=2)
(L>1, e.g. 2, n=2)
28
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
0.2 0.4 0.6 0.8
0.2 0.4 0.6 0.8 1
S X
(Kothare et al.,1996, Automatica)
29
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
A set is invariant with respect to a system defined by iff with Reformulate invariance condition : Sufficient condition : Also necessary condition
30
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Advantages :
significant insignificant
Algorithm :
31
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Algorithm : Advantages :
to calculate :
32
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Initialization
33
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Iteration 10
34
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Iteration 10 + garbage collection
35
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Iteration 20
36
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Final Result
37
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Final Result
38
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
39
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Open loop
Closed loop
NO recursive feasibility !!! Recursive feasibility
40
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
Results for 4 different parameter settings :
41
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
42
Signal processing
Identification System Theory Automation
H0k03a : Advanced Process Control – Model-based Predictive Control 4 : Robustness bert.pluymers@esat.kuleuven.be
a) bounded model uncertainty b) bounded disturbances
→ currently hot research topic !
→ currently hot research topic !