David Clarke and Model Predictive Control In celebration of David - - PowerPoint PPT Presentation

david clarke and model predictive control in celebration
SMART_READER_LITE
LIVE PREVIEW

David Clarke and Model Predictive Control In celebration of David - - PowerPoint PPT Presentation

David Clarke and Model Predictive Control In celebration of David Clarkes contribution to MPC St Edmunds Hall, Oxford University, January 9, 2009 David Mayne Imperial College London IC p.1/30 David Congratulations on your many


slide-1
SLIDE 1

David Clarke and Model Predictive Control In celebration of David Clarke’s contribution to MPC

St Edmunds Hall, Oxford University, January 9, 2009

David Mayne Imperial College London

IC – p.1/30

slide-2
SLIDE 2

David Congratulations on your many achievements!

IC – p.2/30

slide-3
SLIDE 3

CONTENTS

  • SOME OF DAVID’S ACHIEVEMENTS
  • WHERE IS MPC NOW?
  • A CURRENT ISSUE: ROBUST MPC
  • FUTURE CHALLENGES
  • CONCLUSIONS

IC – p.3/30

slide-4
SLIDE 4

SOME OF DAVID’S ACHIEVEMENTS

  • Identification
  • Adaptive and Self-tuning Control
  • GPC
  • Smart, self-validating sensors and actuators
  • Director of Invensys: University Technology Centre for

Advanced Instrumentation

IC – p.4/30

slide-5
SLIDE 5

Identification

  • Ph.D. Topic (1967)
  • Generalised least squares for system identification
  • Implemented on a computer ... in 1967!
  • 2nd UKAC Convention, Bristol 1967

IC – p.5/30

slide-6
SLIDE 6

Adaptive and self-tuning control

  • System: A(δ)y(t) = B(δ)u(t) + ξ(t)
  • Hot topic in 1970’s
  • Many, many proposals
  • Revolution: Astrom-Wittenmark 1973
  • Minimum variance control
  • Least squares estimation of parameters
  • Certainty equivalence
  • Magical result:

IF parameters converge, they converge to minimum variance controller!

IC – p.6/30

slide-7
SLIDE 7

Clarke’s adaptive controller

  • Two shortcomings in min var adaptive controller
  • Agressive control (cancels expected error)
  • Stable zero dynamics required but
  • rapid sampling generates u/s zeros
  • Clarke-Gawthrop solution (1975):
  • Replace minimum variance control by
  • arg minu(t) EI(t){y(t + k)2 + λu(t)2}
  • Costing u reduces control activity with small increase

in variance of o/p y

  • CL stability requires OL stability and adjustment of λ
  • Considerable impact (338 google citations)

IC – p.7/30

slide-8
SLIDE 8

Generalised Predictive Control

  • Clarke introduced GPC in 1987 as a general method
  • f control for unconstrained linear systems that:
  • are non-minimum phase
  • are OL unstable
  • have unknown dead-time
  • have unknown order
  • Method:
  • Minimize EI(t){N

j=0(y(t + j)2 + λu(t + j)2} wrt

sequence u = {u(t), u(t + 1), . . . , }

  • Apply the first element of the minimizing sequence

to the plant

  • This is receding horizon control

IC – p.8/30

slide-9
SLIDE 9

Generalised Predictive Control

  • Clarke’s two 1987 papers on GPC had a substantial

impact

  • First paper has 854 citations (Google)
  • Papers contain rich set of extensions:
  • Tuning knobs (generalised output)
  • Rejection of constant disturbances
  • Adaptation
  • Ability to achieve wide range of control objectives
  • Terminal equality constraint (on y) to ensure cl

stability

  • Ability to handle control constaints (1988)

IC – p.9/30

slide-10
SLIDE 10

Recent research

  • Control loop tuning
  • Performance monitoring
  • Self-validating sensors and actuators
  • Bounds on ultimate performance of sensors, and
  • Design of sensors that approach these bounds

IC – p.10/30

slide-11
SLIDE 11

WHERE IS MPC NOW?

  • GPC restricted to linear systems
  • In linear context had broad focus
  • eg adaptation, tuning
  • reflecting Clarke’s concern for application
  • MPC: Constrained linear and nonlinear systems
  • Narrower focus in broader context
  • Sufficient conditions for stability
  • Suboptimal MPC for NL systems
  • Unreachable set points
  • Distributed MPC, etc
  • Improved optimization procedures
  • Uncertain systems ... jury still out

IC – p.11/30

slide-12
SLIDE 12

A CURRENT ISSUE: ROBUST MPC

  • MPC successful for deterministic systems because
  • Solution of OL OC Pb (for given initial state)
  • is same as FB solution (via DP) for same state
  • Feedback not necessary for deterministic system
  • To get similar properties for robust MPC
  • requires optimization over control policies:

π = {µ0(·), µ1(·), . . . , µN−1(·)}

  • subject to satisfaction of all constraints by all

realizations of state and control trajectories

  • Impossibly complex
  • Implementation requires simplification

IC – p.12/30

slide-13
SLIDE 13

Robust MPC

  • Pb simple to state – hard to solve
  • Need implementable sol’n ≈ exact sol’n
  • B’ded dist implies approx’n needed only over ’tube’

x k Nominal sol’n Disturbed sol’n

IC – p.13/30

slide-14
SLIDE 14

Robust MPC

  • Linear approx’n of opt policy over tube seems good
  • For system x+ = Ax + Bu + w, quadratic cost, initial

state x

  • opt control at (x, i) is v(i) + K(x − z(i))
  • {v(i)} is opt sol’n to nominal pb, initial state x
  • {z(i)} is resultant state sequence, v(i) = Kz(i)
  • If w ∈ W, W compact, x(i) lies in z(i) + S where S is

compact (K any stabilizing controller)

  • Basis of tube sol’n for robust MPC for constrained

linear systems

  • that merely requires solving conventional MPC Pb

with tightened constraints

IC – p.14/30

slide-15
SLIDE 15

Tube MPC for constrained linear systems

z(0) z(i)

IC – p.15/30

slide-16
SLIDE 16

Tube MPC for constrained linear systems

z(0) z(i) z(i) ⊕ S S

IC – p.15/30

slide-17
SLIDE 17

Tube MPC for constrained linear systems

x(0) z(0) x(i) z(i) z(i) ⊕ S S

IC – p.15/30

slide-18
SLIDE 18

Tube MPC for constrained linear systems

x(0) z(0) x(i) z(i) z(i) ⊕ S S Original constraint Tightened constraint

IC – p.15/30

slide-19
SLIDE 19

Constrained linear system: output MPC

z(0) z(i)

IC – p.16/30

slide-20
SLIDE 20

Constrained linear system: output MPC

ˆ x(0) z(0) ˆ x(i) z(i) z(i) ⊕ S S

IC – p.16/30

slide-21
SLIDE 21

Constrained linear system: output MPC

ˆ x(0) z(0) S x(0)

IC – p.16/30

slide-22
SLIDE 22

Constrained linear system: output MPC

ˆ x(0) z(0) S x(0) Original constraint Tightened constraint

IC – p.16/30

slide-23
SLIDE 23

Tube MPC

  • Tube MPC applicable to constrained linear systems:
  • With additive bounded disturbance
  • With parametric uncertainty
  • With uncertain state (O/P MPC using observer +

certainty equivalence)

  • BUT can it be used for constrained NL systems?

IC – p.17/30

slide-24
SLIDE 24

Tube MPC: constrained NL systems

  • Can tube approach be extended to NL systems?
  • System x+ = f(x, u) + w, w ∈ W
  • At first sight, looks very difficult
  • Need a control law valid in tube
  • For NL systems, determination of control law (in

contrast to control sequence) difficult

  • In linear case, law is x → v + K(x − z) where

v = κN(z), z and K easily determined

  • NL case?

IC – p.18/30

slide-25
SLIDE 25

Tube MPC: constrained NL systems

  • Proposal: instead of determining control law, use

second MP Controller to compute control action for each state

  • Compute {v(i)} and {z(i)}, solution of OC Pb for

nominal system z+ = f(z, v)

  • At each (x, z), solve ancillary pb PN(x, z) to

determine u

  • What should ancillary pb PN(x, z) be?

IC – p.19/30

slide-26
SLIDE 26

What should ancillary pb be?

  • To motivate: look at LQG Pb
  • Suppose we have solution {z(i)}, {v(i)} to nominal

OC Pb

  • Then OC at any x is solution to ancillary nominal Pb
  • in which cost is second variation cost (quadratic and

zero at solution of nominal OC Pb)

  • Ancillary controller steers trajectories towards the

nominal solution.

  • And bounds their deviation from the optimal nominal

trajectory

IC – p.20/30

slide-27
SLIDE 27

Solutions of ancillary Pb

ancillary nominal x(0) z(0)

IC – p.21/30

slide-28
SLIDE 28

Solutions of ancillary Pb

ancillary nominal x(0) z(0) x(1) z(1)

IC – p.21/30

slide-29
SLIDE 29

The ancillary problem

  • The ancillary Pb is deterministic
  • Uses nominal system x+ = f(x, u),
  • Cost = deviation from optimal nominal trajectory:
  • VN(x, z, u) = N−1

i=0 ℓ(x(i) − z(i), u(i) − v(i))

  • u = {u(0), u(1), . . . , (N − 1)}
  • Ancillary OC Pb:

u0(x, z) = arg minu{VN(x, z, u | u ∈ UN, x(N) = z(N)}

  • κN(x, z)=first element of sequence u0(x, z)
  • Apply resultant control u = κN(x, z) to plant.
  • κN(x, z) replaces v + K(x − z)

IC – p.22/30

slide-30
SLIDE 30

Constrained NL systems

  • κN(x, z), sol’n of ancillary OC Pb
  • V 0

N(x, z) is value fn of ancillary Pb)

  • Let Sd(z) {x | V 0

N(x, z) ≤ d}

  • Sd(z) is level set of V 0

N(x, z)

  • There exists a d > 0 such that:
  • x(0) ∈ Sd(z(0)) =

⇒ x(i) ∈ Sd(z(i)), u(i) ∈ U ∀i

  • Similar to x(i) ∈ z(i) + S in linear case
  • But sets Sd(z) cannot be predetermined
  • Choosing tighter constraints for nominal OC Pb hard

IC – p.23/30

slide-31
SLIDE 31

Constrained NL systems

x(0) z(0) z(i)

IC – p.24/30

slide-32
SLIDE 32

Constrained NL systems

x(0) z(0) z(i) nom traj

IC – p.24/30

slide-33
SLIDE 33

Constrained NL systems

x

x(0) z(0) z(i) nom traj actual traj

IC – p.24/30

slide-34
SLIDE 34

Constrained NL systems

x

x(0) z(0) z(i) Sd(z(i)) nom traj actual traj

IC – p.24/30

slide-35
SLIDE 35

Ancillary controller

  • The nominal controller steers initial state to desired

state, neglecting disturbances

  • Responds to changed in desired final state
  • The ancillary controller reduces effect of disturbances
  • Can be tuned
  • Can have distinct cost function
  • Can have different sampling period
  • Analagous to two-degree of freedom controller

IC – p.25/30

slide-36
SLIDE 36

Example: Control of CSTR

100 200 300 400 480 0.2 0.4 0.6 0.8 1 Concentration Sampling Rate = 12s / Prediction Horizon = 360s 100 200 300 400 480 0.2 0.4 0.6 0.8 1 Concentration Sampling Rate = 8s / Prediction Horizon = 240s 100 200 300 400 480 0.2 0.4 0.6 0.8 1 Concentration Sampling Rate = 4s / Prediction Horizon = 120s

IC – p.26/30

slide-37
SLIDE 37

Control of CSTR

20 25 30 35 40 45 50 55 60 65 100 200 300 400 Cost Frequency Tube−based MPC 20 25 30 35 40 45 50 55 60 65 20 40 60 80 100 Cost Frequency Standard MPC

IC – p.27/30

slide-38
SLIDE 38

FUTURE CHALLENGES

  • Output MPC for nonlinear systems
  • Adaptive MPC
  • Difficulty: uncontrollable subsystem modelling

unknown parameters

  • Distributed MPC
  • Cooperative vs non-cooperative
  • Stochastic
  • Constraints?
  • Computation
  • Fast systems

IC – p.28/30

slide-39
SLIDE 39

CONCLUSION

  • MPC can solve a wide range of control problems for

deterministic or uncertain, linear or nonlinear, constrained systems

  • Because it creates its own Lyapunov function
  • There remain big challenges

IC – p.29/30

slide-40
SLIDE 40

CONGRATULATIONS DAVID

IC – p.30/30