52
A New Approach to Explicit MPC Using Self-Optimizing Control Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology N-7491 Trondheim American Control Conference, Seattle, 2008 1 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

A New Approach to Explicit MPC UsingSelf-Optimizing Control

Henrik Manum, Sridharakumar Narasimhan, SigurdSkogestad

Department of Chemical EngineeringNorwegian University of Science and Technology

N-7491 Trondheim

American Control Conference, Seattle, 2008

1 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 2: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 3: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 4: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 5: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 6: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 7: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 8: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 9: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Outline

1 Optimal operation paradigms2 Self optimizing control3 Explicit MPC4 Link between the two5 Examples6 Extensions

2 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 10: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction

Implementation of optimal operation using off-linecomputations [Narasimhan and Skogestad(2007)]

Paradigm 1

On-line optimizing control where measurements are primarilyused to update the model. With arrival of new measurements,the optimization problem is resolved for the inputs.

Paradigm 2

Pre-computed solutions based on off-line optimization.Typically, the measurements are used to (indirectly) update theinputs using feedback control schemes. Focus of this work.

3 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 11: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction

Implementation of optimal operation using off-linecomputations [Narasimhan and Skogestad(2007)]

Paradigm 1

On-line optimizing control where measurements are primarilyused to update the model. With arrival of new measurements,the optimization problem is resolved for the inputs.

Example: Classical (implicit) MPC.

Paradigm 2

Pre-computed solutions based on off-line optimization.Typically, the measurements are used to (indirectly) update theinputs using feedback control schemes. Focus of this work.

Examples: Explicit MPC and self-optimizing control.

3 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 12: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

Controller

PlantMeasurementcombination H

d y

ncm = c + ncs

u c

Self-optimizing control

Choice of H such that acceptable operation isachieved with constant setpoints (cs constant).

4 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 13: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

Controller

PlantMeasurementcombination H

d y

ncm = c + ncs

u c

Self-optimizing control

Choice of H such that acceptable operation isachieved with constant setpoints (cs constant).

Optimal cs is invariant with respect to disturbances d

4 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 14: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

Controller

PlantMeasurementcombination H

d y

ncm = c + ncs

u c

Self-optimizing control

Choice of H such that acceptable operation isachieved with constant setpoints (cs constant).

Optimal cs is invariant with respect to disturbances d

Insensitive to measurement errors n

4 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 15: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

c1 = csp1

Loss

Disturbanced0

5 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 16: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

c1 = csp1

Loss

Disturbanced0 d

5 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 17: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

c1 = csp1

Loss

Disturbanced0 d

Loss due toconstant setpointpolicy

5 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 18: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

c1 = csp1

c2 = csp2

Loss

Disturbanced0 d

5 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 19: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

c1 = csp1

c2 = csp2

Loss

Disturbanced0 d

Acceptable loss

5 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 20: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Introduction Self optimizing control

What variables should we control?

c1 = csp1

c2 = csp2

Loss

Disturbanced0c3 = Hy = csp3

5 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 21: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Noise-free case

Nullspace method for QP problems

The nullspace method in [Alstad and Skogestad(2007)] isrestated for QP’s

Theorem (Nullspace method for QP)

Consider the quadratic problem

minu

J =[u d

] [Juu Jud

JTud Jdd

] [ud

](1)

If there exists ny ≥ nu + nd independent measurements,then the optimal solution to (1) has the property that thereexists variable combinations c = Hy that are invariant tothe disturbances d.

H may be found from HF = 0, where F = ∂yopt

∂dT

6 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 22: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

Classical (implicit) MPC

For a given x(t), one solves the quadratic problem

minU

J(U, x(t)) = xTt+Ny

Pxt+Ny +

Ny−1∑k=0

[xT

t+k Qxt+k + uTt+kRut+k

]

subject to

Output and input constraints.

Discrete model

xt = x(t)

xt+k+1 = Axt+k + But+k , k ≥ 0

yt+k = Cxt+k , k ≥ 0

ut+k = Kxt+k , Nu ≤ k ≤ Ny

7 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 23: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

Explicit MPC [Bemporad et al.(2002)]

The “classical” MPC problem can, by substitution, bewritten as a quadratic problem:

minU

J(U, x(t)) =[UT x(t)T

] [H FH Y

] [U

x(t)

]

s.t. GU ≤ W + Ex(t)

The initial state x(t) is considered to be a parameter and aparametric program is solved.

The solution of the parametric program gives regions in thestate space.

Given an algorithm for deciding the current region (i), oneimplements a continuous piece-wise affine control law

u = F ix + gi .

8 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 24: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

Link between explicit MPC andself-optimizing control

Let

d = x0 and y =

[ux

]

The optimal combination

c = Hy

can be written as the feedback law

c = u − (Kx + g)

and H (or K ) can be obtained from nullspace method

9 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 25: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

When to switch region?

The invariants can be usedto track region changes

By monitoring neighboringregions we switch regionswhen ci − cj changes sign

Region 1 Region 2

State x

0

10 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 26: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

When to switch region?

The invariants can be usedto track region changes

By monitoring neighboringregions we switch regionswhen ci − cj changes sign

Region 1 Region 2

State x

0c1 = 0

10 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 27: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

When to switch region?

The invariants can be usedto track region changes

By monitoring neighboringregions we switch regionswhen ci − cj changes sign

Region 1 Region 2

State x

0c1 = 0 c2 = 0

10 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 28: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

When to switch region?

The invariants can be usedto track region changes

By monitoring neighboringregions we switch regionswhen ci − cj changes sign

Region 1 Region 2

State x

0c1 = 0 c2 = 0

Region 1

c1 = 0

10 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 29: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

When to switch region?

The invariants can be usedto track region changes

By monitoring neighboringregions we switch regionswhen ci − cj changes sign

Region 1 Region 2

State x

0c1 = 0 c2 = 0

Region 1

c1 = 0

c1 − c2

10 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 30: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Introduction

When to switch region?

The invariants can be usedto track region changes

By monitoring neighboringregions we switch regionswhen ci − cj changes sign

Region 1 Region 2

State x

0c1 = 0 c2 = 0

c1 − c2c1 − c2

10 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 31: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 32: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].Problem formulation:

minut ,ut+1,··· ,ut+Nu−1

xTt+Nu

Pxt+Nu +

Nu−1∑k=0

xTt+kQxt+k + uT

t+kRuy+k

s.t. xk = x(t)

xk+1 = Axk + Buk

input constraints

state constraints

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 33: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].Problem formulation:

minut ,ut+1,··· ,ut+Nu−1

xTt+Nu

Pxt+Nu +

Nu−1∑k=0

xTt+kQxt+k + uT

t+kRuy+k

s.t. xk = x(t)

xk+1 = Axk + Buk

input constraints

state constraints

Examples:1 SISO system y = 1

s2+3s+2u subject to input constraint.2 Same system with additional state constraint.3 Double integrator y = 1

s2 u with input constraint.

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 34: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].Problem formulation:

minut ,ut+1,··· ,ut+Nu−1

xTt+Nu

Pxt+Nu +

Nu−1∑k=0

xTt+kQxt+k + uT

t+kRuy+k

s.t. xk = x(t)

xk+1 = Axk + Buk

input constraints

state constraints

Examples:1 SISO system y = 1

s2+3s+2u subject to input constraint.2 Same system with additional state constraint.3 Double integrator y = 1

s2 u with input constraint.

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 35: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].Problem formulation:

minut ,ut+1,··· ,ut+Nu−1

xTt+Nu

Pxt+Nu +

Nu−1∑k=0

xTt+kQxt+k + uT

t+kRuy+k

s.t. xk = x(t)

xk+1 = Axk + Buk

input constraints

state constraints

Examples:1 SISO system y = 1

s2+3s+2u subject to input constraint.2 Same system with additional state constraint.3 Double integrator y = 1

s2 u with input constraint.

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 36: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].Problem formulation:

minut ,ut+1,··· ,ut+Nu−1

xTt+Nu

Pxt+Nu +

Nu−1∑k=0

xTt+kQxt+k + uT

t+kRuy+k

s.t. xk = x(t)

xk+1 = Axk + Buk

input constraints

state constraints

Examples:1 SISO system y = 1

s2+3s+2u subject to input constraint.2 Same system with additional state constraint.3 Double integrator y = 1

s2 u with input constraint.

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 37: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Examples

We will now show 3 examples. These are based on theexplicit MPC paper by [Bemporad et al.(2002)].Problem formulation:

minut ,ut+1,··· ,ut+Nu−1

xTt+Nu

Pxt+Nu +

Nu−1∑k=0

xTt+kQxt+k + uT

t+kRuy+k

s.t. xk = x(t)

xk+1 = Axk + Buk

input constraints

state constraints

Examples:1 SISO system y = 1

s2+3s+2u subject to input constraint.2 Same system with additional state constraint.3 Double integrator y = 1

s2 u with input constraint.

11 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 38: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Example 1: Simple SISO system

SISO with input constraint.

−1.5 −1 −0.5 0 0.5 1 1.5−1.5

−1

−0.5

0

0.5

1

1.5

x1

x 2

u = Kx

u = −2

u = 2

State space partition andsimulation from x0 = (1, 1).

0 5 10 15 20 25 30−1

−0.5

0

0.5

1

1.5States x(t)

0 5 10 15 20 25 30−2

−1

0

1Input u(t)

0 5 10 15 20 25 300

5

10

15ck = uk − (Kxk)

12 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 39: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Example 2: Same system with state constraint

Additional constraintxk+1,k+2 ≥ −0.5.

−1 −0.5 0 0.5 1 1.5−1

−0.5

0

0.5

1

1.5

x1

x 2

u = −2

1

23

4

5

State space partition andsimulation from x0 = (1, 1).

0 5 10 15 20 25 30 35−1

−0.5

0

0.5

1

1.5State x(t)

0 5 10 15 20 25 30 35−2

−1.5

−1

−0.5

0

0.5Input u(t)

0 5 10 15 20 25 30 350

1

2

3

4

5c5k = uk − K5xk

0 5 10 15 20 25 30 350

1

2

3

4

5c3,4k = uk − (K3,4xk + g3,4)

13 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 40: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Example 3: Double integrator y = 1s2 u with Nu = 6

We merge all regionswere the first input isthe same.

−15 −10 −5 0 5 10 15−4

−3

−2

−1

0

1

2

3

4

x1

x 2

Bemporad et al.: 57 regions (from 73)

14 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 41: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Example 3: Double integrator y = 1s2 u with Nu = 6

We merge all regionswere the first input isthe same.

−15 −10 −5 0 5 10 15−4

−3

−2

−1

0

1

2

3

4

x1

x 2

12

34

56

78

910 11

u = 1

u = −1

11 regions

14 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 42: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Example 3: Double integrator y = 1s2 u with Nu = 6

We merge all regionswere the first input isthe same.

The resulting mergedregions were in thiscase not convex, but,. . .

−15 −10 −5 0 5 10 15−4

−3

−2

−1

0

1

2

3

4

x1

x 2

12

34

56

78

910 11

u = 1

u = −1

11 regions

14 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 43: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Example 3: Double integrator y = 1s2 u with Nu = 6

We merge all regionswere the first input isthe same.

The resulting mergedregions were in thiscase not convex, but,. . .

. . . taking directions intoaccount the “relevant”boundaries form aconvex polyhedron.

−15 −10 −5 0 5 10 15−4

−3

−2

−1

0

1

2

3

4

x1

x 2

12

34

56

78

910 11

u = 1

u = −1

11 regions

14 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 44: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Summary of the examples

Examples 1,2

The optimal solution for each active set can be used bothfor control and tracking the active region.

15 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 45: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Results from self-optimizing control Examples

Summary of the examples

Examples 1,2

The optimal solution for each active set can be used bothfor control and tracking the active region.

Example 3: Double integrator

Problem: Not all merged regions were convex.

Fix: Used the direction of the process and observed thatthe relevant boundaries make the regions convex.Storage

Original partition: 73 regionsBemporad et. al., 2002: need to store 57 regions.Our approach: 11 regions/boundaries needs to be stored.

15 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 46: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

Extensions

Extensions1 Include measurement error in explicit MPC.2 Extend the results to output feedback (u = Ky).3 Explicit expressions for fixed low-order controllers, e.g.,

MIMO-PID

16 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 47: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

Extensions

Extensions1 Include measurement error in explicit MPC.2 Extend the results to output feedback (u = Ky).3 Explicit expressions for fixed low-order controllers, e.g.,

MIMO-PID

16 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 48: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

Extensions

Extensions1 Include measurement error in explicit MPC.2 Extend the results to output feedback (u = Ky).3 Explicit expressions for fixed low-order controllers, e.g.,

MIMO-PID

16 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 49: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

Extensions

Extensions1 Include measurement error in explicit MPC.2 Extend the results to output feedback (u = Ky).3 Explicit expressions for fixed low-order controllers, e.g.,

MIMO-PID

16 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 50: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

Extensions

Extensions1 Include measurement error in explicit MPC.2 Extend the results to output feedback (u = Ky).3 Explicit expressions for fixed low-order controllers, e.g.,

MIMO-PID

See IFAC World Congress, Seoul, July 2008

16 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 51: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

Conclusion

MPC: Quadratic optimization problem at each time sample

From link to self-optimizing control: Must exist invariantsc = Hy

Correspond to feedback law: u = Kx + gGives new insights

Simple feedback solution to MPC must exist (explicit MPC)Region changes identified by tracking variables c fromneighboring regionsLow-order output feedback, etc.

17 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control

Page 52: A New Approach to Explicit MPC Using Self-Optimizing Control€¦ · Outline 1 Optimal operation paradigms 2 Self optimizing control 3 Explicit MPC 4 Link between the two 5 Examples

Conclusions and further work

References

V. Alstad and S. Skogestad.Extended nullspace method for selecting measurementcombinations as controlled variables for optimalsteady-state operation.Submitted to Journal of Process Control, 2007.

A. Bemporad, M. Morari, V. Dua, and E. N. Pistikopoulos.The explicit linear quadratic regulator for constrainedsystems.Automatica, 38:3–20, 2002.See also corrigendum 39(2003), pages 1845-1846.

H. Manum, S. Narasimhan, and S. Skogestad.A new approach to explicit mpc using self-optimizingcontrol. (Internal report.)Available at home page of Sigurd Skogestad (google!):http://www.nt.ntnu.no/users/skoge/publications/2007/.

S. Narasimhan and S. Skogestad.Implementation of optimal operation using off-linecalculations.In Dycops, 2007.

18 Henrik Manum, Sridharakumar Narasimhan, Sigurd Skogestad A New Approach to Explicit MPC Using Self-Optimizing Control