System and method for continuous wellbore surveying
12378873 ยท 2025-08-05
Inventors
Cpc classification
G01V11/00
PHYSICS
International classification
Abstract
The present invention provides non-transitory computer-readable media and systems are suitable for evaluating a dynamic wellbore azimuth and inclination measurement based on measurements acquired by a downhole tool capable of acquiring accelerometer (gravity) and magnetic field measurements representative of the earth's gravitational and magnetic fields. These non-transitory computer-readable media and systems can also be used for evaluating static inclination and azimuth measurements. These non-transitory computer-readable media and systems comprising the present invention provide an improvement over the prior art for their function and address many shortcomings of prior art.
Claims
1. A non-transitory computer-readable medium associated with a processor connected to a drilling apparatus when in use in a subterranean well during drilling of a wellbore, said medium storing one or more instructions that, when executed by said processor during said drilling, cause the processor to use an averaged transverse product magnitude based on signals measured by a gravity sensor and a magnetic sensor in said wellbore for evaluating one or more of the group: i) an inclination, and ii) an azimuth, which causes said drilling apparatus to use said inclination and/or azimuth to adjust during said drilling one or more of the group: i) a position of the wellbore, ii) a drilling direction of the wellbore, iii) a curvature of the wellbore, iv) a drilling speed, v) a drilling fluid circulation rate, vi) a well path.
2. The non-transitory computer-readable medium of claim 1 further comprising instructions that, when executed by the processor, cause the processor to evaluate the inclination or the azimuth using one or more of the group: i) one or more axial gravity values measured by the gravity sensor in the wellbore; or ii) one or more axial magnetic values measured by the magnetic sensor in the wellbore.
3. The non-transitory computer-readable medium of claim 1 further comprising instructions that, when executed by the processor, cause the processor to evaluate an offset based on sensor signals acquired while the magnetic sensor and the gravity sensor are rotating according to one or more of the equations:
i. =.sub.kw(k)
ii. =.sub.kw(k)
represents an averaged transverse gravity vector;
represents an averaged transverse magnetic vector;
4. The non-transitory computer-readable medium of claim 3 wherein the tapered window function is selected from the group: a Blackman window function, a Gaussian window function, a triangular window function, Parzen window function, Welch window function, Hann window function, and Hamming window function.
5. The non-transitory computer-readable medium of claim 1 wherein the signals are measured using a two-stage sampling system.
6. A non-transitory computer-readable medium associated with a processor connected to a drilling apparatus when in use in a subterranean well during drilling of a well bore, said medium storing one or more instructions that, when executed by said processor during said drilling, cause the processor to use an averaged transverse product magnitude based on signals measured by a gravity sensor and a magnetic sensor in said well bore for evaluating one or more of the group: i) an inclination, and ii) an azimuth, which causes said drilling apparatus to use said inclination and/or azimuth to adjust during said drilling one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the well bore, iv) a drilling speed, v) a drilling fluid circulation rate, vi) a well path: wherein the one or more instructions that, when executed by the processor, cause the processor to evaluate the inclination or the azimuth according to one or more of the group:
a. =a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
),
b. =a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2)
c. =a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2),
f. =a tan 2(S.sub.a,C.sub.a), wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents an averaged transverse cross product;
represents an averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
7. The non-transitory computer-readable medium of claim 6 wherein the averaged transverse product magnitude is evaluated using one or more of the group: a. a weighted average using a tapered window function, b. a Blackman window function, d. a correlation-based technique, and e. a selection.
8. The non-transitory computer-readable medium of claim 6 wherein the averaged transverse product magnitude is evaluated using one or more of the group: a. a weighted average using a tapered window function, b. a Blackman window function, c. a correlation-based technique, and d. a selection; and wherein the inclination or the azimuth are evaluated according to one or more of the group:
=a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
);
=a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a tan 2(S.sub.a,C.sub.a); wherein represents the inclination; a tan 2 is the arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents the averaged transverse magnetic field magnitude;
g.sub.zd
represents the averaged axial gravity measurement; a cos represents the arc cosine function; a sin represents the arc sine function; S.sub.a represents the sine of the azimuth; C.sub.a represents the cosine of the azimuth;
represents the averaged transverse cross product;
represents the averaged transverse dot product;
h.sub.z
represents the averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents the axial magnetic field value based on the axial gravity measurement, the transverse gravity measurement, the transverse magnetic measurement, and the predetermined magnetic dip angle; and y represents the azimuth.
9. A non-transitory computer-readable medium associated with a processor connected to a drilling apparatus when in use in a subterranean well during drilling of a wellbore, said medium storing one or more instructions that, when executed by said processor during said drilling, cause the processor to use an averaged transverse product magnitude based on signals measured by a gravity sensor and a magnetic sensor in said wellbore for evaluating one or more of the group: i) an inclination, and ii) an azimuth, which causes said drilling apparatus to use said inclination and/or azimuth to adjust during said drilling one or more of the group: i) a position of the wellbore, ii) a drilling direction of the wellbore, iii) a curvature of the wellbore, iv) a drilling speed, v) a drilling fluid circulation rate, vi) a well path; wherein the one or more instructions that, when executed by the processor, cause the processor to evaluate the averaged transverse product magnitude according to one or more of the equations:
a. g.sub.Tdh.sub.Td
=(E(r.sub.3)/E(r.sub.0)).sup.1/2, and
b. g.sub.Tdh.sub.Td
=
.sup.2+
.sup.2; wherein
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
represents an averaged transverse cross product;
represents an averaged transverse dot product; E(r.sub.3) represents an energy of a correlation between a transverse gravity vector and a transverse magnetic vector; and, E(r.sub.0) represents an energy of a sensor rotation coherence.
10. The non-transitory computer readable medium of claim 9 wherein the non-transitory computer-readable medium is selected from one or more of the group: a random-access memory device; a read-only memory device; a flash memory device; a hard drive; a compact disc; a digital versatile disc; a magnetic tape; a network attached storage device; and, a hard drive; and wherein the one or more instructions that, when executed by the processor, cause the processor to evaluate the inclination or the azimuth according to one or more of the group:
a. =a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
),
b. =a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2)
c. =a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2),
f. =a tan 2(S.sub.a,C.sub.a), wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents the averaged transverse cross product;
represents the averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
11. The non-transitory computer-readable medium of claim 9 further comprising instructions that, when executed by the processor, cause the processor to evaluate the averaged transverse product magnitude using the averaged transverse dot product and the averaged transverse cross product; and further comprising instructions that, when executed by the processor, cause the processor to use one or more axial gravity values in determining an axial magnetic value according to the equation:
ii. a=g.sub.Tdh.sub.Td
.sup.2 sin.sup.2(D)/
h.sub.Td
.sup.2
g.sub.zd
.sup.2 cos.sup.2(D)
iii. b=2g.sub.zd
iv. c=.sup.2+
g.sub.zd
.sup.2
h.sub.Td
.sup.2 sin.sup.2(D)
g.sub.Tdh.sub.Td
.sup.2 cos.sup.2(D); and wherein
h.sub.zd(a, b, c)
represents the axial magnetic value;
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude; sin represents a sine function; cos represents a cosine function; D represents a predetermined magnetic dip value;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement;
represents the averaged transverse cross product; and
g.sub.Td*h.sub.Td
represents the averaged transverse dot product.
12. The non-transitory computer-readable medium of claim 11 further comprising instructions that, when executed by the processor, cause the processor to: a. evaluate the averaged transverse dot product using a plurality of transverse magnetic vectors and a plurality of transverse gravity vectors measured by the magnetic sensor and the gravity sensor in the wellbore; and b. evaluate the averaged transverse cross product using the plurality of transverse magnetic vectors and the plurality of transverse gravity vectors measured by the magnetic sensor and the gravity sensor in the wellbore.
13. The non-transitory computer-readable medium of claim 12 further comprising instructions that, when executed by the processor, cause the processor to: a. determine the axial magnetic value using the plurality of transverse magnetic vectors, the plurality of transverse gravity vectors, and the predetermined magnetic dip value; and/or b. evaluate the azimuth using the axial magnetic value.
14. The non-transitory computer readable medium of claim 9 wherein the non-transitory computer-readable medium is selected from one or more of the group: a random access memory device; a read-only memory device; a flash memory device; a hard drive; a compact disc; a digital versatile disc; a magnetic tape; a network attached storage device; and, a hard drive; and wherein the one or more instructions that, when executed by the processor, cause the processor to evaluate the inclination or the azimuth according to one or more of the group:
=a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
);
=a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a tan 2(S.sub.a,C.sub.a); wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents the averaged transverse cross product;
represents the averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
15. The non-transitory computer-readable medium of claim 9 further comprising instructions that, when executed by the processor, cause the processor to evaluate the averaged transverse product magnitude using the averaged transverse dot product and the averaged transverse cross product; and further comprising instructions that, when executed by the processor, cause the processor to use one or more axial gravity values in determining an axial magnetic value according to the equation:
ii. a=g.sub.Tdh.sub.Td
.sup.2 sin.sup.2(D)/
h.sub.Td
.sup.2
g.sub.zd
.sup.2 cos.sup.2(D)
iii. b=2g.sub.zd
iv. c=.sup.2+
g.sub.zd
.sup.2
h.sub.Td
.sup.2 sin.sup.2(D)
g.sub.Tdh.sub.Td
.sup.2 cos.sup.2(D); and wherein
h.sub.zd(a,b,c)
represents the axial magnetic value;
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude; sin represents a sine function; cos represents a cosine function; D represents a predetermined magnetic dip value;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement;
represents the averaged transverse cross product; and
represents the averaged transverse dot product.
16. A non-transitory computer-readable medium associated with a processor connected to a drilling apparatus when in use in a subterranean well during drilling of a well bore, said medium storing one or more instructions that, when executed by said processor during said drilling, cause the processor to use an averaged transverse product magnitude based on signals measured by a gravity sensor and a magnetic sensor in said well bore for evaluating one or more of the group: i) an inclination, and ii) an azimuth, which causes said drilling apparatus to use said inclination and/or azimuth to adjust during said drilling one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the well bore, iv) a drilling speed, v) a drilling fluid circulation rate, vi) a well path: further comprising instructions that, when executed by the processor, cause the processor to evaluate the averaged transverse product magnitude using an averaged transverse dot product and an averaged transverse cross product: further comprising instructions that, when executed by the processor, cause the processor to: a. evaluate the averaged transverse dot product using a plurality of transverse magnetic vectors and a plurality of transverse gravity vectors measured by the magnetic sensor and the gravity sensor in the wellbore; and b. evaluate the averaged transverse cross product using the plurality of transverse magnetic vectors and the plurality of transverse gravity vectors measured by the magnetic sensor and the gravity sensor in the wellbore: further comprising instructions that, when executed by the processor, cause the processor to: a. determine an axial magnetic value using the plurality of transverse magnetic vectors, the plurality of transverse gravity vectors, and a Predetermined magnetic dip value, and/or b. evaluate the azimuth using the axial magnetic value; and further comprising instructions that, when executed by the processor, cause the processor to use one or more axial gravity values in determining the axial magnetic value according to the equation:
viii. a=g.sub.Tdh.sub.Td
.sup.2 sin.sup.2(D)/
h.sub.Td
.sup.2
g.sub.zd
.sup.2 cos.sup.2(D)
ix. b=2g.sub.zd
x. c=.sup.2+
g.sub.zd
.sup.2
h.sub.Td
.sup.2 sin.sup.2(D)
g.sub.Tdh.sub.Td
.sup.2 cos.sup.2(D), and wherein
h.sub.zd(a,b,c)
represents the axial magnetic value;
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude; sin represents a sine function; cos represents a cosine function; D represents the predetermined magnetic dip value;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement;
represents the averaged transverse cross product; and
represents the averaged transverse dot product.
17. A system for wellbore surveying comprising: a. a processor; b. a non-transitory computer-readable medium storing one or more instructions that, when executed by the processor, cause the processor to: i. evaluate an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by a magnetic sensor in a wellbore and a sequence of transverse gravity vectors measured by a gravity sensor in the wellbore; and, ii. use the average transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth; and c. a drilling apparatus that uses said inclination and/or azimuth during drilling to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the wellbore, iv) a drilling speed, v) a drilling fluid circulation rate, and vi) a well path.
18. A system for wellbore surveying comprising: a. a processor; b. a non-transitory computer-readable medium storing one or more instructions that, when executed by the processor, cause the processor to: i. evaluate an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by a magnetic sensor in a wellbore and a sequence of transverse gravity vectors measured by a gravity sensor in the wellbore; and, ii. use the average transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth; and c. a drilling apparatus that uses said inclination and/or azimuth during drilling to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the wellbore, iv) a drilling speed, v) a drilling fluid circulation rate, and vi) a well path; wherein the averaged transverse product magnitude is evaluated according to one or more of the group:
d. g.sub.Tdh.sub.Td
=(E(r.sub.3)/E(r.sub.0)).sup.1/2, and
e. g.sub.Tdh.sub.Td
=
.sup.2+
.sup.2; wherein
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
represents an averaged transverse cross product;
represents an averaged transverse dot product; E(r.sub.3) represents an energy of a correlation between a transverse gravity vector and a transverse magnetic vector; and, E(r.sub.0) represents an energy of a sensor rotation coherence.
19. A system for wellbore surveying comprising: a. a processor; b. a non-transitory computer-readable medium storing one or more instructions that, when executed by the processor, cause the processor to: i. evaluate an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by a magnetic sensor in a wellbore and a sequence of transverse gravity vectors measured by a gravity sensor in the wellbore; and, ii. use the average transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth; and c. a drilling apparatus that uses said inclination and/or azimuth during drilling to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the wellbore, iv) a drilling speed, v) a drilling fluid circulation rate, and vi) a well path; wherein the inclination or the azimuth are evaluated according to one or more of the group:
=a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
);
=a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a tan 2(S.sub.a,C.sub.a); wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents an averaged transverse cross product;
represents an averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
20. A system for wellbore surveying comprising: a. a magnetic sensor in a wellbore; b. a gravity sensor in the wellbore; c. a means for evaluating an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by the magnetic sensor and a sequence of transverse gravity vectors measured by the gravity sensor; and, d. a means for using the averaged transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth; e. a means for using the inclination or azimuth during drilling the well bore to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the well bore, iv) a drilling speed, v) a circulation rate, and vi) a well path.
21. The system of claim 20 wherein the sequence of transverse magnetic vectors and the sequence of transverse magnetic vectors is measured using a two-stage sampling system.
22. A system for wellbore surveying comprising: a. a magnetic sensor in a wellbore; b. a gravity sensor in the wellbore; c. a means for evaluating an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by the magnetic sensor and a sequence of transverse gravity vectors measured by the gravity sensor; and, d. a means for using the averaged transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth; e. a means for using the inclination or azimuth during drilling the well bore to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the well bore, iv) a drilling speed, v) a circulation rate, and vi) a well path; wherein the averaged transverse product magnitude is evaluated according to one or more of the group:
g.sub.Tdh.sub.Td
=(E(r.sub.3)/E(r.sub.0)).sup.1/2; and
g.sub.Tdh.sub.Td
=
.sup.2+
.sup.2; wherein
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
represents an averaged transverse cross product;
represents an averaged transverse dot product; E(r.sub.3) represents an energy of a correlation between a transverse gravity vector and a transverse magnetic vector; and, E(r.sub.0) represents an energy of a sensor rotation coherence.
23. A system for wellbore surveying comprising: a. a magnetic sensor in a wellbore; b. a gravity sensor in the wellbore; c. a means for evaluating an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by the magnetic sensor and a sequence of transverse gravity vectors measured by the gravity sensor; and, d. a means for using the averaged transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth; e. a means for using the inclination or azimuth during drilling the well bore to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the well bore, iv) a drilling speed, v) a circulation rate, and vi) a well path; wherein the inclination or the azimuth are evaluated according to one or more of the group:
=a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
);
=a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
=a tan 2(S.sub.a,C.sub.a); wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents an averaged transverse cross product;
represents an averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
24. A system for wellbore surveying comprising: a. a processor; b. a non-transitory computer-readable medium storing one or more instructions that, when executed by the processor, cause the processor to: i. evaluate an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by a magnetic sensor in a wellbore and a sequence of transverse gravity vectors measured by a gravity sensor in the wellbore according to one or more of the group:
a. g.sub.Tdh.sub.Td
=(E(r.sub.3)/E(r.sub.0)).sup.1/2, and
b. g.sub.Tdh.sub.Td
=
.sup.2+
.sup.2; wherein
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
represents an averaged transverse cross product;
represents an averaged transverse dot product; E(r.sub.3) represents an energy of a correlation between a transverse gravity vector and a transverse magnetic vector; and, E(r.sub.0) represents an energy of a sensor rotation coherence; and ii. use the average transverse product magnitude to evaluate one or more of the group: a) an inclination, and b) an azimuth; c. a means for using the inclination or azimuth during drilling to adjust one or more of the group: i) a position of the wellbore, ii) a drilling direction of the well bore, iii) a curvature of the well bore, iv) a drilling speed, v) a circulation rate, and vi) a well path.
25. The system of claim 24 wherein the inclination or the azimuth are evaluated according to one or more of the group:
a. =a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
),
b. =a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2)
c. =a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2),
=a tan 2(S.sub.a,C.sub.a), wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.Td
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents an averaged transverse cross product;
represents an averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd (a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
26. A system for wellbore surveying including: a. a magnetic sensor in a wellbore; b. a gravity sensor in the wellbore; c. a means for evaluating an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by the magnetic sensor and a sequence of transverse gravity vectors measured by the gravity sensor; wherein, the averaged transverse product magnitude is evaluated according to one or more of the group:
g.sub.Tdh.sub.Td
=(E(r.sub.3)/E(r.sub.0)).sup.1/2, and
g.sub.Tdh.sub.Td
=
.sup.2+
.sup.2; wherein
g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
represents an averaged transverse cross product;
represents an averaged transverse dot product; E(r.sub.3) represents an energy of a correlation between a transverse gravity vector and a transverse magnetic vector; and, E(r.sub.0) represents an energy of a sensor rotation coherence; and d. a means for using the averaged transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth, and e. a means for using the inclination or azimuth during drilling the well bore to adjust one or more of the group: i) a position of the well bore, ii) a drilling direction of the well bore, iii) a curvature of the wellbore, iv) a drilling speed, v) a circulation rate, and vi) a well path.
27. The system of claim 26 wherein the inclination or the azimuth are evaluated according to one or more of the group:
a. =a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
);
b. =a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
c. =a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2);
f. =a tan 2(S.sub.a,C.sub.a); wherein represents the inclination; a tan 2 is an arctangent function; g.sub.Tdh.sub.Td
represents the averaged transverse product magnitude;
h.sub.Td
represents an averaged transverse magnetic field magnitude;
g.sub.zd
represents an averaged axial gravity measurement; a cos represents an arc cosine function; a sin represents an arc sine function; S.sub.a represents a sine of the azimuth; C.sub.a represents a cosine of the azimuth;
represents an averaged transverse cross product;
represents an averaged transverse dot product;
h.sub.zd
represents an averaged axial magnetic measurement;
h.sub.zd(a,b,c)
represents an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle; and represents the azimuth.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The novel features believed characteristic of the illustrative embodiments are set forth in the appended claims. The illustrative embodiments, however, as well as a preferred mode of use, further objectives and features thereof, will best be understood by reference to the following detailed description of an illustrative embodiment of the present invention when read in conjunction with the accompanying drawings, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
SUMMARY
(14) The present invention provides a non-transitory computer-readable medium storing one or more instructions that, when executed by a processor, cause the processor to use an averaged transverse product magnitude based on signals measured by a gravity sensor and a magnetic sensor in a wellbore for evaluating one or more of the group: i) an inclination, and ii) an azimuth.
(15) The present invention also provides a system for wellbore surveying including a processor, a non-transitory computer-readable medium storing one or more instructions that, when executed by the processor, cause the processor to: evaluate an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by a magnetic sensor in a wellbore and a sequence of transverse gravity vectors measured by a gravity sensor in a wellbore; and, use the average transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth.
(16) The present invention further provides a system for wellbore surveying including a magnetic sensor in a wellbore; a gravity sensor in a wellbore; a means for evaluating an averaged transverse product magnitude using a sequence of transverse magnetic vectors measured by the magnetic sensor and a sequence of transverse gravity vectors measured by the gravity sensor; and, a means for using the averaged transverse product magnitude to evaluate one or more of the group: i) an inclination, and ii) an azimuth.
DETAILED DESCRIPTION
(17) A first object of the present invention is to evaluate a transverse gravity or transverse magnetic sensor offset without: 1) requiring a prior gravity or magnetic field magnitude; 2) using an adaptive filter; 3) requiring a sensor offset to be constant over an entire logging run; 4) combining data from more than one sensor; or, 5) solving nonlinear equations. This objective is achieved according to the invention by forming a weighted sum of a sequence of sensor data wherein the weights correspond to a tapered window function. In a preferred embodiment for practicing this invention, this objective is accomplished using weights determined by a Blackman window function and applying them to form a weighted sum of data acquired while a transverse sensor is rotating.
(18) A second object of the present invention is to evaluate an axial magnetic field (or an axial sensor offset) without: 1) using a plurality of static gravity tool face angle measurements in an inclined wellbore over various rotational orientations of the drill string; 2) a predetermined magnetic field magnitude; 3) resorting to a numerical equation solver, especially for equations with multiple solutions; 4) attempting to determine which of several ambiguous solutions for an azimuth angle is correct given a sign ambiguity in each one; 5) invoking a drill string magnetization model; 6) using an adaptive filter; or, 7) requiring local magnetic anomalies to be constant over an entire logging run. In a preferred embodiment for practicing the invention, an axial magnetic sensor offset is evaluated using the quadratic formula with a dependence on a predetermined magnetic dip value. Rotating sensor data are not required, but may be used advantageously to, for example, reduce effects of a transverse sensor offset. A so-determined axial magnetic sensor offset is determined under favorable dynamic conditions and retained in memory so that it can be applied to incoming axial magnetic measurements in a preferred embodiment of the invention.
(19) A third object of this invention is to evaluate reliable estimates for an inclination and an azimuth angle under dynamic conditions without a predetermined: 1) total gravity magnitude; 2) total magnetic field magnitude; 3) transverse gravity magnitude; and, 4) transverse magnetic field magnitude. Accurate dynamic inclinations or azimuths can be based entirely on data acquired under dynamic conditions. In a preferred embodiment for practicing this invention, an averaged transverse product magnitude is evaluated and used in novel formulas for the inclination and the azimuth. Formulas for the inclination are introduced with a dependency on transverse magnetic measurements. Preferred formulas of the invention for the azimuth angle have a different dependence on averaged gravity and magnetic measurements than do prior art formulas. To the knowledge of the inventor, an inclination measurement with a dependence on a magnetic measurement does not exist in the prior art. One advantage of using an averaged transverse product magnitude is that time-dependent errors on the dynamic transverse magnetic measurements tend to be small which makes them useful for estimating a transverse gravity magnitude.
(20) A fourth object of the present invention to provide transverse gravity and transverse magnetic measurements without a relative phase error caused by sensor rotation. This object is achieved using a two-stage sampling procedure that includes a prior art calibration. In a preferred embodiment, each sensor signal passes through an analog low-pass filter, is digitized, digitally filtered, and calibrated before combining with a signal from a different sensor. Preferably, the digital filter output is sampled at a lower frequency than the data were digitized because the digital filtering operation reduces the Nyquist frequency, and the digital filter is a finite impulse response, low pass filter.
(21) Statements that rotation-induced eddy currents contribute to this relative phase error are doubted because the device rotates about the axis which is the wrong geometry to induce eddy currents that would not cancel out over each revolution. Furthermore, a numerical calculation shows that such eddy currents would produce magnetic fields too weak to cause an adverse impact on a wellbore survey.
(22) An important purpose of wellbore azimuth and inclination measurements is to estimate the tangent vector to the wellbore in a reference coordinate system. This enables evaluation of a wellbore trajectory using a number of tangent vector estimates in conjunction with corresponding distances along the wellbore axis. The reference coordinate system used in most practical applications has a z-axis parallel to the Earth's gravity vector and an x-axis in the direction of magnetic north. Differences between true and magnetic north are trivial to account for because the correction amounts to adding a constant angle to a wellbore azimuth measurement, the constant angle being the difference between true and magnetic north.
(23) Systems and methods for acquiring representative values of the Earth's gravity vector using accelerometer measurements and the Earth's magnetic field using magnetometer measurements are known to those of ordinary skill in the art. The method and system presented here is applicable to measurements acquired by such systems. Typically, such a system comprises a three-axis accelerometer, a three-axis magnetometer, a processor for executing instructions, a memory module for storing data, and a communications module for transmitting measurements and processed results to a telemetry system to send to the surface. In many instances, measurements will be processed in the subsurface measurement apparatus and the results transmitted to the surface via mud pulse telemetry. Alternatively, the measurements or partially processed results can be transmitted to the surface and processed by a processor there.
(24)
(25) 1 Coordinate Systems, Coordinate Transformations, and Transverse Vectors
(26) In order to explain the operation of the present invention, it is helpful to express the Earth's gravity vector,
(27)
(28) From equation (1.1), it is clear that: 1) the gravity vector is aligned with the positive z.sub.r-axis; and, 2) the magnetic vector lies in the x.sub.r-z.sub.r plane. This is consistent with the convention that the z.sub.r-axis is down and the x.sub.r-axis is in the direction of magnetic north. This choice of reference coordinate system is arbitrary and any other choice for the reference coordinate system is equivalent for the purposes of this invention. It is common to define
(29) A vector,
(30)
The matrix
(31) Similarly, a vector
(32)
The matrix
(33) A tangent vector to a wellbore expressed in the reference coordinate system is
(34)
(35) A transverse vector can be conveniently defined as the x and y-components of a vector. For example, a vector
(36)
The z-component of a vector is referred to as an axial component or an axial value given that it is in the axial direction. This notation is helpful because vector operations in a transverse plane are used extensively in this specification.
2 Gravity and Magnetic Vectors Device Coordinate System
(37) Applying the coordinate transformations (1.3) to
(38)
(39) The transverse components of
(40)
3 Reference Values, Transverse Vector Operations, and Prior Art Inclination and Azimuth Formulas
(41) The present invention can be practiced with any means for determining
(42) Those persons of ordinary skill in the art are able to make such corrections by means of mathematical models or via the use of tabulated data. Alternatively, those persons of ordinary skill in the art will understand that appropriate reference values can be estimated directly from subsurface measurements, and if necessary, corrections can also be applied to those values. For example, the following quantities derived from dot and cross-products involving
|
|
|
where the symbols .Math. and respectively represent a dot product and a cross product. These quantities are invariant under the coordinate transformations discussed above; so, it is not necessary to denote which coordinate system the underlying
Transverse Vector Operations.
(43) Per equation (1.5), transverse gravity and magnetic vectors are
Transverse magnetic magnitude: h.sub.r=|
Transverse gravity magnitude: g.sub.T=|
Transverse dot product:
Transverse cross product:
Transverse product magnitude: g.sub.Th.sub.T={square root over ((
The angle B is known as a tool face offset. This angle can be determined using a four-quadrant (or two-argument) arctangent function,
Tool face offset: B=a tan 2(
(44) This arctangent function does not require its arguments to be normalized such that their squares sum to one. Use of an arctangent function with two arguments requiring normalized arguments or any other arctangent function is equivalent for the purpose of practicing any embodiment of this invention. A tool face offset is not computed, evaluated, or used in the practice of this invention. It is defined here for completeness because it is a commonly-referenced quality control measure in wellbore surveying.
(45) The term transverse product magnitude will be used to refer to a value for g.sub.Th.sub.T evaluated according to (3.2). A transverse product magnitude is independent of a tool face offset. An averaged transverse product magnitude can be evaluated using averaged transverse dot product and an averaged transverse cross product.
(46) Prior Art Inclination and Azimuth Formulas.
(47) Prior art estimates of an inclination angle are based upon one or more measured gravity values and no magnetic measurements. This prior art approach is problematic because the prior art formulas such as
cos()=g.sub.zd/g,(3.4a)
sin()=g.sub.Td/g, or(3.4b)
tan()=g.sub.Td/g.sub.zd(3.4c)
all require a gravity magnitude estimate or a transverse gravity magnitude estimate to be derived from a set of measured gravity vectors. However, in a dynamic setting, shock and vibration effects do not readily average out of magnitude calculations because the errors in the individual measurements are squared and do not tend to cancel out when they are aggregated. A typical solution for this is to evaluate a gravity magnitude based on static data and then evaluate a dynamic transverse gravity magnitude using the formula
g.sub.Td={square root over (g.sup.2g.sub.zd.sup.2)}.(3.5)
However, this solution results in static data being required for a dynamic inclination which poses practical problems because measurement errors are not the same in static and dynamic conditions.
(48) Prior art estimates for an azimuth angle are typically evaluated according to the formula
=a tan 2(g
which has a problematic dependency on various gravity magnitudes for dynamic applications. Challenges with magnetic interference have also been known, especially with systematic errors on h.sub.zd, in high latitudes or during horizontal drilling in close to an easterly or westerly direction. Transverse sensor offsets are also known to adversely impact the quality of inclination and azimuth measurements. Transverse sensor offsets are thus very difficult to estimate according to prior art based data acquired under static conditions because the sensor is not rotating.
4 Measured Values and Error Suppression
(49) Gravity and magnetic vectors in a device coordinate system specify a dependence of a measured gravity or magnetic vector on the inclination and azimuth angles. In the absence of measurement errors, an inclination and azimuth could be determined accurately based on a single measurement of a gravity and a magnetic vector and a prior art inclination and azimuth formula.
(50) In practice, a measured gravity vector
(51)
where the vectors
(52) A plurality of measurements is useful for suppressing effects of measurement errors on an inclination or an azimuth measurement. Therefore, it is advantageous to acquire multiple measured vectors over a time interval. The time interval will be referred to as a processing window. The present invention can be practiced with any processing window.
(53) In a preferred embodiment for practicing this invention: the processing window is 40.96 seconds long; a value for
(54) The offsets in equations (4.1a) and (4.1b) are referred to as residual because, given an ideal measurement calibration, they would be negligible. A residual offset is expected when using a prior art calibration method. Examples of things that can cause a calibration error include an error in a reference field value, an error in the orientation of the sensor during calibration, human error, perturbations to a magnetic measurement caused by magnetic material in a bottom hole assembly, or damage to electrical or mechanical components in the measurement apparatus.
(55) Some of the measurements in a processing window may be excluded from subsequent calculations. Those persons of ordinary skill in the art are familiar with means for excluding unrepresentative data from calculations. For example, a quantile filter that removes outlying data points from a set of data is applicable for this purpose. Alternatively, data corresponding to some number of standard deviations beyond a mean value can be excluded, etc. Instead of excluding undesirable members of a set of measurements, a quantile filter can alternatively be used to select a desirable member of a set such one close to a median or mean value. Even though as few as one of a plurality of measurements may be selected by such means, the use of a quantile filter requires multiple data points; so, any such selection is a combination of multiple data points that can change if more data are added to the plurality or taken away from the plurality of data. A preferred embodiment for practicing this invention is to simply use the data in the processing window without attempting to remove lesser-quality samples or identify a suitable sample.
(56) A set of measurements acquired over a processing window will be enclosed by brackets to indicate an average, aggregation, selection from, or other combination of the set of measurements. A bracketed quantity with a subscript d indicates a quantity in the device coordinate system suitable to use for evaluating an inclination or azimuth. A quantity within brackets assigned a subscript m represents an average, aggregation, or combination of a set of measurements. For example, the equation=
.Math.
represents an averaged dot product of transverse gravity and magnetic vectors that is a proxy for the value of the averaged dot product in the device coordinate system fit for use in an inclination or azimuth measurement. It is based on an averaged set of measured transverse dot products, and the dot product of estimated offset vectors estimated according to
.
Transverse Sensor Offsets.
(57) Data windowing using a tapered window function is a signal processing technique applicable for determining a transverse sensor offset. Windowing a sequence of measurements produces a weighted average of the sequence that is weighted more heavily toward the center than at the ends. A tapered window function is useful for mitigating end effects that result from a finite processing window. In a preferred embodiment for practicing this invention, a transverse sensor offset is determined using measurements acquired while a sensor is rotating. Weights determined by a suitable window function such as a Blackman window result in an acceptable approximation to a transverse sensor offset. In a preferred embodiment for practicing this invention, a Blackman window of length 4096, is effective to evaluate sensor offsets large enough to impact an inclination or azimuth calculation.
(58) As a sensor rotates, the noise varies, and the offsets are approximately constant over the processing window. To an acceptable approximation,=.sub.kw(k)
=.sub.kw(k)
The summation index, k, runs from 0 to N1 in (4.2). The coefficients, w(k), represent the tapered window function,
(59) The Blackman window is especially useful because it is simple and effective. Other common tapered window functions are a Gaussian window, triangular window, Parzen window, Welch window, Hann window, Hamming window, and more described in https://en.wikipedia.org/wiki/Window_function.
(60) The weights for a Blackman window function are defined by the equation,
p(k)=0.420.5 cos(2(k1)/(N1))+0.08 cos(4(k1)/(N1)),(4.3a)
w(k)=p(k)/.sub.kp(k).(4.3b)
The denominator of (4.3b) is a normalization factor that ensuring that .sub.kw(k)=1.
(61) In a preferred embodiment for practicing this invention, the approximated offsets and
are stored in memory and subtracted from their respective transverse vector on command. In most practical scenarios, the transverse offsets vary slowly in time and need not be evaluated as frequently as an inclination or azimuth value is required.
(62) A rectangular window function has equal weights that are not tapered. Its use results in a simple arithmetic average of the data and the results are less accurate because a measurement sequence is truncated at both ends of the processing window. Thus, using a rectangular window for this application is not desirable for the purpose of estimating a transverse sensor offset, especially when the processing window encompasses only a few revolutions of the sensor.
(63)
(64) h.sub.xm
evaluated according to equation (4.2b). The top panel in
h.sub.xm
=0.29980 uT. A simple arithmetic average of unweighted data results in an estimate of 0.4 uT for the offset, over a 30% error.
(65) Noise Reduction on Quantities Derived from Transverse Fields.
(66) In a preferred embodiment for practicing this invention, the same window function used to approximate the sensor offsets and
is applied in evaluating averaged transverse dot and cross products of
=
.Math.
(4.4a)
=
(4.4b)
(67) Equations (4.4a) and (4.4b) are respectively useful for suppressing adverse effects caused by time-dependent measurement errors. In (4.4),=.sub.kw(k)
=.sub.kw(k)
(68) It follows that an averaged transverse product magnitude is:g.sub.Tdh.sub.TD
=
.sup.2+
.sup.2.(4.6)
(69) An averaged transverse product magnitude is useful for an averaged g.sub.Td
given an averaged value for
h.sub.Td
, or for approximating an averaged
h.sub.Td
given a value for averaged
g.sub.Td
given the definition:
g.sub.Td
h.sub.Td
=
g.sub.Tdh.sub.Td
(4.7)
(70) In a preferred embodiment for practicing this invention, a value for g.sub.Td
is evaluated by dividing an averaged transverse product magnitude by a value for
h.sub.Td
. This is a much better way to evaluate an averaged transverse gravity magnitude than averaging a sequence of transverse gravity magnitude values because
h.sub.Td
can be evaluated to an acceptable accuracy in nearly all practical cases because the noise vector associated with
(71) In a preferred embodiment for practicing this invention,h.sub.Td
=([.sub.kw(k)
.Math.
).sup.0.5. (4.8)
Various products of sensor offsets subtracted from the weighted sums in equations (4.4a), (4.4b), and (4.8). Because the sensor offsets tend to be small quantities and they are multiplied together, their products tend to be very small and can be ignored in many cases. Though this is not a preferred embodiment for practicing the invention, it is simpler and provides adequate accuracy in many practical circumstances. Thus, an alternative embodiment is to respectively replace (4.4a), (4.4b), and (4.8) with:=
,(4.9a)
=
, and(4.9b)
h.sub.Td
={square root over (
h.sub.Tm.Math.h.sub.Tm
)}.(4.9c)
(72) The preferred embodiments are equally applicable to static and dynamic scenarios. Embodiments involving (4.9a)-(4.9c) have the potential to be more susceptible to residual transverse sensor offsets if the device is not rotating, but acceptable practical results may be achieved in many cases of interest even if the device is not rotating.
(73) The sensor offsets are evaluated using a tapered window function. Though it is preferable to evaluate averaged dot and cross products of the transverse gravity and magnetic measurements using that tapered window function, the present invention can be practiced with any means for averaging, aggregating, combining, or selecting a member of a set of measured transverse dot and cross products. This is also true for evaluating a transverse magnetic magnitude where a preferred embodiment is to use equation (4.8), but the invention can be practiced with any means for evaluating an average, aggregation, combination, or selecting a member of a set of transverse magnetic measurements leading to an estimate for a transverse magnetic magnitude. To the extent that a tapered window function is a limitation on the invention, it is a limitation only for evaluating a transverse sensor offset.
(74) g.sub.Td
=
g.sub.Tdh.sub.Td
/
h.sub.Td
against a prior art average of transverse gravity values using equation (3.2b). The estimate using the averaged transverse product magnitude can't be distinguished from the correct values which are also displayed in
(75) An alternative missing in the prior art is the use of correlation detection to evaluate a transverse field magnitude or a transverse product magnitude. This is discussed in detail below under the heading, Transverse field correlations and enhanced noise rejection..
(76) Axial Magnetic Offset.
(77) Axial magnetic measurements have to be especially accurate because, in many practical scenarios, even a small calibration error on an axial magnetic measurement can make a big impact on an estimated azimuth angle. A novel equation for evaluating an axial magnetic field value based on an axial gravity measurement, a transverse gravity measurement, a transverse magnetic measurement, and a predetermined magnetic dip angle is useful for this purpose. This equation is
(78)
a=g.sub.Td.sup.2 sin.sup.2(D)g.sub.zd.sup.2 cos.sup.2(D),(4.10b)
b=2g.sub.zd
c=(
the constant D is a known magnetic dip value determined using prior art. Equation (4.10a) is means for evaluating an axial magnetic field without a predetermined value for a magnetic field magnitude. A value for h.sub.zd(a, b, c)
estimated using equations (4.10a), (4.10b), (4.10c), and (4.10d) can be used directly in a formula for an azimuth angle in the practice of this invention. Alternatively, a sensor offset can be evaluated by subtracting a h.sub.z-value evaluated according to (4.10) from a measurement of h.sub.zm.
(79) In a preferred embodiment for practicing this invention, an averaged measurement h.sub.zm
is used to evaluate the axial offset according to the equation
h.sub.z=h.sub.zm
h.sub.zd(a,b,c)
,(4.11)
where the h.sub.zm
can be any combination of more than one h.sub.zm values or even a single h.sub.zm value, but is most advantageously evaluated according to the formula
h.sub.zm
=.sub.kw(k)h.sub.zm(k),(4.12)
where the sum is evaluated in the same manner in equation (4.2a) and (4.2b), and the same tapered window function is used. Typically, this sensor offset varies slowly over time and need not be evaluated frequently. Thus, a value for h.sub.z can be evaluated under advantageous dynamic conditions, stored in memory, and applied to data acquired over another processing window.
(80) In a preferred embodiment for practicing this invention, a transverse magnitude product is used, and
a=g.sub.Tdh.sub.Td
.sup.2 sin.sup.2(D)/
h.sub.Td
.sup.2
g.sub.zd
.sup.2 cos.sup.2(D),(4.13a)
b=2g.sub.zd
,(4.13b)
c=.sup.2+
g.sub.zd
.sup.2
h.sub.Td
.sup.2 sin.sup.2(D)
g.sub.Tdh.sub.Td
.sup.2 cos.sup.2(D), and(4.13c)
g.sub.zd
=
g.sub.zm
=.sub.kw(k)g.sub.zm(k),(4.13d)
where g.sub.zd
in equation (4.13d) is evaluated in the same manner explained for equations (4.2a) and (4.2b). Given a value for h.sub.z determined as described above, an estimate for
h.sub.zd
that can be used in evaluating an azimuth is
h.sub.zd
=
h.sub.zm
h.sub.z,(4.14)
where h.sub.zm
represents an average of axial magnetic measurements, preferably evaluated using a tapered window function, and h.sub.z may be predetermined or evaluated contemporaneously with
h.sub.zm
in (4.14). In the contemporaneous case, equation (4.14) is equivalent to assigning
h.sub.zd
=
h.sub.zd(a, b, c)
. Any estimate for
h.sub.zd
with a dependency on
h.sub.zd(a, b, c)
in a prior art azimuth formula is novel and useful.
(81) In practice, the sign ambiguity in equation (4.10a) can be resolved by evaluating the sign in advance given a well plan, a magnetic dip, and theoretical values for ideal measurements in the device coordinate system. Those skilled in the art would be able to accomplish this task.
(82) An important application for equation (4.10a) is horizontal drilling. In this case, the plus sign is used in (4.10a) when the tangent vector to the well has a component in the northern direction and the minus sign is used when the tangent vector to the well has a component in the southern direction. Because sensor offsets tend to be stable over time, a sensor offset can be determined in favorable conditions, stored in memory, and recalled as needed. For example, a horizontal section of a well drilled in the east-west direction could have a sign ambiguity problem. However, a value for h.sub.z can be evaluated using equation (4.11) when the well is not horizontal or on an east-west heading. Once the axial magnetic offset is known, a driller can use the conditions g.sub.zm
=0 and
h.sub.zm
h.sub.z=0 to establish and maintain a horizontal trajectory on an east-west heading.
(83) This invention can be practiced with any means for averaging, aggregating, or combining a sequence of axial gravity or magnetic measurements. The preferred practice for evaluating h.sub.zm
or
g.sub.zm
is to use the same tapered window function specified for estimating transverse sensor offsets.
(84)
(85) 5 Transverse Field Correlations and Enhanced Noise Rejection
(86) Correlation-based techniques can be applied to evaluate an averaged transverse field magnitude or an averaged transverse product magnitude when the sensor is rotating. These techniques are especially useful when time-dependent errors on the transverse magnetic measurements are severe or the sensor rotation is very irregular.
(87) One challenge applying a correlation method to measurements acquired by a sensor affixed to a rotating drill string is that the rate of rotation typically varies over a processing window. The problem is that a correlation depends on both a transverse magnitude and a sensor rotation coherence over the processing window. The prior art does not enable determining either variable from a correlation when the two variables are conflated in this fashion.
(88) A novel and useful feature of this invention is that the sensor rotation coherence is evaluated using a first correlation, the first correlation depending upon the sensor rotation coherence but not a transverse magnitude.
(89) A second correlation depending on a transverse magnitude (or transverse product magnitude) and the sensor rotation coherence is also evaluated. An estimate of the magnitude independent of the sensor rotation coherence is then evaluated. For the purpose of this invention, perfectly coherent sensor rotation over a processing window would mean the sensor rotated at a constant rate over the processing window. For a less coherent sensor rotation, the rate of rotation varies over the processing window.
(90) Complex variables are used for convenience here. Consider a complex-valued variable u=u+iu=|u|exp(i.sub.u). Its real part is u, its imaginary part is u, its magnitude is |u|={square root over (uu+uu)}, its phase is .sub.u=a tan 2(u, u), and the imaginary number is i={square root over (1)}. A complex conjugate of u is u*=uiu. The imaginary part of a real-valued variable is identically zero. A complex-valued sequence is a sequence of complex variables.
(91) Complex variables are applicable to this problem because a transverse vector can be expressed as a complex variable. For example, measurement of a transverse magnetic vector
(92) Now consider two complex-valued sequences u(j) and v(j), j=0, . . . , N1. In general, their correlation is a complex-valued sequence, r(l), l=N, . . . , N1, and it is defined by the equation
(93)
The correlation may be referred to as a correlation of u and v or a correlation between u and v. The variable l is referred to as a correlation lag. A full energy of a correlation is defined by
(94)
(95) An energy of a correlation is a combination of terms r(j)r*(j) in equation (5.2a) wherein some terms may be omitted or enter into the sum as a reduced weight, others may be weighted heavily, or is otherwise representative of an average, an aggregation, or combination of r(j)r*(j) values. An energy of a correlation, r will be represented by the symbol E(r). The full energy of the correlation is a special case where the energy is evaluated according to equation (5.2a) or using another numerical method that gives substantially the same result as (5.2a).
(96) In a preferred embodiment for practicing this invention, N=4096 and the sensor rotation coherence is represented by a correlation r.sub.0(l) defined by substituting u(j)=h.sub.xm(j)+ih.sub.ym(j) and v(j)=1/u*(j) into (5.1). Specifically,
(97)
where h.sub.xm(j) and h.sub.ym(j) are sequences comprising N samples of transverse magnetic vector measurements defined in (4.1), preferably with sensor offsets subtracted. The correlation r.sub.0(l) has no dependence on a magnitude of a transverse vector; so, an energy of this correlation, E(r.sub.0), also depends only on the sensor rotation coherence and not a transverse magnitude. This is important because energies of other relevant correlations have the same sensor rotation coherence dependence but also a transverse magnitude or a transverse product magnitude dependence.
(98) Persons of ordinary skill in the art will appreciate that an expression analogous to equation (5.3a) could be based on
r.sub.0(l)=R(g.sub.xm+ig.sub.ym,(g.sub.xmig.sub.ym).sup.1). (5.3b)
The invention is practicable with either realization of r.sub.0(l).
(99) Now consider the correlation,
(100)
It follows that,h.sub.Td
=(E(r.sub.1)/E(r.sub.0)).sup.1/4.(5.5)
In this equation, a sensor rotation coherence is used to remove a dependence of a correlation on the sensor rotation coherence, and the result is a magnitude of a transverse vector that can be used for evaluating an inclination or azimuth. Likewise, a value for g.sub.Td
can be evaluated based upon:
r.sub.2(l)=R(g.sub.xm+ig.sub.ym,g.sub.xm+ig.sub.ym), and(5.6)g.sub.Td
=(E(r.sub.2)/E(r.sub.0)).sup.1/4.(5.7)
(101) In a preferred embodiment of practicing this invention, the transverse gravity magnitude is evaluated using an averaged transverse product magnitude evaluated based upon the correlation:
r.sub.3(l)=R(g.sub.xm+ig.sub.ym,h.sub.xm+ih.sub.ym), from which it follows that(5.8)g.sub.Tdh.sub.Td
=(E(r.sub.3)/E(r.sub.0)).sup.1/2, and(5.9)
g.sub.Td
=E(r.sub.3).sup.1/2/(E(r.sub.1)E(r.sub.0)).sup.1/4.(5.10)
(102) In a preferred embodiment for using correlation-based embodiments of this invention, quantities proportional to an energy of each correlation are evaluated using a Fast Fourier Transform (FFT) and Parseval's theorem. Persons of ordinary skill in the art will understand how to evaluate a correlation using a FFT. For the purpose of this invention, applying Parseval's theorem is superior to evaluating an energy of a correlation directly. Further, according to the invention, the length of the FFT is preferably at least 2N because the FFT should be at least as long as the correlation sequence being evaluated to avoid aliasing in the frequency domain. Let F(u), F(v), and F(r)=F(R(u, v)) respectively denote the FFT of sequences u, v, and r. The FFT of each sequence is a sequence indexed in the frequency domain. These sequences are related by F(r)=F(u)F*(v). According to Parseval's theorem the sum of the squares of the magnitudes of the members of a sequence and its Fourier transform (including a Fourier transform evaluated using a FFT method) are proportional. So, calculations for evaluating a transverse field magnitude using a correlation are more efficiently done using Fourier transforms.
(103) Equations (5.4) and (5.6) are referred to as auto-correlations because the same sequence is correlated against itself. Equation (5.8) is referred to as a cross-correlation. Given these definitions, a cross-correlation is useful for determining an averaged transverse product magnitude, and an auto-correlation is useful for determining a averaged transverse magnitude.
(104) Alternatively, one component of a sequence of transverse vectors can be synthesized using the other component of the sequence of transverse vectors by means of, a Hilbert transform. While not a preferred embodiment for practicing the invention, but it has the potential to be useful in any embodiment of the invention when a component of a transverse vector is unfit for use. For the purpose of this invention, a synthesized component of a transverse vector is a measurement of that component of the vector.
(105) Persons of ordinary skill in the art will appreciate that several alternative embodiments are available given the above disclosure. For example, results obtained using a convolution instead of a correlation trivially differ because their total energy is the same. A one-sided correlation could be done where only positive or negative correlation lags are used, but this reduces the amount of noise cancellation. Any filtering or data windowing operation can be performed on the input data sequences or their Fourier transforms.
(106) Instead of evaluating correlations for complex-valued sequences, the method can be applied to real-valued sequences by assigning a value of zero to the imaginary part of u and v, and assigning one of the four transverse field variables, h.sub.xm, h.sub.ym, g.sub.xm, g.sub.ym to the real part of u, and one of same four transverse field variables to the real part of v. Real-valued auto-correlations are less effective for removing time-dependent than real-valued cross-correlations; so, improved performance will not result from correlating a real-valued variable against itself. Nonetheless, this invention can be practiced using any two of the four transverse field variables in a correlation.
(107) Samples may sometimes be advantageously omitted from a correlation. One example is when an accelerometer is saturated. Such omissions are best done by assigning a value of zero to any an omitted sample in all correlations over the processing window. This includes correlations determining a sensor rotation coherence.
(108)
(109) 7 Formulas for Inclination, Azimuth, and g Using an Averaged Transverse Product Magnitude or a Sensor Rotation Coherence.
(110) In the practice of this invention, one or more of the formulas listed here may be evaluated by processor 15 or any other processor based on sensor signals from magnetometer 11 and accelerometer 12 using instructions stored on non-transitory computer-readable medium 14 or any other non-transitory computer-readable medium.
g=h.sub.Td
.sup.1
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2,(7.1a)
=a tan 2(g.sub.Tdh.sub.Td
/
h.sub.Td
,
g.sub.zd
)=a tan 2(
g.sub.Tdh.sub.Td
/h.sup.2
h.sub.zd
.sub.2,
g.sub.zd
), (7.1b)
=a cos(g.sub.zd
h.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2)(7.1c)
=a sin(g.sub.Tdh.sub.Td
/
g.sub.zd
.sup.2
h.sub.Td
.sup.2+
g.sub.Tdh.sub.Td
.sup.2).(7.1d)
(111)
=a tan 2(S.sub.a,C.sub.a).(7.2b)
g={square root over (g.sub.zd
.sup.2+E(r.sub.2)/E(r.sub.0)).sup.0.5)},(7.3a)
=a tan 2((E(r.sub.2)/E(r.sub.0)).sup.0.25,g.sub.zd
),(7.3b)
=a cos(g.sub.zd
E(r.sub.0).sup.0.25/{square root over (
g.sub.zd
.sup.2+E(r.sub.2).sup.0.5)}),(7.3c)
=a sin(E(r.sub.2).sup.0.25/{square root over (g.sub.zd
.sup.2+E(r.sub.0).sup.0.5+E(r.sub.2).sup.0.5)}).(7.3d)
(112)
=a tan 2(S.sub.a,C.sub.a).(7.4b)
(113) None of the above formulas or any equivalent have been used in the prior art for evaluating an inclination or azimuth. A distinguishing feature of these equations is the use of: 1) an averaged transverse product magnitude; or, 2) an averaged transverse magnitude evaluated using an energy of a correlation without a sensor rotation coherence dependence.
(114)
(115) While not a preferred embodiment for practicing this invention, the above formulas (7.1a-7.4b) are applicable without either axial measurement. In these embodiments, an averaged transverse gravity magnitude is expressed in terms of an averaged transverse product magnitude and an averaged transverse magnetic magnitude. An axial gravity value based on the averaged transverse product magnitude, a prescribed gravity magnitude, and the averaged transverse magnetic magnitude is evaluated and used in any of the above formulas. An axial magnetic value can be evaluated according to a quadratic equation if a magnetic dip is prescribed or based on the averaged transverse magnetic magnitude and a prescribed magnetic field magnitude. An axial magnetic value determined in this fashion can be used in any of the above formulas.
(116) Though an object of this invention is to achieve accurate results without using an adaptive filter or a nonlinear inversion, this invention can be used advantageously to improve the performance of such prior art. Persons of ordinary skill in the art will understand that any formula relating measurements to an inclination, azimuth, or field magnitude including the above formulas could be applied directly to a method such as the method described in U.S. Pat. No. 9,804,288 to redefine equations of state and state variables. Superior performance is provided according to the invention over the prior art because the equations of state would be recast in variables having narrower error distributions. In the case of an adaptive filter, results would be much less sensitive to statistical assumptions about the error distributions associated with the measurements.
(117) 8 Two-Stage Sampling of Sensor Signals with Prior Art Calibration
(118) The prior art indicates that filter delays contribute to errors between the phase of the transverse gravity and transverse magnetic measurements acquired by sensors affixed to a rotation drill string. FIG. 5 in U.S. Pat. No. 9,273,547 shows data with errors ascribed to, at least in part, this effect. A specific source of such phase errors not mentioned in the '547 patent or elsewhere is the fact that the errors on the gravity measurements, largely due to shock and vibration, typically have a wider bandwidth and are larger in magnitude, than the errors on the magnetic measurements.
(119) A person of ordinary skill in the art will understand that an analog low-pass filter (LPF) is required to avoid aliasing when sampling an analog signal such as a signal from an accelerometer or magnetometer. It is especially challenging to build such a filter for a typical system that operates at a nominal sample rate suitable for a dynamic wellbore surveying system, roughly 100 Hz. As pointed out in U.S. Pat. No. 9,273,547, a practical filter satisfying these requirements will produce data with errors due to a frequency-dependent filter delay.
(120) In a preferred embodiment of practicing the present invention, a two-stage sampling system is applied to signals from the gravity and magnetic sensors. In a first stage, data are sampled at a rate several fold higher than is required for a typical drilling application. In a second stage, a digital LPF preferably having a finite impulse response (FIR) is applied and the data are down-sampled to a lower rate of 100 Hz.
(121) Operating the first stage at a sample rate of approximately 500 Hz, significantly relaxes the requirements on the analog filter. System performance is improved by adding a second stage to digitally filter the data. A preferred analog filter is shown in
(122) For a signal digitized at a sample rate of 500 Hz with samples sought at a sample rate of 100 Hz, the digital LPF need only be applied to every fifth point. This can be accomplished by convolving the impulse response with an output from an A/D converter, the filter centered on every fifth digitized sample. In an alternative implementation, a Fourier transform of the input data is evaluated and multiplied by the Fourier transform of the filter coefficients, the inverse Fourier transform is evaluated, and every fifth sample of the resulting sequence is retained. The down-sampled data are then calibrated. One skilled in the art would be able to implement this technique based upon the above specification.
(123) In a preferred embodiment for practicing this invention, the three accelerometer channels and the three magnetometer channels are sampled at substantially the same time. For the purpose of the two-stage sampling system operating at an initial sample rate of 500 Hz, the six channels are preferably sampled within 50 micro-seconds. A mirror image sample sequencing procedure such as described in U.S. Pat. No. 4,894,923 can be used to mitigate effects of timing errors in systems unable to sample all channels at substantially the same time.
(124) This embodiment of the present invention is practicable if a calibration is applied directly to the output of the A/D convertor. However, this is not a preferred embodiment for practicing the invention because many unnecessary calculations are required to calibrate the data before applying the LPF given that it is advantageous to sample the LPF output at a lower rate than the A/D convertor output. However, this embodiment is nevertheless particularly important to calibrate data from two different sensors before a combination of the data from the two sensors is combined. This is especially true when one sensor is a transverse magnetic sensor and the other is a transverse gravity sensor.
(125) Persons of ordinary skill in the art will be aware of multi-channel A/D converters that can be used, and they will appreciate that an individual A/D converter for each channel is not strictly necessary. Many A/D converters can operate at a frequency much higher than needed for this application. For this reason, it is also possible to multiplex the six measurement channels, use a single-channel A/D converter, demultiplex the digitized result, and then apply the digital LPF and calibration.
(126) The sampling technique specified here includes applying a prior art calibration to the digitized sensor signals. Prior art calibration techniques correct for sensor gain and offset variations, temperature drift, and typically incorporate measured calibration data acquired at a shop or the wellsite prior to placing the device in a wellbore. After calibration, additional processing to remove residual sensor offsets, reduce errors due to sensor misalignment, and noise (time-dependent errors) from the data may be applied prior to evaluating an inclination or azimuth.
(127) A person of ordinary skill in the art will understand that uncalibrated measurements are, in general, not suited for combining with each other. For example, a dot or cross product between a transverse magnetic and transverse gravity vector would be evaluated using calibrated data. A combination of measurements to evaluate an inclination or azimuth would be done using calibrated data.
(128)
(129) In a preferred embodiment for practicing this invention, the six analog signals from sensors 11 and 12 are transformed into six calibrated digitally filtered signals sampled at a rate of 100 Hz. The calibrated digitally filtered signals form a measured values that are combined according to this specification. In general, the calibration can be applied before or after the digital filter, but it is most advantageously applied after the digital filter.
(130) The description of the different illustrative embodiments has been presented for purposes of illustration and description and the invention is not intended to be exhaustive or limited to the embodiments in the form disclosed. Many modifications and variations will be apparent to persons of ordinary skill in the art. Further, different illustrative embodiments may provide different features as compared to other desirable embodiments. The embodiments selected are chosen and described in order to best explain the principles of the invention and the practical applications of the invention, and to enable persons of ordinary skill in the art to understand the invention and various embodiments of it and various modifications of it as are suited to the particular use contemplated.