Drilling fluid pulse validity identification method and device

By acquiring and inverting multiple parameters of the drilling fluid pulse signal, combining threshold judgment, and eliminating pseudo-pulse, the accurate identification of positive and negative combination pulse signals in a 10,000-meter ultra-deep well is achieved, solving the problem of insufficient signal recognition and improving the recognition accuracy.

CN120256998APending Publication Date: 2025-07-04CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410009243.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

The existing drilling fluid pulse recognition methods cannot accurately identify the positive and negative combined pulse signals generated by the positive and negative combined pulse generation method in the ultra-deep well of 10,000 meters, resulting in insufficient signal recognition.

Method used

By obtaining the peak, peak position and half peak width of the pulse signal to be measured, the signal is reversed to determine the valley value, valley position and half valley width, and judge the pseudo-pulse according to multiple threshold ranges, remove the pseudo-pulse to obtain the effective pulse, and comprehensively consider parameters such as peak height, valley height, position and width.

Benefits of technology

It improves the accuracy of drilling fluid pulse recognition and enhances the recognition of signals in ultra-deep wells of 10,000 meters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120256998A_ABST
    Figure CN120256998A_ABST
Patent Text Reader

Abstract

The invention provides a drilling fluid pulse validity identification method and device, and the method comprises the steps: obtaining a to-be-detected pulse signal, and determining a peak value, a peak position and a half-peak width of the to-be-detected pulse signal; reversing the pulse signal to be measured, and determining the valley value, the valley position and the half-valley width of the pulse signal to be measured; respectively determining the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; according to the peak value, the valley value, the half peak width, the half valley width, the ratio of the peak value to the valley value, the difference between the adjacent peak positions and the difference between the adjacent valley positions, determining a pseudo pulse in the pulse signal to be detected; and removing the pseudo pulse to obtain a corresponding effective pulse. When pulse effectiveness is judged, parameters such as peak height, valley height, peak position, valley position, half-peak width and half-valley width are comprehensively considered, and the accuracy of drilling fluid pulse recognition is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of drilling engineering in oil and gas exploration and development, and in particular to a method and device for identifying the effectiveness of drilling fluid pulses. Background Art

[0002] Measurement-While-Drilling (MWD) is a system that measures downhole information near the drill bit and transmits it to the surface in real time without interrupting normal drilling operations. There are currently three main ways of signal transmission: drilling fluid pulse, electromagnetic wave and acoustic wave. The electromagnetic wave transmission method is severely attenuated, so its use is greatly limited; the acoustic wave transmission method is still in the experimental stage and does not have the commercial value for widespread application; the drilling fluid pulse transmission method is currently the most widely used commercial method.

[0003] Drilling fluid pulse transmission methods can be divided into three forms according to their working principles: positive pulse, negative pulse and continuous wave. Among them, the positive pulse generator is limited by the minimum gap and maximum pulse width of the valve head, and the amplitude of the original pulse signal generated has an upper limit. In deep wells and ultra-deep wells, the attenuation effect of the well depth on the signal amplitude increases significantly; the negative pulse generator not only has an upper limit on the amplitude of the original pulse signal, but also in ultra-deep wells, the application depth of the negative pulser is also limited; the continuous wave pulser has a fast transmission speed, high pulse frequency, and faster signal attenuation, and is not suitable for deep well and ultra-deep well applications.

[0004] At present, a method for generating downhole positive and negative combined pulses suitable for directional drilling of ultra-deep wells of 10,000 meters has been proposed. Without increasing the complexity of the instrument too much, the base value and shape of the pulse signal are changed to form positive and negative pulse drilling fluid pressure waves with equal amplitude and opposite directions in the drill string, thereby increasing the relative amplitude of the original pulse signal of the downhole pulser, obtaining a positive and negative combined pulse signal that is more recognizable than a single positive pulse or negative pulse signal, increasing the relative amplitude of the pulse signal transmitted to the ground, and creating a more recognizable pulse waveform. However, there is currently no supporting identification method for accurately identifying the positive and negative combined pulse signals generated by the above-mentioned positive and negative combined pulse generation method. Therefore, a new drilling fluid pulse effectiveness identification method is urgently needed to solve the above-mentioned technical problems. Summary of the invention

[0005] The present invention provides a drilling fluid pulse effectiveness identification method and device, which are used to effectively improve the accuracy of drilling fluid pulse identification.

[0006] In a first aspect, the present invention provides a method for identifying the effectiveness of a drilling fluid pulse, the method comprising:

[0007] Obtain the pulse signal to be measured, and determine the peak value, peak position, and full width at half maximum (FWHM) of the pulse signal to be measured;

[0008] Invert the pulse signal to be measured, and determine the valley value, valley position, and full width at half minimum (FWHM) of the pulse signal to be measured;

[0009] Respectively determine the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0010] Determine the spurious pulses in the pulse signal to be measured according to the peak value, the valley value, the FWHM, the FWHM, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0011] Reject the spurious pulses to obtain the corresponding valid pulses.

[0012] Optionally, determining the spurious pulses in the pulse signal to be measured according to the peak value, the valley value, the FWHM, the FWHM, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions includes:

[0013] Judge whether the peak value satisfies the first threshold range; if so, determine that the pulse corresponding to the peak value is the valid pulse; if not, determine that the pulse corresponding to the peak value is the spurious pulse;

[0014] Judge whether the valley value satisfies the second threshold range; if so, determine that the pulse corresponding to the valley value is the valid pulse; if not, determine that the pulse corresponding to the valley value is the spurious pulse;

[0015] Judge whether the FWHM satisfies the third threshold range; if so, determine that the pulse corresponding to the FWHM is the valid pulse; if not, determine that the pulse corresponding to the FWHM is the spurious pulse;

[0016] Judge whether the FWHM satisfies the fourth threshold range; if so, determine that the pulse corresponding to the FWHM is the valid pulse; if not, determine that the pulse corresponding to the FWHM is the spurious pulse.

[0017] Optionally, determining the spurious pulses in the pulse signal to be measured according to the peak value, the valley value, the FWHM, the FWHM, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions further includes:

[0018] Judge whether there is a situation where the difference between the peak position and any valley position satisfies the fifth threshold range; if so, determine that the pulse corresponding to the peak position is the valid pulse; if not, determine that the pulse corresponding to the peak position is the spurious pulse;

[0019] Determine whether the difference between the valley position after inversion and any of the peak positions satisfies a fifth threshold range; if so, determine the pulse corresponding to the valley position as the valid pulse; if not, determine the pulse corresponding to the valley position as the pseudo pulse;

[0020] Determine whether there is only one valley between the adjacent peaks; if so, determine the pulse corresponding to the valley as the valid pulse; if not, determine the pulse corresponding to the maximum valley value between the adjacent peaks as the valid pulse, and the other pulses as the pseudo pulses;

[0021] Determine whether there is only one peak between the adjacent valleys; if so, determine the pulse corresponding to the peak as the valid pulse; if not, determine the pulse corresponding to the maximum peak value between the adjacent valleys as the valid pulse, and the other pulses as the pseudo pulses;

[0022] Determine whether the ratio of the peak value to the valley value satisfies a sixth threshold range; if so, determine the two pulses corresponding to the ratio of the peak value to the valley value as the valid pulses; if not, determine the two pulses corresponding to the ratio of the peak value to the valley value as the pseudo pulses.

[0023] Optionally, determining the pseudo pulses in the to-be-detected pulse signal according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between the adjacent peak positions, and the difference between the adjacent valley positions further includes:

[0024] Determine whether the difference between the adjacent peak positions satisfies a seventh threshold range; if so, determine the two pulses corresponding to the difference between the adjacent peak positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent peak positions as the pseudo pulses;

[0025] Determine whether the difference between the adjacent valley positions satisfies an eighth threshold range; if so, determine the two pulses corresponding to the difference between the adjacent valley positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent valley positions as the pseudo pulses.

[0026] In a second aspect, the present invention provides a device for identifying the validity of drilling fluid pulses, including:

[0027] An acquisition module, configured to acquire a to-be-detected pulse signal and determine the peak value, the peak position, and the half-peak width of the to-be-detected pulse signal;

[0028] An inversion module, configured to invert the to-be-detected pulse signal and determine the valley value, the valley position, and the half-valley width of the to-be-detected pulse signal;

[0029] A data determination module, configured to respectively determine the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0030] A pseudo-pulse determination module, configured to determine pseudo-pulses in the to-be-detected pulse signal according to the peak value, the valley value, the full-width at half maximum, the full-width at half minimum, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0031] A valid-pulse determination module, configured to eliminate the pseudo-pulses to obtain corresponding valid pulses.

[0032] Optionally, the pseudo-pulse determination module includes:

[0033] A first judgment sub-module, configured to judge whether the peak value satisfies a first threshold range; if so, determine that the pulse corresponding to the peak value is the valid pulse; if not, determine that the pulse corresponding to the peak value is the pseudo-pulse;

[0034] A second judgment sub-module, configured to judge whether the valley value satisfies a second threshold range; if so, determine that the pulse corresponding to the valley value is the valid pulse; if not, determine that the pulse corresponding to the valley value is the pseudo-pulse;

[0035] A third judgment sub-module, configured to judge whether the full-width at half maximum satisfies a third threshold range; if so, determine that the pulse corresponding to the full-width at half maximum is the valid pulse; if not, determine that the pulse corresponding to the full-width at half maximum is the pseudo-pulse;

[0036] A fourth judgment sub-module, configured to judge whether the full-width at half minimum satisfies a fourth threshold range; if so, determine that the pulse corresponding to the full-width at half minimum is the valid pulse; if not, determine that the pulse corresponding to the full-width at half minimum is the pseudo-pulse.

[0037] Optionally, the pseudo-pulse determination module further includes:

[0038] A fifth judgment sub-module, configured to judge whether there is a situation where the difference between the peak position and any of the valley positions satisfies a fifth threshold range; if so, determine that the pulse corresponding to the peak position is the valid pulse; if not, determine that the pulse corresponding to the peak position is the pseudo-pulse;

[0039] A sixth judgment sub-module, configured to judge whether there is a situation where the difference between the valley position after inversion and any of the peak positions satisfies a fifth threshold range; if so, determine that the pulse corresponding to the valley position is the valid pulse; if not, determine that the pulse corresponding to the valley position is the pseudo-pulse;

[0040] A seventh determination sub-module, configured to determine whether there is only one valley between the adjacent peaks; if so, determine the pulse corresponding to the valley as the valid pulse; if not, determine the pulse corresponding to the maximum valley value between the adjacent peaks as the valid pulse, and other pulses as the pseudo pulses;

[0041] An eighth determination sub-module, configured to determine whether there is only one peak between the adjacent valleys; if so, determine the pulse corresponding to the peak as the valid pulse; if not, determine the pulse corresponding to the maximum peak value between the adjacent valleys as the valid pulse, and other pulses as the pseudo pulses;

[0042] A ninth determination sub-module, configured to determine whether the ratio of the peak value to the valley value satisfies a sixth threshold range; if so, determine the two pulses corresponding to the ratio of the peak value to the valley value as the valid pulses; if not, determine the two pulses corresponding to the ratio of the peak value to the valley value as the pseudo pulses.

[0043] Optionally, the pseudo pulse determination module further includes:

[0044] A tenth determination sub-module, configured to determine whether the difference between the adjacent peak positions satisfies a seventh threshold range; if so, determine the two pulses corresponding to the difference between the adjacent peak positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent peak positions as the pseudo pulses;

[0045] An eleventh determination sub-module, configured to determine whether the difference between the adjacent valley positions satisfies an eighth threshold range; if so, determine the two pulses corresponding to the difference between the adjacent valley positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent valley positions as the pseudo pulses.

[0046] In a third aspect, the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect above are run.

[0047] In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the method provided in the first aspect above are run.

[0048] From the above technical solutions, it can be seen that the present invention has the following advantages:

[0049] The present invention provides a method and device for identifying the effectiveness of drilling fluid pulses. The method includes: obtaining a pulse signal to be measured, and determining the peak value, peak position, and half-peak width of the pulse signal to be measured; inverting the pulse signal to be measured, and determining the valley value, valley position, and half-valley width of the pulse signal to be measured; respectively determining the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; determining the pseudo-pulses in the pulse signal to be measured according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; and removing the pseudo-pulses to obtain corresponding effective pulses. When judging the effectiveness of pulses, parameters such as peak height, valley height, peak position, valley position, half-peak width, and half-valley width are comprehensively considered, effectively improving the accuracy of drilling fluid pulse identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0051] Figure 1 It is a flowchart of the first embodiment of a method for identifying the effectiveness of drilling fluid pulses according to the present invention;

[0052] Figure 2 It is a flowchart of the second embodiment of a method for identifying the effectiveness of drilling fluid pulses according to the present invention;

[0053] Figure 3 It is a schematic diagram of an ideal pulse signal;

[0054] Figure 4 It is a schematic diagram of information of a pulse signal to be measured;

[0055] Figure 5 It is a schematic diagram of the inverted pulse signal to be measured;

[0056] Figure 6 It is a schematic diagram of the pulse signal to be measured after removing the peak value that does not meet the first threshold range;

[0057] Figure 7 It is a schematic diagram of the pulse signal to be measured after removing the valley value that does not meet the second threshold range;

[0058] Figure 8 It is a schematic diagram of the pulse signal to be measured after removing the half-peak width that does not meet the third threshold range;

[0059] Figure 9Schematic diagram of a pulse signal to be measured after removing the pulse signals whose half valley widths do not meet the fourth threshold range;

[0060] Figure 10 One of the schematic diagrams of the pulse signal to be measured after removing the pulse signals whose difference between the peak position and the valley position does not meet the fifth threshold range;

[0061] Figure 11 Another schematic diagram of the pulse signal to be measured after removing the pulse signals whose difference between the peak position and the valley position does not meet the fifth threshold range;

[0062] Figure 12 One of the schematic diagrams of the pulse signal to be measured after removing the pulse signals whose ratio of the peak value to the valley value does not meet the sixth threshold range;

[0063] Figure 13 Another schematic diagram of the pulse signal to be measured after removing the pulse signals whose ratio of the peak value to the valley value does not meet the sixth threshold range;

[0064] Figure 14 Schematic diagram of the pulse signal to be measured after removing the pulse signals whose difference between adjacent peak positions does not meet the seventh threshold range;

[0065] Figure 15 Schematic diagram of the pulse signal to be measured after removing the pulse signals whose difference between adjacent valley positions does not meet the eighth threshold range;

[0066] Figure 16 Structural block diagram of an embodiment of a device for identifying the effectiveness of drilling fluid pulses according to the present invention. Detailed implementation manners

[0067] The embodiments of the present invention provide a method and a device for identifying the effectiveness of drilling fluid pulses, which are used to effectively improve the accuracy of identifying drilling fluid pulses.

[0068] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0069] Embodiment 1. Please refer to Figure 1 , Figure 1 which is a flowchart of the steps of Embodiment 1 of a method for identifying the effectiveness of drilling fluid pulses according to the present invention, and includes:

[0070] S101. Obtain a pulse signal to be measured, and determine the peak value, peak position, and half peak width of the pulse signal to be measured;

[0071] S102, inverting the pulse signal to be tested, and determining the valley value, valley position and half valley width of the pulse signal to be tested;

[0072] S103, respectively determining the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0073] S104, determining a pseudo pulse in the pulse signal to be detected according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0074] S105, eliminating the false pulses to obtain corresponding valid pulses.

[0075] A method for identifying the effectiveness of drilling fluid pulses provided in an embodiment of the present invention obtains a pulse signal to be tested, and determines the peak value, peak position, and half-peak width of the pulse signal to be tested; inverts the pulse signal to be tested, and determines the valley value, valley position, and half-valley width of the pulse signal to be tested; respectively determines the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; determines the pseudo pulses in the pulse signal to be tested according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; removes the pseudo pulses to obtain the corresponding valid pulses. When judging the effectiveness of the pulse, comprehensively consider parameters such as peak height, valley height, peak position, valley position, half-peak width, and half-valley width, so as to effectively improve the accuracy of drilling fluid pulse identification.

[0076] For example 2, please refer to Figure 2 , Figure 2 The flowchart of the second embodiment of the method for identifying the effectiveness of drilling fluid pulses of the present invention includes:

[0077] Step S201, obtaining a pulse signal to be measured, and determining the peak value, peak position and half-peak width of the pulse signal to be measured;

[0078] See also Figure 3 , Figure 3 is a schematic diagram of an ideal pulse signal. Common peak-finding algorithms include comparison method, derivative method, polynomial fitting method, wavelet transform method, and Gaussian curve fitting method. Figure 3 It can be seen that the ideal coding signal should consist of a square wave with a duration of 1s and an amplitude of +1 and a square wave with a duration of 1s and an amplitude of -1. However, since the pulse signal actually collected is generated by the drilling fluid pulse generator according to the coding signal and transmitted to the ground through a drilling fluid channel of several thousand meters, the actual collected pulse signal is quite different from the ideal coding signal and there is a lot of interference.

[0079] Step S202: Invert the pulse signal to be measured, and determine the valley value, valley position, and half valley width of the pulse signal to be measured.

[0080] Please refer to Figure 4 and Figure 5 , Figure 4 which is a schematic diagram of the pulse information to be measured, Figure 5 and Figure 4 is a schematic diagram of the inverted pulse signal to be measured. From Figure 5 it can be seen that the peak detection result of the pulse signal to be measured includes 18 peaks and 18 valleys.

[0081] Step S203: Respectively determine the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions.

[0082] Step S204: Judge whether the peak value satisfies the first threshold range; if so, determine that the pulse corresponding to the peak value is the valid pulse; if not, determine that the pulse corresponding to the peak value is the pseudo pulse.

[0083] Step S205: Judge whether the valley value satisfies the second threshold range; if so, determine that the pulse corresponding to the valley value is the valid pulse; if not, determine that the pulse corresponding to the valley value is the pseudo pulse.

[0084] It should be noted that the peak value and the valley value are related to parameters such as the structure of the pulser, the wellbore structure, the performance of the drilling fluid, and the performance of the mud pump.

[0085] Please refer to Figure 6 and Figure 7 , Figure 6 which is a schematic diagram of the pulse signal to be measured after removing the peak values that do not satisfy the first threshold range, Figure 7 and Figure 6 is a schematic diagram of the pulse signal to be measured after removing the valley values that do not satisfy the second threshold range. From Figure 7 it can be seen that the removal result includes 5 peaks and 8 valleys.

[0086] In a specific implementation, the first threshold range and the second threshold range are usually set according to experience. The first threshold range in the embodiment of the present invention is 1.5 - 45 psi, and the second threshold range is 1 - 30 psi.

[0087] Step S206: Judge whether the half peak width satisfies the third threshold range; if so, determine that the pulse corresponding to the half peak width is the valid pulse; if not, determine that the pulse corresponding to the half peak width is the pseudo pulse.

[0088] Step S207: Determine whether the half-valley width satisfies the fourth threshold range. If so, determine the pulse corresponding to the half-valley width as the valid pulse; if not, determine the pulse corresponding to the half-valley width as the pseudo pulse.

[0089] Please refer to Figure 8 and Figure 9 , Figure 8 which is a schematic diagram of the pulse signal to be measured after removing the pulses whose half-peak width does not satisfy the third threshold range. Figure 9 which is a schematic diagram of the pulse signal to be measured after removing the pulses whose half-valley width does not satisfy the fourth threshold range. As can be seen from Figure 8 and Figure 9 the removal result includes 4 peaks and 8 valleys.

[0090] In specific implementation, the third threshold range and the fourth threshold range are usually set according to the pulse width of the encoded signal. The third threshold range in the embodiment of the present invention is 0.8 - 1.2 s, and the fourth threshold range is 0.8 - 1.2 s.

[0091] Step S208: Determine whether there is a difference between the peak position and any of the valley positions that satisfies the fifth threshold range. If so, determine the pulse corresponding to the peak position as the valid pulse; if not, determine the pulse corresponding to the peak position as the pseudo pulse.

[0092] Please refer to Figure 10 and Figure 11 , Figure 10 which is one of the schematic diagrams of the pulse signal to be measured after removing the difference between the peak position and the valley position that does not satisfy the fifth threshold range. Figure 11 which is the second schematic diagram of the pulse signal to be measured after removing the difference between the peak position and the valley position that does not satisfy the fifth threshold range. As can be seen from Figure 10 and Figure 11 the removal result includes 3 peaks and 3 valleys.

[0093] Step S209: Determine whether there is a difference between the valley position after inversion and any of the peak positions that satisfies the fifth threshold range. If so, determine the pulse corresponding to the valley position as the valid pulse; if not, determine the pulse corresponding to the valley position as the pseudo pulse.

[0094] In specific implementation, the fifth threshold range is usually set according to the pulse width of the encoded signal. The fifth threshold range in the embodiment of the present invention is 0.8 - 1.2 s. There can only be one valley between adjacent peaks, and there can only be one peak between adjacent valleys.

[0095] Step S210: Determine whether there is only one valley between the adjacent peaks. If so, determine the pulse corresponding to the valley as the valid pulse; if not, determine the pulse corresponding to the maximum valley value between the adjacent peaks as the valid pulse, and the other pulses as the pseudo pulses.

[0096] Step S211: Determine whether there is only one peak between the adjacent valleys; if so, determine the pulse corresponding to the peak as the valid pulse; if not, determine the pulse corresponding to the maximum peak value between the adjacent valleys as the valid pulse, and other pulses as the pseudo pulses.

[0097] Step S212: Determine whether the ratio of the peak value to the valley value satisfies the sixth threshold range; if so, determine the two pulses corresponding to the ratio of the peak value to the valley value as the valid pulses; if not, determine the two pulses corresponding to the ratio of the peak value to the valley value as the pseudo pulses.

[0098] Please refer to Figure 12 and Figure 13 , Figure 12 which is one of the schematic diagrams of the pulse signal to be measured after removing the ratio of the peak value to the valley value that does not satisfy the sixth threshold range. Figure 12 which is the second schematic diagram of the pulse signal to be measured after removing the ratio of the peak value to the valley value that does not satisfy the sixth threshold range. Through Figure 12 and Figure 13 it can be seen that the removal result includes 2 peaks and 2 valleys.

[0099] In a specific implementation, the sixth threshold range is usually set according to experience. The sixth threshold range in the embodiments of the present invention is 1.2 to 1.8.

[0100] Step S213: Determine whether the difference between the positions of the adjacent peaks satisfies the seventh threshold range; if so, determine the two pulses corresponding to the difference between the positions of the adjacent peaks as the valid pulses; if not, determine the two pulses corresponding to the difference between the positions of the adjacent peaks as the pseudo pulses.

[0101] Step S214: Determine whether the difference between the positions of the adjacent valleys satisfies the eighth threshold range; if so, determine the two pulses corresponding to the difference between the positions of the adjacent valleys as the valid pulses; if not, determine the two pulses corresponding to the difference between the positions of the adjacent valleys as the pseudo pulses.

[0102] Please refer to Figure 14 and Figure 15 , Figure 14 which is the schematic diagram of the pulse signal to be measured after removing the difference between the positions of the adjacent peaks that does not satisfy the seventh threshold range. Figure 15 which is the schematic diagram of the pulse signal to be measured after removing the difference between the positions of the adjacent valleys that does not satisfy the eighth threshold range. Through Figure 14 and Figure 15 it can be seen that the removal result includes 1 peak and 1 valley.

[0103] ​In a specific implementation, the seventh threshold range and the eighth threshold range are usually set according to the coding rules. In the embodiments of the present invention, the seventh threshold range is 15 - 25 s, and the eighth threshold range is 15 - 25 s.

[0104] Step S215, removing the pseudo-pulses to obtain corresponding effective pulses.

[0105] Embodiment 3, please refer to Figure 16 , Figure 16 which is a structural block diagram of an embodiment of a detection device for the wall thickness of a pipeline according to the present invention, including:

[0106] An acquisition module 301, configured to acquire a pulse signal to be measured and determine the peak value, peak position, and half-peak width of the pulse signal to be measured;

[0107] An inversion module 302, configured to invert the pulse signal to be measured and determine the valley value, valley position, and half-valley width of the pulse signal to be measured;

[0108] A data determination module 303, configured to respectively determine the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0109] A pseudo-pulse determination module 304, configured to determine the pseudo-pulses in the pulse signal to be measured according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions;

[0110] An effective pulse determination module 305, configured to remove the pseudo-pulses to obtain corresponding effective pulses.

[0111] In an alternative embodiment, the pseudo-pulse determination module 304 includes:

[0112] A first judgment sub-module, configured to judge whether the peak value satisfies a first threshold range; if so, determining the pulse corresponding to the peak value as the effective pulse; if not, determining the pulse corresponding to the peak value as the pseudo-pulse;

[0113] A second judgment sub-module, configured to judge whether the valley value satisfies a second threshold range; if so, determining the pulse corresponding to the valley value as the effective pulse; if not, determining the pulse corresponding to the valley value as the pseudo-pulse;

[0114] A third judgment sub-module, configured to judge whether the half-peak width satisfies a third threshold range; if so, determining the pulse corresponding to the half-peak width as the effective pulse; if not, determining the pulse corresponding to the half-peak width as the pseudo-pulse;

[0115] A fourth judgment sub-module, configured to judge whether the half valley width meets a fourth threshold range; if so, determine the pulse corresponding to the half valley width as the valid pulse; if not, determine the pulse corresponding to the half valley width as the pseudo pulse.

[0116] In an alternative embodiment, the pseudo pulse determination module 304 further includes:

[0117] A fifth judgment sub-module, configured to judge whether there is a situation where the difference between the peak position and any of the valley positions meets a fifth threshold range; if so, determine the pulse corresponding to the peak position as the valid pulse; if not, determine the pulse corresponding to the peak position as the pseudo pulse;

[0118] A sixth judgment sub-module, configured to judge whether there is a situation where the difference between the inverted valley position and any of the peak positions meets a fifth threshold range; if so, determine the pulse corresponding to the valley position as the valid pulse; if not, determine the pulse corresponding to the valley position as the pseudo pulse;

[0119] A seventh judgment sub-module, configured to judge whether there is only one valley between adjacent peaks; if so, determine the pulse corresponding to the valley as the valid pulse; if not, determine the pulse corresponding to the maximum valley value between the adjacent peaks as the valid pulse, and other pulses as the pseudo pulses;

[0120] An eighth judgment sub-module, configured to judge whether there is only one peak between adjacent valleys; if so, determine the pulse corresponding to the peak as the valid pulse; if not, determine the pulse corresponding to the maximum peak value between the adjacent valleys as the valid pulse, and other pulses as the pseudo pulses;

[0121] A ninth judgment sub-module, configured to judge whether the ratio of the peak value to the valley value meets a sixth threshold range; if so, determine the two pulses corresponding to the ratio of the peak value to the valley value as the valid pulses; if not, determine the two pulses corresponding to the ratio of the peak value to the valley value as the pseudo pulses.

[0122] In an alternative embodiment, the pseudo pulse determination module 304 further includes:

[0123] A tenth judgment sub-module, configured to judge whether the difference between adjacent peak positions meets a seventh threshold range; if so, determine the two pulses corresponding to the difference between the adjacent peak positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent peak positions as the pseudo pulses;

[0124] An eleventh determination sub-module, configured to determine whether the difference between the adjacent valley positions satisfies an eighth threshold range; if so, determine the two pulses corresponding to the difference between the adjacent valley positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent valley positions as the pseudo pulses.

[0125] Embodiment 4. The embodiment of the present invention further provides an electronic device, including a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of a method for identifying the validity of drilling fluid pulses in any one of the embodiments.

[0126] Embodiment 5. The embodiment of the present invention further provides a computer storage medium, on which a computer program is stored. When the computer program is executed by the processor, the steps of a method for identifying the validity of drilling fluid pulses in any one of the embodiments are implemented.

[0127] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0128] In several embodiments provided in the present application, it should be understood that the methods, devices, electronic devices, and storage media disclosed by the present invention can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

[0129] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0130] In addition, in each embodiment of the present invention, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-integrated units can be implemented in the form of hardware or in the form of software functional units.

[0131] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned readable storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0132] As described above, the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of various embodiments of the present invention.

Claims

1. A method for identifying the effectiveness of drilling fluid pulses, characterized in that, The method includes: Obtaining a pulse signal to be measured, and determining the peak value, peak position, and half-peak width of the pulse signal to be measured; Inverting the pulse signal to be measured, and determining the valley value, valley position, and half-valley width of the pulse signal to be measured; Respectively determining the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; Determining the spurious pulses in the pulse signal to be measured according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; Removing the spurious pulses to obtain corresponding valid pulses.

2. The method for identifying the effectiveness of drilling fluid pulses according to claim 1, characterized in that, Determining the spurious pulses in the pulse signal to be measured according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions includes: Judging whether the peak value satisfies a first threshold range; if so, determining the pulse corresponding to the peak value as the valid pulse; if not, determining the pulse corresponding to the peak value as the spurious pulse; Judging whether the valley value satisfies a second threshold range; if so, determining the pulse corresponding to the valley value as the valid pulse; if not, determining the pulse corresponding to the valley value as the spurious pulse; Judging whether the half-peak width satisfies a third threshold range; if so, determining the pulse corresponding to the half-peak width as the valid pulse; if not, determining the pulse corresponding to the half-peak width as the spurious pulse; Judging whether the half-valley width satisfies a fourth threshold range; if so, determining the pulse corresponding to the half-valley width as the valid pulse; if not, determining the pulse corresponding to the half-valley width as the spurious pulse.

3. The method for identifying the effectiveness of drilling fluid pulses according to claim 2, characterized in that Determining the spurious pulses in the pulse signal to be measured according to the peak value, the valley value, the half-peak width, the half-valley width, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions further includes: Judging whether there is a situation where the difference between the peak position and any of the valley positions satisfies a fifth threshold range; if so, determining the pulse corresponding to the peak position as the valid pulse; if not, determining the pulse corresponding to the peak position as the spurious pulse; Judging whether there is a situation where the difference between the valley position after inversion and any of the peak positions satisfies a fifth threshold range; if so, determining the pulse corresponding to the valley position as the valid pulse; if not, determining the pulse corresponding to the valley position as the spurious pulse; Judging whether there is only one valley between adjacent peaks; if so, determining the pulse corresponding to the valley as the valid pulse; if not, determining the pulse corresponding to the maximum valley value between adjacent peaks as the valid pulse, and other pulses as the spurious pulses; Judging whether there is only one peak between adjacent valleys; if so, determining the pulse corresponding to the peak as the valid pulse; if not, determining the pulse corresponding to the maximum peak value between adjacent valleys as the valid pulse, and other pulses as the spurious pulses; Determine whether the ratio of the peak value to the valley value satisfies the sixth threshold range; if so, determine the two pulses corresponding to the ratio of the peak value to the valley value as the valid pulses; if not, determine the two pulses corresponding to the ratio of the peak value to the valley value as the pseudo pulses.

4. The method for identifying the effectiveness of drilling fluid pulses according to claim 3, characterized in that Determining the pseudo pulses in the to-be-detected pulse signal according to the peak value, the valley value, the full-width at half maximum, the full-width at half minimum, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions further includes: Determine whether the difference between adjacent peak positions satisfies the seventh threshold range; if so, determine the two pulses corresponding to the difference between adjacent peak positions as the valid pulses; if not, determine the two pulses corresponding to the difference between adjacent peak positions as the pseudo pulses; Determine whether the difference between adjacent valley positions satisfies the eighth threshold range; if so, determine the two pulses corresponding to the difference between adjacent valley positions as the valid pulses; if not, determine the two pulses corresponding to the difference between adjacent valley positions as the pseudo pulses.

5. A device for identifying the effectiveness of drilling fluid pulses, characterized in that, Comprising: An acquisition module, configured to acquire a to-be-detected pulse signal and determine the peak value, peak position, and full-width at half maximum of the to-be-detected pulse signal; An inversion module, configured to invert the to-be-detected pulse signal and determine the valley value, valley position, and full-width at half minimum of the to-be-detected pulse signal; A data determination module, configured to respectively determine the difference between the peak position and the valley position, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; A pseudo pulse determination module, configured to determine the pseudo pulses in the to-be-detected pulse signal according to the peak value, the valley value, the full-width at half maximum, the full-width at half minimum, the ratio of the peak value to the valley value, the difference between adjacent peak positions, and the difference between adjacent valley positions; A valid pulse determination module, configured to remove the pseudo pulses to obtain corresponding valid pulses.

6. The drilling fluid pulse effectiveness identification device according to claim 5, characterized in that The pseudo pulse determination module includes: A first judgment sub-module, configured to judge whether the peak value satisfies the first threshold range; if so, determine the pulse corresponding to the peak value as the valid pulse; if not, determine the pulse corresponding to the peak value as the pseudo pulse; A second judgment sub-module, configured to judge whether the valley value satisfies the second threshold range; if so, determine the pulse corresponding to the valley value as the valid pulse; if not, determine the pulse corresponding to the valley value as the pseudo pulse; A third judgment sub-module, configured to judge whether the full-width at half maximum satisfies the third threshold range; if so, determine the pulse corresponding to the full-width at half maximum as the valid pulse; if not, determine the pulse corresponding to the full-width at half maximum as the pseudo pulse; A fourth judgment sub-module, configured to judge whether the full-width at half minimum satisfies the fourth threshold range; if so, determine the pulse corresponding to the full-width at half minimum as the valid pulse; if not, determine the pulse corresponding to the full-width at half minimum as the pseudo pulse.

7. The drilling fluid pulse effectiveness identification device according to claim 6, characterized in that, The pseudo pulse determination module further includes: A fifth judgment sub-module, configured to judge whether there is a situation where the difference between the peak position and any valley position satisfies the fifth threshold range; if so, determine the pulse corresponding to the peak position as the valid pulse; if not, determine the pulse corresponding to the peak position as the pseudo pulse; The sixth judgment sub-module is used to judge whether the difference between the valley position after inversion and any of the peak positions satisfies the fifth threshold range; if so, determine the pulse corresponding to the valley position as the valid pulse; if not, determine the pulse corresponding to the valley position as the pseudo-pulse; The seventh judgment sub-module is used to judge whether there is only one valley between the adjacent peaks; if so, determine the pulse corresponding to the valley as the valid pulse; if not, determine the pulse corresponding to the maximum valley value between the adjacent peaks as the valid pulse, and the other pulses as the pseudo-pulses; The eighth judgment sub-module is used to judge whether there is only one peak between the adjacent valleys; if so, determine the pulse corresponding to the peak as the valid pulse; if not, determine the pulse corresponding to the maximum peak value between the adjacent valleys as the valid pulse, and the other pulses as the pseudo-pulses; The ninth judgment sub-module is used to judge whether the ratio of the peak value to the valley value satisfies the sixth threshold range; if so, determine the two pulses corresponding to the ratio of the peak value to the valley value as the valid pulses; if not, determine the two pulses corresponding to the ratio of the peak value to the valley value as the pseudo-pulses.

8. The drilling fluid pulse effectiveness identification device according to claim 7, characterized in that, The pseudo-pulse determination module further includes: The tenth judgment sub-module is used to judge whether the difference between the adjacent peak positions satisfies the seventh threshold range; if so, determine the two pulses corresponding to the difference between the adjacent peak positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent peak positions as the pseudo-pulses; The eleventh judgment sub-module is used to judge whether the difference between the adjacent valley positions satisfies the eighth threshold range; if so, determine the two pulses corresponding to the difference between the adjacent valley positions as the valid pulses; if not, determine the two pulses corresponding to the difference between the adjacent valley positions as the pseudo-pulses.

9. An electronic device, characterized in that, It includes a processor and a memory, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the method according to any one of claims 1-4 is run.

10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the method according to any one of claims 1-4 is run.