#### Abstract

Fiber optic gyroscope (FOG) is a core component in modern inertial technology. However, the precision and performance of FOG will be degraded by environmental drift, especially in complex temperature environment. As the modeling performance is affected by the noises in the output data of FOG, an improved wavelet threshold value based on Allan variance and Classical variance is proposed for discrete wavelet analysis to decompose the temperature drift trend item and noise items. Firstly, the relationship of Allan variance and Classical variance is introduced by analyzing the drawback of traditional wavelet threshold. Secondly, an improved threshold is put forward based on Allan variance and Classical variance which overcomes the shortcoming of traditional wavelet threshold method. Finally, the innovative threshold algorithm is experimentally evaluated on FOG. The mathematical evaluation results show that the new method can get better signal-to-noise ratio (SNR) and gain the reconstruction signal of the higher correlation coefficient (CC). As an experimental validation, the nonlinear capability of error back propagation neural network (BP neural network) is used to fit the drift trend item and find out the complex relationship between the FOG drift and temperature, and the final processing results indicate that the new denoising method can get better root of mean square error (MSE).

#### 1. Introduction

Fiber optic gyroscope (FOG) has been widely used in inertial navigation system (INS), which was first proposed and demonstrated by Vail and Shorthill in 1976. FOG has significant advantages, such as no moving parts, short warming up time, low power consumption, impact resistance, accuracy wide coverage, and large dynamic range [1–3]. Owing to the thermal deformation itself, the drift of FOG is sensitive to environmental temperature variation and temperature related drift has become a main source of error affecting the performance of FOG in engineering application [3, 4]. At present, there are two main methods to avoid temperature drift error: one is employing machining techniques and experimental approaches to control temperature [5–8]; the other is modeling compensation method [3, 4, 9, 10]. The temperature control method has a disadvantage of increasing weight and cost, so there will be a certain amount of restraint in the application. Comparatively, the temperature modeling and compensation method is a kind of mathematical approach, which can enhance the precision of FOG by establishing an error model based on the FOG’s temperature characteristics without extra hardware cost. However, during the operation of the FOG, there are a large number of random noises in the gyro signal, such as quantization noise, angle random walk, and bias instability [11]. Therefore, the temperature drift trend item is generally polluted by noises and it affects the modeling compensation accuracy.

Generally, FOG drift compensation technology includes denoising and modeling, and the denoising accuracy would influence the result of modeling. So denoising is an important step of FOG drift compensation. Wavelet analysis has achieved good effort in stochastic signal processing field because of its good time-frequency analysis ability. Many algorithms have been presented, such as wavelet transform [3, 4], wavelet packet transform [12], lifting wavelet transform [3], and wavelet threshold denoising method [13]. Among these methods, the wavelet threshold denoising method has been widely used in various situations [13, 14]. The principle of the wavelet threshold denoising method is processing the wavelet coefficients by choosing proper threshold and threshold function [15, 16]. The methods of hard threshold and soft threshold are defined as (1) and (2), respectively:where is the threshold value, which is defined as . is the length of signal, and is the noises standard deviation. represents wavelet coefficients, and represents quantized wavelet coefficients.

The traditional wavelet threshold denoising method is to process wavelet coefficients term by term. Soft threshold denoising produces constant deviation in denoising, so it would cause edge distortion; hard threshold denoising process causes additional concussion and phenomenon of disguised Gibbs. All in all, during the traditional wavelet threshold denoising processing, the noise is generally regarded as an independent sequence and meets the distribution of Gaussian white noise, which means that the traditional threshold is actually the dividing line between Gaussian white noise and other signals. In this way, the denoised signal is not the temperature drift trend item, which will directly affect the modeling performance.

To overcome this disadvantage, an improved threshold value based on Allan variance and Classical variance is proposed to extract the temperature drift trend item from original signal of FOG. The basic idea of this method is that the improved threshold is selected as the dividing line between the temperature trend item and other noise signals, thus avoiding the phenomenon of wavelet coefficients of the “overkill” and “overreservation.” The experimental FOG signal is processed by the improved threshold and the results show that the proposed method effectively avoids the deficiency above. Finally, the error back propagation neural network (BP neural network) is proposed to establish the temperature drift model for compensation to demonstrate that the denoised signal with the improved method achieves better experimental performance for modeling. The training results of BP neural network show that the denoised signal with the improved method could speed up the neural network training and make the neural network reach smaller mean squared error (MSE).

#### 2. The Relationship between Noises and Variance

The drift of FOG has a multicomponent structure and these components have different statistical characteristics [17]. Thus, there is a problem of FOG drift components statistical parameters determination to characterize gyro accuracy. Allan variance method is a time analysis technique, which is developed by Dr. David Allan, to study the characteristic of random noise terms and stability in precision oscillators used in clock application [18]. Allan variance method can be used to determine the characteristics of the underlying random processes which give rise to the data noises. Allan variance is also generally used to identify the errors of inertial sensors (i.e., gyroscopes and accelerometers) [19].

The calculation of Allan variance is based on the method of cluster analysis [19–21]. Assuming that the signal of FOG is acquired at a sampling period , separating the sampling data into clusters, each cluster includes sampling data:

The relevant time is defined as . The typical Allan variance can be expressed aswhere represents the average value of each cluster. By varying the number of samples per cluster, variances are computed at different cluster length by (4). The relationship between Allan variance and power spectrum density (PSD) of the intrinsic random process is given bywhere is the PSD of specified noise and is the relevant time. Equation (5) indicates that the Allan variance is proportional to the total power output of the random process when passed through a filter with the transfer function of the form . This particular transfer function is the result of the method used to create and operate on the clusters [22].

The Classical variance is generally defined as (6) in time-domain:where is the average value of . Actually, time-domain and frequency-domain parameters naturally are not independent. The Classical variance could be theoretically deduced from the PSD by an integral relationship. The Classical variance is defined in frequency-domain as [23]However (7) is defined in the context of , which is suitable for continuous-time signal. So signal should be averaged and (7) can be converted into the form similar to (5):

Allan variance method could be used to analyze the common five basic gyro noise terms and they are expressed in a notation appropriate for gyro data reduction [11]. The five basic noise terms are angle random walk, rate random walk, bias instability, quantization noise, and rate ramp. Each noise term could be accessed through the PSD associated with Allan variance [11, 22–24]. What is more, the relationships between Classical variance and the five noise terms are also discussed in the same way as follows.

##### 2.1. Quantization Noise (QN)

Quantization noise is strictly due to the digital nature of the FOG output. Quantization noise represents the minimum resolution of the FOG, and its PSD could be expressed as . Considering (5) and (8), the Allan variance and the Classical variance of quantization noise are calculated separately aswhere is the quantization noise coefficient.

##### 2.2. Angle Random Walk (ARW)

The main source for this error is spontaneous emission of photons present in the FOG output. Some high-frequency noises whose relevant times are much shorter than sample time also contribute to angle random walk. The PSD of angle random walk could be expressed as ; then the Allan variance and the Classical variance can be expressed aswhere is the angle random walk coefficient.

##### 2.3. Bias Instability (BI)

The origin of this noise is the electronics or other components susceptible to random flickering. The PSD associated with this noise is . Then the Allan variance of bias instability is calculated aswhere is the bias instability coefficient. The Classical variance of rate random walk could be expressed as

It is clear that the integrand is nonintegrable at lower limit of integral. However, in practice, the sampling data are discrete and limited, which means that the frequency in (12) is limited as well. If the length of sampling data is and the sampling frequency is , the frequency varies from to actually. Then can be expressed as

##### 2.4. Rate Random Walk (RRW)

Rate random walk is a random process of uncertain origin and possibly a limiting case of an exponentially correlated time. The PSD associated with this noise is . The Allan variance iswhere is the rate random walk coefficient. The Classical variance of rate random walk could be expressed as

Equation (15) can be analyzed using the same method as (12). Then can be expressed as

##### 2.5. Drift Rate Ramp (DRR)

This error is more deterministic in nature than random errors and indicates a very slow monotonic change of the FOG source of the intensity persisting over a long period of time. Generally, the changing of environmental temperature is the main origin of this error. The drift rate ramp appears as a genuine input to FOG given by , so the Allan variance of this process iswhere is the drift rate ramp coefficient.

According to the definition of (6), the Classical variance of drift rate ramp can be expressed aswhere the definition of is the same as in (3). So (18) could be rewritten aswhere is total sampling time. It means that the Classical variance of drift rate ramp has no relationship with the relevant time .

#### 3. Improved Threshold for Wavelet Denoising

Threshold is the key of the wavelet denoising and is the value which separates the temperature drift trend item from noises. If the threshold is chosen improperly, it would lead to “overkill” or “overreservation.” Comparing the reasons which contribute to the five errors, the drift rate ramp is the only one that related to temperature closely and the other four noise terms are not sensitive to the environment variation. Therefore, the improved threshold could be calculated according to the Classical variance in which the relevant time makes a distinction between and others.

The improved wavelet denoising algorithm is composed of five steps: Allan variance fitting, Classical variance calculation, improved threshold update, wavelet threshold denoising, and signal reconstruction. The structure of the improved wavelet denoising algorithm is shown in Figure 1.

*Allan Variance Fitting Step*. Generally, the coefficients of five noise terms could be identified through the Allan variance method. The theoretical analysis in Section 2 indicates that different noise terms appear in different regions of with different slopes, which allows easy identification of the stochastic noise terms existing in the data. According to the analysis above, the Allan variance is a sum of each type of errors and can be represented as

Fitting the log-log curve of versus with (20), the five error coefficients could be acquired from the Allan variance results.

*Classical Variance Calculation Step*. It is important to choose a suitable relevant time and then calculate the Classical variance of the five errors based on the relationship between Allan variance and Classical variance. The relevant time could be estimated following the principle that is bigger than others.

*Improved Threshold Update Step*. The improved threshold should be determined according to and it can be represented as , where is the length of the original signal.

*Wavelet Threshold Denoising Step.* Deal with the FOG signal by discrete wavelet transform and obtain the wavelet coefficients of each scale; then process wavelet coefficients with the improved threshold which has been presented in previous step.

*Signal Reconstruction Step*. Reconstruct the signal according to each level of the wavelet decomposition for low-frequency coefficients and high-frequency coefficients.

#### 4. Denoising Processing Results and Analysis

In order to verify the reliability of the improved threshold for wavelet denoising method, the original signal is acquired from a group of FOGs, which are fixed on an approximate horizontal stationary platform with their sensitive axes in the vertical direction as Figure 2. The temperature signal of FOG is collected by temperature sensor installed in the FOG. Multiple temperature data and FOG signals have been collected. Figure 3 shows one group of FOG signal and temperature data (angular velocity component of Earth’s rotation has been subtracted).

**(a)**

**(b)**

The denoising evaluation indicators are made up of signal-to-noise ratio (SNR) and correlation coefficient (CC). When SNR is larger and CC is close to 1, the effect of denoising is better. Equations (21) and (22) represent SNR and CC, respectively:where is original signal and is estimation signal after denoising. and are the mean value of and , respectively.

Applying the Allan variance method to the whole data, a log-log plot of versus for the sampling data is shown in Figure 4. Table 1 provides each Allan analysis error coefficient of the source data.

Considering Table 1 and equations of Classical variance, the plot of versus is given in Figure 5. It is obvious that is bigger than the others after . Here, we chose the relevant time , and the Classical variances are displayed in Table 2.

The improved threshold is calculated according to , as mentioned above, and is the length of signal. Here, . The traditional threshold is chosen as the contrastive method. Figure 6 shows the results of denoising with different methods. From Figure 6(a), although the drift trend item is obvious, the whole curve is not smooth, and some inflection points are superimposed on the curve. The peak-to-peak value of the fluctuations is 0.020 (°)/h approximately, which will make serious influence on the drift modeling performance. Figure 6(b) shows the result with improved threshold. It is obvious that the improved method removes noises effectively, which is good for data processing further.

**(a)**

**(b)**

Table 3 shows that each Allan analysis error coefficient of the signal denoised by improved threshold method has a significant decrease compared with the signal denoised by traditional threshold method. Moreover, the analysis results indicate that the coefficient of DRR is almost the same as original coefficient, where it is fully proved that the improved threshold is an effective method which could separate the temperature trend item and other noise signals.

Table 4 shows the results of performance evaluation with different methods. We can see that the improved threshold method gains bigger SNR and the CC of this method is more close to 1. It indicates that the effect of new denoising method is improved.

In order to demonstrate that the FOG signal denoised with the improved threshold achieves better experimental performance than traditional threshold for modeling, BP neural network is proposed to establish the temperature drift model for compensation. BP Network is a typical multilayer feed-forward neural network which has a good ability to complex nonlinear function approximation [24]. The BP Network consists of smaller units called neurons which are trained through a learning process, while interneuron connection strengths, known as synaptic weights, are used to store knowledge [25, 26]. As shown in Figure 7, BP Network has a simple architecture of three layers (input, hidden, and output layers). The input layer just transfers input signal to hidden layer. The hidden layer performs a fixed nonlinear transformation with no adjustable parameters and maps the input space onto a new space. The output layer then implements a linear combiner on this new space and the only adjustable parameters are the weights of this linear combiner.

The MSE comparison curves of BP neural network that is used for two groups’ denoised data are depicted in Figure 8 with the same parameter of neural network. The denoised data using traditional threshold and improved threshold are named T-data and I-data, separately. Figure 8(a) is the MSE of neural network which uses the T-data, while Figure 8(b) is the MSE of neural network which uses the I-data. It is obvious that the rate of convergence in Figure 8(b) is much faster than that in Figure 8(a). The MSE in Figure 8(a) reaches its minimum value 0.0095124 at epoch 14, while the MSE in Figure 8(b) reaches its minimum value 0.0028738 at epoch 5. So the I-data could speed up the neural network training and make the neural network reach smaller MSE.

**(a)**

**(b)**

#### 5. Conclusion

Denoising is the base of FOG environmental drift modeling and its effect would directly influence the modeling accuracy. Considering the existing shortcoming of traditional wavelet denoising method, an innovation wavelet threshold denoising method based on Allan variance and Classical variance is proposed in this paper. Among them, the improved threshold is selected based on the analysis of random noise terms of FOG signal. In this way, the improved threshold is regarded as a dividing line between the temperature trend item and other noise signals, thus avoiding the phenomenon of wavelet coefficients of the “overkill” and “overreservation.” The experimental gyro signal is processed by the improved threshold and the mathematical evaluation results show that the proposed method can effectively solve the deficiency of traditional method. To demonstrate that the denoised signal with the improved method can achieve better experimental performance for modeling, BP neural network is proposed to establish the temperature drift model for compensation. The results show that the denoised signal with the improved method could speed up the neural network training and make the neural network reach smaller MSE.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.