An explicit optimal input design for first order systems - - PowerPoint PPT Presentation

an explicit optimal input design for first order systems
SMART_READER_LITE
LIVE PREVIEW

An explicit optimal input design for first order systems - - PowerPoint PPT Presentation

An explicit optimal input design for first order systems identification Pascal DUFOUR 1 , 3 , Madiha NADRI 1 and Jun QIAN 1 , 2 , 3 1 Universit e de Lyon, Lyon F-69003, Universit e Lyon 1, CNRS UMR 5007, Laboratory of Process Control and


slide-1
SLIDE 1

An explicit optimal input design for first order systems identification

Pascal DUFOUR1,3, Madiha NADRI1 and Jun QIAN1,2,3

1Universit´

e de Lyon, Lyon F-69003, Universit´ e Lyon 1, CNRS UMR 5007, Laboratory of Process Control and Chemical Engineering (LAGEP), Villeurbanne 69100, France

2Acsyst`

eme company (IT and Control engineering), Rennes, France

3Sponsors: PhD thesis CIFRE 2011/0876 between the french company Acsyst`

eme and the french ministry of higher education and research: we thank for their financial support.

17th IFAC Symposium on System Identification (SYSID) October, 2015, 19-21, Beijing, China

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 1 / 18

slide-2
SLIDE 2

Table of contents

1

Context and motivations

2

General framework [Qian et al.: DYCOPS’13,ECC’14]

3

A particular case of the general approach: 1st order system Models and step response Observer design Constrained optimization problem Explicit control law Simulation results

4

Conclusions and perspectives

5

Contacts and discussion

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 2 / 18

slide-3
SLIDE 3

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-4
SLIDE 4

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model. How to generate experimental data for parameter estimation?

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-5
SLIDE 5

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model. How to generate experimental data for parameter estimation? Open loop input design: Step, Multi sine, PRBS...

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-6
SLIDE 6

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model. How to generate experimental data for parameter estimation? Open loop input design: Step, Multi sine, PRBS... Solution: optimal experiment design (OED) (state of the art : Franceschini and Macchietto [2008]).

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-7
SLIDE 7

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model. How to generate experimental data for parameter estimation? Open loop input design: Step, Multi sine, PRBS... Solution: optimal experiment design (OED) (state of the art : Franceschini and Macchietto [2008]). Difficulty: parameter identification and optimal input design are often 2 decoupled tasks (offline identification).

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-8
SLIDE 8

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model. How to generate experimental data for parameter estimation? Open loop input design: Step, Multi sine, PRBS... Solution: optimal experiment design (OED) (state of the art : Franceschini and Macchietto [2008]). Difficulty: parameter identification and optimal input design are often 2 decoupled tasks (offline identification). Difficulty: how to take into account online the operational constraints.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-9
SLIDE 9

Context and motivations

Context and motivations

For further simulation or control purpose: need to know the value of all the parameters of a continuous dynamic model. How to generate experimental data for parameter estimation? Open loop input design: Step, Multi sine, PRBS... Solution: optimal experiment design (OED) (state of the art : Franceschini and Macchietto [2008]). Difficulty: parameter identification and optimal input design are often 2 decoupled tasks (offline identification). Difficulty: how to take into account online the operational constraints. = ⇒ Our approach: online joined constrained OED and parameter estimation = model predictive control (MPC) + observer.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 18

slide-10
SLIDE 10

Context and motivations

Table of contents

1

Context and motivations

2

General framework [Qian et al.: DYCOPS’13,ECC’14]

3

A particular case of the general approach: 1st order system Models and step response Observer design Constrained optimization problem Explicit control law Simulation results

4

Conclusions and perspectives

5

Contacts and discussion

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 4 / 18

slide-11
SLIDE 11

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (1/2)

Aims to do together and online: OED + closed loop parameter identification.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 5 / 18

slide-12
SLIDE 12

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (1/2)

Aims to do together and online: OED + closed loop parameter identification. Developed for linear or nonlinear, monovariable or multivariable, stable or unstable continuous (state space) dynamic model based systems.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 5 / 18

slide-13
SLIDE 13

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (1/2)

Aims to do together and online: OED + closed loop parameter identification. Developed for linear or nonlinear, monovariable or multivariable, stable or unstable continuous (state space) dynamic model based systems. Is an online optimal input design which maximizes the sensitivities of the measurements with respect to the unknown constant model parameters.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 5 / 18

slide-14
SLIDE 14

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (1/2)

Aims to do together and online: OED + closed loop parameter identification. Developed for linear or nonlinear, monovariable or multivariable, stable or unstable continuous (state space) dynamic model based systems. Is an online optimal input design which maximizes the sensitivities of the measurements with respect to the unknown constant model parameters. Combines observer design theory and an on-line (MPC).

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 5 / 18

slide-15
SLIDE 15

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (1/2)

Aims to do together and online: OED + closed loop parameter identification. Developed for linear or nonlinear, monovariable or multivariable, stable or unstable continuous (state space) dynamic model based systems. Is an online optimal input design which maximizes the sensitivities of the measurements with respect to the unknown constant model parameters. Combines observer design theory and an on-line (MPC). Allows to specify input and output constraints to keep the process in a desired operating zone.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 5 / 18

slide-16
SLIDE 16

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (2/2)

MPC Cost function based on the predicted Fisher Information Matrix M              F(¯ yθl|k, ul|k, yp(k), ˆ x(k), ˆ θ(k)) =

1 Np

k+Np

l=k+1 Ml|k

u∗

l|k = arg maxul|k

  • J(ul|k) = λmin(F)

λmax(F)

  • ul|k = {u(k) . . . u(l) . . . u(k + Np)}, l ∈ [k k + Np].

k(l) = current(future) time index, Np = prediction horizon (1) Handling constraints:

Physical limitations of the inputs: umin ≤ u(k) ≤ umax, ∀k On the estimated states and/or the measured outputs yp (dealing with safety,

  • perating zone, production, ...):

gmin ≤ g(ˆ x(k), yp(k), u(k)) ≤ gmax, ∀k (2)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 6 / 18

slide-17
SLIDE 17

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (2/2)

MPC Cost function based on the predicted Fisher Information Matrix M              F(¯ yθl|k, ul|k, yp(k), ˆ x(k), ˆ θ(k)) =

1 Np

k+Np

l=k+1 Ml|k

u∗

l|k = arg maxul|k

  • J(ul|k) = λmin(F)

λmax(F)

  • ul|k = {u(k) . . . u(l) . . . u(k + Np)}, l ∈ [k k + Np].

k(l) = current(future) time index, Np = prediction horizon (1) Handling constraints:

Physical limitations of the inputs: umin ≤ u(k) ≤ umax, ∀k On the estimated states and/or the measured outputs yp (dealing with safety,

  • perating zone, production, ...):

gmin ≤ g(ˆ x(k), yp(k), u(k)) ≤ gmax, ∀k (2)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 6 / 18

slide-18
SLIDE 18

General framework [Qian et al.: DYCOPS’13,ECC’14]

Some recalls about Qian et al. work (2/2)

MPC Cost function based on the predicted Fisher Information Matrix M              F(¯ yθl|k, ul|k, yp(k), ˆ x(k), ˆ θ(k)) =

1 Np

k+Np

l=k+1 Ml|k

u∗

l|k = arg maxul|k

  • J(ul|k) = λmin(F)

λmax(F)

  • ul|k = {u(k) . . . u(l) . . . u(k + Np)}, l ∈ [k k + Np].

k(l) = current(future) time index, Np = prediction horizon (1) Handling constraints:

Physical limitations of the inputs: umin ≤ u(k) ≤ umax, ∀k On the estimated states and/or the measured outputs yp (dealing with safety,

  • perating zone, production, ...):

gmin ≤ g(ˆ x(k), yp(k), u(k)) ≤ gmax, ∀k (2)

Online input design = nonlinear constrained optimization problem = might be too time consuming in certain cases.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 6 / 18

slide-19
SLIDE 19

General framework [Qian et al.: DYCOPS’13,ECC’14]

Table of contents

1

Context and motivations

2

General framework [Qian et al.: DYCOPS’13,ECC’14]

3

A particular case of the general approach: 1st order system Models and step response Observer design Constrained optimization problem Explicit control law Simulation results

4

Conclusions and perspectives

5

Contacts and discussion

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 7 / 18

slide-20
SLIDE 20

A particular case of the general approach: 1st order system Models and step response

Models and explicit step response

First order model: ˙ x(t) = −1 τ (x(t) − Gu(t)), t > tk x(tk) = yp(tk), (3) x = measured state, u = measured input, θ (=the time constant τ > 0)=unknown parameter, G ∈ R⋆ = known static gain, yp(tk) = measured process output. Sensitivity model: with xθ = ∂x

∂τ

  • ˙

xθ(t) = 1 τ 2 x(t) − 1 τ xθ(t) − G τ 2 u(t), t > tk xθ(t = 0) = 0, (4) Step response of sensitivity model: at current time tk, over the prediction horizon Np (control horizon=1), xθ(t) =

  • xθ(tk) + (yp(tk) − Gu(tk))(t − tk)

ˆ τ 2(tk)

  • exp(−(t − tk)

ˆ τ(tk) ), t > tk. (5)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 8 / 18

slide-21
SLIDE 21

A particular case of the general approach: 1st order system Models and step response

Models and explicit step response

First order model: ˙ x(t) = −1 τ (x(t) − Gu(t)), t > tk x(tk) = yp(tk), (3) x = measured state, u = measured input, θ (=the time constant τ > 0)=unknown parameter, G ∈ R⋆ = known static gain, yp(tk) = measured process output. Sensitivity model: with xθ = ∂x

∂τ

  • ˙

xθ(t) = 1 τ 2 x(t) − 1 τ xθ(t) − G τ 2 u(t), t > tk xθ(t = 0) = 0, (4) Step response of sensitivity model: at current time tk, over the prediction horizon Np (control horizon=1), xθ(t) =

  • xθ(tk) + (yp(tk) − Gu(tk))(t − tk)

ˆ τ 2(tk)

  • exp(−(t − tk)

ˆ τ(tk) ), t > tk. (5)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 8 / 18

slide-22
SLIDE 22

A particular case of the general approach: 1st order system Models and step response

Models and explicit step response

First order model: ˙ x(t) = −1 τ (x(t) − Gu(t)), t > tk x(tk) = yp(tk), (3) x = measured state, u = measured input, θ (=the time constant τ > 0)=unknown parameter, G ∈ R⋆ = known static gain, yp(tk) = measured process output. Sensitivity model: with xθ = ∂x

∂τ

  • ˙

xθ(t) = 1 τ 2 x(t) − 1 τ xθ(t) − G τ 2 u(t), t > tk xθ(t = 0) = 0, (4) Step response of sensitivity model: at current time tk, over the prediction horizon Np (control horizon=1), xθ(t) =

  • xθ(tk) + (yp(tk) − Gu(tk))(t − tk)

ˆ τ 2(tk)

  • exp(−(t − tk)

ˆ τ(tk) ), t > tk. (5)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 8 / 18

slide-23
SLIDE 23

A particular case of the general approach: 1st order system Observer design

Observer design

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 9 / 18

slide-24
SLIDE 24

A particular case of the general approach: 1st order system Observer design

Observer design

Augmented system

  • ˙

xa(t) = Aa(yp(t), u(t))xa(t), t > tk ya(t) = Caxa(t), t > tk, (6) where : Aa(yp(t), u(t)) =

  • −yp(t) + Gu(t)
  • , Ca = [1 0]

xa(t) = [x(t) 1

τ ]T.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 9 / 18

slide-25
SLIDE 25

A particular case of the general approach: 1st order system Observer design

Observer design

Augmented system

  • ˙

xa(t) = Aa(yp(t), u(t))xa(t), t > tk ya(t) = Caxa(t), t > tk, (6) where : Aa(yp(t), u(t)) =

  • −yp(t) + Gu(t)
  • , Ca = [1 0]

xa(t) = [x(t) 1

τ ]T.

Extended Kalman filer (Besan¸ con [2007])

       ˙ ˆ xa(t) = Aa(yp(t), u(t))ˆ xa(t) − ρoS−1

  • (t)C T

a (Caˆ

xa(t) − yp(t)), t > tk ˙ So(t) = −θoSo(t) − AT

a (yp(t), u(t))So(t) − So(t)Aa(yp(t), u(t)) + ρoC T a Ca, t > tk

˙ ˆ xa(tk) =

  • ˆ

x(tk) 1 ˆ τ(tk)

  • (7)

where θo > 1, ρo > 0 and So(t = 0) are the observer tuning parameters.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 9 / 18

slide-26
SLIDE 26

A particular case of the general approach: 1st order system Constrained optimization problem

Constrained optimal input design

General MPC formulation (1) is written here as: max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

(xθ(t))2 dt (8)

(10)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 10 / 18

slide-27
SLIDE 27

A particular case of the general approach: 1st order system Constrained optimization problem

Constrained optimal input design

General MPC formulation (1) is written here as: max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

(xθ(t))2 dt (8) Determination of uinf and usup from:

constraints on u and yp : uinf ,u ≤ u ≤ usup,u, ∀t > 0 yinf ≤ yp ≤ y sup

p

, ∀t > 0 (9) (10)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 10 / 18

slide-28
SLIDE 28

A particular case of the general approach: 1st order system Constrained optimization problem

Constrained optimal input design

General MPC formulation (1) is written here as: max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

(xθ(t))2 dt (8) Determination of uinf and usup from:

constraints on u and yp : uinf ,u ≤ u ≤ usup,u, ∀t > 0 yinf ≤ yp ≤ y sup

p

, ∀t > 0 (9) known static gain G :                usup,y = max(yinf G , y sup G ) usup = min(usup,y, usup,u) uinf ,y = min(yinf G , y sup G ) uinf = max(uinf ,y, uinf ,u). (10)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 10 / 18

slide-29
SLIDE 29

A particular case of the general approach: 1st order system Explicit control law

Explicit control law

Optimization problem (8), convex in u(tk), becomes:

max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

f2(t)u(tk)2 + f1(t)u(tk) + f0(t)dt (11)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 11 / 18

slide-30
SLIDE 30

A particular case of the general approach: 1st order system Explicit control law

Explicit control law

Optimization problem (8), convex in u(tk), becomes:

max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

f2(t)u(tk)2 + f1(t)u(tk) + f0(t)dt (11) and may be rewritten as:

max

uinf ≤u(tk)≤usup J(u(tk)) = c∞(tk)(u(tk) − umin(tk))2 + Jmin(tk)

(12)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 11 / 18

slide-31
SLIDE 31

A particular case of the general approach: 1st order system Explicit control law

Explicit control law

Optimization problem (8), convex in u(tk), becomes:

max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

f2(t)u(tk)2 + f1(t)u(tk) + f0(t)dt (11) and may be rewritten as:

max

uinf ≤u(tk)≤usup J(u(tk)) = c∞(tk)(u(tk) − umin(tk))2 + Jmin(tk)

(12) Optimal solution of (12) depends on umin(tk): using the first order optimality condition: ∂J ∂u(tk) = 0 at u(tk) = umin(tk) (13)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 11 / 18

slide-32
SLIDE 32

A particular case of the general approach: 1st order system Explicit control law

Explicit control law

Optimization problem (8), convex in u(tk), becomes:

max

uinf ≤u(tk)≤usup J(u(tk)) =

tk+Np

tk

f2(t)u(tk)2 + f1(t)u(tk) + f0(t)dt (11) and may be rewritten as:

max

uinf ≤u(tk)≤usup J(u(tk)) = c∞(tk)(u(tk) − umin(tk))2 + Jmin(tk)

(12) Optimal solution of (12) depends on umin(tk): using the first order optimality condition: ∂J ∂u(tk) = 0 at u(tk) = umin(tk) (13) leading to the explicit solution (see functions in the paper):

  • umin(tk) = umin(yp(tk), ˆ

τ(tk)) = 1 G

  • xθ(tk)ˆ

τ(tk)2γ(.) + yp(tk)

  • γ(.) = γ(Np, Ts, ˆ

τ(tk), ν(Np, Ts, ˆ τ(tk))) (14)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 11 / 18

slide-33
SLIDE 33

A particular case of the general approach: 1st order system Explicit control law

Explicit control law

u J Umin (tk) Jmax Jmin Uinf Usup Umax(tk)

Figure: Quadratic criterion: geometric interpretation

Explicitly defined optimal control law u⋆(tk) = umax(tk) : umax(tk) =      usup if umin(tk) < uinf + usup − uinf 2 uinf else with usup and uinf defined in (10), and umin(tk) defined in (14).

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 12 / 18

slide-34
SLIDE 34

A particular case of the general approach: 1st order system Explicit control law

Explicit control law

u J Umin (tk) Jmax Jmin Uinf Usup Umax(tk)

Figure: Quadratic criterion: geometric interpretation

Explicitly defined optimal control law u⋆(tk) = umax(tk) : umax(tk) =      usup if umin(tk) < uinf + usup − uinf 2 uinf else with usup and uinf defined in (10), and umin(tk) defined in (14). Control law: needs only online observer integration (=few computations).

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 12 / 18

slide-35
SLIDE 35

A particular case of the general approach: 1st order system Simulation results

Simulation results

Prescribed constraints : 0 u(k) 1 , ∀k; (15) 0 y(k) 4 , ∀k. (16) Two different cases:

  • pen loop with PRBS input under input constraints (15);

closed loop with explicit optimal input design under input constraints (15) and

  • utput constraints (16).

Setting the adaptive horizon prediction: Np(tk)Ts = ˆ τ(tk).

Tableau: The time constant τ: time-variant target of the unknown parameter

Time (s) 1000 2000 3000 3500 4000 4500 4750 5000 θ (s) 80 100 50 80 100 50 80 100 50

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 13 / 18

slide-36
SLIDE 36

A particular case of the general approach: 1st order system Simulation results

Simulation results

1000 2000 3000 4000 5000 6000 20 40 60 80 100 120 140

Time (s) Time constant: τ (uSI) Parameter estimation Target OL with input PRBS

(a) ˆ θ in open loop

1000 2000 3000 4000 5000 6000 20 30 40 50 60 70 80 90 100 110

Time (s) Time constant: τ (uSI) Parameter estimation Target CL with output constraints

(b) ˆ θ in closed loop

1000 2000 3000 4000 5000 6000 1 2 3 4 5 6 7

Process output Output yp (uSI) Time (s)

(a) yp in open loop (b) yp in closed loop

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 14 / 18

slide-37
SLIDE 37

A particular case of the general approach: 1st order system Simulation results

Simulation results

Figure: 1st order system: u∗ (at the top) and umin (at the bottom) in close loop

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 15 / 18

slide-38
SLIDE 38

A particular case of the general approach: 1st order system Simulation results

Simulation results

1000 2000 3000 4000 5000 6000 −0.05 −0.04 −0.03 −0.02 −0.01 0.01 0.02 0.03

Sensitivity dx/dθ (uSI) Time (s)

(a) xθ in open loop

1000 2000 3000 4000 5000 6000 −0.025 −0.02 −0.015 −0.01 −0.005 0.005 0.01 0.015 0.02 0.025

Sensitivity dx/dθ (uSI) Time (s)

(b) xθ in closed loop

Tableau: Results analysis

Criteria OL CL Maximum value taken by yp 6.14 3.655 Minimum value taken by yp 0.0 0.050 Mean sensitivity over Tfinal

100 ,

Tfinal

  • ( 1

s )

0.004 0.011 Mean time constant estimation error

  • ver

Tfinal

100 ,

Tfinal

  • (%)

4.62 3.60

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 16 / 18

slide-39
SLIDE 39

Conclusions and perspectives

Conclusions and perspectives

The proposed approach is able to do together

+ online the optimal design of experiment; + identify online the time constant of the first order model at the same time.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 17 / 18

slide-40
SLIDE 40

Conclusions and perspectives

Conclusions and perspectives

The proposed approach is able to do together

+ online the optimal design of experiment; + identify online the time constant of the first order model at the same time.

The explicit control law reduces the online computational cost.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 17 / 18

slide-41
SLIDE 41

Conclusions and perspectives

Conclusions and perspectives

The proposed approach is able to do together

+ online the optimal design of experiment; + identify online the time constant of the first order model at the same time.

The explicit control law reduces the online computational cost. The input and output constraints specify the physical limitations imposed by the system and ensure the efficiency of the OED.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 17 / 18

slide-42
SLIDE 42

Conclusions and perspectives

Conclusions and perspectives

The proposed approach is able to do together

+ online the optimal design of experiment; + identify online the time constant of the first order model at the same time.

The explicit control law reduces the online computational cost. The input and output constraints specify the physical limitations imposed by the system and ensure the efficiency of the OED. The influence of the prediction horizon (the main tuning parameter) as to be studied in more details.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 17 / 18

slide-43
SLIDE 43

Contacts and discussion

Contacts and discussion

Software

ODOE4OPE (Optimal Design Of Experiments for Online Parameter Estimation) Email: odoe4ope@univ-lyon1.fr; Website: odoe4ope.univ-lyon1.fr

Business contacts

Acsysteme: Expertise in automation, signal processing, optimization, software developing, ... Website: www.acsysteme.com/en LAGEP: Laboratory of Process Control and Chemical Engineering Website: www-lagep.univ-lyon1.fr

Authors

Pascal DUFOUR: www.tinyurl.com/dufourpascal Madiha NADRI: nadri@lagep.univ-lyon1.fr Jun QIAN: www.junqian.sitew.fr

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 18 / 18

slide-44
SLIDE 44

Annex 1st order system

Main ideas

Offline synthesis: determine xθ(tk) and ˆ θ(tk); get the predicted step response of the sensitivity model into the prediction horizon Np; determine the worst control law umin(tk) (that minimize the MPC cost function), in order to define the explicit optimal control law (that maximize the MPC cost function) at each time tk. Online computations: at each current time tk, get the process measure yp(tk); determine the current estimate of the time constant ˆ τ(tk) based on the process input applied u(tk) and process output yp(tk); compute the optimal control to apply u∗(tk) = umax(tk) based on the measure yp(tk), the estimation ˆ τ(tk), the explicit control law umin(tk) (defined offline) and the input bounds; apply umax(tk) from tk + ǫ to tk+1; Iterative procedure at the next sampling time.

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 1 / 5

slide-45
SLIDE 45

Annex 1st order system

Sensitivity model step response

Laplace transform: L( df

dt (t))

= sL(f (t)) − f (tk), t > tk; L( df

dt (t))

= sF(s) − f (tk), t > tk. (17) Laplace transform of sensitivity model: Xθ(s) = xθ(tk) s + 1

τ

+ yp(tk) − GsU(s) τ 2(s + 1

τ )2

, (18) The step response of sensitivity model (in the Laplace domain) is: Xθ(s) = xθ(tk) s + 1

τ

+ yp(tk) − Gu(tk) τ 2(s + 1

τ )2

. (19)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 2 / 5

slide-46
SLIDE 46

Annex 1st order system

Determination of umin(tk)

The cost function is quadratic in its optimization argument u(tk), which can be rewritten explicitly:                 

max

uinf ≤u(tk )≤usup J(u(tk)) =

tk +Np

tk

f2(t)u(tk)2 + f1(t)u(tk) + f0(t)dt

  • `

u : f2(t) = exp( −2(t−tk )

ˆ τ(tk )

)

  • G 2

ˆ τ(tk)4 (t − tk)2

  • ∈ R+

f1(t) = exp( −(t−tk )

ˆ τ(tk ) )

  • −2(xθ(tk) + yp(tk)

ˆ τ(tk)2 (t − tk)) G ˆ τ(tk)2 (t − tk) exp( −(t−tk )

ˆ τ(tk ) )

  • f0(t) = exp( −(t−tk )

ˆ τ(tk ) )

  • xθ(tk) + yp(tk)

ˆ τ(tk)2 (t − tk) exp( −(t−tk )

ˆ τ(tk ) )

  • (20)

where f2(t) > 0, the problem (11) is convex and may be rewritten showing characteristics of this parabola:

max

uinf ≤u(tk )≤usup J(u(tk)) = c∞(tk)(u(tk) − umin(tk))2 + Jmin(tk),

(21) where c∞ is a positive real (obtained from the integration f2(t) in (11)), and where umin(tk) is the worst control u(tk) to apply, since it minimize at tk the criteria J(.) (where J(.) = Jmin(tk) ≥ 0, since J is the L2 norm of xθ).

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 3 / 5

slide-47
SLIDE 47

Annex 1st order system

Determination of umin(tk)

Hence, umin(tk) has to be determined through the first order optimality condition: ∂J ∂u(tk) = 0 at u(tk) = umin(tk) (22) which leads to: umin(tk) = − tk+Np

tk

f1(t)dt 2 tk+Np

tk

f2(t)dt . (23) This leads to determine umin(tk) : umin(tk) = 1 G yp(tk) + ˆ τ(tk)2 G tk+Np

tk

(t − tk) exp( −2(t−tk)

ˆ τ(tk)

)dt tk+Np

tk

(t − tk)2 exp( −2(t−tk)

ˆ τ(tk)

)dt xθ(tk). (24) ⇒           

umin(tk) = 1 G

  • ˆ

τ(tk)2γ(.)xθ(tk) + yp(tk)

  • with

γ(Np, Ts, ˆ τ(tk), ν(Np, Ts, ˆ τ(tk))) = 2NpTsν(.) + ˆ τ(tk)(ν(.) − 1) 2(NpTs)2ν(.) + 2ˆ τ(tk)NpTsν(.) + ˆ τ(tk)2(ν(.) − 1) ν(Np, Ts, ˆ τ(tk)) = exp( −2NpTs

ˆ τ(tk ) ).

(25)

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 4 / 5

slide-48
SLIDE 48

Annex 1st order system

Initial conditions and parameters

Tableau: Simulation conditions

Parameter Value (unit) Time Tfinal 5250 (s) Ts 1 (s) Model and Process G 10 (-) yp(0) 0 (-) τ(0) 80 (s) Observer ρo 1.02 (-) θo 0.05 (-) So

  • 0.01

0.01

  • (−)

ˆ τ(0) 20 (s) Controller [uinf ,u, usup,u] [0, 1] [yinf , y sup] [0, 4]

dufour@lagep.univ-lyon1.fr IFAC SYSID 2015, Paper MoB04.3 October, 19-21, 2015, Beijing, China 5 / 5