A method and system for preprocessing resistivity logging data through casing

By processing casing resistivity logging data using the box plot method and Akima interpolation method, the problems of discrete measurement values ​​and numerous outliers were solved, and smooth, equal-depth interval data were generated, which is suitable for oilfield data processing.

CN117908142BActive Publication Date: 2026-11-10CHINA NAT PETROLEUM CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211236997.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-10
Publication Date
2026-11-10
Estimated Expiration
2042-10-10

AI Technical Summary

Technical Problem

Existing technologies for processing casing resistivity logging data suffer from problems such as discrete measured values, numerous outliers, and inconsistent depth intervals, making data processing difficult and hindering the generation of single-value, equal-depth-interval data, which affects subsequent applications.

Method used

Outliers were removed using box plots, and data with equal depth intervals were generated using Akima interpolation. A reasonable data range was determined by calculating quartiles and interquartile ranges, and the interpolation curve was fitted using a cubic polynomial.

Benefits of technology

It effectively removes outliers, generates smooth, continuous data with equal depth intervals, improves the accuracy and consistency of data processing, is suitable for different data scales, and the interpolation results are closer to the original data form.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117908142B_ABST
    Figure CN117908142B_ABST
Patent Text Reader

Abstract

This invention relates to a method and system for preprocessing through-casing resistivity logging data, belonging to the field of oil and gas field development technology. The method includes: reading raw data and extracting the well depth and through-casing resistivity; processing the through-casing resistivity at each depth point using a box plot to obtain upper and lower limits of reasonable through-casing resistivity data at the corresponding depth point; eliminating outliers in the through-casing resistivity based on the upper and lower limits, and processing the normal values ​​of the through-casing resistivity at the same depth point to generate single data points of through-casing resistivity; and interpolating the single data points of through-casing resistivity into data with equal depth intervals using Akima interpolation. The method used in this invention does not change the probability of data detection and provides a more reasonable number of outlier markers, making it suitable for both large and small datasets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of oil and gas field development technology, and specifically relates to a method and system for preprocessing through-casing resistivity logging data. Background Technology

[0002] In the mid-to-late stages of oilfield development, monitoring remaining oil saturation is crucial for increasing oil reserves and production, as well as stabilizing oil production and controlling water levels. Through-casing resistivity logging has opened up new prospects for effectively and accurately calculating back-casing saturation under appropriate conditions, with simple interpretation techniques and mature methods. Since almost all open-hole wells use resistivity to calculate the original formation water saturation, simply comparing the original resistivity logging curve with the through-casing resistivity logging curve allows for a very direct estimation of the current oil saturation level, leading to its widespread application in oilfields both domestically and internationally. Through-casing resistivity logging instruments measure formation resistivity by detecting the weak current signal leaking from the casing into the formation. To obtain reliable data, the instrument's design and measurement methods differ from conventional logging instruments. Therefore, the original through-casing resistivity logging data also differs significantly from common logging data. Compared with conventional logging data, through-casing resistivity logging data has the following characteristics:

[0003] (1) Discrete Measurement Values. All through-casing resistivity logging instruments use a point-based measurement method. The instrument measures at each stationary point within the casing well, as the noise signal introduced by the instrument during its movement is much greater than the formation signal to be detected. This point-based measurement characteristic determines that the measured values ​​are discrete in depth.

[0004] (2) A single measurement point may have multiple measured values, including anomalous values. Multiple measurements are widely used in repeatable observation systems to reduce errors. Through-casing resistivity logging instruments should be used at least three times in the target formation, but the number of repeated measurements is constrained by many factors, particularly instrument protection. Through-casing resistivity logging instruments operate in high-temperature, high-pressure environments downhole, and the duration of each measurement session should not be too long to avoid damaging the instrument or shortening its lifespan. Therefore, the number of repeated measurements generally does not exceed 10. As a result, formation resistivity data measured at the same depth are inconsistent and fluctuate, containing one or more outliers that are too large or too small, referred to as anomalous measurements.

[0005] (3) Unequal depth intervals between measurement points. To save measurement time, the depth interval for through-casing resistivity logging is generally 0.5m, which can be reduced to 0.3m in thin target layers, while the depth interval between measurement points in non-target layers is relatively large, such as 1m. As a result, the overall depth intervals of the measurement data from a single well are unequal. In contrast, the depth interval after digitization of conventional logging data is generally 0.125m.

[0006] Given the above characteristics, it is necessary to preprocess the resistivity measurement data through the casing to form single-value, equal-depth-interval data, which will facilitate subsequent processing and allow for application in conjunction with other logging data.

[0007] Currently, the commonly used methods for screening resistivity measurements through bushings are mainly the Grubbs criterion screening method and interpolation methods such as Lagrange interpolation, cubic spline interpolation, and linear interpolation. The Grubbs criterion detects one outlier at a time. The outlier is removed from the dataset, and the test is iterated until no outliers are detected. However, multiple iterations can change the detection probability, and the test should not be used for six or fewer samples (n>6) because it often marks most points as outliers.

[0008] Currently, commonly used interpolation methods for bushing resistivity include global polynomial interpolation and cubic spline interpolation proposed by Newton, Lagrange, and Hermite. However, these methods are prone to shape oscillations and involve large computational loads. Moreover, the linear interpolation curves generated by these methods are broken lines and lack smoothness.

[0009] To address the aforementioned issues, it is necessary to design a preprocessing method and system for through-casing resistivity logging data, which removes abnormal measurements and interpolates to form encrypted data with equal depth intervals. Summary of the Invention

[0010] To address the above problems, this invention provides a method for preprocessing through-casing resistivity logging data, the method comprising:

[0011] Read the raw data and extract the well depth and casing resistivity;

[0012] By using a box plot to process the resistivity through the sleeve at each depth point, the upper and lower limits of reasonable data for the resistivity through the sleeve at the corresponding depth point are obtained.

[0013] Abnormal values ​​of the over-sleeve resistivity are eliminated based on the upper and lower limits, and normal values ​​of the over-sleeve resistivity at the same depth point are processed to generate single data of the over-sleeve resistivity.

[0014] Akima interpolation is used to interpolate single data of resistivity through bushing into data with equal depth intervals.

[0015] Preferably, processing the resistivity of the sleeve at each depth point using a box plot includes the following steps:

[0016] The resistivity of the bushing is sorted from largest to smallest to obtain the resistivity sequence of the bushing.

[0017] The median, lower quartile Q1, and upper quartile Q3 are extracted from the oversleeve resistivity sequence;

[0018] Calculate the upper and lower limits of reasonable data for the resistivity of the bushing.

[0019] Preferably, the median is the middle number in the bushing resistivity sequence or the average of the two middle numbers;

[0020] The lower quartile Q1 is the number obtained by dividing the resistivity sequence through the bushing into four equal parts and taking (1+n) / 4.

[0021] The upper quartile Q3 is the number obtained by dividing the resistivity sequence through the bushing into four equal parts and taking (1+n)*3 / 4.

[0022] Where n represents the number of resistivity data points measured at a certain depth through the sleeve.

[0023] Preferably, the method for calculating the upper limit value includes:

[0024] Calculate Q3 + 1.5IQR to obtain the upper limit comparison value, where the interquartile range IQR = Q3 - Q1;

[0025] The upper limit comparison value is compared with the maximum value in the bushing resistivity sequence, and the smaller value is taken as the upper limit value.

[0026] Preferably, the method for calculating the lower limit value includes:

[0027] Calculate Q1-1.5IQR to obtain the lower limit comparison value, where the interquartile range IQR = Q3-Q1;

[0028] The lower limit comparison value is compared with the minimum value in the resistivity sequence of the bushing, and the larger value is taken as the lower limit value.

[0029] Preferably, the abnormal value is the value of the over-sleeve resistivity that is below the lower limit and above the upper limit;

[0030] The normal value is the resistivity of the filter sleeve that is greater than or equal to the lower limit and less than or equal to the upper limit.

[0031] Preferably, the method for generating single data on the resistivity of the bushing includes:

[0032] Calculate the arithmetic mean of all normal values ​​of the resistivity through the sleeve at the same depth point, and use the arithmetic mean as the single data of the resistivity through the sleeve at that depth point.

[0033] Preferably, interpolating single data points of resistivity through the bushing into data points with equal depth intervals using the Akima interpolation method includes the following steps:

[0034] A curve fitted by a cubic polynomial is constructed between every two individual data points, and the curve ensures that the first derivative is continuous.

[0035] Construct all n individual data points into unequally spaced sample points (x i ,y i (i = 0, 1, ..., n-1), where x i Let y represent the i-th depth. i This represents a single data point of the composite oversleeving resistivity corresponding to depth, x0 <x1<…<x n-1 If in the subinterval [x k ,x k+1 At the two endpoints of the ](k=0,1,2,…,n-2), the following conditions are met:

[0036]

[0037] Then, a unique cubic polynomial can be determined in any two adjacent subintervals:

[0038] f(x) = a0 + a1(xx) k )+a2(xx k ) 2 +a3(xx k ) 3 ,

[0039] The interpolation point x (x∈[x]) in the subinterval is calculated using the cubic polynomial. k ,x k+1 The approximate value of the function at ]).

[0040] The present invention also provides a preprocessing system for through-casing resistivity logging data, the system comprising:

[0041] The information extraction module is used to extract the depth of the oil well and the resistivity through the casing.

[0042] The information processing module is used to process the resistivity of the sleeve at each depth point to obtain the upper and lower limits of the reasonable data of the resistivity of the sleeve at the corresponding depth point.

[0043] The data generation module is used to remove outliers in the resistivity of the casing and process the normal values ​​of the resistivity of the casing at the same depth point to generate single data of the resistivity of the casing.

[0044] The data processing module is used to interpolate the resistivity of the bushing into data with equal depth intervals.

[0045] Preferably, the information processing module is used to process the resistivity through the casing at each depth point, including:

[0046] The information processing module is used to sort the resistivity of the bushing from largest to smallest to obtain the resistivity sequence of the bushing.

[0047] The median, lower quartile Q1, and upper quartile Q3 are extracted from the oversleeve resistivity sequence;

[0048] Calculate the upper and lower limits of reasonable data for the resistivity of the bushing.

[0049] Preferably, the median is the middle number in the bushing resistivity sequence or the average of the two middle numbers;

[0050] The lower quartile Q1 is the number obtained by dividing the resistivity sequence through the bushing into four equal parts and taking (1+n) / 4.

[0051] The upper quartile Q3 is the number obtained by dividing the resistivity sequence through the bushing into four equal parts and taking (1+n)*3 / 4.

[0052] Where n represents the number of resistivity data points measured at a certain depth through the sleeve.

[0053] Preferably, the upper limit value is smaller than the upper limit comparison value compared to the maximum value of the resistivity sequence through the bushing;

[0054] The upper limit comparison value is equal to Q3 + 1.5IQR, where the interquartile range IQR = Q3 - Q1.

[0055] Preferably, the lower limit value is a larger value than the lower limit comparison value compared to the minimum value of the resistivity sequence through the bushing;

[0056] The lower limit comparison value is equal to Q1 - 1.5IQR, where the interquartile range IQR = Q3 - Q1.

[0057] Preferably, the abnormal value is the value of the over-sleeve resistivity that is below the lower limit and above the upper limit;

[0058] The normal value is the resistivity of the filter sleeve that is greater than or equal to the lower limit and less than or equal to the upper limit.

[0059] Preferably, the data generation module is used to generate single data on the resistivity of the bushing, including:

[0060] The data generation module is used to calculate the arithmetic mean of all normal values ​​of the resistivity through the sleeve at the same depth point, and use the arithmetic mean as the single data of the resistivity through the sleeve at that depth point.

[0061] The present invention has the following beneficial effects:

[0062] (1) First, this invention utilizes box plots to process the resistivity of the bushing. The upper and lower limits formed by this processing are used to filter the resistivity data, resulting in single data points for the bushing resistivity. Compared to existing filtering methods, this invention does not change the probability of data detection and provides a more reasonable number of outlier markers, making it suitable for both large and small datasets. Second, this invention uses Akima interpolation to interpolate the single data points of the bushing resistivity into data with equal depth intervals. Since Akima interpolation uses only a few local data points, the interpolation curve is less prone to oscillations and more closely resembles the original data shape. Furthermore, compared to linear interpolation, it ensures the smoothness of the curve. This interpolation method is significantly more effective than Lagrange interpolation, cubic spline interpolation, and linear interpolation methods in processing data.

[0063] (2) This invention utilizes box plots to process the resistivity of bushings to obtain reasonable resistivity data. It does not require prior assumptions that the data follows a specific distribution pattern, nor does it impose any restrictive requirements on the data; it simply and intuitively represents the true shape of the data. Furthermore, the criteria for identifying outliers in box plots are based on quartiles and interquartile ranges. Quartiles have a certain degree of robustness; some data points can become arbitrarily far without significantly disturbing the quartiles. Therefore, outliers cannot influence this standard, making the results of outlier identification by box plots relatively objective. Thus, box plots have certain advantages in identifying outliers.

[0064] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description

[0065] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0066] Figure 1 This diagram illustrates a flowchart of a method for preprocessing resistivity logging data through casing, as described in an embodiment of the present invention.

[0067] Figure 2 This diagram illustrates the information contained in the bushing resistivity dbf file in an embodiment of the present invention.

[0068] Figure 3This diagram illustrates outlier detection in a box plot according to an embodiment of the present invention.

[0069] Figure 4 This diagram illustrates the outlier filtering and synthesis process in an embodiment of the present invention.

[0070] Figure 5 This diagram illustrates a comparison of interpolation methods in embodiments of the present invention.

[0071] Figure 6 This diagram illustrates the specific processing results in an embodiment of the present invention.

[0072] Figure 7 The flowchart illustrates a preprocessing system for through-casing resistivity logging data according to an embodiment of the present invention. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0074] like Figure 1 As shown, this invention proposes a method for preprocessing through-casing resistivity logging data, characterized in that the method includes:

[0075] The raw data is read to extract the well depth and casing resistivity. In this embodiment, to ensure the quality of the logging data, multiple measurements are often taken at the same depth, meaning multiple measurement points are located at the same depth. The raw data is then stored in a *.dbf file. First, using the dbfread library in Python, it is necessary to implement the reading of the *.dbf database file, such as... Figure 2 As shown in the figure, GL represents the depth and R represents the resistivity measurement value through the bushing.

[0076] By using a box plot to process the resistivity through the sleeve at each depth point, the upper and lower limits of reasonable data for the resistivity through the sleeve at the corresponding depth point are obtained.

[0077] Abnormal values ​​of the over-sleeve resistivity are removed based on the upper and lower limits, and normal values ​​of the over-sleeve resistivity at the same depth point are processed to generate single data of the over-sleeve resistivity.

[0078] Akima interpolation is used to interpolate single data of resistivity through bushing into data with equal depth intervals.

[0079] like Figure 3As shown, the process of processing the resistivity through the casing at each depth point using a box plot includes the following steps:

[0080] The resistivity of the bushing is sorted from largest to smallest to obtain the resistivity sequence of the bushing.

[0081] The median, lower quartile Q1, and upper quartile Q3 are extracted from the resistivity sequence through the sleeve. The median is the middle number or the average of the two middle numbers in the resistivity sequence through the sleeve. The lower quartile Q1 is the (1+n) / 4 number obtained by dividing the resistivity sequence through the sleeve into four equal parts. The upper quartile Q3 is the (1+n)*3 / 4 number obtained by dividing the resistivity sequence through the sleeve into four equal parts. Here, n represents the number of resistivity data points measured at a certain depth through the sleeve.

[0082] The upper and lower limits of the reasonable data for the resistivity through the bushing are calculated. The calculation method for the upper limit includes: calculating Q3 + 1.5IQR to obtain the upper limit comparison value, where the interquartile range IQR = Q3 - Q1; comparing the upper limit comparison value with the maximum value in the resistivity through the bushing sequence, and taking the smaller value as the upper limit value. The calculation method for the lower limit includes: calculating Q1 - 1.5IQR to obtain the lower limit comparison value, where the interquartile range IQR = Q3 - Q1; comparing the lower limit comparison value with the minimum value in the resistivity through the bushing sequence, and taking the larger value as the lower limit value.

[0083] Abnormal values ​​are those with resistivity below the lower limit and above the upper limit; normal values ​​are those with resistivity greater than or equal to the lower limit and less than or equal to the upper limit.

[0084] Methods for generating single data points for bushing resistivity include:

[0085] Calculate the arithmetic mean of all normal resistivity values ​​at the same depth point; in this embodiment, let the normal resistivity measurements at the same depth point after removing outliers be R1′, R2′, ..., R k ′,2≤K≤N. Here, the arithmetic mean is taken as the optimal measurement value at this depth point, that is, the resistivity R0 at this depth point is taken as:

[0086]

[0087] The arithmetic mean is used as the single data point for the resistivity through the casing at that depth, specifically as follows: Figure 4As shown in the figure, from left to right, the first column represents the original RLAC measurement data and calculated interquartile boundaries of the resistivity through the bushing; the second column is a box plot of the corresponding measurement data, where the solid origin represents outliers; and the third column is the arithmetic mean of the measurements after removing outliers, which is the final synthesized resistivity data through the bushing. The data outside the boxes (such as xx25, xx30, etc.) represent depth.

[0088] The process of interpolating single data points of resistivity through a bushing into data points with equal depth intervals using Akima interpolation includes the following steps:

[0089] Between every two individual data points, a curve fitted by a cubic polynomial is constructed, ensuring the continuity of the first derivative.

[0090] Construct all n individual data points into unequally spaced sample points (x i ,y i (i = 0, 1, ..., n-1), where xi represents the i-th depth, yi represents the single data of the composite oversleeving resistivity corresponding to the depth, and x0 <x1<…<x n-1 If in the subinterval [x k ,x k+1 At the two endpoints of the ](k=0,1,2,…,n-2), the following conditions are met:

[0091]

[0092] Then, a unique cubic polynomial can be determined in any two adjacent subintervals:

[0093] f(x) = a0 + a1(xx) k )+a2(xx k ) 2 +a3(xx k ) 3 ,

[0094] Calculate the interpolation point x (x∈[x]) in the subinterval using a cubic polynomial. k ,x k+1 The approximate value of the function at ]).

[0095] like Figure 5As shown, based on the characteristics of resistivity data changing with depth, this invention uses linear interpolation, cubic spline interpolation, and Akima interpolation methods to interpolate the resistivity data through the bushing into equal-depth interval data with a sampling interval of 0.125m, and analyzes the interpolation results. From left to right in the figure, the figures show the linear interpolation curve, the cubic spline interpolation curve, and the Akima interpolation curve. It can be seen from the figures that the linear interpolation method has poor curve smoothness; the cubic spline interpolation method exhibits greater curve oscillation when the sampling interval is large, resulting in poor application performance; Akima interpolation utilizes only a few local data points, making the curve less prone to oscillation and closer to the original data shape, while also ensuring curve smoothness compared to linear interpolation. The data outside the boxes (such as xx90, xx00, etc.) represent depth.

[0096] like Figure 6 The figure shows the through-casing resistivity measurements performed immediately after well completion to verify the accuracy of the through-casing resistivity logging results. From left to right, the figure includes: the original through-casing resistivity data, the filtered through-casing resistivity data, a comparison of the original through-casing resistivity and deep resistivity, the depth trace, a comparison of the through-casing resistivity and deep resistivity processed using the present invention's technical solution, and a formation analysis diagram. In the comparison of the original and processed through-casing resistivity and deep resistivity using the present invention's technical solution, the solid dot represents the through-casing resistivity (RLAC) data, and the dashed line represents the deep resistivity (RD) data. The figures demonstrate that the technical solution of the present invention achieves better processing results.

[0097] like Figure 7 As shown, the present invention also proposes a preprocessing system for through-casing resistivity logging data, characterized in that the system includes:

[0098] The information extraction module is used to extract the depth of the oil well and the resistivity through the casing.

[0099] The information processing module is used to process the resistivity of the sleeve at each depth point to obtain the upper and lower limits of the reasonable data of the resistivity of the sleeve at the corresponding depth point.

[0100] The data generation module is used to remove outliers in the resistivity of the casing and process the normal values ​​of the resistivity of the casing at the same depth point to generate single data of the resistivity of the casing.

[0101] The data processing module is used to interpolate the resistivity of the bushing into data with equal depth intervals.

[0102] The information processing module is used to process the resistivity through the casing at each depth point, including:

[0103] The information processing module is used to sort the resistivity of the bushing from largest to smallest to obtain the resistivity sequence of the bushing.

[0104] The median, lower quartile Q1, and upper quartile Q3 are extracted from the resistivity sequence through the sleeve. The median is the middle number or the average of the two middle numbers in the resistivity sequence through the sleeve. The lower quartile Q1 is the (1+n) / 4 number obtained by dividing the resistivity sequence through the sleeve into four equal parts. The upper quartile Q3 is the (1+n)*3 / 4 number obtained by dividing the resistivity sequence through the sleeve into four equal parts. Here, n represents the number of resistivity data points measured at a certain depth through the sleeve.

[0105] Calculate the upper and lower limits of the reasonable data for the resistivity through the bushing; where the upper limit is the smaller value compared to the maximum value of the resistivity through the bushing sequence; the upper limit comparison value is equal to Q3 + 1.5IQR, where the interquartile range IQR = Q3 - Q1; the lower limit is the larger value compared to the minimum value of the resistivity through the bushing sequence; the lower limit comparison value is equal to Q1 - 1.5IQR, where the interquartile range IQR = Q3 - Q1.

[0106] Abnormal values ​​are those of the through-sleeve resistivity that are below the lower limit or above the upper limit; normal values ​​are those of the filter sleeve resistivity that are greater than or equal to the lower limit and less than or equal to the upper limit. The data generation module is used to generate a single data point of through-sleeve resistivity, including: the data generation module calculates the arithmetic mean of all normal values ​​of through-sleeve resistivity at the same depth point, and uses the arithmetic mean as the single data point of through-sleeve resistivity at that depth point.

[0107] Those skilled in the art should understand that, despite the detailed description of the present invention with reference to the foregoing embodiments, modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for preprocessing through-casing resistivity logging data, characterized in that, The method includes: Read the raw data and extract the well depth and casing resistivity; The resistivity through the sleeve at each depth point is processed using a box plot to obtain the upper and lower limits of reasonable resistivity data for the corresponding depth point. The processing of the resistivity through the sleeve at each depth point using a box plot includes the following steps: sorting the resistivity through the sleeve from largest to smallest to obtain a resistivity sequence; extracting the median, lower quartile Q1, and upper quartile Q3 from the resistivity sequence; calculating the upper and lower limits of reasonable resistivity data; the median is the middle number or the average of the two middle numbers in the resistivity sequence; the lower quartile Q1 is the (1+n) / 4 value obtained by dividing the resistivity sequence into four equal parts; the upper quartile Q3 is the (1+n) / 4 value obtained by dividing the resistivity sequence into four equal parts. The upper limit is calculated as follows: 3 / 4 of the number; where n represents the number of through-sleeve resistivity data points measured at a certain depth; the calculation method for the upper limit includes: calculating Q3 + 1.5IQR to obtain the upper limit comparison value, where the interquartile range IQR = Q3 - Q1; comparing the upper limit comparison value with the maximum value in the through-sleeve resistivity sequence, and taking the smaller value as the upper limit; the calculation method for the lower limit includes: calculating Q1 - 1.5IQR to obtain the lower limit comparison value, where the interquartile range IQR = Q3 - Q1; comparing the lower limit comparison value with the minimum value in the through-sleeve resistivity sequence, and taking the larger value as the lower limit. Abnormal values ​​of the over-sleeve resistivity are eliminated based on the upper and lower limits, and normal values ​​of the over-sleeve resistivity at the same depth point are processed to generate single data of the over-sleeve resistivity. Akima interpolation is used to interpolate single data of resistivity through bushing into data with equal depth intervals.

2. The method for preprocessing through-casing resistivity logging data according to claim 1, characterized in that, The abnormal values ​​are those of the over-sleeve resistivity that are below the lower limit and above the upper limit. The normal value is the resistivity of the bushing that is greater than or equal to the lower limit and less than or equal to the upper limit.

3. The method for preprocessing through-casing resistivity logging data according to claim 1, characterized in that, The method for generating single data of the bushing resistivity includes: Calculate the arithmetic mean of all normal values ​​of the resistivity through the sleeve at the same depth point, and use the arithmetic mean as the single data of the resistivity through the sleeve at that depth point.

4. The method for preprocessing through-casing resistivity logging data according to claim 1, characterized in that, The process of interpolating single data points of resistivity through a bushing into data points with equal depth intervals using Akima interpolation includes the following steps: A curve fitted by a cubic polynomial is constructed between every two individual data points, and the curve ensures that the first derivative is continuous. Construct all n individual data points into unequally spaced sample points , where x i Let y represent the i-th depth. i This represents a single data point on the composite resistivity through the bushing, corresponding to the depth. If in the sub-interval The following conditions are satisfied at the two endpoints: , Then, a unique cubic polynomial can be determined in any two adjacent subintervals: , The interpolation points in the subintervals are calculated using the cubic polynomial. The approximate value of the function at that point.

5. A preprocessing system for through-casing resistivity logging data, characterized in that, The system includes: The information extraction module is used to extract the depth of the oil well and the resistivity through the casing. An information processing module is used to process the resistivity through the sleeve at each depth point to obtain the upper and lower limits of reasonable data for the resistivity through the sleeve at the corresponding depth point. The information processing module processes the resistivity through the sleeve at each depth point, including: sorting the resistivity through the sleeve from largest to smallest to obtain a resistivity sequence; extracting the median, lower quartile Q1, and upper quartile Q3 from the resistivity sequence; and calculating the upper and lower limits of reasonable data for the resistivity through the sleeve. The median is the middle number or the average of the two middle numbers in the resistivity sequence; the lower quartile Q1 is the (1+n) / 4 value obtained by dividing the resistivity sequence into four equal parts; and the upper quartile Q3 is the (1+n) / 4 value obtained by dividing the resistivity sequence into four equal parts. The number is 3 / 4; where n represents the number of through-sleeve resistivity data points measured at a certain depth; the upper limit value is the smaller of the upper limit comparison value and the maximum value of the through-sleeve resistivity sequence; the upper limit comparison value is equal to Q3 + 1.5IQR, where the interquartile range IQR = Q3 - Q1; the lower limit value is the larger of the lower limit comparison value and the minimum value of the through-sleeve resistivity sequence; the lower limit comparison value is equal to Q1 - 1.5IQR, where the interquartile range IQR = Q3 - Q1; The data generation module is used to remove outliers in the over-sleeve resistivity and process the normal values ​​of the over-sleeve resistivity at the same depth point to generate single data of the over-sleeve resistivity. The data processing module is used to interpolate the resistivity of the bushing into data with equal depth intervals.

6. The through-casing resistivity logging data preprocessing system according to claim 5, characterized in that, The abnormal values ​​are those of the over-sleeve resistivity that are below the lower limit and above the upper limit. The normal value is the resistivity of the bushing that is greater than or equal to the lower limit and less than or equal to the upper limit.

7. A preprocessing system for through-casing resistivity logging data according to claim 5, characterized in that, The data generation module is used to generate single data points on the resistivity of the bushing, including: The data generation module is used to calculate the arithmetic mean of all normal values ​​of the resistivity through the sleeve at the same depth point, and use the arithmetic mean as the single data of the resistivity through the sleeve at that depth point.

Citation Information

Patent Citations

  • Method and apparatus for detection of hydrocarbon deposits

    CA2688048A1

  • Well logging during drilling data real-time processing method

    CN104866636A