• Aucun résultat trouvé

Observer Design for a Coupled ODE-PDE System from a Wellbore Reservoir Drilling Model

N/A
N/A
Protected

Academic year: 2021

Partager "Observer Design for a Coupled ODE-PDE System from a Wellbore Reservoir Drilling Model"

Copied!
9
0
0

Texte intégral

(1)

HAL Id: hal-02437365

https://hal-mines-paristech.archives-ouvertes.fr/hal-02437365

Submitted on 4 Mar 2020

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Observer Design for a Coupled ODE-PDE System from a Wellbore Reservoir Drilling Model

Leobardo Camacho-Solorio, Naveen Velmurugan, Florent Di Meglio, Miroslav Krstic

To cite this version:

Leobardo Camacho-Solorio, Naveen Velmurugan, Florent Di Meglio, Miroslav Krstic. Observer Design

for a Coupled ODE-PDE System from a Wellbore Reservoir Drilling Model. 58th Conference on

Decision and Control CDC 2019, Dec 2019, Nice, France. �hal-02437365�

(2)

Observer Design for a Coupled ODE-PDE System from a Wellbore Reservoir Drilling Model

Leobardo Camacho-Solorio, Naveen Velmurugan, Florent Di Meglio and Miroslav Krstic

Abstract— The problem of state estimation for a coupled

ODE-PDE system is addressed here by means of the back- stepping method for PDEs. The ODE is a finite-dimensional, linear, and time-invariant system and the PDE is a linear radial diffusion equation with Neumann and Robin boundary conditions. The coupling appears at one of the boundaries of the PDE and is bidirectional. More precisely, the ODE state appears in one of the boundary conditions of the PDE and the value of the PDE state at the boundary is an input to the ODE.

Measurements of the ODE output are available, while the state of the PDE is out of sight. The estimate is defined as the state of an observer; constructed as a copy of the coupled system ODE- PDE with output error feedback. This study is motivated by the influx estimation problem from a wellbore-reservoir model used in managed pressured drilling applications.

I. INTRODUCTION

The problem of state estimation for a coupled ODE-PDE system is addressed here by means of the backstepping method for PDEs [1]. The ODE is a finite dimensional, linear, and time-invariant system and the PDE is a linear radial diffusion equation with Neumann and Robin boundary conditions. The coupling appears at one of the boundaries of the PDE and is bidirectional. More precisely, the ODE state appears in one of the boundary conditions of the PDE and the value of the PDE state at the boundary is an input to the ODE. Measurements of the ODE output are available, while the state of the PDE is out-of-sight. The estimate is defined as the state of an observer; constructed as a copy of the coupled system ODE-PDE with output error injection. The convergence of the estimate follows the stability properties of the estimation error system. Observer gains are selected specifically to guarantee the exponential stability of the estimation error system. To guarantee the existence and the invertibility of the backstepping transformation the well- posedness of a cascade hyperbolic PDE-DAE system is derived.

The purpose of this study is to provide a solution to the state estimation problem for a wellbore-reservoir model used in managed pressured drilling (MPD) operations [2].

An ODE is used to described pressure dynamics of a fluid along the wellbore and a radial diffusion equation is used to described the diffusion of the fluid in a porous reservoir.

L. Camacho-Solorio and M. Krstic are with the Department of Mechanical and Aerospace Engineering, University of California San Diego, La Jolla, CA 92093-0411, USA. lcamacho@ucsd.edu, krstic@ucsd.edu

N. Velmurugan and F. Di Meglio are with the Centre Automatique et Syst`emes, MINES ParisTech, PSL Re- search University, 60 bd St-Michel, 75272 Paris Cedex 06 naveen.velmurugan@mines-paristech.fr,

florent.di meglio@mines-paristech.fr

The bidirectional coupling between the ODE and the PDE arises from conservation laws and the continuity of physical quantities in the model.

Control and estimation problems for cascaded PDE-ODE systems including transport, heat, and wave PDEs were studied in [3], [4, Part IV], [5], [6], and [9]. An observer for cascaded hyperbolic PDE-ODE system was derived in [12], to estimate flow, pressure and down hole rate of circulation loss in oil well drilling application. A cascaded stabilization cascaded ODE-Schroedinger equation was studied in [11].

State and output feedback for a coupled diffusion ODE system was developed in [10] and state and output feedback for sandwiched ODE-PDE-ODE system was develop in [8].

II. PROBLEM STATEMENT

In this section, we construct an observer and derive observability conditions for a coupled ODE-PDE system.

The ODE is a linear time invariant n-dimensional system dx

dt (t) = Ax(t) + Bu(a, t), (1)

y(t) = Cx(t), (2)

with A ∈ R

n×n

, B ∈ R

n×1

, C ∈ R

1×n

, for t ∈ (0, T ] and initial conditions x

0

R

n

. The PDE is a radial-diffusion equation

t

u(r, t) =

r

m−1

r

r

m−1

r

u(r, t)

, (3)

for r ∈ (a, b), t ∈ (0, T ], with diffusion coefficient > 0 and some integer parameter m > 0, related to the geometry of the underling physical problem. Boundary conditions are

r

u(a, t) = βu(a, t) + Dx(t), (4)

r

u(b, t) = 0, (5)

with β > 0, and initial conditions u

0

∈ C(a, b). The system is understood as a dynamic system with combined state x ∈ C ([0, T ]; R

n

), u ∈ C [0, T ]; L

2

(a, b)

, and output y ∈ C ([0, T ]; R). The estimation objective is to compute an estimate x, b u b from measurements y(t) ∈ R with exponential convergence in the sense of a norm. The proposed observer is a copy of (1)-(5) with output error feedback, that is

d x b

dt (t) = A b x(t) + B b u(a, t) + L ( b y(t) − y(t)) , (6)

b y(t) = C x(t), b (7)

for t ∈ (0, T ], with observer gain L = [l

1

, l

2

, · · · , l

n

], initial conditions x b

0

R

n

, and

t

u(r, t) = b

r

m−1

r

r

m−1

r

u(r, t) b

+ l

n+1

(r) ( b y(t) − y(t)) ,

(8)

(3)

for r ∈ (a, b), t ∈ (0, T ], boundary conditions

r

b u(a, t) = β u(a, t) + b D x(t) + b l

n+2

(y(t) − y(t)) b , (9)

r

u(b, t) = b l

n+3

(y(t) − y(t)) b , (10) with observer gains l

n+1

∈ L

2

(a, b), l

n+2

R, l

n+3

R, and initial conditions u b

0

∈ L

2

(0, 1). The estimation error is defined as the difference between the state x, u and the observer state x, b u, that is b

e x(t) = x(t) − b x(t), (11) e u(r, t) = u(r, t) − b u(r, t). (12) The estimation error e x, u e is a solution of the estimation error system

d x e

dt (t) = A e x(t) + B e u(a, t) − LC e x(t), (13)

e y(t) = C x(t), e (14)

for t ∈ (0, T ], with initial conditions e x

0

= x

0

− x b

0

, and

t

u(r, t) = e

r

m−1

r

r

m−1

r

u(r, t) e

− l

n+1

(r)C x(t), e (15) for r ∈ (a, b), t ∈ (0, T ], and boundary conditions

r

e u(a, t) = β u(a, t) + e D x(t) e − l

n+2

C x(t), e (16)

r

u(b, t) = e −l

n+3

C e x(t), (17) with initial conditions u e

0

= u

0

− u b

0

. Exponential conver- gence of the estimate x, b u b to the state x, u is equivalent to the exponential stability of zero solution of the estimation error system. The main result, in Theorem 1, provides a way to compute observer gains L, l

n+1

, l

n+2

, and l

n+3

, to guarantee exponential stability of the estimation error system. Before the statement of the main result, an additional observability condition is required.

Assumption 1: The finite dimensional subsystem (1), (2) is observable, that is, rank(O) = n, with O = C CA · · · CA

n−1

T

.

Assumption 1 guarantees the existence of a linear and invertible transformation T

O

: R

n

7→ R

n

that maps the system (1)–(2) to the observer canonical form, [14]. The transformation T

O

is an invertible matrix, satisfying

T

O

A

O

= AT

O

, T

O

B

O

= B, C

O

= CT

O

, (18) where A

O

, B

O

, C

O

are in observer canonical form, that is

A

O

=

a

1

1 0 · · · 0 a

2

0 1 · · · 0 .. . .. . .. . . . . .. . a

n−1

0 0 · · · 1 a

n

0 0 · · · 0

 , B

O

=

 b

1

b

2

.. . b

n

 , (19)

C

O

=

1 0 · · · 0

, (20)

Assumption 2 (Observability of the Coupled System):

None of the eigenvalues λ

k

R, k ∈ N of the radial

Laplacian operator with Neumann boundary conditions, that is

 

 

 d

dr

r

m−1

d dr φ(r)

= −λ

k

r

m−1

φ(r), φ

0n

(a) = 0,

φ

0n

(b) = 0,

(21)

are, simultaneously, solutions to the polynomial equation D(λ

k

) = 0, with

D(ξ) = b

n

+ b

n−1

ξ + b

n−2

ξ

2

+ · · · + b

2

ξ

n−2

+ b

1

ξ

n−1

, (22) and at least one b

i

, i ∈ {1, 2, · · · , n} is different from zero.

III. MAIN RESULT

Before the main result, we describe briefly the method- ology followed to define obsever gains that guarantee the stability of the estimation error system.

A. Methodology

Following the backstepping method for PDEs [1], we seek a pair of transformations T

O

: R

n

R

n

and T

u

: L

2

(0, 1) × R

n

→ L

2

(0, 1), that map the states e x, e u satisfying (13)–(14), (15)–(17), to states z, w e satisfying the target system

d z e

dt (t) = F z(t) + e B

O

w(a, t), (23) with initial condition e z

0

= T

O−1

e x

0

and F ∈ R

n×n

is in companion form, that is

F =

f

1

1 0 · · · 0 f

2

0 1 · · · 0 .. . .. . .. . . . . .. . f

n−1

0 0 · · · 1 f

n

0 0 · · · 0

, (24)

and

t

w(r, t) =

r

m−1

r

r

m−1

r

w(r, t)

− σw(r, t), (25) for r ∈ (a, b), t ∈ (0, T ], and boundary conditions

r

w(a, t) = (β − σ

2 (b − a))w(a, t), (26)

r

w(b, t) = 0, (27)

with initial conditions w

0

∈ C(a, b), satisfying u e

0

= T

w

(w

0

, z

0

). The finite-dimensional transformation T

O

is defined by (18), (19), while T

u

is the sum of a second- kind Volterra integral transformation acting on w and a linear spatially-varying transformation acting z, that is

e x(t) =T

O

e z(t), (28)

u(r, t) = e w(r, t) − Z

r

a

K(r, s)w(s, t)ds

+ (γ(r) − γ(a)) z(t), e (29)

Substitution of (28), (29) in the error (13)-(17) and target

systems results in a hyperbolic equation and boundary con-

dition for the kernel K and a differential-algebraic system

(4)

of equation and boundary condition for γ. Thus, existence of a transformation T

u

in the form (29) is guaranteed by the existence of a solution to the hyperbolic PDE and DAE systems, which is proven addressed in Lemma 2 and Lemma 3. Invertibility is given by invertibility of T

O

, the triangular structure of the pair (29)-(30) and the fact that the part of the operator T

u

acting on w is a second-king Volterra integral.

To ensure stability of the target system, the eigenvalues of F are selected with negative real part and σ is chosen positive, satisfying

σ ≤ 2β

b − a . (30)

Once the eigenvalues of F and the value of σ are chosen, there is a unique value for the observer gains L, l

n

permitted for consistency of the transformations. These are the observer gains that guarantee the convergence of the estimate to the unknown system state x, u, and are presented next in Theorem 1.

B. Main Result

Theorem 1: Let the premises in Asumption 1 and 2 hold.

Consider the estimation error system in (13), (14), (15)-(17), and a similarity transformation T

O

R

n×n

that maps (1), (2) to observer canonical form (18), (19). Let the ODE observer gain L ∈ R

n×1

be chosen such that the eigenvalues µ

i

, i ∈ {1, . . . , n} of the companion (24) matrix F ∈ R

n×n

, defined as

F = A

O

− L

O

C

O

, (31)

L = T

O

L

O

, (32)

have negative real part, and the PDE observer gains l

n+1

∈ L

2

(a, b), l

n+2

R, and l

n+3

R computed from

l

n+1

(r) =γ

100

(r) + n − 1

r γ

10

(r) (33)

n

X

i=1

i

(r) − γ

i

(a)) f

i

, (34) for r ∈ (a, b), and

l

n+2

= γ

10

(a) − d

1

, (35) l

n+3

= γ

10

(b), (36) where γ

i

(r), i ∈ {1, . . . , n}, is the solution of a differential- algebraic system of equations

s

K(r, a) +

β − σ

2 (b − a) − m − 1 a

K(r, a)

+

n

X

i=1

i

(r) − γ

i

(a)) b

i

= 0, (37)

for r ∈ (a, b), and r

m−1

d dr

r

m−1

d

dr γ

2

(r)

= γ

1

(r),

r

m−1

d dr

r

m−1

d

dr γ

3

(r)

= γ

2

(r), .. . .. . .. .

r

m−1

d dr

r

m−1

d

dr γ

n

(r)

= γ

n−1

(r),

(38)

for r ∈ (a, b), with boundary conditions

γ

0i

(a) = d

i

, (39)

γ

i0

(b) = 0, (40)

for all i ∈ {2, . . . , n}, where b

i

are the coefficients of B

O

and d

i

are the coefficients of D

O

= DT

O

. In equation (37), K ∈ L

2

(T ) is the solution to a second-order hyperbolic equation

 

 

 

 

 

 

 

 

 

  1

r

m−1

r

r

m−1

r

K(r, s)

−∂

s

s

m−1

s

K(r, s) s

m−1

= − σ

K(r, s), with boundary conditions

K(r, r) = σ

2 (r − b),

r

K(b, s) = 0,

(41)

with σ positive, chosen as µ ≤ σ ≤ 2β

b − a , (42)

µ = min

i∈{1,2,...,n}

{|µ

i

|} . (43) This choice of observer gains guarantees that estimation error system is exponentially stable, that is

k e x(t)k

2

≤ κ

1

exp(−µt) (k x e

0

k

2

+k e u

0

k

H1

) , (44) k e u(·, t)k

L2

≤ κ

2

exp(−µt) (k x e

0

k

2

+k e u

0

k

H1

) . (45) for some positive κ

1

, κ

2

.

The well-posedness of the DAE and the hyperbolic PDE are studied in next two lemmas, the proof of Theorem 1 is provided afterwards.

Lemma 2: There is a unique L

2

(T ) solution to the hyper- bolic equation

 

 

 

 

 

 

 

 

 

  1

r

m−1

r

r

m−1

r

K(r, s)

−∂

s

s

m−1

s

K(r, s) s

m−1

= − σ

K(r, s), with boundary conditions

K(r, r) = σ

2 (r − b),

r

K(b, s) = 0.

(46)

Proof: A solution to hyperbolic system can be found

following the procedure described in [16], for kernel equa-

tions required for stabilization of diffusion equations in

spherical domain, or the procedure described in [17], for ker-

nel equations required for stabilization of diffusion equations

with spatially-variable diffusion coefficients.

(5)

Lemma 3: The system of differential algebraic equations (DAE), constituted by n − 1 differential equations

r

m−1

d dr

r

m−1

d

dr γ

2

(r)

= γ

1

(r) − γ

1

(a),

r

m−1

d dr

r

m−1

d

dr γ

3

(r)

= γ

2

(r) − γ

2

(a), .. . .. . .. .

r

m−1

d dr

r

m−1

d

dr γ

n

(r)

= γ

n−1

(r) − γ

n−1

(a), (47) with boundary conditions

γ

i0

(a) = d

i

, (48)

γ

i0

(b) = 0, (49)

for all i ∈ {2, . . . , n}, and by the algebraic equation

s

K(r, a) +

β − σ

2 (b − a) − m − 1 a

K(r, a)

+

n

X

i=1

i

(r) − γ

i

(a)) b

i

= 0, (50) has a unique solution γ

i

(r) ∈ L

2

(0, 1), i ∈ {1, . . . , n}.

Proof: Define

γ

i

(r) = γ

i

(r) − γ

i

(a), (51) for i ∈ {1, 2, . . . , n}. By substitution

r

m−1

d dr

r

m−1

d

dr γ

2

(r)

= γ

1

(r),

r

m−1

d dr

r

m−1

d

dr γ

3

(r)

= γ

2

(r), .. . .. . .. .

r

m−1

d dr

r

m−1

d

dr γ

n

(r)

= γ

n−1

(r),

(52)

with boundary conditions

γ

0i

(a) = d

i

, (53)

γ

0i

(b) = 0, (54)

for all i ∈ {2, . . . , n}, and by the algebraic equation

s

K(r, a) −

β − σ

2 (b − a) − m − 1 a

K(r, a)

+

n

X

i=1

γ

i

(r)b

i

= 0. (55)

Consider the regular Sturm-Liouville [15] problem

 

 

 

 

 

  d

dr

r

m−1

d dr φ

k

(r)

= −λ

k

φ

k

(r)r

m−1

, for r ∈ (a, b), with boundary conditions φ

0k

(a) = 0,

φ

0k

(b) = 0,

(56)

for r ∈ (a, b), with k ∈ N. The solution to (56) is available as an analytic expression [18],

φ

k

(r) = c

k

r

−v

J

v

k

r) − r

−v

J

v+1

k

a)

Y

v+1

k

a) Y

v

k

r)

, (57) with v =

m2

−1. The values µ

k

R, k ∈ N are the solutions to the equation

P

v+1

k

a, µ

k

b) = 0, (58) where P

v

is the difference of cross-products of first and second-kind Bessel functions [19],

P

v

(x, y) = J

v

(x)Y

v

(y) − J

v

(y)Y

v

(x). (59) The eigenvalues λ

k

, k ∈ N of the Sturm-Liouville problem (56) are

λ

k

= µ

2k

. (60)

Coefficients c

k

, k ∈ N are chosen for normalization, that is

c

k

= 1

r

−v

J

v

k

r) − r

−v

J

v+1

k

a)

Y

v+1

k

a) Y

v

k

r)

L2

m

. (61)

The set of functions φ

k

, k ∈ N form a basis in the Hilbert space L

2m

= L

2

[a, b], r

m−1

dr

. Consider a series represen- tation of the functions γ

i

, i ∈ {1, 2, · · · , n} in terms of the basis φ

k

∈ C

(a, b), that is

γ

i

(r) =

X

k=0

p

i,k

φ

k

(r). (62) Consider also a series representation for the functions

r

m−1

d dr

r

m−1

d

dr γ

i

(r)

, i ∈ {2, 3, · · · , n}, that is

r

m−1

d dr

r

m−1

d

dr γ

i

(r)

=

X

k=0

q

i,k

φ

k

(r). (63) From orthogonality of the basis functions, for all i ∈ {2, 3, · · · , n}, and for all k ∈ N

Z

b a

r

m−1

d dr

r

m−1

d

dr γ

i

(t)

− γ

i−1

(r)

φ

k

(r)r

m−1

dr

= q

i,k

− p

i−1,k

. (64)

The differential equations (52) are satisfied if and only if the left hand of equation (64) is zero for all i ∈ {2, 3, · · · , n}

and for all k ∈ N, therefore

q

i,k

= p

i−1,k

. (65)

Similarly, for all k ∈ N Z

b

a

s

K(r, a) +

β − σ

2 (b − a) − m − 1 a

K(r, a)

+

n

X

i=1

γ

i

(r)b

i

× φ

k

(r)r

m−1

dr =

n

X

i=1

p

i,k

− z

k

(66)

(6)

with z

k

= −

Z

b a

s

K(r, a)

+

β − σ

2 (b − a) − m − 1 a

K(r, a)

×

φ

k

(r)r

m−1

dr. (67)

The algebraic equation (55) is satisfied if and only if the left- hand side of equation (66) is zero for all k ∈ N, therefore

n

X

i=1

p

i,k

= −z

k

. (68)

Further, from (63), orthogonality of the basis functions φ

k

,k ∈ N, and using integration by parts

q

i,k

= Z

b

a

r

m−1

d dr

r

m−1

d

dr γ

i

(r)

φ

k

(r)r

m−1

dr, (69)

= Z

b

a

d dr

r

m−1

d

dr γ

i

(r)

φ

k

(r)dr, (70)

= r

m−1

d

dr γ

i

(r)φ

k

(r)

b

a

(71)

− Z

b

a

r

m−1

d

dr γ

i

(r) d

dr φ

k

(r)dr, (72) using boundary conditions for γ

i

(r)

q

i,k

= − a

m−1

d

i

φ

k

(a) − r

m−1

γ

i

(r) d dr φ

k

(r)

b

a

+ Z

b

a

γ

i

(r) d dr

r

m−1

d

dr φ

k

(r)

dr, (73) the equation and boundary conditions for φ

k

(r) result in

q

i,k

= −a

m−1

d

i

φ

k

(a) − λ

k

Z

b a

γ

i

(r)φ

k

(r)r

m−1

dr, (74) from definition of p

i,k

q

i,k

= −a

m−1

d

i

φ

k

(a) − λ

k

p

i,k

, (75) substitution of (75) in (65) implies

λ

k

p

m

+ p

i−1,k

= −a

m−1

d

i

φ

k

(a). (76) For each k ∈ N, the n − 1 algebraic equations (76) together with the equation (68) result in a n-dimensional algebraic system that one needs to solve in order to compute {q

1,k

, q

2,k

, · · · , q

n,k

}. In other words, the coefficients in the series (62) should satisfy an infinite sequence of n- dimensional linear systems

λ

k

1 · · · 0 0 0 λ

k

· · · 0 0 .. . .. . . . . .. . .. . 0 0 · · · λ

k

1 b

n

b

n−1

· · · b

2

b

1

 p

n,k

p

n−1,k

.. . p

2,k

p

1,k

=

 β

k

d

n

β

k

d

n−1

.. . β

k

d

2

z

k

 ,

(77)

where

β

k

= −a

m−1

φ

k

(a), (78)

z

k

= − Z

b

a

s

K(r, a)

+

β − σ

2 (b − a) − m − 1 a

K(r, a)

× φ

k

(r)r

m−1

dr. (79)

Note that the generalized Fourier coefficients define a function uniquely in the space of definition, that is L

2

[a, b], r

m−1

dr

, for that reason, a unique solution of the algebraic system in the is a necessary and sufficient condition for the existence of a solution. Define

D(ξ) = det

ξ 1 0 · · · 0 0

0 ξ 1 · · · 0 0

0 0 ξ · · · 0 0

.. . .. . .. . . . . .. . .. .

0 0 0 · · · ξ 1

b

n

b

n−1

b

n−2

· · · b

2

b

1

 ,

(80)

= b

n

+ b

n−1

ξ + b

n−2

ξ

2

+ · · · + b

2

ξ

n−2

+ b

1

ξ

n−1

. (81) The sequence of linear systems (77) has a unique solution q

i,k

, with i ∈ {1, 2, . . . , n}, k ∈ N, if and only if

D(λ

k

) 6= 0, (82)

for all k ∈ N. This condition is related to the observability of the coupled system, since it defines a cancellation between the spectral values of the PDE and zeros of the ODE. This condition appears in Assumption 2.

C. Proof of Theorem 1

Proof: The stability is then verified with Lyapunov-like functions

V

1

(t) = 1 2

Z

b a

w

2

(r, t)r

m−1

dr, (83)

V

2

(t) = θ

2 w(a, t)

2

a

m−1

+ 1 2

Z

b a

w

2r

(r, t)r

m−1

dr, (84) with

θ = β − σ

2 (b − a), (85)

which satisfies θ > 0, according to the condition (30). The time derivatives of V

1

(t) and V

2

(t) along the trajectories of the w-system are

dV

1

dt (t) = w(r, t)∂

r

w(r, t)r

m−1

b

a

− Z

b

a

(∂

r

w(r, t))

2

r

m−1

dr − σ Z

b

a

w(r, t)

2

r

m−1

dr, (86) then,

dV

1

dt (t) ≤ −2V

1

(t). (87)

(7)

The time derivate of V

2

(t) is dV

2

dt (t) ≤ − θσw(a, t)

2

a

m−1

− Z

b

a

1

r

m−1

r

r

m−1

r

w(r, t)

2

r

m−1

dr

− σ Z

b

a

(∂

r

w(r, t))

2

r

m−1

dr, (88)

≤ − θσw(a, t)

2

a

m−1

− σ Z

b

a

(∂

r

w(r, t))

2

r

m−1

dr.

(89) Therefore,

dV

2

dt (t) ≤ − 2σV

2

(t). (90) From comparison principle

V

1

(t) ≤ exp [−2σt] V

1

(0), (91) V

2

(t) ≤ exp [−2σt] V

2

(0), (92) and consequently,

kw(·, t)k

L2

≤ exp [−σt] kw

0

k

L2

, (93)

|w(a, t)| ≤ exp [−σt] (|w

0

(a)|+k

1

k∂

r

w

0

k

L2

) , (94) with

k

1

= a

(m−1)2

θ . (95)

From Lemma 4 in the Appendix,

|w(a, t)| ≤ k

2

exp [−σt] kw

0

k

H1

. (96) with k

2

= max{1, k

1

}. The observer gain L = [l

1

, l

2

, . . . , l

n

]

T

is chosen via pole placement. That is, given a set of n complex-valued numbers {µ

1

, µ

2

, . . . , µ

n

} with neg- ative real parts, it is always possible to find L such that the eigenvalues of F = A − LC, are exactly {µ

1

, µ

2

, . . . , µ

n

}.

From the variation of constants formula e z(t) = exp[F t] e z

0

Z

t 0

exp[F (t − τ )]Bw(a, τ)dτ. (97) Then, there exits k

3

> 0, such that the norm of the state e x(t) is bounded as follows

k e z(t)k

2

≤ k

3

exp[−µt]| e z

0

|

2

+ k

3

kBk

2

Z

t 0

exp[−µ(t − τ)]|w(a, τ )|dτ, (98) with µ = min

i∈{1,2,...,n}

{|µ

i

|}. From (30), it follows that σ > µ > 0, and therefore

k e z(t)k

2

≤ k

3

exp[−µt] z e

0

+ k

2

k

3

σ − µ exp[−µt]kB k

2

kw

0

k

H

1

. (99) The inequalities imply that the zero solution of the target system is stable, with exponential bounds

kw(·, t)k

L2

≤ exp [−σt] kw

0

k

L2

, (100)

| z(t)| e

2

≤ k

3

exp[−µt]| e z

0

|

2

+k

4

exp[−µt] kw

0

k

H

1

. (101)

with

k

4

= k

2

k

3

σ − µ kBk

2

. (102)

Since the pair of transformation T

O

and T

u

defined in (18), (28) and (29) are invertible and bounded, there exists positive κ

1

, κ

2

, such that

k x(t)k e

2

≤ κ

1

exp(−µt) (k e x

0

k

2

+k u e

0

k

H1

) , k u(·, t)k e

L2

≤ κ

2

exp(−µt) (k e x

0

k

2

+k u e

0

k

H1

) .

IV. W

ELL

B

ORE AND

R

ESERVOIR

M

ODEL

The process of oil well drilling consists in creating a borehole several kilometres into the ground. Throughout the process, a drilling fluid (typically oil- or water-based mud) is circulated to lubricate and cool the drilling tools, evacuate mud cuttings and pressurize the well. The mud is pumped through the drillstring, flows through the drillbit and travels up the annular region, as schematically depicted on Figure IV-A. When the pressure at the bottom of the well is lower than the pressure of the reservoir surrounding it, an influx of liquid, and potentially gas, will enter the annulus.

We apply the observer design of the previous sections to estimate, from surface measurements only, the flow rate of a liquid influx as well as the near-wellbore reservoir pressure profile.

A. Model

The finite-dimensional part of the following model is an adaptation from [21] to account for the liquid influx while the reservoir PDE is described in [2]. The model derives from first principles and the states x(t) = [p

c

(t), p

p

(t), q

d

(t)]

0

and u(r, t), r ∈ [r

w

, r

e

] denote, respectively, the pressure upstream the outlet choke, the pump pressure, the total influx into the annulus and the reservoir pressure profile. The model takes the following form

dx(t)

dt = Ax(t) + Bu(r

w

, t), (103)

y(t) = Cx(t), (104)

t

u(r, t) =

r ∂

r

(r∂

r

u(r, t)), (105)

r

u(r

w

, t) = βu(r

w

, t) + Dx(t), (106)

r

u(r

e

, t) = 0, (107)

where A =

a

0

0 0 0 0 a

1

0 a

2

a

3

 , B =

 b

0

0 b

1

 , (108)

D =

d

0

0 d

1

. (109)

Definition of the matrix elements are given in Table I and the physical parameters are given in Table II. Two measurements are typically available on drilling facilities, namely pump and choke pressure, which yields

C =

1 0 0 0 1 0

. (110)

(8)

Reservoir

Drillstring

x=0

Annulus

Drill bit x=L

Mud pump Choke

Fig. 1. Schematic of fluid flow-path in a wellbore TABLE I

DEFINITION OF MATRIX ELEMENTS

Element Definition Element Definition

a0βa

Va

AaD2a

32µH +√ KcZ¯c

0( ¯pc−p0)

a1βd

Vd

a332µH

MdAdD2d+Mρ0q¯d

dC2dA2n a2 1 Md

b0 βa

Va

AaD2a 32µH

b11

Md

d032µξHAaD2a d11ξ

These two measurements are required to make the pair (A, C) observable. Thus, the design of Section II has to be slightly adapted to account for multiple outputs. We omit the details here for the sake of brevity, however, they pose no difficulty using a block observer canonical form, since the presence of multiple outputs only adds degrees of freedom to estimate the state of the scalar PDE.

B. Numerical simulations

A test case, where the opening of the choke valve (see Figure IV-B) is increased suddenly, is considered here to illustrate the results. This leads to reduction of the pressure at the bottom of the wellbore and thus result in an influx from the reservoir. Figure IV-B shows the comparison between the influx from the plant, the influx estimated by the observer and an open-loop estimation. Since the dynamics are stable, one could expect the latter to provide an asymptotic estimate of the influx. This is not the case, however, due to the slow time-scale of the reservoir dynamics. A similar result is seen in estimating the near-wellbore reservoir profile as depicted in Figure IV-B which is a snapshot of the reservoir pressure profile at 60s.

V. CONCLUSION

We have derived an observer for coupled ODE-PDE system with bidirectional coupling. The observer is derived following the backstepping method for PDE, i.e. defining an integral transformation that maps the estimation error

TABLE II

DEFINITION OF WELLBORE AND FLUID PARAMETERS

Parameter Definition Value Unit

βa,d Bulk modulus 6.896e8 P a

Da Annulus diameter 0.1809 m

Dd Drillstring diameter 0.1143 m

H Depth of the well 2000 m

µ Mud viscosity 40e-2 P a.s

Kc Choke constant 0.0029 [−]

c Steady state choke opening 0.8 [−]

¯

pc Steady state choke pressure 1.675e5 P a

Cd Bit nozzle constant 0.8 [−]

An Bit nozzle area 7.459e-4 m2

po Reference pressure 1e5 P a

ρo Reference density 780 kg/m3

κ Permeability 5e-12 m2

φ Porosity 0.2 [-]

ct Total compressibility (reservoir) 2.32e-9 P a−1

Parameter Defintion

Aa,d Area

Va,d Volume

rw Radius of annulus

ξ 2πκrwH/µ

Md Integrated density per cross section, RL

0 (ρ(x)/Ad(x))dx

β −d0

Diffusivity constant,=κ/(µctφ) Subscriptsa, d annulus, drillstring

0 10 20 30 40 50 60

-0.01 -0.008 -0.006 -0.004 -0.002 0 0.002 0.004 0.006 0.008 0.01

Fig. 2. Observer performance to estimate the influx into the wellbore

0 2 4 6 8 10 12 14 16 18 20

1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 107

Fig. 3. Observer performance to estimate the near-wellbore pressure profile

(9)

system to a stable target system. Interestingly, the well- posedness conditions for the kernel equations are exactly the conditions of observability of the coupled system. The design is applied to a model of wellbore-reservoir dynamics, used in the managed pressured drilling application. This allows us to estimate the influx from the reservoir by only using the measurements of the finite dimensional states that are typically available at the surface of drilling rigs.

The main shortcoming of the current design is the inability to modify the coefficient of the Robin boundary condition at the PDE-ODE interface. Future works include the modifica- tion of the transformation to compensate for this. Besides, the design of spatially-varying source terms in the PDE target system and a proper choice of closed-loop eigenvalues could be used to decrease the overshoot in the transient state estimation dynamics.

VI. APPENDIX Lemma 4: For any function f ∈ C([a, b]),

f (a) ≤ κ

a

kf k

H1

, (111) with κ

a

= (b − a)

2

+ 1

b − a .

Proof: From the fundamental theorem of calculus and triangle inequality

|f (a)|≤ |f (r)|+

Z

b a

|∂

ξ

f (ξ)|dξ (112) for any r ∈ [a, b]. Using Cauchy-Swartz inequality

|f (a)|≤ |f (r)|+ √ b − a

s Z

b

a

|∂

r

f (r)|

2

dr, (113) using Young’s inequality

|f (a)|

2

Ξ + 1 Ξ

|f (r)|

2

+2(b − a) (1 + Ξ) Z

b

a

|∂

r

f (r)|

2

dr.

(114) Since the last inequality holds for all r ∈ [a, b], it follows that

(b − a)|f (a)|

2

≤ Ξ + 1 Ξ

Z

b a

|f (r)|

2

dr (115)

+ (1 + Ξ) (b − a)

2

Z

b

a

|∂

r

f (r)|

2

dr. (116) for some Ξ > 0. Diving both side by b − a,

|f (a)|

2

≤ Ξ + 1 Ξ

1 b − a

Z

b a

|f (r)|

2

dr + (1 + Ξ) (b − a)

Z

b a

|∂

r

f (r)|

2

dr, (117) Choosing Ξ = (b − a)

−2

, one obtains

|f (a)|≤ κ

a

kf k

H1

, (118) with κ

a

= (b − a)

2

+ 1

b − a .

ACKNOWLEDGMENT

Leobardo Camacho-Solorio acknowledges support from the Chateaubriand Fellowship, UC-MEXUS, and CONA- CYT.

Naveen Velmurugan and Florent Di Meglio acknowledge support from the HYDRA project, which has received fund- ing from the European Union’s Horizon 2020 research and innovation program under grant agreement No 675731.

R

EFERENCES

[1] M. Krstic and A. Smyshlyaev,Boundary Control of PDEs, Society of Industrial and Applied Mathematics, 2008.

[2] N. Velmurugan and F. Di Meglio, “Transient Modelling of Influx and Observer Implementation for Estimation While Drilling, ” Conference on Decision and Control, 2018.

[3] M. Krstic and A. Smyshlyaev, “Backstepping Boundary Control for First-Order Hyperbolic PDEs and Application to Systems with Actuator and Sensor Delays”,Systems & Control Letters, vol. 57, pp.

750-758, 2008.

[4] M. Krstic,Delay Compensation for Nonlinear, Adaptive, and PDE Systems, Birkhauser, 2009.

[5] M. Krstic, “Compensating a String PDE in the Actuation or Sensing Path of an Unstable ODE,” American Control Conference, 2009.

[6] M. Krstic, “Predictor-like Feedback for Actuator and Sensor Dynamics Governed by Diffusion PDEs”, American Control Conference, 2009.

[7] G.A. Susto and M. Krstic, “Control of PDE-ODE Cascades with Neumann Interconnections,”Journal of the Franklin Institute, vol. 347, pp. 284-314, 2010.

[8] J. Wang, M. Krstic, and Y. Pi, “Control of a 2×2 coupled linear hyperbolic system sandwiched between 2 ODEs,” International Journal of Robust and Nonlinear Control, vol. 28, pp. 3987-4016, 2018.

[9] N. Bekiaris-Liberis and M. Krstic, “Compensating the Distributed Effect of Diffusion and Counter-Convection in Multi-Input and Multi- Output LTI Systems”,IEEE Transactions on Automatic Control, vol.

56, pp. 637-643, 2010.

[10] S. Tang and C. Xie, “State and Output Feedback Boundary Control for a Coupled PDE-ODE System, ”Systems & Control Letters, vol.

60, pp. 540-545, 2011.

[11] B. Ren, J.M. Wang and M. Krstic, “Stabilization of an ODE- Schrdinger Cascade, ”Systems & Control Letters, vol. 62, pp. 503-510, 2013.

[12] A. Hasan, O.M. Aamo, and M. Krstic, “Boundary Observer Design for Hyperbolic PDE-ODE Cascade Systems, ”Automatica, vol. 68, pp 75-86, 2016.

[13] F. Di Meglio, F. Bribiesca Argomedo, L. Hu, and M. Krstic, “Sta- bilization of Coupled Linear Heterodirectional Hyperbolic PDE-ODE systems, ”Automatica, vol. 87, pp. 281-289, 2018.

[14] T. Kailath,Linear Systems, Prentice-Hall, Englewood Cliffs, NJ, 1980.

[15] Zettl, Anton,Sturm-Liouville Theory, American Mathematical Society, 2005.

[16] R. Vazquez and M. Krstic, “Boundary control and estimation of reaction-diffusion equations on the sphere under revolution symmetry conditions”, International Journal of Control, 2017

[17] J.M. Coron, and H.M. Nguyen, “Null Controllability and Finite Time Stabilization for the Heat Equations with Variable Coefficients in Space in One Dimension via Backstepping Approach”, Archive for Rational Mechanics Analysis, vol 225, pp. 993-1023, 2017 [18] L. Camacho-Solorio, S. Moura, M. Krstic, “Robustness of Boundary

Observers for Radial Diffusion Equations to Parameter Uncertainty,”

American Control Conference, 2018.

[19] D. Kirkham, “Graphs and Formulas for Zeros of Cross Product Bessel Functions,” Journal of Mathematics and Physics, vol. 36, pp.371-377, 1957.

[20] G. N. Watson,A Treatise on the Theory of Bessel Functions, Cam- bridge University Press, 1995.

[21] G. O., Kaasa, . N Stamnes O. M. Aamo, and L. S. Imsland, “Simplified hydraulics model used for intelligent estimation of downhole pressure for a managed-pressure-drilling control system”, SPE Drilling &

Completion, vol. 27, pp. 127-138, 2012.

Références

Documents relatifs

Experimentally, it has long been known that a non linear relationship between the flow rate and the pressure drop imposed on the porous medium is obtained for non-Newtonian fluids

In this work we study a coupled PDE-ODE framework to model the impact of multiple AVs being used as mov- ing bottlenecks to control the flow of traffic and reduce the overall

magnesium silicate phases and water storage capacity in the transition zone and lower 487. mantle, Phys. Nestola, McNeill J., Nasdala L., Hutchison M. The Macusani glasses

This is a coupling of a PDE for the motion of the regular flow, with vorticity ω(t, · ) uni- formly integrable and bounded as in Yudovich’s theorem, and a system of ODEs for the

By using different methods, we show how to derive the correct mechanical route to the pressure of a fluid adsorbed in a random porous medium.. Some discussions are also made

By least-squares matching of the primary direct arrival in the source com- pensated SWD data, U r obs (r, φ, t), with the radiation pattern represented in equation (60) and

We therefore find that vacuum fluctuations and self reaction equally contribute to the emission of energy in the early stage of superradiance (half the total rate

- ةيداــــــــــصتقلاا ةــــــــــمزلأا ( ةــــــــــيلماعلا 1929 ــــــــــلإ تدأ يــــــــــّتلا ) و