Next Article in Journal
Researching Why-Not Questions in Skyline Query Based on Orthogonal Range
Previous Article in Journal
Delta-Sigma Modulator-Based Step-Up DC–DC Converter with Dynamic Output Voltage Scaling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Temperature Error Parallel Processing Model for MEMS Gyroscope based on a Novel Fusion Algorithm

School of Instrument and Electronics, North University of China, Tai Yuan 030051, China
*
Authors to whom correspondence should be addressed.
Electronics 2020, 9(3), 499; https://doi.org/10.3390/electronics9030499
Submission received: 16 February 2020 / Revised: 4 March 2020 / Accepted: 16 March 2020 / Published: 18 March 2020
(This article belongs to the Section Microelectronics)

Abstract

:
To deal with the influence of temperature drift for a Micro-Electro-Mechanical System (MEMS) gyroscope, this paper proposes a new temperature error parallel processing method based on a novel fusion algorithm. Firstly, immune based particle swarm optimization (IPSO) is employed for optimal parameters search for Variational Modal Decomposition (VMD). Then, we can get the optimal decomposition parameters, wherein permutation entropy (PE) is employed as the fitness function of the particles. Then, the improved VMD is performed on the output signal of the gyro to obtain intrinsic mode functions (IMFs). After judging by sample entropy (SE), the IMFs are divided into three categories: noise term, mixed term and feature term, which are processed differently. Filter the mixed term and compensate the feature term at the same time. Finally, reconstruct them and get the result. Compared with other optimization algorithms, IPSO has a stronger global search ability and faster convergence speed. After Back propagation neural network (BP) is enhanced by Adaptive boosting (Adaboost), it becomes a strong learner and a better model, which can approach the real value with higher precision. The experimental result shows that the novel parallel method proposed in this paper can effectively solve the problem of temperature errors.

1. Introduction

The MEMS gyroscope based on Coriolis acceleration mainly conveys vibration between the drive mode and the detection mode [1,2], due to its advantages such as robustness, low noise, and low power consumption [3], MEMS technology and gyroscopes have been widely used in aviation, aerospace, measuring and other important fields [4,5,6,7,8,9,10].
Temperature is one of the factors limiting the continued development of MEMS gyroscopes. There are two main methods for solving the temperature limitation: one is to improve the performance through hardware facilities, including further optimization of the structure and strengthening the control of the circuit. Cao et al. [11] proposed how the mechanical model of the gyroscope is affected by temperature changes, and the method of improving the silicon structure is used to achieve hardware compensation. In [12], an effective gyro thermal compensation system is proposed by Chiu et al. for low temperature bias drift (TBD) MEMS. In order to compensate for the drift temperature energy loss, Liu et al. adopted a more complete design structure for MEMS vibratory gyroscopes [13]. Cao et al. designed a very reasonable equivalent electrical model of silicon structure to deal with the difficulty of inaccurate performance caused by excessive temperature [14]. Fu et al. adopted a special circuit design structure to reduce the damping coefficient, which is convenient and economical [15]. Yang et al. adopted a new concept whereby the on-chip temperature compensation of the MEMS gyroscope is realized by the on-chip sensor. In order to make the on-chip temperature of the micro gyroscope well controlled, the newly integrated serpentine micro heater is used to achieve this function [16]. Cui et al. analyzed the working principle of the gyroscope and adopted the vibration compensation of the drive mode, which has a good effect [17]. However, the hardware compensation cost is high and it is too difficult to implement.
The second is through software compensation, it includes the removal of noise and temperature compensation. The software compensation method mainly establishes a model for the drift part and the noise part of the MEMS gyroscope to remove noise and compensate drift. For the establishment of the temperature drift model, the reference temperature and the corresponding temperature drift output obtained in advance are used as a set of training set data. The model is established after the learning and training of the algorithm. When the temperature value is input, the model can predict the output value as compensation. There are two main methods. The first one is serial processing, which first uses a filter to perform noise reduction on the signal and then uses a model to eliminate drift. The other one is parallel processing, which refers to extracting and processing noise components and drift components separately. Dominik uses a combination of experiments and numerical values to provide accurate ceramic acceleration at higher temperature [18]. Yang uses a simple mathematical model that makes the sensor output smoother [19]. In order to adapt to the principle of multi-standard, the most common method is wavelet variation (WT) [20]. To improve the temperature control, Xia et al. adopted a fuzzy PID and BP neural network fusion method, which can easily reduce the zero-rate output [21]. Reference [22] uses the relationship between the output data of the MEMS gyroscope and the internal temperature, then uses the linear compensation method. In [23], a novel model is proposed to process the output data to eliminate temperature errors. A multi-scale method based on combination generalized morphological filter is proposed in [24] for gyroscope temperature error processing. The artificial intelligence technology is popular at present as it has great advantages in building a temperature drift model of MEMS gyroscope, such as in [25,26].
This paper proposes a novel software compensation method for processing the temperature error of the gyroscope output signal, which belongs to parallel processing. That is to say, various components in the signal are extracted to different dimensions and processed separately. There are many literatures for signal processing and decomposing analysis, the most common ones are empirical mode decomposition (EMD) [27], variational mode decomposition (VMD), wavelet decomposition (WT), among them, VMD is a good signal decomposition algorithm, because of its solid theoretical foundation and fast convergence speed, it has a very high heat [28,29]. However, before performing VMD, two main parameters of VMD need to be set, which are the number of intrinsic modal layers of decomposition and penalty factor, setting the two parameters differently has a great influence on the decomposition result [30]. In this paper, immune based particle swarm optimization (IPSO) will be introduced to optimize VMD, through searching, to finally achieve the best decomposition denoising effect.
Establishing a high-precision drift prediction model is a key step in temperature drift [23]. Machine learning algorithms are often applied as prediction models for engineering because of their many advantages. Commonly used algorithms are neural networks, support vector machine (SVM), etc. [25,31]. So as to further improve the accuracy of temperature drift processing, this paper employs integrated learning algorithm: Adaboost. Adaboost (adaptive boosting) is an adaptive integration algorithm proposed by Freund and Schapire [32], it combines several weak predictors to form a strong predictor with high precision [33,34], and BP is used as weak learner in this paper. The research in this article focuses on the temperature characteristics. As the temperature changes, the noise and drift of the gyroscope will change. If unified processing is adopted, there will be a large error. Therefore, we adopt a parallel processing model, which means that the noise and drift are extracted and processed separately using different algorithms. In VMD decomposition, the uncertainty of the parameters has a great impact on the results. IPSO can optimize it well, an this has a great effect on the extraction of noise and drift. For the temperature drift term, Adaboost can improve the prediction accuracy to a certain degree. Therefore, this paper proposes a novel hybrid algorithm based on IPSO-VMD and BP-Adaboost after comparing with various algorithms. The model focuses on practical effects and it is very suitable for gyroscope’s signal, the experimental results prove this. The detailed introductions are as follows.

2. Dual-Mass MEMS Gyroscope

2.1. Gyro Structure

The dual-mass gyroscope using turning-fork is studied, and its structure is shown in Figure 1. It contains two masses that can be counter-vibrated under the action of electrostatic forces. There are two modes in the rotary fork structure, namely sense mode and drive mode. The drive mode includes a drive frame, drive springs, and a drive comb, and the sense mode includes a sense frame, sense springs, and a sense comb. Since it is a separated structure, the drive mode and the sense mode are separated from each other, and there is no coupling displacement. In addition, the common parts of the two modes constitute mass, when an electrostatic force acts on the drive mode, the two masses will produce opposite vibration on the X-axis, and the angular velocity around the Z-axis will increase, when the angular velocity reaches ψz, the Coriolis force is generated by the mass of the vibration and is transmitted to the sense frame on the Y-axis, which is then detected by the detection circuit.
This structure is driven by tuning fork theory, U-shaped springs are used to connect the left and right drive masses, the two sense masses in series are connected by the drive spring in X-axis. There are related simulations of the first four sequential modes in Ansys soft, as shown in Figure 2. In practice, the drive mode shows purely anti-phase mode drive, it is for three main reasons: the relevant excitation mode of the drive mode, the quality factor Rx2 of the anti-phase drive mode is greater than 2000, the frequency difference between the anti-phase mode and the in phase mode is more than 1000Hz., Since the actual sensing mode used for work consists of the second and the third mode, the motion equation of gyroscope structure can be expressed by Equation (1) in ideal case:
m S ¨ + a S ˙ + b S = E
where, S = [x,y1,y2]T is the displacement, m = [mx,my,my]T is the mass, a = d i a g [ w x 2 m x R x 2 , w y 1 m y R y 1 , w y 2 m y R y 2 ] is the damping coefficient, b = d i a g [ w x 2 2 m x , w y 1 2 m y , w y 2 2 m y ] is the stiffness, E = [Edsin(ωdt), −2mcψz x ˙ , −2mcψz x ˙ ]T is the external force matrix; x represents the displacement of drive mode; y1, y2 and Ry1, Ry2, are the displacement and quality factors respectively of sense in-phase and anti-phase mode; mx is drive mode equivalent mass; ψz is input angular velocity; my represents the sense mode quality, which is similar to the Coriolis mass mc; Ed and ωd represent the amplitude and frequency of the excitation drive mode. Through modeling calculations, we conclude that the damping coefficient and stiffness are affected by temperature [11]:
a = A c x n V T 5 / 2 T + 120
b 0.018 Δ T 4.8 × 10 5 Δ T 2
where Acx = 8.68 × 10−9 m·sJ/mol·K1.5 is a coefficient, n and V are parameters that change with the package, and T is temperature. It can be seen that the gyroscope structure has temperature characteristics, and more details can be found in [11].

2.2. Gyro Monitoring System

The working principle of the gyroscope monitoring system is shown in Figure 3. The drive frame shift x(t) is detected by the differential amplifier and detected by the drive sense comb, which is done in the drive loop, thereafter, the AC drive signal VdacSin(ωdt) must delay the signal phase by 90°, the pickup of VdacSin(ωdt) is then performed by a low-pass filter and a full-wave rectifier, and then the corresponding reference voltages Vref and Vdac are used for comparison. Next, the integrator controller outputs a corresponding signal which is used to generate the stimulating force to form the drive mode to superimpose VdacSin(ωdt) with the driving DC signal VDC. The interface of the sensing circuit is the same as the driver circuit and is open loop; two differential amplifiers are used to detect the sensing signals of the left and right masses respectively, and the second differential of the output signals can be used to be the sense mode amplified signal Vstotal. The amplified signal of the sense module is demodulated by VdacSin(ωdt), which generates a sense mode moving signal VOopen through a low-pass filter, which is also a product of sense open loop [35].

3. Algorithms and Models

3.1. Variational Modal Decomposition (VMD)

As an effective signal decomposition algorithm, VMD adopts the non-recursive and variational mode decomposition method, which can effectively improve the modal aliasing phenomenon in empirical mode decomposition (EMD), and has good robustness. VMD can get the optimal result of the variational model through continuous iterative processing, and can obtain the bandwidth and frequency center of each intrinsic mode function (IMF) by adaptively separating the components. Using VMD to decompose complex signals is actually the process of solving the sum of the smallest frequency bands by constructing multiple variation functions, a brief introduction of the VMD is as follows [36,37]:
(1) First, the input signal x(t) is decomposed to obtain k eigenmode function components {uK(t)} = {u1(t), u2(t), …, uk(t)}, indicating k IMF components. Initialize the center frequency of each eigenmode function {wK} = {w1, w2, …, wk}, and then calculate the square norm of the demodulated signal gradient. The bandwidth of each eigenmode function component is estimated, and the expression of the constrained variational model is:
{ min { u k , w k } { k t [ σ ( t ) + j t u k ( t ) ] e j w k t 2 2 } s . t k u k = x ( t )
where t is the partial derivative of the time.
(2) To deal with the optimal solution of the constrained variational problem, the Lagrangian multiplication operator λ(t) and the penalty factor α are proposed, the extended Lagrangian expression is:
L ( { u k } , { w k } , λ ) = α k [ ( σ ( t ) + j t ) × u k ( t ) ] e j w k t 2 2 + x ( t ) k u k ( t ) 2 2 + λ ( t ) , x ( t ) k u k ( t )
in the formula: α is the penalty factor, which is a large enough positive number to ensure the reconstruction accuracy of the signal. λ(t) is a Lagrangian multiplier operator, which can make the constraint condition strict. So as to deal with the above variational problem, the time-frequency transformation is performed on the formula, and then the variables u k n + 1 , ω k n + 1 , λn+1 are updated by the alternating direction multiplier algorithm, where u k n + 1 is the modal function at the (n + 1)th cycle, ω k n + 1 represent the center frequency of the current mode function, λn+1 is the multiplication operator at the (n + 1)th cycle. Then, we can get the solution to this optimization problem:
u k n + 1 ( w ) = f ( w ) i = 1 k u i ( w ) + λ ( w ) 2 1 + 2 α ( w w k ) 2
w k n + 1 = 0 w | u k ( w ) | 2 d w 0 | u k ( w ) | 2 d w
(3) Update λ(w) by Equation (5):
λ n + 1 ( w ) = λ ( w ) + τ ( f ( w ) k u k n + 1 ( w ) )
where τ represents the time constant. If the accuracy requirement is not high, such as in a strong noise environment, λ may not be updated, and τ = 0.
(4) Repeat the above steps iteratively, and if the discriminant Formula (9) is satisfied, the iteration is stopped:
k = 1 K u k n + 1 ( w ) u k n ( w ) 2 2 u k n ( w ) 2 2 < ε
where ε is the discriminant precision, and its value is greater than zero. Thus, k eigenmode functions can be obtained after the iteration stops, and the VMD decomposition is completed.
According to the principle of VMD, the value of the penalty factor α and the number of the decomposition mode k are set before the decomposition, and the decomposition result will have a very large influence due to the different settings of α and k. If k is greater than the expected quantity of decomposition modes, the phenomenon of over-decomposition will take place, but if the quantity of k is too small, under-decomposition will occur. If the quantity of the penalty factor α is larger, the bandwidth value of the modal function will be smaller. Conversely, the smaller the α, the larger the bandwidth value of the modal function, which will greatly affect the effect of the decomposition, consequently, finding the optimal parameter values for k and α is necessary.

3.2. Immune Algorithm Based Particle Swarm Optimization (IPSO)

IPSO is applied in this paper to optimize the parameters of the VMD to improve its adaptability and accuracy. IPSO is the result of particle swarm optimization combined with immune algorithm, and permutation entropy (PE) are applied as the fitness function.

3.2.1. Permutation Entropy (PE)

PE is an algorithm for judging the time series’ degree of complexity, due to its robustness, simplicity and low computing effort, it has received extensive attention. It amplifies the micro-signals in the system and detects very fine information, so it is very sensitive to the signal. In addition, it does not require any model assumptions, the window length and sampling frequency have little effect on the results. It can also be used to detect nonlinearities and non-stationary signals. Here, permutation entropy is the fitness functions in IPSO optimization. The specific process is introduced as follows [38,39]:
Step.1 Reconstruct phase space.
For a series of time {s(k), k = 1, 2, …, j}, by performing phase space reconstruction on it, we can obtain a phase sequence:
Q = [ Q ( 1 ) Q ( t ) Q ( R ) ] = [ s ( 1 ) s ( 1 + ω ) s ( 1 + ( θ 1 ) ω ) s ( t ) s ( t + ω ) s ( t + ( θ 1 ) ω ) s ( R ) s ( R + ω ) s ( R + ( θ 1 ) ω ) ]
where θ represents the embedded dimension, t = 1, 2, …, R, R+(θ − 1)ω = l, Q(t) represents a reconstructed component, the quantity of which is R, and ω represents the delay time.
Step.2 Rearrangement of reconstructed components
The t-th row is selected, and the reconstructed components Q(t) are arranged in ascending order. In reconstructed components, the positions of each element are arranged in a sequence of k1, k2, k3, …, ke, namely:
s ( t + ( k 1 1 ) ω ) s ( t + ( k θ 1 ) ω )
It is easy to know if kp < kq, then:
s ( t + ( k p 1 ) ω ) s ( t + ( k q 1 ) ω )
for any reconstruction component Q(t), we can obtain a series of sequences B(k) = (k1, k2, …, kθ), t = 1, 2, …, r.
Step.3 Calculation and normalization of PE
After regrouping, the probability of each location index series is assumed to be P1, P2, …, Pθ, and then the entropy (PE) is expressed as:
H p ( θ ) = n = 1 θ p k ln p k
It is a time series containing r index positions. After normalization, Hp is:
H p = H p ( θ ) ln θ ! H p [ 0 , 1 ]
After normalization, it is easier to compare the change of the value of the time series, that is, the higher the complexity of the time series, the greater the entropy. In contrast, if the time series is more regular, the value of Hp is smaller.

3.2.2. Immune Algorithm (IA)

Immune algorithm is the promotion of genetic algorithm, which combines the concept of biological immunity with genetic algorithm, can use the information in the problem to be solved selectively and purposefully on the premise of retaining the original excellent characteristics, and effectively restrain the degradation phenomenon in the optimization process. The flow chart is shown in Figure 4 and its main steps are as follows [40,41]:
1. Antigen recognition. The target functions and constraints are used as antigens for recognition. Determine whether such problems have been solved.
2. The initial antibody is produced. That is to get the initial value of the solution. If this kind of problem has been solved, search for early memory cells to generate the initial antibody.
3. Memory unit update. The antibody with high affinity was selected for storage and memory.
4. Antibody inhibition and promotion. The antibody with high affinity was promoted, the probability of passing on to the next generation was high, and the antibody with low affinity was inhibited. At the same time, new groups are generated to keep diversity and prevent single group evolution.
5. Genetic manipulation. After crossover and mutation, the next generation of antibody is produced to ensure that the population evolves in the direction of high adaptability.

3.2.3. PSO with IA

On the basis of immune algorithm, IPSO uses particle swarm optimization to update antibody population. Its flow chart and steps are as follows (Figure 5):
(1). Determine initialization parameters, including particle swarm number, etc. Then, M particles xi (antibodies) and their velocities vi are mapped by logistic regression analysis to form the initial population of particles (antibodies) P0.
(2). Initialize immune memory particles (antibodies), and at the same time, the fitness values of the actual population are calculated.
(3). Determine whether the algorithm meet the optimization requirements. If it meets the optimization requirements, get the optimization result, if not, continue.
(4). Update local and social optimal particles according to the formula:
x i , j ( t + 1 ) = x i , j ( t ) + v i , j ( t + 1 )
v i , j ( t + 1 ) = w v i , j ( t ) + c 1 r 1 [ p i , j x i , j ( t ) ] + c 2 r 2 [ p g , j x i , j ( t ) ]
(5). Generating N new particles (antibodies) by logical mapping
(6). Select some particles (antibodies) to enter new group according to concentration. The probability of generating N+M new particles (antibodies) is calculated by using the percentage of similar antibodies in the population. Select N particles (antibodies) according to the probability to form the population P, and then return to the third step [42,43].

3.3. Sample Entropy (SE)

Sample entropy is an effective metric. Through calculating the possibilities of producing different patterns in sequence, it can measure the regularity and complexity. It has the characteristics of not relying on data length, not including its own data segment comparison, and high precision, it only needs shorter data to get a stable estimate. Next is a brief introduction to it [44]:
Step.1 For a time sequence {u(i), 1 ≤ i ≤ N}, first construct a set of m-dimensional space vectors Y(1), Y(2), …, Y(N − m + 1), Y(i) = {u(i), u(i + 1), …, u(i + m)}, which represents the value of m consecutive y, then calculate the maximum value d[Y(i), Y(j)] of the distance difference of the corresponding element between the vectors Y(i) and Y(j).
d [ Y ( i ) , Y ( j ) ] = max k = 0 , , m 1 ( | y ( i + k ) y ( j + k ) | )
Step.2 For each i(1 ≤ i ≤ N – m + 1), in the case where the allowable deviation is r, count the number of d < r, and calculate the ratio of this number to the total number of distances, denoted as C i m ( r ) = N m ( i ) / ( N m ) , then average all i.
Φ m ( r ) = 1 N m i = 1 N m C i m ( r )
Step.3 Increase m by one, repeat the above steps to get C i m + 1 ( r ) , Φm+1(r), and the sample entropy of the sequence is:
S a m p E n ( m , r ) = lim N { ln [ ϕ m + 1 ( r ) / ϕ m ( r ) ] }
In practice, N is impossible to take ∞, when N takes a finite value, it has:
S a m p E n ( N , m , r ) = ln [ ϕ m + 1 ( r ) / ϕ m ( r ) ]
If the value of SampEn is small, the self-similarity of the sequence is high. If the SampEn is large, the similarity is low and the sequence is complicated.

3.4. BP Adaboost Algorithm

BP is applied as a weak learner, and the Adaboost is employed to adaptively enhance it. The specific process of them is as follows:

3.4.1. Back Propagation Neural Network (BP)

There are two main parts in the process of BP algorithm: the forward propagation of signal and the back propagation of error. The input samples are transferred from the input layer to the hidden layer, and then sent to the output layer after being processed by neurons. If there is an error between the output and the expected result, the error is propagated back to the input layer, the error is distributed to each neuron and the connection weight is modified [45].
If a group of input and a group of targets form a pattern pair, set a total of P pattern pairs. When the P pattern acts, the error function of the output layer is defined as:
E P = 1 2 j = 0 m 1 ( y j p t j p ) 2
where m indicates the quantity of neurons in the output layer, yjp indicates the actual output of the j-th neuron in the output layer under mode P, and tjp is the theoretical output.
For the connection weight wij between any two neurons, according to the gradient descent principle, the correction direction of each wij is E, and the reverse direction of the function gradient is:
Δ w i j = p = 1 P η E p w i j
where η is the step size. After all the samples are input, the weights are corrected according to their total errors. The modification of weights is a process that starts from time to time. The weights of each layer are adjusted through continuous propagation until the degree of error can be accepted. The process of modifying weights is also the process of learning. Generally speaking, the more neurons there are, the more information that can be recognized and memorized by neural network. The prediction model can be built by using neural network. The simple structure of BP is as follows (Figure 6):

3.4.2. Adaptive Boosting (Adaboost)

(1) For a data set T ={(x1,y1), (x2,y2), …, (xn,yn)}, initialize the weight distribution of the training data, and set the output weight of the mth weak learner to D(m) = (wm1, wm2, …, wmN), Wmi = 1/N, i = 1, 2, …, N. At the beginning of the iteration, each training sample has the same weight.
(2) Perform m iterations. Use Gm(x) to represent the learner at the mth iteration, em to denote the error of the current learner, and αm the sum coefficient. Using the training data with the weight distribution Dm, the basic learner Gm is obtained, and the error of Gm(x) on the training set is calculated:
The relative error of each sample is:
e m i = | y i G m ( x i ) | E m
where Em is the maximum error of the mth learner on the training set and Gm(xi) is the predicted value of the mth learner to xi.
The error rate of the mth weak learner is:
e m = i = 1 N w m i e m i
(3) Compute the weak learner’s weight coefficient α:
a k = e m 1 e m
(4) Update and process the weight distribution of training samples, the sample set weight coefficients of the (m + 1)th weak learner are:
w m + 1 , i = w m , i Z m a m 1 e m i
where Z is a generalization factor and its expression is:
Z m = i = 1 N w m i a m 1 e m i
(5) Combine each weak learner. Perform a weighted average of each weak learner to get the final strong learner:
F ( x ) = m = 1 K ( ln 1 a m ) G m ( x )
The core of the Adaboost algorithm is shown in Figure 7. As we can see from the figure, the adaptive enhancement algorithm trains the weak learner based on the samples with weights. At the beginning, the weights of all sample points are the same, and then adjust the weight of the sample based on the data that the weak learner predicts to be erroneous, and increase the weight of the error sample point, use the adjusted weighted sample for the next weak learner’s training, thereby performing a loop until the termination condition is reached, and the loop is stopped. Finally, all weak learners are combined according to the combination strategy, thus forming a strong learner. According to this principle, we can know that after increasing the weights corresponding to the sample points with high prediction error rate, these sample points will be paid attention to in the subsequent trainer training. Therefore, we can obtain the prediction model with the desired accuracy. Because of its simple structure, no screening, and other characteristics, it is not easy to produce an over-fitting phenomenon.

3.5. The Parallel -Model Based on IPSO-VMD and BP-Adaboost

The proposed hybrid algorithm flow chart is shown in Figure 8, followed by a brief introduction to the flow chart:
(1) First, the output signal of the gyroscope and the corresponding temperature value are obtained, after that, the output signal is decomposed by IPSO-VMD, wherein the IPSO is used to search for the optimal VMD parameters. After decomposing, IMFs are obtained.
(2) Then, SE is used to judge each IMF according to the complexity of the sequence, and they are divided into three different components: noise term, mixed term and feature term. The noise term tends to be white noise without any useful component, so it can be removed directly. The mixed term contains both noise and useful information, so SG filter is used to smooth it. For the Feature term, this part is the drift part of the gyroscope affected by the temperature, which is compensated by the temperature prediction method of BP-Adaboost.
(3) Finally, the signal reconstruction of SG filtered mixed term and feature term is carried out, the denoised signal is obtained. Reconstruct the SG filtered mixed term and compensated feature term, and the final result can be obtained.

4. Temperature Experiment

The sample gyroscope and test equipment are shown in Figure 9. There are three printed circuit boards, the first is connected to a fabric chip for processing weak signals, the second is equivalent to a drive cycle device, and the third is composed of an inductive loop. The PCB [46] is placed in a metal casing and wrapped in a rubber mat, the function of the metal housing is to receive the "GND" signal and electromagnetic shielding, the rubber mat prevents external impact and vibration of the PCB and structural chips. The monitoring circuit is located in three PCBs, and the metal pins connect the electrical signals to the mechanical structure. Some circuit temperature compensation methods are employed to improve the temperature performance of the MEMS gyroscope.
Test equipment has power supply (Agilent E3631A, Santa Clara, CA, USA), signal generator (Agilent 33220A), oscilloscope (Agilent DSO7104B), multimeter (Agilent 34401A), temperature oven and turntable power supply, providing ±10 V DC voltage and grounding device. Signal generator output voltage value during test, the oscilloscope observes the phase and amplitude of the signal, the multimeter is used to measure various data of the signal, the temperature oven and the turntable can generate a full temperature environment and can also measure the actual bandwidth of the gyroscope.
The gyroscope was first placed at room temperature and then energized for one hour. In order to ensure that the temperature of the gyroscope is 60 °C, heat the oven to 60 °C for one hour. At the same time, the thermistor is used to display the temperature of the gyroscope.
Data were collected from 60 °C. The temperature of the gyroscope and the temperature of the oven must be equal and stable during data acquisition, so we reduce the temperature of the oven by ten degrees per hour. Finally, after holding at −40 °C for an hour, all work was completed.

5. Experiment Results and Analysis

The test results are shown in Figure 10. The result shows that the temperature change greatly affects the output of the gyroscope, there are a lot of irregular noise in output signal. The output of the dull-mass gyroscope and temperature changes are closely related, it changes by 0.0286 V in the range of 55 °C to −32 °C, and the noise and drift are different at different temperatures so the denoising and temperature drift compensation is necessary.
The signal of gyro is decomposed by IPSO-VMD, IPSO is employed to get the optimal VMD parameters k and α. First, initialize the parameters of IPSO: the range of variable k is [2, 12], the range of variable α is [10000, 20000], the population of particles is 50, the maximum number of iterations is 30, and the inertia weight is 0.8, the learning factor one and two are all 1, check whether the optimal individual becomes better every eight cycles and particle replacement probability is 0.5. PE is used as the fitness function. After processing, the result of the IPSO particle swarm optimization algorithm is shown in Figure 11. From the figure we can see the search results. The picture on the right shows the particle distribution, a black circle represents a particle, the picture on the left shows the values of the two parameters. Obviously, the position corresponding to minimum entropy is obtained, and the corresponding position [8, 12000] is selected as the optimal parameters. That is to say, the optimal decomposition layer number k is 8, the optimal penalty factor α is 12,000, and the best autocorrelation of IMFs can be obtained by setting this way.
Through IPSO-VMD, the original is decomposed into eight IMFs. In Figure 12, we can see that the noise and feature trend are in different dimensions, if we process them one by one, it will be a huge workload and there will be many errors. Therefore, the SE is employed to calculate the sequence complexity and take them into three categories: noise term, mixed term, and feature term, as shown in Figure 13.
Then, parallel processing will be performed. As for the noise term, it contains no useful signal component and tends to be white noise, so it is directly removed. As for the mixed term, this is a mixture of noise and temperature trends because we can’t separate the temperature trend completely from noise. Thus, noise will also become a trend through constant amplification. Therefore, the mixed terms are filtered by SG to retain the effective components. For feature term, this part is caused by temperature, it presents a nonlinear trend of change, so a temperature prediction by BP-Adaboost is applied to compensate them. The processing results are shown in Figure 14.
Figure 15 shows the denoised signal and the original signal, the denoised signal is obtained by reconstructing the filtered mixed term and feature term, it can be seen clearly that the noise has been eliminated very well. Subsequently, by reconstructing the filtered mixed term and the compensated feature term, we get the final compensation signal, as shown in Figure 16.
Finally, the Allan variance is used to measure the signal after model denoising and compensation [47]. The Allan variance is widely used in gyroscope performance analysis as an IEEE-approved standard analysis method. The result is shown in Figure 17, in comparison with the original signal, the angular random walk of the original signal is 0.010095°/h/√Hz, and the angular random walk of the compensated signal is 1.195 × 10−5°/h/√Hz. The bias stability of the original signal is 0.1806°/h, after compensation, the bias stability of the processed signal is 7.17 × 10−4°/h. The comparison results demonstrate that the proposed temperature compensation method based on IPSO-VMD and BP-Adaboost has a good effect. However, there are also shortcomings, for example, it takes a long time in the optimization process, which we will improve in the future research.

6. Conclusions

This paper studies the denoising and compensation of gyro temperature drift. A new temperature error compensation method based on IPSO-VMD and BP-Adaboost is proposed. Firstly, we found that the noise and drift of gyroscope vary with different temperatures, so we need to extract them separately for different processing. Here, IPSO-VMD is applied, and after decomposing, we get a certain amount of IMFs, the IPSO algorithm is employed to search for the optimal VMD parameters to achieve the best decomposition denoising effect. Subsequently, all the IMFs are divided into three categories by SE, the noise term is discarded, and the mixed term is filtered. Through signal reconstruction by adding the feature term, we can get the denoised sequence. Finally, the BP-Adaboost is employed to compensate the feature term, reconstruct the filtered mixed term and compensated feature term, the final compensation sequence is obtained. After that, a simulation experiment shows that the processed signal has excellent index relative to the original output signal, and the angular random walk changes from 0.010095°/h/√Hz to 1.195 × 10−5°/h/√Hz, the bias stability is changed from 0.1806°/h to 7.17 × 10−4°/h. Therefore, the proposed model has a good effect on denoising and compensation for the temperature drift error of the gyroscope.

Author Contributions

H.C., T.M. conceived and designed the experiments; H.C. and C.S. performed the experiments; T.M. and C.S. analyzed the data, and T.M. wrote the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by National Natural Science Foundation of China (No. 51705477, No. 61973281), and Pre-Research Field Foundation of Equipment Development Department of China No. 61405170104. The research is also supported by program for the Top Young Academic Leaders of Higher Learning Institutions of Shanxi, Fund Program for the Scientific Activities of Selected Returned Overseas Professionals in Shanxi Province, Shanxi Province Science Foundation for Youths (No. 201801D221195), Young Academic Leaders of North University of China (No. QX201809), the Weapons and Equipment Joint Fund (No. 6141B021304), Shanxi Province patent promotion and implementation program of Shanxi Province (2019025), Key Research and Development (R&D) Projects of Shanxi Province (201903D111005), and the Fund for Shanxi “1331 Project” Key Subjects Construction.

Conflicts of Interest

The authors declare no conflicts interest.

References

  1. Cao, H.; Xue, R.; Cai, Q.; Gao, J.; Zhao, R.; Shi, Y.; Huang, K.; Shao, X.; Shen, C. Design and Experiment for Dual-mass MEMS Gyroscope Sensing closed-loop System. IEEE Access 2020, 8, 48074–48087. [Google Scholar] [CrossRef]
  2. Cao, H.; Liu, Y.; Kou, Z.; Zhang, Y.; Shao, X.; Gao, J.; Huang, K.; Shi, Y.-B.; Tang, J.; Liu, N.; et al. Design, Fabrication and Experiment of Double U-Beam MEMS Vibration Ring Gyroscope. Micromachines 2019, 10, 186. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Sheng, H.; Zhang, T. MEMS-based low-cost strap-down AHRS research. Meassurement 2015, 59, 63–72. [Google Scholar] [CrossRef]
  4. Shen, C.; Zhang, Y.; Tang, J.; Cao, H.; Liu, J. Dual-optimization for a MEMS-INS/GPS sys-tem during GPS outages based on the cubature Kalman filter and neural networks. Mech. Syst. Signal Process. 2019, 133, 106222. [Google Scholar] [CrossRef]
  5. Guo, H.; Qian, K.; Cai, A.; Tang, J.; Liu, J. Ordered gold nanoparticle arrays on the tip of sil-ver wrinkled structures for single molecule detection. Sens. Actuators B 2019, 300, 126846. [Google Scholar] [CrossRef]
  6. Huang, H.Q.; Shi, R.D.; Zhou, J.; Yang, Y.; Song, R.; Chen, J.F.; Wu, G.Q.; Zhang, J.J. Attitude de-termination method integrating square-root cubature Kalman filter with expectation-maximization for inertial navigation system applied to underwater glider. Rev. Sci. Instrum. 2019, 90, 095001. [Google Scholar] [CrossRef] [Green Version]
  7. Huang, H.Q.; Zhou, J.; Zhang, J.; Yang, Y.; Song, R.; Chen, J.F.; Zhang, J.J. Attitude estimation fusing quasi-Newton and cubature Kalman filtering for inertial navigation system aided with magnetic sen-sors. IEEE Access 2018, 6, 28755–28767. [Google Scholar] [CrossRef]
  8. Huang, H.; Chen, X.; Zhang, B.; Wang, J. High accuracy navigation information estimation for inertial system using the multi-model EKF fusing adams explicit formula applied to underwater gliders. ISA Trans. 2017, 66, 414–424. [Google Scholar] [CrossRef]
  9. Shen, C.; Zhang, Y.; Guo, X.; Chen, X.; Cao, H.; Tang, J.; Li, J.; Liu, J. Seamless GPS/Inertial Navigation System Based on Self-Learning Square-Root Cubature Kalman Filter. IEEE Trans. Ind. Electron. 2020. [Google Scholar] [CrossRef]
  10. Guo, H.; Zhu, Q.; Tang, J.; Nian, F.; Liu, W.; Zhao, R.; Du, F.; Yang, B.; Liu, J. A temperature and humidity synchronization detection method based on microwave coupled-resonator. Sens. Actuators B Chem. 2018, 261, 434–440. [Google Scholar] [CrossRef]
  11. Cao, H.L.; Li, H.S. Investigation of a vacuum packaged MEMS gyroscope architecture’s temperature ro-bustness. Int. J. Appl. Electromagn. Mech. 2013, 41, 495–506. [Google Scholar] [CrossRef]
  12. Chiu, S.-R.; Teng, L.-T.; Chao, J.-W.; Sue, C.-Y.; Lin, C.-H.; Chen, H.-R.; Su, Y.-K. An Integrated Thermal Compensation System for MEMS Inertial Sensors. Sensors 2014, 14, 4290–4311. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Liu, G.; Wang, A.; Jiang, T.; Jiao, J.; Jang, J.-B. Effects of environmental temperature on the performance of a micromachined gyroscope. Microsyst. Technol. 2007, 14, 199–204. [Google Scholar] [CrossRef]
  14. Cao, H.; Li, H.; Liu, J.; Shi, Y.; Tang, J.; Liu, N. An improved interface and noise analysis of a turning fork microgyroscope structure. Mech. Syst. Signal Process. 2016, 70, 1209–1220. [Google Scholar] [CrossRef]
  15. Fu, Q.; Di, X.-P.; Chen, W.-P.; Yin, L.; Liu, X.-W. A temperature characteristic research and compen-sation design for micro-machined gyroscope. Mod. Phys. Lett. B 2017, 31, 1750064. [Google Scholar] [CrossRef]
  16. Yang, B.; Dai, B.; Liu, X.; Xu, L.; Deng, Y.; Wang, X. The on chip temperature compensation and temper-ature control research for the silicon micro-gyroscope. Microsyst. Technol. 2015, 21, 1061–1072. [Google Scholar] [CrossRef]
  17. Cui, M.; Huang, Y.; Wang, W.; Cao, H. MEMS Gyroscope Temperature Compensation Based on Drive Mode Vibration Characteristic Control. Micromachines 2019, 10, 248. [Google Scholar] [CrossRef] [Green Version]
  18. Dominik, J. Three axial low temperature cofired ceramic accelerometer. Microelectron. Int. 2013, 30, 125–133. [Google Scholar]
  19. Yang, W.; Fang, B.; Tang, Y.; Qin, X. A Temperature Compensation Model for Low Cost Quartz Accelerometers and Its Application in Tilt Sensing. Math. Probl. Eng. 2016, 2016, 2950376. [Google Scholar] [CrossRef] [Green Version]
  20. Wen, X.Y.; Zhang, D.S.; Qian, Y.; Li, J.Y.; Fei, N. Improving the peak wavelength detection accuracy of Sn-doped, H-2-loaded FBG high temperature sensors by wavelet filter and Gaussian curve fitting. Sen. Actuators A Phys. 2012, 174, 91–95. [Google Scholar] [CrossRef]
  21. Xia, D.; Kong, L.; Hu, Y.; Ni, P. Silicon microgyroscope temperature prediction and control system based on BP neural network and Fuzzy-PID control method. Meas. Sci. Technol. 2015, 26, 025101. [Google Scholar] [CrossRef]
  22. Zhu, X.-H.; Chu, H.-J.; Shi, Q.; Qiu, A.-P.; Su, Y. Experimental study of compensation for the effect of temperature on a silicon micromachined gyroscope. Proc. Inst. Mech. Eng. Part N J. Nanoeng. Nanosyst. 2008, 222, 49–55. [Google Scholar] [CrossRef]
  23. Shen, C.; Li, J.; Zhang, X.; Tang, J.; Cao, H.; Liu, J. Multi-scale parallel temperature error processing for dual-mass MEMS gyroscope. Sens. Actuators A 2016, 245, 160–168. [Google Scholar] [CrossRef]
  24. Wu, Y.; Shen, C.; Cao, H.; Che, X. Improved Morphological Filter Based on Varia-tional Mode Decomposition for MEMS Gyroscope De-Noising. Micromachines 2018, 5, 17. [Google Scholar]
  25. Cheng, J.; Fang, J.; Wu, W.; Li, J. Temperature drift modeling and compensation of RLG based on PSO tuning SVM. Measurement 2014, 55, 246–254. [Google Scholar] [CrossRef]
  26. Chen, X.; Song, R.; Shen, C.; Zhang, H. Application of a genetic algorithm Elman network in temperature drift modeling for a fiber-optic gyroscope. Appl. Opt. 2014, 53, 6043–6050. [Google Scholar] [CrossRef] [Green Version]
  27. An, X.; Tian, Y.; Zeng, H. Vibration signal analysis of a hydropower unit based on noise-assisted multivariate empirical mode decomposition. Int. J. Acoust. Vib. 2018, 23, 448–453. [Google Scholar] [CrossRef]
  28. Dragomiretskiy, K.; Zosso, D. Variational Mode Decomposition. IEEE Trans. Signal Process. 2013, 62, 531–544. [Google Scholar] [CrossRef]
  29. Jiang, F.; Zhu, Z.; Li, W.; Xia, S.; Zhou, G. Lifting load monitoring of mine hoist through vibration signal analysis with variational mode decomposition. J. Vibroeng. 2017, 19, 6021–6035. [Google Scholar] [CrossRef]
  30. Li, Z.; Jiang, Y.; Hu, C.; Peng, Z. Difference equation based empirical mode decomposition with application to separation enhancement of multi-fault vibration signals. J. Differ. Equ. Appl. 2016, 23, 1–11. [Google Scholar] [CrossRef]
  31. Ma, T.; Li, Z.; Cao, H.; Liu, N.; Wang, Z. A Parallel Denoising Model for Dual-Mass MEMS Gyroscope Based on PE-ITD and SA-ELM. IEEE Access 2019, 7, 169979–169991. [Google Scholar] [CrossRef]
  32. Freund, Y.; Schapire, R.E. A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting. J. Comput. Syst. Sci. 1997, 55, 119–139. [Google Scholar] [CrossRef] [Green Version]
  33. Drucker, H. Improving Regressors Using Boosting Techniques. In Proceedings of the Fourteenth International Conference on Machine Learning, Nashville, NY, USA, 8–12 July 1997. [Google Scholar]
  34. Utkin, L.; Wiencierz, A. Improving over-fitting in ensemble regression by imprecise probabilities. Inf. Sci. 2015, 317, 315–328. [Google Scholar] [CrossRef]
  35. Cao, H.; Li, H.; Sheng, X.; Wang, S.; Yang, B.; Huang, L. A Novel Temperature Compensation Method for a MEMS Gyroscope Oriented on a Periphery Circuit. Int. J. Adv. Robot. Syst. 2013, 10, 327. [Google Scholar] [CrossRef] [Green Version]
  36. Venkitaraman, A.; Chatterjee, S.; Handel, P. On Hilbert transform, analytic signal, and modulation analysis for signals over graphs. Signal Process. 2019, 156, 106–115. [Google Scholar] [CrossRef]
  37. Wang, Z.; He, G.; Du, W.; Zhou, J.; Han, X.; Wang, J.; He, H.; Guo, X.; Wang, J.; Kou, Y. Application of Parameter Optimized Variational Mode Decomposition Method in Fault Diagnosis of Gearbox. IEEE Access 2019, 7, 44871–44882. [Google Scholar] [CrossRef]
  38. Bandt, C.; Pompe, B. Permutation Entropy: A Natural Complexity Measure for Time Series. Phys. Rev. Lett. 2002, 88, 174102. [Google Scholar] [CrossRef]
  39. Zanin, M.; Zunino, L.; Rosso, O.A.; Papo, D. Permutation Entropy and Its Main Biomedical and Econophysics Applications: A Review. Entropy 2012, 14, 1553–1577. [Google Scholar] [CrossRef]
  40. Chen, J.; Mahfouf, M. A Population Adaptive Based Immune Algorithm for Solving Mul-ti-objective Optimization Problems. In Proceedings of the International Conference on Artificial Immune Systems, Santos, Brazil, 26–29 August 2006. [Google Scholar]
  41. Pan, G.; Li, K.; Ouyang, A.; Li, K. Hybrid immune algorithm based on greedy algorithm and delete-cross operator for solving TSP. Soft Comput. 2014, 20, 555–566. [Google Scholar] [CrossRef]
  42. Del Valle, Y.; Venayagamoorthy, G.; Mohagheghi, S.; Hernandez, J.-C.; Harley, R.G. Particle Swarm Optimization: Basic Concepts, Variants and Applications in Power Systems. IEEE Trans. Evol. Comput. 2008, 12, 171–195. [Google Scholar] [CrossRef]
  43. Li, A.-Q.; Wang, L.; Li, J.; Ji, C. Application of immune algorithm-based particle swarm optimization for optimized load distribution among cascade hydropower stations. Comput. Math. Appl. 2009, 57, 1785–1791. [Google Scholar] [CrossRef] [Green Version]
  44. Richman, J.S.; Moorman, J.R. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol. Circ. Physiol. 2000, 278, H2039–H2049. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  45. Zhang, N.; Ma, Y.; Zhang, Q. Prediction of sea ice evolution in Liaodong Bay based on a back-propagation neural network model. Cold Reg. Sci. Technol. 2018, 145, 65–75. [Google Scholar] [CrossRef]
  46. Cao, H.; Liu, Y.; Zhang, Y.; Shao, X.; Gao, J.; Huang, K.; Shi, Y.; Tang, J.; Liu, N.; Liu, J. Design and Experiment of Dual-Mass MEMS Gyroscope Sense Closed System Based on Bipole Compensation Method. IEEE Access 2019, 7, 49111–49124. [Google Scholar] [CrossRef]
  47. Wang, L.; Zhang, C.; Lin, T.; Li, X.; Wang, T. Characterization of a fiber optic gyroscope in a measurement while drilling system with the dynamic Allan variance. Measurement 2015, 75, 263–272. [Google Scholar] [CrossRef]
Figure 1. (a) Schematic and part photos of dual-mass gyroscope structure; (b) Simulation of drive anti-phase mode; (c) Simulation of sense anti-phase mode.
Figure 1. (a) Schematic and part photos of dual-mass gyroscope structure; (b) Simulation of drive anti-phase mode; (c) Simulation of sense anti-phase mode.
Electronics 09 00499 g001
Figure 2. The gyroscope’s working modes. (a) Drive mode. (b) Sense mode with Coriolis force. (c) Sense mode with axial acceleration.
Figure 2. The gyroscope’s working modes. (a) Drive mode. (b) Sense mode with Coriolis force. (c) Sense mode with axial acceleration.
Electronics 09 00499 g002
Figure 3. Gyro system schematic diagram.
Figure 3. Gyro system schematic diagram.
Electronics 09 00499 g003
Figure 4. Immune algorithm flowchart.
Figure 4. Immune algorithm flowchart.
Electronics 09 00499 g004
Figure 5. The flow chart of Immune based PSO.
Figure 5. The flow chart of Immune based PSO.
Electronics 09 00499 g005
Figure 6. BP neural network structure.
Figure 6. BP neural network structure.
Electronics 09 00499 g006
Figure 7. Adaboost algorithm flow chart.
Figure 7. Adaboost algorithm flow chart.
Electronics 09 00499 g007
Figure 8. Temperature compensation model based on IPSO-VMD and BP-Adaboost.
Figure 8. Temperature compensation model based on IPSO-VMD and BP-Adaboost.
Electronics 09 00499 g008
Figure 9. Temperature experiment device.
Figure 9. Temperature experiment device.
Electronics 09 00499 g009
Figure 10. Temperature and gyroscope output data obtained from temperature experiments.
Figure 10. Temperature and gyroscope output data obtained from temperature experiments.
Electronics 09 00499 g010
Figure 11. Optimal particle value and particle distribution in ISPO search.
Figure 11. Optimal particle value and particle distribution in ISPO search.
Electronics 09 00499 g011
Figure 12. Decomposition results of Improved VMD.
Figure 12. Decomposition results of Improved VMD.
Electronics 09 00499 g012
Figure 13. The calculation and classification results by SE.
Figure 13. The calculation and classification results by SE.
Electronics 09 00499 g013
Figure 14. Results of parallel processing by IPSO-VMD and BP-Adaboost model.
Figure 14. Results of parallel processing by IPSO-VMD and BP-Adaboost model.
Electronics 09 00499 g014
Figure 15. Comparison between Original signal and Denoising signal.
Figure 15. Comparison between Original signal and Denoising signal.
Electronics 09 00499 g015
Figure 16. The compensation signal after reconstructing.
Figure 16. The compensation signal after reconstructing.
Electronics 09 00499 g016
Figure 17. Allan variance curve comparison.
Figure 17. Allan variance curve comparison.
Electronics 09 00499 g017

Share and Cite

MDPI and ACS Style

Ma, T.; Cao, H.; Shen, C. A Temperature Error Parallel Processing Model for MEMS Gyroscope based on a Novel Fusion Algorithm. Electronics 2020, 9, 499. https://doi.org/10.3390/electronics9030499

AMA Style

Ma T, Cao H, Shen C. A Temperature Error Parallel Processing Model for MEMS Gyroscope based on a Novel Fusion Algorithm. Electronics. 2020; 9(3):499. https://doi.org/10.3390/electronics9030499

Chicago/Turabian Style

Ma, Tiancheng, Huiliang Cao, and Chong Shen. 2020. "A Temperature Error Parallel Processing Model for MEMS Gyroscope based on a Novel Fusion Algorithm" Electronics 9, no. 3: 499. https://doi.org/10.3390/electronics9030499

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