Research Article | Open Access

# Adaptive Sliding Mode Control Using Robust Feedback Compensator for MEMS Gyroscope

**Academic Editor:**Dane Quinn

#### Abstract

An adaptive sliding mode control using robust feedback compensator is presented for a MEMS gyroscope in the presence of external disturbances and parameter uncertainties. An adaptive controller with a robust term is used to improve the robustness of the control system and compensate the system nonlinearities. The proposed robust adaptive control can estimate the angular velocity and all the system parameters including damping and stiffness coefficients in the Lyapunov framework. In addition, standard adaptive control scheme without robust algorithm is compared with the proposed robust adaptive scheme in the aspect of numerical simulation and algorithm derivation. Numerical simulations show that the robust adaptive control has better robustness in the presence of external disturbances than the standard adaptive control.

#### 1. Introduction

In recent years, MEMS gyroscopes are commonly used microsensors for measuring angular velocity because of their compact size, low cost, and high sensitivity. Most MEMS gyroscopes utilize electrostatic force and capacitive detection. However, there are some damping effects and cross-stiffness in the presence of fabrication imperfections, and the performance of MEMS deteriorates due to the effects of time-varying parameters, external disturbances, and quadrature errors. Therefore, the measurement of angular velocity and minimization of the cross-coupling in the MEMS gyroscope should be investigated and studied. In recent years, the applications of adaptive control and robust control have achieved great developments. To control the MEMS gyroscopes, people proposed advanced control methods such as adaptive control, which can modify its characteristics with the varying parameters. Arancibia et al. [1] presented an adaptive control scheme for laser-beam steering by a two-axis MEMS mirror. A robust adaptive control strategy using a fuzzy compensator for MEMS triaxial gyroscope is proposed in [2]. A robust adaptive control for MEMS triaxial gyroscope is developed in [3]. Jagannathan and Hameed [4] presented an adaptive force-balancing control scheme with actuator limits for a MEMS -axis gyroscope. Zhu et al. [5] developed an alternative for the control of parallel-plate electros actuators. Leland [6] derived and summarized an adaptive controller to control all modes of a vibrational MEMS gyroscope. Park and Horowitz [7] presented adaptive add-on control algorithms for the conventional modes of operation of MEMS -axis gyroscopes. Wang et al. [8] presented a micromachined vibratory gyroscope with two proof masses to adaptively measure a rotation rate. Liu et al. [9] introduced the design of a digital closed drive loop for a MEMS vibratory packaged gyroscope. Salah et al. [10] developed a new control strategy to sense the time-varying angular rate for MEMS -axis gyroscopes. Some design and control methods have been proposed for MEMS gyroscope in [11–15]. Liu [16] proposed a robust adaptive control for an uncertain mechanical system.

In this paper, robust adaptive control scheme which has the advantage of combining the tracking capability of adaptive control with the robustness of robust control is proposed for the control of MEMS gyroscope. In addition, in the presence of external disturbance and model uncertainty, robust control is incorporated into the adaptive control to improve the dynamic characteristics and the robustness of the control system. The robust term can maintain some characteristics of the control system in the presence of parameter perturbations.

The robust adaptive control scheme with an additional robust term is firstly applied to the MEMS gyroscopes to improve the transient performance. Moreover, a standard adaptive control without feedback robust algorithm is proposed to estimate angular velocity and all unknown parameters for the purpose of comparison. The novelty in the paper is that a feedback algorithm is incorporated into the robust adaptive controller to improve the robustness of the control system and minimize the cross-coupling between two axes. The stability and convergence of the closed-loop control system can be guaranteed.

This paper focuses on the design and stability analysis of the robust adaptive control for MEMS gyroscopes. Meanwhile, in order to discuss the effect of the proposed control scheme, a comparative study between the standard adaptive control and the robust adaptive control is conducted, thus evaluating the performance index such as the convergence of angular velocity, tracking error, and the robustness of the control system. The advantages of the proposed control scheme are summarized compared to existing ones.(1)A feedback algorithm is incorporated into the robust adaptive controller to deal with nonlinearities of a system. The robust adaptive controller can improve the robustness of the MEMS and estimate angular velocity and all unknown system parameters correctly. Meanwhile, cross-coupling between two axes is minimized in the presence of external disturbances. A novel robust adaptive control scheme is proposed and used to estimate angular velocity and all uncertain parameters with improved transient performance.(2)Using Lyapunov analysis, the stability and convergence of the control system can be guaranteed. The tracking errors all converge to zero, and all the unknown parameters including angular velocity converge to their true values. Incorporating feedback algorithm into a robust adaptive controller, the control system tracks the desired reference trajectory much more quickly compared with other ones.

This paper is organized as follows. In Section 2, the dynamics of MEMS gyroscopes sensor is introduced. In Section 3, the design of robust adaptive control for MEMS gyroscopes is proposed. In Section 4, simulation results are provided, and comparative study between robust adaptive control and standard adaptive control is implemented. Conclusions are provided in Section 5.

#### 2. Dynamics of MEMS Gyroscope

The dynamics of MEMS gyroscope are described in this section. Dynamics of a MEMS gyroscope are derived from Newton’s law in the rotating frame.

In a -axis gyroscope, by supposing the stiffness of spring in direction much larger than that in the , directions, motion of poof mass is constrained to only along the - plane as shown in Figure 1. Assuming that the measured angular velocity is almost constant over a long enough time interval, the equation of motion of a gyroscope is simplified as follows.

Taking fabrication imperfections, which cause extra coupling between - and -axes, and external disturbances into account, the governing equation for MEMS gyroscope is

In (1) and are damping; and are spring coefficients; and called quadrature errors are coupled damping and spring terms, respectively, due in large part to the asymmetries in suspension structure and misalignment of sensors and actuators.

Dividing both sides of (1) by , , and , which are a reference mass, length, and natural or resonant frequency, respectively, and considering lumped external disturbances, we get the form of the nondimensional equation of motion as where , , , , , , and , and and denote disturbances in the two axes. Note that, the lumped disturbances and could also contain the effects of the time-varying unknown but bounded parameter uncertainties.

The vector form of MEMS gyroscope dynamics model can be written as where , , , , , and , and represents the matched lumped parameter uncertainty and external disturbance.

We make the following assumption: the lumped uncertainty and disturbance is bounded such that , where is a known positive constant.

#### 3. Robust Adaptive Control

In this section, a robust adaptive control scheme with application to a MEMS gyroscope is given. The control objective is to improve the robustness of the control system and minimize system nonlinearities; thus all unknown system parameters and angular velocity can be estimated correctly. The block diagram of a robust adaptive control for a MEMS gyroscope is shown in Figure 2. The tracking error between gyroscope state and reference state acts as the input of the robust adaptive controller which is proposed to control the system; thus the angular velocity and all the unknown parameters can be estimated.

Suppose that a reference trajectory is generated by an ideal oscillator and the control target is to make the trajectory of the gyroscopes follow that of the reference model. The reference model and can be redefined in vector terms as where , . is the tracking error.

The sliding surface is designed as where is a positive definite constant matrix which needs to be selected, .

The derivative of the sliding surface is Substituting , , and into (4) yields Rewriting (5) yields Define

Then, (6) becomes where is a 2 × 7 matrix of known functions and contains unknown system parameters. We assume both position and velocity are measurable.

Setting to solve equivalent control gives

The adaptive controller is proposed as where , , , , and and are constant matrices to satisfy the desired transient performance of the control system. is the estimate of ; is a feedback component. Consider is the sliding mode control component.

Substituting (12) into (10) yields where .

Consider the following Lyapunov function: where , are positive definite and symmetric matrix.

The derivative of is To make , choose the robust adaptive law as The choice yields In (18), the second term represents the effect of the feedback component . Without the feedback component and with satisfying , where is a positive constant, becomes negative semidefinite; that is, . is negative definite implying that and converge to zero. is negative semidefinite ensuring that , , and are all bounded. It can be concluded from (14) that is also bounded. Barbalat’s lemma can be used to prove that . The inequality implies that is integrable as . Since is bounded and is nonincreasing and bounded, it can be concluded that is bounded. Since is bounded and is also bounded, according to Barbalat’s lemma, will asymptotically converge to zero, . If is persistently exciting signal [17], then guarantees that , will converge to its true values. Then the unknown angular velocity as well as all other unknown parameters can be consistently estimated and the control is asymptotically stable.

Taking the feedback component into account, , where is the minimum eigenvalue and based on Lemma 1. In (15), , where . Therefore , where . Because and based on Lemma 1 and according to Lemma 2 the closed-loop system is exponentially stable. Therefore incorporating the feedback component into the standard adaptive control could improve the stability of the control system better.

Lemma 1. *A continuous function (or a continuous function ) is said to belong to Class ; that is, if **, ** is strictly increasing on (or on ).*

Lemma 2. *If V is decrescent and there exist of the same order of magnitude such that
**
for all and , then is exponentially stable.*

*Remark 3. *For the purpose of comparison, a standard adaptive control is also proposed for a MEMS gyroscope. The difference between robust adaptive control and standard adaptive control schemes is that a feedback controller is not incorporated into the adaptive controller which is proposed as

*Remark 4. *In order to eliminate the control discontinuities, a smooth sliding mode control that can reduce chattering problem is proposed as
where is a small positive constant.

#### 4. Simulation Example

In this section, the robust adaptive sliding control and the adaptive sliding control are both evaluated on the MEMS gyroscope model for the purpose of comparison. The control objective is to estimate angular velocity and all the unknown parameters and make the control system track the reference trajectory. Random signal with zero mean and unity variance is considered as external disturbance. The parameters of the MEMS gyroscope are listed as follows: Choose 1 micrometer as the reference length and 1 kHz as natural frequency of each axis of MEMS gyroscopes. The unknown angular velocity is assumed as rad/s. The nondimensional parameters are calculated as follows: The desired motion trajectories are , , where kHz, kHz. The and in (17) are chosen as and . The and in (12) are chosen as and .

Figures 3 and 4 compare the tracking errors, where denotes tracking error in axle and denotes tracking error in axle. It is observed that the tracking errors all converge to zero asymptotically and the tracking error of robust adaptive sliding control has better transient performance than that of standard adaptive sliding control. Figures 5 and 6 compare the adaptation of angular velocity; it can be seen that the estimation of angular velocity using the robust adaptive control converges to its true value more quickly than that using standard adaptive sliding control. Figures 7, 8, and 9 compare the adaptation of parameters using these two different controllers, respectively. It can be observed from these figures that the former achieves better parameter identification performance than the latter.

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

**(f)**

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

**(f)**

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

**(f)**

In summary, with the control law (12) and the parameter adaptation law (17), if the gyroscope is controlled to follow the mode-unmatched reference model, the persistent excitation condition is satisfied; that is, , and all unknown gyroscope parameters, including the angular velocity, are estimated correctly. In the presence of external disturbance and model uncertainties, the robust adaptive sliding control has better robustness and transient dynamic characteristics than adaptive sliding control.

#### 5. Conclusion

In the paper, a novel robust adaptive control scheme is proposed for MEMS gyroscopes. For the purpose of comparison, a robust adaptive control and a standard adaptive control without feedback algorithm are investigated. Numerical simulations show that if the persistent excitation can be satisfied, all unknown parameters, including the angular velocity, converge to their true values, and tracking error converges to zero asymptotically, using these two adaptive approaches. But in the presence of external disturbance and model uncertainties, the robust adaptive control has better robustness and dynamic characteristics than standard adaptive control.

#### Acknowledgments

The authors thank the anonymous reviewers for useful comments that improved the quality of the paper. This work is partially supported by National Science Foundation of China under Grant no. 61374100; Natural Science Foundation of Jiangsu Province under Grant no. BK20131136; the Fundamental Research Funds for the Central Universities under Grant no. 2012B06714.

#### References

- N. O. P. Arancibia, N. Chen, S. Gibson, and T.-C. Tsao, “Adaptive control of a MEMS steering mirror for suppression of laser beam jitter,” in
*Proceedings of the American Control Conference (ACC '05)*, pp. 3586–3591, June 2005. View at: Google Scholar - J. Fei and J. Zhou, “Robust adaptive control of MEMS triaxial gyroscope using fuzzy compensator,”
*IEEE Transactions on Systems, Man, and Cybernetics, Part B*, vol. 42, no. 6, pp. 1599–1607, 2012. View at: Google Scholar - J. Fei and C. Batur, “Robust adaptive control for a MEMS vibratory gyroscope,”
*International Journal of Advanced Manufacturing Technology*, vol. 42, no. 3-4, pp. 293–300, 2009. View at: Publisher Site | Google Scholar - S. Jagannathan and M. Hameed, “Adaptive force-balancing control of MEMS gyroscope with actuator limits,” in
*Proceedings of the American Control Conference (AAC '04)*, vol. 2, pp. 1862–1867, July 2004. View at: Publisher Site | Google Scholar - G. Zhu, J. Lévine, L. Praly, and Y.-A. Peter, “Flatness-based control of electrostatically actuated MEMS with application to adaptive optics: a simulation study,”
*Journal of Microelectromechanical Systems*, vol. 15, no. 5, pp. 1165–1174, 2006. View at: Publisher Site | Google Scholar - R. P. Leland, “Adaptive control of a MEMS gyroscope using lyapunov methods,”
*IEEE Transactions on Control Systems Technology*, vol. 14, no. 2, pp. 278–283, 2006. View at: Publisher Site | Google Scholar - S. Park and R. Horowitz, “Adaptive control for the conventional mode of operation of MEMS gyroscopes,”
*Journal of Microelectromechanical Systems*, vol. 12, no. 1, pp. 101–108, 2003. View at: Publisher Site | Google Scholar - C. Wang, S. Wang, and Y. Yin, “A dual-mass MEMS vibratory gyroscope with adaptive control scheme,” in
*Proceedings of the 7th IEEE International Conference on Nanotechnology (NANO '07)*, pp. 25–28, August 2007. View at: Publisher Site | Google Scholar - D. Liu, N. N. Lu, J. Cui et al., “Digital closed-loop control based on adaptive filter for drive mode of a MEMS gyroscope,” in
*Proceedings of the 9th IEEE Sensors Conference (SENSORS '10)*, pp. 1722–1726, November 2010. View at: Publisher Site | Google Scholar - M. H. Salah, M. L. McIntyre, D. M. Dawson, J. R. Wagner, and E. Tatlicioglu, “Sensing of the time-varying angular rate for MEMS Z-axis gyroscopes,”
*Mechatronics*, vol. 20, no. 6, pp. 720–727, 2010. View at: Publisher Site | Google Scholar - W. Wang, X. Lu, and F. Sun, “Design of micromachined vibratory gyroscope with two degree-of-freedom drive-mode and sense-mode,”
*IEEE Sensors Journal*, vol. 12, no. 7, pp. 2460–2464, 2012. View at: Google Scholar - C. Tsai, K. Chen, and C. Shen J, “Tsai A MEMS doubly decoupled gyroscope with wide driving frequency range,”
*IEEE Transactions on Industrial Electronics*, vol. 59, no. 12, pp. 4921–4929, 2012. View at: Google Scholar - H. Chang, L. Xue, and C. Jiang, “Combining numerous uncorrelated MEMS gyroscopes for accuracy improvement based on an optimal kalman filter,”
*IEEE Transactions on Instrumentation and Measurement*, vol. 61, no. 11, pp. 3084–3093, 2012. View at: Google Scholar - M. Egretzberger, F. Mair, and A. Kugi, “Model-based control concepts for vibratory MEMS gyroscopes,”
*Mechatronics*, vol. 22, no. 3, pp. 241–250, 2012. View at: Publisher Site | Google Scholar - G. Ma, W. Chen, W. Zhang, F. Cui, and K. Li, “Compact H∞ robust rebalance loop controller design for a micromachined electrostatically suspended gyroscope,”
*ISA Transactions*, vol. 49, no. 2, pp. 222–228, 2010. View at: Publisher Site | Google Scholar - J. Liu,
*Advanced PID Control and Its Matlab Simulation*, Electronic Industry Press, Beijing, China, 2004. - P. Ioannou and J. Sun,
*Robust Adaptive Control*, Prentice-Hall, Upper Saddle River, NJ, USA, 1996.

#### Copyright

Copyright © 2013 Juntao Fei and Dan Wu. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.