Professional Documents
Culture Documents
discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/224367462
Conference Paper in Proceedings of the IEEE Conference on Decision and Control · January 2009
DOI: 10.1109/CDC.2008.4738845 · Source: IEEE Xplore
CITATIONS READS
35 91
4 authors, including:
Glenn-Ole Kaasa
Norwegian University of Science and Techno…
46 PUBLICATIONS 381 CITATIONS
SEE PROFILE
All in-text references underlined in blue are linked to publications on ResearchGate, Available from: Jing Zhou
letting you access and read them immediately. Retrieved on: 03 May 2016
Proceedings of the WeB13.5
47th IEEE Conference on Decision and Control
Cancun, Mexico, Dec. 9-11, 2008
Abstract— In this paper a reduced order observer that adapts can lead to a surface blowout with large financial losses,
to unknown friction and density, and estimates the bottomhole environmental damage and possible loss of lives.
pressure in a well during drilling, is presented. The design The pressure in the annulus is mainly affected by the
is based on a newly developed third order nonlinear model
with a nonlinear output equation containing a product between hydrostatic weight and the pressure due to friction losses
an unknown parameter and unmeasured state. Based on a [1]. In addition, if the annulus is closed off, the pressure at
Lyapunov approach the pressure estimate is shown to converge the top of the annulus induced by choking will significantly
to the true pressure under reasonable conditions. Application of affect the pressure in the well.
the observer to real data from a North Sea oil well demonstrates There are several operational procedures that affect the
promising behaviour.
Index Terms— Drilling, nonlinear observer, adaptive ob- pressure in the annulus. Pipe connection affects the pressure
server, pressure estimation. as the main pump must be disconnected to attach a new
section of drill pipe, this leads to zero flow and loss of
I. INTRODUCTION pressure due to friction. Moving the drill string all the
way in/out of the well (tripping) changes the volume in
As an introduction to drilling consider the drill rig set-up the annulus. Tripping out pipe causes reduced pressure in
illustrated in Fig. 1. The figure illustrates a jacket platform the annulus, and tripping in pipe creates a surge in the
performing offshore drilling. At the top of the derrick the pressure. Similar effects can be experienced due to wave-
drill string is attached to the topdrive which is a motor that induced motion (heave) when drilling from a floater.
turns the drill string. The drill string can move up and down Topdrive
Derrick Rotating Control Device
inside the derrick as the topdrive is attached to a hook that From
can be lowered or raised. As the drilling progresses the Main
Pump To Choke
and Back-
top of the drill string sinks towards the drill floor. After pressure
Pump
approximately 27m a new stand of drill pipe is connected to
Drill Floor
the top and drilling resumes. This procedure is referred to as
m Sea Level
a pipe connection. For a typical rate of penetration of 15 hr
a pipe connection is performed roughly every two hours. Riser
During drilling, down hole cuttings need to be transported
Seabed
out of the bore hole. This is done by using a mud circulation Annulus
system. On board the rig, tanks filled with drilling mud feed
the main mud pump which pumps the drilling fluid through
the topdrive and into the drill string. The mud then flows Casing
down through the bit and up through the annulus carrying Drill Bit
the cuttings along before the flow exits through a choke. Drill String
After exiting, the fluid is recycled and returned to the mud
tanks.
The example illustrated in Fig. 1 has a rotating control
device which seals off the annulus from the outside while a
choke controls the flow of mud out from the annulus.
The main reason for pressure control is to maintain the Fig. 1. Offshore drilling from a jacket platform. Drill mud flows from
annulus pressure profile within its margins, i.e., above the the main pump through the drill string, drill bit and out through the choke.
The mud transports cuttings out of the wellbore and helps to maintain the
pore pressure of the reservoir or the collapse pressure of the desired pressure in the borehole.
bore hole, and below the fracturing pressure of the bore hole.
Another important reason for pressure control is to prevent A. Pressure Control
uncontrolled reservoir influx which in the worst case scenario As described in the previous section there is a demand
Ø. Stamnes, J. Zhou and O.M. Aamo are with Department of for accurate control of the annulus pressure. As a response
Engineering Cybernetics, Norwegian University of Science and Tech- to these demands a fairly new (for offshore drilling) tech-
nology oyvista@itk.ntnu.no,jing.zhou@itk.ntnu.no, nology for pressure control has emerged [2]. It is named
aamo@ntnu.no
G-O. Kaasa is with Modelling, Control and Flow Assurance, StatoilHydro Managed Pressure Drilling (MPD) and is defined by the
Research Centre Porsgrunn GKAA@StatoilHydro.com IADC Underbalanced Operations Committee as: "Managed
Pressure Drilling is an adaptive drilling process used to design. The Kalman filter was used to estimate the states, and
precisely control the annular pressure profile throughout the friction and choke coefficients. The estimated parameters
the well bore. The objectives are to ascertain the down showed unwanted and unexplained spikes and oscillations
hole pressure environment limits and to manage the annular during and after a pipe connection procedure. The bottom-
hydraulic pressure profile accordingly" [3]. hole pressure was kept fairly stable. In [5] it is shown that
In many cases the bottomhole pressure (the pressure at the pressure variations in the bottomhole pressure during surge
bit) is used as the variable to control [4], [5], [6], [7]. The and swab can be suppressed by controlling the choke and
bottomhole pressure is measured, but the signal is usually main pump. The control is based on a fourth order model and
transmitted by mud-pulse telemetry which is powered by assumes that all parameters and the bottomhole pressure is
a mud flow turbine. It is therefore hampered with slow known, hence there is no estimation scheme involved. While
sampling and no signal when the circulation is low, e.g., the present paper focuses on nonlinear adaptive observer
during pipe connection procedures. Since the measurement design and testing on real data, the related paper [7] uses
is unreliable the pressure needs to be estimated, which is a similar observer in conjuction with a nonlinear controller
non-trivial due to uncertainties in friction and density. to stabilize the bottomhole pressure. Simulation results in [7]
show that this observer-controller combination applied to a
B. Pressure Estimation state-of-the-art drilling simulator successfully stabilizes the
Some existing pressure estimation schemes are found in bottomhole pressure in the presence of common disturbances
the literature. The multiphase flow dynamics of a well can such as drill string movement and main pump flow variations.
be described fairly accurately by a set of partial differential
equations derived from mass balance equations and a simpli- II. MODEL
fied momentum balance known as the drift-flux formulation To facilitate the design of an observer a dynamic model for
[9], [10]. The PDEs can be discretized and implemented for the circulation system shown in Fig. 1 has been developed
simulation as as a large set of ordinary differential equations [8]. The model only considers fluid phase flow. For modeling
that can be used to predict the pressure in the well provided purposes the well is divided into two separate compartments.
all parameters are known and inputs (such as pump flows Fig. 2 shows the two control volumes considered, one control
and choke flows) are measured and fed into the simulator. volume for the drill string and one for the annulus. The
Existing schemes like these do not use the estimation error volumes are connected through the drill bit.
to adjust the future estimate and hence they are non-robust Mud
Pump pc Control
q pump Choke
to modeling errors. In [11] a new MPD concept which uses p0 qchoke p0
a modified version of OLGA 2000 to provide an estimate up , uc , z c
Z
p pp
of the pressure profile in the annulus is presented. OLGA
Backpressure
2000 is a powerful multiphase flow simulator developed qback Pump
2962
47th IEEE CDC, Cancun, Mexico, Dec. 9-11, 2008 WeB13.5
the bit. qback is the flow through the back pressure pump, In the choice of the unknown parameter θ2 certain assump-
qchoke is the flow through the choke and qres is the influx tions have been made. The reason for choosing θ2 as an
from the reservoir. unknown is because ρa is encumbered with uncertainty.
The volume flow dynamics is derived from a momentum From (4) one can see that Ma is linearly dependent on
balance and is governed by ρa , which implies that M = Md + Ma will also depend
on ρa . Neglecting this dependency can be justified by two
M q̇bit = pp − pc − Fd |qbit |qbit observations. Firstly, Ma affects only transients in the flow
− Fa |qbit + qres |(qbit + qres ) + (ρd − ρa )ghbit . (3) dynamics, which are fast compared to the dominating pres-
sure dynamics. Secondly, the sensitivity of M w.r.t. changes
Here Fd and Fa are the friction factors in the drill string and
in ρa is small as Md is greater than Ma . Treating M as a
the annulus, respectively, ρd and ρa are the average densities
known constant considerably reduces observer complexity.
in the drill string and the annulus, g = 9.81 sm2 and hbit is
We will furthermore assume zero reservoir influx, hence
the vertical depth of the bit, see Fig 2. Furthermore M =
qres = 0. In view of these assumptions, (8) can be simplified
Ma + Md with
Z lw Z LdN to
1 1
M a = ρa dx, Md = ρd dx, (4) q̇bit = a2 (pp − pc ) − θ1 |qbit |qbit + θ2 v3 , (12)
0 Aa (x) 0 Ad (x)
where lw is the length of the annulus, LdN is the total and (6) can be written as
length of the drill string, and Aa (x) and Ad (x) are the
cross sectional areas of the annulus and the drill string, pbit = pc + Ma (a2 (pp − pc ) − θ1 |qbit |qbit + θ2 v3 )
respectively. + (M θ1 − Fd )|qbit |qbit + (ρd g − M θ2 )v3 . (13)
The pressure at the bit depends on the choke pressure,
pressure due to rate of change in qbit , friction pressure and The goal for this section is to design an observer that
hydrostatic pressure, and is given as estimates pbit and adapts to the unknown parameters θ1 and
pbit = pc + Ma q̇bit + Fa |qbit + qres |(qbit + qres ) + ρa ghbit . θ2 . The estimated states and estimated parameters will be
(5) denoted with a hat. Before continuing the following assump-
tions regarding boundedness and knowledge of signals will
Substituting (3) into (5) gives be made:
Ma Md Md Ma Assumption 1: All signals in (7) – (8) are bounded ⇔
pbit = pp + pc + ( ρa + ρd )ghbit pp , pc , qbit , up , v3 ∈ L∞ and v̇3 ∈ L∞ .
M M M M
Md Ma Considering that the system is stable and v3 is the vertical
+( Fa − Fd )|qbit + qres |(qbit + qres ). (6)
M M depth of the well this assumption is mild.
Assumption 2: The following signals are assumed known:
Using the notation a1 = Vβdd , b1 = βVdd , a2 = M1
, a 5 = βa ,
pp , pc , up , v3 , v̇3 .
up = qpump , u = qback −qchoke , v1 (t) = Va (t), v2 (t) = −V̇a
Standard top side measurements include pp and pc . The
and v3 (t) = hbit (t) equations (1) – (3) can be written more
pump flow up can be estimated accurately by using the
compactly as
known pump speeds (ωp ), the number of pistons (Np )
ṗp = −a1 qbit + b1 up (7) and volume per stroke per piston (Vp ) according to up =
Fd Np Vp 2πωp . The depth of the bit (v3 ) and its rate of change
q̇bit = a2 (pp − pc ) − |qbit |qbit (v̇3 ), are given indirectly by the known geometry of the well
M
Fa (ρd − ρa )g path and the topside measurement of the block (top drive)
− |qbit + qres |(qbit + qres ) + v3 (8) position.
M M
a5 Assumption 3: θ̇1 = θ̇2 = 0.
ṗc = (qbit + qres + u + v2 ). (9)
v1 Both parameters vary slowly therefore the assumption is
III. OBSERVER valid.
As the friction factor in the annulus depends on several
A. Error Dynamics
uncertain parameters such as viscosity of the fluid, pipe
roughness and flow regime, it is assumed unknown. The Motivated by [15], define the following change of coordi-
density in the annulus is also encumbered with uncertainty as nates
the amount of cuttings in the drill mud affects it, and is also
assumed unknown. Let the unknown parameters be denoted ξ = qbit + l1 pp , (14)
as
where l1 is a feedback gain. From (7) and (12), the dynamics
Fd + Fa
θ1 = > 0 ⇒ Fa = M θ1 − Fd (10) of ξ is
M
(ρd − ρa )g M ξ˙ = −l1 a1 qbit − θ1 |qbit |qbit + θ2 v3 + a2 (pp − pc ) + l1 b1 up .
θ2 = ⇒ ρa = ρd − θ2 . (11)
M g (15)
2963
47th IEEE CDC, Cancun, Mexico, Dec. 9-11, 2008 WeB13.5
Since θ1 > 0 and ξ˜ = q̃bit , it follows that θ1 (|qbit |qbit − The partial derivatives of η(b qbit , v3 ) needed in (32) are
|b qbit )ξ˜ ≥ 0, so
qbit |b " #
|b
qbit |b
qbit
∂η l1 a1
∂η 0
U̇ ≤ −l1 a1 ξ̃ 2 . (26) =Γ
− l1va31
, = Γ qb
− l1bit
. (37)
∂b
qbit ∂v3 a1
Since a1 > 0, choosing l1 > 0 gives U̇ (ξ, ˜ θ̃) ≤ 0. Noticing
D. Initial Conditions
that ξ˜ = θ̃ = 0 is an equilibrium point for the system defined
by (21) and (24), and that the system is locally Lipschitz There are two initial conditions that need to be set. One
˜ θ̃), uniformly in t under Assumption 1, the LaSalle- b
is ξ(0) in (16) and the other is σ b (0) in (32). The initial
in (ξ,
Yoshizawa Theorem [16] can be invoked to conclude that all conditions should be constructed by using the relationships
solutions to (21) and (24) are uniformly bounded and that b = qbbit (0) + l1 pp (0)
ξ(0) (38)
lim −l1 a1 ξ˜2 = 0. (27) σ b + η(b
b (0) = θ(0) qbit (0), v3 (0)), (39)
t→∞
This implies that qbbit and θb are bounded, and that qbbit → qbit where pp (0) and v3 (0) are known since they are measured.
as t → ∞. There is no guarantee that the parameter estimates The user can now come up with initial estimates of qbbit (0)
converge to their true values. The results derived hold for all b and then use relations (38) and (39) to compute the
and θ(0)
˜ θ̃) ∈ R3 .
(ξ, b and σ
corresponding ξ(0) b (0).
2964
47th IEEE CDC, Cancun, Mexico, Dec. 9-11, 2008 WeB13.5
TABLE I
E. Convergence of p̃bit
S UMMARY OF ADAPTIVE OBSERVER BASED ON NONLINEAR MODEL
The goal of Section III is to design an observer so that the
ṗp = −a1 qbit + b1 up
estimated pressure at the bit pbbit tracks pbit . In Sections III- q̇bit = a2 (pp − pc ) − θ1 |qbit |qbit + θ2 v3
A – III-D an observer for the unmeasured state qbit has been Plant pbit = pc + Ma (a2 (pp − pc ) − θ1 |qbit |qbit + θ2 v3 )
+(M θ1 − Fd )|qbit |qbit + (ρd g − M θ2 )v3
designed. In this section convergence properties of p̃bit = pp , pc , up and v3 are measured
pbit − pbbit will be proved. Motivated by (13) an estimate of
pbit is pbbit = pc + Ma (a2 (pp − pc ) − θb1 |b qbit + θb2 v3 )
qbit |b
+(M θb1 − Fd )|b qbit + (ρd g − M θb2 )v3
qbit |b
Observer qbbit = ξb1 − l1 pp
pbbit = pc + Ma (a2 (pp − pc ) − θb1 |b qbit + θb2 v3 )
qbit |b (40) ξḃ1 = −l1 a1 qbbit − θb1 |b qbit + θb2 v3 + a2 (pp − pc ) + l1 b1 up
qbit |b
ξb1 (0) = qbbit (0) + l1 pp (0)
+ (M θb1 − Fd )|b qbit + (ρd g − M θb2 )v3 .
qbit |b (41)
θb = σ
b − η(b
qbit , v3 )
Using (13) the error in the estimate can be expressed as ḃ = −l1 ∂ q∂η
σ b
(−a1 qbbit + b1 up ) + ∂η ḃ
ξ
∂ qbbit 1
+ ∂η
v̇
∂v3 3
bit
b
b (0) = θ(0) + η(b
σ qbit (0), v3 (0))
p̃bit = Ma (−(θ1 |qbit |qbit − θb1 |b
qbit |b
qbit ) + θ̃2 v3 ) Adaptive law qbit , v3 ) = Γ
η(b
qbit |3
|b
3l1 a1
− vl3 qbabit
− Fd (|qbit |qbit − |b
qbit |b
qbit ) "
|b
qbit |b
qbit
1 # 1
∂η l1 a1
=Γ
+ M (θ1 |qbit |qbit − θb1 |b ∂ qbbit v3
qbit |b
qbit ) − M θ̃2 v3 . (42) "
−l a
1 1 #
∂η 0
=Γ
∂v3 − lqbbit
a
Using M = Ma + Md and (18), (42) can be rewritten as 1 1
2965
47th IEEE CDC, Cancun, Mexico, Dec. 9-11, 2008 WeB13.5
245
250
240
200 235
barg
barg
150 230
pbit 225
100 pp
pbitf it 220 pbit
ppf it p̂bit
50 215
0 0.5 1 1.5 2 2.5 0 0.5 1 1.5 2 2.5
30 0.01
ρ̂a
0.005
F̂a
0
20 0 0.5 1 1.5 2 2.5
hr
10 Fig. 4. Estimated bit pressure and measured bit pressure (top figure).
pc (barg) Note that the measured bit pressure is lost in the time interval t ≈ 1hr
up ( liter to t ≈ 1hr10min. Estimated density ρba and friction factor Fba (bottom
s )
figure).
0
0 0.5 1 1.5 2 2.5
hr
[5] G. H. Nygaard, E. Johannessen, J. E. Gravdal and F. Iversen, "Auto-
Fig. 3. The low order model (7), (12)–(13) fitted to data from the Grane matic Coordinated Control of Pump Rates and Choke Valve for Com-
field (top figure). Choke pressure pc and pump flow up (bottom figure). pensating Pressure Fluctuations during Surge and Swab Operations,"
IADC/SPE Managed Pressure Drilling and Underbalanced Operations
Conference and Exhibition, number SPE 108344, 2007.
[6] G. H. Nygaard, E. H. Vefring, K.-K. Fjelde, G. Nævdal, R. Johan
estimation error is usually less than 2 bar, although slightly Lorentzen and S. Mylvaganam, "Bottomhole Pressure Control During
Drilling Operations in Gas-Dominant Wells," SPE/IADC Underbal-
higher during the transient at t = 1hr. The estimated anced Technology Conference and Exhibition, number SPE 91578,
parameters, Fba = M θb1 − Fd and ρba = ρd − M b
g θ2 from (10)– 2004.
(11), settle at approximately 0.000068 and 0.0122 which [7] J. Zhou, Ø. N. Stamnes, O. M. Aamo and G.-O. Kaasa, "Adaptive
Output Feedback Control of a Dynamic Drilling System," 47th IEEE
gives a small error in the density estimate ρb while the friction Conference on Decision and Control, 2008, Submitted.
factor estimate suffers as Fd is approximately 50 times larger [8] G.-O. Kaasa, "A Simple Dynamic Model of Drilling for Control,"
than Fa which means that Fba is very sensitive to inaccuracies Technical Report, StatoilHydro Resarch Centre Porsgrunn, 2007
[9] A. C. V. M. Lage, Two-Phase Flow Models and Experiments for Low-
in Fd . Head and Underbalanced Drilling, PhD Thesis, Stavanger University
College, 2000.
V. CONCLUSIONS [10] O. G. H. Nygaard, Multivariable process control in high temperature
and high pressure environment using non-intrusive multi sensor data
Based on a newly developed nonlinear model an observer fusion, Phd Thesis, Norwegian University of Science and Technology,
2006.
that estimates bit pressure during drilling has been presented. [11] B. Fossli and S. Sangesland, "Managed Pressure Drilling for Subsea
Through Lyapunov analysis the estimation error is shown to Applications; Well Control Challenges in Deep Waters," SPE/IADC
converge to zero. The proposed observer adapts to unknown Underbalanced Technology Conference and Exhibition, number SPE
91633, 2004.
friction and density in the annulus. Performance of the [12] SPT Group, http://www.sptgroup.com/olga/, Ac-
observer has been verified using data from the Grane field cessed 2007.17.12.
in the North Sea showing good results. [13] J. E. Gravdal, R.J. Lorentzen, K.K. Fjelde and E.H. Vefring, "Tuning
of Computer Model Parameters in Managed-Pressure Drilling Appli-
cations Using an Unscented Kalman Filter Technique," SPE Annual
R EFERENCES Technical Conference and Exhibition, number SPE 97028, 2005.
[14] G. Nygaard and L.S. Imsland and E. A. Johannessen, "Using NMPC
[1] J. P. Brill and H. Mukherjee, Multiphase Flow in Wells, Society of Based on a Low-Order Model for Controlling Pressure During Oil Well
Petroleum Engineers Inc., 1999. Drilling," 8th International Symposium on Dynamics and Control of
[2] D. Hannegan, "Case Studies - Offshore Managed Pressure Drilling," Process Systems, June 6-8, 2007.
SPE Annual Technical Conference and Exhibition, number SPE [15] Y. Tan, I. Kanellakopoulos and Z.-P. Jiang, "Nonlinear Ob-
101855, San Antonio, Texas, 2006. server/Controller Design for a Class of Nonlinear Systems," Proceed-
[3] D. Hannegan, R. J. Todd, D. M. Pritchard and B. Jonasson, "MPD ings of the 37th IEEE Conference on Decision & Control, 1998.
- Uniquely Applicable to Methane Hydrate Drilling," SPE/IADC [16] M. Krstić, I. Kanellakopoulos and P. Kokotović, Nonlinear and Adap-
Underbalanced Technology Conference and Exhibition, number SPE tive Control Design, John Wiley & Sons, Inc., 1995
91560, 2004. [17] A. Micaelli and C. Samson, "Trajectory tracking for unicycle-type and
[4] G. Nygaard and G. Nævdal, "Nonlinear model predictive control two-steering-wheels mobile robots", Rapport de Recherche, Institut
scheme for stabilizing annulus pressure during oil well drilling," National de Recerche en Informatique et en Automatique, France,
Journal of Process Control, vol. 16, 2006, pp 719-732. 1993.
2966