The present application claims the priority of Chinese patent application CN 202011107176.9, entitled “Multi-sector data correction method and system for gamma imaging while drilling” and filed on Oct. 16, 2020, the entire content of which is incorporated herein by reference.
The present invention relates to the field of geosteering for petroleum exploration, and specifically to multi-sector data correction method and system for gamma imaging while drilling.
Gamma imaging technology is one of the key technologies in the fields of logging-while-drilling and geosteering. It is a technology to analyze the formation through measuring the gamma intensity of the wellbore, and plays an important role in establishing formation models, improving the probability of penetration of reservoirs, increasing crude oil production, and so on.
Specifically, in this technology, the wellbore is divided along the circumferential direction into multiple sectors, which are measured by means of a gamma sensor with azimuth blanking, and then the gamma intensity of the wellbore is imaged three-dimensionally with data from these sectors.
The results can be used to calculate the formation dip angle, thus achieving quantized geosteering drilling. However, the existing gamma imaging technology suffers a low accuracy and presents a large error in calculating the formation dip angle, so that it cannot provide the effect of geosteering. Therefore, there is an urgent need in the industry for a correction method to improve the imaging accuracy.
One of the technical problems to be solved by the present invention is to provide a technical solution capable of providing high-precision gamma imaging, thereby achieving high-precision geosteering drilling and formation evaluation.
In order to solve the above technical problems, an embodiment of the present invention provides a multi-sector data correction method for gamma imaging while drilling, comprising steps of: (a) dividing each gamma imaging sector into a plurality of counting zones; (b) counting a number of valid counting pulses for each counting zone at a predetermined time interval during measurement while drilling; (c) constructing a plurality of measurement vectors featuring measurement results of all sectors based on a value of recording times of each counting zone; (d) establishing a correction matrix with a conditional number less than a set value, said correction matrix being used to correct measurement data; and (e) calculating a gamma intensity of each measured sector with the plurality of measurement vectors and the correction matrix as constructed, so as to complete the correction on the measurement data of each measured sector for each predetermined time interval.
In an embodiment, in said Step (c), all the counting zones are divided into a plurality of groups, and the value of recording times of each counting zone in each group is used to construct a corresponding measurement vector. A number of groups into which the counting zones are divided is equal to a number of the counting zones formed by equally dividing each sector, and each group of counting zones is composed of the counting zones that are discontinuously extracted from each sector. Any adjacent counting zones in a same sector are not in a same group.
In an embodiment, in said Step (e), the gamma intensity G of each measured sector is calculated with an expression as follows:
G=γ
−1·(M1+M2+ . . . +Mn)
wherein Mn denotes the nth measurement vector, γ is the correction matrix, γ=γ1+γ2+ . . . +γn, and γn denotes the nth optimization matrix.
In an embodiment, in said Step (c), all the counting zones are divided into two groups, and a first measurement vector and a second measurement vector are constructed respectively with the value of recording times per unit time for each counting zone in each group, wherein each group of the counting zones is formed by discontinuously extracting the counting zones from consecutive counting zones arranged along a circumferential direction, any adjacent counting zones not being in the same group. Said first measurement vector is a one-dimensional vector, each vector unit of which is a value of recording times per unit time for each counting zone in a first group of counting zones, these values being arranged in a sequence corresponding to the counting zones in the circumferential direction. Said second measurement vector is a one-dimensional vector, each vector unit of which is a value of recording times per unit time for each counting zone in a second group of counting zones, these values being arranged in a same way as those of the first measurement vector and with a same starting point.
In an embodiment, the step of constructing said correction matrix comprises: determining a number of units within the correction matrix based on a number of groups of all counting zones; setting an adjustment coefficient and multiple correction coefficients, wherein a number of correction coefficients is equal to a sum of a number of elements of the first measurement vector and that of the second measurement vector; establishing, based on the adjustment coefficient and multiple correction coefficients, a correction unit matrix for each measurement vector, thereby forming the correction matrix; and determining, based on the vector composed of said multiple correction coefficients as an independent variable, an optimal independent variable for which the conditional number of the correction matrix reaches or approaches a global minimum through an optimization algorithm, thereby obtaining an optimal correction matrix with the optimal independent variable.
In an embodiment, in said Step (d), a correction matrix γ with a conditional number less than 10 is constructed with an expression as follows:
γ=γ1+γ2
wherein γ1 is expressed as follows:
and γ2 is expressed as follows:
wherein n denotes a number of sectors to be measured, a denotes the adjustment coefficient, and [φ1, φ2, φ3, . . . , φ2n] denotes the vector of correction coefficients.
In an embodiment, in said Step (e), the gamma intensity G of each measured sector is calculated with an expression as follows:
G=γ
−1·(M1+M2)
wherein M1 and M2 denote the first and second measurement vectors, respectively, and γ denotes the correction matrix after optimization.
According to another aspect of the present invention, a multi-sector data correction system for gamma imaging while drilling is provided, comprising: a counting-zone dividing module, configured to divide each gamma imaging sector into a plurality of counting zones; a pulse recording module, configured to count a number of valid counting pulses for each counting zone at a predetermined time interval during measurement while drilling; a measurement-vector constructing module, configured to construct a plurality of measurement vectors featuring measurement results of all sectors based on a value of recording times of each counting zone; a correction-matrix establishing module, configured to establish a correction matrix with a conditional number less than a set value through an optimization algorithm, said correction matrix being used to correct measurement data; and a gamma-intensity calculating module, configured to calculate a gamma intensity of each measured sector with the plurality of measurement vectors and the correction matrix as constructed, so as to complete the correction on the measurement data of the measured sector for each predetermined time interval.
In an embodiment, the measurement-vector constructing module is configured to divide all the counting zones into a plurality of groups, and construct a corresponding measurement vector with the value of recording times of each counting zone in each group. A number of groups into which the counting zones are divided is equal to a number of the counting zones formed by equally dividing each sector, and each group of counting zones is composed of the counting zones that are discontinuously extracted from each sector. Any adjacent counting zones in a same sector are not in a same group.
In an embodiment, the gamma-intensity calculating module is configured to calculate the gamma intensity G of each measured sector with an expression as follows:
G=γ
−1·(M1+M2+ . . . +Mn)
wherein Mn denotes the nth measurement vector, γ is the correction matrix, γ=γ1+γ2+ . . . +γn, and γn denotes the nth optimization matrix.
In an embodiment, the measurement-vector constructing module is configured to divide all the counting zones into two groups, and construct a first measurement vector and a second measurement vector respectively with the value of recording times per unit time for each counting zone in each group, wherein each group of the counting zones is formed by discontinuously extracting the counting zones from consecutive counting zones arranged along a circumferential direction, any adjacent counting zones not being in the same group. Said first measurement vector is a one-dimensional vector, each vector unit of which is a value of recording times per unit time for each counting zone in a first group of counting zones, these values being arranged in a sequence corresponding to the counting zones in the circumferential direction. Said second measurement vector is a one-dimensional vector, each vector unit of which is a value of recording times per unit time for each counting zone in a second group of counting zones, these values being arranged in a same way as those of the first measurement vector and with a same starting point.
In an embodiment, the correction-matrix establishing module is configured to: determine a number of units within the correction matrix based on a number of groups of all counting zones; set an adjustment coefficient and multiple correction coefficients; establish, based on the adjustment coefficient and multiple correction coefficients, a correction unit matrix for each measurement vector, thereby forming the correction matrix; and determine, based on the vector composed of said multiple correction coefficients as an independent variable, an optimal independent variable for which the conditional number of the correction matrix reaches or approaches a global minimum through an optimization algorithm, thereby obtaining an optimal correction matrix with the optimal independent variable. A number of correction coefficients is equal to a sum of a number of elements of the first measurement vector and that of the second measurement vector.
In an embodiment, the correction-matrix establishing module is configured to establish a correction matrix γ with a conditional number less than 10 with an expression as follows:
γ=γ1+γ2
wherein γ1 is expressed as follows:
and γ2 is expressed as follows:
wherein n denotes a number of sectors to be measured, a denotes the adjustment coefficient, and [φ1, φ2, φ3, . . . , φ2n] denotes the vector of correction coefficients.
In an embodiment, the gamma-intensity calculating module is configured to calculate the gamma intensity G of each measured sector with an expression as follows:
G=γ
−1·(M1+M2)
wherein M1 and M2 denote the first and second measurement vectors, respectively, and γ denotes the correction matrix.
According to a further aspect of the present invention, a computer apparatus is provided, comprising a processor and a memory, said memory being stored thereon at least one instruction, at least one program, a set of codes or a set of instructions. Said at least one instruction, at least one program, said set of codes or said set of instructions is loaded and executed by said processor to perform the multi-sector data correction method for gamma imaging while drilling as mentioned above.
According to a still further aspect of the present invention, a computer readable storage medium is provided, which is stored thereon at least one instruction, at least one program, a set of codes or a set of instructions. Said at least one instruction, at least one program, said set of codes or said set of instructions is loaded and executed by said processor to perform the multi-sector data correction method for gamma imaging while drilling as mentioned above.
Compared to the prior arts, one or more embodiments of the above technical solution may have the following advantages or beneficial effects. Embodiments of the present invention provide a multi-sector data correction method for gamma imaging while drilling, wherein a counting model is introduced and then optimized by a correction matrix, so as to obtain a more accurate gamma intensity of formation sectors. With this method, problems, such as rotational measurement distortion of the gamma imaging while drilling tool or the like, can be eliminated, the measurement results of the tool can be improved, and the accuracy of calculating the formation dip angle can be enhanced. Accordingly, high-precision geosteering drilling can be achieved.
Other features and advantages of the present invention will be set forth in the description which follows, and, in part, will be apparent from the description, or may be learned from the implementation of the technical solution of the present invention. The objective and other advantages of the present invention may be realized and attained from the structure and/or process particularly pointed out in the description, claims and drawings.
The accompanying drawings are used to provide a further understanding on the technical solution of the present application or the prior arts, and constitute a part of the description. Together with the embodiments of the present invention, the drawings illustrating the embodiments are intended to explain the technical solution of the present invention, but not constitute any limitation to the technical solution of the present invention. It the drawings:
The implementation mode of the present invention will be explained in detail with reference to the embodiments and the accompanying drawings, whereby it can be fully understood how to solve the technical problem by the technical means according to the present invention, implement the technical solution, and achieve the technical effects thereof. All the embodiments and the technical features defined therein may be combined together if there is no conflict, and the technical solutions obtained in this manner all fall within the scope of protection of the present invention.
In addition, the steps illustrated in the flow chart in the drawings can be performed in a computer system containing a set of computer-executable instructions. Moreover, although a logical sequence is shown in the flow chart, in some cases these steps as shown or described may be performed in an order different from that shown herein.
As shown in
In one embodiment, in step S110, each sector is divided equally to form a plurality of counting zones, the total number of these counting zones being an even multiple of the number of the sectors.
In a preferred embodiment, the gamma imaging sectors each are divided equally to form a plurality of counting zones, wherein the total number of these counting zones is twice the number of the sectors to be measured, and each counting zone as divided is numbered. For example, as to the eight sectors A, B, C, D, E, F, G, H shown in
In step S120, the number of valid counting pulses for each counting zone is recorded at set intervals during the measurement-while-drilling (MWD).
Specifically, if a natural gamma measurement device (e.g., a gamma sensor) detects a valid counting pulse during the measurement-while-drilling, the serial number of the counting zone corresponding to the current tool face is recorded. A recording time interval, such as 5 to 1,000 seconds, is predetermined. When the MWD is performed, the number of times that each counting zone is recorded, i.e., the number of times that the valid counting pulse occurs in each counting zone, is recorded separately for each predetermined time interval.
In step S130, a plurality of measurement vectors is constructed based on the number of times of each counting zone being recorded. Each of these measurement vectors is used to characterize the measurement results of all sectors.
Specifically, all the counting zones are divided into a plurality of groups, wherein the number of recording times per unit time for each counting zone in each group is used to construct a corresponding measurement vector. The number of the groups into which the counting zones are divided is the same as that of the counting zones into which each sector is divided, and each group of the counting zones is composed of the counting zones discontinuously extracted from each sector, wherein any adjacent counting zones in the same sector are not in the same group.
Preferably, as shown in
In addition, if each sector is divided equally into three or four counting zones in step S110, three or four measurement vectors with the same number of counting zones in each sector should be constructed in step S130. Considering practical applications, it is preferred to divide each sector equally into two or four counting zones.
In step S140, a correction matrix γ with a conditional number less than a set value is constructed using an optimization algorithm, wherein the correction matrix is used to correct the measurement data actually collected.
As shown in
Preferably, in this step, a correction matrix γ with a conditional number less than 10 is constructed with the following expression:
γ=γ1+γ2 (1)
wherein γ1 is expressed as follows:
and γ2 is expressed as follows:
wherein n denotes the number of the sectors to be measured by the gamma imaging tool, a denotes the adjustment coefficient, and [φ1, φ2, φ3, . . . , φ2n] denotes the vector of correction coefficients.
Preferably, with [φ1, φ2, φ3, . . . , φ2n] as the independent variable, the parameter vector φ is adjusted with an optimization algorithm of finding the maximum value. For example, the parameter vector φ that enables the conditional number ∥γ1+γ2∥*∥(γ1+γ2)−1∥ of γ=γ1+γ2 reaches or approaches the global minimum value, which must not be greater than 100, can be found by the particle algorithm, so that the vectors of [φ1, φ2, φ3, . . . , φ2n] satisfying the condition are brought into the matrix of γ=γ1+γ2, thus forming the optimal correction matrix.
In another embodiment, if four measurement vectors are established in step S130, expression (1) is then deformed as γ=γ1+γ2+γ3+γ4. Thus four matrices γ1, γ2, γ3, and γ4 as indicated in the following expressions are necessary, wherein the coefficients thereof are also adjusted. Through adjusting the parameter vector φ with the particle algorithm so that the conditional number ∥γ1+γ2+γ3+γ4∥ *∥ (γ1+γ2+γ3+γ4)−1∥ of γ=γ1+γ2+γ3+γ4 reaches or approaches the global minimum value, which is generally not greater than 100, the vectors satisfying the condition are substituted into the above deformed correction matrix.
Although, as shown in
In step S150, the gamma intensity of each measured sector is calculated with the multiple measurement vectors and the correction matrix as constructed, in order to complete the correction on the measurement data of the measured sector in each predetermined time interval.
The gamma intensity G of each measured sector is calculated with the following expression:
G=γ
−1·(M1+M2+ . . . +Mn) (4)
wherein Mn denotes the nth measurement vector, γ is the correction matrix, γ=γ1+γ2+ . . . +γn, and γn denotes the nth optimization matrix.
If two measurement vectors are constructed, the gamma intensity G of each measured sector is calculated with the first measurement vector M1, the second measurement vector M2 and the correction matrix γ.
Specifically, the gamma intensity G of each measured sector is calculated with the following expression:
G=γ
−1·(M1+M2).
If four measurement vectors are constructed, the expression is deformed as:
G=(γ1+γ2+γ3+γ4)−1·(M1+M2+M3+M4).
In summary, according to the multi-sector data correction method for gamma imaging while drilling as proposed in the embodiment of the present invention, a counting model is introduced and then optimized by a correction matrix, so as to obtain a more accurate gamma intensity of formation sectors. With this method, dynamic measurement distortion caused by the rotation of the MWD tool can be eliminated, thus improving the accuracy of calculating the formation dip angle from both theoretical limits and practical applications, and providing a solid foundation for high-precision geosteering technology and even intelligent drilling technology.
In order to better understand the technical method of the present invention, the specific steps of using the aforementioned multi-sector data correction method for gamma imaging while drilling will be illustrated in the following with eight sectors as shown in
In Step 1, in accordance with general practice in the industry, eight sectors to be measured by gamma imaging while drilling are numbered as A, B, C, H in sequence, and each sector to be measured is divided into two counting zones, numbered as 1, 2, 3, . . . , 16 in sequence, as shown in
In Step 2, during the operation of the gamma imaging tool, whenever the acquisition circuit receives a valid counting signal from the gamma sensor, the processor records the current tool face and adds 1 to the value of recording times of the counting zone corresponding to the tool face.
In Step 3, every 32 seconds, the counting value of the current counting zone is assigned to the vector M, wherein M=[m1, m2, m3, . . . , m16], and m1 corresponds to the value of recording times of pulse of the first counting zone, m2 corresponds to the value of recording times of pulse of the second counting zone, and so on. When the assignment is completed, the value of recording times of the counting zone is returned to zero.
In Step 4, the vector M is divided into two measurement vectors, i.e., M1 and M2, wherein M1=[m1, m3, m5, . . . , m15] and M2=[m2, m4, m6, . . . , m16].
In Step 5, a correction matrix γ=γ1+γ2 is constructed, wherein:
In Step 6, the minimum value of ∥γ1+γ2∥*∥(γ1+γ2)−1∥, which should be less than 10, is found through the particle algorithm with [φ1, φ2, φ3, . . . , φ16] as variables. Then, the vectors [φ1, φ2, φ3, . . . , φ16] satisfying the condition are brought into the matrix γ to form the optimal correction matrix.
In Step 7, the gamma intensity G=[GA GB GC . . . GH] of each sector is calculated with the following expression:
G=γ
−1·(M1+M2).
In Step 8, the procedure from Step 3 to Step 7 is repeated continuously, thus obtaining the corrected gamma intensity for the eight-sector formation.
A further comparison between the above two gamma imaging results is shown in
As shown in
The counting-zone dividing module 41, the pulse recording module 42, the measurement-vector constructing module 43, the correction-matrix establishing module 44 and the gamma-intensity calculating module 45 of the present embodiment can perform corresponding steps, i.e., steps S110-S150, of the method of the first embodiment respectively, with reasonable configurations. Therefore, details of these modules are not discussed here.
It should be understood that the embodiments of the present invention are not limited to the processing steps disclosed herein, but should extend to equivalent substitutions of these features understood by one ordinarily skilled in the art. It should also be understood that the terminology used herein is for the purpose of describing a particular embodiment only, rather than being construed as restriction.
The phrase “an embodiment” or “embodiments” as mentioned in the description means that the particular features, structures or characteristics described in conjunction with the embodiment or embodiments are included in at least one embodiment of the present invention. Thus, the phrase “an embodiment” or “embodiments” used throughout the description does not necessarily refer to the same embodiment.
Although the embodiments of the present invention are described hereinabove, the disclosure is provided to facilitate the understanding of the implementing mode of the present invention, but rather restricting the present invention. Without departing from the spirit and scope of the present disclosure, one skilled in the art can make various modifications and improvements in forms and details of the implementing mode. The scope of protection of the present invention shall be determined by the appending claims.
Number | Date | Country | Kind |
---|---|---|---|
202011107176.9 | Oct 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/123963 | 10/15/2021 | WO |