The present disclosure belongs to the technical field of drilling engineering and, in particular, relates to a method for detecting a borehole caving based on cuttings and elements logging data.
During drilling construction, borehole cavings will lead to various problems, such as the change of the wellbore diameter and stratum breakdown. In more severe cases, borehole cavings will cause more complicated accidents, such as complete failure of the wellbore and jamming or dropping of the drilling tool. In addition, borehole cavings will also cause serious pollution to the reservoir, increasing the difficulty of resource exploration and affecting production efficiency. In the most severe cases, borehole cavings will lead to the direct abandonment of the wellbore. Therefore, the detection of borehole caving is a worldwide technical problem in drilling engineering, and it is also one of the core problems of safe and efficient drilling. At present, borehole caving detection often relies on the long-term work experience of field engineers. The empirical detection method is inefficient and inaccurate and cannot quickly and accurately detect borehole cavings while drilling is taking place in stratums with different lithologies.
To overcome the above-mentioned deficiencies in the prior art, an objective of the present disclosure is to provide a method for detecting a borehole caving based on cuttings and elements logging data. The present disclosure acquires elements logging data and cuttings return data of a target well in real-time, establishes an intelligent stratum identification model based on a support vector machine (SVM) for real-time stratum identification, and performs borehole caving detection based on historical elements logging data and stratum evaluation data of an adjacent well. The present disclosure can provide important guidance for on-site construction, effectively avoid complicated drilling accidents, and improve drilling operation efficiency.
The present disclosure adopts the following technical solution:
A method for detecting a borehole caving based on cuttings and elements logging data includes the following steps:
step 1: acquiring historical elements logging data and stratum evaluation data of an adjacent well and real-time elements logging data and real-time cuttings return data of a target well;
step 2: calculating a root mean square deviation (RMSD) Δ of a relative content of an element in the target well and a relative content of a corresponding element of the adjacent well; and weighing and calculating a real-time cuttings return volume Vreal-time and a theoretical cuttings return volume Vtheoretical;
step 3: establishing an intelligent stratum identification model based on an SVM, training the intelligent stratum identification model through the historical elements logging data of the adjacent well, importing the real-time elements logging data into the intelligent stratum identification model for real-time stratum identification, and calculating a real-time cuttings return ratio Rreturn based on the data calculated in step 2;
step 4: comparing a real-time stratum identification result of the target well with stratum of the adjacent well and selecting a parameter for borehole caving detection in a same horizon;
step 5: setting a threshold λ of the RMSD of the relative content of each element and a threshold range (a,b) of the real-time cuttings return ratio; and step 6: performing borehole caving detection based on the real-time stratum identification result acquired in step 3 in combination with the threshold λ of the RMSD of the relative content of each element and the threshold range (a,b) of the real-time cuttings return ratio set in step 5.
In a further technical solution, in step 1, the real-time elements logging data may include data of sodium (Na), magnesium (Mg), aluminum (Al), silicon (Si), phosphorus (P), sulfur (S), manganese (Mn), potassium (K), and calcium (Ca).
In a further technical solution, in step 1, the stratum evaluation data of the adjacent well may include stratum lithology.
In a further technical solution, in step 3, the intelligent stratum identification model may be established by:
In a further technical solution, in step 2, the RMSD Δ may be expressed by:
The real-time cuttings return ratio may be calculated by:
In a further technical solution, in step 6, the borehole caving detection may specifically include:
(1) comparing the real-time stratum identification result of the target well with a stratum identification result of the adjacent well and determining whether a horizon of a current drilling section is changed; and not incorporating the RMSD Δ of the relative content of each element as an evaluation parameter for subsequent borehole caving evaluation if the horizon of the current drilling section is changed; and (2) comparing the RMSD Δ of the relative content of each element and the real-time cuttings return ratio Rreturn with respective thresholds; and determining that a borehole caving occurs and drilling is necessarily stopped immediately if the following conditions are met:
The present disclosure has the following beneficial effects:
In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the present disclosure are described clearly and completely below. The described embodiments are some, rather than all, of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts should fall within the protection scope of the present disclosure.
As shown in
The method provided by the present disclosure specifically includes the following steps:
Step 1: Acquire historical elements logging data and stratum evaluation data of an adjacent well and real-time elements logging data and real-time cuttings return data of a target well.
Step 2: Calculate a root mean square deviation (RMSD) α of a relative content of an element in the target well and a relative content of a corresponding element of the adjacent well; and weighing and calculating a real-time cuttings return volume Vreal-time and a theoretical cuttings return volume Vtheoretical.
Step 3: Establish an intelligent stratum identification model based on an SVM (
Step 4: Compare a real-time stratum identification result of the target well with stratum of the adjacent well and select a parameter for borehole caving detection in a same horizon.
Step 5: Set a threshold λ of the RMSD of the relative content of each element and a threshold range (a,b) of the real-time cuttings return ratio.
Step 6: Perform borehole caving detection based on the real-time stratum identification result acquired in step 3 in combination with the threshold λ of the RMSD of the relative content of each element and the threshold range (a,b) of the real-time cuttings return ratio set in step 5.
In a further solution, in step 1, the real-time elements logging data includes data of sodium (Na), magnesium (Mg), aluminum (Al), silicon (Si), phosphorus (P), sulfur (S), manganese (Mn), potassium (K), and calcium (Ca).
In a further solution, the stratum evaluation data of the adjacent well is stratum lithology.
The basic principles of the present disclosure are described in further detail below with reference to specific embodiments.
The method of the present disclosure was optimally performed when testing Well xxx-1 in the Weiyuan block. The method of the present disclosure acquired the elements logging data and the cuttings return data during drilling construction to perform real-time detection of borehole caving.
1. Data Processing
The relative content of each element in a 5,400-5,401 m section of the adjacent well was calculated as:
P
historical=[1.995, 5.634, 18.507, 39.594, 0.207, 2.726, 0.068, 4.154, 4.272]
The relative content of each element in the target well was calculated as:
P
real-time=[2.298, 6.262, 15.05, 68.005, 0.113, 2.661, 0.04, 2.889, 5.02]
The real-time cuttings return volume was calculated by:
V
real-time
=m
dry/ρcuttings
mmdry denoted a dry weight, acquired by an on-site weighing system, of wet cuttings returned in real-time; and
ρcuttings denoted a cuttings density.
The total mass of the returned cuttings in the 5,400-5,401 m well section was mdry=2.97.986 kg, and the measured cuttings density was ρcuttings=3.2 g/cm3. Therefore, the volume of the cuttings returned from the current well section was Vreal-time=231.47 kg/3.2 g/cm3=93120.69 cm3=0.09312 m3.
The theoretical volume of the returned cuttings was calculated by:
Ddrill bit denoted a diameter of a drill bit;
h denoted the length of the drilled well section; and
ΔVe denoted a borehole enlargement rate.
The diameter of the drill bit used for this well section was 311.15 mm, the length of the drilled well section was 1 m, and the borehole enlargement rate was 102%. Therefore, the theoretical cuttings return ratio was Vtheoretical=0.0776m3.
2. Establishment of the intelligent stratum identification model
The kernel function K is a Gauss radial basis kernel function. The present disclosure dealt with nonlinear classification, so the present disclosure employed a radial basis kernel function that is easy to implement. The kernel function can be used for samples with any distribution and is especially suitable for the case of a few samples or lack of empirical distribution. Meanwhile, in this kernel function, fewer kernel parameters need to be calculated.
The penalty factor C and the kernel parameter σ are generally determined by experience. A larger C indicates more importance attaches to the sample and indicates that it is more likely to overfit. Conversely, a smaller C indicates less importance attaches to the sample and indicates that it is more likely to underfit. A larger σ indicates coarser classification and indicates that it is more likely to underfit. Conversely, a smaller σ indicates finer classification and indicates that it is more likely to overfit. Therefore, to achieve the best classification effect of the model, C takes the value of 16, and σ takes the value of 5.6569.
3. The real-time elements logging data Phistorical was imported into the trained model for real-time stratum identification (the stratum identification result might be clastic debris, carbonate rock, mud shale, limestone, or dolomite). The RMSD Δ of the relative content of an element in the target well and the relative content of the corresponding element of the adjacent well was calculated.
The real-time cuttings return ratio was calculated by:
4. The threshold of the RMSD of the relative content of the element was set as λ=2.5, and the threshold of the real-time cuttings return ratio was set as (a=0.82, b=1.15).
5. Borehole caving detection was performed based on the RMSD Δ of the relative content of each element, the real-time cuttings return ratio Rreturn, the stratum identification result acquired in step 3 in combination with the threshold λ of the RMSD of the relative content of each element and the threshold range (a,b) of the real-time cuttings return ratio set in step 4.
Finally, it should be noted that the above embodiments are only intended to illustrate the technical solutions of the present disclosure, rather than to limit the present disclosure. Although the present disclosure is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the above embodiments or make equivalent substitutions to some technical features therein. However, these modifications or substitutions should not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions in the embodiments of the present disclosure.