Downhole depth measuring method, device, equipment, medium and product for well drilling
By setting up position sensors at two detection points in the drilling measurement tool, the depth increase mark is generated, which solves the problem that drilling depth information cannot be obtained from underground, and the underground closed-loop control is realized, which improves the efficiency and safety of drilling construction.
Patent Information
- Application Number
- CN202411293978.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-02-07
AI Technical Summary
In drilling construction, drilling depth information cannot be obtained from underground, making it difficult to perform downhole closed-loop control, affecting drilling speed and increasing the risk of well wall collapse.
By setting two detection points in the drilling measurement tool, each equipped with position sensors, the depth increase mark is generated using the position information sensed by these sensors, and the drilling depth value is determined.
It realizes the acquisition of drilling depth information underground, supports downhole closed-loop control, improves drilling speed and safety, and reduces the risk of well wall collapse.
Smart Images

Figure CN119393122A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil drilling, and in particular to a method, device, equipment, medium and product for measuring downhole depth of a drilling well. Background Art
[0002] In directional well and horizontal well construction, depth measurement is a very important and indispensable task. Conventional depth measurement is usually carried out on the ground, but with the widespread application of rotary steerable drilling systems, the control of the trajectory has gradually shifted from the ground to the underground. The underground control system needs to master more information in order to better realize the underground closed-loop control, realize continuous and accurate control of the wellbore trajectory, reduce the number of downlink communications, and achieve the goal of speeding up and increasing efficiency.
[0003] However, due to the complex and closed environment underground, drilling operations rely solely on depth information transmitted from the ground, which is inefficient, affects the drilling speed, increases the risk of wellbore collapse, and only segmented control can be achieved underground, and the trajectory control accuracy is limited. Therefore, the current measurement while drilling tools cannot obtain the drilling depth underground.
[0004] In summary, a method is needed to realize the depth information required for trajectory closed-loop control during drilling operations, so as to solve the problem that the current measurement while drilling tools cannot obtain the drilling depth underground and it is difficult to perform underground closed-loop control. Summary of the invention
[0005] The present invention provides a method, device, equipment, medium and product for measuring downhole depth of a well, so as to solve the problem that the current downhole measurement tool cannot obtain the drilling depth and is difficult to perform downhole closed-loop control.
[0006] According to one aspect of the present invention, a method for measuring downhole depth of a well is provided, which is applied to a downhole depth measuring device of a well, wherein the downhole depth measuring device of the well is communicatively connected with a well measurement while drilling tool; the well measurement while drilling tool is provided with a first detection point and a second detection point with a height difference of a preset height difference value, and the second detection point is closer to the drill bit than the first detection point, and the first detection point and the second detection point are respectively provided with a first position sensor and a second position sensor, and the parameters of the first position sensor and the second position sensor are the same and are sampled synchronously; the method comprises:
[0007] Determine the base depth value of the current drilling;
[0008] During the drilling process, a depth increase mark is generated according to first position information sensed by the first position sensor and second position information sensed by the second position sensor, wherein the sensing information represents the position of the detection point;
[0009] A drilling depth value is determined based on the depth increase flag and the base depth value.
[0010] Optionally, generating a depth increase mark according to the first position information sensed by the first position sensor and the second position information sensed by the second position sensor includes:
[0011] Whenever the first location information or the second location information is acquired, marking the first location information and the second location information according to a sequence number of an acquisition order;
[0012] Inputting the marked first position information and the marked second position information into a first buffer zone and a second buffer zone corresponding to the first detection point and the second detection point respectively;
[0013] Determine a geometric distance sum between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer;
[0014] Whenever a minimum value of the sum of the geometric distances is obtained, the depth increase flag is generated.
[0015] Optionally, determining the sum of geometric distances between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer includes:
[0016] The geometric distance and are calculated by the following formula:
[0017]
[0018] Among them, Y d is the geometric distance and, b i is the second location information, and ai is the first location information.
[0019] Optionally, the method further includes:
[0020] Whenever the first position information or the second position information is obtained, the difference between the first position information or the second position information and the first position information or the second position information obtained last time is determined; when the difference is greater than a minimum value, the first position information or the second position information is input into the first buffer or the second buffer.
[0021] Optionally, determining the drilling depth value based on the depth increase mark and the basic depth value includes:
[0022] determining a number of said depth-increment marks;
[0023] A depth increase value is determined according to the product of the number and the height difference value, and the depth increase value is added to the basic depth value to obtain the drilling depth value.
[0024] Optionally, the method further includes:
[0025] Generate a drilling depth value variation curve according to the depth increase mark and the corresponding timestamp;
[0026] The drilling depth value determined according to the depth value variation curve is compared with the data of the external measurement system to obtain a drilling depth comparison value, wherein the drilling depth comparison value represents the corrected drilling depth value.
[0027] According to another aspect of the present invention, there is provided a downhole depth measuring device for drilling, comprising:
[0028] A first determining unit, used to determine a basic depth value of a current drilling;
[0029] an increasing unit, used to generate a depth increase mark according to first position information sensed by the first position sensor and second position information sensed by the second position sensor during drilling, wherein the sensing information represents the position of the detection point;
[0030] The second determining unit is configured to determine a drilling depth value based on the depth increase mark and the basic depth value.
[0031] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0032] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the downhole depth measurement method for drilling described in any embodiment of the present invention.
[0033] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for measuring downhole depth of a wellbore as described in any embodiment of the present invention when executed.
[0034] According to another aspect of the present invention, a computer program product is provided. The computer program product comprises a computer program. When the computer program is executed by a processor, the method for measuring downhole depth of a wellbore according to any embodiment of the present invention is implemented.
[0035] The technical solution of the embodiment of the present invention determines the basic depth value of the current drilling; during the drilling process, a depth increase mark is generated according to the first position information sensed by the first position sensor and the second position information sensed by the second position sensor, and the sensing information represents the position of the detection point; the drilling depth value is determined based on the depth increase mark and the basic depth value. The solution of the embodiment of the present invention determines the distance drilled by the tool by measuring the data at two detection points in the measurement while drilling tool and obtains the downhole depth of the drilling by accumulation, thereby providing the depth information required for trajectory closed-loop control during drilling construction operations, solving the problem that the current measurement while drilling tool cannot obtain the drilling depth underground and is difficult to perform downhole closed-loop control.
[0036] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 This is a flow chart of a method for measuring downhole depth of a wellbore provided in Embodiment 1 of the present invention;
[0039] Figure 2 is a schematic diagram of a measurement while drilling tool applicable to the first embodiment of the present invention;
[0040] Figure 3 is a schematic diagram of a buffer data changing with depth applicable to the first embodiment of the present invention;
[0041] Figure 4 1 is a schematic diagram comparing distance values and time values applicable to the first embodiment of the present invention;
[0042] Figure 5 This is a schematic diagram of the distance between points A and B passing through a column length point applicable to the first embodiment of the present invention;
[0043] Figure 6 is a schematic diagram comparing the depth applicable to the first embodiment of the present invention with the standard depth;
[0044] Figure 7 It is a structural schematic diagram of a downhole depth measuring device for drilling provided by the second embodiment of the present invention;
[0045] Figure 8 It is a schematic diagram of the structure of an electronic device for implementing the downhole drilling depth measurement method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0048] Embodiment 1
[0049] Figure 1 This is a flow chart of a method for measuring downhole depth of a drilling well provided in the first embodiment of the present invention. This embodiment can be applied to the case of obtaining the drilling depth during drilling operations. The method can be executed by a downhole depth measuring device for drilling. The downhole depth measuring device for drilling can be implemented in the form of hardware and / or software. The downhole depth measuring device for drilling can be configured in an electronic device. The downhole depth measuring device for drilling is communicatively connected to a drilling measurement while drilling tool; the drilling measurement while drilling tool is provided with a first detection point and a second detection point with a height difference of a preset height difference value, and the second detection point is closer to the drill bit than the first detection point, and the first detection point and the second detection point are respectively provided with a first position sensor and a second position sensor, and the parameters of the first position sensor and the second position sensor are the same and are sampled synchronously; Figure 1 As shown, the method includes:
[0050] S110, determining the basic depth value of the current drilling.
[0051] For setting the first detection point and the second detection point, two grooves can be opened in the measurement while drilling tool as detection points, and position sensors can be respectively set in the two grooves. In this way, when the measurement while drilling tool drills downward with the drill pipe, the position sensor can obtain the positions of the two detection points.
[0052] Figure 2 Schematic diagram of a measurement while drilling tool applicable to the first embodiment of the present invention, such as Figure 2 As shown, two points A and B with a distance d are selected on the measurement while drilling tool, and two sets of sensors are installed at these two points respectively. The performance parameters of the sensors must be strictly consistent, which will directly determine the accuracy of the measurement of the method. A three-axis fluxgate, a three-axis plus meter, an annulus pressure sensor or even a caliper sensor can be selected, and any sensor that is easy to install and has significantly different measured parameters at different wellbore positions can be used, and the embodiment of the present invention does not make specific restrictions.
[0053] The basic depth value indicates the downhole depth reached by the current logging operation, which is usually obtained when a single drill pipe is connected. Single drill pipe connection refers to the process of oil field drilling, in which the drill string needs to be lengthened as the wellbore continues to deepen. After the wellbore is deepened to the length of a drill pipe, a new drill pipe needs to be connected to the drill string. This process is called single pipe connection. After the new drill pipe is connected, the downhole depth of the drilling will increase based on the existing basic depth value.
[0054] S120. During the drilling process, a depth increase mark is generated according to first position information sensed by the first position sensor and second position information sensed by the second position sensor, wherein the sensing information represents the position of the detection point.
[0055] In the embodiment of the present invention, step S120 specifically includes:
[0056] Whenever the first location information or the second location information is acquired, marking the first location information and the second location information according to a sequence number of an acquisition order;
[0057] Inputting the marked first position information and the marked second position information into a first buffer zone and a second buffer zone corresponding to the first detection point and the second detection point respectively;
[0058] Determine a geometric distance sum between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer;
[0059] Whenever a minimum value of the sum of the geometric distances is obtained, the depth increase flag is generated.
[0060] In an embodiment of the present invention, the method may further include:
[0061] Whenever the first position information or the second position information is obtained, the difference between the first position information or the second position information and the first position information or the second position information obtained last time is determined; when the difference is greater than a minimum value, the first position information or the second position information is input into the first buffer or the second buffer.
[0062] During the lowering of the measurement while drilling tool, two sampling circuits are installed at points A and B to sample the sensor, and the sampling time and interval are strictly synchronized. Figure 2 Taking the measurement while drilling tool shown in the diagram as an example, two points A and B are selected on the tool with a distance of d, and two sets of sensors are installed at these two points respectively. The performance parameters of the sensors are strictly consistent, which will directly determine the accuracy of the measurement of this method. Select three-axis fluxgate, three-axis plus gauge, annular pressure sensor or even wellbore sensor. Other sensors that are easy to install and have obvious differences in measurement parameters at different wellbore positions can be used. This article selects three-axis fluxgate sensor and three-axis gravity acceleration sensor.
[0063] The values measured by the fluxgate and accelerometer at A are gx, gy, gz and Bx, By, Bz respectively; the values measured by the sensor at B are gx', gy', gz' and Bx', By', Bz' respectively. Two sampling circuits (referred to as samplers) are installed at points A and B to sample the sensors. The B sampler is provided with a data buffer. Whenever the downlink depth is obtained or the depth increment is calculated, the buffer data is cleared. The A sampler is provided with two buffers A and A'. A is used to store data between two depth increment calculations. Furthermore, a third array B' can be added to store a section of data after the current depth calculation is completed. When the new depth calculation is completed, the data in the B' buffer is transplanted to B as the data for the next depth calculation. B' stores the new sensor data. Due to the change in drilling speed, the time difference between the AB sensors passing the same position is not consistent, and the corresponding relationship between position and time cannot be established. We select the buffer data according to the following rules. The previous data in the buffer is used as the benchmark. Only when the difference with the benchmark data exceeds a certain threshold value, the current data is stored in the buffer and serves as the benchmark for the next data storage. In this way, the corresponding sensor sampling value buffer is established according to the depth change. Figure 3 This is a schematic diagram of a buffer data changing with depth applicable to the first embodiment of the present invention.
[0064] The depth calculation starts with the downlink depth information. Assuming that the A and B samplers are located at points D0 and D2 in the wellbore respectively, the A buffer data is cleared, and the two buffer data corresponding to the B sampler are B[b0, b1...b m],[0, 0...0], as the footage increases, the A buffer and buffer data are continuously updated, and the geometric distance calculation is performed on the buffer A data and B data, and the calculated values are stored in the array D[Y dn ], forming an array D[Y d0 , Y d1 ...], and find the minimum value at the same time. As drilling continues, sampler B passes through D0 and reaches point D2. At this time, the trajectory of B coincides with the trajectory of A.
[0065] In order to ensure that the calculation range of the minimum geometric distance between two detection points is limited to between AB, the window length should not exceed the number of data collection points between points AB corresponding to the maximum drilling speed.
[0066] In the embodiment of the present invention, determining the geometric distance between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer includes:
[0067] The geometric distance and are calculated by the following formula:
[0068]
[0069] Among them, Y d is the geometric distance and, b i is the second location information, and ai is the first location information.
[0070] When receiving a single drill, the current depth H0 is transmitted from the ground, and the data at point A is cleared, while the data array at point B remains unchanged. When drilling, data collection starts at points AB at the same time. Each time data is collected, the latest data collected is inserted into the AB data array, and the following operations are performed at the same time:
[0071]
[0072] Store the value in array D[Y dn ], forming an array D[Y d0 , Y d1 ...].
[0073] S130. Determine a drilling depth value based on the depth increase mark and the basic depth value.
[0074] In the embodiment of the present invention, step S130 specifically includes:
[0075] determining a number of said depth-increment marks;
[0076] A depth increase value is determined according to the product of the number and the height difference value, and the depth increase value is added to the basic depth value to obtain the drilling depth value.
[0077] Find the minimum value in array D. As drilling continues, the position of point A gradually overlaps with point B. When the trajectory of point A completely overlaps with the front part of point B, it indicates that the drilling depth from the beginning of the single root connection is H0+d. The drilling depth at this time is obtained. At the same time, the data of points A and D are cleared and a new round of depth calculation is repeated. For example, if d is 1 meter, each time a minimum value appears, the depth is increased once. Finally, the current drilling depth value is obtained by multiplying the amount of increased depth by 1 meter and adding the basic depth value.
[0078] In an embodiment of the present invention, the method may further include:
[0079] generating a drilling depth value variation curve according to the depth increase mark;
[0080] The drilling depth value determined according to the depth value variation curve is compared with the data of the external measurement system to obtain a drilling depth comparison value, wherein the drilling depth comparison value represents the corrected drilling depth value.
[0081] Connect each drill pipe or column, use the transmitted depth data to convert the relative distance into the cluster distance, generate a depth value change curve based on the timestamp and compare the results with the ground depth system.
[0082] In order to better understand the technical solution of the embodiment of the present invention, a preferred embodiment is specifically explained below.
[0083] Two three-axis MEMS magnetic sensors with the same performance parameters are selected (because the gravity sensor has strong vibration and large interference during drilling, if it is to be used, a high-order filter is needed to eliminate the noise, resulting in excessive calculation. Therefore, the embodiment of the present invention preferably uses the three-axis data of the magnetic sensor as the depth calculation parameter). To ensure the measurement accuracy, the resolution of the sensor is greater than 27uguass, the AD converter is 24 bits, and the difference in the measurement data of the two sensors is less than 1%.
[0084] Install the selected sensor on a non-magnetic drill collar and adjust the position of the sensor so that the two sensors are installed at the same circular angle and 1m apart.
[0085] Optimize and debug the parameters of the two sensors to ensure that the three-axis data measured by the sensors at the same measurement point are completely consistent, and set the sampling interval to 200ms.
[0086] The well section selected for the test is a directional inclination well section with a well inclination change rate of 5° / 30m and a length of 30m, so the number of sampling points is 7500. The test well is equipped with an accurate depth measurement system with a depth error of less than 0.1m, and it is strictly controlled with time, which is convenient for verifying the accuracy of depth measurement of this method.
[0087] The tool is lowered into the predetermined well section with a drill pipe at a speed of 1.2 / m. The tool is lowered at a uniform speed. During the lowering process, the two sensors record the xyz-axis AD sampling values of the three-axis sensor and store them in their respective memories. The sampling interval is 200ms. Each sampling point is stored one by one with the timestamp, and the two sensors sample synchronously.
[0088] After the tool is out of the well, the data of the three-axis fluxgate sensor is read out through the data port, and the depth is calculated using the method provided by the patent of this invention. The depth is calculated using the method introduced in this article and compared with the data measured by the ground depth system.
[0089] Read the three-axis magnetic sensor data Bx, By, Bz and Bx', By', Bz' of points A and B, and calculate the distance and according to the following formula:
[0090]
[0091] Slide the data step by step in chronological order to find the minimum distance. When sensor B passes the same measurement point as sensor A, the distance between AB is the smallest. This point is the minimum value of the path distance traveled by point A through point B, which means that the tool has drilled 1m. Figure 4 It is a schematic diagram comparing distance values and time values applicable to the first embodiment of the present invention.
[0092] Repeat the steps of calculating the distance and determining the minimum value from the last extreme point, calculate the distance value, and move 1m for each extreme point found. The test reads the stored values of the AB two-point sensor corresponding to the drilling distance of a column (about 28m), performs distance calculation, and obtains a series of drilling distance values. The minimum distance calculated is 1m. Figure 5 It is a schematic diagram of the distance between points A and B passing through a column length point applicable to the first embodiment of the present invention.
[0093] The depth calculated by the present invention is compared with the standard depth. The extreme point of the distance in the figure corresponds to the moving distance. Every time point A moves downward by 1m, a minimum value will appear. Connect each drill pipe or column, use the transmitted depth data to convert the relative distance into the clustering distance, and compare the result with the ground depth system. Figure 6 It is a schematic diagram of the comparison between the depth applicable to the first embodiment of the present invention and the standard depth. The maximum error of the calculated depth and the standard depth is less than 0.5m, and the cumulative error is less than 0.44m, which meets the needs of general engineering applications.
[0094] Embodiment 2
[0095] Figure 7 Schematic diagram of the structure of a downhole depth measuring device for drilling provided by the second embodiment of the present invention. Figure 7 As shown, the device comprises:
[0096] A first determining unit 710 is used to determine a basic depth value of the current drilling;
[0097] An adding unit 720, configured to generate a depth increase mark according to first position information sensed by the first position sensor and second position information sensed by the second position sensor during drilling, wherein the sensed information represents a position of a detection point;
[0098] The second determining unit 730 is configured to determine a drilling depth value based on the depth increase mark and the basic depth value.
[0099] Optionally, a unit 720 is added, specifically configured to execute:
[0100] Whenever the first location information or the second location information is acquired, marking the first location information and the second location information according to a sequence number of an acquisition order;
[0101] Inputting the marked first position information and the marked second position information into a first buffer zone and a second buffer zone corresponding to the first detection point and the second detection point respectively;
[0102] Determine a geometric distance sum between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer;
[0103] Whenever a minimum value of the sum of the geometric distances is obtained, the depth increase flag is generated.
[0104] Optionally, the adding unit 720, when determining the sum of the geometric distances between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer, specifically performs:
[0105] The geometric distance and are calculated by the following formula:
[0106]
[0107] Among them, Y d is the geometric distance and, b i is the second location information, and ai is the first location information.
[0108] Optionally, the additional unit 720 is further configured to execute:
[0109] Whenever the first position information or the second position information is obtained, the difference between the first position information or the second position information and the first position information or the second position information obtained last time is determined; when the difference is greater than a minimum value, the first position information or the second position information is input into the first buffer or the second buffer.
[0110] Optionally, the second determining unit 730, when determining the drilling depth value based on the depth increase mark and the basic depth value, specifically performs:
[0111] determining a number of said depth-increment marks;
[0112] A depth increase value is determined according to the product of the number and the height difference value, and the depth increase value is added to the basic depth value to obtain the drilling depth value.
[0113] Optionally, the second determining unit 730 is further configured to execute:
[0114] Generate a drilling depth value variation curve according to the depth increase mark and the corresponding timestamp;
[0115] The drilling depth value determined according to the depth value variation curve is compared with the data of the external measurement system to obtain a drilling depth comparison value, wherein the drilling depth comparison value represents the corrected drilling depth value.
[0116] The downhole drilling depth measuring device provided in the embodiment of the present invention can execute the downhole drilling depth measuring method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0117] Embodiment 3
[0118] Figure 8 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0119] like Figure 8As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0120] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0121] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a downhole depth measurement method for drilling.
[0122] In some embodiments, the drilling downhole depth measurement method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the drilling downhole depth measurement method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the drilling downhole depth measurement method in any other appropriate manner (for example, by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0125] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0128] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0130] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for measuring downhole depth of a well, characterized in that: The invention is applied to a downhole depth measuring device for drilling, wherein the downhole depth measuring device is communicatively connected with a drilling measurement while drilling tool; the drilling measurement while drilling tool is provided with a first detection point and a second detection point with a height difference of a preset height difference value, and the second detection point is closer to the drill bit than the first detection point; the first detection point and the second detection point are respectively provided with a first position sensor and a second position sensor, and the parameters of the first position sensor and the second position sensor are the same and sampling is performed synchronously; the method comprises: Determine the base depth value of the current drilling; During the drilling process, a depth increase mark is generated according to first position information sensed by the first position sensor and second position information sensed by the second position sensor, wherein the sensing information represents the position of the detection point; A drilling depth value is determined based on the depth increase flag and the base depth value.
2. The method according to claim 1, characterized in that The generating a depth increase mark according to the first position information sensed by the first position sensor and the second position information sensed by the second position sensor comprises: Whenever the first location information or the second location information is acquired, marking the first location information and the second location information according to a sequence number of an acquisition order; Inputting the marked first position information and the marked second position information into a first buffer zone and a second buffer zone corresponding to the first detection point and the second detection point respectively; Determine a geometric distance sum between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer; Whenever a minimum value of the sum of the geometric distances is obtained, the depth increase flag is generated.
3. The method according to claim 2, characterized in that The step of determining the geometric distance between the first detection point and the second detection point according to the first position information and the second position information in the first buffer and the second buffer includes: The geometric distance and are calculated by the following formula: Among them, Y d is the geometric distance and, b i is the second location information, and ai is the first location information.
4. The method according to claim 3, characterized in that: Further including: Whenever the first position information or the second position information is obtained, the difference between the first position information or the second position information and the first position information or the second position information obtained last time is determined; when the difference is greater than a minimum value, the first position information or the second position information is input into the first buffer or the second buffer.
5. The method according to claim 1, characterized in that The determining of the drilling depth value based on the depth increase mark and the basic depth value comprises: determining a number of said depth-increment marks; A depth increase value is determined according to the product of the number and the height difference value, and the depth increase value is added to the basic depth value to obtain the drilling depth value.
6. The method according to claim 5, characterized in that Further including: generating a drilling depth value variation curve according to the depth increase mark; The drilling depth value determined according to the depth value variation curve is compared with the data of the external measurement system to obtain a drilling depth comparison value, wherein the drilling depth comparison value represents the corrected drilling depth value.
7. A downhole depth measuring device for drilling, characterized in that: include: A first determining unit, used to determine a basic depth value of a current drilling well; an increasing unit, used to generate a depth increase mark according to first position information sensed by the first position sensor and second position information sensed by the second position sensor during drilling, wherein the sensing information represents the position of the detection point; The second determining unit is configured to determine a drilling depth value based on the depth increase mark and the basic depth value.
8. An electronic device, characterized in that: The electronic device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the downhole depth measurement method for drilling according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the downhole drilling depth measurement method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the method for measuring downhole depth of a wellbore according to any one of claims 1-6.
Citation Information
Cited By
Measurement system and calculation method for drilling speed of machinery while drilling
CN120845004A