On Optimal Input Design in System Identification for Model - - PowerPoint PPT Presentation

on optimal input design in system identification for
SMART_READER_LITE
LIVE PREVIEW

On Optimal Input Design in System Identification for Model - - PowerPoint PPT Presentation

On Optimal Input Design in System Identification for Model Predictive Control Mariette Annergren Joint work with Christian A. Larsson and Hkan Hjalmarsson ACCESS and Automatic Control Lab KTH Royal Institute of Technology, Stockholm,


slide-1
SLIDE 1

On Optimal Input Design in System Identification for Model Predictive Control

Mariette Annergren

Joint work with Christian A. Larsson and Håkan Hjalmarsson

ACCESS and Automatic Control Lab KTH Royal Institute of Technology, Stockholm, Sweden

slide-2
SLIDE 2

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Outline

  • 1. Theory
  • 2. Identification Algorithm
  • 3. MPC Example
  • 4. Conclusions
  • 5. Future Work

2

slide-3
SLIDE 3

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Introduction

Definition

Framework for experiment design in system identification for control, specifically MPC.

  • Objective:

Find an input signal that minimizes the cost related to the system identification experiment.

  • Constraint:

A specified control performance is guaranteed when using the estimated model in the control design.

3

slide-4
SLIDE 4

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Notation

The model structure is parametrized by θ.

  • True system is given by θ0.
  • Estimated model is given by ˆ

θ.

4

slide-5
SLIDE 5

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Application Set

  • Application cost: Vapp(θ,θ0), for example

Vapp(θ,θ0) = 1 T

T

t=1

yt(θ0)−yt(θ)2

2.

  • Application specification:

Vapp(θ,θ0) ≤ 1 γ , γ > 0.

  • Acceptable parameter set:

Θapp(γ) =

  • θ |Vapp(θ,θ0) ≤ 1

γ

  • .

5

slide-6
SLIDE 6

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Application Set (cont.)

Ellipsoidal approximation: Θapp(γ) ≈ Eapp(γ) =

  • θ | (θ −θ0)TV ′′

app(θ0,θ0)(θ −θ0) ≤ 2

γ

  • .

6

slide-7
SLIDE 7

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Application Set (cont.)

Scenario approach: Θapp(γ) ≈

  • θi, i = 1...M < ∞|Vapp(θi,θ0) ≤ 1

γ

  • .

More on scenario approach:

  • G. C. Calafiore and M. C. Campi, 2006.

7

slide-8
SLIDE 8

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

System Identification Set

Asymptotic quality property: ˆ θ ∈ ESI(α) =

  • θ | (θ −θ0)TIF(θ −θ0) ≤ χ2

α(n)

N

  • .

(Key result from prediction error/maximum likelihood system identification.)

8

slide-9
SLIDE 9

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Optimal Input Signal Design

  • Estimated parameters:

ˆ θ ∈ ESI(α) =

  • θ | (θ −θ0)TIF(θ −θ0) ≤ χ2

α(n)

N

  • .
  • Acceptable parameters in application:

ˆ θ ∈ Θapp(γ) =

  • θ |Vapp(θ,θ0) ≤ 1

γ

  • .
  • Experiment cost:

fcost(Φu).

9

slide-10
SLIDE 10

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Optimal Input Signal Design (cont.)

Optimization Problem

minimize

Φu

fcost(Φu) subject to ESI(α) ⊆ Θapp(γ) 0 ≤ Φu(ω), ∀ ω

10

slide-11
SLIDE 11

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Optimal Input Signal Design (cont.)

Optimization Problem

minimize

Φu

fcost(Φu) subject to ESI(α) ⊆ Θapp(γ) 0 ≤ Φu(ω), ∀ ω

Can be approximated as a convex problem!

Using:

  • ellipsoidal approximation ⇒ LMI,
  • scenario approach ⇒ scalar linear inequalities,
  • finite dimensional parametrization ⇒ LMI.

10

slide-12
SLIDE 12

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Identification Algorithm

Issues:

  • θ0 is unknown.
  • Evaluation of Vapp(θ,θ0).

11

slide-13
SLIDE 13

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Identification Algorithm

Issues:

  • θ0 is unknown.
  • Evaluation of Vapp(θ,θ0).

Solutions:

  • Use estimates instead of θ0.
  • Evaluate Vapp(θ,θ0) in simulation.

11

slide-14
SLIDE 14

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Identification Algorithm (cont)

Proposed algorithm:

  • 1. Find an initial estimate of θ0.
  • 2. Evaluate Vapp(θ,θ0) in simulation.
  • 3. Design the optimal input signal.
  • 4. Find a new estimate of θ0.

Discussion on iterative approach:

  • L. Gerencsér, H. Hjalmarsson, J. Mårtensson, 2009.

12

slide-15
SLIDE 15

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

MPC Example

Control objective: Reference tracking of the lower tank levels using MPC.

u1 x1 x2 x3 x4 u2 γ1 γ2

13

slide-16
SLIDE 16

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

MPC Example (cont)

  • Application cost:

Vapp(θ,θ0) = 1 T

T

t=1

yt(θ0)−yt(θ)2

2.

  • Experiment cost: Input power,

fcost(Φu) = trace 1 2π

π

−π φu(ω)dω

  • .

14

slide-17
SLIDE 17

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

MPC Example (cont)

MPC(ˆ θ) M (ˆ θ) MPC(θ) M (ˆ θ) Vapp(θ,θ0) ≈ Vapp(θ, ˆ θ) = 1

T ∑T t=1 yt(ˆ

θ, ˆ θ)−yt(θ, ˆ θ)2

2

u u y(ˆ θ, ˆ θ) y(θ, ˆ θ) r Simulation MPC

15

slide-18
SLIDE 18

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

  • Optimal:

91 % success.

  • White:

15 % success.

Water level [cm] Time [s] Water level [cm] Time [s] 100 150 200 250 300 100 150 200 250 300 14 15 16 14 15 16

White: 8×N gives same success rate as optimal.

16

slide-19
SLIDE 19

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Conclusions

  • Identification algorithm for MPC.
  • Increased control performance.
  • Linear framework applicable on nonlinear systems.

17

slide-20
SLIDE 20

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Future Work

  • How to choose Vapp.
  • Realistic MPC applications.
  • Closed-loop identification.
  • Toolbox for optimal input design, MOOSE.

18

slide-21
SLIDE 21

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

MOOSE, www.ee.kth.se/moose

Definition

MOOSE is a model based optimal input design toolbox developed for Matlab. It features

  • optimal input design,
  • easy-to-use text interface,
  • compatibility with Matlab Control System Toolbox.

19

slide-22
SLIDE 22

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Thank you!

20

slide-23
SLIDE 23

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Additional slides

21

slide-24
SLIDE 24

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Real Water Process

Optimal:

test . 20 . 40 . 60 . 80 . 100 . 120 . 13 . 14 . 15 . 16 . 17 . 18 . 19 . 20 . Time(s) . Waterlevels(cm)

For details:

  • C. A. Larsson, Licentiate Thesis, 2011.

22

slide-25
SLIDE 25

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Real Water Process (cont)

White:

. . 20 . 40 . 60 . 80 . 100 . 120 . 13 . 14 . 15 . 16 . 17 . 18 . 19 . 20 . Time(s) . Waterlevels(cm)

For details:

  • C. A. Larsson, Licentiate Thesis, 2011.

23

slide-26
SLIDE 26

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

  • High

power: 0 % success.

  • Low

power: 85 % success.

Water level [cm] Time [s] Water level [cm] Time [s] 100 150 200 250 300 100 150 200 250 300 14 15 16 14 15 16

24

slide-27
SLIDE 27

Introduction Notation Application Set System Identification Set Optimal Input Signal Design Identification Algorithm Identification Algorithm Identification Algorithm MPC Example MPC Example MPC Example MPC Example Conclusions

Optimal Input Signal Design (cont.)

Geometric interpretation

  • Cost function:

minimize input energy ⇔ maximize ESI.

  • Region constraint:

ESI(α) ⊆ Θapp(γ) → ESI(α) ⊆ Eapp(γ). Figure: ESI (blue) and Eapp (black).

25