Next Article in Journal
Research on Energy Dissipation Mechanism of Cobweb-like Disk Resonator Gyroscope
Next Article in Special Issue
Integrating Multiple Hierarchical Parameters to Achieve the Self-Compensation of Scale Factor in a Micro-Electromechanical System Gyroscope
Previous Article in Journal
Analysis of the Radial Force of a Piezoelectric Actuator with Interdigitated Spiral Electrodes
Previous Article in Special Issue
Signal Denoising Method Based on EEMD and SSA Processing for MEMS Vector Hydrophones
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multi-Frame Vibration MEMS Gyroscope Temperature Compensation Based on Combined GWO-VMD-TCN-LSTM Algorithm

1
School of Engineer, The Hong Kong University of Science and Technology, Hong Kong, China
2
School of Instrument and Electronics, North University of China, Taiyuan 030051, China
3
Chongqing Institute of Microelectronics and Microsystems, Beijing Institute of Technology, Chongqing 401332, China
4
Engineering Research Center of Integrated Acousto-Opto-Electronic Microsystems, Ministry of Education of China, Beijing 100816, China
*
Authors to whom correspondence should be addressed.
Micromachines 2024, 15(11), 1379; https://doi.org/10.3390/mi15111379
Submission received: 17 October 2024 / Revised: 13 November 2024 / Accepted: 14 November 2024 / Published: 15 November 2024
(This article belongs to the Special Issue MEMS Sensors and Actuators: Design, Fabrication and Applications)

Abstract

:
This paper presents a temperature compensation model for the Multi-Frame Vibration MEMS Gyroscope (DMFVMG) based on Grey Wolf Optimization Variational Mode Decomposition (GWO-VMD) for denoising and a combination of the Temporal Convolutional Network (TCN) and the Long Short-Term Memory (LSTM) network for temperature drift prediction. Initially, the gyroscope output signal was denoised using GWO-VMD, retaining the useful signal components and eliminating noise. Subsequently, the denoised signal was utilized to predict temperature drift using the TCN-LSTM model. The experimental results demonstrate that the compensation model significantly enhanced the gyroscope’s performance across various temperatures, reducing the rate random wander from 102.929°/h/√Hz to 17.6903°/h/√Hz and the bias instability from 63.70°/h to 1.38°/h, with reductions of 82.81% and 97.83%, respectively. This study validates the effectiveness and superiority of the proposed temperature compensation model.

1. Introduction

MEMS gyroscopes play a key role in modern navigation and control systems. These devices are favored for their high reliability, low interference and energy efficiency. They measure angular velocity by accurately transmitting vibration signals in their drive and sense modes. Nevertheless, a non-negligible issue is that the accuracy of MEMS gyroscopes can be significantly degraded by fluctuations in ambient temperature, which may affect their mission-critical applications. Therefore, the development of effective temperature compensation strategies is essential to ensure the performance of these devices.
In the research of the temperature compensation of the MEMS gyroscope, scholars have carried out extensive research. The main research directions can be divided into two main categories: hardware enhancement and software algorithm optimization. Hardware enhancement methods improve the gyroscope’s adaptability to temperature changes by improving its physical structure and circuit design. For example, in [1,2], Shen et al. enhanced the hardware performance by adjusting the structure of the silicon-based materials. Although this approach can theoretically enhance performance, it is usually accompanied by a higher cost and a complex manufacturing process.
Software algorithm optimization, on the other hand, uses a computer program to adjust the output of the gyroscope to temperature changes. This typically involves two steps: signal denoising and temperature drift modeling. For signal de-noising, researchers have used a variety of techniques, including serial and parallel processing. Serial processing removes noise through a filtering algorithm and then applies temperature drift modeling for compensation. Li et al. achieved temperature compensation and noise suppression by integrating an adaptive sliding window (ASW)-based Kalman filter (KF) and a statistical calibration filter (SCF) for a dual U-beam vibrating ring-based gyroscope [3]. However, this approach may affect the stability of the static drift model. Parallel processing, on the other hand, involves separating the output signals at different scales, filtering the signals at each scale separately and finally recombining them, which better preserves the accuracy of the drift model.
In signal decomposition techniques, Empirical Modal Decomposition (EMD), Ensemble Empirical Modal Decomposition (EEMD) and Variational Modal Decomposition (VMD) are a few of the common methods [4,5,6,7]. VMD is favored for its fast convergence speed and good decomposition results [8]. VMD incorporates mechanisms to mitigate modal aliasing by regularizing the bandwidth or frequency range of modal functions, enhancing decomposition accuracy and robustness. In comparison, EMD, while adept at handling nonlinear and non-stationary signals, lacks a solid mathematical foundation, is noise-sensitive and is prone to edge effects. VMD’s mathematical optimization and parameter tuning offer superior noise resistance and aliasing suppression. By using VMD with optimization algorithms for optimal decomposition and the reconstruction of signals, researchers are able to decompose signals into noise, mixed signals and characteristic signals and classify these signals using Pearson’s correlation coefficient. Pearson’s correlation coefficient is a statistic that measures the strength of a linear relationship between two variables. Its value is between −1 and 1 and can be effectively used for signal correlation analysis [9]. Therefore, the researcher used the optimized VMD to denoise and reconstruct the signals.
After obtaining the denoised signal, it is crucial to build a highly accurate drift prediction model. This model is used to predict the output signal of the MEMS gyroscope and, ultimately, the predicted value is utilized for temperature compensation. Therefore, the accuracy of the drift prediction model largely determines the effectiveness of temperature compensation. It has been shown that the accuracy of drift prediction can be significantly improved by using deep learning methods such as Long Short-Term Memory (LSTMs) networks combined with Deep Neural Networks (DNNs). This approach effectively improves the temperature compensation performance of gyroscopes by analyzing multiple environmental factors to build a more accurate prediction model. Zhang et al. [10] proposed a hybrid algorithm for temperature compensation based on Improved Adaptive Noise Fully Integrated Empirical Mode Decomposition (ICEEMDAN), Sample Entropy, Peak Time–Frequency Filtering, Non-Dominated Sorting Genetic Algorithm II (NSGA II) and Extreme Learning Machine. Li et al. [11] developed a hybrid algorithm for temperature drift prediction in a multi-input single-output temperature model utilizing an Elman neural network. However, the algorithm exhibits a relatively slow convergence speed. To this end, we propose a model based on a time convolution network (TCN) and a Long Short-Term Memory (LSTM) network (which is inspired by the lithium battery charge state estimation method proposed by Hu et al. [12]), utilizing the TCN for extracting higher level spatial features in the multivariate and the LSTM for capturing long term dependencies from time-series data. The TCN-LSTM model is capable of learning the gyroscopic drift patterns under different temperature conditions and making highly accurate predictions, thereby improving the overall performance and reliability of the gyroscope.

2. Multi-Frame Vibration MEMS Gyroscope

2.1. DMFVMG Structure Design and Working Principle

In this paper, we utilized a Z-axis decoupled multi-frame vibrating MEMS gyroscope (DMFVMG), whose structure is depicted in Figure 1. Initially, the decoupling mechanism was employed to organize the sensing frame, Coriolis frame and driving frame through the arrangement of inner, middle and outer frames. Specifically, the outer frame served as the driving mass along the x-axis, while the inner frame functioned as the sensing mass. The middle frame, acting as a Coriolis mass block, could move in conjunction with either the outer or inner frame. The outer and middle frames were interconnected via a crab foot beam. Vertical comb capacitors were used for the drive and drive detection combs and transverse comb capacitors were used for the detection combs. The entire structure was held up by flexible beams and hung from the substrate. The outer frame, along with the middle frame, linked to it via anchor points, was supported and suspended by four angular flexible beams. When an electrostatic driving force was applied, both the outer and middle frames oscillated along the x-axis in accordance with the drive frequency. Meanwhile, the inner frame, which was connected to two anchor points and the middle frame through flexible beams [13,14], remained responsive to these movements. The operational principle of the sensor could be broken down into four stages:
  • The outer frame is actuated by electrostatic forces, causing it to move along the X-axis;
  • The intermediate frame is propelled along the X-axis by the impetus of the outer frame, aligning with the initial segment;
  • When a specific angular velocity is applied around the Z-axis, the middle frame undergoes elliptical motion in the x-o-y plane due to the combined effects of the driving force and Coriolis force;
  • The inner frame and detection comb vibrate in the y-axis direction, with the amplitude of vibration being proportional to the input angular rate.

2.2. DMFVMG Structure Mode Simulation

Figure 2 displays the outcomes of the modeling and simulation conducted using ANSYS 19.0 (ANSYS, Inc., Southpointe, PA, USA) finite element analysis software. Specifically, it shows the induction mode (first mode) and drive mode (second mode). In the induction mode, both the inner and middle frames moved along the induction axis. Conversely, in the drive mode, the outer and middle frames moved in the drive direction, while the inner frame remained stationary. This demonstrates the effective functioning of the coupling structure. By examining Figure 2 and Table 1, it is evident that the resonance frequencies for the induction and drive modes were 10,094 Hz and 10,162 Hz, respectively, with a crossover frequency of 68 Hz. This signifies that the structure possessed high mechanical sensitivity (a lower crossover frequency corresponds to better mechanical sensitivity) and fulfilled the gyroscope’s bandwidth requirements. The frequency was sufficiently high to satisfy the gyroscope’s need for resistance to low-frequency vibrations. Furthermore, based on the frequency distribution, the crossover frequency between the lowest-order interference mode (3rd order mode at 14,986 Hz) and the working mode was 4824 Hz, indicating that the interference mode had minimal impact on the working mode [15,16].

2.3. Work of DMFVMG

Figure 3 illustrates the schematic representation of the detection mechanism within a three-mass MEMS gyroscope. The system is primarily composed of two components: a drive closed-loop subsystem (enclosed in blue in Figure 3) and a sense open-loop subsystem (highlighted in yellow in Figure 3). Within the drive closed-loop subsystem, the drive signal is initially captured by the drive sensing comb. Subsequently, it is enhanced by a differential amplifier. Following amplification, the signal undergoes a phase shift equivalent to a quarter of the wavelength, facilitated by a phase delay unit, to synchronize with the drive AC signal, denoted as Vdacsin(ωdt). Next, the signal undergoes envelope detection through a full-wave rectification and low-pass filtering process. Once filtered, it is fed into a voltage comparator, which then evaluates it against a predefined reference voltage, Vref. The resulting output signal is directed to the drive closed-loop PI (Proportional–Integral) controller, which in turn produces a control signal. This control signal is then modulated using the sinusoidal modulating voltage Vdacsin(ωdt). Following modulation, it is combined with the DC voltage VDC and supplied to the excitation drive circuit. Within the induction open-loop subsystem, the Coriolis mass block’s motion is sensed and its signal is processed by a differential detection amplifier followed by a proportional amplifier, resulting in the signal Vs. This signal Vs is then demodulated using the modulating voltage Vdacsin(ωdt), yielding the demodulated signal Vdem. Subsequently, Vdem is filtered by a low-pass filter to generate the inductive open-loop output signal Vo.

2.4. Temperature Effects of DMFVMG

MEMS gyroscopes, being mechanical structures, are susceptible to certain environmental factors, particularly temperature variations. Changes in temperature can considerably influence the material properties, which often exhibit a degree of sensitivity to thermal alterations. This thermal sensitivity may result in alterations to specific response physical quantities that are pivotal to the sensing process or outcomes. Hence, it is imperative to carefully consider the impact of ambient temperature on the performance and usability of DMFVMG.
The influence of temperature on the performance of MEMS gyroscopes has been addressed in the existing literature. We examined several research studies concerning gyroscopes in environments with temperature fluctuations and discovered that most researchers have adequately focused on the temperature properties of materials as the primary factor contributing to performance variations. Cao et al. examined the operational performance of MEMS gyroscopes within a temperature range of 313.15 K to 333.15 K and proposed techniques to compensate for device bias and scale factor. Their test results indicated that the scale factor is directly proportional to the resonator amplitude and accelerometer loop gain and inversely proportional to the frequency difference between the two critical operating modes. Chandradip et al. introduced a series of methods for simulating and analyzing the behavior of vibrating microgyroscopes at different temperatures, considering two key parameters: Young’s modulus and the damping factor. They presented simulation results that highlight the temperature-dependent properties of MEMS device operation. Another study offered a comprehensive analysis of MEMS gyroscope performance and the impact of temperature on their performance and usability. Xia et al. argue in their paper that as the temperature increases, the resonant frequency and quality factor of the device decrease. Fang et al. took into account the Seebeck effect and discussed the variation in Young’s modulus due to temperature changes [17,18,19,20].

3. Algorithms and Models

3.1. Variational Mode Decomposition (VMD)

Variational Mode Decomposition (VMD), introduced by K. Dragomiretskiy and colleagues, is a sophisticated adaptive signal processing technique. This method iteratively seeks the optimal solution for variational modes, simultaneously refining the mode functions and their corresponding central frequencies. Consequently, it yields several Intrinsic Mode Functions (IMFs) that encompass a specific broadband spectrum. In our study, we employed VMD to decompose the gyroscope output signal into multiple IMFs, each capturing distinct frequency bands within the signal. This approach allowed for a more nuanced analysis of the signal’s underlying components [21,22].
The essence of Variational Mode Decomposition (VMD) lies in formulating and solving a variational problem. The procedure is primarily dictated by two key limitations: on one hand, the objective is to reduce the total bandwidth of the central frequencies for each modal component and on the other hand, it is necessary to ensure that the aggregate of all the modal components reconstructs the original signal. Assuming that the original signal can be broken down into separate components, the variational formulas that include the lambda parameter constraint are detailed below:
min u k ω k k = 1 K t ( δ ( t ) + j π t ) u k t e j ω k t 2 2 s . t . k = 1 K u k = f
Here, K represents the total count of the modal components that are to be separated within the decomposition process and the notation {uk(t)} refers to the Intrinsic Mode Function (IMF) resulting from the decomposition process, whereas δ(t) signifies the Dirac delta function.
By introducing the Lagrange multiplier, represented by λ, the constrained variational problem in Equation (1) can be seamlessly converted into an unconstrained problem. This transformation simplifies the optimization process and leads to the derivation of the following expressions:
L u k , ω k , λ = L 1 + L 2
L 1 = α k = 1 K t δ ( t ) + j π t u k t e j ω k t 2 2
L 2 = f ( t ) k = 1 K u k ( t ) 2 2 + λ ( t ) , f ( t ) k = 1 K u k ( t )
where α is a quadratic penalty factor to ensure the signal reconstruction accuracy.
Equation (2) is resolved through the application of the Alternating Direction Method of Multipliers (ADMM), an algorithm designed for optimization problems with coupled constraints. In the iterative solution process, the Intrinsic Mode Functions uk, the central frequencies ωk and the Lagrange multiplier λ are updated via Equations (5), (6) and (7), respectively.
u ^ k n + 1 ( ω ) f ( ω ) i = 1 , i < k K u ^ i n + 1 ( ω ) i = 1 , i > k K u ^ i n ( ω ) + λ ^ n ( ω ) / 2 1 + 2 α ( ω ω k n ) 2
ω k n + 1 0 ω u ^ k n + 1 ( ω ) 2 d ω 0 u ^ k n + 1 ( ω ) 2 d ω
λ ^ n + 1 ( ω ) λ ^ n ( ω ) + τ ( f ^ ( ω ) k u ^ k n + 1 ( ω ) )
The parameter τ represents the noise threshold and it influences the accuracy of the signal’s decomposition process. The symbols f ^ , u ^ and λ ^ correspond to the Fourier transforms of the variables f , u and λ, respectively.
The iterative process will continue until Equation (8) is satisfied.
k u ^ k n + 1 u ^ k n 2 2 / u ^ k n 2 2 < ε
The symbol ε is the set accuracy.
Upon the completion of the iterative process, the full set of intrinsic mode functions (IMFs) for the gyroscope’s original signal was successfully retrieved.

3.2. Grey Wolf Optimization Variational Mode Decomposition (GWO-VMD) Algorithm’s Digital Signal Denoising

The Grey Wolf Optimization (GWO) algorithm achieves optimization by simulating the predatory behavior of gray wolf packs, based on the mechanism of wolf pack group collaboration. The principle of the Grey Wolf Optimization algorithm is as follows:
  • In the α-tier wolf pack, the leader in the population is responsible for leading the entire wolf pack in hunting the prey, i.e., the optimal solution in the optimized algorithm;
  • In the β-tier wolf pack, responsible for assisting the α-layer wolf pack, the suboptimal solution is in the optimized algorithm;
  • δ tier wolves follow the orders and decisions of α and β and are responsible for scouting, sentry duty, etc. Poorly adapted α and β are demoted to δ;
  • ω-layer wolves update their position around α, β or δ.
GWO mimics the behavior of a wolf pack in which the leader (α), the second leader (β) and the follower (δ) search for prey and is used to solve a variety of complex optimization problems. VMD separates the different frequency components of a signal by minimizing the residual energy and is commonly used in signal processing, image analysis and other fields. When the two are combined, GWO-VMD, Grey Wolf Optimization, is used to optimize the process of VMD. Specifically, in digital signal denoising tasks, GWO can help to find the optimal combination of the VMD parameters, such as the number of fundamental frequencies, the window size, etc., in order to maximize the extraction of useful information from the signal and to reduce the effect of noise. The advantage of this approach is that it can adaptively process the signal and does not require excessive a priori knowledge of the signal characteristics.

3.3. TCN-LSTM Model

We used a TCN-LSTM model combining Temporal Convolutional Networks (TCNs) and Long Short-Term Memory Networks (LSTMs) for time-series prediction. Figure 4 illustrates the conceptual framework of the integrated gyroscope temperature drift signal forecasting model. The subsequent steps outline the process of developing and refining this model.
  • First, we used a TCN layer to extract the features from the time-series data. The TCN processed the data through a series of convolutional layers, each of which captured patterns over different time scales;
  • Next, we took the output of the TCN as the input to the LSTM layer and utilized the recursive nature of the LSTM layer to capture long-term dependencies;
  • When training the TCN-LSTM model, we needed to choose the appropriate network structure and hyperparameters. This included determining the number of layers and the number of units per layer for the TCN layer and the number of hidden units for the LSTM layer. We could evaluate the performance of the model under different configurations and chose the best model structure through methods such as cross-validation;
  • Ultimately, we input the temperature data of the gyroscope that required compensation into the TCN-LSTM model for evaluation, thereby deriving the anticipated output signal of the MEMS gyroscope [23,24].

3.3.1. Temporal Convolutional Networks (TCNs)

The TCN is a deep learning model for sequence prediction that processes time-series data by using a one-dimensional convolutional layer. The TCN is particularly well-suited for capturing long-term dependencies because it utilizes dilation convolution (also known as null convolution) to increase the receptive field of the convolutional layer without adding additional parameters. This structure allows TCNs to process data efficiently in parallel and avoids the problem of gradient vanishing found in traditional recurrent neural networks. Another key feature of TCNs is causal convolution, which ensures that the model’s outputs are only dependent on previous time steps, fulfilling the causality requirement in time-series analysis [25,26].

3.3.2. Long Short-Term Memory (LSTM)

LSTM is an advanced recurrent neural network (RNN) that solves the gradient vanishing problem of traditional RNNs when dealing with long sequences by introducing a complex gating mechanism. LSTM contains an input gate, a forgetting gate and an output gate, which control the flow of information, allowing the network to keep or forget information in a cellular state. This design allows the LSTM to capture long-term dependencies in time-series data while ignoring unimportant information.

3.4. Compensation Model Based on GWO-VMD Denoising and TCN-LSTM Prediction

Figure 5 depicts the schematic representation of the model for compensating the temperature-induced drift in gyroscopes. The process begins with the decomposition and subsequent reconstruction of the drift signal, employing the GWO-VMD technique. During this phase, the feature components of the signal are retained, while the noise components are eliminated, resulting in a purified signal. This cleaned signal is then input into the TCN-LSTM hybrid forecasting model to refine its predictive capabilities. The final step involves subtracting the model’s predicted output from the original gyroscope drift signal, yielding the compensation signal. Through these steps, the model for temperature compensation in gyroscopes is successfully constructed.

4. Experimental Test

In order to validate the necessity of the GWO-VMD-based TCN-LSTM temperature compensation model, we conducted a temperature experiment to evaluate the temperature response characteristics of the DMFVMG. Figure 6 illustrates the experimental arrangement and the construction of the gyroscope. In our experiments, we employed a DMFVMG characterized by the specifications of ±300°/s for its range, −19.06 mV/°/s for the scale factor and an intercept of 95.43 mV. Additionally, a precision detection circuit was meticulously integrated into its internal PCB. The circuit interfaced with external components via three dedicated data lines. One of these lines facilitated the connection between the gyroscope’s weak signal interface and the chip architecture. The remaining two lines were designated for linking the gyroscope’s sensing and actuation circuits, respectively. To mitigate the effects of the ambient humidity on the gyroscope’s operational performance, the device had been encapsulated in rubber as a protective measure. In addition, given the lightweight nature of the DMFVMG and its sensitivity to shock and vibration, electrical tape was used to secure it to ensure stability during the experiment.
Over the course of this experiment, we utilized a laptop computer (Dell Inc., Round Rock, TX, USA), a multimeter (Agilent Technologies, Inc., Santa Clara, CA, USA), a power supply unit (GW Instek, Taipei, Taiwan) and a temperature-regulated oven (UNIQUE Industries, Osaka, Japan) as our primary equipment [27]. Initially, we powered the gyroscope for a duration of 90 min at ambient temperature. Concurrently, the temperature-regulated oven was set to cool to 40 °C and was allowed to stabilize at this temperature for 45 min.
For our studies confirming the importance of a temperature-adjusted model, we evaluated the DMFVMG over a temperature spectrum extending from 40 °C to 100 °C, gathering data at 20 °C intervals. To ensure precise temperature synchronization between the gyroscope and the temperature control box, as well as to maintain the stability of the gyroscope’s drift signal, we allowed the gyroscope to remain at each fixed temperature point for approximately 30 min. Throughout this period, continuous data acquisition was performed to guarantee that the output data accurately represented the gyroscope’s performance across the various temperature conditions. To mitigate the impact of random errors on our experimental outcomes, we conducted five sets of temperature experiments. A comparative analysis revealed a high degree of consistency among the collected data. Consequently, we selected two of these datasets for further analysis and processing: one set for model training (as depicted in Figure 7a) and another for model testing (as shown in Figure 7b).

5. Experiment Analysis

5.1. Result

The GWO-VMD method was implemented in the decomposition process of the gyroscope output signal, successfully breaking down the complex signal into seven intrinsic modal functions (IMF1 to IMF7). These IMF components represent different frequency bands of the signal: the low-frequency components predominantly reflect the temperature drift characteristics of the gyroscope, while the high-frequency components are primarily indicative of noise. As illustrated in Figure 8, the application of GWO-VMD enables us to distinctly identify and isolate the critical factors that influence measurement accuracy.
In the subsequent processing of the Intrinsic Modal Functions (IMFs), our objective was to preserve the feature terms that accurately represent the true physical behavior of the gyroscope while effectively filtering out the noise terms that are intermingled with the signal. This critical step is essential for enhancing signal quality and diminishing the impact of errors. Ultimately, by reconstructing the filtered IMFs, we derived the denoised reconstructed signal. This denoising procedure not only markedly enhanced the signal’s clarity but also substantially boosted its resilience to external disturbances, such as temperature fluctuations. Visual comparisons before and after denoising, as depicted in Figure 9, corroborated the effectiveness and practicality of the method proposed in this paper.
Based on the temperature–output relationship observed in the gyroscope’s temperature experiments, it has been determined that the DMFVMG exhibits distinct trends at various temperature levels. This relationship between temperature and output is highly nonlinear and irregular, indicating that the output cannot be solely mapped from the temperature dimension. To address this, this paper introduced the rate of temperature change as an additional input variable. This established a dual-input single-output mapping relationship, which enhanced the precision of the compensation prediction.
The two-dimensional temperature sequences and temperature feature terms constitute the training dataset for the compensation model. They are utilized to train the neural network and to develop a specific temperature-drift input-output mapping relationship tailored to the DMFVMG. After defining the training dataset, the TCN-LSTM neural network model undergoes training. Following this, the temperature and its rate of change from the test dataset are fed into the fine-tuned TCN-LSTM model to produce the predicted values for the test dataset. The original signals are then adjusted by subtracting these predicted values, yielding the output of the offline compensated signals as depicted in Figure 10. It is evident that temperature compensation is highly effective.
Furthermore, to demonstrate the effectiveness of the TCN-LSTM prediction model, we conducted a comparative analysis with several standalone predictive models, including the LSTM network, the TCN and the Backpropagation(BP) neural network and traditional polynomial fitting methods, specifically using a sixth-degree polynomial. To quantitatively evaluate the performance of the LSTM network, the TCN, the BP neural network, polynomial fitting and the TCN-LSTM models, we computed the prediction error for each model by comparing their predicted values with the actual values, as detailed in Table 2. The data in the table clearly indicates that the TCN-LSTM model outperformed the others in terms of prediction accuracy. This result underscores the advantages of our model for temperature compensation in gyroscopes.

5.2. Analysis

In this study, we employed the Allan ANOVA method to quantitatively assess both the raw signals from the gyroscope test setup and the output signals following compensation by the various algorithms. This analysis enabled us to extract the angular velocity random wander and zero-bias instability data for the original signal, as well as for the signals that underwent processing through the different compensation algorithms. The results are summarized in Table 3.
The analysis results show in Figure 11 that the uncompensated raw signal had an angular velocity random wander of 102.929°/h/√Hz and a zero-bias instability of 63.70°/h. When we compensated the signal using the LSTM model, the angular velocity random wander of the signal was reduced to 39.2343°/h/√Hz and the zero-bias instability was reduced to 27.96°/h. Compensating the signal using the TCN model, the angular velocity random wander and zero-bias instability were obtained as 25.2652°/h/√Hz and 26.99°/h, respectively and they were further reduced to 22.6733°/h/√Hz and 13.79°/h after compensating with the BP neural network model. 19.7748°/h/√Hz and 6.27°/h were obtained for compensation with the sixth-degree polynomial model. Most notably, the angular velocity random wandering and zero-bias instability were significantly reduced to 17.6903°/h/√Hz and 1.38°/h, respectively, when we compensated with the TCN-LSTM model.
These results show that with the continuous optimization of the compensation algorithm, the angular rate random wander (ARRW) and zero-bias instability of the gyroscope were significantly improved, with the TCN-LSTM model performing particularly well in reducing these metrics.

6. Conclusions

In this study, to address the issue of temperature-induced drift in the output signal of a MEMS gyroscope, we proposed a TCN-LSTM temperature compensation model that incorporated GWO-VMD denoising. By employing GWO-VMD denoising, we could retain as much of the original signal’s useful information as possible while accurately extracting its relevant features. The TCN-LSTM model, compared to other traditional prediction algorithms, exhibited superior predictive performance, thereby enhancing the accuracy of the compensation model. The TCN-LSTM temperature compensation model, when combined with GWO-VMD denoising, could achieve a more precise compensation effect. The temperature experimental results indicate that the rate random wander of the output signal was reduced from 102.929°/h/√Hz to 17.6903°/h/√Hz and the bias instability was reduced from 63.70°/h to 1.38°/h. This represents a reduction of 82.81% for the rate random wander and 97.83% for the bias instability. These experimental results confirm the effectiveness and superiority of our proposed temperature compensation model [28,29,30].

Author Contributions

Funding acquisition, H.C.; investigation, A.L. and K.C.; software, D.A. and K.C.; validation, X.W. and K.C.; writing—original draft, A.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by National Key Research and Development Program of China (No. 2022YFB3205000), National Natural Science Foundation of China (No. 52475586, U2230206).

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shen, Q.; Yang, D.; Li, J.; Chang, H. Bias Accuracy Maintenanceunder Unknown Disturbances by Multiple Homogeneous MEMS Gyroscopes Fusion. IEEE Trans. Ind. Electron. 2023, 70, 3178–3187. [Google Scholar] [CrossRef]
  2. Ding, X.; Ruan, Z.; Jia, J.; Huang, L.; Li, H.; Zhao, L. In-Run Mode-Matching of MEMS Gyroscopes Based on Power Symmetry of Readout Signal in Sense Mode. IEEE Sens. J. 2021, 21, 23806–23817. [Google Scholar] [CrossRef]
  3. Li, K.; Cui, R.; Cai, Q.; Wei, W.; Shen, C.; Tang, J.; Shi, Y.; Cao, H.; Liu, J. A Fusion Algorithm for Real-Time Temperature Compensation and Noise Suppression with a Double U-Beam Vibration Ring Gyroscope. IEEE Sens. J. 2024, 24, 7614–7624. [Google Scholar] [CrossRef]
  4. Zhou, Y.; Ling, B.W.K.; Mo, X.; Guo, Y.; Tian, Z. Empirical Mode Decomposition-Based Hierarchical Multiresolution Analysis for Suppressing Noise. IEEE Trans. Instrum. Meas. 2020, 69, 1833–1845. [Google Scholar] [CrossRef]
  5. Wang, K.; Hao, Q.; Zhang, X.; Tang, Z.; Wang, Y.; Shen, Y. Blind source extraction of acoustic emission signals for rail cracks based on ensemble empirical mode decomposition and constrained independent component analysis. Measurement 2020, 157, 107653. [Google Scholar] [CrossRef]
  6. Wang, L.; Shao, Y. Fault feature extraction of rotating machinery using a reweighted complete ensemble empirical mode decomposition with adaptive noise and demodulation analysis. Mech. Syst. Signal Process. 2020, 138, 106545. [Google Scholar] [CrossRef]
  7. Zhang, Y.; Ji, J.; Ma, B. Fault diagnosis of reciprocating compressor using a novel ensemble empirical mode decomposition-convolutional deep belief network. Measurement 2020, 156, 107619. [Google Scholar] [CrossRef]
  8. Cao, H.; Zhang, Z.; Zheng, Y.; Guo, H.; Zhao, R.; Shi, Y.; Chou, X. A New Joint Denoising Algorithm for High-G Calibration of MEMS Accelerometer Based on VMD-PE-Wavelet Threshold. Shock Vib. 2021, 2021, 8855878. [Google Scholar] [CrossRef]
  9. Sinhashthita, W.; Jearanaitanakij, K. Improving KNN Algorithm Based on Weighted Attributes by Pearson Correlation Coefficient and PSO Fine Tuning. In Proceedings of the 2020—5th International Conference on Information Technology (InCIT), Chonburi, Thailand, 21–22 October 2020; Volume 34, pp. 27–32. [Google Scholar]
  10. Zhang, Z.; Zhang, J.; Zhu, X.; Ren, Y.; Yu, J.; Cao, H. MEMS Gyroscope Temperature Compensation Based on Improved Complete Ensemble Empirical Mode Decomposition and Optimized Extreme Learning Machine. Micromachines 2024, 15, 609. [Google Scholar] [CrossRef]
  11. Li, X.; Wang, K.; Tang, M.; Qin, J.; Wu, P.; Yang, T.; Zhang, H. Marine Drifting Trajectory Prediction Based on LSTM-DNN Algorithm. Wirel. Commun. Mob. Comput. 2022, 2022, 7099494. [Google Scholar] [CrossRef]
  12. Hu, C.; Cheng, F.; Ma, L.; Li, B. State of Charge Estimation for Lithium-Ion Batteries Based on TCN-LSTM Neural Networks. J. Electrochem. Soc. 2022, 169, 030544. [Google Scholar] [CrossRef]
  13. Cao, H.; Cai, Q.; Zhang, Y.; Shen, C.; Shi, Y.; Liu, J. Design, Fabrication, and Experiment of a Decoupled Multi-Frame Vibration MEMS Gyroscope. IEEE Sens. J. 2021, 21, 19815–19824. [Google Scholar] [CrossRef]
  14. Song, R.; Chen, X.; Shen, C.; Zhang, H. Modeling FOG Drift Using Back-Propagation Neural Network Optimized by Artificial Fish Swarm Algorithm. J. Sens. 2014, 2014, 276043. [Google Scholar] [CrossRef]
  15. Gu, H.; Liu, X.; Zhao, B.; Zhou, H. The In-Operation Drift Compensation of MEMS Gyroscope Based on Bagging-ELM and Improved CEEMDAN. IEEE Sens. J. 2019, 19, 5070–5077. [Google Scholar] [CrossRef]
  16. Liu, Y.; Chen, G.; Wei, Z.; Yang, J.; Xing, D. Denoising Method of MEMS Gyroscope Based on Interval Empirical Mode Decomposition. Math. Probl. Eng. 2020, 2020, 3019152. [Google Scholar] [CrossRef]
  17. 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]
  18. Chandradip, P.; MCCluskey, P. Simulation of the MEMS Vibratory Gyroscope through Simulink. In Proceedings of the 8th International Conference and Exhibition on Device Packaging, Fountain Hills, AZ, USA, 5–8 March 2012. [Google Scholar]
  19. Xia, D.; Chen, S.; Wang, S.; Li, H. Microgyroscope Temperature Effects and Compensation-Control Methods. Sensors 2009, 9, 8349–8376. [Google Scholar] [CrossRef]
  20. Fang, J.; Li, J.; Sheng, W. Improved temperature error model of silicon MEMS gyroscope with inside frame driving. J. Beijing Univ. Aeronaut. Astronaut. 2006, 32, 1277–1280. [Google Scholar]
  21. Dragomiretskiy, K.; Zosso, D. Variational Mode Decomposition. IEEE Trans. Signal Process. 2014, 62, 531–544. [Google Scholar] [CrossRef]
  22. Fernandes, H.S.; Sousa, S.F.; Cerqueira, N.M.F.S.A. VMD Store–A VMD Plugin to Browse, Discover, and Install VMD Extensions. J. Chem. Inf. Model. 2019, 59, 4519–4523. [Google Scholar] [CrossRef]
  23. Gopali, S.; Abri, F.; Siami-Namini, S.; Namin, A.S. A Comparison of TCN and LSTM Models in Detecting Anomalies in ime Series Data. In Proceedings of the 2021 IEEE International Conference on Big Data (Big Data), Orlando, FL, USA, 15–18 December 2021. [Google Scholar]
  24. Heng, L.; Hao, C.; Nan, L.C. Load forecasting method based on CEEMDAN and TCN-LSTM. PLoS ONE 2024, 19, e0300496. [Google Scholar] [CrossRef]
  25. Liu, M.; Sun, X.; Wang, Q.; Deng, S. Short-Term Load Forecasting Using EMD with Feature Selection and TCN-Based Deep Learning Model. Energies 2022, 15, 7170. [Google Scholar] [CrossRef]
  26. Zhang, H.; Ge, B.; Han, B. Real-Time Motor Fault Diagnosis Based on TCN and Attention. Machines 2022, 10, 249. [Google Scholar] [CrossRef]
  27. Ouyang, M.; Gao, J.; Li, A.; Zhang, X.; Shen, C.; Cao, H. Micromechanical gyroscope temperature compensation based on combined LSTM-SVM-DBN algorithm. Sens. Actuators A Phys. 2024, 369, 115128. [Google Scholar] [CrossRef]
  28. 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]
  29. Trusov, A.A.; Schofield, A.R.; Shkel, A.M. Performance characterization of a new temperature-robust gain-bandwidth improved MEMS gyroscope operated in air. Sens. Actuators A Phys. 2008, 155, 16–22. [Google Scholar] [CrossRef]
  30. Xu, L.; Li, W.; Zhang, B.; Zhu, Y.; Lang, C. Fault Diagnosis of Mine Truck Hub Drive System Based on LMD Multi-Component Sample Entropy Fusion and LS-SVM. Actuators 2023, 12, 468. [Google Scholar] [CrossRef]
Figure 1. The diagrammatic representation of the DMFVMG structure.
Figure 1. The diagrammatic representation of the DMFVMG structure.
Micromachines 15 01379 g001
Figure 2. Analysis of the modal behavior of the DMFVMG structure.
Figure 2. Analysis of the modal behavior of the DMFVMG structure.
Micromachines 15 01379 g002
Figure 3. The control block diagram of DMFVMG gyro.
Figure 3. The control block diagram of DMFVMG gyro.
Micromachines 15 01379 g003
Figure 4. Combined gyroscope temperature drift signal prediction models.
Figure 4. Combined gyroscope temperature drift signal prediction models.
Micromachines 15 01379 g004
Figure 5. Schematic diagram of the gyroscope temperature compensation model.
Figure 5. Schematic diagram of the gyroscope temperature compensation model.
Micromachines 15 01379 g005
Figure 6. (a) Field emission scanning electron microscope (FESEM) image (color added). (b) DMFVMG prototype photo. (c) Experimental environment settings.
Figure 6. (a) Field emission scanning electron microscope (FESEM) image (color added). (b) DMFVMG prototype photo. (c) Experimental environment settings.
Micromachines 15 01379 g006
Figure 7. (a) Data from the training phase of the experiment. (b) Data from the testing phase of the experiment.
Figure 7. (a) Data from the training phase of the experiment. (b) Data from the testing phase of the experiment.
Micromachines 15 01379 g007
Figure 8. Decomposition results and spectrograms based on GWO-VMD.
Figure 8. Decomposition results and spectrograms based on GWO-VMD.
Micromachines 15 01379 g008
Figure 9. Comparison of DMFVMG signal before and after denoising.
Figure 9. Comparison of DMFVMG signal before and after denoising.
Micromachines 15 01379 g009
Figure 10. Comparison of effect after temperature compensation.
Figure 10. Comparison of effect after temperature compensation.
Micromachines 15 01379 g010
Figure 11. Graph of Allan ANOVA result.
Figure 11. Graph of Allan ANOVA result.
Micromachines 15 01379 g011
Table 1. Resonant frequencies associated with the modal behavior of the DMFVMG structure.
Table 1. Resonant frequencies associated with the modal behavior of the DMFVMG structure.
Mode OrderResonant Frequency Value (Hz)Remarks
110,094Sense Mode
210,162Drive Mode
314,986z-axis vibration
415,661Comb frame movement
515,811Structure rotating around z-axis
616,181Comb frame movement
718,234Comb frame movement
818,242Comb frame movement
918,251Comb frame movement
1018,254Comb frame movement
Table 2. Predicted value error.
Table 2. Predicted value error.
ModelMean Absolute Error (MAE)Mean Absolute Percentage Error
(MAPE)
Root Mean Square Error
(RMSE)
LSTM0.06691.65610.1132
TCN0.12930.83600.1854
BP0.15971.47820.1977
Sixth polynomial0.05670.78940.0859
TCN-LSTM0.0230.43910.0421
Table 3. Results of Allan ANOVA with different methods.
Table 3. Results of Allan ANOVA with different methods.
ModelARRW
(°/h/√Hz)
Zero-Bias Instability
(°/h)
Original signal102.92963.70
LSTM39.234327.96
TCN25.265226.99
BP22.673313.79
Sixth polynomial19.77486.27
TCN-LSTM17.69031.38
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, A.; Cui, K.; An, D.; Wang, X.; Cao, H. Multi-Frame Vibration MEMS Gyroscope Temperature Compensation Based on Combined GWO-VMD-TCN-LSTM Algorithm. Micromachines 2024, 15, 1379. https://doi.org/10.3390/mi15111379

AMA Style

Li A, Cui K, An D, Wang X, Cao H. Multi-Frame Vibration MEMS Gyroscope Temperature Compensation Based on Combined GWO-VMD-TCN-LSTM Algorithm. Micromachines. 2024; 15(11):1379. https://doi.org/10.3390/mi15111379

Chicago/Turabian Style

Li, Ao, Ke Cui, Daren An, Xiaoyi Wang, and Huiliang Cao. 2024. "Multi-Frame Vibration MEMS Gyroscope Temperature Compensation Based on Combined GWO-VMD-TCN-LSTM Algorithm" Micromachines 15, no. 11: 1379. https://doi.org/10.3390/mi15111379

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