Method and system for automatically dividing favorable stratum section based on anomaly detection

By combining anomaly detection and isolated forest models with fluorescence display data, the problem of relying on experience and insufficient data utilization for the classification of favorable strata in the existing technology has been solved, achieving a more reliable and efficient automatic division of favorable strata, and enhancing the capture of favorable strata. and efficiency.

CN118780936APending Publication Date: 2024-10-15CHINA NAT PETROLEUM CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410809679.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing favorable stratigraphic classification methods rely on strong experience and have low efficiency. The automated method does not fully utilize gas measurement data, resulting in one-sided classification results. It also requires fine formation physical property analysis data, which is relatively lagging in acquisition, and is not conducive to automatic stratigraphic classification while drilling. .

Method used

Using a method based on anomaly detection, by obtaining gas measurement data and fluorescence display data, the isolated forest anomaly detection model is used to determine candidate favorable formation sections, combined with the full hydrocarbon content detection background value section, to screen and merge favorable formation sections, and adjust the background value section. Comprehensive use of gas measurement and fluorescence display data to improve the reliability and comprehensiveness of classification.

Benefits of technology

It achieves more reliable and comprehensive formation division, reduces subjectivity, improves efficiency, enhances the capture of favorable formations, supports automatic screening and configuration of business experience, and reduces the number of interpreted formations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780936A_ABST
    Figure CN118780936A_ABST
Patent Text Reader

Abstract

The invention discloses a favorable stratum section automatic division method and system based on anomaly detection, and the method comprises the steps: obtaining gas logging data and fluorescence display data; wherein the gas logging data comprises C1, C2, C3 and total hydrocarbon content; determining candidate favorable stratum sections according to the gas logging data; detecting a background value segment according to the total hydrocarbon content; screening the candidate favorable stratum sections to obtain favorable stratum sections; determining a fluorescence display stratum section according to the fluorescence display data; combining the favorable stratum section and the fluorescence display stratum section to obtain a reasonable favorable stratum section; and adjusting a background value section of the reasonable favorable stratum section. According to the invention, gas logging abnormity and fluorescence display are integrated when a favorable stratum section is searched; compared with a mode of directly intercepting a favorable stratum section from a single gas logging curve, the method has the advantages that the reference data is more diversified, so that the section pinching result is more reliable, and related personnel can conveniently explain the section pinching result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of oil and gas exploration, and in particular relates to a method and system for automatically dividing favorable stratum sections based on anomaly detection. Background Art

[0002] In the process of oil exploration and development, oil and gas interpretation is a key technology, and the automatic division of favorable strata is particularly important in this process. Favorable stratum sections refer to reservoirs that are valuable for subsequent oil exploration and development, and are sometimes also called favorable stratum sections or interpretation stratum sections. In the process of oil and gas exploration and development, gas logging data and rock cuttings data are relatively the most timely, direct and easily accessible information. Using these data for automatic stratum division can help business personnel interpret and judge relevant strata more quickly, which helps to optimize the formulation of exploration and development strategies. At present, there are two main methods for the division of favorable strata: (1) manual division based on the experience of business personnel, that is, judging the stratum boundary by analyzing the fluctuation shape of the gas logging curve and the lithology of the rock cuttings; (2) methods based on automation technology, including automatic division for a single gas logging curve, division after weighted summation of multiple curves to obtain a comprehensive curve, and division of strata according to subsequent logging data and geochemical data. Their purpose is to simulate the process of manual division through algorithms to achieve a more objective and consistent stratum interpretation.

[0003] However, the current stratigraphic division methods still have some shortcomings: (1) Traditional manual division methods are highly dependent on the experience of business personnel, resulting in strong subjectivity and low efficiency, and the division results may vary between different personnel; (2) Although the existing automated methods take gas logging data into consideration, there is still room for improvement in the full utilization of data, resulting in relatively one-sided division results and insufficient capture of favorable strata; (3) Some stratigraphic division methods require more sophisticated stratigraphic physical property analysis data, and data acquisition is relatively lagging, which is not conducive to the establishment of automatic stratigraphic division methods while drilling. Summary of the invention

[0004] In view of the above problems, the present invention discloses a method for automatically dividing favorable formation segments based on anomaly detection, comprising:

[0005] Obtain gas testing data and fluorescence display data; wherein the gas testing data includes C1, C2, C3 and total hydrocarbon content;

[0006] Determine a candidate favorable formation section according to the gas logging data;

[0007] detecting a background value segment according to the total hydrocarbon content;

[0008] Screening the candidate favorable stratum sections to obtain favorable stratum sections;

[0009] Determining a fluorescence display formation segment according to the fluorescence display data;

[0010] The favorable stratigraphic section and the fluorescence-displayed stratigraphic section are combined to obtain a reasonable favorable stratigraphic section;

[0011] Adjust the background value segment of the reasonable favorable formation segment.

[0012] Furthermore, the determining of the candidate favorable formation interval according to the gas logging data comprises the following steps:

[0013] The gas logging data is divided into formation depth samples with multiple gas logging attribute values ​​according to the set depth accuracy;

[0014] All stratum depth samples are input into the isolation forest anomaly detection model, and each stratum depth sample is judged to determine whether each stratum depth sample is an abnormal stratum;

[0015] Abnormal strata with continuous depths are merged to obtain multiple candidate favorable strata sections.

[0016] Furthermore, the detecting the background value segment according to the total hydrocarbon content comprises the following steps:

[0017] Smoothing the total hydrocarbon content curve in the gas testing data;

[0018] Calculate the first-order difference of the smoothed total hydrocarbon content curve;

[0019] Filter out the segments whose absolute value of the difference value is less than the first preset value;

[0020] Calculating the average value of the total hydrocarbon content of the segment, and if the average value of the total hydrocarbon content is less than a second preset value, taking the segment as a candidate background value segment;

[0021] The background value segments of the candidate favorable formation segments are screened out from the candidate background value segments.

[0022] Furthermore, the specific steps of selecting the background value segments of the candidate favorable stratum segments from the candidate background value segments are as follows:

[0023] For any candidate favorable stratum segment, a segment whose bottom boundary depth is less than the top boundary depth of the current candidate favorable stratum segment and is closest to the candidate background value segment is selected as the background value segment.

[0024] Furthermore, the screening of the candidate favorable stratum sections to obtain favorable stratum sections includes the following steps:

[0025] Determine whether the thickness of any candidate favorable stratum segment is greater than or equal to a first threshold; if not, remove it; if yes, match the candidate favorable stratum segment with the background value segment;

[0026] Then, it is determined whether the peak-to-base ratio of the candidate favorable stratum segment is greater than or equal to the second threshold; if not, it is eliminated; if yes, it is retained and used as a favorable stratum segment.

[0027] Furthermore, the peak-to-base ratio is determined by the following formula:

[0028]

[0029] Wherein, P is the maximum value of the total hydrocarbon content of the candidate favorable formation segment; j is the average value of the total hydrocarbon content of the background value segment matching the candidate favorable formation segment.

[0030] Furthermore, the adjusting the background value segment of the reasonable favorable formation segment comprises the following steps:

[0031] When the favorable formation segment and the fluorescence display formation segment have an intersection, determine whether the top boundary depth of the favorable formation segment is greater than the top boundary depth of the fluorescence display formation segment; if yes, the background value segment of the reasonable favorable formation segment after merging is the background value segment of the favorable formation segment; if no, the background value segment of the reasonable favorable formation segment after merging is the first k meters of the top boundary depth of the fluorescence display formation segment as the background value segment;

[0032] When the favorable stratigraphic segment and the fluorescence display stratigraphic segment have no intersection, the background value segment of the favorable stratigraphic segment remains unchanged, and the background value segment of the fluorescence display stratigraphic segment is the first k meters of the top boundary depth of the fluorescence display stratigraphic segment as the background value segment.

[0033] The present invention also discloses a system for automatically dividing favorable formation sections based on anomaly detection, comprising:

[0034] An acquisition unit, used to acquire gas measurement data and fluorescence display data; wherein the gas measurement data includes C1, C2, C3 and total hydrocarbon content;

[0035] A determination unit, configured to determine a candidate favorable formation segment according to the gas logging data;

[0036] A background value segment unit, used for detecting a background value segment according to the total hydrocarbon content;

[0037] A favorable formation section unit, used for screening the candidate favorable formation sections to obtain favorable formation sections;

[0038] A fluorescence display formation segment unit, used for determining the fluorescence display formation segment according to the fluorescence display data;

[0039] A merging unit, used for merging the favorable stratigraphic section and the fluorescent display stratigraphic section to obtain a reasonable favorable stratigraphic section;

[0040] An adjustment unit is used to adjust the background value segment of the reasonable and favorable formation segment.

[0041] Furthermore, the determining unit is specifically configured to:

[0042] The gas logging data is divided into formation depth samples with multiple gas logging attribute values ​​according to the set depth accuracy;

[0043] All stratum depth samples are input into the isolation forest anomaly detection model, and each stratum depth sample is judged to determine whether each stratum depth sample is an abnormal stratum;

[0044] Abnormal strata with continuous depths are merged to obtain multiple candidate favorable strata sections.

[0045] Furthermore, the background value segment unit is specifically used for:

[0046] Smoothing the total hydrocarbon content curve in the gas testing data;

[0047] Calculate the first-order difference of the smoothed total hydrocarbon content curve;

[0048] Filter out the segments whose absolute value of the difference value is less than the first preset value;

[0049] Calculating the average value of the total hydrocarbon content of the segment, and if the average value of the total hydrocarbon content is less than a second preset value, taking the segment as a candidate background value segment;

[0050] The background value segments of the candidate favorable formation segments are screened out from the candidate background value segments.

[0051] Compared with the prior art, the embodiments of the present invention have at least the following advantages:

[0052] 1) The present invention innovatively discovers abnormal sections in gas logging curves from the perspective of anomaly detection; based on the method of detecting abnormal points by isolation forest, an anomaly detection model is established using gas logging data C1, C2, C3 and total hydrocarbon content, and the gas logging abnormal sections are comprehensively measured from multiple dimensions. The favorable formation sections obtained by this method are more reliable than other methods that only look at a single gas logging curve or weight the results of multiple single curves;

[0053] 2) The present invention provides a detection method for the background value segment corresponding to the favorable formation segment; in the process of finding the background value segment, the gas logging data is first smoothed, and the first-order difference method is used to find the area with stable gas logging fluctuations and small gas logging values. Compared with the method based on direct difference, the present method can ignore the small gas logging fluctuations in the background value segment, and the detection result is not affected by noise;

[0054] 3) The present invention combines gas logging anomalies and fluorescence display when searching for favorable formation sections; compared with the method of directly intercepting favorable formation sections from a single gas logging curve, the present method refers to more diverse data, so the segmentation results are more reliable, which is conducive to the interpretation of the segmentation results by relevant personnel;

[0055] 4) The present invention supports users to automatically screen favorable stratigraphic sections based on specific business experience, and the screening conditions are highly configurable. While retaining favorable stratigraphic sections with high confidence, the number of stratigraphic sections that need to be interpreted is also reduced to a certain extent.

[0056] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0058] Figure 1 A flow chart of a method for automatically dividing advantageous stratigraphic segments based on anomaly detection according to an embodiment of the present invention is shown;

[0059] Figure 2 A schematic diagram of a C1 gas measurement curve according to an embodiment of the present invention is shown;

[0060] Figure 3 A schematic diagram of anomaly detection according to an embodiment of the present invention is shown;

[0061] Figure 4 A schematic diagram of a background value segment according to an embodiment of the present invention is shown;

[0062] Figure 5 A schematic diagram showing matching of candidate favorable stratum segments and candidate background value segments according to an embodiment of the present invention is shown;

[0063] Figure 6 A flowchart for screening a favorable formation section according to an embodiment of the present invention is shown;

[0064] Figure 7 A flowchart of adjusting a background value segment according to an embodiment of the present invention is shown;

[0065] Figure 8 A schematic diagram of candidate favorable formation sections according to an embodiment of the present invention is shown;

[0066] Fig. 9 A schematic diagram showing the comparison of the total hydrocarbon content curve before and after smoothing according to an embodiment of the present invention is shown;

[0067] Fig.10 A schematic diagram of some candidate background value segments according to an embodiment of the present invention is shown;

[0068] Fig.11 A schematic diagram of advantageous stratigraphic interval comparison according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] like Figure 1 As shown, the present invention proposes a method for automatically dividing favorable formation segments based on anomaly detection, comprising the following steps:

[0071] Step 1: Data acquisition, including C1 (methane), C2 (ethane), C3 (propane) and total hydrocarbon content in gas logging data, and fluorescent display data of rock cuttings data;

[0072] The data used in the present invention include gas logging data and rock cuttings data.

[0073] (1) Gas measurement data

[0074] The gas logging attributes used in gas logging data are C1, C2, C3 and total hydrocarbon content. In gas logging, C1, C2, and C3 appear earlier and have relatively higher contents. The total hydrocarbon content represents the sum of the contents of all hydrocarbons, and the curve changes more obviously than other gas logging attributes. Therefore, these data are selected to facilitate finding favorable formation sections from fluctuations.

[0075] (2) Rock chip data

[0076] The rock cuttings data include the fluorescence display data of the rock cuttings at equal intervals of depth. Through the color, intensity and distribution of the rock cuttings fluorescence, some information about the content and type of organic matter in the rock cuttings can be obtained, which is an important traditional business rule and business experience in the favorable stratigraphic division.

[0077] Step 2: Determine the candidate favorable formation section according to the gas logging data C1, C2, C3 and total hydrocarbon content in step 1;

[0078] According to the gas test data in step 1, each gas test curve has different fluctuations at different formation depths. If the gas test curve is in a certain formation segment (i.e., formation depth interval segment), its gas test value has regular continuous fluctuations in a large range (such as Figure 2 If the stratigraphic interval is positive, it indicates that the stratigraphic interval is favorable and worthy of further interpretation and analysis.

[0079] When considering abnormal fluctuations in gas logging curves, it is often necessary to analyze the abnormal fluctuations on multiple curves comprehensively. Therefore, the present invention regards different gas logging curves as gas logging attribute characteristics of different dimensions of the target well at each formation depth, and constructs a gas logging anomaly detection model based on the isolation forest algorithm. Anomalies are discovered from gas logging attributes in multiple dimensions, and a judgment is given as to whether each formation depth in the formation section is abnormal.

[0080] like Figure 3 As shown in Figure 1, the main idea of ​​the Isolation Forest algorithm is to construct a random forest by isolating trees to detect outliers. In the Isolation Forest, outliers are usually considered to be data points that are on shorter paths in the tree. Because outliers are relatively rare, they are more easily separated into shorter paths in the decision tree, while normal values ​​require longer paths. Therefore, by calculating the average path length of a data point in all trees, it is possible to determine whether a data point is an outlier.

[0081] The constructed anomaly detection model has the following input, output, and sample anomaly judgment: Figure 3 As shown. The input of the model is gas measurement data of multiple attributes, and the output is the value of whether each stratum depth is abnormal. In the isolation forest anomaly detection model, the model parameters that need to be set in the present invention include: the number of random trees n_estimators, the maximum number of features max_features, the abnormal sample ratio contamination, and the sub-sampling size max_samples.

[0082] Specifically, the present invention divides the original formation data (gas logging data) into multiple formation depth samples according to the accuracy of each meter, and each formation depth sample includes multiple gas logging attribute values ​​(C1, C2, C3 and total hydrocarbon content value). All formation depth samples containing multiple features are simultaneously input into the isolated forest anomaly detection model, and then the model will give a judgment on whether the formation depth sample is abnormal for the input value (gas logging attribute value) of each formation depth sample (output value -1 indicates that the sample is abnormal, and 1 indicates that the sample is normal). Finally, the formation segments that are continuously judged to be abnormal are merged to obtain multiple abnormal formation interval segments (candidate favorable formation segments).

[0083] Step 3: Detect candidate background value segments according to the total hydrocarbon content of the gas testing data;

[0084] The background value segment indicates a segment where the curve value is relatively low and the change is relatively stable. According to the target layer segment and its corresponding background value, the relative change of the gas measurement value of the target layer segment can be measured. Therefore, the automatic detection of the background value segment has certain practical significance.

[0085] The present invention automatically detects the relatively stable section of the curve according to the total hydrocarbon content of the gas test, thereby obtaining a candidate background value section. The position of the background value section in the curve is as follows: Figure 4 shown.

[0086] The specific steps of background value segment detection are as follows:

[0087] (1) The total hydrocarbon content curve (denoted as S) in the gas logging data is smoothed (the smoothing result is denoted as smoothed_S). The smoothing method includes but is not limited to: Kalman filter, Butterworth filter, etc. Preferably, the present invention selects Kalman filter, which is less affected by parameters and has a relatively stable smoothing effect.

[0088] (2) For the filtered curve, the first-order difference is calculated using the following formula:

[0089] smoothed_S′ n =smoothed_S n+1 -smoothed_S n

[0090] Among them, smoothed_S′ n Indicates the difference value of the smoothed curve at the nth formation depth point, smoothed_S n Indicates the value of the smoothed curve at the nth formation depth point, smoothed_S n+1 Represents the value of the smoothed curve at the n+1th formation depth point.

[0091] First, select the sections where the absolute value of the difference is less than the first preset value (the gas measurement values ​​in these sections are relatively stable), and then calculate the average total hydrocarbon content of the section. If the average total hydrocarbon content is less than the second preset value (the gas measurement content is low), it is regarded as a candidate background value section.

[0092] Preferably, the present invention comprehensively considers gas logging data of multiple wells in multiple different regions, and the first preset value and the second preset value are the average values ​​of the total hydrocarbon content of the layer (the average values ​​of different layers are different). When the present invention is actually implemented, the user can configure the parameters according to the relevant data.

[0093] The candidate favorable stratum segments that have been initially eliminated are matched with the background value segments. The matching rule is as follows: for any "candidate favorable stratum segment", among all the candidate background value segments, those segments whose bottom boundary depth is less than the top boundary depth of the current "candidate favorable stratum segment" and are closest to the "candidate favorable stratum segment" are selected as the background value segments of the "candidate favorable stratum segment" (e.g. Figure 5). The bottom boundary depths of “candidate background value segment 1” and “candidate background value segment 2” are less than the top boundary depth of “candidate favorable formation segment”, and “candidate background value segment 2” and “candidate favorable formation segment” are closer, so “candidate background value segment 2” is used as the background value segment of “candidate favorable formation segment”.

[0094] The present invention provides a detection method for a background value segment corresponding to a favorable formation segment; in the process of finding the background value segment, the gas logging data is first smoothed, and the first-order difference method is used to find the area with stable gas logging fluctuations and smaller gas logging values. Compared with the method based on direct difference, the present method can ignore smaller gas logging fluctuations in the background value segment, and the detection result is not affected by noise.

[0095] Step 4: According to the results of step 2 and step 3, the candidate favorable stratum sections are screened by conditions to obtain favorable stratum sections;

[0096] In step 2, favorable formation sections are discovered only based on abnormal fluctuations in the numerical values ​​of gas logging data, without considering other characteristics of favorable formation sections in the actual oil exploration process. Therefore, in actual applications, it is necessary to screen and filter the formation section recommendation results given in step 2 according to business experience.

[0097] Screening condition 1: Eliminate candidate favorable formation segments with too small thickness. Considering that oil and gas resources require a certain formation thickness for storage in actual formations, the formation segments whose formation thickness given in step 2 is less than the preset minimum formation thickness (first threshold) are eliminated. Oil exploration business personnel can set the corresponding minimum thickness (first threshold) of favorable formation segments based on specific business scenarios and geological characteristics. Preferably, the present invention sets the minimum thickness of favorable formations to 2 meters, and all detection results with a thickness of less than 2 meters in step 2 are eliminated.

[0098] Screening condition 2: Eliminate formation sections with too small peak-to-base ratio. According to business experience, in practice, favorable formation sections with oil and gas exploration value not only have obvious fluctuations on the gas logging curve, but also the fluctuation amplitude often reaches a certain magnitude, that is, the maximum value of the gas logging total hydrocarbon content of the candidate favorable formation section must reach a certain multiple of the background value of the formation section to be meaningful for analysis.

[0099] For each candidate favorable formation segment given in step 2, the present invention calculates the ratio of the maximum gas-tested total hydrocarbon content of the segment to the "background value" (i.e., the average gas-tested total hydrocarbon content of the background value segment) of the candidate favorable formation segment. If the ratio is less than the second threshold, the favorable formation segment is eliminated, otherwise it is retained. The user can flexibly set the preset threshold of the ratio in combination with different business scenarios and screening requirements. Preferably, the present invention sets the second threshold to 3, that is, the maximum gas-tested total hydrocarbon content of the segment in the favorable formation segment must be greater than 3 times the gas-tested background value of the segment.

[0100] The peak-to-base ratio is determined by the following formula:

[0101]

[0102] Wherein, P is the maximum value of the total hydrocarbon content of the candidate favorable formation segment; j is the average value of the total hydrocarbon content of the background value segment matching the candidate favorable formation segment.

[0103] The present invention innovatively discovers abnormal sections in gas logging curves from the perspective of anomaly detection; based on the method of detecting abnormal points using isolated forests, an anomaly detection model is established using gas logging data C1, C2, C3 and total hydrocarbon content, and the gas logging abnormal sections are comprehensively measured from multiple dimensions. The favorable formation sections obtained in this way are more reliable than other methods that only look at a single gas logging curve or weight the results of multiple single curves.

[0104] The present invention combines gas logging anomalies and fluorescence displays when searching for favorable formation sections. Compared with the method of directly intercepting favorable formation sections from a single gas logging curve, the present method refers to more diverse data, so the segmentation results are more reliable, which is conducive to the interpretation of the segmentation results by relevant personnel.

[0105] The flow chart of candidate favorable formation segment screening in step 4 is as follows: Figure 6 As shown, specifically:

[0106] Determine whether the thickness of any candidate favorable stratum segment is greater than or equal to a first threshold; if not, remove it; if yes, match the candidate favorable stratum segment with the background value segment;

[0107] Then, it is determined whether the peak-to-base ratio of the candidate favorable stratum segment is greater than or equal to a second threshold; if not, it is eliminated; if yes, it is retained and used as a favorable stratum segment.

[0108] It should be pointed out that in different oil exploration application scenarios, business personnel have different understandings of favorable formations and screening rules. The present invention only screens two aspects, but the screening conditions for formations are not limited to these two situations. In actual operation, the screening conditions that better meet the user's requirements can be customized based on business experience and the gas measurement data of the target well.

[0109] The present invention supports users to automatically screen favorable stratum segments according to specific business experience, and the screening conditions are highly configurable. While retaining favorable stratum segments with high confidence, the number of strata that need to be interpreted is reduced to a certain extent.

[0110] Step 5: Determine the fluorescence display stratigraphic section according to the fluorescence display data;

[0111] Organic matter in rock cuttings will emit fluorescence when exposed to ultraviolet light. By observing the color, intensity and distribution of fluorescence, we can obtain some information about the content and type of organic matter in the rock cuttings. Therefore, whether fluorescence appears at a certain depth is an important basis for business personnel to screen favorable formation sections.

[0112] Table 1 Fluorescence display of equally spaced formation depths

[0113]

[0114] The rock cuttings fluorescence display data of the target well are recorded at equal intervals according to the formation depth. The present invention regards the formation where fluorescence appears as a favorable formation. As long as fluorescence appears at a certain formation depth, the formation is regarded as a favorable formation, and the formations where fluorescence appears continuously are merged into a favorable formation with a larger thickness. Specifically, as shown in Table 1, the formation depth of 1470 meters to 1482 meters is the fluorescence display formation section.

[0115] Step 6: Merge the favorable stratigraphic section and the fluorescence-displayed stratigraphic section to obtain a reasonable favorable stratigraphic section;

[0116] In step 4 and step 5, the favorable formation segment based on gas logging is obtained by the abnormal detection method in step 4, and the fluorescence display formation segment based on fluorescence division is obtained by the fluorescence display data of the formation cuttings in step 5. The above two methods are relatively independent and each judges the favorable formation segment from different logging data. Only looking at one logging data to divide the favorable formation segment may lead to missing potential oil and gas layers.

[0117] Therefore, the present invention combines two different formation division results to make the recommendation result of favorable formation more comprehensive. Specifically, the formation segments outputted in step 4 and step 5 are regarded as a numerical interval, and all formation segments are taken as a union to obtain a reasonable favorable formation segment.

[0118] Step 7: According to the output results of steps 3 and 6, adjust the background value segment of the merged reasonable favorable formation segment.

[0119] After the favorable strata obtained by two different methods are merged in step 6, the background value of the reasonable favorable strata segment needs to be calculated based on the merged reasonable favorable strata segment.

[0120] The fluorescence display stratigraphic section is set as L1 = (J1, J2), J1 and J2 are the top boundary depth and bottom boundary depth of the stratigraphic section respectively (J2>J1). The favorable stratigraphic section for gas logging anomaly is set as L2 = (F1, F2), F1 and F2 are the top boundary depth and bottom boundary depth of the stratigraphic section respectively (F2>F1).

[0121] Specifically, different processing is required according to different situations in the merger process. See the processing flow for details. Figure 7 :

[0122] (1) When the gas logging abnormal favorable formation section L2 and the fluorescence display formation section L1 intersect:

[0123] If F1>J1, the background value segment of the merged reasonable favorable formation segment is the background value segment of the favorable formation segment L2, ensuring that the bottom boundary depth of the background value segment is less than the top boundary depth of the favorable formation segment; otherwise, the background value segment of the merged reasonable favorable formation segment is set as the first k meters of the top boundary depth J1 of the fluorescence display formation segment L1 as the background value segment, avoiding the gas measurement background value of the (J1, F1) formation segment from being falsely high due to the influence of fluorescence, making the background value more reasonable, that is, (J1-k, J1). Preferably, the present invention takes k=5.

[0124] (2) If the abnormal favorable formation segment L2 of gas logging has no intersection with the formation segment L1 of fluorescence display, there are two situations: F2>J1 and F1<J2. When F2>J1, the reasonable favorable formation segment background value, i.e., the background value segment of the favorable formation segment L2, remains unchanged; when F1<J2, the reasonable favorable formation segment background value, i.e., the background value segment of L1, takes the first k meters of J1 as the background value segment, i.e., (J1-k, J1), same as (1), taking k=5.

[0125] After the background value segment adjustment is completed, the final determined reasonable favorable formation segment and the corresponding background value segment are output.

[0126] Based on the above-mentioned method for automatically dividing favorable formation segments based on anomaly detection, this embodiment proposes a system for automatically dividing favorable formation segments based on anomaly detection, including:

[0127] An acquisition unit, used to acquire gas measurement data and fluorescence display data; wherein the gas measurement data includes C1, C2, C3 and total hydrocarbon content;

[0128] A determination unit, configured to determine a candidate favorable formation segment according to the gas logging data;

[0129] A background value segment unit, used for detecting a background value segment according to the total hydrocarbon content;

[0130] A favorable formation section unit, used for screening the candidate favorable formation sections to obtain favorable formation sections;

[0131] A fluorescence display formation segment unit, used for determining the fluorescence display formation segment according to the fluorescence display data;

[0132] A merging unit, used for merging the favorable stratigraphic section and the fluorescent display stratigraphic section to obtain a reasonable favorable stratigraphic section;

[0133] An adjustment unit is used to adjust the background value segment of the reasonable and favorable formation segment.

[0134] Furthermore, the determining unit is specifically configured to:

[0135] The gas logging data is divided into formation depth samples with multiple gas logging attribute values ​​according to the set depth accuracy;

[0136] All stratum depth samples are input into the isolation forest anomaly detection model, and each stratum depth sample is judged to determine whether each stratum depth sample is an abnormal stratum;

[0137] Abnormal strata with continuous depths are merged to obtain multiple candidate favorable strata sections.

[0138] Furthermore, the background value segment unit is specifically used for:

[0139] Smoothing the total hydrocarbon content curve in the gas testing data;

[0140] Calculate the first-order difference of the smoothed total hydrocarbon content curve;

[0141] Filter out the segments whose absolute value of the difference value is less than the first preset value;

[0142] Calculating the average value of the total hydrocarbon content of the segment, and if the average value of the total hydrocarbon content is less than a second preset value, taking the segment as a candidate background value segment;

[0143] The background value segments of the candidate favorable formation segments are screened out from the candidate background value segments.

[0144] The following uses the gas logging data and rock cuttings data of a well in a certain area as an example to illustrate the detailed steps of the method of the present invention to achieve automatic division of favorable formation sections. The detailed steps are as follows:

[0145] Step S1: data acquisition, including C1, C2, C3 and total hydrocarbon content in gas logging data, and fluorescence display data of rock cuttings;

[0146] (1) Gas testing data, including C1, C2, C3 and total hydrocarbon content. Specific sample data are shown in Table 2 below.

[0147] Table 2 Gas measurement data

[0148]

[0149] Among them, the column name JS represents the well depth, ZS represents the drilling time, QL represents the total hydrocarbon content, NC4 represents normal butane, IC4 represents isobutane, NC5 represents normal pentane, and IC5 represents isopentane. The data columns selected by the present invention are C1, C2, C3 and QL.

[0150] (2) Rock cuttings data: Some sample data of rock cuttings data are shown in Table 3.

[0151] Table 3 Some sample data of rock cuttings data

[0152] DJSD1(m) DJSD2(m) YS HYB YSMC 3302 3304 grey Mudstone 3304 3306 grey Mudstone 3306 3308 grey Mudstone 3308 3310 grey Fluorescence Siltstone 3310 3312 grey Fluorescence Siltstone 3312 3314 grey Fluorescence Siltstone 3314 3316 grey Fluorescence Siltstone 3316 3318 grey Mudstone 3318 3320 grey Mudstone

[0153] The column names DJSD1 and DJSD2 represent the top depth and bottom depth of the stratum, respectively, the column name HYJB indicates whether the rock fragments at this depth are fluorescently displayed, YS indicates the color of the rock fragments, and YSMC indicates the name of the rock. The data column selected by the present invention is HYJB.

[0154] Step S2: determining a candidate favorable formation section according to the gas logging data C1, C2, C3 and total hydrocarbon content in step S1;

[0155] The data input, model output and stratum merging of stratum division based on gas logging anomaly detection are shown in Table 4. The detailed steps are as follows:

[0156] (1) Select training data

[0157] For the gas measurement data, select the data of the C1, C2, C3 and QL columns mentioned in step S1, count them as X, and the dimension of X is (n, 4), where n is the number of samples.

[0158] (2) Establishing anomaly detection model

[0159] Based on the selected gas measurement data X, the isolation forest anomaly detection model is input for fitting. Exemplarily, the parameters of the isolation forest anomaly detection model are:

[0160] The number of random trees n_estimators = 100, the maximum number of features max_features = 1, the proportion of abnormal samples contamination = 0.1, and the subsampling size max_samples = 256. After fitting, the fitted model is used to predict the data X to obtain the numerical result of whether each sample is abnormal. -1 indicates that the sample is abnormal, and 1 indicates that the sample is normal.

[0161] (3) Merging of continuous abnormal strata depths

[0162] For the formation depths that appear continuously as -1, it is regarded as a continuous abnormal formation, and the interval segment value of the formation is output. The detection result of the favorable formation segment of a certain layer data is as follows: Figure 8 As shown, the box contains candidate favorable stratum sections.

[0163] Table 4 Schematic diagram of input and output of anomaly detection model (partial sample data)

[0164]

[0165] Step S3: detecting candidate background value segments according to the total hydrocarbon content of gas measurement;

[0166] (1) Perform Kalman filtering to smooth the total hydrocarbon content in the gas measurement and remove some noise. Fig. 9 (a) is a schematic diagram of the total hydrocarbon content curve before smoothing; Fig. 9 (b) is a schematic diagram of the total hydrocarbon content curve after smoothing. The results of the data before and after smoothing of a layer are as follows: Fig. 9 (a) Fig. 9 As shown in (b), it can be seen that the Kalman filter can well preserve the characteristics of the original curve, while at the same time making fine adjustments in some extremely small details, removing local subtle noise and ensuring that the original data is not distorted.

[0167] (2) Calculate the average value of the total hydrocarbon content of the layer as the screening threshold t, where t = 0.28 is calculated. Calculate the difference of the smoothed curve, and filter the segments whose absolute value of the difference value is less than the threshold t according to the threshold. Then calculate the average value of the total hydrocarbon content of the segment, and retain the segments whose average value of the total hydrocarbon content is less than t as candidate background value segments. The partial detection results of the candidate background value segments of the example data are shown in Figure 1. Fig.10 As shown, it is necessary to retain the continuous segments whose differential values ​​(black points) are within the upper and lower limits and whose average total hydrocarbon content is less than the threshold t. Three candidate background value segments (in the box) are given here.

[0168] Step S4: According to the results of step S2 and step S3, a favorable formation section is obtained by condition screening;

[0169] (1) Filter by thickness

[0170] Based on the candidate favorable stratum segments obtained in step S2, the thickness of each candidate favorable stratum is calculated. If the stratum thickness is less than 2 meters, it is eliminated; otherwise, the candidate stratum segment is retained.

[0171] (2) Screening based on peak-to-base ratio

[0172] For each candidate favorable formation, from the background value segments whose bottom boundary depth is less than the top boundary depth of the current candidate favorable formation segment, select the background value segment with the closest distance as the background value segment of the current candidate favorable formation segment, and then calculate the average value j of the total hydrocarbon content of the background value segment and the maximum value P of the total hydrocarbon content of the candidate favorable formation. If P / j is greater than 3, the candidate favorable formation segment is retained, otherwise it is eliminated. The screening results of the example formation are shown in Table 5. The peak-to-base ratio of the sixth candidate favorable formation segment is less than 3, so it is eliminated.

[0173] Table 5 Screening by formation thickness and peak-to-base ratio

[0174]

[0175] Step S5: determining the fluorescence display stratum segment according to the fluorescence display data;

[0176] The fluorescence display corresponding to a certain stratum depth is shown in Table 1. In the stratum section with a depth of 1466 meters to 1488 meters, the rock fragments from 1470 meters to 1482 meters all show fluorescence display. Therefore, the stratum section [1470,1482] is considered to be the fluorescence display stratum section where fluorescence display appears.

[0177] Step S6: merging the favorable stratigraphic section and the fluorescence-displayed stratigraphic section to obtain a reasonable favorable stratigraphic section;

[0178] As shown in Table 6, the favorable formation segment with gas logging anomaly obtained in step S4 and the fluorescence display formation segment obtained by fluorescence display in step S5 are combined with the numerical range of the depths to obtain a reasonable favorable formation segment.

[0179] Table 6 Reasonable and favorable formation segment combination

[0180]

[0181] Step S7: According to the output results of step S3 and step S6, the background value segment of the merged reasonable favorable formation segment is adjusted.

[0182] After merging the favorable formation section with gas logging anomaly and the formation section with fluorescence display, the background value section needs to be adjusted according to the situation. For the merged favorable formation section with gas logging anomaly and the formation section with fluorescence display, the background value section of the merged formation is adjusted according to the flowchart of step 7.

[0183] In this embodiment, the partial stratum division results after executing all steps are as follows: Fig.11 shown.

[0184] (1) Favorable formation recommendation: Fig.11 As shown, the conventional method gives a favorable stratum (box containing dots) on the stratum shown, while the present invention not only gives the same favorable stratum as the conventional method, but also adds 4 favorable strata with larger abnormal fluctuations in gas logging ( Fig.11 The box with a left slash on the right enriches the recommended division results of favorable strata.

[0185] (2) Background value segment recommendation: as above Fig.11 As shown, the present invention provides five favorable strata of different thicknesses and corresponding background value segments ( Fig.11 The five small black boxes on the left in the figure are convenient for subsequent oil and gas interpretation of the favorable strata.

[0186] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for automatically dividing favorable stratum segments based on anomaly detection, characterized in that: include: Obtain gas testing data and fluorescence display data; wherein the gas testing data includes C1, C2, C3 and total hydrocarbon content; Determine a candidate favorable formation section according to the gas logging data; detecting a background value segment according to the total hydrocarbon content; Screening the candidate favorable stratum sections to obtain favorable stratum sections; Determining a fluorescence display formation segment according to the fluorescence display data; The favorable stratigraphic section and the fluorescence-displayed stratigraphic section are combined to obtain a reasonable favorable stratigraphic section; Adjust the background value segment of the reasonable favorable formation segment.

2. The method for automatically dividing favorable stratum segments based on anomaly detection according to claim 1, characterized in that: Determining a candidate favorable formation segment according to the gas logging data comprises the following steps: The gas logging data is divided into formation depth samples with multiple gas logging attribute values ​​according to the set depth accuracy; All stratum depth samples are input into the isolation forest anomaly detection model, and each stratum depth sample is judged to determine whether each stratum depth sample is an abnormal stratum; Abnormal strata with continuous depths are merged to obtain multiple candidate favorable strata sections.

3. The method for automatically dividing favorable stratum segments based on anomaly detection according to claim 1, characterized in that: The detecting of the background value segment according to the total hydrocarbon content comprises the following steps: Smoothing the total hydrocarbon content curve in the gas testing data; Calculate the first-order difference of the smoothed total hydrocarbon content curve; Filter out the segments whose absolute value of the difference value is less than the first preset value; Calculating the average value of the total hydrocarbon content of the segment, and if the average value of the total hydrocarbon content is less than a second preset value, taking the segment as a candidate background value segment; The background value segments of the candidate favorable formation segments are screened out from the candidate background value segments.

4. The method for automatically dividing favorable stratum segments based on anomaly detection according to claim 3 is characterized in that: The specific steps of screening out the background value segments of candidate favorable formation segments from the candidate background value segments are as follows: For any candidate favorable stratum segment, a segment whose bottom boundary depth is less than the top boundary depth of the current candidate favorable stratum segment and is closest to the candidate background value segment is selected as the background value segment.

5. The method for automatically dividing favorable stratum segments based on anomaly detection according to claim 1, characterized in that: The screening of the candidate favorable stratum sections to obtain favorable stratum sections comprises the following steps: Determine whether the thickness of any candidate favorable stratum segment is greater than or equal to a first threshold; if not, remove it; if yes, match the candidate favorable stratum segment with the background value segment; Then, it is determined whether the peak-to-base ratio of the candidate favorable stratum segment is greater than or equal to the second threshold; if not, it is eliminated; if yes, it is retained and used as a favorable stratum segment.

6. The method for automatically dividing favorable stratum segments based on anomaly detection according to claim 5, characterized in that: The peak-to-base ratio is determined by the following formula: Wherein, P is the maximum value of the total hydrocarbon content of the candidate favorable formation segment; j is the average value of the total hydrocarbon content of the background value segment matching the candidate favorable formation segment.

7. The method for automatically dividing favorable stratum segments based on anomaly detection according to claim 1, characterized in that: The adjusting of the background value segment of the reasonable favorable formation segment comprises the following steps: When the favorable formation segment and the fluorescence display formation segment have an intersection, determine whether the top boundary depth of the favorable formation segment is greater than the top boundary depth of the fluorescence display formation segment; if yes, the background value segment of the reasonable favorable formation segment after merging is the background value segment of the favorable formation segment; if no, the background value segment of the reasonable favorable formation segment after merging is the first k meters of the top boundary depth of the fluorescence display formation segment as the background value segment; When the favorable stratigraphic segment and the fluorescence display stratigraphic segment have no intersection, the background value segment of the favorable stratigraphic segment remains unchanged, and the background value segment of the fluorescence display stratigraphic segment is the first k meters of the top boundary depth of the fluorescence display stratigraphic segment as the background value segment.

8. The automatic division system of favorable formation segments based on anomaly detection is characterized by: include: An acquisition unit, used to acquire gas measurement data and fluorescence display data; wherein the gas measurement data includes C1, C2, C3 and total hydrocarbon content; A determination unit, configured to determine a candidate favorable formation segment according to the gas logging data; A background value segment unit, used for detecting a background value segment according to the total hydrocarbon content; A favorable formation section unit, used for screening the candidate favorable formation sections to obtain favorable formation sections; A fluorescence display formation segment unit, used for determining the fluorescence display formation segment according to the fluorescence display data; A merging unit, used for merging the favorable stratigraphic section and the fluorescent display stratigraphic section to obtain a reasonable favorable stratigraphic section; An adjustment unit is used to adjust the background value segment of the reasonable and favorable formation segment.

9. The system for automatically dividing favorable stratum segments based on anomaly detection according to claim 8, characterized in that: The determining unit is specifically configured to: The gas logging data is divided into formation depth samples with multiple gas logging attribute values ​​according to the set depth accuracy; All stratum depth samples are input into the isolation forest anomaly detection model, and each stratum depth sample is judged to determine whether each stratum depth sample is an abnormal stratum; Abnormal strata with continuous depths are merged to obtain multiple candidate favorable strata sections.

10. The automatic division system of favorable stratum segments based on anomaly detection according to claim 8, characterized in that: The background value segment unit is specifically used for: Smoothing the total hydrocarbon content curve in the gas testing data; Calculate the first-order difference of the smoothed total hydrocarbon content curve; Filter out the segments whose absolute value of the difference value is less than the first preset value; Calculating the average value of the total hydrocarbon content of the segment, and if the average value of the total hydrocarbon content is less than a second preset value, taking the segment as a candidate background value segment; The background value segments of the candidate favorable formation segments are screened out from the candidate background value segments.

Citation Information

Patent Citations

  • Reaction curve abnormality detection method and device

    CN109239360A

  • Method and system for identifying favorable reservoir of eruption rock

    CN114970071A