Next Article in Journal
Aerodynamic Drag Analysis of 3-DOF Flex-Gimbal GyroWheel System in the Sense of Ground Test
Previous Article in Journal
Standardization, Calibration, and Evaluation of Tantalum-Nano rGO-SnO2 Composite as a Possible Candidate Material in Humidity Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Fast Dynamic Allan Variance for the Characterization of FOGs-Based Measurement While Drilling

1
Key Laboratory of Inertial Technology, Institute of Opto-electronics Technology, School of Instrument Science and Opto-electronics Engineering, Beihang University, Beijing 100191, China
2
Beijing Aerospace Times Laser Inertial Technology Company, Ltd., Beijing 100094, China
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(12), 2078; https://doi.org/10.3390/s16122078
Submission received: 12 August 2016 / Revised: 7 November 2016 / Accepted: 10 November 2016 / Published: 7 December 2016
(This article belongs to the Section Physical Sensors)

Abstract

:
The stability of a fiber optic gyroscope (FOG) in measurement while drilling (MWD) could vary with time because of changing temperature, high vibration, and sudden power failure. The dynamic Allan variance (DAVAR) is a sliding version of the Allan variance. It is a practical tool that could represent the non-stationary behavior of the gyroscope signal. Since the normal DAVAR takes too long to deal with long time series, a fast DAVAR algorithm has been developed to accelerate the computation speed. However, both the normal DAVAR algorithm and the fast algorithm become invalid for discontinuous time series. What is worse, the FOG-based MWD underground often keeps working for several days; the gyro data collected aboveground is not only very time-consuming, but also sometimes discontinuous in the timeline. In this article, on the basis of the fast algorithm for DAVAR, we make a further advance in the fast algorithm (improved fast DAVAR) to extend the fast DAVAR to discontinuous time series. The improved fast DAVAR and the normal DAVAR are used to responsively characterize two sets of simulation data. The simulation results show that when the length of the time series is short, the improved fast DAVAR saves 78.93% of calculation time. When the length of the time series is long ( 6 × 10 5 samples), the improved fast DAVAR reduces calculation time by 97.09%. Another set of simulation data with missing data is characterized by the improved fast DAVAR. Its simulation results prove that the improved fast DAVAR could successfully deal with discontinuous data. In the end, a vibration experiment with FOGs-based MWD has been implemented to validate the good performance of the improved fast DAVAR. The results of the experience testify that the improved fast DAVAR not only shortens computation time, but could also analyze discontinuous time series.

1. Introduction

Gyroscopes are sensors that are appropriate for a wide variety of applications in the inertial navigation scope. The fiber optic gyroscope (FOG), which has become mainstream in inertial navigation systems, is utilized to determine altitude for satellites and missiles [1]. The Ring Laser gyroscope is the ideal angular sensor for high-precision and long-endurance inertial navigation systems [2]. The MEMS (Micro-electromechanical systems) gyroscope is widely used in cheap and small applications, such as unmanned aerial vehicles [3]. The measurement stability of gyroscopes can vary over time due to several factors, such as temperature, humidity, radiation, and ageing [4]. A slight instability in the gyroscopes will lead to an increase in measurement error. FOGs in measurement while drilling (MWD) systems work even in poor conditions. Their temperature increases as the drilling depth increases [5]. Additionally, FOGs withstand shock when drilling the oil hole. Therefore, it is fundamental to evaluate how the measurement stability of gyroscopes behaves over time. Allan variance is a common and standard method to analyze gyroscopes [6], but it cannot describe the dynamic characteristic. In 2003, in order to track and reveal the anomaly in the atom clock behavior, Galleani and Tavella developed Dynamic Allan Variance (DAVAR) [7]. Although it is an extension of Allan variance, DAVAR is a new method that can track and describe the non-stationary characteristics of time series [8,9,10,11,12,13]. Li, Zhang, and Wei extended the DAVAR to diagnose the non-stationary of gyroscope [14,15,16,17,18]. Since the DAVAR requires instant calculation of Allan variance, its calculation burden is a critical shortcoming [19,20,21,22]. Wang and Zhang developed a fast algorithm for DAVAR to simply the DAVAR algorithm and accelerate the calculation speed [23].
An MWD system keeps working for several days underground. The output signal of the gyroscopes in the MWD system would be interrupted due to error in the mud pulse communication or sudden power outages. In this case, both the classical DAVAR and the fast DAVAR algorithms are unable to deal with discontinuous time series. Hence, in order to deal with the discontinuous gyroscope data, a further improvement is made on the basis of the fast DAVAR. The recursion characteristic of the fast DAVAR will judge whether the data contains unreadable code or not. It makes the fast DAVAR available to deal with discontinuous gyroscope data. Thus, the improved fast algorithm of the DAVAR is more valuable in engineering applications.
This article is organized as follows. In Section 2, the structure of the FOG-based MWD and its working characteristics are introduced. In Section 3, the theory of Allan variance is briefly presented. In Section 4, we sum up the calculation process of the classical DAVAR. In addition, a 2D diagram illustrating the noise characteristics of FOGs is reported. In Section 5, the fast algorithm of the DAVAR is derived step by step. In Section 6, a further improvement has been made and the improved fast DAVAR is extended to discontinuous data. In Section 7, in order to test that the improved fast DAVAR is superior to the classical method, three sets of simulation data have been analyzed by the two methods. In Section 8, a set of discontinuous time series collected from a vibration experiment with the FOGs-based MWD is analyzed by the fast DAVAR. The conclusions are presented in Section 9.

2. Structure of the FOG-Based MWD

The MWD prototype utilizes a FOG-based IMU, as shown in Figure 1. MWD is composed of three-axis FOGs sharing one laser light source, three quartz flexible accelerometers with one A/D converter circuit, a navigation computer, and a mechanical bracket to support the above units [24]. All the components are orthogonally mounted along the lengthwise axis of the MWD so that the diameter can be minimized to satisfy the demands of a borehole environment. The FOGs and accelerometers are arranged in three mutually orthogonal directions, as shown in Figure 2. The three-axis FOGs measure the angular velocity of the carrier, while three-axis accelerometers provide the 3D acceleration measurements of the body. The navigation computer is mainly utilized to collect all sensor data, pre-process the data, and run the navigation algorithm.
Due to the particularity of the working environment in oil wells, the FOGs-based MWD working manner and characteristics are different from other application fields such as aerospace, aviation, and land navigation. Comprehensive analysis shows that the detection and location of oil wells have the following characteristics:
(1)
Long working hours: the FOGs-based MWD system keeps working underground for more than 200 h. Putting the MWD system down into the well and pulling it up to the ground costs too much time and money [25].
(2)
Strong vibration: FOGs in MWD system hold up to strong shocks due to the obstruction of the underground stone.
(3)
High rotation speed. FOGs in MWD systems work with a high-speed rotation up to 300 rounds per second.
(4)
High Temperature. The temperature of the working environment increases with the increase in the drilling depth at a rate of 30 °C/km.
(5)
Data loss. The data transmission method of the MWD system is mud pulse. When drilling the oil well, the mud pulse transmits the data collected downhole to the monitoring equipment on the ground. Its transfer rate is low. Its bit error rate is high and the reliability is very low.
(6)
Eclectic battery-powered. A battery provides power to support the MWD system working underground.
When drilling the oil well, FOGs’ signal in MWD system is non-stationary, since the FOGs can be easily influenced by the increasing temperature, humidity, radiation, and sudden power failure. Occasionally, the data received aboveground appears to be discontinuous. Even a slight variation in the gyroscope stability can generate significant measurement error. Accordingly, it is crucial to identify the dynamic instability of the FOGs in MWD.

3. Allan Variance

FOGs sense the angle velocity. Their output signal is the angle velocity ω ( t ) . Allan variance [26] has commonly been used to evaluate the stability of FOG signal ω ( t ) . The standard concept of the Allan variance is:
σ ω 2 ( τ ) = 1 2 ( ω ¯ ( t + τ ) ω ¯ ( t ) ) 2 ,
where τ is the observation interval and   indicates a time averaging. The average of ϖ ( t ) is given by
ω ¯ ( t ) = 1 τ t t + τ ω ( u ) d u ,
where u is the integral variable. Equation (1) is the definition of Allan variance for continuous data. If the Allan variance is to be estimated on discrete samples ω [ n ] whose total number is N, t is sampled as
t = n τ 0 , ( n   =   1 , 2 , N ) ,
where τ 0 is the sampling interval. Consequently, the observation interval τ is discretized is
τ = k τ 0 , ( k = 1 , 2 , N 2 ) .
For the discrete data, the Allan variance becomes
σ ω 2 ( k ) = 1 2 k 2 τ 0 2 1 N 2 k n = 0 N 2 k 1 ( ω ¯ [ n + k ] ω ¯ [ n ] ) 2 ) .
The average of ϖ [ n ] is given by
ω ¯ [ n ] = 1 k i = n n + k - 1 ω [ i ] .
Therefore, according to the different observation interval k , the corresponding Allan variance can be obtained.
Ng [26] shows that a unique relationship existing between σ ω 2 ( τ ) and the power spectral density (PSD) of the intrinsic random processes. This relationship is
σ ω 2 ( τ ) = 4 0 S Ω ( f ) sin 4 ( π f τ ) ( π f τ ) 2 d u ,
where S Ω ( f ) is the PSD of the random process Ω ( t ) , namely the instantaneous output rate of the gyro.
Equation (7) is the focal point of the Allan variance technique. The PSD of any physically meaningful random process can be substituted in the integral and an expression for the Allan variance σ ω 2 ( τ ) as a function of cluster length τ is identified [26,27]. Equation (7) states that the Allan variance is proportional to the total power output of the random process when passed through a filter with the transfer function sin 4 ( π f τ ) ( π f τ ) 2 . This particular transfer function is the result of the method used to create and operate on the cluster. It is seen from Equation (7) that the filter bandpass depends on τ . This suggests that different types of random processes can be examined by adjusting the filter bandwidth, namely by varying τ [28].
Consequently, since σ ω 2 ( τ ) is a measurable quantity, a plot of σ ω 2 ( τ ) versus τ provides a direct indication of the types of random processes that exist in the gyro data. A log-log plot of the square root of the Allan variance σ ω ( τ ) - τ provides a means of identifying and quantifying various noise terms that exist in the gyro sensor data, as Figure 3 shows. Table 1 gives a representation of noise terms using Allan variance.
In general, any number of the random processes discussed above can be present in the data. Thus, a typical Allan variance plot looks like the one shown in Figure 3. Different noise terms appear in different regions of τ . This allows for easy identification of the various random processes that exist in the gyro data. If it can be assumed that the existing random processes are all statistically independent, then it can be shown that the Allan variance at any given τ is the sum of the Allan variances due to the individual random processes at the same τ [27]. In other words,
σ 2 ( τ ) = σ Q 2 ( τ ) + σ N 2 ( τ ) + σ B 2 ( τ ) + σ K 2 ( τ ) + σ R 2 ( τ ) = 3 Q 2 τ 2 + N 2 τ + 2 B 2 π ln 2 + K 2 τ 3 + R 2 τ 2 2 ,
where σ Q 2 ( τ ) , σ N 2 ( τ ) , σ B 2 ( τ ) , σ K 2 ( τ ) , σ R 2 ( τ ) represent Allan variance due to the individual random processes. Then the noise coefficient of the five noise terms can be obtained by a data fitting algorithm. When the dimension of FOG output data is in degrees per hour (°/h), the different noise terms are as follows:
N = C 1 60 ( ° / h 1 2 ) K = 60 3 C 1 ( ° / h 3 2 ) B = C 0 0.664 ( ° / h ) Q = 10 6 π C 2 180 × 3600 × 3 ( ) R = 3600 2 C 2 ( ° / h 2 ) .

4. Dynamic Allan Variance

4.1. Computation Process of Dynamic Allan Variance

The dynamic Allan variance (DAVAR) is an extension of the Allan variance. Firstly, truncate the data with a rectangular window centered at a given time point. Secondly, calculate the Allan variance of the truncated data. Then repeat the above two steps at every time epoch. In the end, by collecting all the variances obtained at every epoch and plotting the results in a signal 3D graph [8], we can obtain the DAVAR. The detailed computation process can be found in [9]. For continuous-time signals, the DAVAR could be obtained using Equation (10):
σ ω 2 ( t , τ ) = 1 2 τ 2 ( N w 2 τ ) t N w 2 + τ t + N w 2 τ ( ϖ ( u + τ ) ϖ ( u ) ) 2 d u ,
where N w is the length of the truncation window, t is the analysis time point, τ is the observation interval, and σ ω 2 ( t , τ ) is the DAVAR.
The DAVAR given in Equation (10) is continuous both in t and τ . For discrete time signals, by sampling the integral variable u and the observation interval τ as follows,
u = m τ 0 , ( m = N W 2 , 2 , N N W 2 ) ,   τ = k τ 0 , ( k = 1 , 2 , N W 2 ) ,
we can obtain the standard notation of discrete-time signals.
σ ω 2 [ n , k ] = 1 2 k 2 τ 0 2 1 N w 2 k × m = n N w / 2 n + N w / 2 2 k 1 ( ϖ [ m + k ] ϖ [ k ] ) 2 ,
where τ 0 is the sampling interval, k τ 0 is the observation interval of the discrete time, and N is the available number of ω ( n ) . N w is the length of the analysis window. N w is assumed to be even.

4.2. 2D Description of FOG Noise Terms

The DAVAR is simply obtained by sliding the Allan variances on the time series. At each given time t, Equation (8) still holds true. Therefore, the Allan variance at any given time can be written as Equation (13):
σ 2 ( t , τ ) = σ Q 2 ( t , τ ) + σ N 2 ( t , τ ) + σ B 2 ( t , τ ) + σ K 2 ( t , τ ) + σ R 2 ( t , τ ) .
At a given time t, there is a σ ( t , τ ) - τ curve. Correspondingly, we can obtain the coefficients Q(t), N(t), B(t), K(t), and R(t) of the five noise terms. Therefore, coefficients of the noise terms for all t could be obtained. In the end, by plotting Q(t), N(t), B(t), K(t), and R(t) according to the chronological order, the time-varying coefficients of FOGs noise terms can be characterized in a 2D diagram. Figure 4 gives a flowchart of the computation process of the DAVAR.

5. Fast Dynamic Allan Variance

Figure 4 shows that the DAVAR is obtained by computing the Allan variance at each analysis time epoch t. With the length of ω ( t ) increasing, it can result in a large computational burden. Therefore it is necessary to develop a fast algorithm for DAVAR. On the basis of the recursive characteristic of Allan variance, the recursive property of the DAVAR was found [29]. With this special characteristic, we can develop a recursive algorithm for the normal DAVAR, i.e., the fast DAVAR.
First define another time-series θ ( t ) connected to ω ( t ) . The relationship between them is
ω ( t ) = d θ ( t ) d t
θ ( n ) denotes the angle, for which the dimension is given in degrees. Both ω ( t ) and θ ( n ) are random quantities. Then, substituting Equations (2) and (14) into Equation (10), Equation (10), which is the normal DAVAR, can be rewritten as
σ ω 2 ( t , τ ) = 1 2 τ 2 ( N w 2 τ ) t N w 2 + τ t + N w 2 τ ( θ ( u + 2 τ ) 2 θ ( u + τ ) + θ ( u ) ) 2 d u .
Using Equation (11), we can obtain the DAVAR for the discrete time gyro signal θ ( n ) as in Equation (16):
σ ω 2 [ n , k ] = 1 2 k 2 τ 0 2 1 N w 2 k m = n N w / 2 n + N w / 2 2 k 1 ( θ [ m + 2 k ] 2 θ [ m + k ] + θ [ m ] ) 2 .
In order to describe the derivation simply, we name Δ k [ m ]   =   θ [ m + 2 k ] 2 θ [ m + k ] + θ [ m ] as the discrete second order difference. Therefore Equation (16) can be rewritten as Equation (17):
σ ω 2 [ n , k ] = 1 2 k 2 τ 0 2 1 N w 2 k m = n N w / 2 n + N w / 2 2 k 1 Δ k 2 [ m ] .
Using Equation (17), we can obtain the DAVAR at time point n + 1 as follows:
σ ω 2 [ n + 1 , k ] = 1 2 k 2 τ 0 2 1 N w 2 k m = n + 1 N w / 2 n + N w / 2 2 k Δ k 2 [ m ] .
σ ω 2 [ n + 1 , k ] can also be written with σ ω 2 [ n , k ] , as Equation (19) shows.
σ ω 2 [ n + 1 , k ] = 1 2 k 2 τ 0 2 1 N w 2 k m = n N w / 2 n + N w / 2 2 k 1 Δ k 2 [ m ] + 1 2 k 2 τ 0 2 1 N w 2 k ( Δ k 2 [ n + N w 2 2 k ] Δ k 2 [ n N w 2 ] )     = σ ω 2 [ n , k ] + 1 2 k 2 τ 0 2 1 N w 2 k ( Δ k 2 [ n + N w 2 2 k ] Δ k 2 [ n N w 2 ] )
At time n, the limit of m in discrete second-order difference Δ k [ m ] lies in [ n N w 2 , n + N w 2 2 k 1 ] . At time n + 1, the limit of m lies in [ n + 1 N w 2 , n + N w 2 2 k ] . Therefore, when we compute the σ ω 2 [ n + 1 , k ] based on the σ ω 2 [ n , k ] , we just need to add the discrete second-order difference Δ k 2 [ n + N w / 2 2 k ] and subtract the discrete second-order difference Δ k 2 [ n N w / 2 ] . Equation (19) shows that the DAVAR at time n + 1 can be written as a function of the DAVAR at time n.
Since Equation (19) is a recursive algorithm for DAVAR, the initial value is required before the computation. On the assumption that the analysis starts at time n 1 , the starting value is as in Equation (20):
σ ω 2 [ n 1 , k ] = 1 2 k 2 τ 0 2 1 N w 2 k m = n 1 N w / 2 n 1 + N w / 2 2 k 1 Δ k 2 [ m ] .
In conclusion, with the recursive formula, it is not necessary to compute the Allan variance at every time epoch. The new DAVAR can be obtained based on the previous DAVAR. This can reduce the computation time dramatically. We named the recursive algorithm fast DAVAR and the ordinary one classical DAVAR. Figure 5 gives a flowchart of fast DAVAR.

6. Extension to Discontinuous Time Series

At present, when drilling oil wells, the MWD system utilizes the mud pulse to send the data from underground to the monitoring equipment on the ground. Its transfer rate and reliability are low while its bit error rate is high. Consequently, the data received on the ground often appears to be abnormal, such as with unreadable words or showing a loss of data in a certain period of time. So the data are discontinuous in the timeline. However, when meeting the discontinuous gyroscope data, both the classical DAVAR and the fast DAVAR are invalid. It is critical to further improve the algorithm of the DAVAR to deal with discontinuous time series. Based on the recursive character of the fast DAVAR algorithm, we make a further advance to extend the fast DAVAR to discontinuous time series.
Before computing σ ω 2 [ n + 1 , k ] , we need to compute the discrete second-order difference Δ k 2 [ n + N w / 2 2 k ] and Δ k 2 [ n N w / 2 ] . For the given n and k, Δ k 2 [ n + N w / 2 2 k ] and Δ k 2 [ n N w / 2 ] can be obtained by Equations (21) and (22):
Δ k 2 [ n + N w 2 2 k ] = ( θ [ n + N w 2 ] 2 θ [ n + N w 2 k ] + θ [ n + N w 2 2 k ] ) 2
Δ k 2 [ n N w 2 ] = ( θ [ n N w 2 + 2 k ] 2 θ [ n N w 2 + k ] + θ [ n N w 2 ] ) 2 .
At this time, we can judge whether θ [ n + N w 2 ] , θ [ n + N w 2 k ] and θ [ n + N w 2 2 k ] are unreadable words or not. If one of them is an unreadable word, we set Δ k 2 [ n + N w / 2 2 k ] to zero and then continue the computation. Δ k 2 [ n N w / 2 ] could be obtained in the same way.
The recursion characteristic of the fast DAVAR will judge whether the data contains unreadable code or not. So the fast DAVAR could be extended to deal with discontinuous time series. We call this modified algorithm improved fast DAVAR.

7. Models and Simulations

In order to testify the proposal algorithm, two sets of simulation data are created. The model of the simulation data is shown as follows:
x [ n ] = σ [ n ] f [ n ] ,
where f [ n ] is the white Gaussian noise [5], σ [ n ] is the standard deviation of f [ n ] , and x [ n ] is simulating data of gyroscopes whose unit is °/h. The sampling interval of the two sets of simulation data is 0.01 s. The first simulation dataset x 1 [ n ] is stationary white Gaussian noise, whose standard deviation σ [ n ] is always equal to 1. The number of x 1 [ n ] is L 1 = 6 × 10 3 samples. So the time length of x 1 [ n ] is 60 s. The second one x 2 [ n ] is also white Gaussian noise, whose variance σ [ n ] increases with time linearly as Equation (24) shows. The number of x 2 [ n ] is L 2 = 6 × 10 5 samples. Thus the time length of x 2 [ n ] is 6000 s.
σ [ n ] = 1 + 10 L 2 × n
Two sets of simulation data are represented in Figure 6a,c. x 1 [ n ] is stationary. The amplitude of x 2 [ n ] increases with time.
Figure 6b,d exhibits the Allan variance of the two sets of simulated data. Because x 1 [ n ] is stationary white Gaussian noise, its slope is approximately −1/2 for all τ [30]. x 2 [ n ] is non-stationary white noise, but the shapes and slopes of Allan variance are the same as for the stationary white noise x 1 [ n ] . Obviously, the Allan variance cannot track and reveal the non-stationary characteristics.
Then the classical DAVAR and the improved fast DAVAR are applied to analyze the simulation data. The analysis results of the classical DAVAR Figure 6a,c and the improved fast DAVAR Figure 6b,d are shown in Figure 7.
With a rectangular window of L = 1000 samples and a step whose width is 30 samples, the analysis results of x 1 [ n ] are obtained. As can be seen in Figure 7a, both DAVAR methods are constant over time and have a typical white noise slope. The value of the improved fast DAVAR is similar to that of the classical DAVAR at fixed t and τ . The analysis results of x 2 [ n ] are obtained by a rectangular window of number N W = 2000 samples and a step whose width is 300 samples. In Figure 7b, the improved fast DAVAR and classical DAVAR reveal that noise increases linearly with time.
The coefficient of the angle random walk (N) denotes the magnitude of the white noise [30]. According to the 2D description method of noise terms mentioned in Section 4.2, the coefficient N(t) of the Angle random walk can be acquired. Figure 8 shows the time-varying parameter N(t) of the two sets’ simulation data. Figure 8a,c shows the results of the classical DAVAR while Figure 8b,d shows the results of the improved fast DAVAR. The coefficient N(t) of x 1 [ n ] fluctuates around a constant while x 2 [ n ] increases linearly with time. The results prove that the improved fast DAVAR is correct.
Both the results are obtained by the Matlab program on an Intel(R) Core(TM) i7-3770 CPU with a 3.4 GHz clock. Table 2 shows a computational comparison of the classical DAVAR and the improved fast DAVAR.
In the second column, the number of simulation data points is reported. The third column shows the length of the truncation window and the fourth column shows the step width. The fifth column represents the computational time. The last column indicates the calculation times of the Allan variance in the whole calculation process.
When the length of the time series is short ( 6 × 10 3 samples), the improved fast DAVAR saves 78.93% of computing time. When the length of the time series is long ( 6 × 10 5 samples), the improved fast DAVAR costs only 27.92727 s while the classical DAVAR costs 960.422362 s. The improved fast DAVAR reduces 97.09% of computing time. The last column reports the reason. With the time series increasing, the classical DAVAR needs to calculate the Allan variance more and more times while the improved fast DAVAR just needs to compute it one time (the initial value of the DAVAR). Thus, the improved fast DAVAR could shorten the calculation time. When the time series is long, the improved fast DAVAR is meaningful and significant.
Now we extend the improved fast DAVAR to discontinuous time series. On the basis of the simulation data x 1 [ n ] , we created simulation dataset x 3 [ n ] using the same noise model as x 1 [ n ] , but it is longer than x 1 [ n ] . Two pieces of data in x 3 [ n ] are deleted. One piece of data is between 200 s and 220 s and the other piece of data is between 400 s and 500 s. The discontinuous simulation data is represented in Figure 9.
Then the classical DAVAR and the improved fast DAVAR are applied to analyzing the simulation data. The classical DAVAR is forced to stop because the program could not identify the NaN. However, the improved fast DAVAR could successfully analyze the data. Figure 10a represents fast DAVAR obtained with a window of N W = 1000 samples and a step whose width is 30 samples. When t < 200 s, the DAVAR is essentially stationary. The slope of the DAVAR surface correctly indicates the presence of white phase noise. In the time interval 200 s < t < 220 s, the DAVAR shows a little canyon corresponding to a few areas of missing data. In the region of the large gap 400 s < t < 500 s, the surface of the DAVAR exhibits a large canyon corresponding to a greater amount of missing data. Figure 10b shows the coefficient of the angle random walk noise. The coefficient N(t) of x 3 [ n ] is similar to Figure 8a. Moreover, it has the same order of magnitude and the same shape as that of the continuous data besides the two canyons. With this geometrical representation, the fast DAVAR clearly describes the dynamic instability of a gyroscope with missing data.

8. Experiments

Aiming to further verify the proposal algorithm, a vibration experiment was implemented with a ready-made FOGs-based MWD. The accuracy of FOGs in MWD system is 0.03 ° /h. The vibration experiment is carried out at the high temperature of 65 °C. The x-axis FOG is mounted along with the vibration direction of the vibration platform. The PSD of the vibration is reported in Figure 11. Its vibration level is high, which simulates the drilling vibration underground. When the vibration frequency is between 700 Hz and 800 Hz, the PSD of the vibration is up to 1 g2/Hz. The root-mean-square value of the whole vibration is 13.39 g.
The vibration experiment was conducted via the following steps. First, the vibration platform was kept static (0–330 s). Secondly, the vibration platform began to vibrate and kept vibrating for 5 min (330 s–630 s). Finally the vibration platform returned to static state (630 s–930 s). The movement of the MWD system was in accordance with the movement of the vibration platform. We collected the output signal of the x-axis FOG in the MWD system. The sampling interval is 2.5 ms. Hence, the total value of this gyro data is 37.2 × 10 4 . The primary signal is shown in Figure 12. It shows that the platform began to vibrate at t = 330 s and stopped at t = 630 s. In addition, we must pay attention to a piece of lost data when 432 s < t < 450 s.
Then the improved fast DAVAR has been applied to analyzing this discontinuous vibration data. Its result is obtained with a truncation window of length N W = 2000 samples, and a step width of 1000 samples. The Matlab program calculation is carried out on an Intel (R) Core (TM) i7-3770 CPU with a 3.4 GHz clock. The improved fast DAVAR costs only 28.616520 s to deal with this long time series.
Figure 13 is the improved fast DAVAR result. It can be seen that the DAVAR surface is stationary at the beginning. Then there appears a large crest that starts at t = 330 s and stops at t = 630 s. In the end it goes back to being stationary. Obviously, the canyon (430 s < t < 450 s) is the graphical representation of the missing data in the time series. The changing process of the DAVAR surface is consistent with Figure 12. In conclusion, the improved fast DAVAR could track and reveal the non-stationary characteristics in a clear way.
Fitting the double logarithmic curve σ 2 ( t , τ ) - τ at any given time t, the time-varying coefficients of noise terms can be obtained [27,28]. Figure 14 shows the changing coefficients of each noise terms evaluated by the improved fast DAVAR.
Aside from the canyon at t = 432 s, it is easy to distinguish the change in the noise. Before vibration (t < 330 s), since the FOG is static, the coefficient of each noise is small without evident change. When the platform starts to vibrate (t = 432 s), the noise terms of the FOG change dramatically, especially the Rate Random walk, which is affected by the vibration. Meanwhile, the coefficient of the quantization noise increases when the FOG is vibrating. The data acquisition circuit of FOG has better aseismic performance. After vibration, all confidents of noise terms are back to the previous state. We can make a conclusion that the FOG could endure the drilling vibration. In conclusion, the improved fast algorithm of the DAVAR could successfully analyze the discontinuous gyroscope data. The improved fast DAVAR identifies and reveals the highly dynamic instability in the FOG’s discontinuous time series.

9. Conclusions

The working environment of FOGs-based MWD is hostile: the vibration is very strong and the temperature is very high. The gyroscope is heavily influenced by factors such as temperature, vibration, aging, and sudden breakdowns. A slight variation of the gyroscope stability can turn into a measurement error. Hence, it is important to monitor the behavior of gyroscopes through the use of DAVAR.
The DAVAR is a representative of the time-varying stability of the gyroscope. The fast DAVAR is a fast algorithm for the classical DAVAR. However, both the fast DAVAR and the classical DAVAR could not analyze the discontinuous gyroscope data. What is worse, in many applications, the gyroscope often gives discontinuous data, for example in a FOGs-based MWD system.
In this paper, utilizing the recursive characteristic of the fast DAVAR, we make a further advance on the fast algorithm to extend the fast DAVAR to discontinuous gyroscope data. This not only dramatically reduces the computation time, but could also allow us to analyze the discontinuous gyroscope data. Both the simulation results and the experimental results show that the improved fast DAVAR could not only save more than 90% of the computational time, but also deal successfully with discontinuous data.

Acknowledgments

The authors would like to thank Huipeng Li for his helpful discussions and comments. This research was supported by the National Science Foundation of China (Grant No. 60207002).

Author Contributions

All the authors made contributions to this work. The idea was originally from Chunxi Zhang and Shuang Gao; Lu Wang proposed the scheme, developed the algorithms, completed the simulation, and wrote the manuscript; Tao Wang developed the primary algorithms; Tie Lin and Xianmu Li processed the simulation and critically reviewed the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sun, J.; Xu, X.; Liu, Y.; Zhang, T.; Li, Y. FOG Random Drift Signal Denoising Based on the Improved AR Model and Modified Sage-Huas Adaptive Kalman Filter. Sensors 2016, 16, 1073. [Google Scholar] [CrossRef] [PubMed]
  2. Yu, H.; Wu, W.; Wu, M.; Feng, G.; Hao, M. Systematic Angle Random Walk Estimation of the Constant Rate Biased Ring Laser Gyro. Sensors 2013, 13, 2750–2762. [Google Scholar] [CrossRef] [PubMed]
  3. Quinchia, A.G.; Falco, G.; Falletti, E.; Dovis, F.; Ferrer, C. A Comparison between Different Error Modeling of MEMS Applied to GPS/INS Integrated Systems. Sensors 2013, 13, 9549–9588. [Google Scholar] [CrossRef] [PubMed]
  4. Miao, Z.; Shen, F.; Xu, D.; He, K.; Tian, C. Online Estimation of Allan Variance Coefficients Based on a Neural-Extended Kalman Filter. Sensors 2015, 15, 2496–2524. [Google Scholar] [CrossRef] [PubMed]
  5. Wang, L.; Zhang, C.; Lin, T.; Li, X.; Wang, T. Characterization of a Fiber Optic Gyroscope in a Measurement While Drilling System with the Dynamic Allan Variance. Measurement 2015, 75, 263–272. [Google Scholar] [CrossRef]
  6. Allan, D.W. Statistics of Atomic Frequency Standards. Proc. IEEE 1966, 54, 221–230. [Google Scholar] [CrossRef]
  7. Galleani, L.; Tavella, P. The Characterization of Clock Behavior with the Dynamic Allan Variance. In Proceedings of the 2003 IEEE International Frequency Control Symposium and PDA Exhibition Jointly with the 17th European Frequency and Time Forum, Tampa, FL, USA, 4–8 May 2003; pp. 239–244.
  8. Galleani, L.; Tavella, P. Tracking Nonstationarities in Clock Noises Using the Dynamic Allan Variance. In Proceedings of the IEEE International Frequency Control Symposium and Exposition, Vancouver, BC, Canada, 29–31 August 2005; pp. 392–396.
  9. Galleani, L.; Tavella, P. Interpretation of the Dynamic Allan Variance of Nonstationary Clock Data. In Proceedings of the IEEE International Frequency Control Symposium, 2007 Joint with the 21st European Frequency and Time Forum, Geneva, Switzerland, 29 May–1 June 2007; pp. 992–997.
  10. Nunzi, E.; Galleani, L.; Tavella, P. Detection of Anomalies in the Behavior of Atomic Clocks. IEEE Trans. Instrum. Meas. 2007, 56, 523–528. [Google Scholar] [CrossRef]
  11. Sesia, I.; Galleani, L.; Tavella, P. Implementation of the Dynamic Allan Variance for the Galileo System Test Bed V2. In Proceedings of the IEEE International Frequency Control Symposium, 2007 Joint with the 21st European Frequency and Time Forum, Geneva, Switzerland, 29 May–1 June 2007; pp. 946–949.
  12. Galleani, L.; Tavella, P. The Dynamic Allan Variance. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2009, 56, 450–464. [Google Scholar] [CrossRef] [PubMed]
  13. Sesia, I.; Galleani, L.; Tavella, P. Application of the Dynamic Allan Varinacne for the Characterization of Space Clock Behavior. IEEE Trans. Aerosp. Electron. Syst. 2011, 47, 884–895. [Google Scholar] [CrossRef]
  14. Li, Y.; Chen, X.; Song, S. Dynamic Allan Variance Analysis for the Drift Error of Fiber Optical Gyroscope. J. Optoelectron. Laser 2008, 19, 183–186. [Google Scholar]
  15. Wei, G.; Long, X. Research on Stochastic Errors of Dithered Ring Laser Gyroscope Based on Dynamic Allan Variance. Chin. J. Lasers 2010, 37, 2975–2979. [Google Scholar]
  16. Li, X.; Zhang, N. Analysis of Dynamic Characteristics of a Fiber Optic Gyroscope Based on Dynamic Allan Variance. J. Harbin Eng. Univ. 2011, 32, 183–187. [Google Scholar]
  17. Zhang, N.; Li, X. Research on Theoretical Improvement of Dynamic Allan Variance and Its Application. Acta Opt. Sin. 2011, 31, 1–6. [Google Scholar] [CrossRef]
  18. Zhang, C.; Wang, L.; Gao, S.; Li, H.; Lin, T.; Li, X.; Wang, T. Dynamic Allan Variance Analysis for Stochastic Errors of Fiber Optic Gyroscope. Infrared Laser Eng. 2014, 43, 3081–3088. [Google Scholar]
  19. Galleani, L.; Tavella, P. Fast Computation of the Dynamic Allan Variance. In Proceedings of the 2009 Joint Conference of the IEEE International Frequency Control Symposium and European Frequency and Time Forum (IEEE FCS-EFTF), Belfast, France, 20–24 April 2009; pp. 685–687.
  20. Galleani, L. The Dynamic Allan Variance II: A Fast Computational Algorithm. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2009, 57, 182–188. [Google Scholar] [CrossRef] [PubMed]
  21. Galleani, L. The Dynamic Allan Variance III: Confidence and Detection Surfaces. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2011, 58, 1550–1558. [Google Scholar] [CrossRef] [PubMed]
  22. Galleani, L.; Tavella, P. Characterization of Atomic Clock Anomalies in the Dynamic Allan Variance Domain. In Proceedings of the 2013 Joint European Frequency and Time Forum & International Frequency Control Symposium, Prague, Czech, 21–25 July 2013.
  23. Wang, L.; Zhang, C. Fast Algorithm of the Dynamic Allan Variance for FOG. Optik 2016, 127, 2413–2418. [Google Scholar] [CrossRef]
  24. Lin, T.; Zhang, C.; Gao, S. A Surveying method based on motion features for a dual FOGs-based MWD. In Proceeding of the 4th International Conference on Electronics Communications and Networks, Beijing, China, 12–15 December 2014; pp. 764–769.
  25. Zhang, C.; Lin, T. A Long-term Performance Enhancement Method for FOG-based Measurement While Drilling. Sensors 2016, 16, 1186. [Google Scholar] [CrossRef] [PubMed]
  26. Ng, L.C.; Pines, D.J. Characterization of Ring Laser Gyro performance Using the Allan variance Method. J. Guid. Control Dyn. 1997, 20, 211–214. [Google Scholar] [CrossRef]
  27. Tehrani, M.M. Ring Laser Gyro Data Analysis with Cluster Sampling Technique. Proc. SPIE 1983, 0412. [Google Scholar] [CrossRef]
  28. IEEE Standard Specification Format Guide and Test Procedure of Single Axis Interferometric Fiber Optic Gyros; IEEE Std 952-1997; The Institute of Electrical and Electronics Engineers, Inc.: New York, NY, USA, 16 September 1997.
  29. Hou, H. Modeling Inertial Sensors Errors Using Allan Variance; University of Calgary: Calgary, AB, Canada, 2004. [Google Scholar]
  30. Xu, B. Fiber Optic Gyro Signal Random Drift Testing and Noise Error Analysis. In Proceedings of the 2010 3rd Conference on Computer Science and Information Technology, Chengdu, China, 9–11 July 2010; pp. 189–192.
Figure 1. 3D graphic model of the MWD.
Figure 1. 3D graphic model of the MWD.
Sensors 16 02078 g001
Figure 2. Sensors of IMU.
Figure 2. Sensors of IMU.
Sensors 16 02078 g002
Figure 3. Sample plot of Allan variance analysis results.
Figure 3. Sample plot of Allan variance analysis results.
Sensors 16 02078 g003
Figure 4. Flow chart of dynamic Allan variance.
Figure 4. Flow chart of dynamic Allan variance.
Sensors 16 02078 g004
Figure 5. Flowchart of fast dynamic Allan variance.
Figure 5. Flowchart of fast dynamic Allan variance.
Sensors 16 02078 g005
Figure 6. Two sets of simulation data. (a) white Gaussian noise x 1 [ n ] ; (b) Allan variance of x 1 [ n ] ; (c) white Gaussian noise with “increase” x 2 [ n ] ; (d) Allan variance of x 2 [ n ] .
Figure 6. Two sets of simulation data. (a) white Gaussian noise x 1 [ n ] ; (b) Allan variance of x 1 [ n ] ; (c) white Gaussian noise with “increase” x 2 [ n ] ; (d) Allan variance of x 2 [ n ] .
Sensors 16 02078 g006
Figure 7. The classical DAVAR and the improved fast DAVAR. (a) DAVAR of white Gaussian noise x 1 [ n ] ; (b) The improved fast DAVAR of x 1 [ n ] ; (c) DAVAR of white noise with “increase” x 2 [ n ] ; (d) The improved fast DAVAR of x 2 [ n ] .
Figure 7. The classical DAVAR and the improved fast DAVAR. (a) DAVAR of white Gaussian noise x 1 [ n ] ; (b) The improved fast DAVAR of x 1 [ n ] ; (c) DAVAR of white noise with “increase” x 2 [ n ] ; (d) The improved fast DAVAR of x 2 [ n ] .
Sensors 16 02078 g007aSensors 16 02078 g007b
Figure 8. Angle random walk of the simulation data. (a,b) Angle random walk of x 1 [ n ] ; (c,d) angle random walk of x 2 [ n ] .
Figure 8. Angle random walk of the simulation data. (a,b) Angle random walk of x 1 [ n ] ; (c,d) angle random walk of x 2 [ n ] .
Sensors 16 02078 g008
Figure 9. The discontinuous series time.
Figure 9. The discontinuous series time.
Sensors 16 02078 g009
Figure 10. The fast DAVAR of the discontinuous data. (a) The improved fast DAVAR of x 3 [ n ] ; (b) Angle random walk of x 3 [ n ] .
Figure 10. The fast DAVAR of the discontinuous data. (a) The improved fast DAVAR of x 3 [ n ] ; (b) Angle random walk of x 3 [ n ] .
Sensors 16 02078 g010
Figure 11. PSD of the random vibration.
Figure 11. PSD of the random vibration.
Sensors 16 02078 g011
Figure 12. Output signal of x-axis FOG.
Figure 12. Output signal of x-axis FOG.
Sensors 16 02078 g012
Figure 13. The improved fast DAVAR of the vibration data.
Figure 13. The improved fast DAVAR of the vibration data.
Sensors 16 02078 g013
Figure 14. The coefficients of each noise term.
Figure 14. The coefficients of each noise term.
Sensors 16 02078 g014
Table 1. Representation of noise terms using Allan variance.
Table 1. Representation of noise terms using Allan variance.
Noise TermsNoise Coefficient S Ω ( v ) PSD of the Random Process σ 2 ( τ ) Slope of log σ ( τ ) - log τ
the quantization noiseQ S Ω ( f ) = { 4 Q 2 τ sin 2   ( π f τ ) f 1 2 τ ( 2 π f ) 2 τ Q 2 f < 1 2 τ 3 Q 2 τ 2 −1
angular random walkN S Ω ( f ) = N 2 N 2 τ −1/2
bias instabilityB S Ω ( f ) = { ( B 2 2 π ) 1 f f f 0 0 f > f 0 2 B 2 π ln 2 0
rate random walkK S Ω ( f ) = ( K 2 2 π ) 1 f 2 K 2 τ 3 1/2
the rate slopeR S Ω ( f ) = R 2 ( 2 π f ) 3 R 2 τ 2 2 1
Table 2. The computational comparison.
Table 2. The computational comparison.
DataNumbers N W Step WidthTime (s)Computation Times of the Allan Variance
DAVARFast DAVARDAVARFast DAVAR
x1[n] 6 × 10 3 1000303.6568640.7703671661
x2[n] 6 × 10 5 2000300960.42236227.9272719931

Share and Cite

MDPI and ACS Style

Wang, L.; Zhang, C.; Gao, S.; Wang, T.; Lin, T.; Li, X. Application of Fast Dynamic Allan Variance for the Characterization of FOGs-Based Measurement While Drilling. Sensors 2016, 16, 2078. https://doi.org/10.3390/s16122078

AMA Style

Wang L, Zhang C, Gao S, Wang T, Lin T, Li X. Application of Fast Dynamic Allan Variance for the Characterization of FOGs-Based Measurement While Drilling. Sensors. 2016; 16(12):2078. https://doi.org/10.3390/s16122078

Chicago/Turabian Style

Wang, Lu, Chunxi Zhang, Shuang Gao, Tao Wang, Tie Lin, and Xianmu Li. 2016. "Application of Fast Dynamic Allan Variance for the Characterization of FOGs-Based Measurement While Drilling" Sensors 16, no. 12: 2078. https://doi.org/10.3390/s16122078

APA Style

Wang, L., Zhang, C., Gao, S., Wang, T., Lin, T., & Li, X. (2016). Application of Fast Dynamic Allan Variance for the Characterization of FOGs-Based Measurement While Drilling. Sensors, 16(12), 2078. https://doi.org/10.3390/s16122078

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop