In order to suppress the random shift error of laser gyro and improve the practical precision of inertial navigation system, an improved gyro filtering method is proposed by combining the complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN) and principal component analysis (PCA). Firstly, the gyro signal is decomposed by CEEMDAN, and the noise energy of each intrinsic mode function (IMF) is estimated according to the distribution model of noise energy. Then, on basis of noise energy, the principal component analysis is used to remove the noise IMF to achieve the final denoising of gyro signal. In the proposed method, CEEMD can improve the mode mixing and denoising effect of gyro signal. Moreover, PCA is used to decompose each IMF. According to the noise energy, the noise of each IMF is removed adaptively to avoid the selection of noise IMF and better retain the useful information of the signal. The proposed method is completely dependent on the characteristics of gyro signal and has good adaptability and strong denoising ability. Furthermore, the filtered effect of different methods is analyzed by overlapping Allan variance. The experimental results show that the proposed method can suppress the gyro random drift more efficiently, and the effect of removing noise is better than EMD threshold method and EMD correlation coefficient method.
Laser gyroscope is a new generation of inertial measurement element. Compared with traditional mechanical gyroscope, it has many outstanding advantages and has been widely used in many fields . The accuracy of the output signal of laser gyro will directly affect the alignment efficiency of inertial navigation system. Due to the influence of uncertain factors such as internal structure and external environment, the output signal of the gyro often contains a lot of random noise that seriously affects its accuracy. How to effectively reduce the random drift of the gyro and improve the output accuracy of the signal has always been a hot and difficult point in laser gyro . There are currently two main methods to reduce gyro random drift : one is to establish a time series model of the gyro random drift, and the Kalman filter and more are used for random drift compensation based on this; the other is to use wavelet transform and more to reduce the noise of the gyro output data. Since the gyro signal will be interfered by a variety of uncertain factors, the random drift has the characteristics of slow time-varying, nonlinear, and non-stationary, which makes it impossible to establish an accurate drift model. Therefore, a time series model is difficult to obtain the ideal compensation effect, and the current gyro signal processing mainly adopts noise reduction method .
To solve the problem of large random drift of MEMS gyroscope, scholars at home and abroad have adopted many methods to deal with it. For example, a digital low-pass filter was used to filter out high-frequency noise , but this filter needs to be designed according to experience and is not suitable for the aliasing of noise spectrum and signal spectrum. The wavelet denoising method was proposed and the wavelet coefficients were optimized through sparse redundancy representation , but the appropriate threshold value and wavelet basis function is difficult to be selected in the wavelet filtering. An advanced neural architecture search cyclic neural network (NAS-RNN) method was adopted , but the basic structure and modules used in the NAS algorithm are difficult to rely on manual design, and require a large amount of computation. The time series model with Kalman filtering method is the most commonly used method for MEMS gyroscope error compensation , but the filtering accuracy is low.
The empirical mode decomposition (EMD) method does not require any prior knowledge of the signal , nor does it need to establish an error model. The original signal can be directly decomposed into several intrinsic mode functions (IMFs) and a margin, and then the high-frequency component containing noise is removed and the low-frequency component is reconstructed to achieve the original signal. In reference , the dominant component of noise was screened by calculating the variance of the autocorrelation function of each IMF. The IMF component with a small variance value can be considered as the dominant component of noise. In reference , the correlation coefficient method was used to screen IMF. When the local minimum appeared for the first time in the correlation coefficient graph, the IMF component before the extreme point could be determined as the noise component. In reference , IMF components were divided into noise IMF, aliasing IMF and signal IMF according to Pearson correlation coefficient criterion, and the aliasing component was processed with good denoising effect. However, there is no definite criterion for the selection of the IMF with noise. The traditional EMD denoising method directly removes the high-frequency component dominated by noise, which will lose some useful information and lead to the deviation of reconstructed signal. In reference , EMD algorithm with traditional time series modeling filtering method was used to compensate the error of gyroscope. Although good filtering effect is achieved, several high-order Kalman filters are used in the filtering process, leading to poor real-time performance.
In order to overcome the influence of EMD mode mixing and noise IMF selection on denoising, a gyro signal denoising method combining CEEMDAN and principal component analysis (PCA) is proposed in this paper. This method uses CEEMD instead of EMD to achieve almost perfect signal reconstruction. It improves the mode mixing and denoising effect of gyro signal. Moreover, PCA is used to decompose each IMF, and the principal components to be retained are selected adaptively according to the noise energy, thereby removing the noise of IMF r, avoiding the screening of noise IMF, and further improving the denoising effect of gyro signal. The proposed method is completely dependent on the characteristics of gyro signal, without judging the IMF noise term and setting the threshold value. In this paper, the noise reduction experiments of laser gyro test signals are carried out, and the experimental results are analyzed by overlapping Allan variance. The results show that the proposed method can suppress the gyro random drift more effectively than the existing EMD noise reduction methods.
2. CEEMDAN and principal component analysis
The CEEMDAN algorithm can effectively solve the problem of modal aliasing caused by EMD by adding adaptive white noise in each stage of decomposition. Meanwhile, it overcomes the problem of reconstruction errors caused by EEMD through adding white noise. The CEEMDAN algorithm is shown below :
Step 1: Find the first-order modal component. Add positive and negative pairs of Gaussian white noise to the original signal in order to form a new signal , and . is the amplitude. is the white noise sequence added for the time and obeys the standard normal distribution, and is the number of auxiliary noises, . EMD of the new signal is obtained:
At this time, first-order components are obtained. The average value through is found and the final weight of the first stage is obtained:
From Eq. (1) and Eq. (2), the first-order residual component is obtained:
Step 2: Find the second-order modal component. Add positive and negative pairs of Gaussian white noise to the remaining component to form a new signal . EMD is used to decompose again:
Then, the second-order component is obtained by averaging :
Finally, the second-order residual component is obtained:
Step 3: Repeat step 2 until the remaining signal cannot be decomposed. Suppose that average IMF components are obtained at the end of the algorithm, the final residual signal is:
The original signal can be expressed as:
2.2. Principal component analysis
PCA is a typical decorrelation algorithm , which has been widely used in dimensionality reduction, data compression, and noise removal. Suppose is a matrix, i.e.:
Take the mean of as , , and let , then the covariance matrix of is . The purpose of PCA transformation is to find an orthogonal matrix . The components in are de-correlated by the transformation , and the covariance matrix of is diagonal matrix. Because is a symmetric matrix, and can be expressed by singular decomposition:
where, is an orthogonal matrix,}, . represents the characteristic root of covariance matrix and satisfy . represents the eigenvector corresponding to . If , and then the disjoint operation of each component in data can be realized by transforming . Components in matrix are independent to each other.
In addition to de-correlation, another important feature of PCA is to de-noise signals by optimizing the selection of some principal components. After PCA decomposition, the noise-containing signal is mainly concentrated in the first few principal components, and the noise is distributed in each principal component to varying degrees. Therefore, as long as the first few principal components are retained for reconstruction, the noise in the signal can be significantly removed and a good de-noising effect can be achieved. That is, if let , , and then:
is the result of denoising the original noise-containing signal .
3. Gyro signal denoising based on PCA and CEEMDAN
3.1. Energy composition model of gyro signal IMF
The laser gyro signal is decomposed by CEEMDAN. The IMF at layer is , and the energy of is defined as :
where, represents the length of . For the sake of discussion, let , assuming that:
where, represents the signal component contained in , and represents the noise component in , there are:
Among them, indicates the expectation. According to EMD, the resolution characteristics of zero mean white noise , and let:
Then the above equation becomes:
The energy of , and are , and respectively. According to Eq. (9):
Because signal has nothing to do with the noise , and:
That is, the energy of is mainly composed of signal energy and noise energy . When is denoising, if the noise with energy can be removed from , then it can be considered that the remaining part is all signal information and no longer contains noise.
The energy of in is unknown. Since the signal and noise are mixed together, and it is usually impossible to find the noise energy contained in . However, based on the energy model of the noise signal decomposed by EMD [17, 18], the energy of in can be approximated. After EMD decomposition of the signal contaminated by white noise, the embedded mode function of the first layer is basically composed of noise and contains only a small amount of signal information. Assuming that is completely composed of noise, that is, , then the energy of the noise contained in the -th IMF can be approximately obtained according to the following formula:
where, and . According to Eq. (2) and Eq. (3), the noise energy in is the same as that in . Therefore, the energy of noise contained in can be approximately obtained through Eq. (13). Simply let , regardless of the detailed information contained in , it will lead to the excessive estimation of noise energy, which is not conducive to the preservation of signal details. If PCA is applied to to extract some detailed signal information, the noise energy value of in can be estimated more accurately.
3.2. Principal component selection for IMF denoising at each layer
After CEEMDAN decomposition of the gyro signal, there are different degrees of noise in each IMF layer. PCA is used to further remove the noise of each IMF layer. Still make and , and let and .
Let and , due to , obviously , and the covariance matrix of is obtained .
Therefore, using PCA to denoise is equivalent to using PCA to denoise . Let be the characteristic value of , and be the corresponding eigenvectors. Let , i.e. is an orthogonal matrix. Define:
According to the decomposition characteristics of PCA, the noise in is distributed in all the components in , while the signal is mainly concentrated in the components of the first few layers. If the first eigenvectors are selected to form a new transformation matrix , then the approximate value of the original signal can be obtained from by the inverse transformation:
Therefore, is the signal de-noised by , and:
is equivalent to the noise removed from . When PCA is used to remove the noise in , an appropriate number of principal components is selected for reconstruction. Usually, according to the cumulative contribution rate of the first principal components to determine the principal components retained. However, the selection of principal component is not simple: if the cumulative contribution rate r is too high, there will be a lot of residual noise, resulting in incompletely removal of noise; If the cumulative contribution rate r is too small, more signal details will be lost. Moreover, the intensity of noise contained in each IMF layer is different. Therefore, in the denoising process of , the cumulative contribution rate cannot be set to a fixed value. Based on the distribution characteristics of noise energy in , this paper adaptively determines the value of the cumulative contribution rate r in denoising.
3.2.1. Principal component selection of
From CEEMDAN's decomposition characteristics of noise signals , it can be seen that IMF is basically composed of noise and only contains a small amount of signal details. After PCA decomposition, the signal is basically only concentrated in the first principal component. Therefore, when using PCA to de-noise , only the first principal component is retained for reconstruction. That is, make and de-noised by PCA is the signal . At this point, the noise removed from is:
Therefore, the energy of noise contained in can be obtained. According to the noise energy distribution in the EMD model Eq. (13) and , value contained in the noise energy is calculated.
3.2.2. Principal component selection of
The following discusses the principal component selection method of at . From Eq. (12), the energy of is mainly composed of ideal signal energy and noise energy. If appropriate is selected during the PCA reconstruction, the energy of noise deleted in Eq. (14) is the same as that of contained in . That is, is selected, let:
It is considered that the noise has been completely removed, and the remaining principal component is the ideal signal without noise. In order to facilitate the calculation and reduce the error, the above Formula is modified to:
It can be seen from Eq. (14) that the energy of the deleted noise is:
Since , and:
Due to and , and the energy of signal is:
When using PCA to de-noise , if the first principal components are selected for reconstruction, the ratio of the energy of the deleted noise to that of the original signal is . It can be seen from Eq. (16) that in order to make the energy of deleted noise equal to that of the noise contained in , an appropriate should be selected as that . It can be considered that all noises in has been removed, and the remaining part is all composed of signal information without noise. can be calculated by Eq. (7) and noise energy model Eq. (13), and can be calculated directly. When choose , it is hard to be sure that is true.
In this paper, the value of is selected according to the following method: if there is , Eq. (17) is established, and let :
3.3. De-noising steps of gyro signal based on CEEMDAN and PCA
The laser gyro signal denoising algorithm based on CEEMDAN and PCA proposed in this paper are as follows:
Conduct CEEMDAN on the gyro signal , and set its intrinsic modal function as , and the remainder as ;
Let , and calculate the energy of the noise contained in according to Eq. (13).
Let , .
PCA decomposition is performed on . Through Eq. (17), the principal component retained in the denoising of feature space is calculated. According to , the denoising result is found in the feature space, and the original image is found through iteration.
The de-noising result of is . Accumulate and reconstruct to get the de-noised gyro signal .
4. Experimental analysis
4.1. Experiment 1
The experimental data in this article comes from the drift test of a laser gyro under a static base at normal temperature (20 °C) (the nominal gyro drift is 1 °/h). The sampling interval is 1 s, and the output signal of 2000 epochs on the -axis is taken for experimental analysis (similar to the and -axes). The experimental data is shown in Fig. 1. In order to compare the denoising effect, the gyro signal is de-noised by the EMD threshold method , the EMD correlation coefficient method  and the proposed method in this paper. In the denoising of EMD threshold method and EMD correlation coefficient method, the number of decomposition layers is 9. After the experimental signal is decomposed by CEEMDAN under the proposed method, 10 IMF components and one remainder are obtained.
4.1.1. Direct comparison of denoising gyro signals
The laser gyro drift signal is de-noised by the EMD threshold method, the EMD correlation coefficient method and the method, and the results are shown in Fig. 2, Fig. 3, and Fig. 4 respectively. Compared with the signals de-noised by the EMD threshold method and the EMD correlation coefficient method, the signal de-noised by the proposed method is smoother. Calculate the mean value and variance of the original signal and the denoising signal respectively, and the results are shown in Table 1. It can be seen that the mean values of the three methods after denoising are basically the same. The variance of the proposed method after denoising is small, which shows that the random noise in the gyro drift data is better eliminated.
Table 1Comparison table of mean and variance
Fig. 1The original signal of the laser gyroscope
Fig. 2EMD threshold method denoising
Fig. 3EMD correlation coefficient method denoising
Fig. 4Denoising method of the proposed method
4.1.2. Comparison of overlapping Allan variance of denoising gyro signal
In order to further analyze the denoising effect of the method in this paper on the gyro signal, the overlapped Allan variance is used to compare and analyze the denoising results of the three methods . Overlapping Allan variance is an improvement to ordinary Allan variance. It has a larger confidence interval than ordinary Allan variance analysis and is suitable for error analysis of non-stationary random gyro signals. Let the overlapped Allan standard deviation of the signal be , and be the sampling interval. The double logarithmic curve of can describe the different random error components of the gyro signal. The original signal is obtained by the overlapping Allan analysis method, and the coefficients of the five source errors of the signal after the three methods are de-noised, including: quantization noise (), angle random walk (), bias instability (), rate random walk () and rate ramp (). The results are shown in Table 2.
It can be seen from Table 2 that after the filtering processing of the three noise reduction algorithms, the error coefficients is reduced, indicating that the three methods have a certain denoising effect on the gyro signal. Compared with the EMD threshold method and the EMD correlation coefficient method, the various indicators of the signal after noise reduction in this method are low. It indicates that the gyro signal after the EMD threshold method and the EMD correlation coefficient method still contains a certain degree of error components. The method in this paper further weakens the various error components of the gyro signal. It can also be seen from Table 2 that quantization noise is the main factor causing the random errors in the gyro signal. After noise reduction by EMD threshold method, EMD correlation coefficient method and this proposed method, the quantization noise error coefficient of the signal is reduced to the original 13.82 %, 11.14 % and 6.46 %, respectively.
Table 2Comparison of noise error coefficient before and after denoising
front-to-rear ratio (%)
EMD threshold method
EMD correlation coefficient method
4.2. Experiment 2
In this experiment, the low cost MPU-6050 gyroscope is studied. At room temperature, the calibrated MEMS inertial sensor is fixed on the horizontal test bench through a clamp, and the sampling frequency is set to 100 Hz. After power-on, the data is collected continuously for 30 s after preheating for 0.5 h. The axis sampling data of the gyroscope is used as the original output data of the gyroscope. After calculation, the original signal of gyroscope random drift error is shown in Fig. 5. The de-noised results of EMD threshold method, EMD correlation coefficient method and the proposed method are shown in Fig. 5. To further evaluate the effect of various denoising methods, root mean square error (MSE) and signal-to-noise ratio (SNR) are used to measure the denoising effect:
where, is the original signal, and is the de-noised signal. The larger the SNR is, the smaller the root mean square error is, and the better the denoising effect will be.
MSE and SNR are calculated respectively as shown in Table 3. The EMD Threshold Method denoising method directly removes the coefficients that are smaller than the threshold value in each IMF layer, resulting in partial information missing. The EMD correlation coefficient method directly removes the modal units with small correlation coefficients, which also leads to the loss of gyro signal. While using the proposed method to de-noise, the signal waveform is well preserved. Compared with the EMD threshold method, the MSE of the proposed method is reduced by 12 % and the SNR is improved by 13 %. Compared with the EMD correlation coefficient method, the MSE of the proposed method is reduced by 12 % and the SNR is increased by 13 %.
Table 3Evaluation of gyroscope signal denoising effect
EMD threshold method
EMD correlation coefficient method
The proposed method
Experiment 1 and experiment 2 are carried out by Windows10 system, 2.90G Hz i5 processor of CPU, 16.0GB memory, and the software uses the Matlab2019A. In the experiment, the number of decomposition layers of CEEMDAN is set as 9. In experiment 1, the average running time of the three denoising methods is about 0.60227 s, 0.62782 s and 1.06885 s, respectively. In experiment 2, the average running time of them is about 0.38944 s, 0.40896 s and 0.71315 s, respectively.
Fig. 5Denoisied results of three methods in Experiment 2
a) Original signal
b) EMD threshold method denoising
c) EMD correlation coefficient method denoising
d) Denoising method of the proposed method
Through comparative analysis, it can be seen that in the proposed method, due to the need of multiple iterative decomposition for CEEMDAN and the use of PCA to remove the noise in each IMF, the running time is increased to a certain extent compared with the EMD Threshold Method and the EMD Correlation Coefficient Method. In the Matlab2019A environment, the average time of the implementation phase of the proposed method is about 0.891 s. It can be seen that the proposed method can quickly obtain the denoising results of gyro signals in practical applications. If the algorithm is written into the hardware by or other compiled languages, the running speed will be further improved. Therefore, the proposed method in this paper can meet the requirements in terms of real-time performance under certain conditions.
1) In order to overcome the shortcomings of the existing EMD gyro signal denoising algorithm, this paper combines CEEMDAN and PCA to propose an improved gyro signal denoising method.
2) According to the noise energy contained in IMF in each layer of gyro signal, the principal components of IMF that should be retained after PCA decomposition is adaptively selected to realize the denoising of gyro signal.
3) In the denoising process, the proposed method can adaptively calculate the model parameters according to the characteristics of gyro signal. Therefore, the denoising process is only related to the characteristics of gyro signal and does not require cumbersome parameters and threshold adjustments.
4) The noise reduction of the measured gyro random drift signal is carried out, and the noise reduction effects of different denoising methods are compared and analyzed by using direct comparison method and overlapping Allan variance method.
5) The experimental results show that compared with EMD threshold denoising method and EMD correlation coefficient denoising method, the noise reduction effect of the proposed method improves to a certain extent. It can remove noise, reduce the error components of gyro signal, and improve the accuracy of the inertial guidance solution more effectively. Moreover, the proposed method in this paper has better stability and adaptability in the processing of gyro signals.
Y. V. Filatov, P. A. Pavlov, A. A. Velikoseltsev, and K. U. Schreiber, “Precision angle measurement systems on the basis of ring laser gyro,” Sensors, Vol. 20, No. 23, p. 6930, Dec. 2020, https://doi.org/10.3390/s20236930
M. Wang, X. Dong, C. Qin, and J. Liu, “Adaptive H∞ Kalman filter based random drift modeling and compensation method for ring laser gyroscope,” Measurement, Vol. 167, p. 108170, Jan. 2021, https://doi.org/10.1016/j.measurement.2020.108170
K. Liu et al., “Noise analysis of a passive resonant laser gyroscope,” Sensors, Vol. 20, No. 18, p. 5369, Sep. 2020, https://doi.org/10.3390/s20185369
F. S. Tian, “Research on navigation solution of multi-rotor UAV based on multiple sensors,” Harbin Institute of Technology, 2017.
J. Song, Z. Shi, B. Du, L. Han, H. Wang, and Z. Wang, “MEMS gyroscope wavelet de-noising method based on redundancy and sparse representation,” Microelectronic Engineering, Vol. 217, p. 111112, Sep. 2019, https://doi.org/10.1016/j.mee.2019.111112
Z. Zhu, Y. Bo, and C. Jiang, “A MEMS gyroscope noise suppressing method using neural architecture search neural network,” Mathematical Problems in Engineering, Vol. 2019, pp. 1–9, Nov. 2019, https://doi.org/10.1155/2019/5491243
Liu X. B., Chen G. W., Wang D., and Wang D. F., “Analysis and compensation of drift and noise in MEMS Gyroscop,” Chinese Journal of Sensors and Actuators, Vol. 31, No. 3, p. 368, 2018.
N. E. Huang et al., “The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis,” Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, Vol. 454, No. 1971, pp. 903–995, Mar. 1998, https://doi.org/10.1098/rspa.1998.0193
Liu M., Liu J. H., Chen J. H., and Peng F. C., “MEMS Gyroscope noise reduction method based on improved EMD,” Chinese Journal of Sensors and Actuators, Vol. 33, No. 5, pp. 705–710, 2020.
He J. N., Zhong Y., and Li X. F., “Multi-scale prediction of MEMS gyroscope random drift based on EMD-SVR,” Journal of Measurement Science and Instrumentation, Vol. 11, No. 3, pp. 290–296, 2020.
Liu Wenta, Liu Jieyu, and Shen Qiang, “Integrated modeling and filtering of fiber optic gyroscope’s random errors,” Opto-Electronic Engineering, Vol. 45, No. 10, p. 180082, 2018.
Yang J. H. et al., “A modeling method for random errors of micromechanical gyroscope based on the improved EMD,” Chinese Journal of Scientific Instrument, Vol. 40, No. 12, pp. 196–204, 2019.
M. E. Torres, M. A. Colominas, G. Schlotthauer, and P. Flandrin, “A complete ensemble empirical mode decomposition with adaptive noise,” in ICASSP 2011 – 2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 4144–4147, May 2011, https://doi.org/10.1109/icassp.2011.5947265
Lei Zhang, R. Lukac, Xiaolin Wu, and D. Zhang, “PCA-based spatially adaptive denoising of CFA images for single-sensor digital cameras,” IEEE Transactions on Image Processing, Vol. 18, No. 4, pp. 797–812, Apr. 2009, https://doi.org/10.1109/tip.2008.2011384
P. Flandrin, G. Rilling, and P. Goncalves, “Empirical mode decomposition as a filter bank,” IEEE Signal Processing Letters, Vol. 11, No. 2, pp. 112–114, Feb. 2004, https://doi.org/10.1109/lsp.2003.821662
X.-D. Niu, L.-R. Lu, J. Wang, X.-C. Han, X. Li, and L.-M. Wang, “An improved empirical mode decomposition based on local integral mean and its application in signal processing,” Mathematical Problems in Engineering, Vol. 2021, pp. 1–30, Feb. 2021, https://doi.org/10.1155/2021/8891217
K. Maciuk, J. Kudrys, M. Bagherbandi, and I. V. Bezmenov, “A new method for quantitative and qualitative representation of the noises type in Allan (and related) variances,” Earth, Planets and Space, Vol. 72, No. 1, p. 186, Dec. 2020, https://doi.org/10.1186/s40623-020-01328-6