Well deviation measuring method, device and equipment and storage medium
By setting up an acceleration sensor close to the drill bit during the drilling process, collecting and processing three-axis acceleration signals, and calculating the well inclination in real time, the problem of low efficiency of the drilling shutdown measurement method is solved, and high-precision, real-time dynamic well inclination measurement is achieved.
Patent Information
- Application Number
- CN202510301813.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-05-06
AI Technical Summary
The drilling shutdown measurement method cannot meet the demand for real-time dynamic measurement of well tilts, and the measurement efficiency is low, which seriously lengthens the measurement cycle and reduces economic benefits.
The three-axis acceleration signal of the drilling well is collected through an acceleration sensor set close to the drill bit, the signal is processed according to the operating status of the drill bit, and the well inclination is calculated dynamically in real time.
It realizes the real-time dynamic measurement of well inclination without stopping the drill bit during drilling, removes interference caused by drill bits, and obtains high-precision well inclination data, which improves the efficiency and accuracy of dynamic measurement of well inclination near drill bits.
Smart Images

Figure CN119933665A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of downhole measurement technology, and in particular to a well inclination measurement method, device, equipment and storage medium. Background Art
[0002] In oil exploration, measurement while drilling (MWD) is usually used to obtain the well inclination angle, tool face angle, and azimuth angle in the well. In order to obtain the most accurate and real-time downhole parameters so as to better play the guiding role, a near-drill bit guidance measuring instrument has been developed.
[0003] Since the sensor is installed near the drill bit, the drill bit will inevitably vibrate, rotate and impact during operation, causing serious interference to the downhole measurement data. Therefore, it is necessary to cooperate with the stop-drilling measurement method, stopping the drilling and measuring every certain distance to reduce the interference to the downhole measurement. However, the stop-drilling measurement method cannot meet the needs of real-time dynamic measurement of well inclination, the measurement efficiency is low, which seriously prolongs the measurement cycle and reduces the economic benefits. Summary of the invention
[0004] The present invention provides a well inclination measurement method, device, equipment and storage medium to solve the problem that the stop-drilling measurement method cannot meet the demand for real-time dynamic measurement of well inclination and has low measurement efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a method for measuring well inclination, comprising:
[0006] The three-axis acceleration signal of drilling is collected by an acceleration sensor arranged near the drill bit;
[0007] Determining the operating state of the drill bit according to the three-axis acceleration signal, and processing the three-axis acceleration signal according to the operating state;
[0008] The well inclination of the drilling is calculated according to the operating state and the processed three-axis acceleration signal.
[0009] In a second aspect, an embodiment of the present invention provides a well inclination measurement device, comprising:
[0010] A signal measurement module is used to collect three-axis acceleration signals of drilling through an acceleration sensor arranged near the drill bit;
[0011] A signal processing module, used for determining the operating state of the drill bit according to the three-axis acceleration signal, and processing the three-axis acceleration signal according to the operating state;
[0012] A well inclination calculation module is used to calculate the well inclination of the drilling according to the operating state and the processed three-axis acceleration signal.
[0013] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed 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 well inclination measurement method described in any embodiment of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the well inclination measurement method described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention measures the three-axis acceleration signal of drilling through an acceleration sensor arranged near the drill bit; determines the operating state of the drill bit according to the three-axis acceleration signal, and processes the three-axis acceleration signal according to the operating state; and calculates the well inclination of drilling according to the operating state and the processed three-axis acceleration signal. During the drilling process, there is no need to collect the three-axis acceleration signal after the drill bit stops operating, and the three-axis acceleration signal can be processed in real time and dynamically according to the operating state of the drill bit, and the well inclination can be calculated according to the operating state of the drill bit, and the interference caused by the drill bit can be removed to obtain high-precision well inclination data, which solves the problem that the stop-drilling measurement method cannot meet the demand for real-time dynamic measurement of well inclination and the measurement efficiency is low, and has the beneficial effect of improving the efficiency and accuracy of dynamic measurement of well inclination near the drill bit.
[0019] 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
[0020] 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.
[0021] Figure 1 A flow chart of a well deviation measurement method provided in Embodiment 1 of the present invention;
[0022] Figure 2A flow chart of a well deviation measurement method provided in Embodiment 2 of the present invention;
[0023] Figure 3 A flow chart of a method for performing well deviation measurement in a certain application scenario provided in Embodiment 2 of the present invention;
[0024] Figure 4 A schematic diagram of the structure of a well inclination measurement device provided in the second embodiment of the present invention;
[0025] Figure 5 A schematic diagram of the structure of an electronic device for implementing the well inclination measurement method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] 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.
[0027] 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.
[0028] Embodiment 1
[0029] Figure 1 This is a flow chart of a method for measuring well inclination provided in the first embodiment of the present invention. This embodiment can be applied to measuring drilling conditions. The method can be performed by a well inclination measuring device. The well inclination measuring device can be implemented in the form of hardware and / or software. The well inclination measuring device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0030] S110, collecting a three-axis acceleration signal of drilling through an acceleration sensor arranged close to the drill bit.
[0031] Among them, a sensor is set on the side of the MWD instrument close to the drill bit to measure the drilling data downhole in real time. The triaxial acceleration signal refers to the acceleration components of the drilling on three coordinate axes (usually X, Y, and Z axes) collected by the triaxial acceleration sensor.
[0032] Specifically, during the drilling process, an acceleration sensor disposed near the drill bit is used to measure the three-axis acceleration signal of the drilling in real time, which is used to calculate the well inclination of the drilling.
[0033] Exemplarily, the acceleration sensor may be an accelerometer based on a micro-electromechanical system (MEMS). During the drilling process, the acceleration sensor disposed near the drill bit may collect three-axis acceleration signals at a set sampling frequency. The sampling frequency and other parameters of the acceleration sensor may be pre-configured through a program, such as writing a control program and a data acquisition program for the MEMS acceleration sensor of the near-drilling transmitting module, downloading the program to the drill bit transmitting module, installing the drill bit transmitting module into the near-drilling transmitting drill collar, and installing the battery into the drill bit drill collar; when the drill bit is working underground, the MEMS acceleration sensor collects the three-axis acceleration signals of the drilling according to the set sampling frequency.
[0034] S120, determining the operating state of the drill bit according to the three-axis acceleration signal, and processing the three-axis acceleration signal according to the operating state.
[0035] The operating state of the drill bit may include a stationary state, a vibrating state or a rotating and vibrating state. The stationary state of the drill bit may be understood as the state in which the drill bit does not vibrate and does not oscillate; the vibrating state of the drill bit may be understood as the state in which the drill bit only vibrates but does not rotate; and the rotating and vibrating state may be understood as the state in which the drill bit rotates and vibrates.
[0036] Specifically, since the three-axis acceleration signals measured by the drill bit in different operating states are subject to different interferences, different from the traditional method of directly processing the collected three-axis acceleration signals, this embodiment determines the operating state of the drill bit as a static state, a vibrating state or a rotational vibration state based on the measured three-axis acceleration signals, and processes the three-axis acceleration signals in a corresponding manner according to the current operating state of the drill bit, which can more effectively eliminate the interference caused by the drill bit and obtain more accurate well inclination data.
[0037] Exemplarily, the processing of the three-axis acceleration signal may include filtering. Since the friction of the drill bit during operation generates heat, the accuracy of the acceleration sensor will be offset due to temperature changes. Therefore, the processing of the three-axis acceleration signal may also include temperature compensation to ensure the high accuracy of the well inclination data.
[0038] S130, calculating the well inclination of the drilling according to the operating status and the processed three-axis acceleration signal.
[0039] Among them, well inclination refers to the inclination of the wellbore axis relative to the vertical direction during the drilling process, which can usually be measured in the form of well inclination angle.
[0040] Specifically, the well inclination is calculated based on the operating status of the drill bit and the processed three-axis acceleration signal of the drilling, and the well inclination data is transmitted to the ground system, which can provide a reference for downhole operations.
[0041] Optionally, calculating the well inclination of drilling according to the operating state and the processed three-axis acceleration signal may include: if the operating state is a stationary state, calculating the well inclination according to the third axis acceleration signal in the processed three-axis acceleration signal; if the operating state is a vibration state or a rotational vibration state, calculating the well inclination according to the processed three-axis acceleration signal.
[0042] The technical solution of the embodiment of the present invention measures the three-axis acceleration signal of drilling through an acceleration sensor arranged near the drill bit; determines the operating state of the drill bit according to the three-axis acceleration signal, and processes the three-axis acceleration signal according to the operating state; and calculates the well inclination of drilling according to the operating state and the processed three-axis acceleration signal. During the drilling process, there is no need to collect the three-axis acceleration signal after the drill bit stops operating, and the three-axis acceleration signal can be processed in real time and dynamically according to the operating state of the drill bit, and the well inclination can be calculated according to the operating state of the drill bit, the interference caused by the drill bit is removed, and high-precision well inclination data is obtained, thereby improving the efficiency and accuracy of dynamic measurement of well inclination near the drill bit.
[0043] Embodiment 2
[0044] Figure 2 It is a flow chart of a method for measuring well inclination provided in the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention further specifies the process of determining the operating state of the drill bit, the process of processing the three-axis acceleration signal and the process of calculating the well inclination.
[0045] like Figure 2 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:
[0046] S210, measuring a three-axis acceleration signal of drilling by an acceleration sensor arranged close to the drill bit.
[0047] S220. Determine the operating state of the drill bit according to the three-axis acceleration signal within a first preset time period.
[0048] The first preset time period may be considered as a time period for determining the operating status of the drill bit, which may be expressed as T1, and the unit is generally ms.
[0049] Specifically, during the drilling process, the acceleration sensor collects three-axis acceleration signals at a preset sampling frequency, and determines whether the drill bit is in a stationary state, a vibrating state, or a rotational vibration state based on the three-axis acceleration signals collected within a first preset time period.
[0050] Optionally, determining the operating status of the drill bit based on the three-axis acceleration signal within the first preset time period may include: determining the status of the drill bit based on the comparison result of the intensity of the acceleration signal of each axis in the three-axis acceleration signal within the first preset time period with the set vibration threshold; or determining the status of the drill bit based on the comparison result of the intensity of the acceleration signal of each axis with the set vibration threshold and the duration.
[0051] S230: Process the three-axis acceleration signals within a second preset time period according to the operating state.
[0052] The second preset time period can be considered as a time period for processing the three-axis acceleration signal, which can be expressed as T2, and the unit is generally ms. The second preset time period is after the first preset time period.
[0053] Specifically, during the drilling process, the operating state of the drill bit will be maintained for a certain period of time. After determining the operating state of the drill bit within the first preset time period, the three-axis acceleration signal within the second preset time period is obtained, and the three-axis acceleration signal within the second preset time period is processed according to the operating state of the drill bit.
[0054] For example, basic filtering can be performed on the three-axis acceleration signal in a stationary state; the vibration component and impact component can be removed by filtering for the three-axis acceleration signal in a vibrating state; the vibration component, impact component and centrifugal force component can be removed by filtering for the three-axis acceleration signal in a rotating vibration state. In order to further improve the accuracy of the well deviation data, the influence of the heat generated by the drill bit during operation on the acceleration sensor can also be considered, and the three-axis acceleration signal can be temperature compensated after filtering.
[0055] S240: If the operating state is a stationary state, the well inclination is calculated according to the third-axis acceleration signal in the processed three-axis acceleration signal.
[0056] Specifically, if the drill bit is in a stationary state within the first preset time period, the well inclination is calculated according to the third-axis acceleration signal in the processed three-axis acceleration signal within the second preset time period. The specific calculation formula is: Among them, INC is the well inclination value, G Z is the processed third-axis acceleration signal.
[0057] S250: If the operating state is a vibration state or a rotational vibration state, the well inclination is calculated according to the processed three-axis acceleration signal.
[0058] Specifically, if the drill bit is in a vibration state or a rotational vibration state within the first preset time period, the well inclination is calculated according to the processed three-axis acceleration signal within the second preset time period. The specific calculation formula is:
[0059]
[0060] Among them, INC is the well inclination value, G X is the processed acceleration signal of the first axis, G Y is the processed second axis acceleration signal, G Z is the processed third-axis acceleration signal.
[0061] The technical solution of the embodiment of the present invention measures the three-axis acceleration signal of drilling through an acceleration sensor arranged near the drill bit; determines the operating state of the drill bit according to the three-axis acceleration signal within a first preset time period; processes the three-axis acceleration signal within a second preset time period according to the operating state; if the operating state is a stationary state, calculates the well inclination according to the third-axis acceleration signal in the processed three-axis acceleration signal; if the operating state is a vibration state or a rotational vibration state, calculates the well inclination according to the processed three-axis acceleration signal. During the drilling process, there is no need to collect the three-axis acceleration signal after the drill bit stops operating, and the three-axis acceleration signal can be processed in real time and dynamically according to the operating state of the drill bit, and the well inclination is calculated according to the operating state of the drill bit, so as to remove the interference caused by the drill bit, obtain high-precision well inclination data, and improve the efficiency and accuracy of dynamic measurement of well inclination near the drill bit.
[0062] In an optional embodiment of the present invention, S220, determining the operating state of the drill bit according to the three-axis acceleration signal within the first preset time period, includes:
[0063] S221. Within the first preset time period, if the average energy of the first-axis acceleration signal among the three-axis acceleration signals is less than or equal to a first vibration threshold, it is determined that the drill bit is in a stationary state.
[0064] S222: If the average energy is greater than the first vibration threshold, and the value of the second-axis acceleration signal in the three-axis acceleration signal is greater than the second vibration threshold for a consecutive number of times that is less than or equal to a preset number, it is determined that the drill bit is in a vibrating state.
[0065] S223: If the average energy is greater than the first vibration threshold, and the value of the second-axis acceleration signal is greater than the second vibration threshold for a consecutive number of times greater than the preset number, it is determined that the drill bit is in a rotational vibration state.
[0066] The first-axis acceleration signal may be one of the three-axis acceleration signals, for example, the X-axis acceleration signal in the three-axis acceleration signals of X, Y, and Z. The second-axis acceleration signal may be one of the three-axis acceleration signals except the first-axis acceleration signal, for example, the Y-axis acceleration signal in the three-axis acceleration signals of X, Y, and Z.
[0067] The first vibration threshold and the second vibration threshold can be considered as thresholds for determining the state of the drill bit. Generally, the first vibration threshold is a value close to zero, and the second vibration threshold is a threshold close to the vibration intensity of the drill bit. The values of the first vibration threshold and the second vibration threshold can be determined according to the actual drilling scenario, and the embodiment of the present invention does not impose any limitation on this.
[0068] Specifically, the average energy of the first-axis acceleration signal within the first preset time period is calculated. The average energy is the mean of the square of the signal and can reflect the strength of the signal. Therefore, the average energy of the first-axis acceleration signal is compared with the first vibration threshold. If it is less than or equal to the first vibration threshold, the drill bit is determined to be in a stationary state. If it is greater than the first vibration threshold, it means that the intensity of the acceleration signal within the first preset time period is large, and the drill bit vibrates, but the drill bit will produce obvious vibrations in both the simple vibration state and the rotational vibration state. Therefore, it is necessary to further determine whether the drill bit is in a vibration state or a rotational vibration state based on the comparison result of the second-axis acceleration signal and the second vibration threshold. If the value of the second-axis acceleration signal collected within the first preset time period is greater than the second vibration threshold for a continuous number of times less than or equal to the preset number, the drill bit is determined to be in a vibration state. If the value of the second-axis acceleration signal is greater than the second vibration threshold for a continuous number of times greater than the preset number, the drill bit is determined to be in a rotational vibration state.
[0069] Exemplarily, the X-axis acceleration signal in the three-axis acceleration signal within the first preset time period is defined as X T1 , the Y-axis acceleration signal is represented by Y T1 , the Z-axis acceleration signal is represented by Z T1 ; Among them, X T1 ={x1,x2,…,x t ,…,x n}; n is the total number of signal sampling points in the first preset time period. The first axis acceleration signal X T1 The average energy can be expressed as:
[0070]
[0071] If P T1 ≤H1, H1 is the first vibration threshold, indicating that the intensity of the acceleration signal within the first preset time period is small, so that it can be considered that the drill bit is in a stationary state.
[0072] The second-axis acceleration signal may be considered as one of the three-axis acceleration signals except the first-axis acceleration signal, for example, the Y-axis acceleration signal among the X-axis, Y-axis, and Z-axis acceleration signals.
[0073] In an optional embodiment of the present invention, S230, processing the three-axis acceleration signal within the second preset time period according to the operating state, includes:
[0074] S231. Preprocess the three-axis acceleration signal within the second preset time period according to the operating state.
[0075] In an optional embodiment, the preprocessing of the three-axis acceleration signal within the second preset time period according to the operating state includes: if the operating state is a vibration state, low-pass filtering the three-axis acceleration signal; if the operating state is a rotational vibration state, band-pass filtering the first axis acceleration signal and the second axis acceleration signal in the three-axis acceleration signal, and low-pass filtering the third axis acceleration signal in the three-axis acceleration signal.
[0076] Specifically, if the operating state of the drill bit is a non-rotating vibration state, there are vibration components and impact components on the X-axis, Y-axis and Z-axis, and there is no centrifugal force component on the Z-axis; therefore, using a low-pass filter to low-pass filter the X, Y, and Z-axis acceleration signals can filter out the frequency of the vibration signal. If the operating state of the drill bit is a rotating vibration state, there are vibration components, impact components and centrifugal force components on the X-axis and Y-axis, and there are vibration components and impact components on the Z-axis, therefore, using a band-pass filter to band-pass filter the acceleration signals of the X-axis and Y-axis can filter out the frequency and centrifugal component of the vibration signal; using a low-pass filter to low-pass filter the Z-axis acceleration signal can filter out the frequency of the vibration signal.
[0077] This embodiment adopts different filtering methods for the vibration state and the rotational vibration state according to the operating state of the drill bit, which can filter out unnecessary signals and noise, extract useful signals, improve the accuracy of the three-axis acceleration signal, and thus help improve the accuracy of the well deviation calculation.
[0078] S232, performing temperature compensation on the preprocessed three-axis acceleration signal.
[0079] Specifically, due to the high temperature in the operating environment of the drill bit, the acceleration sensor will offset when the temperature rises, and it needs to be temperature compensated to improve the consistency of the well deviation data within all operating temperature ranges.
[0080] In an optional embodiment, the temperature compensation of the preprocessed three-axis acceleration signal includes: obtaining the zero bias and the scale factor of the acceleration sensor at the current temperature; and performing temperature compensation on each axis acceleration signal of the preprocessed three-axis acceleration signal according to the zero bias and the scale factor.
[0081] Specifically, the method of performing temperature compensation on the preprocessed three-axis acceleration signal may be:
[0082]
[0083] Among them, X′ T2 is the first axis acceleration signal X within the second preset time T2 After preprocessing, the signal G X is the preprocessed first axis acceleration signal X′ T2 Signal after temperature compensation; Y′ T2 is the second axis acceleration signal Y within the second preset time T2 After preprocessing, the signal G Y is the preprocessed second axis acceleration signal Y′ T2 Signal after temperature compensation; Z′ T2 is the second axis acceleration signal Z within the second preset time T2 After preprocessing, the signal G Z is the preprocessed third axis acceleration signal Z′ T2 Signal after temperature compensation. B X , B Y and B Z is the zero bias of the acceleration sensor on three axes, S X , S Y and S Z is the scale factor of the acceleration sensor on the three axes.
[0084] In order to more clearly describe the well inclination measurement method provided by the embodiment of the present invention, well inclination measurement in a certain actual application scenario is taken as an example for explanation. Figure 3 A flowchart of a method for performing well deviation measurement in a certain application scenario provided in the second embodiment of the present invention is shown in FIG. Figure 3 As shown, the execution steps of the well inclination measurement method specifically include:
[0085] S1. The three-axis acceleration signal of drilling is measured by an acceleration sensor arranged close to the drill bit.
[0086] S2, within a first preset time period, determining whether the average energy of the first axis acceleration signal in the three-axis acceleration signal is less than or equal to the first vibration threshold; if so, executing S3 to S4; if not, executing S5;
[0087] S3, determining that the drill bit is in a stationary state, and there is no need to filter the three-axis acceleration signal, and temperature compensation is performed on the three-axis acceleration signal;
[0088] S4. Calculate the well inclination according to the third-axis acceleration signal in the processed three-axis acceleration signal.
[0089] S5, determining whether the number of consecutive times that the value of the second axis acceleration signal in the three-axis acceleration signal is greater than the second vibration threshold is less than or equal to a preset number; if so, executing S6 to S7; if not, executing S8 to S9;
[0090] S6, determining that the drill bit is in a vibration state, performing low-pass filtering on the three-axis acceleration signal, and performing temperature compensation on the filtered three-axis acceleration signal;
[0091] S7. Calculate the well inclination according to the temperature-compensated three-axis acceleration signal.
[0092] S8, determining that the drill bit is in a rotational vibration state; performing band-pass filtering on the first-axis acceleration signal and the second-axis acceleration signal in the three-axis acceleration signal, and performing low-pass filtering on the third-axis acceleration signal in the three-axis acceleration signal; and performing temperature compensation on the filtered three-axis acceleration signal;
[0093] S9. Calculate the well inclination according to the temperature-compensated three-axis acceleration signal.
[0094] Embodiment 3
[0095] Figure 4 This is a schematic diagram of the structure of a well inclination measurement device provided in the third embodiment of the present invention. Figure 4 As shown, the device includes: a signal measurement module 310, a signal processing module 320 and a well deviation calculation module 330; wherein,
[0096] The signal measurement module 310 is used to collect the three-axis acceleration signal of drilling through the acceleration sensor arranged near the drill bit;
[0097] A signal processing module 320, configured to determine the operating state of the drill bit according to the three-axis acceleration signal, and process the three-axis acceleration signal according to the operating state;
[0098] The well inclination calculation module 330 is used to calculate the well inclination of the drilling according to the operating state and the processed three-axis acceleration signal.
[0099] The technical solution of the embodiment of the present invention measures the three-axis acceleration signal of drilling through an acceleration sensor arranged near the drill bit; determines the operating state of the drill bit according to the three-axis acceleration signal, and processes the three-axis acceleration signal according to the operating state; and calculates the well inclination of drilling according to the operating state and the processed three-axis acceleration signal. During the drilling process, the three-axis acceleration signal is processed and calculated dynamically in real time according to the operating state of the drill bit, the interference caused by the drill bit is removed, and high-precision well inclination data is obtained, thereby improving the efficiency and accuracy of dynamic measurement of well inclination near the drill bit.
[0100] Optionally, the signal processing module 320 includes:
[0101] a state determination unit, configured to determine the operating state of the drill bit according to the three-axis acceleration signal within a first preset time period;
[0102] A signal processing unit is used to process the three-axis acceleration signal within a second preset time period according to the operating state.
[0103] Optionally, the state determination unit is specifically used to:
[0104] In the first preset time period, if the average energy of the first-axis acceleration signal in the three-axis acceleration signal is less than or equal to the first vibration threshold, it is determined that the drill bit is in a stationary state;
[0105] If the average energy is greater than the first vibration threshold, and the number of consecutive times that the value of the second-axis acceleration signal in the three-axis acceleration signal is greater than the second vibration threshold is less than or equal to a preset number, it is determined that the drill bit is in a vibration state;
[0106] If the average energy is greater than the first vibration threshold, and the value of the second axis acceleration signal is greater than the second vibration threshold for a continuous number of times greater than the preset number, it is determined that the drill bit is in a rotational vibration state.
[0107] Optionally, the signal processing unit includes:
[0108] a preprocessing subunit, configured to preprocess the three-axis acceleration signal within the second preset time period according to the operating state;
[0109] The temperature compensation subunit is used to perform temperature compensation on the preprocessed three-axis acceleration signal.
[0110] Optionally, the preprocessing subunit is specifically used for:
[0111] If the operating state is a vibration state, low-pass filtering is performed on the three-axis acceleration signal;
[0112] If the operating state is a rotational vibration state, the first axis acceleration signal and the second axis acceleration signal of the three-axis acceleration signal are band-pass filtered, and the third axis acceleration signal of the three-axis acceleration signal is low-pass filtered.
[0113] Optionally, the temperature compensation subunit is specifically used for:
[0114] Obtaining the zero bias and scale factor of the acceleration sensor at the current temperature;
[0115] Temperature compensation is performed on each of the preprocessed three-axis acceleration signals according to the zero bias and the scale factor.
[0116] Optionally, the well deviation calculation module 330 is specifically used for:
[0117] If the operating state is a stationary state, calculating the well inclination according to the third-axis acceleration signal in the processed three-axis acceleration signal;
[0118] If the operating state is a vibration state or a rotational vibration state, the well inclination is calculated according to the processed three-axis acceleration signal.
[0119] The well inclination measurement device provided in the embodiment of the present invention can execute the well inclination measurement method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0120] Embodiment 4
[0121] Figure 5 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.
[0122] like Figure 5As 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.
[0123] 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.
[0124] 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 well deviation measurement method.
[0125] In some embodiments, the well inclination measurement method may 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 may 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 well inclination measurement method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the well inclination measurement method in any other appropriate manner (e.g., by means of firmware).
[0126] 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.
[0127] In some embodiments, the well inclination measurement method can be implemented as a computer program, which is invisibly included in a computer program product. The computer program implements the well inclination measurement method of the present invention when executed by a processor. The computer program product can be understood as a software product that mainly implements its solution through a computer program. The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can 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 flowchart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as an independent software package and partially on a remote machine, or entirely on a remote machine or server.
[0128] 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.
[0129] 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).
[0130] 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.
[0131] 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.
[0132] 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.
[0133] 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 well inclination, characterized in that: include: The three-axis acceleration signal of drilling is collected by an acceleration sensor arranged near the drill bit; Determining the operating state of the drill bit according to the three-axis acceleration signal, and processing the three-axis acceleration signal according to the operating state; The well inclination of the drilling is calculated according to the operating state and the processed three-axis acceleration signal.
2. The method according to claim 1, characterized in that Determining the operating state of the drill bit according to the three-axis acceleration signal, and processing the three-axis acceleration signal according to the operating state, includes: Determining the operating state of the drill bit according to the three-axis acceleration signal within a first preset time period; The three-axis acceleration signal within a second preset time period is processed according to the operating state.
3. The method according to claim 2, characterized in that Determining the operating state of the drill bit according to the three-axis acceleration signal within a first preset time period includes: In the first preset time period, if the average energy of the first axis acceleration signal in the three-axis acceleration signal is less than or equal to the first vibration threshold, it is determined that the drill bit is in a stationary state; If the average energy is greater than the first vibration threshold, and the number of consecutive times that the value of the second-axis acceleration signal in the three-axis acceleration signal is greater than the second vibration threshold is less than or equal to a preset number, it is determined that the drill bit is in a vibration state; If the average energy is greater than the first vibration threshold, and the value of the second axis acceleration signal is greater than the second vibration threshold for a continuous number of times greater than the preset number, it is determined that the drill bit is in a rotational vibration state.
4. The method according to claim 2 or 3, characterized in that: The processing of the three-axis acceleration signal within a second preset time period according to the operating state includes: Preprocessing the three-axis acceleration signal within the second preset time period according to the operating state; Temperature compensation is performed on the preprocessed three-axis acceleration signal.
5. The method according to claim 4, characterized in that The preprocessing of the three-axis acceleration signal within the second preset time period according to the operating state includes: If the operating state is a vibration state, low-pass filtering is performed on the three-axis acceleration signal; If the operating state is a rotational vibration state, the first axis acceleration signal and the second axis acceleration signal of the three-axis acceleration signal are band-pass filtered, and the third axis acceleration signal of the three-axis acceleration signal is low-pass filtered.
6. The method according to claim 4, characterized in that The temperature compensation of the preprocessed three-axis acceleration signal comprises: Obtaining the zero bias and scale factor of the acceleration sensor at the current temperature; Temperature compensation is performed on each of the preprocessed three-axis acceleration signals according to the zero bias and the scale factor.
7. The method according to any one of claims 1 to 3, characterized in that Calculating the well deviation according to the operating state and the processed three-axis acceleration signal includes: If the operating state is a stationary state, calculating the well inclination according to the third-axis acceleration signal in the processed three-axis acceleration signal; If the operating state is a vibration state or a rotational vibration state, the well inclination is calculated according to the processed three-axis acceleration signal.
8. A well inclination measuring device, characterized in that: include: A signal measurement module is used to collect three-axis acceleration signals of drilling through an acceleration sensor arranged near the drill bit; A signal processing module, used for determining the operating state of the drill bit according to the three-axis acceleration signal, and processing the three-axis acceleration signal according to the operating state; The well inclination calculation module is used to calculate the well inclination of the drilling according to the operating state and the processed three-axis acceleration signal.
9. 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 perform the well inclination measurement method according to any one of claims 1 to 7.
10. 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 well inclination measurement method according to any one of claims 1 to 7 when executed.