Next Article in Journal
A New GNSS Spoofing Signal Power Control Algorithm for Receiver Sensors in Acquisition Phase and Subsequent Control
Next Article in Special Issue
Autonomous Navigation of Unmanned Aircraft Using Space Target LOS Measurements and QLEKF
Previous Article in Journal
Refined Appearance Potential Mass Spectrometry for High Precision Radical Density Quantification in Plasma
Previous Article in Special Issue
Study of the Steady-State Operation of a Dual-Longitudinal-Mode and Self-Biasing Laser Gyroscope
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Nonlinear Compensation of the MEMS Gyroscope under Tiny Angular Velocity

The Key Laboratory of Optoelectronic Technology and System, Ministry of Education, Chongqing University, Chongqing 400030, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(17), 6577; https://doi.org/10.3390/s22176577
Submission received: 2 August 2022 / Revised: 23 August 2022 / Accepted: 29 August 2022 / Published: 31 August 2022

Abstract

:
The Micro-Electro-Mechanical System (MEMS) gyroscope has been widely used in various fields, but the output of the MEMS gyroscope has strong nonlinearity, especially in the range of tiny angular velocity. This paper proposes an adaptive Fourier series compensation method (AFCM) based on the steepest descent method and Fourier series residual correction. The proposed method improves the Fourier series fitting method according to the output characteristics of the MEMS gyroscope under tiny angular velocity. Then, the optimal weights are solved by the steepest descent method, and finally the fitting residuals are corrected by Fourier series to further improve the compensation accuracy. In order to verify the effectiveness of the proposed method, the angle velocity component of the earth’s rotation is used as the input of the MEMS gyroscope to obtain the output of the MEMS gyroscope under tiny angular velocities. Experimental characterization resulted in an input angular velocity between −0.0036°/s and 0.0036°/s, compared with the original data, the polynomial compensation method, and the Fourier series compensation method, and the output nonlinearity of the MEMS gyroscope was reduced from 1150.87 ppm, 641.13 ppm, and 250.55 ppm to 68.89 ppm after AFCM compensation, respectively, which verifies the effectiveness and superiority of the proposed method.

1. Introduction

The Micro-Electro-Mechanical System (MEMS) gyroscope is a critical component of inertial navigation systems (INS) [1]. The advantages of the MEMS gyroscope include its low cost, compact volume, low power consumption, and easy integration. As a result, the MEMS gyroscope is widely used in oil drilling and geological research [2,3]. However, the MEMS gyroscope’s precision is affected by various errors [4].
The error of the MEMS gyroscope consists of random error and deterministic error [5]. Random errors are caused by uncertain factors and have no obvious repeatability. It can be analyzed by statistics and filtering methods, such as the Auto Regression Moving Average (ARMA) model, the Adaptive Kalman Filter (AKF), and Allan variance [6,7,8]. Deterministic errors include misalignment, zero bias, and nonlinearity [9,10]. The compensation of the MEMS gyroscope misalignment and the zero bias have been extensively reported [11,12,13,14]. However, the nonlinearity of the MEMS gyroscope is affected by geometric and material effects, electrostatic actuation, capacitance detection, and other factors. The source of the error is complex, which results in compensation difficulties [15].
In earlier work, the nonlinear compensation method of the MEMS gyroscope has been studied, which can be mainly divided into the following methods:
  • The traditional compensation method: Refers to the IEEE standard format guide [16,17], where the relationship between the input and output angular velocity of the MEMS gyroscope is established, and the optimal relationship is found by polynomial fitting [18,19,20], so as to realize the nonlinear error compensation. However, the performance of polynomial fitting depends on the accuracy of the compensation model and the repeatability of the system output, which is not universal.
  • Virtual Coriolis force-based nonlinear compensation method: With a specific resonator structure (force rebalance comb), the MEMS gyroscope outputs an equivalent angular velocity signal by applying an electrical excitation signal and then compensates for the nonlinearity of the MEMS gyroscope according to the output [21,22]. However, the additional vibration introduced by the virtual Coriolis force method, which is coupled to the gyroscope sensitive end, results in additional nonlinear errors.
  • Artificial intelligence algorithm: The output model of the MEMS gyroscope was established by using fuzzy logic [23] and neural networks [24]. When the input angular velocity is −60°/s to 60°/s and the interval is 3°/s, the nonlinear error of the MEMS gyroscope is about 140 ppm. However, artificial intelligence algorithms require a large number of samples to train.
  • In-run compensation method: The sources of MEMS gyroscope nonlinear error were investigated, and a nonlinear error correction method that does not require system calibration or data fitting was proposed, which can be applied to resonant gyroscopes in amplitude-modulated (AM) mode in general [25,26]. When the input angular velocity is ±0.1°/s, ±0.2°/s, ±0.5°/s, ±1°/s, and ±2°/s, the compensation method is verified.
These studies have effectively reduced the nonlinear error of the MEMS gyroscope at high angular velocity, but the compensation of MEMS gyroscope output nonlinearity (nonlinear behavior, or deviation from linear dependence) under tiny angular velocity (from −0.0036°/s to 0.0036°/s) has not been studied. Due to the strong nonlinearity of MEMS gyroscope output, it is difficult for the MEMS gyroscope to accurately measure the earth’s rotation angle velocity component. Therefore, the MEMS gyroscope is rarely used in north-seeking. With the increasing demand for MEMS gyroscope north-seeking accuracy, more and more fields need to use the MEMS gyroscope for north-seeking. The nonlinear compensation of the MEMS gyroscope output is particularly important, especially in the case of tiny angular velocity (angular velocity of earth’s rotation). Therefore, this paper studies the nonlinear error compensation method of the MEMS gyroscope under tiny angular velocity. An adaptive Fourier series compensation method (AFCM) based on the steepest descent method and Fourier series residual correction is proposed. AFCM achieves a better compensation effect by improving the Fourier series fitting method. It then iteratively solves the optimal weights using the steepest descent method and further improves the compensation accuracy by correcting the residuals of the fitted model with the Fourier series. The experimental results show that the proposed method can effectively reduce the nonlinear error of the MEMS gyroscope under tiny angular velocity.
The paper is organized as follows. Section 2 introduces the nonlinear mechanism of the MEMS gyroscope and establishes the output model of the MEMS gyroscope at tiny angular velocities. In Section 3, the method of nonlinear compensation is reviewed. Section 4 represents the experimental process and results. Section 5 is the concluding remarks and future work.

2. The Output Model of the MEMS Gyroscope under Tiny Angular Velocity

2.1. Nonlinear Analysis of the MEMS Gyroscope

Polysilicon, or crystalline silicon, is the main material of the MEMS gyroscope, which is fabricated by microfabrication. The MEMS gyroscope is a micron-scale device, so it has the characteristics of micro-size semiconductor processing, which leads to the weak signals being vulnerable to interference and complex error sources, limiting the accuracy of the device. In the machining process, the machining accuracy of device size is difficult to control, which affects the performance of the MEMS gyroscope. For the MEMS gyroscope, noise is an important factor affecting the performance of the gyroscope. Noise is a kind of random signal, which will affect the useful signal measured by the system. When the signal-to-noise ratio of the system is too low, the useful signal will be seriously disturbed, and even submerged by noise, so the noise largely determines the accuracy of the MEMS gyroscope output. The main noise sources of the MEMS gyroscope include thermal noise [27,28] and flicker noise (1/f noise) [29]. Thermal noise includes mechanical thermal noise and electronic thermal noise, which is caused by the random thermal motion of molecules or electrons. The random fluctuation of the conductance of the conductor contact point causes 1/f noise. The relationship between signal, noise, and the MEMS gyroscope is shown in Figure 1. In addition, the nonlinearity of capacitance detection also leads to the nonlinearity of MEMS gyroscope output [30,31].
The structure of the MEMS gyroscope is shown in Figure 2, which consists of a vibratory mass, driving electrodes, sensing electrodes, two anchors, supporting beams, an inner frame, and an outer frame [32]. When there is angle movement on the MEMS gyroscope’s input axis, because of the Coriolis effect, the vibratory mass will twist and a Coriolis inertia torque ( M c ) is generated, resulting in the change of the capacitance value of the sensing electrode. Torsion amplitude ( θ k ) in the output axis is sensed by the sensing electrodes, and the capacitance difference ( Δ C ) between the two sensing electrodes is output. Through the measurement of the capacitance change, the input angular velocity ( Ω ˜ ) can be indirectly calculated.
The M c can be expressed as:
M c = Θ J θ ¨ N Ω ˜
where Θ J is the equivalent moment of inertia of the inner frame and θ ¨ N is the constant amplitude vibration of the inner frame.
In accordance with the Laplace transform principle, the movement of the outer frame of the MEMS gyroscope subjected to M c is described by the equation:
θ k = M c J k S 2 + D k S + B k = Θ J S θ ¨ N J k ( S 2 + 2 ψ k k S + k 2 ) Ω ˜   = Θ J D θ ¨ N 90 J k k 2 [ 1 ( D k ) 2 ] 2 + ( 2 ψ k D k ) 2 Ω ˜
where J k is the moment of inertia in k axis, k = x , y , z , θ k is torsion amplitude in output axis, S is complex frequency, S = σ + j ω , D k and ψ k are the damping coefficient and ratio, ψ k = D k / 2 B k J k , D and k are the resonant radial frequency of drive and output axis, and B k is the rigidity of output axis, B k = k 2 J k .
The capacitance difference of the MEMS gyroscope, as a function of torsion displacement, θ k , is given as:
Δ C = f ( θ k ) = f ( Θ J D θ ¨ N 90 J k k 2 [ 1 ( D k ) 2 ] 2 + ( 2 ψ k D k ) 2 Ω ˜ )   = κ l s θ k ln h 0 2 ( s + b ) 2 θ k 2 h 0 2 ( s θ k ) 2
where κ is the dielectric constant between plates, l s is the effective length of the sensitive electrode, h 0 is the initial distance between the drive plate and the inner frame, s is the distance between the sensitive electrode, and the width of the plate is denoted by b .
It can be seen from Equation (3) that Δ C is not a linear function of θ k , that is, the output of the MEMS gyroscope has nonlinear error. Through expansion of natural logarithm in Equation (3) by Taylor series and omitting higher order terms, we can obtain:
Δ C P ( θ k ) = κ A ( 2 s + b ) h 0 2 ( s θ k ) 2 θ k
In the formula, A is the effective area of the sensitive electrode.
From the above equation, the nonlinear error of the MEMS gyroscope can be expressed as:
Δ c = f ( θ k ) P ( θ k )   = A ( 2 s + b ) θ k 2 l s [ h 0 2 ( s θ k ) 2 ] ln h 0 2 ( s + b ) 2 θ k 2 h 0 2 ( s θ k ) 2 θ k h 0 2 s 2 θ k 3 κ
It can be seen from Equation (5) and Figure 1 that the nonlinearity of MEMS gyroscope output is affected by the nonlinearity of capacitance detection, and in the low input speed range, the effective signal is small, the machining error and noise are prominently affected, and the MEMS gyroscope output error nonlinearity is more significant.

2.2. Establishment of MEMS Gyroscope Output Model

To compensate for the nonlinearity of the MEMS gyroscope in a tiny angular velocity range and improve its output precision, it is necessary to establish the output model of the MEMS gyroscope mathematically. The mathematical model expresses the relationship between the input and output of the MEMS gyroscope [33]. Therefore, the gyroscope’s output model can be expressed as follows:
G = K ˜ ω i + E ω j + D ˜ A + G 0 + ε
where G is the output angular velocity of the MEMS gyroscope, ω denotes the true angular velocity, and A is the acceleration. They are shown as follows:
ω = [ ω x ω y ω z ] T
A = [ A x A y A z ] T
Gyroscope zero bias errors and random errors are defined as:
G 0 = [ G 0 x G 0 y G 0 y ] T
ε = [ ε x ε y ε z ] T
K ˜ is scale factor of the MEMS gyroscope. It is shown as follows:
K ˜ = [ K ˜ x 0 0 0 K ˜ y 0 0 0 K ˜ z ]
E is installation error of the MEMS gyroscope. D ˜ is bias error related to acceleration. They are shown as follows:
E = [ 0 E x y E x z E y x 0 E y z E z x E z y 0 ]
D ˜ = [ D ˜ x x D ˜ x y D ˜ x z D ˜ y x D ˜ y y D ˜ y z D ˜ z x D ˜ z y D ˜ z z ]
where E i j is the misalignment caused by the non-orthogonality axes of the gyroscope. The misalignment D ˜ i j denotes that the acceleration sensed by the i - axis accelerometer is caused by the input acceleration of the j - axis accelerometer.
Inserting Equations (7)–(13) into Equation (6), we obtain:
[ G x G y G z ] = [ K ˜ x E x y E x z E y x K ˜ y E y z E z x E z y K ˜ z ] [ ω x ω y ω z ] + [ D ˜ x x D ˜ x y D ˜ x z D ˜ y x D ˜ y y D ˜ y z D ˜ z x D ˜ z y D ˜ z z ] [ A x A y A z ] + [ G 0 x G 0 y G 0 z ] + [ ε x ε y ε z ]
To obtain the output of the MEMS gyroscope at a tiny angular velocity, the earth’s rotation angular velocity component is used as the input of the gyroscope. As shown in Figure 3, the gyroscope output appears to be a cosine signal when the angle between the gyroscope sensitive axis and the Earth’s rotation axis varies.
It can be seen from Figure 3 that the input of the MEMS gyroscope and accelerometer is [34]:
{ ω x = ω i e cos L sin α ω y = ω i e cos L cos α ω z = ω i e sin L A x = 0 A y = 0 A z = g
where ω i e represents the earth’s angular velocity, L denotes the earth’s latitude, and α indicates the angle between the sensitive axis of the MEMS gyroscope and true north.
Substituting Equation (15) into Equation (14), the output model of the MEMS gyroscope under tiny angular velocity is shown as:
{ G x = K ˜ x ω i e cos L sin α + E x y ω i e cos L cos α + E x z ω i e sin L D ˜ x z g + G 0 x + ε x G y = K ˜ y ω i e cos L cos α + E y x ω i e cos L sin α + E y z ω i e sin L D ˜ y z g + G 0 y + ε y G z = K ˜ z ω i e sin L + E z x ω i e cos L cos α + E z y ω i e cos L sin α D ˜ z z g + G 0 z + ε z
The output model of the MEMS gyroscope includes installation error, acceleration bias error, zero bias error, and random error. These errors can be calibrated by the rate method and the position method. After calibrating the above errors, the linearity of the MEMS gyroscope is better at large angular velocity, but at tiny angular velocity, the linearity becomes poor. Therefore, this paper focuses on the nonlinear compensation of MEMS gyroscope output at tiny angular velocity.

3. Compensation Method

3.1. The Traditional Polynomial Compensation Method

The classical strategy to compensate for MEMS gyroscope nonlinearity is polynomial fitting. The regression equation can be obtained [35,36]:
Ω ^ ( G ) = a 0 + a 1 G + a 2 G 2 + + a n G n
where G is the MEMS gyroscope output angular velocity, Ω ^ ( G ) is the fitting angular velocity, and a 0 , a 1 , , a n is the parameter of the established model.
The difference between the value calculated by the regression equation and the desired value is as follows:
I = i = 0 m [ Ω ^ ( G ) ω i ] 2 = i = 0 m ( h = 0 n a h G i h ω i ) 2
where ω i is the ideal output value of the MEMS gyroscope.
According to the least mean squares theory, the first-order partial derivative of I should be set to the minimum to obtain the optimum value for the coefficients:
I / a j = 2 i = 0 m ( h = 0 n a h G i h ω i ) G i j min
The linear equations about a 0 , a 1 , , a n can be obtained. Thus, the regression equation with order n can be obtained.

3.2. The Adaptive Fourier Series Compensation Method (AFCM)

There are many factors that cause the nonlinearity of the MEMS gyroscope. The polynomial compensation method is difficult to accurately describe this characteristic, and the calculation amount is also large [37]. Therefore, this paper proposes an adaptive Fourier series compensation method (AFCM). It can be seen from the output model of the tiny angular velocity of the MEMS gyroscope that the model includes not only sine and cosine terms but also some additional terms. The Fourier series fitting method is improved in order to better fit the output of the MEMS gyroscope at tiny angular velocity. Then, the optimal weight is iteratively obtained by the steepest descent method. Finally, the Fourier series is used to eliminate the residuals of the fitting model, so as to achieve the best fitting effect.
A very high-precision-rate turntable is needed in order to achieve the input of tiny angular velocity. Therefore, this paper adopts the multi-position turntable experiment in Section 2.2. It can be seen from Equation (16) and Figure 3 that the output of the MEMS gyroscope can be approximated as a periodic trigonometric function satisfying the Dirichlet condition. As a result, the output of the MEMS gyroscope can be decomposed into a Fourier series, and its trigonometric function can be expressed as:
x ( t ) = a 0 + n = 1 a n cos ( n w ˜ t ) + n = 1 b n sin ( n w ˜ t )
The coefficients of the Fourier series are denoted by the following:
{ a 0 = 1 / T T / 2 T / 2 x ( t ) d t a n = 2 / T T / 2 T / 2 x ( t ) cos n w ˜ t d t b n = 2 / T T / 2 T / 2 x ( t ) sin n w ˜ t d t w ˜ = 2 π / T
where a 0 , a n , and b n are the coefficients to be determined, n is the number of harmonics, and w ˜ is the base frequency.
Since Fourier series fitting cannot effectively identify the signal outside the frequency band, in order to fit the target signal outside the frequency band output by the MEMS gyroscope, a linear term n is added on the basis of Fourier sine and cosine components in this paper, and this linear term is used for linear fitting of signals outside the range of ( w ˜ , M w ˜ ) .
The improved Fourier fitting algorithm is shown in Equation (22).
x n k = { a n cos ( n w ˜ G k ) + b n sin ( n w ˜ G k ) n = 1 , 2 , 2 M n n = 2 M + 1
k = ω k k T X k
k + 1 = k + 2 ξ k X k
where X k is a column vector with dimension 2 M + 1 , and its specific element x n k is defined by Equation (22), which is used to represent the results of fitting each sine and cosine, k is also a column vector with dimension 2 M + 1 , and each element n k is the weight of the corresponding element x n k in X k , G k is the MEMS gyroscope output angular velocity, ω k is the ideal output value of the MEMS gyroscope, k represents the error between the estimated value of the gyroscope output and the true value, ξ is the convergence rate coefficient of the algorithm, and its magnitude determines the rate of convergence.
In the process of fitting, the least squares algorithm is used to obtain the optimal weight. From Equation (23) we can obtain:
ϖ ˜ = E ( k 2 ) = E ( ω k 2 ) + T R 2 E ( ω k X k T )
where E represents the expected value, R = E ( X k X k T ) is the correlation matrix of the input vector, and is the weight vector.
The determination of the optimal weights is based on the principle of minimizing the fitting error, and according to the least squares method, the vector of weights is derived as:
ϖ ˜ / = 2 R 2 E ( ω k X k T )
When ϖ ˜ / = 0 , the optimal weight vector can be determined as:
= R 1 E ( ω k X k T )
In the process of solving the optimal weight vector by using Equation (27), it is necessary to solve the linear equations. Before solving the equations, it is necessary to invert the correlation matrix, but the calculation of the inverse matrix is large. In order to reduce the amount of calculation, the optimal weight vector uses the steepest descent algorithm.
The steepest descent algorithm is used to find an optimal solution 0 , so that:
J ( 0 ) J ( )
In each iteration, the weights of the input vector satisfy:
J ( ( m + 1 ) ) J ( ( m ) )
where m is the number of iterations.
In the iteration process, is continuously adjusted along the inverse gradient of J ( ) to obtain:
= J ( ) = J ( ) /
where represents the gradient vector.
From the above, the steepest descent method can be expressed as:
( m + 1 ) = ( m ) ν ( m ) / 2
Δ ( m ) = ν ( m ) / 2
where ν is a positive step parameter.
To illustrate the convergence of the steepest descent method, Taylor expansion is performed at ( m ) :
J ( ( m + 1 ) ) J ( ( m ) ) + ν H ( m ) Δ ( m )
Through the analysis of the steepest descent algorithm, when 0 < ν < 2 / λ max , the steepest descent method is convergent, where λ max is the maximum eigenvalue of the correlation matrix R . The fitting result of the MEMS gyroscope output is:
Ω ^ k = 1 k x 1 k + 2 k x 2 k + + 2 M k x 2 M k + ( 2 M + 1 ) k 2 M + 1
According to Equation (16), the output of the MEMS gyroscope is affected by random error. Therefore, this paper uses the strong noise reduction ability of the Fourier series to correct the residual of the fitting model (Equation (34)) so as to improve the accuracy of the fitting model.
The residual sequence of the fitting model can be expressed as:
E k = { e 1 , , e k , , e j }
e k = ω k Ω ^ k
The residual sequence can be approximately expressed by Fourier series expansion as follows:
e k a 0 / 2 + i = 1 k a [ a i cos ( 2 π i k / T ) + b i sin ( 2 π i k / T ) ]
where, a 0 , a i , and b i are the coefficients to be determined, k a = j / 2 .
The matrix form of Equation (37) is:
E k P a C a
where, E a k = [ e 1 e 2 e j ] T is the residual vector, C a = [ a 0 a 1 b 1 a k a b k a ] T is the residual Fourier coefficient vector, and P a can be expressed as:
P a = [ 1 / 2 cos ( 1 × 2 π × 1 / T ) sin ( 1 × 2 π × 1 / T ) cos ( k a × 2 π × 1 / T ) sin ( k a × 2 π × 1 / T ) 1 / 2 cos ( 1 × 2 π × 2 / T ) sin ( 1 × 2 π × 2 / T ) cos ( k a × 2 π × 2 / T ) sin ( k a × 2 π × 2 / T ) 1 / 2 cos ( 1 × 2 π × j / T ) sin ( 1 × 2 π × j / T ) cos ( k a × 2 π × j / T ) sin ( k a × 2 π × j / T ) ]
The coefficient vector obtained by the least squares method is:
C ^ a = ( P a T P a ) 1 P a T E a
Substituting the obtained Fourier coefficient vector C ^ a into Equation (38), E ^ k can be obtained, so as to obtain the modified model:
Ω ^ F k = Ω ^ k + E ^ k

4. Experiments and Results

4.1. Experiment Setup

To verify the effectiveness of the presented method, the compensation process was performed on an AG-20 sensor (Table 1). AG-20 is a three-axis MEMS gyroscope fabricated by polysilicon micromachining. The experimental environment is shown in Figure 4. The experimental equipment includes a biaxial angular velocity turntable, a data acquisition system, and a processing system. The IMU is connected to a laptop computer through an RS485 interface, which is used for information exchange with the computer.

4.2. Analysis of Compensation Results for MEMS Gyroscope

The MEMS gyroscope (AG-20) is fixed horizontally on the rate turntable with the tooling fixture, and the Y-axis is selected as the sensitivity axis. Preheating the MEMS gyroscope lasted for 20 min. In the process of experiment, in order to provide a tiny angular velocity for the MEMS gyroscope, a static experiment with a 10-degree interval was carried out on the turntable. The turntable was at an azimuth angle of 0°, 10°, 20°, 30°, 40°, 50°, 60°, 70°, 80°, 90°, 100°, 110°, 120°, 130°, 140°, 150°, 160°, 170°, 180°, 190°, 200°, 220°, 230°, 240°, 250°, 260°, 270°, 280°, 290°, 300°, 330°, 340°, and 350° in order of rotation. The gyroscope output data were collected for three minutes at each azimuth with a sampling frequency of 100 Hz. Therefore, 36 components of the angular velocity of the Earth’s rotation can be obtained as inputs to the MEMS gyroscope. Randomly selecting the original output data of the MEMS gyroscope at four of these azimuth angles, they are shown in Figure 5. In Figure 5, the red line, blue line, pink line, and green line are the original output data of the MEMS gyroscope when the azimuth angles are 10°, 70°, 170°, and 240°, respectively.
When the experiment is completed and all the data are collected, the relationship between the input and output of the MEMS gyroscope at different azimuths is shown in Figure 6. The relative errors of the MEMS gyroscope output at different azimuths are shown in Figure 7.
Figure 6 shows the relationship between the input and output of the MEMS gyroscope at different azimuths. It can be seen that the output of the MEMS gyroscope presents different degrees of nonlinearity with the change in azimuth. The standard value in Figure 6 represents the input angular velocity of the MEMS gyroscope. In this paper, the earth’s rotation angular velocity component is used as the input of the MEMS gyroscope, so the standard value can be calculated by Equation (15). The experimental data in Figure 6 are averaged by collecting three-minute output data from the MEMS gyroscope. As seen in Figure 7, when the azimuth angle is close to 90° or 270°, the relative error is the largest, and it increased to 85.13% and 81.42%, respectively. The reason for this is that the angular velocity component of the Earth’s rotation is close to zero, and the MEMS gyroscope that acquires the effective signal is so tiny that the nonlinearity is more noticeable.
In this paper, 20 data points were randomly selected to establish the model, and the remaining 16 data points were utilized to validate the model and compare the compensation effects of different compensation methods. Figure 8 shows the fitting results of different compensation methods. The fitting residuals of different compensation methods are shown in Figure 9.
Figure 8 shows the fitting effect of different compensation methods. The fitting effect can be judged by the coefficient of determination (R-square), and the closer the R-square is to 1, the better the fitting effect. The R-square of polynomial fitting is 0.8203, the R-square of the Fourier series is 0.9056, and the R-square of AFCM is 0.9996. It can be seen from Figure 9 that the residuals with AFCM are smaller and more concentrated than those of polynomial fitting and Fourier series fitting. Therefore, the fitting effect of AFCM is the best.
The remaining 16 data points were used to validate models fitted by different compensation methods. The results are shown in Figure 10, with the specific values given in Table 2.
The output results of the MEMS gyroscope after compensation by different methods are displayed in Figure 10. The red line in Figure 10 is the original output of the MEMS gyroscope, which has a large error compared with the standard value (purple line). After compensation by the traditional polynomial fitting method (cyan line) and the Fourier series fitting method (blue line), the output error of the MEMS gyroscope is reduced to varying degrees, but there are still some errors. The output of the MEMS gyroscope is closer to the standard value after AFCM compensation (green line). In Table 2, we summarize the absolute error, mean error, and standard deviation (STD) of MEMS gyroscope output after different compensation methods. We evaluate the results with the standard deviation. The proposed compensation method reduces the STD by 96.15%, 77.92%, and 42.47% compared to the raw data, traditional polynomial, and Fourier series, respectively. The calculation method is shown in Equations (42)–(44). The results show that the output error of the MEMS gyroscope is the smallest and the stability is the best after AFCM compensation.
η r a w A F C M = S T D r a w S T D A F C M S T D r a w 100 % = 0.000815143 3.1414 × 10 - 5 0.000815143 100 % = 96.15 %
η p o l y n o m i a l A F C M = S T D p o l y n o m i a l S T D A F C M S T D p o l y n o m i a l 100 % = 0.000142305 3.1414 × 10 - 5 0.000142305 100 % = 77.92 %
η f o u r i e r A F C M = S T D f o u r i e r S T D A F C M S T D f o u r i e r 100 % = 5.4609 × 10 - 5 3.1414 × 10 - 5 5.4609 × 10 - 5 100 % = 42.47 %
where η r a w A F C M , η p o l y n o m i a l A F C M , η f o u r i e r A F C M are the percentages of STD reduction after compensation by the proposed method, S T D r a w is the STD of the MEMS gyroscope’s raw output error, S T D p o l y n o m i a l is the STD of MEMS gyroscope output error after polynomial compensation, S T D f o u r i e r is the STD of MEMS gyroscope output error after Fourier series compensation, and S T D A F C M is the STD of MEMS gyroscope output error after AFCM compensation.
Figure 11 shows the nonlinearity before and after compensation by different methods. As we can see, the MEMS gyroscope exhibits significant nonlinearity (the red line) at a tiny angular velocity. After compensation by the traditional polynomial method (the cyan line) and the Fourier series fitting method (the blue line), the nonlinearity is reduced, but there is still some nonlinearity. After AFCM (green line) compensation, the nonlinearity of the MEMS gyroscope is greatly reduced. It can be seen from Figure 10 that the raw nonlinearity of the MEMS gyroscope output is 1150.87 ppm. After compensation by the traditional polynomial method, the nonlinearity is 641.13 ppm. After compensation by the Fourier series method, the nonlinearity is 250.55 ppm. After compensation by the AFCM, the nonlinearity is reduced to 68.89 ppm. The compensation method proposed in this paper substantially improves the output accuracy of the MEMS gyroscope, and the accuracy consistency of the whole range is better.

5. Conclusions

In this paper, the output precision of the MEMS gyroscope is improved by compensating for the nonlinearity of the MEMS gyroscope at tiny angular velocities. The key contributions of this paper are to improve the Fourier series fitting method, then use the steepest descent method to solve the optimal weight, and finally, use the Fourier series to correct the residual error of the fitted model. Based on the experimental results and analyses, the following conclusions can be drawn: (a) by comparing the results of traditional polynomial fitting and Fourier fitting, the evaluation standard of fitting residuals (R-square) is obtained, and the results show that the proposed method has a better fitting effect; (b) the availability and effectiveness of the AFCM are demonstrated by an obvious decrease in the standard deviation of the MEME gyroscope output error after compensation, which is shown in Table 2; (c) the output nonlinearity of the MEMS gyroscope is reduced from 1150.87 ppm to 68.89 ppm, and the compensation effect is better than that of the traditional polynomial method and the Fourier series method. The proposed method can effectively compensate for the nonlinearity of the MEMS gyroscope under tiny angular velocity and exhibits wide application prospects.

Author Contributions

Conceptualization, C.R. and D.G.; methodology, C.R.; software, D.G.; validation, D.G., L.Z. and T.W.; investigation, D.G.; resources, L.Z.; data curation, D.G.; writing—original draft preparation, D.G.; writing—review and editing, C.R.; supervision, C.R.; project administration, C.R.; funding acquisition, C.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Chongqing Association for Science and Technology (CQAST), Chongqing Natural Science Foundation Project (Grant No. cstc2020jcyj-msxmX0974).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank the Chongqing Association for Science and Technology (CQAST), Chongqing Natural Science Foundation Project for financial support, and also thank all the editors and anonymous reviewers for improving this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Carratu, M.; Dello Iacono, S.; Hoang, M.L.; Pietrosanto, A. Energy characterization of attitude algorithms. In Proceedings of the 17th IEEE International Conference on Industrial Informatics, INDIN19 Proceedings, Helsinki-Espoo, Finland, 22–25 July 2019; pp. 1585–1590. [Google Scholar]
  2. Li, Y.; Georgy, J.; Niu, X.; Li, Q.; El-Sheimy, N. Autonomous Calibration of MEMS Gyros in Consumer Portable Devices. IEEE Sens. J. 2015, 15, 4062–4072. [Google Scholar] [CrossRef]
  3. Feng, R.; Bahari, J.; Jones, J.D.; Leung, A.M. MEMS thermal gyroscope with self-compensation of the linear acceleration effect. Sens. Actuators A Phys. 2013, 203, 413–420. [Google Scholar] [CrossRef]
  4. Zhang, B.; Chu, H.; Sun, T.; Guo, L. Thermal calibration of a tri-axial MEMS gyroscope based on Parameter-Interpolation method. Sens. Actuators A Phys. 2017, 261, 103–116. [Google Scholar] [CrossRef]
  5. El-Diasty, M.; El-Rabbany, A.; Pagiatakis, S. Temperature variation effects on stochastic characteristics for low-cost MEMS-based inertial sensor error. Meas. Sci. Technol. 2007, 18, 3321–3328. [Google Scholar] [CrossRef]
  6. 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]
  7. Su, W.P.; Hao, Y.S.; Li, Q.C. ARMA-AKF Model of MEMS Gyro Rotation Data Random Drift compensation. Appl. Mech. Mater. 2013, 321, 549–552. [Google Scholar] [CrossRef]
  8. Gao, D.Y.; Li, A.; Fu, J.; Zhang, R.C. A MEMS random error analysis method fused with genetic algorithm. Proc. SPIE. 2018, 10835, 1083510. [Google Scholar]
  9. IEEE Std 1431-2004; IEEE Standard Specifification Format Guide and Test Procedure for Coriolis Vibratory Gyros. IEEE: Piscataway, NJ, USA, 2004; pp. 1–78.
  10. Zhang, P.; Zhan, X.; Zhang, X.; Zheng, L. Error characteristics analysis and calibration testing for MEMS IMU gyroscope. Aerosp. Syst. 2019, 2, 97–104. [Google Scholar] [CrossRef]
  11. Luo, J.; Wang, Z.; Shen, C.; Kuijper, A.; Wen, Z.; Liu, S. Modeling and Implementation of Multi-Position Non-Continuous Rotation Gyroscope North Finder. Sensors 2016, 16, 1513. [Google Scholar] [CrossRef]
  12. Huttner, F.; Kalkkuhl, J.; Reger, J. Offset and Misalignment Estimation for the Online Calibration of an MEMS-IMU Using FIR-Filter Modulating Functions. In Proceedings of the 2018 IEEE Conference on Control Technology and Applications (CCTA), Copenhagen, Denmark, 21–24 August 2018; pp. 1427–1433. [Google Scholar]
  13. Jia, Y.; Li, S.; Qin, Y.; Cheng, R. Error Analysis and Compensation of MEMS Rotation Modulation Inertial Navigation System. IEEE Sens. J. 2018, 18, 2023–2030. [Google Scholar] [CrossRef]
  14. Aydemir, A.G.; Saranlı, A. Characterization and calibration of MEMS inertial sensors for state and parameter estimation applications. Measurement 2012, 45, 1210–1225. [Google Scholar] [CrossRef]
  15. Hu, Z.; Gallacher, B.J. Effects of Nonlinearity on the Angular Drift Error of an Electrostatic MEMS Rate Integrating Gyroscope. IEEE Sens. J. 2019, 19, 10271–10280. [Google Scholar] [CrossRef]
  16. IEEE Std 529-1980; Supplement for Strapdown Applications to IEEE Standard Specification Format Guide and Test Procedure for Single-Degree-of-Freedom Rate-Integrating Gyros. IEEE: Piscataway, NJ, USA, 1981; pp. 1–24.
  17. IEEE Std 647-2006 (Revision of IEEE Std 647-1995); IEEE Standard Specification Format Guide and Test Procedure for Single-Axis Laser Gyros. IEEE: Piscataway, NJ, USA, 2006; pp. 1–96.
  18. Prikhodko, I.P.; Trusov, A.A.; Shkel, A.M. Compensation of drifts in high -Q MEMS gyroscopes using temperature self-sensing. Sens. Actuators A: Phys. 2013, 201, 517–524. [Google Scholar] [CrossRef]
  19. Liu, C.Z.; Wang, X.J.; Tang, Q.J. Error analysis and compensation research of scale factor for MEMS gyroscope. Proc. SPIE. 2014, 9301, 93010R. [Google Scholar]
  20. Yang, H.; Zhou, B.; Wang, L.; Xing, H.; Zhang, R. A novel tri-axial MEMS gyroscope calibration method over a full temperature range. Sensors 2018, 18, 3004. [Google Scholar] [CrossRef]
  21. Zhang, J.M.; He, C.H.; Liu, Y.X.; Liu, D.C.; Zhao, Q.C.; Yang, Z.C.; Yan, G.Z. A novel scale factor calibration method for a MEMS gyroscope based on virtual coriolis force. In Proceedings of the 10th IEEE International Conference on Nano/Micro Engineered and Molecular Systems, Xi’an, China, 7–11 April 2015; pp. 58–62. [Google Scholar]
  22. Wang, M.; Cao, H.L.; Shen, C.; Chai, J. A novel self-calibration method and experiment of MEMS gyroscope based on virtual coriolis force. Micromachines 2018, 9, 328. [Google Scholar] [CrossRef]
  23. Li, J.L.; Du, M.; Fang, J.C. Fuzzy modeling and compensation of scale factor for MEMS gyroscope. In Proceedings of the 2010 International Conference on Digital Manufacturing & Automation, Changsha, China, 18–20 December 2010; Volume 1, pp. 766–771. [Google Scholar]
  24. Zhu, C.H.; Cai, S.; Yang, Y.F.; Xu, W.; Shen, H.H.; Chu, H.R. A Combined Method for MEMS Gyroscope Error Compensation Using a Long Short-Term Memory Network and Kalman Filter in Random Vibration Environments. Sensors 2021, 21, 1181. [Google Scholar] [CrossRef]
  25. Norouzpour-Shirazi, A.; Ayazi, F. A dual-mode actuation and sensing scheme for in-run calibration of bias and scale factor errors in axisymmetric resonant gyroscopes. IEEE Sens. J. 2018, 18, 1993–2005. [Google Scholar] [CrossRef]
  26. Jia, J.; Ding, X.K.; Qin, Z.C.; Ruan, Z.H.; Li, H.S. In-Run Scale Factor Compensation for MEMS Gyroscope Without Calibration and Fitting. IEEE Sensors J. 2021, 21, 7316–7325. [Google Scholar] [CrossRef]
  27. Casinovi, G.; Norouzpour-Shirazi, A.; Dalal, M.; Ayazi, F. Gyroscope sensing and self-calibration architecture based on signal phase shift. Sens. Actuators A Phys. 2016, 241, 1–11. [Google Scholar] [CrossRef]
  28. Leland, R.P. Mechanical-thermal noise in MEMS gyroscopes. IEEE Sens. J. 2005, 5, 493–500. [Google Scholar] [CrossRef]
  29. Ding, X.; Jia, J.; Gao, Y.; Li, H. Mechanical and electrical noise in sense channel of MEMS vibratory gyroscopes. Sensors 2017, 17, 2306. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Mohd-Yasin, F.; Nagel, D.J.; Korman, C.E. Noise in MEMS. Meas. Sci. Technol. 2010, 21, 012001. [Google Scholar] [CrossRef]
  31. Nan, C.Z.; Zhou, J.H.; Chen, W.Y. The application of adaptive theory in MEMS gyro error compensation. Proc. SPIE. 2018, 10847, 108470G. [Google Scholar]
  32. Zhang, Y.S.; Yang, T. Modeling and compensation of MEMS gyroscope output data based on support vector machine. Measurement 2012, 45, 922–926. [Google Scholar] [CrossRef]
  33. Lu, J.Z.; Liang, S.F.; Yang, Y.Q. A novel method of calibrating a MEMS inertial reference unit on a turntable under limited working conditions. Meas. Sci. Technol. 2017, 28, 105018. [Google Scholar] [CrossRef]
  34. Zhang, Y.; Zhou, B.; Song, M.; Hou, B.; Xing, H.; Zhang, R. A Novel MEMS Gyro North Finder Design Based on the Rotation Modulation Technique. Sensors 2017, 17, 973. [Google Scholar] [CrossRef]
  35. Fontanella, R.; Accardo, D.; Lo Moriello, R.S. MEMS gyros temperature calibration through artifificial neural networks. Sens. A Phys. 2018, 279, 553–565. [Google Scholar] [CrossRef]
  36. Guo, X.; Sun, C.; Wang, P.; Huang, L. A hybrid method for MEMS gyroscope signal error compensation. Sens. Rev. 2018, 38, 517–525. [Google Scholar] [CrossRef]
  37. Araghi, G.; Landry, R.J. Temperature compensation model of MEMS inertial sensors based on neural network. In Proceedings of the IEEE/ION Position, Location and Navigation Symposium (PLANS), Monterey, CA, USA, 23–26 April 2018; pp. 301–309. [Google Scholar]
Figure 1. The output of MEMS gyroscope affected by noise.
Figure 1. The output of MEMS gyroscope affected by noise.
Sensors 22 06577 g001
Figure 2. MEMS gyroscope structure diagram.
Figure 2. MEMS gyroscope structure diagram.
Sensors 22 06577 g002
Figure 3. Curve of earth and turntable combined action.
Figure 3. Curve of earth and turntable combined action.
Sensors 22 06577 g003
Figure 4. Experimental equipment.
Figure 4. Experimental equipment.
Sensors 22 06577 g004
Figure 5. Original data of the MEMS gyroscope.
Figure 5. Original data of the MEMS gyroscope.
Sensors 22 06577 g005
Figure 6. MEMS gyroscope output at different azimuths.
Figure 6. MEMS gyroscope output at different azimuths.
Sensors 22 06577 g006
Figure 7. Relative error of MEMS gyroscope output.
Figure 7. Relative error of MEMS gyroscope output.
Sensors 22 06577 g007
Figure 8. Fitting results of different compensation methods.
Figure 8. Fitting results of different compensation methods.
Sensors 22 06577 g008
Figure 9. Fitting residuals of different compensation methods.
Figure 9. Fitting residuals of different compensation methods.
Sensors 22 06577 g009
Figure 10. Output results of the MEMS gyroscope with different compensation methods.
Figure 10. Output results of the MEMS gyroscope with different compensation methods.
Sensors 22 06577 g010
Figure 11. Comparison of nonlinear error compensation results.
Figure 11. Comparison of nonlinear error compensation results.
Sensors 22 06577 g011
Table 1. AG-20 Specifications.
Table 1. AG-20 Specifications.
Working TemperatureSupply VoltageWorking CurrentBandwidth
−40 °C~+150 °C5 V ± 0.1 V (DC)≤300 mA≥12 Hz
Measuring RangeZero-Bias StabilityBias RepeatabilityResolution
±100°≤0.3°/h≤0.5°/h≤0.1°/h
Table 2. Comparison table of compensation method error results.
Table 2. Comparison table of compensation method error results.
Azimuth Angle (°)Raw Data (°/s)Polynomial (°/s)Fourier Series (°/s)AFCM (°/s)
200.000826439−6.89415 × 10−56.1758 × 10−54.72656 × 10−5
500.0007983030.000231583−0.000101278−4.28319 × 10−5
600.000768150.0001949442.59435 × 10−5−2.06786 × 10−5
80−0.0002159855.19142 × 10−5−2.97954 × 10−51.07552 × 10−5
110−0.000692641−0.0001654936.46396 × 10−5−1.45021 × 10−5
120−0.00094015−9.06175 × 10−51.95771 × 10−5−2.64337 × 10−5
150−0.0009271237.13357 × 10−5−5.54034 × 10−5−4.01626 × 10−5
170−0.0009215040.0000679017.34738 × 10−5−4.20862 × 10−5
200−0.0009084397.25774 × 10−53.69618 × 10−54.3723 × 10−5
230−0.0008943030.0001459327.60111 × 10−51.51402 × 10−5
240−0.00088915−4.56297 × 10−57.65545 × 10−52.56077 × 10−5
260−0.000435326−8.371 × 10−53.61233 × 10−51.27842 × 10−5
2900.0006032010.000182944.55104 × 10−52.26422 × 10−5
3200.0008464249.39976 × 10−51.98744 × 10−52.78241 × 10−5
3400.000829439−0.0001671733.98373 × 10−53.31562 × 10−5
3500.000821504−0.000239669−6.54447 × 10−53.14372 × 10−5
Average (°/s)−8.31975 × 10−51.57433 × 10−52.02715 × 10−55.22753 × 10−6
STD (°/s)0.0008151430.0001423055.4609 × 10−53.1414 × 10−5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ren, C.; Guo, D.; Zhang, L.; Wang, T. Research on Nonlinear Compensation of the MEMS Gyroscope under Tiny Angular Velocity. Sensors 2022, 22, 6577. https://doi.org/10.3390/s22176577

AMA Style

Ren C, Guo D, Zhang L, Wang T. Research on Nonlinear Compensation of the MEMS Gyroscope under Tiny Angular Velocity. Sensors. 2022; 22(17):6577. https://doi.org/10.3390/s22176577

Chicago/Turabian Style

Ren, Chunhua, Dongning Guo, Lu Zhang, and Tianhe Wang. 2022. "Research on Nonlinear Compensation of the MEMS Gyroscope under Tiny Angular Velocity" Sensors 22, no. 17: 6577. https://doi.org/10.3390/s22176577

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