The application claims priority to Chinese patent application No. 202210385686.5, filed on Apr. 13, 2022, the entire contents of which are incorporated herein by reference.
The present disclosure belongs to the field of geological prospecting and particularly relates to an intelligent real-time updating method and system for a stratigraphic framework with geosteering-while-drilling.
Compared with common vertical wells and directional wells in the petroleum industry, horizontal wells have the characteristics of a high producing degree of reserves, high single-well output, low oil production cost, and the like. In the drilling process of the horizontal wells, the success rate and the drilling catching rate are mainly controlled by well trajectories controlled by geosteering in real time. In the geosteering process, it has become a key to improving the drilling catching rate of reservoirs that geologic framework models are adjusted according to real-time data obtained by drilling catching under the wells. In the actual drilling process, directional drilling engineers and drilling engineers establish an initial stratigraphic framework model in modes of earthquakes, well logging, and the like, update the geologic framework model in combination with well logging data while drilling, drilling data, and mud logging data to judge a stratum, at which a drill bit is located, in real time and optimizes the well trajectory to ensure the optimal position of a horizontal section in the reservoir, which has an important significance of increasing the drilling catching rate of the reservoir and oil and gas production of the horizontal well.
Due to the complexity and the versatility of geological objects faced by geosteering-while-drilling, it requires that the drill bit can accurately drill into a stratum with a fluctuation of about 1 m, which makes the conventional stratigraphic framework updating technology confronted with a great challenge and results in many technical problems. An optimal solution cannot be obtained often depending on judgment with personal experiences of the directional well engineers. For example, an actual stratum depth in a while-drilling range is not matched with a seismic section depth, which results in a large difference between an actual drilling result and a design. Once penetrating out of the top boundary and the bottom boundary of the reservoir, the drill bit can return a case at a target section only requiring adjustment on a long well section. When the situation is severe, it requires sidetracking and even drilling finishing in advance; or there is a fault in the drilling process suddenly, or a stratum is of a complex structure, and the next drilling direction of the drill bit cannot be determined. How to accurately align with the stratigraphic framework model in real time to conduct correction in depth, dipping angle, and dipping direction of the stratum and how to recognize a fracture in real time are keys for updating the stratigraphic framework model in real time. Strata for complex oil and gas reservoir drilling have common problems of heterogeneity and great differences in parameters measured by various instruments for well logging and mud logging while drilling, and how to merge various types of geological-geophysical data to achieve integrated cooperation is a great problem.
To solve the above problems in the prior art (that is, the common problems of heterogeneity and great differences in parameters measured by different instruments for well logging and mud logging while drilling which cannot be well overcome in the existing drilling technology) and the problems of poor control effect on well trajectory due to insufficient precision in position and dipping angle recognition of a stratigraphic framework, the present disclosure proposes an intelligent real-time updating method for a stratigraphic framework with geosteering-while-drilling. The method comprises:
In some preferable implementation manners, in the step S300, the abnormal values are eliminated through the isolated forest algorithm, especially comprising:
wherein
wherein H(i) represents a harmonic number and is estimated by ln(i)+0.5772156649, and 0.5772156649 is an Euler's constant;
when the abnormal value score s(x,φ) is smaller than a preset abnormal value threshold s, a corresponding data point is eliminated to obtain effective well logging data Y={y1, . . . , yα, . . . , ym}, 1≤α≤m and yα∈Y, and m represents the number of the data points in the effective well logging data.
Step S390, repeating the methods in the steps S320-380 to select a to-be-processed data combination which is never selected for calculation of effective well logging data, and selecting the effective well logging data with the accuracy rate reaching a first preset accuracy rate threshold and with the highest accuracy rate to conduct a subsequent step.
In some preferred implementation manners, non-linear dimensionality reduction is conducted on the effective well logging data by using t-SNE method, specifically comprising:
Step S410, based on the effective well logging data Y={y1, . . . , yα, . . . , ym}, selecting arbitrary points yα and yβ, 1≤α,β≤m, yα,yβ∈Y, wherein yβ obeys Gaussian distribution Pα with yα as a center and σβ as a variance, yα obeys Gaussian distribution Pβ with yβ as a center and σα as a variance, and then the similar conditional probability Pβ|α between yα and yβ is as follows:
wherein a user may designate perplexity Perp according to σα, the perplexity is defined as Perp(Pα)=2H(P
the joint probability Pαβ of pairwise similarity for similar conditional probability between the data points yα and yβ in all the data points is as follows:
wherein pα|β represents the similar conditional probability between yβ and yα;
Step S420, assuming that a dimensionality reduction well logging data set Z={z1, . . . , zα, . . . , zm} is constructed based on the effective well logging data Y={y1, . . . , yα, . . . , ym}, wherein in the step S420, the effective well logging data is data in a high-dimensional space relatively to the dimensionality reduction well logging data set; and calculating the joint probability qαβ of corresponding simulation points Zα and Zβ of data points yα and yβ in the dimensionality reduction well logging data set:
wherein 1≤ε1,ε2≤m, zε1 and zε2 represent two different points in the dimensionality reduction well logging data set, zε1, zε2∈Z, and calculation of each joint probability qαβ traverses all two different points in the dimensionality reduction well logging data set;
Step S430, based on the joint probability Pαβ of pairwise similarity for similar conditional probability between the data points yα and yβ in all the data points and the joint probability qαβ of the corresponding simulation points Zα and Zβ of the data points yα and yβ in the dimensionality reduction well logging data set, measuring the similarity C between probability distribution Q of the dimensionality reduction well logging data set and probability distribution P of the high-dimensional space of the effective well logging data through KL divergence:
wherein the smaller the value of the similarity C is, the higher the simulation correctness of the simulation points of the dimensionality reduction well logging data set is;
the KL divergence takes a minimum value through a gradient-descent algorithm:
a dimensionality reduction well logging data set is obtained Z={z1, . . . , zα, . . . , zm};
previous two dimensions in the dimensionality reduction well logging data set are kept, and the rest dimensions are deleted to obtain dimensionality reduction well logging data {circumflex over (Z)}={{circumflex over (z)}1, . . . , {circumflex over (z)}α, {circumflex over (z)}m}.
In some preferred implementation manners, the step S500 specifically comprises:
Step S510, calculating Euclidean distances dαβ between all data points in the dimensionality reduction well logging data:
Step S520, according to the demand on the clustering number, setting a cutoff distance dc, wherein e represents a dimension of the dimensionality reduction well logging data.
Step S530, calculating a density ρα of each node based on the cutoff distance:
wherein ρα means the number of nodes with a distance from the node i smaller than dc; and as strata at the same horizon embody strong similarity at the level of geophysical data, according to the set cutoff distance dc, the number of data points in this range is calculated. However, due to the employment of 0-1 functions, a discrete value may occur in density calculation; and to avoid this situation from affecting the effect of an algorithm, the present disclosure employs Gaussian kernel calculation.
Step S540, calculating a relative distance δα between the nodes:
Step S550, with the density ρα as an abscissa and the relative distance δα as an ordinate, drawing a two-dimensional diagram, determining a point in the clustering center, and grouping all the data points into the closest data points with a density larger than those of the above data points to obtain a well logging data cluster.
Step S560, based on the well logging data cluster, through a feature chart based on marker layers, conducting an interactive quantitative evaluation on the well logging data cluster by applying a core and images with imaging-while-drilling at a corresponding depth, to obtain a labeled well logging data cluster.
In some preferred implementation manners, before obtaining the marker layer primary prediction result through the marker layer prediction model based on the deep belief network, step S600 further comprises the step of selecting feature combination, especially comprising:
Step A100, processing and verifying well logging data through the method as in the steps S100-S500 to obtain well logging data clusters.
Step A200, numbering clusters belonging to a marker layer 1, and arbitrarily combining various clusters in the well logging data cluster, wherein a combination number of the clusters belonging to the marker layer 1 is:
C1=Cg1+Cg2+ . . . +Cgg
combinations of clusters belonging to a marker layer 2 and a marker layer 3 are C2 and C3.
Step A300, inputting all cluster combinations into the deep belief network as monitoring data, and calculating and verifying the accuracy rate A and the accuracy rate P of recognition of the marker layers of the well logging data:
wherein TP represents that for a sample, the true category is positive, and the prediction category is also positive; FN represents that for the sample, the true category is positive, and the prediction category is negative; FP represents that for the sample, the true category is negative, and the prediction category is positive; and TN represents that for the sample, the true category is negative, and the prediction category is also negative.
Step A400, judging whether the accuracy rates of three marker layers in the marker layer primary prediction result are all larger than a preset second accuracy rate threshold or not; if the accuracy rates are not larger than the preset second accuracy rate threshold, selecting another group of cluster combination which is never selected; and if the accuracy rates are larger than the preset second accuracy rate threshold, calculating the group of cluster combination and the accuracy rate.
Step A500, repeating the methods in steps A300-A400 to calculate all primary prediction results that the accuracy rates are larger than the preset second accuracy rate threshold, selecting the primary prediction result with the highest accuracy rate, and taking a corresponding cluster combination thereto as a selected well logging data cluster and a deep belief network structure thereto as the marker layer prediction model based on the deep belief network.
In some preferred implementation manners, depth correction specifically comprises:
In some preferred implementation manners, dipping angle and dipping direction correction specifically comprise:
In some preferred implementation manners, the method further comprises:
In some preferred implementation manners, the step S800 specifically comprises:
Another aspect of the present disclosure, provided is an intelligent real-time updating system for a stratigraphic framework with geosteering-while-drilling, comprising while-drilling information acquiring module, a stratigraphic framework model construction module, a data preprocessing module, a non-linear dimensionality reduction module, a well logging data clustering module, a primary prediction module, and an auxiliary correction module.
The present disclosure has the beneficial effects that:
The other features, objects, and advantages of the present disclosure will become apparent by reading the detailed destinations made for non-restrictive embodiments concerning the drawings.
The present disclosure is further described in detail hereinafter through a combination of the drawings and embodiments. It can be understood that the specific embodiments described here are only used for explaining related disclosures, rather than the limit to the present disclosure. Additionally, it also needs to be noted that to be convenient for description, relevant parts of the related disclosures are only shown in the drawings.
It needs to be noted that the embodiments in the present disclosure and the features in the embodiments can be combined under the condition of no conflict. The present disclosure is described in detail hereinafter with reference to the drawings and through combination with the embodiments.
The present disclosure provides an intelligent real-time updating method for a stratigraphic framework with geosteering-while-drilling, in which by conducting non-linear dimensionality reduction on the measured data, in combination with the density peak clustering method, clusters that may affect the recognition precision are eliminated, and thus a more accurate stratigraphic framework model is constructed for assisting to drilling.
The intelligent real-time updating method for the stratigraphic framework with geosteering-while-drilling comprises:
In order to more clearly describe the system of the present disclosure, various steps in the embodiments of the present disclosure are described in detail in combination with
An intelligent real-time updating method for a stratigraphic framework with geosteering-while-drilling according to embodiment 1 of the present disclosure, comprising:
Step S100, existing well data is obtained, and well logging data and images imaged while-drilling are acquired in real time.
According to prestack data, three-dimensional seismic processing technologies, including a special elastic impedance computing technology and an amplitude versus offset (AVO) analysis technology, is employed to obtain a seismic section; and a carbonate rock reservoir space mainly focuses on secondary pores, caves, and fractures. In general, a distinguishable karst cave (generally requiring the diameter of a corrosion zone to be larger than 35 m) exhibits features of a “string of beads” with strong reflection amplitude, small horizontal range, and obvious longitudinal difference on a post-stack seismic section and forms a “string-of-beads strong reflective” reservoir. The main mode of predicting a solution cave-type carbonate rock reservoir is to find a “string of beads” strong reflection according to post-stack data to determine an approximate range of the reservoir.
The key to solving the depth precision in the drilling process is to solve a depth error between a drill bit and the model. Particularly, in a sweet heart region such as a thin interbed with a thickness of a reservoir of about 1 m, the requirement on the depth in the drilling process is more sensitive. To solve the depth error problem, it requires to determine specific depths and dipping angles of 3 marker layers above the reservoir. To accurately recognize the marker layers and the reservoir in the process while drilling, in combination with previous geological information and well data, an initial feature chart of the reservoir and the 3 marker layers above the reservoir. Actual stratum structures and seismic time section forms are shown in
Step S200, based on the existing well data, an initial stratigraphic framework model is constructed.
According to the marker layers and reservoir feature chart, a true depth range of marker layers and a reservoir in an existing vertical well is determined and calibrated with a depth in a seismic section, and the initial stratigraphic framework model, including a horizon, the lithology, the depth range and the dipping angle of the stratum, as shown in
In this embodiment, an algorithm flow for establishing the model is shown in
Step S300, based on the well logging data, preprocessing of eliminating abnormal values is conducted to obtain effective well logging data.
In this embodiment, in the step S300, the abnormal values are eliminated through the isolated forest algorithm, especially comprising:
Step S310, 10 kinds of well logging data and drilling data are selected, wherein the well logging data includes AC, CNL, RD, RS, COND and GR, and DEN, and the drilling data includes a drilling rate, a rotating speed, and a drilling pressure; and the well logging data or the drilling data is selected for permutation and combination to establish to-be-processed data sets.
The number of the to-be-processed data sets is:
C1=C101+C102+ . . . +C1010
In this embodiment, the abnormal values are eliminated through the isolated forest algorithm. As attributes such as “acoustic logging (AC)” are not matched with the depth, some feature dimensions lack data, and a data record should be deleted. Also, some conventional well logging data is not matched with well logging with imaging-while-drilling in depth, and well logging with imaging-while-drilling is a reference standard for qualitatively judging a well logging face so that this kind of data is also deleted. In addition, unreasonable abnormal values also referred as outliers, also exist in the well logging data, which can interfere with data processing.
Step S320, a to-be-processed data combination in each to-be-processed data set is represented as X={x1, . . . , xi, . . . , xn}, 1≤i≤n, ∀xi∈X, xi=(xi1, . . . , xi10), wherein xi represents data points, and φ data points are randomly drawn from the well logging data X to constitute a subset X′ to be stored in a root node.
Step S330, a dimension q is randomly selected from the well logging data, and a cut point p is randomly generated in the dimension q, wherein the cut point p satisfies min(xij,j=q,xij∈X′)<p<max(xij,j=q,xij∈X′).
Step S340, hyperplanes for dividing data in the dimension q into two subspaces are generated according to the cut point p data in the dimension q is divided into hyperplanes of two subspaces according to the cut point p, and data points with values smaller than p are designated to be put into a first leaf node, and data points with values larger than or equal to p are designated to be put into a second leaf node.
Step S350, methods in steps S330-S340 recur until all leaf nodes have one data point or an isolated tree has already reached a preset height.
Step S360, the methods in the steps S320-S350 are repeated until T isolated trees are generated, wherein T isolated trees represent: the isolated trees do not have outside nodes of leaf nodes or have two leaf nodes {Tl, Tr} and one inside node test; the inside node test in the T isolated trees is composed of the dimension q and one cut point p, and points belong to Tl if q<p, or otherwise belongs to Tr.
Step S370, the T isolated trees are an isolated tree forest; each data point xi is enabled to traverse each isolated tree and a height h(xi) of each data point xi at each isolated tree, that is, the number of the edges passed by each data point xi from the root nodes to the leaf nodes of each isolated tree is calculated, and then an average height of each data point xi in the isolated tree, the forest is calculated, and the average heights of all the data points are normalized to obtain a normalized average height
Step S380, based on the normalized average height of data points
wherein
wherein H (i) represents a harmonic number and is estimated by ln(i)+0.5772156649, 0.5772156649 is an Euler's constant;
when the abnormal value score s(x,φ) is smaller than a preset abnormal value threshold s, a corresponding data point is eliminated to obtain effective well logging data Y={y1,β, yα, . . . , ym}, 1≤α≤m and yα∈Y, and m represents the number of the data points in the effective well logging data. In this embodiment, the abnormal value threshold preferably employs a value that the number of the reset data points after elimination is about 95% of the number of the data points before elimination.
Step S390, the methods in the steps S320-380 are repeated to select a to-be-processed data combination which is never selected for calculation of effective well logging data, and the effective well logging data with the accuracy rate reaching a first preset accuracy rate threshold and with the highest accuracy rate is selected to conduct a subsequent step, wherein the first preset accuracy rate threshold is set as 85%.
Step S400, based on the effective well logging data, non-linear dimensionality reduction is conducted to obtain dimensionality reduction well logging data.
In this embodiment, in the step S400, non-linear dimensionality reduction is conducted on the effective well logging data by using t-SNE method, specifically comprising:
Step S410, based on the effective well logging data Y={y1,β, yα, . . . , ym}, arbitrary points yα and yβ are selected, 1≤α,β≤m, yα,yβ∈Y, wherein yβ obeys Gaussian distribution Pα with yα as a center and σβ as a variance, yα obeys Gaussian distribution Pβ with yβ as a center and σα as a variance, and then the similar conditional probability Pβ|α between yα and yβ is as follows:
wherein a user may designate perplexity Perp according to aa, the perplexity is defined as: Perp(Pα)=2H(P
the joint probability Pαβ of pairwise similarity for similar conditional probability between the data points yα and yβ in all the data points is as follows:
wherein pα|β represents the similar conditional probability of between yβ and yα.
Step S420, it is assumed that a dimensionality reduction well logging data set Z={z1, . . . , zα, . . . , zm} is constructed based on the effective well logging data Y={y1, . . . , yα, . . . , ym}, wherein in the step S420, the effective well logging data is data in a high-dimensional space relatively to the dimensionality reduction well logging data set, the joint probability qαβ of corresponding simulation points zα and zβ of data points yα and yβ in the dimensionality reduction well logging data set is calculated:
wherein 1≤ε1,ε2≤m, zε1 and zε2 represent two different points in the dimensionality reduction well logging data set, zε1, zε2∈Z, and calculation of each joint probability qαβ traverses all two different points in the dimensionality reduction well logging data set.
Step S430, based on the joint probability Pαβ of pairwise similarity for the similar conditional probability between the data points yα and yβ in all the data points and the joint probability qαβ of the corresponding simulation points zα and zβ of the data points yα and yβ in the dimensionality reduction well logging data set, the similarity C between probability distribution Q of the dimensionality reduction well logging data set and probability distribution P of the high-dimensional space of the effective well logging data is measured through KL divergence:
wherein the smaller the value of the similarity C is, the higher the simulation correctness of the simulation points of the dimensionality reduction well logging data set is;
the KL divergence takes a minimum value through a gradient-descent algorithm:
a dimensionality reduction well logging data set Z={z1, . . . , zα, . . . , zm} is obtained;
previous two dimensions in the dimensionality reduction well logging data set are kept, and the rest dimensions are deleted to obtain dimensionality reduction well logging data {circumflex over (Z)}={{circumflex over (z)}1, . . . , {circumflex over (z)}α, . . . , {circumflex over (z)}m}. The dimensionality reduction well logging data sets in the previous two dimensions are selected, that is, the dimensionality reduction well logging data set in two dimensions that can interpret the most content are selected, for visual cross plot processing. Therefore, data features of man-machine interaction are extracted; the recognition precision is improved; the complexity of the data is weakened, and real-time recognition of the model is ensured.
The non-linear dimensionality reduction and the effect of using the non-linear dimensionality reduction to process the data of the present disclosure are shown in
Step S500, based on the dimensionality reduction well logging data, non-linear clustering is conducted through a density peak clustering method, and interactive quantitative evaluation is conducted in combination with cores and well logging with imaging-while-drilling to obtain a labeled well logging data cluster.
The step S500 specifically comprises:
Step S510, Euclidean distances dαβ between all data points in the dimensionality reduction well logging data is calculated:
Step S520, according to the demand on the clustering number, a cutoff distance dc is set, wherein e represents a dimension of the dimensionality reduction well logging data set.
In the case of considering the recognition efficiency and precision, the larger the number of the clusters is better; so that strata information reflected between clusters may be distinguished as much as possible, and the phenomenon that one cluster reflects the strata information at a plurality of horizons is avoided to the maximum. The smaller the cutoff distance dc is set, the more the categories are generated, and the more detailed the stratum features corresponding to the categories are. However, too many categories can result in low operational efficiency. Thus, after comprehensive analysis, a set value of dc is determined, so that the number of clustered categories is about 30.
Step S530, a density ρα of each node is calculated based on the cutoff distance:
Step S540, a relative distance δα between the nodes is calculated:
Step S550, with the density ρα as an abscissa and the relative distance δα as an ordinate, a two-dimensional diagram is drawn, a point in the clustering center is determined, and all the data points are grouped into the closest data points with a density larger than those of the above data points to obtain a well logging data cluster.
Step S560, based on the well logging data cluster, through a feature chart based on marker layers, interactive quantitative evaluation is conducted on the well logging data cluster by applying a core and well logging with imaging-while-drilling at a corresponding depth, and a labeled well logging data cluster is obtained. The effect through DPC clustering is shown in
Step S600, based on the well logging data cluster, a marker layer primary prediction result is obtained through a marker layer prediction model based on a deep belief network.
The marker layer prediction model based on the deep belief network is used for establishing a mapping relationship between the feature set and the corresponding geological phenomenon by iteratively adjusting interlayer parameters and then establishing a discrimination model of the corresponding geological phenomenon. Due to the complex structure and strong heterogeneity of the stratum, the geophysical data is also complex. Meanwhile, as geophysics has a multiplicity of solutions in nature, the mapping relationship between the geological phenomenon and the geophysical data is always non-linear; whereas the deep belief network can accurately establish such a complex non-linear mapping relationship and is an effective tool for creating a stratum recognition model decider.
In this embodiment, before obtaining the marker layer primary prediction result through the marker layer prediction model based on the deep belief network, step S600 further comprises the step of selecting feature combination, especially comprising:
Step A100, well logging data is processed and verified through the method as in the steps S100-S500 to obtain well logging data clusters.
The data set comprises data corresponding to the marker layers and further comprises data corresponding to non-marker layers. A great quantity of clusters clustered by t-SNE is subjected to interactive qualitative labeling through lithology and imaging logging, and the feature set is established. “Clusters” with labels in the feature set are further subdivisions for the stratum features. For example, a second cluster represents a horizon with thin grits in a marker layer 3; whereas a nineteenth cluster represents a horizon with thick grits in a marker layer 3. However, different thin layers in some strata are extremely similar, so one cluster represents data reflected by the thin layers in different strata. For example, a seventh cluster represents an argillaceous layer in marker layer 2 and an argillaceous layer in the non-marker layer. If in model training of the feature set, such clusters representing a plurality of stratum features are kept, chaotic recognition can be caused, and the recognition precision cannot be ensured. After this category of clusters is removed, although the features of a certain thin layer in a certain marker layer are lost, the whole data features of the marker layer are kept, and the kept data has a greater probability to belong to the marker layer. Thus, the recognition precision of the marker layer is greatly improved. As the labels of the clusters are qualitatively discriminated through the lithology and imaging logging, interference caused by human factors can often exist, so that the category of the clusters is not entirely correct; and wrong cluster labels may further cause weakening in recognition precision, so that the cluster combinations require to be further screened.
Step A200, clusters belonging to a marker layer 1 are numbered, and various clusters in the well logging data cluster are arbitrarily combined, wherein a combination number of the clusters belonging to the marker layer 1 is:
C1=Cg1+Cg2+ . . . +Cgg
combinations of clusters belonging to a marker layer 2 and a marker layer 3 are C2 and C3.
Step A300, all cluster combinations are input into the deep belief network as monitoring data, and the accuracy rate A and the accuracy rate P of recognition of the marker layers of the well logging data are calculated and verified:
wherein TP represents that for a sample, the true category is positive, and the prediction category is also positive; FN represents that for the sample, the true category is positive, and the prediction category is negative; FP represents that for the sample, the true category is negative, and the prediction category is positive; and TN represents that for the sample, the true category is negative, and the prediction category is also negative.
Step A400, judging whether the accuracy rates of three marker layers in the marker layer primary prediction result are all larger than a preset second accuracy rate threshold or not; if the accuracy rates are not larger than the preset second accuracy rate threshold, selecting another group of cluster combination which is never selected; and if the accuracy rates are larger than the preset second accuracy rate threshold, calculating the group of cluster combination and the accuracy rate.
Step A500, the methods in the steps A300-A400 are repeated to calculate all primary prediction results that the accuracy rates are larger than the preset second accuracy rate threshold, the primary prediction result with the highest accuracy rate is selected, and a corresponding cluster combination is taken as a selected well logging data cluster, and a deep belief network structure is taken as the marker layer prediction model based on the deep belief network. The comparison of prediction results for whether the cluster combinations are selected or not is shown in
In this embodiment, the marker layer prediction model based on the deep belief network is as follows:
As the hidden layer is fully connected with the visible layer, the visible layer may be activated by the hidden layer similarly; and the possibility that the visible layer is activated is:
At this time, a function domain is [0,1] and is used for describing the possibility that the neurons are activated; and the neurons at the same layer are not connected, thereby meeting the probability of surface density independence.
After well logging data clusters with labels are endowed with the visible layers, the possibility P (pu|q;θ) that the neurons in each hidden layer are activated is calculated, and [0,1] is taken as a threshold; when P(pu|q;θ)≥[0,1], pu=1; and when P(pu|q;θ)<[0,1], pu=0. Thus, whether the neurons in each hidden layer are activated or not may be obtained; and one RBM model is determined according to parameters ru, sv and ωuv.
The possibility that a ξth sample belongs to the category λζ is:
In the formula, V represents the parameter coefficient, C is the number of fault categories, κ is the category; and ru, sv and ωuv are adjusted through the stochastic gradient method and are repeatedly iterated to a preset iterative time, and the trained marker layer prediction model based on the deep belief network is obtained.
Step S700, depth correction and dipping angle and dipping direction correction are conducted on the stratigraphic framework model through the marker layer primary prediction result to obtain a corrected stratigraphic framework model, and a drilling trajectory is adjusted according to the corrected stratigraphic framework model.
In this embodiment, depth correction specifically comprises:
according to the marker layer primary prediction result, primary prediction positions of boundaries of the marker layers are determined, and images with imaging-while-drilling containing the upper boundaries and the lower boundaries of the marker layers are obtained.
Boundaries of the strata are target information in the images, and the lithology and the physical properties above and below the boundaries have differences. However, the boundaries are similar to faults, fractures, and the like in image features and are interfered by the geological phenomena of holes, caves, and the like. Therefore, an image at a lower layer requires to be segmented for recognition. A full convolutional neural network (FCN) may effectively segment the images and originally has three network structure models FCN-32s, FCN-16s and FCN-8s. On this basis, a network structure model FCN-2s which can extract features from a shallower layer is added, the improved FCN is obtained, and extraction of the boundaries of the strata is more facilitated. An image set is substituted into the improved FCN to obtain 4 image segmenting results. The 4 image segmenting results are compared and analyzed, what may be the boundaries of the strata are determined from the images obtained by FCN-2s; interference from the strata and the fractures are excluded from the images obtained by FCN-32s, FCN-16s, and FCN-8s; in combination with well data in an existing well, the geological features of the lithology, the physical properties and the like above and below the boundaries of the strata are determined; and in combination with the established feature chart of the reservoir and the marker layers, recognition of the upper and lower boundaries of the marker layers are completed.
Accurate depths of the upper boundaries and the lower boundaries of the marker layers are acquired from the images with imaging-while-drilling containing the upper boundaries and the lower boundaries of the marker layers through the full convolutional neural network, and then depth correction is conducted on the stratigraphic framework model. The principle of depth correction is shown in
In this embodiment, dipping angle and dipping direction correction specifically comprise:
based on a mapping relationship between the images with imaging-while-drilling and a dipping angle and a dipping direction of a stratum, the dipping angle and the dipping direction of the stratum are calculated according to curvature and a peak value of an interface between marker layers, wherein a dipping angle α of the stratum relative to a drilled well is equal to Tan−1 (lower peak depth-upper peak depth)/well diameter, and a dipping direction of the stratum relative to the drilled well is an orientation corresponding to a lower peak; and in combination with real-time dipping angle and dipping direction of drilling equipment, the dipping angle and the dipping direction of the stratigraphic framework model are correct. The principle of dipping angle correction is shown in
In this embodiment, the method further comprises:
Step S800, based on the images with imaging-while-drilling, a fracture image is extracted through a fracture image extraction model based on the optimized convolutional neural network, the dipping angle and the dipping direction from the fracture image are calculated according to the curvature, and the peak value of the interface between the marker layers, and the dipping angle and the dipping direction are added in the corrected stratigraphic framework model to obtain a perfect stratigraphic framework model.
Due to complex and diversified fractures, for example, large fractures, tiny fractures, high-angle fractures, low-angle fractures, and the like, an original convolutional neural network has one channel, is difficult to extract complex fracture information at different levels, and can be affected by dissolution pores and pseudo-fractures at the same time. The present disclosure designs a convolutional neural network with n channels of different structures to recognize the fractures of the strata. Multi-dimension features of different types of fractures are extracted through n channels on different scales. Meanwhile, due to realtime of while drilling, fractures require to be rapidly recognized; therefore, the decider of the convolutional neural network is changed by Naive Bayes from Softmax, and the prediction efficiency is improved,
wherein the fracture image extraction model based on the optimized convolutional neural network is an n-channel image recognition network, comprising 2n convolutional layers and 2n average pooling layers; various channels are a first convolutional layer, a first average pooling layer, a second convolutional layer and a second average pooling layer which are connected in sequence; scales of various convolutional layers are different; in the fth channel, the first convolutional layer is (4*f−1)*(4*f−1), and the second convolutional layer is (4*f+4)*(4*f+4); and the sizes of various pooling layers are the same, being 2*2. One fully connected layer and one Naive Bayes decider are collectively connected after all the channels. Model results are shown in
In this embodiment, the step S800 specifically comprises:
Step S810, based on the images with imaging-while-drilling, different scales of fracture features are extracted through the first convolutional layers, the first average pooling layers, the second convolutional layers, and the second average pooling layers of different channels of the fracture image extraction model based on the optimized convolutional neural network.
Step S820, different scales of fracture features are combined into a comprehensive fracture feature through the fully connected layer.
In this embodiment, the preferred fracture image extraction model is specified as follows: a layer C1 is obtained by convolving 8 3*3 convolution kernels with input images to obtain 8 feature diagrams with the size of 190*190, and then a pooling layer P1 conducts a pooling operation on the convolutional layer C1 in a unit of 2*2, and the layer P1 is composed of 8 95*95 feature diagrams. Then, 16 8*8 convolution kernels convolve with the P1 to obtain a convolutional layer C2 which is composed of 16 88*88 feature diagrams; and then the pooling operation is conducted on the C2 in a unit of 2*2 to obtain a pooling layer P2 which is composed of 16 44*44 feature diagrams.
A layer C3 is obtained by convolving 8 7*7 convolution kernels with input images to obtain 8 feature diagrams with the size of 186*186, and then a pooling layer P3 conducts the pooling operation on the convolutional layer C3 in a unit of 2*2, and the layer P3 is composed of 8 93*93 feature diagrams. Then, 16 12*12 convolution kernels convolve with the P3 to obtain a convolutional layer C4 which is composed of 16 82*82 feature diagrams; and then the pooling operation is conducted on the C4 in a unit of 2*2 to obtain a pooling layer P4 which is composed of 16 41*41 feature diagrams.
A layer C5 is obtained by convolving 8 11*11 convolution kernels with input images to obtain 8 feature diagrams with the size of 182*182, and then a pooling layer P5 conducts the pooling operation on the convolutional layer C5 in a unit of 2*2, and the layer P5 is composed of 8 91*91 feature diagrams. Then, 16 16*16 convolution kernels convolve with the P5 to obtain a convolutional layer C5 which is composed of 16 76*76 feature diagrams; and then the pooling operation is conducted on the C6 in a unit of 2*2 to obtain a pooling layer P6 which is composed of 16 38*38 feature diagrams.
Step S830, a fracture image is rapidly extracted from the comprehensive fracture feature through the Naive Bayes decider; and the Softmax is replaced by the Naive Bayes decider as the decider. A Softmax classifier is a main classifier for the convolutional neural network, whereas it is correct only when the probability of the Soft classifier classifying checked objectives is larger than 90%; the operation time is long as the calculation can be continuously conducted with a loss function, whereas attributes are independent of each other in condition when Naive Bayes gives a target value so that calculating parameters are reduced, and internal consumption and the time are saved; the algorithm is simple and rapid and more facilitates real-time fracture recognition while drilling.
The fracture feature images extracted through convolution kernels in different scales are shown in
Step S840, the dipping angle and the dipping direction of the stratum are calculated according to curvature and a peak value of a fracture, wherein a dipping angle β of the fracture relative to the drilled well is equal to Tan−1 (lower peak depth-upper peak depth)/well diameter, and a dipping direction of the fracture relative to the drilled well is an orientation corresponding to a lower peak; and in combination with real-time dipping angle and dipping direction of drilling equipment, the dipping angle and the dipping direction of the fracture are corrected to obtain a corrected fracture image.
Step S850, the corrected fracture image is added to the corrected stratigraphic framework model to obtain the perfect stratigraphic framework model. The perfect stratigraphic framework model is shown in
Another aspect of the present disclosure, provided is an intelligent real-time updating system for a stratigraphic framework with geosteering-while-drilling, comprising while-drilling information acquiring module, a stratigraphic framework model construction module, a data preprocessing module, a non-linear dimensionality reduction module, a well logging data clustering module, a primary prediction module, and an auxiliary correction module.
Those skilled in the art can clearly understand that to realize convenience and conciseness of description, specific working processes, and relevant description of a storage device and a processing device in the above description can refer to corresponding processes in the above method embodiments, which are not repeated here.
The terms such as ‘first’, ‘second’, and the like are used for distinguishing similar objects, rather than describing or representing a specific sequence or a precedence order.
The term ‘comprise’ or any other similar term is intended to cover non-exclusive comprising, so that a process, a method, an object, or equipment/a device comprising a series of elements not only comprises those elements, but also comprises other elements that are not listed clearly, or comprise inherent elements of the process, the method, the object or the equipment/the device.
So far, the technical solution of the present disclosure is described in combination with the preferable implementation manners shown in the drawings; however, those skilled in the art easily understand that the protection scope of the present disclosure is not limited to these specific implementation manners. Those skilled in the art can make equivalent changes or replacements to the related technical features on the premise of not deviating from the principle of the present disclosure, and the technical solutions after these changes or replacements fall into the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2022103856865 | Apr 2022 | CN | national |