Professional Documents
Culture Documents
2022-Treatment and Prevention of Stuck Pipe Based On Artificial Neural Networks Analysis
2022-Treatment and Prevention of Stuck Pipe Based On Artificial Neural Networks Analysis
This paper was prepared for presentation at the Offshore Technology Conference Asia held in Kuala Lumpur, Malaysia, 22 - 25 March 2022.
This paper was selected for presentation by an OTC program committee following review of information contained in an abstract submitted by the author(s). Contents of
the paper have not been reviewed by the Offshore Technology Conference and are subject to correction by the author(s). The material does not necessarily reflect any
position of the Offshore Technology Conference, its officers, or members. Electronic reproduction, distribution, or storage of any part of this paper without the written
consent of the Offshore Technology Conference is prohibited. Permission to reproduce in print is restricted to an abstract of not more than 300 words; illustrations may
not be copied. The abstract must contain conspicuous acknowledgment of OTC copyright
Abstract
Oil and gas drilling is a field practice with risks and uncertainties. Uncertainty and ambiguity of formation
conditions often cause downhole accidents such as borehole wall instability, stuck drilling, blowout, etc.,
and also pose a threat to drilling safety.Due to the incorrect understanding of the objective environment
and the wrong decision of subjective consciousness; it caused complex underground conditions and serious
accidents.
Collapse stuck is the worst kind of accident in stuck stuck. The procedures to deal with this kind of
accident are the most complicated, the most time-consuming, the most risky, and even the whole or part
of the wellbore may be scrapped, so we should try our best to avoid this accident during the drilling
process.Artificial Neural Networks (ANNs for short) is a mathematical model of algorithms that imitate
the behavioral characteristics of animal neural networks and perform distributed parallel information
processing.
This kind of network depends on the complexity of the system and adjusts the interconnection relationship
between a large numbers of internal nodes to achieve the purpose of processing information, and has the
ability of self-learning and self-adaptation.
This paper analyzes the causes of collapse stuck, the mechanical mechanism of drilling fluid wettability
on the stability of mud shale formation wall.A surface wetting reversal agent added to the drilling fluid
system was used to change the wettability of the shale surface.The mechanism analysis and research results
of changing the wettability to change the mechanical properties of the shale fracture surface were applied
to the actual production of the collapsed drilling rig.Through the change of drilling parameters, the risk of
stuck drilling is predicted in advance, the drilling speed is increased, the drilling time loss caused by stuck
drilling is reduced, and the drilling cycle and cost are saved.
Introduction
Salah Bahlany, et al. (2021) pointed out that wellbore stability problems, such as stuck pipe and tight
spots, are one of the most critical risks that impact drilling operations. Wellbore stability problems are
hard to predict due to the varying conditions of drilling operations: different lithology, drilling parameters,
pressures, equipment, shifting crews, and multiple well designs. All these factors make the occurrence of a
2 OTC-31693-MS
stuck pipe quite hard to mitigate only through human intervention. So, they decided to develop an artificial
intelligence tool that leverages the whole breadth and depth of operator data (reports, sensor data, well
engineering data, lithology data, etc.) in order to predict and prevent wellbore stability problems.
Paulinus Abhyudaya Bimastianto, et al. (2021) used predictive analytics and machine learning-based
modeling to detect drilling anomalies, namely stuck pipe events. Analysis focused on historical drilling
data and real-time operational data to address the limitations of physics-based modeling. This project was
designed to enable drilling crews to minimize downtime and non-productive time through real-time anomaly
Omogbolahan S Ahmed, et al. (2019) used a moving window-based approach to capture key drilling
parameters trends and applied an unsupervised machine learning algorithm to predict abnormalities in the
parameters' rate of change. It utilized most commonly available drilling real-time data and was therefore
deployable in all type of wells. No pre-drill model was essentially required as the model utilizes a
self-learning and self-adjusting model. The methodology involved the use of change point detection in
identifying rig activity and the associated drilling parameters so as to capture relevant parametric trend
for analysis. Inherent in the parameter trend are the different factors that affecting their readings; such as
Methods
Artificial Neural Networks (ANNs for short) is a mathematical model of algorithms that imitate
the behavioral characteristics of animal neural networks and perform distributed parallel information
processing.
This kind of network depends on the complexity of the system and adjusts the interconnection relationship
between a large numbers of internal nodes to achieve the purpose of processing information, and has the
ability of self-learning and self-adaptation.
For a certain processing unit (neuron), suppose that the information from other processing units (neurons)
i is Xi, and the strength of their interaction with the processing unit, that is, the connection weight is Wi, i
= 0,1, …, n-1, the internal threshold of the processing unit is θ.
Rubik's Code (2018) brought forward that using Artificial Neural Network (ANN) systems to connect
with data each other and together. Drilling is a complex and interdependent process. There will be many
drilling parameters related to each other, such as drilling speed, drilling tool parameters, drilling pump
displacement, bit pressure, suspended weight, drilling fluid performance, rock properties, formations,
parameters, formation pressure, etc.
With supervised learning, one of ANN system methods, to train contains between drilling data inputs
and gain desired outputs. Applying this method of network below shown in Figure.1 (Qi, 2019) can check
Drilling data analysis by ANNs need to input drilling speed, drilling tool parameters, drilling pump
displacement, bit pressure, suspended weight, drilling fluid performance, rock properties, formations,
parameters, formation pressure, etc. Use the least square method to calculate the weight of each factor.
The most important data need to input as X (X1,X2,X3 … … Xn) are well-site engineering requirements
data. So, it is particularly important to investigate these data of adjacent wells, such as, drilling speed, drilling
tool parameters, drilling pump displacement, bit pressure, suspended weight, drilling fluid performance,
rock properties, formations, parameters, formation pressure and the physical properties of returned cuttings.
These data are also the reference for judging the weight.
Mechanism Analysis
i. Causes of wellbore collapse:
1. Geological reasons:
① Original formation stress
② Stratum structural state
③ The nature of the rock itself
④ Anomalous pore pressure of shale
⑤ Impact of high pressure oil and gas reservoirs
OTC-31693-MS 5
(2)
(3)
In (1)–(3) formula,
E --- Elastic modulus, MPa;
εrr--- Radial strain, dimensionless;
6 OTC-31693-MS
(5)
(6)
The forces that cause shale to interact with water include surface hydration and osmotic hydration. The
deeper the rock is buried, the greater the crushing force and the more the water contained in the rock is
squeezed out, it needs to absorb water from the outside to restore balance. This water absorption capacity
is the surface hydration force.
Wettability Mechanism
After the rock is drilled, a well-developed network of micro-fractures is formed on the wall. Due to the
reservoir geological conditions and the inherent properties of the drilling fluid, some liquids will be lost to
the well wall. The liquid is sucked into micro-fractures and matrix pores by capillary forces.
According to Young's equation, the capillary force can be expressed as:
(7)
Where,
Pc--- Stands for capillary force;
σ--- Represents interfacial tension;
θ--- Represents the interface contact angle,
r--- Represents the capillary radius.
It can be seen from formula (7) that when Pc> 0, the capillary force is the motive force for fluid flow in
the wetting phase; for Pc <0, the capillary force is the resistance to fluid flow in the non-wetting phase.
In water-wet or neutral-wet formations, capillary forces are usually resistance to oil and gas flow.
Reducing or eliminating capillary resistance can be achieved by reducing the interfacial tension σ or
increasing the interfacial contact angle θ.
In actual formations, due to formation water dilution and rock adsorption, it is difficult to maintain low
interfacial tension for a long time with surfactant alone.
When the interfacial tension rises, the capillary force restores the resistance effect, making it difficult for
oil and gas to flow out. If the wettability of the micro-fracture's internal surface is changed from water to
oil/gas, and the contact angle θ becomes obtuse with respect to the water phase, the direction of capillary
force in the micro-fracture will change along the direction of oil and gas flow. The resistance is transformed
into the power of oil/gas outflow, thereby effectively eliminating the "water lock" effect and increasing oil
and gas production.
Capillary resistance is transformed into the power of oil/gas outflow, and the mechanism explanation is
shown in Figure 2 and Figure 3.
OTC-31693-MS 7
Figure 2
It can be seen from Figure 2 that the solid-liquid contact angle θ is an acute angle, indicating that the
inner wall of the capillary is wet with water, and the direction of capillary force is opposite to the direction
of oil/gas outflow, which is the resistance of oil/gas outflow;
It can be seen from Figure 3 that the solid-liquid contact angle θ is an obtuse angle, which indicates that
the wettability of the inner wall of the capillary is changed, and the direction of capillary force is the same
as the direction of oil/gas outflow.
Well-stie Application
A1 well
Lithology and physical properties. The well is located in the Raoyang Sag. Its main developed strata are the
Paleogene Kongdian Formation, Shahejie Formation, Dongying Formation, Neogene Guantao Formation,
Minghuazhen Formation, and Quaternary Plain Formation.
The Kongdian Formation of this well is the initial sedimentation of the fault-depression lake basin, with
large changes in lithology and thickness. The lithological combination is reflected in two rhythmic cycles:
coarse, fine and fine.
The lower part of the lower cycle is an early filling type, which is a near-source glutenite deposit, and
the upper part is gypsum and dolomite; the upper cycle sedimentary area is expanded, and the lower part is
a glutenite deposit, followed by lacustrine and lagoon facies.
Shahejie Formation: This group is divided into four segments based on paleontology and lithology. The
lower part of the fourth member of the Shahejie Formation is an interlayer of variegated sand and mudstone,
and the upper part is an interlayer of mudstone, gypsum, and carbonate. The third member of Shahejie
Formation is widely distributed as a set of red sandy mudstone sediments in the lakeshore facies.
The lower part is near-source breccia, the middle part is marlstone, and the upper part is lacustrine dark
mudstone and sandstone is interbedded.
The second member of the Shahejie Formation is shallow lake sediment, with a thick and fine cycle in
the longitudinal direction, a sandstone development section in the lower part, and a red and gray mudstone
section in the upper part. The lithology of the lower part of the Shahejie Formation is mainly a "special
lithology section" consisting of gray mudstone, oil shale, calcareous shale, marl, etc., and the upper part is
dark purple mudstone with gray sandstone.
The Dongying Formation is fluvial sedimentary, with lithology of red, green mudstone and gray sandstone
interlayer, showing three positive cycles in the longitudinal direction.
8 OTC-31693-MS
The sandstone in the first member of Shahejie Formation is mainly shoal facies, with a porosity of 6.5% to
23.3%, with an average of 14.9%; a permeability of 0.1 to 152 × 10−3μm2, and an average of 30.4 × 10−3μm2.
From the results of mercury injection, the exit efficiency was 67.8%, the median pressure was 0.89 MPa,
the discharge pressure was 0.16 MPa, and the average pore throat diameter was 6.5 μm, indicating that the
pore throat had good connectivity, the middle throat was concentrated, and the storage performance was
medium.
The main types of sediments in the second and third sections of Sha 2 and Sha 3 are sedimentary feldspar
Qp 335 Anti-collapse,Anti-incline
Physical property analysis Porosity is 6.1% # 25%, with an average of 17%; permeability is 0.2 # 538 ×
10 μm2, with an average of 74.6 × 10−3μm2. The reservoir has good physical properties.
−3
More information of A1well is described in figures and tables. Schematic diagram of A1 well structure
is shown in figure 4 and downhole anomaly risk is shown in table 1. Formation drillability of A1 well
is shown in table 2. And other drilling data are shown in Figure 5 Return cuttings, Table 3 Pressure of
OTC-31693-MS 9
formation (prediction from adjacent wells), Table 4 Drilling fluid performance of A1 well, Table 5 Drilling
fluid performance of A1 well.
−1560 −1.14 35-38 ≤8 <0.8 7.5-9.0 ≤0.5 <13 ≤0.10 1-2 2-4
Second
−2560 −1.20 36−46 ≤5 <0.5 7.5−9.0 ≤0.3 <12 ≤0.10 0−2 3−5
First 0-401 – – – – – –
Third −2580 / / / / / /
Short description of A1 well stuck pipe. By importing the data of the construction conditions near the well,
the geological parameters of the formation, rock physical properties, drilling fluid performance parameters
of different intervals, and drilling construction parameters (suspending weight, torque, weight on weight,
displacement, drilling speed, etc.) will be encountered.
After drilling to this abnormal interval, a yellow prompt appears on the computer client to warn the driller
of the risk of stuck. The driller reduced the drilling speed and continued drilling. A red alarm appeared on
the computer screen: it showed that the suspended weight increased, the lifting resistance increased, the
Solution
After collapsing and stuck, there may be two situations, one is that the cycle can be small displacement, and
the other is that the cycle cannot be established at all.
12 OTC-31693-MS
1. If you can cycle with small displacement, you must not lose this line of hope, but you must control
the basic balance between the inlet flow and the outlet flow. After the circulation is stable, gradually
increase the viscosity and shear force of the drilling fluid to improve its sand carrying capacity, and
then gradually increase the displacement, and strive to bring the collapsed rock block to the ground.
After this step is completed, it is easy to handle even if sticking stuck.
2. If the stuck is caused by the collapse of limestone and dolomite, and the collapsed well section is not
too long, you can consider pumping inhibitory hydrochloric acid to release the stuck.
Conclusion
In this paper, Artificial Neural Networks method was put into predicting stuck pipe. ANNs model were
edited into a software system based on drilling data, such as drilling speed, drilling tool parameters, drilling
pump displacement, bit pressure, suspended weight, drilling fluid performance, rock properties, formations,
parameters, formation pressure and backflow cuttings involved in wellbore collapse.
Through the least squares calculation, the weights of various factors affecting wellbore collapsed were
input, and these property data were input into the ANNs model, and the probability of collapse occurrence
was obtained through supercomputing platform. And the result could be monitor to start alarm for drilling
operator.
The wettability of the drilling fluid system has changed the nature of the surface of the rock micro-
fractures and cannot be ignored. An excellent drilling fluid system is a way to keep the borehole stable and
prevent collapse and stuck.
The goal is to prevent stuck drilling to increase drilling speed and prevent insignificant waiting time.
References
Salah Bahlany; Mohammed Maharbi; Saud Zakwani, et al. "STEP Change in Preventing Stuck Pipe and Tight Hole Events
Using Machine Learning." Paper presented at the Abu Dhabi International Petroleum Exhibition & Conference, Abu
Dhabi, UAE, November 2021. doi: https://doi.org/10.2118/207823-MS
Paulinus Abhyudaya Bimastianto; Shreepad Purushottam Khambete; Hamdan Mohamed Alsaadi et al. "Application of
Artificial Intelligence and Machine Learning to Detect Drilling Anomalies Leading to Stuck Pipe Incidents." Paper
presented at the Abu Dhabi International Petroleum Exhibition & Conference, Abu Dhabi, UAE, November 2021.
doi: https://doi.org/10.2118/207987-MS
Rushad Ravilievich Rakhimov; Oleg Valerievich Zhdaneev; Konstantin Nikolaevich Frolov, et al. "Stuck Pipe Early
Detection on Extended Reach Wells Using Ensemble Method of Machine Learning." Paper presented at the SPE
Russian Petroleum Technology Conference, Virtual, October 2021. doi: https://doi.org/10.2118/206516-MS
Mohamad Hazwan Yusoff; Meor Muhammad Hakeem Meor Hashim; Muhammad Hadi Hamzah, et al. "Leveraging
on Machine Learning Solution for Pioneering Wells Augmented Stuck Pipe Indicator in Real Time Centre."
Paper presented at the IADC/SPE Asia Pacific Drilling Technology Conference, Virtual, June 2021. doi: https://
doi.org/10.2118/201037-MS
Naoki Tsuchihashi; Ryota Wada; Masahiko Ozaki, et al. "Early Stuck Pipe Sign Detection with Depth-Domain
3D Convolutional Neural Network Using Actual Drilling Data." SPE J. 26 (2021): 551–562. doi: https://
doi.org/10.2118/204462-PA
Meor M. Meor Hashim; M. Hazwan Yusoff; M. Faris Arriffin, et al. "Case Studies for the Successful Deployment of
Wells Augmented Stuck Pipe Indicator in Wells Real Time Centre." Paper presented at the International Petroleum
Technology Conference, Virtual, March 2021. doi: https://doi.org/10.2523/IPTC-21199-MS
OTC-31693-MS 13
Aida Brankovic; Matteo Matteucci; Marcello Restelli, et al. "A Data-Based Approach for the Prediction of Stuck-
Pipe Events in Oil Drilling Operations." Paper presented at the Abu Dhabi International Petroleum Exhibition &
Conference, Abu Dhabi, UAE, November 2020. doi: https://doi.org/10.2118/202625-MS
Ayodele Akinfolarin; Obinna Amah; Isijokelu Ijeh, et al. "Lessons Learned from Drilling a Long Open Hole Interval
and Recovery from a Stuck Pipe Incident." Paper presented at the SPE Nigeria Annual International Conference and
Exhibition, Virtual, August 2020. doi: https://doi.org/10.2118/203603-MS
Carlos Andrés Berdugo Arias; Angie Tatiana León Torrado; Juan Sebastián Llano Carvajal. "Data Boosted Stuck
Pipe Prevention: Integrating Machine Learning Models into the Mud Plan Design Workflow." Paper presented