#### Abstract

The feasibility of applying delay pressure detection method to eliminate mud pump pressure interference on the downhole mud pressure signals is studied. Two pressure sensors mounted on the mud pipe in some distance apart are provided to detect the downhole mud continuous pressure wave signals on the surface according to the delayed time produced by mud pressure wave transmitting between the two sensors. A mathematical model of delay pressure detection is built by analysis of transmission path between mud pump pressure interference and downhole mud pressure signals. Considering pressure signal transmission characteristics of the mud pipe, a mathematical model of ideal low-pass filter for limited frequency band signal is introduced to study the pole frequency impact on the signal reconstruction and the constraints of pressure sensor distance are obtained by pole frequencies analysis. Theoretical calculation and numerical simulation show that the method can effectively eliminate mud pump pressure interference and the downhole mud continuous pressure wave signals can be reconstructed successfully with a significant improvement in signal-to-noise ratio (SNR) in the condition of satisfying the constraints of pressure sensor distance.

#### 1. Introduction

In measurement while drilling (MWD), various downhole signals will be transmitted to the surface in real time for instructing the drilling operation. One of the most common methods of transmitting the measured downhole information to the surface is through mud pressure pulses produced by mechanical modulation of a mud siren in MWD tools and transmitted at acoustic speed in the mud flow. The mud siren generates mud continuous pressure wave signals with complex modulation methods to produce higher data rates. When transmitting the mud pressure signals, there will be a lot of pressure noise and interference, among which the mud pressure fluctuation generated by the mud pump contributes to the largest influence. The mud pump pressure interference is related to the pump stoke rate which includes fundamental component and harmonic component. When the mud pump is in imbalance operation mode caused by sealing problem or in abnormal working status, some higher harmonic amplitude will become very large. Although the pressure dampers are equipped on mud pump pipe, the pressure fluctuation generated by mud pump reaches or exceeds the downhole signal strength detected in the stand pipe [1]. These higher harmonics will enter the frequency band of mud pressure signal and thereby create great interference that cannot be eliminated by conventional signal processing method, leading to the great decrease of signal-to-noise ratio (SNR) of signal and affecting extraction of the MWD signals. Many studies had been done to eliminate the pump interference. Marsh and others proposed the matched filter method which treated mud pump interference as random noise and calculated the autocorrelation coefficient to eliminate the mud pump pressure interference [2]. However, the pump interference is a kind of system interference rather than random noise, so the conclusions of the method needed further discussion. Brandon and others proposed an adaptive compensation method which uses extracted interference component in the signal and automatically adjusts strength of the interference component to eliminate the pump pressure interference impact on the signal [3], but the effect was limited. Some literatures [4–7] introduced the delay pressure detection technique and built a mathematical model, being fitted to the single-frequency signal with pressure sensors distance of quarter signal wavelength, for eliminating the mud pump pressure interference. Because components of many frequencies are contained in mud continuous pressure wave signals, the mathematical model presented in those literatures cannot be applied in reconstruction of actual mud continuous pressure wave signals. Based on transmission path analysis of mud pump pressure interference and downhole mud pressure signals, the authors established the mathematical model in time domain for processing mud continuous pressure wave signals according to the fundamental mathematical principle of delay pressure detection method and then studied the reconstruction method of mud continuous wave signals in both time domain and frequency domain and constraints of the distance between pressure sensors.

#### 2. Mathematical Model of Delay Pressure Detection

The delay pressure detection method uses two pressure sensors being some distance apart on the mud pipe to detect and process the mud pressure signal; Figure 1 shows the schematic figure of mud pressure signal detection system. Two pressure sensors, A and B, having distance between each other, are equipped in a straight pipe between wellhead and mud pump. The pressure signals received by two sensors contain downhole signal (mud pressure signal) , downhole random noise , and mud pump pressure interference . The transmission direction of pump pressure interference is opposite to that of downhole signal. Suppose that the propagation velocity of the mud pressure wave is and the pressure wave transmission time between sensors A and B is .

Considering the mud pipe between sensors A and B as a linear system, its frequency response can be described as where is modulus of frequency domain transfer function of the mud pipe between pressure sensors A and B.

Suppose that is unit impulse response of the linear system . When the signal is being transmitted through the linear system [8], signals received by the pressure sensors A and B can be expressed as

We can get convolution of with as

Equation (3) means that is transmitted through a linear system with unit impulse response again. Because contains delayed time , the physical meaning of (3) is that will be detected after delayed time .

Subtracting the formula in (3) from , we can get the delay pressure detecting signal as follows:

In (4), the pump pressure interference item has been eliminated.

After Fourier transform of the formula in (4), we can get spectral density function of the downhole signal as where can be applied to reconstruct the downhole signal.

#### 3. Signal Reconstruction Based on Time-Domain Differential Equation

According to (5), the time-domain solution of the system frequency response can be described as the reconstruction of the downhole signal after the delay pressure detecting signal is passed through a signal recovering system with frequency transfer function .

Considering that the maximum frequency of mud continuous pressure wave signal in transmission will be dozens of hertz (Hz), the signal frequency is lower and limited. In limited frequency band, the signal attenuation in amplitude will keep unchangeable when mud continuous pressure wave signal passes the straight pipe between pressure sensors A and B, so the pipe can be seen as an undistorted transmission system and regarded as an ideal low-pass filter. The frequency domain transfer function of the system can be described as where is the signal attenuation coefficient and is unit gate function with as unilateral bandwidth. According to the unit impulse response of ideal low-pass filter [9], the unit impulse response of system can be described as

After reciprocal transformation of , we can get

Then

Because transfer functions of and are reciprocal, so their input and output functions are inverse of each other.

Substituting input function and output function of for output function and input function of in (9), there will be

Thus, the time-domain solution of the output function of can be built as where is delay pressure detecting signal and can be expressed as and is reconstructed downhole signal.

Converting the continuous-time system to Z-system of discrete-time and setting , , and , we can get the Z-transform of as where is the sampling period and is the number of sample sequences.

According to digital filter theory, is a -order infinite impulse response (IIR) filter system [10] and its frequency domain response, being similar to the low-pass filter with sharp cut-off characteristic, strengthens with . When is an ideal low-pass transmission, the output of is a differential equation and can be expressed as

Equations (13) and (11) have the same structure, so the essence of signal reconstruction process in time domain is to make the delay pressure detecting signal pass through a closed-loop delay feedback system with recursive structure.

#### 4. Signal Reconstruction and Pole Frequency Analysis Based on Inverse Fourier Transform

The straight pipe between pressure sensors A and B will cause pressure signal attenuation. According to the transmission characteristics of mud pressure wave [11], the attenuation coefficient of pressure signal or the amplitude ratio of mud pipe can be described as with where is the pipe length between pressure sensors A and B, is the attenuation index, is the volume fraction of gas in mud, is the volume fraction of solids in mud, is the bulk modulus of gas in mud, is the bulk modulus of liquid in mud, is the bulk modulus of solid in mud, is the bulk modulus of the mud pipe, is the internal diameter of the mud pipe, is the wall thickness of the mud pipe, is the Poisson’s ratio of the mud pipe, is the kinematic viscosity of mud, and is signal frequency.

Because the mud pipe forms an ideal low-pass filter in the limited band , (5) can be transformed into

After inverse Fourier transform of (16), we can get the time-domain solution of (16):

Suppose that the mud is water-based mud. The computational conditions are listed as follows [12]: internal diameter of the mud pipe is 108.6 mm, wall thickness of the mud pipe is 9.2 mm, the mud kinematic viscosity is 20 mPa·, the pipe Poisson’s ratio is 0.3, volume fraction of gas in mud is 0.5%, volume fraction of solid in mud is 15%, the mud pipe bulk modulus is 210 GPa, and bulk modulus of water in mud is 2.04 GPa, bulk modulus of solid in mud is 16.2 GPa. If signal frequency of mud continuous pressure wave is , when the distance between pressure sensors A and B is less than , the pressure signal attenuation coefficient will be by numerical calculation. This means that transmission loss of mud pressure wave signal is very small and the attenuation coefficient will be close to 1 when the two sensors are nearer to each other.

When , the transfer function of downhole signal reconstruction system can be expressed as By analyzing (18), there will be generated pole in the condition of and the corresponding pole frequency is .

If the maximum frequency of mud pressure signal spectrum is , there is . When the corresponding pole frequency falls into the passband of ideal low-pass filter, the pole frequency will be very likely to enter signal spectrum and generate great interference in the reconstruction of downhole signal. To avoid such situation, all the pole frequency values should be greater than the passband frequency of ideal low-pass filter. That is, .

Suppose that and ; we can get the constraints of distance between pressure sensors:

Propagation velocity of the mud pressure wave in the mud pipe can be calculated according to the literature [13]. Take the mud pressure DPSK (differential phase shift keying) signal with carrier wave frequency of 24 Hz for example, the maximum frequency of signal spectrum is 36 Hz. When Hz, we have s. Furthermore, if the mud pressure wave velocity is m/s, the corresponding distance between pressure sensors is m.

#### 5. Numerical Simulation of Signal Reconstruction

The numerical simulation takes mud pressure DPSK signal as an example. According to the mathematical model of mud pressure DPSK signal [14], the signal can be formulated as . In the formula, carrier frequency is Hz, signal amplitude is Pa, and data code is . By analyzing the power spectral of mud pressure DPSK signal, the maximum frequency of signal spectrum is Hz and the signal power is . Mud pump interference simulates multifrequency pressure pulsation generated by triplex pump with pump impulse rate 64 r/min, and the fundamental wave frequency is with harmonic orders 2 to 9. Therefore, the frequency changing range of pump interference is from to . Suppose that the fundamental wave and every harmonic wave amplitude are . The corresponding power density of fundamental wave or every harmonic wave is an impact function and the average power of the pump interference is

Therefore, the SNR of signal mixed with the pump interference is when downhole noise is set to .

Figure 2 shows the signal waveform and the signal spectrum mixed with mud pump interference. It can be seen that the mud pressure DPSK signal is completely submerged in the pump interference in time domain and the signal spectrum is completely covered by mud pump interference frequencies.

**(a) Mud pressure DPSK signal without pump interference**

**(b) Frequency spectrum of mud pressure DPSK signal**

**(c) Mud pressure DPSK signal mixed with pump interference**

**(d) Frequency spectrum of mud pressure DPSK signal mixed with pump interference**

Suppose that the signal acts on the at , has zero state response only, and the system output before is . Simulation result of the reconstructed signal by MATLAB programming is shown in Figure 3. It can be seen that the mud pump interference is eliminated after delay pressure detection from Figure 3(a); the reconstructed signal in Figures 3(b) and 3(c) are consistent with the mud pressure DPSK signal in Figure 2(a). In Figure 3(b), the numerical calculation result shows that the SNR of reconstructed mud pressure DPSK signal under condition of ms is 72.4, which is about 657 times higher than that of existing pump interference. Numerical calculation and analysis show that the SNR of reconstructed mud pressure DPSK signal will be affected by the delayed time in time domain and the influence is listed in Table 1. The reason is that the set value of , participating in the recursive computation in (11), will be increased with the delayed time , but the influence is not notable. In Figure 3(c), the reconstructed mud pressure DPSK signal based on inverse Fourier transform method has no distortion in whole waveform and is better than the signal reconstructed by time-domain differential equation method in quality. However, both reconstruction methods can reconstruct downhole signal effectively.

**(a) Signal waveform after delay pressure detecting**

**(b) Reconstructed signal of mud pressure DPSK signal with time-domain differential equation**

**(c) Reconstructed signal of mud pressure DPSK signal based on inverse Fourier transform**

Numerical simulation shows that if downhole noise is added to DPSK signal, the reconstructed signals based on the two reconstruction methods are the linear superposition of DPSK signal and downhole noise, which is consistent with theoretical analysis of (11) and (17).

#### 6. Conclusions

(1) Theoretical analysis and numerical simulation show that delay pressure detection method can effectively eliminate mud pump interference and realize reconstruction or recovery of mud continuous pressure wave signals with greater SNR.

(2) To avoid the pole frequency entering into the signals frequency band in signal reconstruction, the distance between pressure sensors should be determined according to the highest signal frequency and the minimum wave velocity.

(3) According to the mathematical principle analysis of delay pressure detection method, it is only applied to eliminate special interference (mud pump pressure interference) whose transmitting direction is opposite to that of the downhole signal. For mud continuous pressure wave signal which is seriously affected by mud pump interference, this method has some inspiration effect on solving the problem of mud pump pressure interference.

#### Acknowledgments

This work was supported by the Project of National Natural Science Foundation of China (no. 51274236) and the Project of High-tech Research and Development Program of China (no. 2006AA06A101).