CN111308560B - Method and device for eliminating noise of MWD (measurement while drilling) system - Google Patents

Method and device for eliminating noise of MWD (measurement while drilling) system Download PDF

Info

Publication number
CN111308560B
CN111308560B CN201911309266.3A CN201911309266A CN111308560B CN 111308560 B CN111308560 B CN 111308560B CN 201911309266 A CN201911309266 A CN 201911309266A CN 111308560 B CN111308560 B CN 111308560B
Authority
CN
China
Prior art keywords
signal
mud
frequency
pumping
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911309266.3A
Other languages
Chinese (zh)
Other versions
CN111308560A (en
Inventor
王智明
张爽
陈伟
张松炜
顾庆水
杜小强
孙宝阳
程怀标
袁超
朱辉
杨波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Oilfield Services Ltd
China National Offshore Oil Corp CNOOC
Original Assignee
China Oilfield Services Ltd
China National Offshore Oil Corp CNOOC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Oilfield Services Ltd, China National Offshore Oil Corp CNOOC filed Critical China Oilfield Services Ltd
Priority to CN201911309266.3A priority Critical patent/CN111308560B/en
Priority to PCT/CN2020/083789 priority patent/WO2021120454A1/en
Publication of CN111308560A publication Critical patent/CN111308560A/en
Application granted granted Critical
Publication of CN111308560B publication Critical patent/CN111308560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V1/00Seismology; Seismic or acoustic prospecting or detecting
    • G01V1/40Seismology; Seismic or acoustic prospecting or detecting specially adapted for well-logging
    • G01V1/44Seismology; Seismic or acoustic prospecting or detecting specially adapted for well-logging using generators and receivers in the same well
    • G01V1/48Processing data
    • G01V1/50Analysing data
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V2210/00Details of seismic processing or analysis
    • G01V2210/60Analysis
    • G01V2210/61Analysis by combining or comparing a seismic data set with other data
    • G01V2210/616Data from specific type of measurement
    • G01V2210/6169Data from specific type of measurement using well-logging

Landscapes

  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • Remote Sensing (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Noise Elimination (AREA)

Abstract

The invention discloses a method for eliminating noise of a MWD (measurement while drilling) system, which comprises the following steps: receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal; carrying out Fourier transform on the mud signals to obtain frequency domain mud signals; and obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor. By the scheme of the invention, the periodic noise of the MWD system during measurement while drilling is eliminated in the frequency domain.

Description

Method and device for eliminating noise of MWD (measurement while drilling) system
Technical Field
The invention relates to the field of well logging, in particular to a method and a device for eliminating noise of a MWD system during measurement while drilling.
Background
The logging-while-drilling system is used for measuring underground geological and engineering parameters in real time in the drilling process. The mud pulse while-drilling data demodulation system is used for transmitting the while-drilling logging data to the ground from the underground in real time. The transmission system utilizes the mud interception effect generated by the motion of the pulser to cause the pressure fluctuation of mud, and modulates the digital signal in the mud pressure wave to be transmitted to the ground, thereby realizing the real-time transmission of underground measurement data to the ground. The mud pulse while-drilling data transmission system comprises three main functional modules: the device comprises a mud pulse generating mechanism, a mud signal transmission channel and a pressure wave acquisition and demodulation system. The mud pulse generating mechanism is mainly a pulser which can be divided into three categories of positive pulse, negative pulse and continuous wave pulse, and the core principle is the interception effect on mud. The mud signal transmission channel comprises a whole drilling fluid circulation pipeline, a mud pump, a manifold, a vertical pipe, a hose and various joints through which mud flows upwards, a drill rod, various well logging instruments, a flow channel converter, a guide short joint, a drill bit, a bottom hole reflection surface and the like downwards, mud pressure waves are transmitted to the well from the underground through the mud channel, and meanwhile, the mud pressure waves are subjected to superposition noise or attenuation characteristics. The pressure wave acquisition and demodulation system comprises a pressure sensor for converting the mud pressure wave into an electric signal, and the demodulation system processes and demodulates the electric signal into meaningful data.
The mud signal transmission system comprises a plurality of devices and tools with complex structures and mechanical motion characteristics, and the devices and tools cause superimposed noise to mud pulse signals and affect the signal quality. These noises are usually generated by specific mechanical structures, and mainly include three types, one is periodic noises, such as mud pump noises, motor rotation noises, top drive or turntable rotation noises; the second type is non-periodic noise which is mainly expressed as signal attenuation, such as a flow channel converter, variable diameter in a flow channel, a drill water hole structure and the like; the third category is transient noise, which is generated only in special cases, such as a brief blockage of the drill hole. These noises combine to affect the mud pressure signal quality.
At present, in the mud pulse while-drilling data demodulation, the adopted noise elimination methods comprise a time domain pump noise elimination method, a frequency domain high-frequency electrical noise elimination method and the like, and in the prior art, the periodic noise interference cannot be well denoised, so that the signal is easy to distort.
Therefore, how to suppress and eliminate periodic noise in the frequency domain is an urgent problem to be solved for the MWD while drilling system.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method for eliminating the noise of a MWD system, which realizes the suppression of periodic noise in a frequency domain, thereby eliminating the interference of the periodic noise.
In order to achieve the purpose of the invention, the invention provides a Measurement While Drilling (MWD) system noise elimination method, which comprises the following steps:
receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal;
carrying out Fourier transform on the mud signals to obtain frequency domain mud signals;
and obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor.
In an exemplary embodiment, the method of receiving an acquired mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer;
and determining the average pumping frequency obtained according to the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when the pump pulse signal cannot be acquired but the preset frequency of any one or more periodic noise signals can be acquired, determining the acquired preset frequency of any one or more periodic noise signals as the characteristic frequency of the periodic noise signals in the mud signal.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when any periodic noise signal cannot be acquired, determining the central frequency of the periodic noise signal in the mud signal as the characteristic frequency of the periodic noise signal in the mud signal according to the frequency spectrum of the mud signal.
In one exemplary embodiment of the present invention,
the mud signal is: sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
before the fourier transform is performed on the mud signal to obtain a frequency-domain mud signal, the method further includes:
inputting the mud signal into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, and N is K + M.
In an exemplary embodiment, the pumping signal is:
pin=[pin(n) pin(n+1) … pin(n+K-1)]T
wherein p isinRepresenting the input pumping signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
In an exemplary embodiment, the inputting the pumping signal into a pumping signal buffer when the inputted pumping signal can be acquired includes:
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer to acquire a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1) pin]T
The length of each pump signal buffer is N, and N is K + M.
In an exemplary embodiment, the determining the average pumping frequency obtained from the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal includes:
calculating to obtain the average pumping frequency of the pumping signal in the pumping signal buffer according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
determining the average pumping frequency of the obtained pumping signal as the characteristic frequency of a periodic noise signal in the mud signal;
wherein, the average pump stroke frequency calculation formula comprises:
Figure BDA0002324066880000041
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Figure BDA0002324066880000042
Represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
In an exemplary embodiment, the fourier transforming the mud signal to obtain a frequency-domain mud signal includes:
windowing the mud signal in the mud signal buffer to obtain a windowed mud signal;
and carrying out Fourier transform on the windowed mud signal to obtain a frequency domain mud signal.
In an exemplary embodiment, the obtaining a denoised mud frequency domain output signal according to a characteristic frequency of a periodic noise signal in the mud signal, the mud signal in the frequency domain, and a preset suppression factor includes:
determining the frequency of an inhibition factor according to the characteristic frequency of a periodic noise signal in the mud signal;
multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal;
wherein the inhibitory factors include:
Figure BDA0002324066880000051
sw is a mud signal in a frequency domain, and the frequency of a suppression factor is
Figure BDA0002324066880000052
K is an integer and satisfies
Figure BDA0002324066880000053
Figure BDA0002324066880000054
Is a characteristic frequency; f. of0The center frequency of the effective signal of the mud signal; b issFor mud signal activity in frequency domainThe bandwidth of the number; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure BDA0002324066880000055
Figure BDA0002324066880000056
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajThe value is a positive real number less than 1.
In order to solve the above problem, the present invention further provides a measurement while drilling MWD system noise elimination apparatus, including: a memory and a processor;
the memory is used for storing a program for MWD system noise elimination;
the processor is used for reading and executing the program for MWD system noise elimination and executing the following operations:
receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal;
carrying out Fourier transform on the mud signals to obtain frequency domain mud signals;
and obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer;
and determining the average pumping frequency obtained according to the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when the pump pulse signal cannot be acquired but the preset frequency of any one or more periodic noise signals can be acquired, determining the acquired preset frequency of any one or more periodic noise signals as the characteristic frequency of the periodic noise signals in the mud signal.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when any periodic noise signal cannot be acquired, determining the central frequency of the periodic noise signal in the mud signal as the characteristic frequency of the periodic noise signal in the mud signal according to the frequency spectrum of the mud signal.
In an exemplary embodiment, the mud signal is:
sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
before the fourier transform of the mud signal is performed to obtain a frequency-domain mud signal, the processor further performs the following operations:
inputting the mud signal into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, and N is K + M.
In one exemplary embodiment of the present invention,
the pumping signal is: p is a radical ofin=[pin(n) pin(n+1) … pin(n+K-1)]T
Wherein p isinRepresenting the input pumping signal vector, K being the inputThe length of the signal vector, n, represents the starting sequence number of the input signal.
In an exemplary embodiment, the inputting the pumping signal into a pumping signal buffer when the inputted pumping signal can be acquired includes:
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer to acquire a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1) pin]T
The length of each pump signal buffer is N, and N is K + M.
In an exemplary embodiment, the determining the average pumping frequency obtained from the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal includes:
calculating to obtain the average pumping frequency of the pumping signal in the pumping signal buffer according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
determining the average pumping frequency of the obtained pumping signal as the characteristic frequency of a periodic noise signal in the mud signal;
wherein, the average pump stroke frequency calculation formula comprises:
Figure BDA0002324066880000071
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Figure BDA0002324066880000072
Represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
In an exemplary embodiment, the fourier transforming the mud signal to obtain a frequency-domain mud signal includes:
windowing the mud signal in the mud signal buffer to obtain a windowed mud signal;
and carrying out Fourier transform on the windowed mud signal to obtain a frequency domain mud signal.
In an exemplary embodiment, the obtaining a denoised mud frequency domain output signal according to a characteristic frequency of a periodic noise signal in the mud signal, the mud signal in the frequency domain, and a preset suppression factor includes:
determining the frequency of an inhibition factor according to the characteristic frequency of a periodic noise signal in the mud signal;
multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal;
wherein the inhibitory factors include:
Figure BDA0002324066880000081
said SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure BDA0002324066880000082
K is an integer and satisfies
Figure BDA0002324066880000083
Figure BDA0002324066880000084
Is a characteristic frequency; f. of0The center frequency of the effective signal of the mud signal; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure BDA0002324066880000085
Figure BDA0002324066880000086
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajThe value is a positive real number less than 1.
Compared with the prior art, the invention discloses a method for eliminating noise of a MWD system during measurement while drilling, which comprises the following steps: receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal; carrying out Fourier transform on the mud signals to obtain frequency domain mud signals; and obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor. By the scheme of the invention, the periodic noise of the MWD system during measurement while drilling is eliminated in the frequency domain.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a schematic diagram of the general architecture of a prior art drilling fluid MWD system;
FIG. 2 is a flowchart illustrating a signal processing procedure at a ground receiving end in the prior art;
FIG. 3 is a flow chart of a method for noise cancellation in a MWD system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a noise elimination device of an MWD system for earth-boring measurement according to an embodiment of the present invention;
FIG. 5 is a prior art periodic noise cancellation flow diagram for a non-acquirable periodic signal;
FIG. 6 is a prior art periodic noise cancellation process for a signal that can be acquired periodically;
FIG. 7 is a flow chart of an exemplary MWD system noise cancellation method in accordance with an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating the effect of an exemplary noise elimination method for an MWD system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Measurement While Drilling (MWD) is a technique that measures, collects well log data near the drill bit during the Drilling process, and transmits the collected data to a surface system in real time. The well log data typically includes formation property information and various drilling engineering parameters. As one of the most mature information transmission technologies used in the current drilling measurement while drilling, the basic working principle of the drilling fluid pressure signal transmission mode is to convert the underground measured information into control information, and apply the control information to an underground drilling fluid pressure signal generator to change the pressure of the drilling fluid in a transmission channel, so as to generate drilling fluid pressure pulsation, wherein the pressure pulsation is transmitted to the ground through the drilling fluid in the transmission channel, and is processed by a ground processing system to be converted into the required underground measurement information. The general structure of a drilling fluid MWD system is shown in fig. 1.
The mud pump drives the drilling fluid to circulate, the underground sending end sends data to the ground in a drilling fluid pressure pulse mode, the ground converts pressure change of the drilling fluid into an electric signal through the pressure sensor and sends the electric signal to the ground receiving unit, and the ground receiving unit is responsible for decoding the data sent underground.
The signal processing flow commonly used at the surface receiving end is shown in fig. 2, and the invention relates to the related technology of noise interference elimination, which is carried out in a preprocessing stage, so that the data sent underground can be accurately decoded by later data demodulation and decoding in the processing flow.
The drilling fluid signal transmission characteristics mainly comprise signal transmission speed, signal attenuation, signal reflection and the like. However, in the pressure transmission system of drilling fluid, during the transmission process of the pressure pulse signal from the bottom to the top of the drill string, since the drilling fluid belongs to three-phase flow of gas, liquid and solid, and contains solid-phase substances such as clay, rock debris, barite powder and the like, and gas-phase substances such as gas and the like in a free state often exist, the strength of the drilling fluid pressure signal generated by the pulse generator can be continuously attenuated, and the attenuation degree is influenced by signal frequency and transmission distance and is also related to internal parameters such as the inner diameter of a drilling fluid channel, the type and components of the drilling fluid, viscosity, volume gas content and the like. In summary, the drilling fluid channel is a channel with very complex transmission characteristics. In the information transmission mode, due to the influence of field measurement conditions, the output of a pressure sensor which is arranged on a vertical pipe and used for detecting mud pressure fluctuation comprises useful signals transmitted underground, pressure fluctuation caused by large-amplitude periodic pressure fluctuation and other various mechanical actions due to mud compression of a mud pump and random noise, interference is represented as periodic pulses related to pump impulse characteristics, the noise is represented as broadband white noise, the amplitude of the noise is far larger than that of the useful signals, and the signals at a wellhead are completely submerged in various noises.
According to actual measurement, the statistical distribution of the drilling fluid noise signals in the time domain is in normal distribution, and meanwhile, the drilling fluid noise signals contain strong periodic components. The cyclic components include mud pump noise, motor rotation noise, top drive or turntable rotation noise, and the like.
FIG. 3 is a flow chart of a method for noise cancellation in a MWD system according to an embodiment of the present invention.
301, receiving the collected mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal.
In this embodiment, the measurement while drilling MWD system is used for measuring downhole geological parameters in real time during drilling, and includes: borehole trajectory parameters are measured while drilling, for example: angle of inclination, azimuth, tool face angle, and auxiliary parameters such as temperature.
In various interferences and noises of a drilling fluid while-drilling data transmission system, the pulse amplitude generated by a mud pump is strong, and when the frequency component of the pulse amplitude is mixed with a mud wave signal sent underground, the pulse amplitude can form strong interference on a useful signal. Although the pump stroke interference amplitude of the mud pump is strong, the mud pump has obvious periodic characteristics. Periodic noise includes mud pump noise, motor rotation noise, top drive or turntable rotation noise, and the like.
In an exemplary embodiment, the method of receiving an acquired mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal comprises: receiving the collected mud signals; when the input pumping signal can be obtained, inputting the pumping signal into a pumping signal buffer; and determining the average pumping frequency obtained according to the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal.
The mud signal is: sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
in an exemplary embodiment, the mud signal is input into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, and N is K + M.
In an exemplary embodiment, the pumping signal is:
pin=[pin(n) pin(n+1) … pin(n+K-1)]T
wherein p isinRepresenting the input pumping signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
In an exemplary embodiment, the inputting the pumping signal into a pumping signal buffer when the inputted pumping signal can be acquired includes:
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer to acquire a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1) pin]T
The length of the pump signal buffer is N, where N is K + M, and M represents the original signal vector length in the signal buffer.
In an exemplary embodiment, the determining the average pumping frequency obtained from the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal includes:
calculating to obtain the average pumping frequency of the pumping signal in the pumping signal buffer according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
determining the average pumping frequency of the obtained pumping signal as the characteristic frequency of a periodic noise signal in the mud signal;
wherein, the average pump stroke frequency calculation formula comprises:
Figure BDA0002324066880000121
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Figure BDA0002324066880000122
Represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes: receiving the collected mud signals; when the pump pulse signal cannot be acquired but the preset frequency of any one or more periodic noise signals can be acquired, determining the acquired preset frequency of any one or more periodic noise signals as the characteristic frequency of the periodic noise signals in the mud signal. In this embodiment, the periodic noise signal includes top drive noise, and the input frequency of the top drive, that is, the frequency of the top drive, can be directly obtained by the top drive device, where the periodic noise signal includes, but is not limited to, top drive noise, and includes all periodic noise of the preset frequency that can be obtained.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes: receiving the collected mud signals; when any periodic noise signal cannot be acquired, determining the central frequency of the periodic noise signal in the mud signal as the characteristic frequency of the periodic noise signal in the mud signal according to the frequency spectrum of the mud signal. In the present embodiment, the case where the noise frequency cannot be obtained is addressed.
And 302, carrying out Fourier transform on the mud signals to obtain frequency-domain mud signals.
In this embodiment, the mud signal is fourier transformed to obtain a frequency domain mud signal.
In an exemplary embodiment, the mud signal is:
sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
before the fourier transform is performed on the mud signal to obtain a frequency-domain mud signal, the method further includes:
inputting the mud signal into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, wherein N is K + M, and M represents the length of an original signal vector in the signal buffer.
In an exemplary embodiment, the fourier transforming the mud signal to obtain a frequency-domain mud signal includes: windowing the mud signal in the mud signal buffer to obtain a windowed mud signal; and carrying out Fourier transform on the windowed mud signal to obtain a frequency domain mud signal. In this embodiment, the mud signal sb in the mud signal buffer is multiplied by a preset window function, and a windowed mud signal s is calculatedwThe calculation formula of the windowing processing is as follows:
sw=sb·wN
wherein, wN=[w(0) w(1) … w(N-1)]TThe window function has a length N,
if the selected window function vector is:
Figure BDA0002324066880000131
sw=sb·wN"·" in the formula means that two vectors are correspondingly multiplied element by element.
In this embodiment, the window function in the windowing process may be a hanning window, or may select another window function, which is not specifically limited, and different window functions may be selected according to the information related to the well data to be processed.
And 303, obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor.
In this embodiment, a denoised mud frequency domain output signal is obtained according to the average pumping frequency, the mud signal in the frequency domain, and a preset suppression factor. The value of the suppression factor can be set as a fixed value, and can also be selected according to the intensity of pump impulse interference and the suppression effect expected to be achieved; the smaller the value of the suppression factor is, the more obvious the suppression is on the pump impulse interference component of the corresponding frequency.
In an exemplary embodiment, the obtaining a denoised mud frequency domain output signal according to the average pumping frequency, the mud signal in the frequency domain and a preset suppression factor includes:
multiplying the mud signal of the frequency domain by an inhibition factor to obtain a noise-eliminated mud frequency domain output signal;
wherein the inhibitory factors include:
Figure BDA0002324066880000141
wherein S iswFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure BDA0002324066880000142
K is an integer and satisfies
Figure BDA0002324066880000143
Figure BDA0002324066880000144
Is a characteristic frequency; f. of0Is the center frequency of the effective signal of the mud signal in the frequency domain; b issThe bandwidth of the effective signal of the mud signal in a frequency domain; Δ f is the frequency resolution of the mud signal for DFT conversion:
Figure BDA0002324066880000145
Figure BDA0002324066880000146
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajA positive real number with a value less than 1. In this embodiment, the specific implementation process is as follows: to swDFT conversion is carried out to obtain a frequency domain signal Sw=DFT{swHere, DFT { · } represents a DFT operation. swThe frequency domain mud signal may be a windowed frequency domain mud signal. In the frequency domain, for SwThe pump interference component in the effective signal bandwidth is suppressed, namely the suppression frequency is
Figure BDA0002324066880000151
K is an integer and satisfies
Figure BDA0002324066880000152
f0The effective mud signal center frequency, which is the frequency generated by the downhole pulser and is required to be transmitted to the surface acquisition system for demodulation processing, f0Determined by the modulation scheme and frequency of the useful signal, i.e. after determining the modulation scheme and frequency used, f is obtained0;BsIs the effective signal bandwidth. The frequency resolution of the DFT fourier transform is:
Figure BDA0002324066880000153
wherein, TsIs the sampling period of the mud signal, and N is the number of sampling points.
In this embodiment, a suppression vector is defined:
a=[a(0) a(1) ... a(N-1)]Twherein the content of the first and second substances,
Figure BDA0002324066880000154
k is an integer and satisfies
Figure BDA0002324066880000155
Figure BDA0002324066880000156
Indicating a rounding down. Alpha is alphajIs attenuationFactor, which is a positive real number less than 1.
After the suppression factor is defined, noise elimination processing is carried out on the mud signal in the frequency domain, and the calculation formula of the noise elimination processing is as follows:
Sdn=Swa wherein swThe mud signal is a frequency domain mud signal or a windowed frequency domain mud signal, and a is an inhibition factor; sdnThe noise-eliminated mud signal is the frequency domain mud signal.
In an exemplary embodiment, the denoised frequency domain mud signal SdnIDFT (inverse discrete Fourier transform) is adopted to transform the time domain to obtain a denoised mud signal s of the time domaindn
sdn=IDFT{Sdn}
If sdn=[sdn(0) sdn(1) ... sdn(N-1)]TIntercepting the denoised mud signal s of the time domaindnAnd obtaining the signal vector of the output slurry after the pump impulse interference is eliminated by the central K sampling points:
Figure BDA0002324066880000161
in order to solve the above problem, as shown in fig. 4, the present invention also provides a measurement while drilling MWD system noise elimination apparatus, including: a memory and a processor;
the memory is used for storing a program for MWD system noise elimination;
the processor is used for reading and executing the program for MWD system noise elimination and executing the following operations:
receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal;
carrying out Fourier transform on the mud signals to obtain frequency domain mud signals;
and obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer;
and determining the average pumping frequency obtained according to the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when the pump pulse signal cannot be acquired but the preset frequency of any one or more periodic noise signals can be acquired, determining the acquired preset frequency of any one or more periodic noise signals as the characteristic frequency of the periodic noise signals in the mud signal.
In an exemplary embodiment, the receiving the collected mud signal and determining a characteristic frequency of a periodic noise signal in the mud signal includes:
receiving the collected mud signals;
when any periodic noise signal cannot be acquired, determining the central frequency of the periodic noise signal in the mud signal as the characteristic frequency of the periodic noise signal in the mud signal according to the frequency spectrum of the mud signal.
In an exemplary embodiment, the mud signal is:
sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
before the fourier transform of the mud signal is performed to obtain a frequency-domain mud signal, the processor further performs the following operations:
inputting the mud signal into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, and N is K + M.
In one exemplary embodiment of the present invention,
the pumping signal is: p is a radical ofin=[pin(n) pin(n+1) … pin(n+K-1)]T
Wherein p isinRepresenting the input pumping signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
In an exemplary embodiment, the inputting the pumping signal into a pumping signal buffer when the inputted pumping signal can be acquired includes:
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer to acquire a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1) pin]T
The length of each pump signal buffer is N, and N is K + M.
In an exemplary embodiment, the determining the average pumping frequency obtained from the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal includes:
calculating to obtain the average pumping frequency of the pumping signal in the pumping signal buffer according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
determining the average pumping frequency of the obtained pumping signal as the characteristic frequency of a periodic noise signal in the mud signal;
wherein, the average pump stroke frequency calculation formula comprises:
Figure BDA0002324066880000181
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Figure BDA0002324066880000182
Represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
In an exemplary embodiment, the fourier transforming the mud signal to obtain a frequency-domain mud signal includes:
windowing the mud signal in the mud signal buffer to obtain a windowed mud signal;
and carrying out Fourier transform on the windowed mud signal to obtain a frequency domain mud signal.
In an exemplary embodiment, the obtaining a denoised mud frequency domain output signal according to a characteristic frequency of a periodic noise signal in the mud signal, the mud signal in the frequency domain, and a preset suppression factor includes:
determining the frequency of an inhibition factor according to the characteristic frequency of a periodic noise signal in the mud signal;
multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal;
wherein the inhibitory factors include:
Figure BDA0002324066880000191
said SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure BDA0002324066880000192
K is an integer and satisfies
Figure BDA0002324066880000193
Figure BDA0002324066880000194
Is a characteristic frequency; f. of0The center frequency of the effective signal of the mud signal; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure BDA0002324066880000195
Figure BDA0002324066880000196
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajThe value is a positive real number less than 1.
An exemplary embodiment
Among various interferences and noises of a drilling fluid while-drilling data transmission system, the pulse amplitude generated by a mud pump is strong, and when the frequency component of the pulse amplitude is mixed with a mud wave signal sent underground, the pulse amplitude can form strong interference on a useful signal and is difficult to remove. In the prior art, a periodic noise cancellation process for a non-acquirable periodic signal is shown in fig. 5, and a periodic noise cancellation process for an acquirable periodic signal is shown in fig. 6. The method for periodic pump noise cancellation is shown in fig. 7:
and 701, receiving the collected mud signals and acquiring input pumping signals.
In the step, the pump stroke interference of the slurry pump is high in amplitude, but the analysis of the pump stroke interference has obvious periodic characteristics. The collected mud signal can be sin(n) the input pumping signal is pin(n);
The mud signals collected were: sin=[sin(n) sin(n+1) … sin(n+K-1)]T
The input pump pulse signal is: p is a radical ofin=[pin(n) pin(n+1) … pin(n+K-1)]T
Wherein s isin(n) denotes the mud signal, sinRepresenting the input mud signal vector, pinRepresenting the input pumping signal vector, and K is the length of the input signal vector.
And 702, inputting the mud signal and the pumping signal into a mud signal buffer and a pumping signal buffer respectively.
In the step, the mud signal is input into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TInputting the pumping signal into a pumping signal buffer to obtain a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1) pin]T
The length of the mud signal buffer and the pump stroke signal buffer is both N, and N is K + M.
And 703, obtaining the average pumping frequency according to the pumping signal in the pumping signal buffer.
In this step, the average pumping frequency of the pumping signal in the pumping signal buffer is calculated according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
wherein the average pumping frequency calculation formula comprises:
Figure BDA0002324066880000201
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Wherein the content of the first and second substances,
Figure RE-GDA0002477158690000202
represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
And 704, windowing the mud signal in the mud signal buffer.
In this step, windowing is performed on the mud signal in the mud signal buffer, and the formula of the windowing is as follows:
sw=sb·wN
wherein, wN=[w(0) w(1) … w(N-1)]TA window function of a hanning window of length N,
the window function vector of the Hanning window is:
Figure BDA0002324066880000202
wherein s isw=sb·wN"·" in the formula means that two vectors are correspondingly multiplied element by element. And 705, performing Fourier transform on the mud signals in the mud signal buffer subjected to windowing processing to obtain frequency-domain mud signals.
In this step, the windowed mud signal s in the mud signal buffer is processedwDFT conversion is carried out to obtain a frequency domain mud signal Sw
Sw=DFT{swHere, DFT { · } represents a DFT operation.
Step 706, setting the suppression factor and determining the suppression vector.
a=[a(0) a(1) ... a(N-1)]T
Determining an inhibitory factor comprising:
Figure BDA0002324066880000211
wherein, the SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure BDA0002324066880000212
K is an integer and satisfies
Figure BDA0002324066880000213
Figure BDA0002324066880000214
Is the average pumping frequency; f. of0Is the center frequency of the effective signal of the mud signal in the frequency domain; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure BDA0002324066880000215
Figure BDA0002324066880000216
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajPositive real numbers with values less than 1.
And step 707, multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal.
In this step, after the suppression factor is defined, noise cancellation processing is performed on the mud signal in the frequency domain, and a calculation formula of the noise cancellation processing is as follows:
Sdn=Swa wherein swThe mud signal is a frequency domain mud signal or a windowed frequency domain mud signal, and a is an inhibition factor; sdnThe noise-eliminated mud signal is the frequency domain mud signal.
Step 708 (not shown) is to denoise the frequency domain mud signal SdnIDFT (inverse discrete Fourier transform) is adopted to transform the time domain to obtain a denoised mud signal s of the time domaindn
sdn=IDFT{Sdn}
709 (not shown), obtaining a signal of the denoised output mud according to the time domain denoised mud signal. In this step, sdn=[sdn(0) sdn(1) ... sdn(N-1)]TIntercepting the time-domain denoised mud signal sdnAnd obtaining a signal vector of the output slurry after the pump stroke interference is eliminated by the central K sampling points:
Figure BDA0002324066880000221
the noise reduction effect of the noise reduction processing procedure of the embodiment on the actual drilling mud signals in the frequency domain is shown in fig. 8. The effective signal of the mud signal is a 2FSK modulation signal with 4bps, the two carrier frequencies are respectively 4Hz and 8Hz, and the signal frequency band range is 2 Hz-10 Hz. As can be seen in fig. 8-a, the surface acquired signal contains a significant component of pump-induced interference. It can be seen from fig. 8-b that the pumping interference component is not significant in the range of 2Hz to 10Hz after noise cancellation, and only 4Hz and 8Hz carrier components remain.
In the embodiment, the pump noise elimination is carried out in the frequency domain for the MWD system, and the periodic component of the pump impulse interference is restrained in the frequency domain, so that the periodic noise is eliminated by the frequency domain method for eliminating the pump impulse interference, and a good denoising effect can be obtained.
An exemplary embodiment
The method for eliminating the noise of the MWD system comprises the following steps:
step 801. receive the collected mud signal.
In this step, the collected mud signal can be regarded as sin(n), the collected mud signals are: sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting the input mud signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
And step 802, inputting the mud signal into a mud signal buffer.
In the step, the mud signal is input into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of the mud signal buffer is N, wherein N is K + M, and M represents the length of the original signal vector in the signal buffer.
And 803, determining the characteristic frequency of the periodic noise signal in the mud signal.
In this step, a preset frequency of any one or more periodic noise signals is acquired, and the acquired preset frequency is determined as a characteristic frequency of the periodic noise signals in the mud signal. For example: the frequency of the top drive noise is retrievable.
And 804, windowing the mud signals in the mud signal buffer.
In this step, windowing is performed on the mud signal in the mud signal buffer, and the formula of the windowing is as follows:
sw=sb·wN
wherein, wN=[w(0) w(1) … w(N-1)]TA window function of a hanning window of length N,
the window function vector of the Hanning window is:
Figure BDA0002324066880000231
wherein s isw=sb·wN"·" in the formula means that two vectors are correspondingly multiplied element by element. And 805, performing Fourier transform on the mud signals in the windowed mud signal buffer to obtain frequency domain mud signals.
In this step, the windowed mud signal s in the mud signal buffer is processedwDFT conversion is carried out to obtain a frequency domain mud signal Sw
Sw=DFT{swHere, DFT { · } represents a DFT operation.
Step 806, setting a suppression factor and determining a suppression vector.
a=[a(0) a(1) ... a(N-1)]T
Determining an inhibitory factor comprising:
Figure BDA0002324066880000241
wherein, the SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure BDA0002324066880000242
K is an integer and satisfies
Figure BDA0002324066880000243
Figure BDA0002324066880000244
Is a characteristic frequency; f. of0Is the center frequency of the effective signal of the mud signal in the frequency domain; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure BDA0002324066880000245
Figure BDA0002324066880000246
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajPositive real numbers with values less than 1.
And step 807, multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal.
In this step, after the suppression factor is defined, noise cancellation processing is performed on the mud signal in the frequency domain, and a calculation formula of the noise cancellation processing is as follows:
Sdn=Swa wherein swThe mud signal is a frequency domain mud signal or a windowed frequency domain mud signal, and a is an inhibition factor; sdnThe noise-eliminated mud signal is the frequency domain mud signal.
Step 808, de-noising the frequency domain mud signal SdnIDFT (inverse discrete Fourier transform) is adopted to transform the time domain to obtain a denoised mud signal of the time domainsdn
sdn=IDFT{Sdn}
And step 809, obtaining a signal of the denoised output mud according to the denoised mud signal of the time domain.
In this step, sdn=[sdn(0) sdn(1) ... sdn(N-1)]TIntercepting the denoised mud signal s of the time domaindnAnd obtaining the signal vector of the output slurry after the pump impulse interference is eliminated by the central K sampling points:
Figure BDA0002324066880000251
in the embodiment, noise elimination in a frequency domain is provided for the MWD system, and periodic components are suppressed in the frequency domain, so that the purpose of eliminating noise interference is achieved.
An exemplary embodiment
The method for eliminating the noise of the MWD system comprises the following steps:
and step 901, receiving the collected mud signals.
In this step, the collected mud signal can be regarded as sin(n), the collected mud signals are:
Figure BDA0002324066880000252
wherein s isin(n) denotes the mud signal, sinRepresenting the input mud signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
And 902, inputting the mud signal into a mud signal buffer.
In the step, the mud signal is input into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of the mud signal buffer is N, N is K + M, and M represents the signal bufferThe original signal vector length in the dasher.
And 903, determining the characteristic frequency of the periodic noise signal in the mud signal.
In this step, the center frequency of the periodic noise signal in the mud signal is determined as the characteristic frequency of the periodic noise signal in the mud signal. For the case that the frequency of the noise cannot be determined and the noise signal cannot be acquired, the center frequency of the periodic noise signal in the mud signal can be used to determine the characteristic frequency of the periodic noise signal in the mud signal.
And 904, windowing the mud signal in the mud signal buffer.
In this step, windowing is performed on the mud signal in the mud signal buffer, and the formula of the windowing is as follows:
sw=sb·wN
wherein, wN=[w(0) w(1) … w(N-1)]A window function of a hanning window of length N,
the window function vector of the Hanning window is:
Figure BDA0002324066880000261
wherein s isw=sb·wN"·" in the formula means that two vectors are correspondingly multiplied element by element. And 905, carrying out Fourier transform on the mud signals in the windowed mud signal buffer to obtain frequency domain mud signals.
In this step, the windowed mud signal s in the mud signal buffer is processedwDFT conversion is carried out to obtain a frequency domain mud signal Sw
Sw=DFT{swHere, DFT { · } represents a DFT operation.
And step 906, setting a suppression factor and determining a suppression vector.
a=[a(0) a(1) ... a(N-1)]T
Determining an inhibitory factor comprising:
Figure BDA0002324066880000262
wherein, the SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure BDA0002324066880000263
K is an integer and satisfies
Figure BDA0002324066880000264
Figure BDA0002324066880000265
Is a characteristic frequency; f. of0Is the center frequency of the effective signal of the mud signal in the frequency domain; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure BDA0002324066880000266
Figure BDA0002324066880000267
indicating a rounding down. Alpha is alphajIs an inhibitor, alphajPositive real numbers with values less than 1.
And step 907, multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal.
In this step, after the suppression factor is defined, noise cancellation processing is performed on the mud signal in the frequency domain, and a calculation formula of the noise cancellation processing is as follows:
Sdn=Swa wherein swThe mud signal is a frequency domain mud signal or a windowed frequency domain mud signal, and a is an inhibition factor; sdnThe noise-eliminated mud signal is the frequency domain mud signal.
Step 908, the noise-eliminated frequency domain mud signal SdnIDFT (inverse discrete Fourier transform) is adopted to transform the time domain to obtain a denoised mud signal s of the time domaindn
sdn=IDFT{Sdn}
And step 909, obtaining a signal of the denoised output mud according to the denoised mud signal of the time domain.
In this step, sdn=[sdn(0) sdn(1) ... sdn(N-1)]TIntercepting the denoised mud signal s of the time domaindnAnd obtaining the signal vector of the output slurry after the pump impulse interference is eliminated by the central K sampling points:
Figure BDA0002324066880000271
in the embodiment, noise elimination in a frequency domain is provided for the MWD system, and periodic components are suppressed in the frequency domain, so that the purpose of eliminating noise interference is achieved.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (18)

1. A method of noise cancellation in a measurement-while-drilling MWD system, the method comprising:
receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal;
carrying out Fourier transform on the mud signals to obtain frequency domain mud signals;
obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor;
the obtaining of the denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor comprises:
determining the frequency of an inhibition factor according to the characteristic frequency of a periodic noise signal in the mud signal;
multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal;
wherein the inhibitory factors include:
Figure FDA0002929134730000011
said SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure FDA0002929134730000012
K is an integer and satisfies
Figure FDA0002929134730000013
Figure FDA0002929134730000014
Is a characteristic frequency; f. of0The center frequency of the effective signal of the mud signal; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure FDA0002929134730000015
Figure FDA0002929134730000016
represents rounding down; alpha is alphajIs an inhibitor, alphajPositive real numbers with values less than 1.
2. The MWD system noise cancellation method of claim 1, wherein the receiving the acquired mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer;
and determining the average pumping frequency obtained according to the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal.
3. The MWD system noise cancellation method of claim 2, wherein the receiving the acquired mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when the pump pulse signal cannot be acquired but the preset frequency of any one or more periodic noise signals can be acquired, determining the acquired preset frequency of any one or more periodic noise signals as the characteristic frequency of the periodic noise signals in the mud signal.
4. The MWD system noise cancellation method of claim 3, wherein the receiving the acquired mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when any periodic noise signal cannot be acquired, determining the central frequency of the periodic noise signal in the mud signal as the characteristic frequency of the periodic noise signal in the mud signal according to the frequency spectrum of the mud signal.
5. The MWD system noise cancellation method of claim 1,
the mud signal is: sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
before the fourier transform is performed on the mud signal to obtain a frequency-domain mud signal, the method further includes:
inputting the mud signal into a mud signal buffer to obtain a mud signal s in the mud signal bufferb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, and N is K + M.
6. The MWD system noise cancellation method of claim 2,
the pumping signal is: p is a radical ofin=[pin(n) pin(n+1) … pin(n+K-1)]T
Wherein p isinRepresenting the input pumping signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
7. The MWD system noise cancellation method according to claim 6, wherein the inputting the pumping signal to a pumping signal buffer when the inputted pumping signal can be acquired comprises:
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer to acquire a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1) pin]T
The length of each pump signal buffer is N, and N is K + M.
8. The MWD system noise cancellation method of claim 7, wherein the determining the average pumping frequency derived from the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal comprises:
calculating to obtain the average pumping frequency of the pumping signal in the pumping signal buffer according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
determining the average pumping frequency of the obtained pumping signal as the characteristic frequency of a periodic noise signal in the mud signal;
wherein, the average pump stroke frequency calculation formula comprises:
Figure FDA0002929134730000031
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Figure FDA0002929134730000032
Represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
9. The MWD system noise cancellation method of claim 5, wherein the fourier transforming the mud signal to obtain a frequency domain mud signal comprises:
windowing the mud signal in the mud signal buffer to obtain a windowed mud signal;
and carrying out Fourier transform on the windowed mud signal to obtain a frequency domain mud signal.
10. An MWD system noise cancellation device, the device comprising: a memory and a processor; the method is characterized in that:
the memory is used for storing a program for MWD system noise elimination;
the processor is used for reading and executing the program for MWD system noise elimination and executing the following operations:
receiving an acquired mud signal and determining the characteristic frequency of a periodic noise signal in the mud signal;
carrying out Fourier transform on the mud signals to obtain frequency domain mud signals;
obtaining a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor;
the processor obtains a denoised mud frequency domain output signal according to the characteristic frequency of the periodic noise signal in the mud signal, the mud signal of the frequency domain and a preset suppression factor, and the denoised mud frequency domain output signal comprises the following steps:
determining the frequency of an inhibition factor according to the characteristic frequency of a periodic noise signal in the mud signal;
multiplying the mud signal of the frequency domain by the suppression factor to obtain a noise-eliminated mud frequency domain output signal;
wherein the inhibitory factors include:
Figure FDA0002929134730000041
said SwFor the frequency-domain mud signal, the frequency of the suppression factor is
Figure FDA0002929134730000042
K is an integer and satisfies
Figure FDA0002929134730000043
Figure FDA0002929134730000044
Is a characteristic frequency; f. of0The center frequency of the effective signal of the mud signal; b issIs the bandwidth of the effective signal of the mud signal in the frequency domain; Δ f is the frequency resolution of the DFT transform of the mud signal:
Figure FDA0002929134730000051
Figure FDA0002929134730000052
represents rounding down; alpha is alphajIs an inhibitor, alphajPositive real numbers with values less than 1.
11. The MWD system noise cancellation device according to claim 10, wherein the receiving the acquired mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer;
and determining the average pumping frequency obtained according to the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal.
12. The MWD system noise cancellation device according to claim 11, wherein the receiving the acquired mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when the pump pulse signal cannot be acquired but the preset frequency of any one or more periodic noise signals can be acquired, determining the acquired preset frequency of any one or more periodic noise signals as the characteristic frequency of the periodic noise signals in the mud signal.
13. The MWD system noise cancellation device according to claim 12, wherein the receiving the acquired mud signal and determining the characteristic frequency of the periodic noise signal in the mud signal comprises:
receiving the collected mud signals;
when any periodic noise signal cannot be acquired, determining the central frequency of the periodic noise signal in the mud signal as the characteristic frequency of the periodic noise signal in the mud signal according to the frequency spectrum of the mud signal.
14. The MWD system noise cancellation arrangement of claim 10,
the mud signal is: sin=[sin(n) sin(n+1) … sin(n+K-1)]T(ii) a Wherein s isin(n) denotes the mud signal, sinRepresenting an input mud signal vector, K being the length of the input signal vector, n representing the starting sequence number of the input signal;
before the fourier transform of the mud signal is performed to obtain a frequency domain mud signal, the processor further performs the following operations:
inputting the mud signal into a mud signal buffer to obtain the mud signal bufferMud signal s ofb
sb=[sin(n-M) … sin(n-2) sin(n-1) sin]TThe length of each mud signal buffer is N, and N is K + M.
15. The MWD system noise cancellation arrangement of claim 11,
the pumping signal is: p is a radical ofin=[pin(n) pin(n+1) … pin(n+K-1)]T
Wherein p isinRepresenting the input pumping signal vector, K being the length of the input signal vector, and n representing the starting sequence number of the input signal.
16. The MWD system noise cancellation device according to claim 15, wherein the inputting the pumping signal to a pumping signal buffer when the inputted pumping signal can be acquired comprises:
when the input pumping signal can be acquired, inputting the pumping signal into a pumping signal buffer to acquire a pumping signal p in the pumping signal bufferb
pb=[pin(n-M) … pin(n-2) pin(n-1)pin]T
The length of each pump signal buffer is N, and N is K + M.
17. The MWD system noise cancellation device according to claim 16, wherein the determining the average pumping frequency derived from the pumping signal in the pumping signal buffer as the characteristic frequency of the periodic noise signal in the mud signal comprises:
calculating to obtain the average pumping frequency of the pumping signal in the pumping signal buffer according to the time corresponding to the rising edge of the pumping signal in the pumping signal buffer and an average pumping frequency calculation formula;
determining the average pumping frequency of the obtained pumping signal as the characteristic frequency of a periodic noise signal in the mud signal;
wherein, the average pump stroke frequency calculation formula comprises:
Figure FDA0002929134730000071
pump signal p in a pump signal bufferbComprises L +1 rising edges, and the corresponding time of the rising edge is tk,k=0,1,2,...,L;
Figure FDA0002929134730000072
Represents the average pumping frequency; t is tkL +1 represents the number of rising edges at the time corresponding to the rising edge.
18. The MWD system noise cancellation device according to claim 14, wherein the fourier transforming the mud signal to obtain a frequency domain mud signal comprises:
windowing the mud signal in the mud signal buffer to obtain a windowed mud signal;
and carrying out Fourier transform on the windowed mud signal to obtain a frequency domain mud signal.
CN201911309266.3A 2019-12-18 2019-12-18 Method and device for eliminating noise of MWD (measurement while drilling) system Active CN111308560B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911309266.3A CN111308560B (en) 2019-12-18 2019-12-18 Method and device for eliminating noise of MWD (measurement while drilling) system
PCT/CN2020/083789 WO2021120454A1 (en) 2019-12-18 2020-04-08 Noise elimination method and apparatus for measurement while drilling (mwd) system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911309266.3A CN111308560B (en) 2019-12-18 2019-12-18 Method and device for eliminating noise of MWD (measurement while drilling) system

Publications (2)

Publication Number Publication Date
CN111308560A CN111308560A (en) 2020-06-19
CN111308560B true CN111308560B (en) 2021-06-04

Family

ID=71156253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911309266.3A Active CN111308560B (en) 2019-12-18 2019-12-18 Method and device for eliminating noise of MWD (measurement while drilling) system

Country Status (2)

Country Link
CN (1) CN111308560B (en)
WO (1) WO2021120454A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11940586B2 (en) 2020-12-16 2024-03-26 Halliburton Energy Services, Inc. Noise elimination or reduction in drilling operation measurements using machine learning
CN114088195B (en) * 2021-11-17 2024-04-02 西安石油大学 Analysis method, acquisition device, electronic equipment and medium for drilling well site noise

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4825421A (en) * 1986-05-19 1989-04-25 Jeter John D Signal pressure pulse generator
US5073877A (en) * 1986-05-19 1991-12-17 Schlumberger Canada Limited Signal pressure pulse generator
EP1217010A1 (en) * 2000-12-20 2002-06-26 Agfa-Gevaert Method of emulsion polymerization
CN105041304A (en) * 2015-07-27 2015-11-11 电子科技大学 Method for eliminating pump stroke jamming signals based on bidimensional discrete cosine transformation (DCT)
CN105041303A (en) * 2015-07-27 2015-11-11 电子科技大学 Method for eliminating pump stroke jamming signals of drilling fluid logging while drilling transmission system
CN106089188A (en) * 2016-06-02 2016-11-09 中国石油大学(华东) A kind of real-time minimizing technology of mud pulse signal pump noise
CN106125148A (en) * 2016-06-13 2016-11-16 中南大学 A kind of noise-reduction method for active cycle electromagnetic signal and device
CN109061736A (en) * 2018-08-09 2018-12-21 中国石油天然气股份有限公司 A kind of well-log information periodic noises removing method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR0106104B1 (en) * 2000-05-08 2013-08-06 Method for noise reduction in a measured telemetry signal
CN102857194A (en) * 2012-09-16 2013-01-02 中国石油大学(华东) Frequency band noise elimination method of continuous pressure wave signal of drilling fluid
CN104133982A (en) * 2014-06-27 2014-11-05 中天启明石油技术有限公司 Elimination method of slurry pulse signal pump stroke noise
CN104265278B (en) * 2014-07-30 2017-06-20 中天启明石油技术有限公司 A kind of method that utilization echo cancellation technology eliminates the Pump Impulse Noise in well logging
CN106301289A (en) * 2016-08-03 2017-01-04 广东工业大学 Adaptive filter algorithm is utilized to eliminate the method that the pump in mud pulse signal rushes noise
CN107083957B (en) * 2017-05-25 2020-05-26 电子科技大学 Pump flushing interference elimination method and system for drilling fluid while-drilling signal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4825421A (en) * 1986-05-19 1989-04-25 Jeter John D Signal pressure pulse generator
US5073877A (en) * 1986-05-19 1991-12-17 Schlumberger Canada Limited Signal pressure pulse generator
EP1217010A1 (en) * 2000-12-20 2002-06-26 Agfa-Gevaert Method of emulsion polymerization
CN105041304A (en) * 2015-07-27 2015-11-11 电子科技大学 Method for eliminating pump stroke jamming signals based on bidimensional discrete cosine transformation (DCT)
CN105041303A (en) * 2015-07-27 2015-11-11 电子科技大学 Method for eliminating pump stroke jamming signals of drilling fluid logging while drilling transmission system
CN106089188A (en) * 2016-06-02 2016-11-09 中国石油大学(华东) A kind of real-time minimizing technology of mud pulse signal pump noise
CN106125148A (en) * 2016-06-13 2016-11-16 中南大学 A kind of noise-reduction method for active cycle electromagnetic signal and device
CN109061736A (en) * 2018-08-09 2018-12-21 中国石油天然气股份有限公司 A kind of well-log information periodic noises removing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
连续波泥浆脉冲信号处理方法研究;艾春伟;《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》;20190715;正文第8、13、17、30-31、35-45页 *

Also Published As

Publication number Publication date
WO2021120454A1 (en) 2021-06-24
CN111308560A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
US6023658A (en) Noise detection and suppression system and method for wellbore telemetry
CN111308560B (en) Method and device for eliminating noise of MWD (measurement while drilling) system
CN111535802B (en) Mud pulse signal processing method
CN111980676B (en) Method and processing device for evaluating well cementation quality by array acoustic logging
EP2142945A1 (en) Methods of hydrocarbon detection using spectral energy analysis
CN104265278B (en) A kind of method that utilization echo cancellation technology eliminates the Pump Impulse Noise in well logging
CN110187388B (en) Stable seismic quality factor Q estimation method based on variational modal decomposition
CN113685172B (en) Method and processing device for evaluating acoustic cementing quality while drilling
CN107083957B (en) Pump flushing interference elimination method and system for drilling fluid while-drilling signal
US20210032978A1 (en) Method of determining depths of wellbore reflectors
CN104502965A (en) Retrieving method for amplitude compensation factor
CN113074935B (en) Acoustic separation and diagnosis method for impact fault characteristics of gearbox
CN106301289A (en) Adaptive filter algorithm is utilized to eliminate the method that the pump in mud pulse signal rushes noise
CA2882259A1 (en) Measurement transformation apparatus, methods, and systems
CN108252708B (en) Method for identifying working fluid level of oil well
CN110596758A (en) Seismic signal low-frequency energy compensation method
CN113719274A (en) Novel downhole dynamic liquid level automatic monitoring system and monitoring method for well drilling
CN111337977A (en) Quality factor determination method and device
CA2913256C (en) Channel impulse response identification and compensation
RU2787653C9 (en) Method and apparatus for eliminating noise for a measurement-while-drilling (mwd) system, and a storage medium
RU2787653C1 (en) Method and apparatus for eliminating noise for a measurement-while-drilling (mwd) system, and a storage medium
WO2016006079A1 (en) Peak frequency detection device, method, and program
CN110924940B (en) Self-adaptive prediction elimination method and device for pump noise of MWD system
Brandon et al. Adaptive compensation of the mud pump noise in a measurement-while-drilling system
CN112684501A (en) Q value estimation method based on spectral ratio area and application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant