Professional Documents
Culture Documents
1 s2.0 S1474667016453553 Main
1 s2.0 S1474667016453553 Main
1 s2.0 S1474667016453553 Main
Abstract: This paper addresses control challenges within drilling for the oil and gas industry. Drilling
has not been modernized as much as other industries and there is still a great potential for automatic
control. Heavy machinery is used to handle pipes and other equipment topside and in and out of the hole.
These machines can be controlled remotely with a joystick. Very advanced tools are being used
downhole several km away from the rig and these are often controlled remotely. Mud pulse telemetry
with low bandwidth is used to communicate with downhole equipment. Drilling involves certain risks
and mistakes may have disastrous consequences both for people and economically, e.g. a blow-out.
Safety is therefore always the most important issue, and new solutions must be robust and fault tolerant.
Extensive testing is required before being used in an actual drilling operation. Managed pressure drilling
is a relative new method for drilling challenging wells with narrow margins requiring precise pressure
control. Nonlinear model based control solutions and observers have been developed for this technology.
This is addressed in this paper together with experimental results. In addition an overview of some other
interesting challenges is given.
Keywords: automation, pressure control, observers, nonlinear control, robotics, estimation, fault
detection, plant-wide control, drilling, well control.
In the last three years Statoil has been developing a control Without sufficient pressure in the annulus, the surrounding
system for MPD. The main two components of the control rock formation can collapse and the drill string may get stuck.
system - downhole pressure estimator and choke pressure This leads to high recovery costs. One might also risk an
controller - are based on a simple, yet accurate, nonlinear influx of formation fluids, e.g. natural gas, into the well, if
hydraulic model of the well with only 3 states. Such a simple the downhole pressure is below the reservoir pore pressure.
model-based controller can provide better performance An influx of gas, referred to as a gas kick, may have
compared to conventional controllers. This control system disastrous consequences. At the same time, if the pressure is
was recently implemented and successfully tested on a full too high and exceeds the strength of the rock, it may fracture
scale drilling rig. The tests demonstrated excellent the well, leading to loss of mud, damage to the wellbore,
performance of the control system and provided valuable data reduced recovery and other costly consequences. For this
for further research and development. In the first part of the reason, it is important to keep the downhole pressure within a
paper we present an overview of this control system and given pressure window at all times
selected experimental results.
10843
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
et. al, 2008), (Eck-Olsen et. al., 2005), (Fredericks et. al., Table 3. System parameters.
2008), (Godhavn, 2009), (Godhavn and Knudsen, 2010),
(Santos et. al., 2007a), (Stamnes, 2007), (Stamnes et. al., Va Annulus volume
2008), (Syltøy et. al., 2008) and (Zhou et. al., 2009b).
Vd Drill string volume
2.1 Modelling a Annulus mud bulk modulus
The distribution of flows and pressures in the annulus and the
drill string can be accurately modelled by partial differential d Drill string mud bulk modulus
equations (PDE). Such a complex model is very well suited
for simulations, but not for controller design purposes. To a Annulus density
design an MPD control system, we use a simple nonlinear
model with 3 states, which captures the main dynamics of the d Drill string density
system with sufficient accuracy. The model is given by the Kc Choke constant
following equations (Stamnes et. al., 2008):
Vd d Cross-section area of the drill string
p p q p qbit at the top of the well
d
Mqbit p p pc F (qbit , d ) ( d a ) ghdh (2.1) M Weighted mud density
Va hdh True vertical depth of the well bore
p c qbit qbpp Ad vd qc qerr
a
g Gravity acceleration
qc K c pc pc 0 G (uc )
F (qbit , d ) Total pressure drop due to friction in
the drill string and in the annulus
As shown in (Godhavn, 2009), the process gain from choke
input to choke pressure is nonlinear. This makes MPD a good G (uc ) Strictly increasing function
candidate for applying nonlinear methods, where there is a
significant potential for improved control. The variables in
the model are summed up in Table 2. All the system parameters can be determined either from
specifications of the well, drill string and mud, or they can be
obtained through dedicated identification tests. Some of these
Table 2 Model variables. parameters vary during operation and can only be known
pp Main pump pressure approximately or need to be continuously identified. This
corresponds, for example, to the mud density in the annulus.
pc Upstream choke pressure The mud in the annulus contains cuttings and is subject to
temperature variations. In the current work we assume that all
pco Downstream choke pressure system parameters are known and constant throughout the
operation. In the experiments presented in this paper they
qbit Flow rate through the drilling bit
were identified through dedicated identification tests.
qp Main pump flow rate
2.2 Control problem
qbpp Back pressure pump flow rate In MPD the main controlled variable is the pressure at a
specified location in the well, usually at the bottom of the
qc Flow rate through the choke well. The additional variables used in the controller are given
in Table 4 and parameters are given in Table 5.
uc Control input, choke opening
Table 4. Controller variables.
qerr Model uncertainty variable, unmodelled flow
rate in the annulus including possible drilling pdh Down hole pressure
mud or influx of reservoir fluids
p̂dh Estimate of the downhole pressure
vd Drill string velocity relative to the well
p cref Choke pressure reference
d Rotational velocity of the drill string
p cref Time derivative of choke pressure ref.
All these signals except for qbit and qerr are available as F̂a Estimated friction in annulus
measurements. Table 3 lists the system parameters.
q*c Desired flow through choke
p̂ c Estimated choke pressure
10844
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
p̂ c Time derivative of p̂ c If the choke pressure controller achieves this goal and the
downhole estimator provides accurate estimates of the
qˆbit Estimate of qbit frictional pressure drop, i.e.
| Fˆa (t ) Fa (t ) | 0, (2.7)
q̂err Estimate of qerr
Then, as follows from (2.2), (2.5), control goal (2.3) is
z1 Observer error variable for flow achieved.
z1 : (qˆerr qerr ) a / Va
2.4 Downhole estimator
There are different ways to develop a downhole estimator. In
z2 Observer error variable for choke
this paper we use the estimator from (Stamnes et. al., 2009).
pressure z2 : ( pˆ c pc )
The expression for the downhole estimator is not provided
~ here and readers are referred to the cited reference.
pc Tracking error for choke pressure
p c : pc pcref 2.5 Choke pressure controller
The choke pressure controller is developed by feedback
linearization as follows:
Table 5. Controller parameters. qc*
uc G 1
K p p (2.8)
Fa (qbit , d ) Frictional pressure drop in the c c c0
annulus V
qc* qˆbit qbpp Ad vd qˆerr a k p ( pc pcref ) p cref
sp Down hole pressure set point a
pdh
Va V
pˆ qˆbit qbpp Ad vd qc qˆerr L p a ( pˆ c pc )
Lp Positive observer gain a c a (2.9)
V
Li Positive observer gain qˆerr Li a ( pˆ c pc ),
a
kp Positive controller gain Equations (2.9) represent a linear observer for the assumed
slowly varying model error qerr. One can easily verify that the
Positive constant
observer error variables (defined in Table 4) satisfy
Time constant in low pass filter z1 Li z2
s Laplace operator a (2.10)
z2 Lp z2 z1 (qˆbit qbit ).
Va
The downhole pressure can be found from the simplified As follows from (2.1) and (2.8), the tracking error (defined
expression in Table 4) satisfies
pdh pc a ghdh Fa (qbit , d ), a
(2.2) p c k p p c z1 (qˆbit qbit ). (2.11)
The control goal is then formalized as Va
| pdh (t ) pdh
sp
| 0 as t . (2.3) Note that controller and observer error dynamics (2.11) and
(2.10) are exponentially stable at the origin if the estimated
flow through the bit is correct. Moreover, they are input to
2.3 Control system configuration
state stable with respect to the estimation error qˆbit qbit .
To solve the above stated control problem, the control system
is split into two blocks: a downhole pressure estimator and a Therefore, if qˆbit (t ) qbit (t ) 0 , then the states of (2.11) and
choke pressure controller. The downhole pressure estimator (2.10) also converge to zero and asymptotic tracking control
provides estimates of the frictional pressure drop in the
goal (2.6) is achieved. If the estimation of qbit is not exact,
annulus in Fa based on available topside measurements. The
estimated downhole pressure is given by but is bounded by some constant, | qˆbit (t ) qbit (t ) | , then
pˆ dh pc a ghdh Fˆa . (2.4) after transients the norm of the error vector ( p c , z1 , z2 ) will be
The choke pressure reference corresponding to the downhole bounded by a constant proportional to . Therefore, by
pressure set point is given by: improving the accuracy of qbit estimation and by tuning the
pcref pdh
sp
a ghdh Fˆa . (2.5) gains Lp, Li and kp, the tracking error p c can be reduced and
The choke pressure controller makes the choke pressure control goal (2.6) can be achieved in the practical sense. In
follow its reference: practice, tuning (increasing) the gains can be done only to a
certain level after which measurement noise will deteriorate
| pc (t ) pcref (t ) | 0 . (2.6)
performance of the closed loop system.
10845
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
The estimate of flow rate through the bit is derived from the Controller used as a core system for two way communication
first equation in (2.1): between PCs, sensors and controlled hardware. All system
Vd parameters were either computed from available
qbit q p p p . (2.12) specifications or identified through dedicated tests performed
d prior to the experiments.
We can approximate qbit by low pass filtering, which we
In the first set of tests the downhole estimator was tuned to
find by applying a low pass filter with the transfer function
provide accurate estimates of the frictional pressure drop and
1/( s 1) , 0 , to both sides in (2.12): of the downhole pressure. The performance of the tuned
1 Vd estimator is shown in Fig. 3. In this test the system was run
qˆbit : qp sp with a constant mud flow rate of 1000 l/min from the main
s 1 d p (2.13)
pump. The choke opening was stepped to give approximately
1 Vd V 10 bar steps in the choke pressure. In this test the downhole
qp pp d pp.
s 1 d d estimator demonstrated accurate performance with the
This estimator with time constant is sufficiently accurate maximal estimation error of less than 1 bar and the average of
for our purposes. Thus we conclude that the controller (2.8) | pˆ dh (t ) pdh (t ) | being 0.4 bar. Similar performance was
with observer (2.9) and qbit estimator (2.13) achieve choke demonstrated in the test with the fully open choke and
stepping of the main pump from 0 to 1500 l/min and in the
pressure tracking in the practical sense. test with constant main pump flow rate and choke position,
but with varying drill string rotational velocity. The last two
3. MPD EXPERIMENTAL RESULTS tests are not presented here.
The controller presented in the previous section was
implemented and tested in a number of experiments on the 320
280
p_dh
pHat_dh
260
25
20
0 500 1000 1500 2000 2500
1200 q_c
q_p
[l/min]
1000
800
0 500 1000 1500 2000 2500
[s]
10846
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
40 pHat_dh
262
pSP_dh
[bar]
20 260
[bar]
40
u_c
0 30
0 100 200 300 400 500 0 50 100 150 200
40
1500
[l/min]
1000
[%]
20
q_c u_c
500 0
q_p 0 50 100 150 200
0 100 200 300 400 500 1000
[s]
[l/min]
500 q_c
Fig. 4 Stepping of pressure set point 0
q_p
0 50 100 150 200
[s]
In the next test, shown in Fig. 5, the pressure controller was
evaluated in an emulated drill string connection test. When Fig. 5 Drill string connection test.
the drill string is elongated with a new stand, the main pump
is ramped down to full stop and disconnected from the drill
string. Then the drill string is extended with a new section
4. DRILLING AUTOMATION
and the pump is connected and ramped up to full flow. This
procedure was emulated in this connection test. The flow Drilling automation is much more than MPD, see e.g.
profile from the main pump can be seen in the lower plot in (Breyholtz et. al., 2010). Most of the focus has been on
Fig. 5. In this test the initial flow was 1000 l/min with 60 s replacing manual work performed topside by developing
ramping time. During this test the flow rate in the annulus is heavy machinery that can solve these tasks. Many interesting
reduced to zero and then increased again. The BHA is control challenges arise when these machines shall operate
equipped with a one way valve, and thus there can be no back together in an offshore environment with limited space,
flow from the annulus into the drill string. Varying flow rate where time costs a lot of money and safety is extremely
in annulus results in varying frictional pressure drop in the important! Process control downhole is another issue of great
annulus. According to (2.5), this leads to time varying choke interest. The drill string is equipped with very advanced
pressure reference (see the 2nd from the top plot in Fig. 5). To sensors and machinery. However, the access from topside is
follow this reference, the choke pressure controller gradually usually very limited with mud pulse telemetry with very low
closes the choke to fully closed, thus trapping the pressure in band width (smoke signals). Broadband communication is
the annulus, and then gradually opens the choke (see the 3rd commercially available with wired pipe technology, but this
from the top plot in Fig. 5). No back pressure pump was used is still not used much. Hence, advanced hydraulic models of
in this test. As can be seen from the test results, the controller the well have been developed to substitute unavailable
managed to follow the required pressure profile accurately downhole sensors. These models are being used in some
with the maximal error of 1.9 bar during ramping and 0.6 bar drilling solutions in real time. Sensor data is then used
at steady state with fully closed choke. The top plot shows together with an advanced PDE model of the well to estimate
the estimate of the downhole pressure and the corresponding unmeasured variables such as downhole pressure, to detect
set point. In this test, measurement of the downhole pressure undesired events like lost circulation or influx and to predict
was not available and we rely only on its estimates from the problems such as bad hole cleaning and stuck pipe (see e. g.
downhole estimator. For comparison, the same test was Florence and Iversen, 2010 and Rommetveit et. al., 2010).
performed with the PID controller, which demonstrated poor
performance with a steady state error of 5.6 bar at fully
closed choke.
10847
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
4.1 Simulator models type of drill bit, type of rock, revolutions per minute,
downhole pressure and weight on bit (WOB).
Well models are widely used during well design. Different
models are used for many different purposes. Steady state
models are used to select mud properties, plan how to drill
the well and to see what rig is required with respect to torque 4.2 Data infrastructure and quality assurance
and force capacities, for example. Transient models include
the well dynamics. Such models have been used in real time Successful introduction of drilling solutions on a rig sets new
drilling operations for MPD and drilling automation. more demanding requirements to sensors, data quality,
reliability and data communication. A robust, scalable and
The most important operational measured parameters for secure data infrastructure at the rig is required for access to
drilling are (Gandelman et. al., 2010): bottom hole pressure high frequency time synchronized real-time data from
and temperature, pump pressure, flow rate in and out, different sensors, access to updated wellbore description and
drillstring rotation, rate of penetration, torque, drag, hole distribution and storage of computed values both on the rig
depth, bit depth and weight on bit. The types of drilling and to onshore support centres.
operations include drilling, circulating and moving the
drillstring up or down. Typically a drilling simulator consists
of several sub modules. Some modules are mentioned below.
In addition there might be modules (Gandelman et. al., 2010) Typically the data is spread in several systems run by
for drilling operation identification, transient hydraulics different service companies, e. g. a drilling contractor,
including heat transfer, solid and liquid flow, surge and swab, directional drilling, a mud logging company, cementing, a
gel prediction, geopressure and wellbore stability, and finally downhole tool company, and possibly special services such
interpretation to detect faults (black box data based or as MPD and continuous circulation systems. Fig. 6 shows a
physically reasoned). A module to make sure that input data typical drilling control system topology.
is correct is also required.
Knowledge of string forces and string torque is essential for The topside drilling process consists of several heavy
monitoring and diagnosis of a drilling process. A torque and machines handling the pipes, including top drive (rotate drill
drag model can be used to calculate string forces and torques string and bit), draw works (hoisting and braking), iron
both during well planning and during well operations. roughneck (connect and disconnect pipes or stands), pipe
Several models are available for this purpose. Solids handling cranes and manipulator arms. Remote operation has
concentration and bed-height profile predictions are received removed most of the need for having people on the drill floor,
from hydraulics calculations and used together with other and hence increased the safety of drilling operations.
operational parameters such as drillstring rotation in the Collision avoidance and coordination of the machines have
model (Gandelman et. al., 2010). been implemented to improve the drilling process. However,
some manual work is still required on the drill floor for
special operations. The machine control has to consider this,
and this is one reason for why the new remotely operated
4.1.3 ROP model machines have not resulted in faster drilling (meters/day).
Neither has the non productive time been reduced
ROP is one of the most important parameters for drilling significantly with the new solutions (still ~25%, see ref. in
efficiency. ROP depends on several parameters including Godhavn, 2009). The next step that hopefully will provide
10848
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
faster drilling and reduced non productive time is full inclination and azimuth angles are loaded from topside, and a
automatic machine control with no people on the drill floor. local controller downhole uses feedback from a gyroscope
and a steerable motor to obtain these desired angles (Matheus
and Naganathan, 2010).
Drilltronics (Florence and Iversen, 2010) and eControl 4.6 Automatic mud mixing
(Rommetveit et. al., 2010) are commercially available
drilling control and supervision systems, where advanced Mud is the blood of the drilling process. Mud management is
data models are used to supervise and in some instances usually carried out by service companies and often with 2-4
control the drilling machinery. In addition to helping the persons dedicated to this on a rig. A mud engineer is
driller make decisions, a number of tasks can be performed responsible for measuring and analyzing the returned and
automatically including passive protection of the drilling mixed mud and a geologist inspects particles in the returned
envelope and active operation of machinery. Benefits of such mud to obtain information about the downhole conditions.
systems include tripping speed close to optimum with respect Heavy machines as shale shakers, tanks and centrifuges clean
to formation integrity, automatic pump ramping according to the returned mud for particles and gas. Chemicals and other
well tolerances, automatic consistent drill testing providing additives are then mixed in to obtain the sought rheological
drilling parameters like downhole frictions, speeds, hole and fluid properties. Mud mixing is a manual process today
cleaning, kick tolerance, stuck pipe prevention, automatic with some help of machines. Real time measurements and
detection of kick and loss and reduce chances for pack-off. automatic injection solutions for additives open up for a fully
Automated drilling systems should result in better wells at automatic mud mixing process in the future. An automatic
lower cost. system can result in reduced costs, improved mud quality and
improved drilling performance (Gunnerod et. al., 2009).
10849
18th IFAC World Congress (IFAC'11)
Milano (Italy) August 28 - September 2, 2011
10850