Adaptive Sliding Mode Control of MEMS Gyroscope Based on Neural Network Approximation
An adaptive sliding controller using radial basis function (RBF) network to approximate the unknown system dynamics microelectromechanical systems (MEMS) gyroscope sensor is proposed. Neural controller is proposed to approximate the unknown system model and sliding controller is employed to eliminate the approximation error and attenuate the model uncertainties and external disturbances. Online neural network (NN) weight tuning algorithms, including correction terms, are designed based on Lyapunov stability theory, which can guarantee bounded tracking errors as well as bounded NN weights. The tracking error bound can be made arbitrarily small by increasing a certain feedback gain. Numerical simulation for a MEMS angular velocity sensor is investigated to verify the effectiveness of the proposed adaptive neural control scheme and demonstrate the satisfactory tracking performance and robustness.
MEMS gyroscopes have become the most growing microsensors for measuring angular velocity in recent years due to their compact size, low cost, and high sensitivity. Fabrication imperfections always result in some cross stiffness and damping effects and the performance of the MEMS gyroscope is deteriorated by the effects of time varying parameters, quadrature errors, and external disturbances. Therefore it is necessary to utilize advanced control methods to measure the angular velocity and minimize the cross coupling terms.
During the past few years, advanced control approaches have been proposed to control the MEMS gyroscope. Leland  presented an adaptive controller for tuning the natural frequency of the drive axis of a vibratory gyroscope. Park et al.  presented an adaptive controller for a MEMS gyroscope which drives both axes of vibration and controls the entire operation of the gyroscope. Batur et al.  developed a sliding mode controller and adaptive controller for a MEMS gyroscope. Robust adaptive controller has been developed using adaptive sliding mode control to control the vibration of MEMS gyroscope . Tsai and Sue  proposed integrated model reference adaptive control and time-varying angular rate estimation algorithm for micromachined gyroscopes. Raman et al.  developed a closed-loop digitally controlled MEMS gyroscope using unconstrained sigma-delta force balanced feedback control. Since neural network has the capability to approximate any nonlinear function over the compact input space, RBF’s properties make them attractive for interpolation and functional modeling. Therefore neural network’s learning ability makes it a useful tool for adaptive application. Lewis et al. [7, 8] developed neural network approaches for robot manipulator. Feng  presented a compensating scheme for robot tracking based on neural networks and Lin and Chen  used neural network based robust nonlinear control for a magnetic levitation system. Park et al.  developed adaptive neural sliding mode control for the nonholonomic wheeled mobile robots with model uncertainty. Sadati and Ghadami  derived adaptive multimodel sliding mode control of robotic manipulators using soft computing. Lee and Choi  used neural network based robust nonlinear control for a magnetic levitation system. Lin et al.  developed an adaptive RBF neural network controller for robot manipulators. Huang et al.  developed a novel RBF sliding mode controller for a dynamic absorber. An adaptive neural compensation scheme without sliding mode method for tracking control of MEMS gyroscope was proposed . In , robust adaptive sliding mode control is utilized to estimate the angular velocity of MEMS triaxial gyroscope, and neural network is adopted to estimate the upper bound of system nonlinearities. In , an input-output linearization technique is incorporated into the neural adaptive tracking control to cancel the nonlinearities and the adaptive neural network is used to perform the linearization control law. In this paper, different from [16–18], neural controller is proposed to approximate the unknown system model and sliding mode controller is employed to eliminate the approximation error and attenuate the model uncertainties and external disturbances. In order to improve the tracking performance of MEMS gyroscope, a robust adaptive control strategy of MEMS gyroscope using neural sliding compensator is developed. The proposed control strategy has the following advantages.(1)An adaptive neural sliding mode control is adopted to on-line mimic the unknown model and compensate the approximation error. It incorporates RBF neural network into the adaptive sliding control system of MEMS gyroscope to learn the approximate model. Adaptive neural sliding mode compensation scheme is proposed to deal with the model approximation in the presence of model uncertainties and external disturbances.(2)This paper integrates adaptive control, sliding mode control, and the nonlinear approximation of neural network control. Neural controller is proposed to approximate the unknown system model and sliding controller is employed to eliminate the approximation error and attenuate the model uncertainties and external disturbances.(3)The proposed adaptive neural sliding controller does not need to establish accurate mathematical model and has the ability to approximate the nonlinear characteristics of system model. The proposed adaptive neural network sliding mode controller can guarantee the stability of the closed-loop system and improve the robustness for external disturbances and model uncertainties.
The paper is organized as follows. In Section 2, the dynamics of MEMS gyroscope is described. In Section 3, problem is formulated. In Section 4, an adaptive RBF network compensation is derived to guarantee the asymptotic stability of the closed-loop system. Simulation results are presented in Section 5 to verify the effectiveness of the proposed adaptive neural compensation control. Conclusions are provided in Section 6.
2. Dynamics of MEMS Gyroscope
The dynamics of vibratory MEMS gyroscope is described in this section. A two-axis MEMS vibratory gyroscope mainly contains three parts: one is the sensitive element of single proof mass () suspended by spring beams, another is electrostatic actuations and sensing mechanisms for forcing an oscillatory motion and sensing the position and velocity of the sensitive element, and the other is the rigid frame which is rotated along the rotation axis.
A schematic model of a two-axis MEMS vibratory gyroscope is shown in Figure 1. As an electromechanical system for special use, the initial and the most important step is to derive the motion equations. In this section the motion equations of MEMS gyroscope are derived based on Lagrange equation: where is Lagrange’s function, and are kinetic and potential energies of the sensitive element, respectively, denote the generalized damping forces, are generalized forces acting on the sensitive element, andranges from 1 to the number of degrees of freedom under consideration. In our case it will be 2.
Let us introduce the right-handed orthogonal reference frame in which drive oscillation are excited along the -axis and sense oscillation occurs along the -axis. Assume a generalized coordinateas the displacement of the sensitive element along the -axis. Similarly generalized coordinatecorresponds to the displacements of the sensitive element along the -axis. The arbitrary angular rateis defined by its projections on the introduced above reference frame as, where the third -axis is perpendicular to the paper.
The total kinetic energy of the sensitive element in our case will be
Potential energy of the sensitive element is formed by stiffness of its springs and is given by where is the total stiffness of the elastic suspension along the -axis and is the total stiffness along the -axis. Now using the Lagrange equation (1), the following motion equations that reveal the dynamics of MEMS gyroscope will appear after some simple transformations: where and are natural frequencies of drive and sense oscillations mode, respectively. and are the damping forces terms. and are called centripetal forces. and are Euler forces. and are the Coriolis forces and used to reconstruct the unknown external angular rate . and are external forces or control inputs.
Assuming that the external angular rate is almost constant over a long enough time interval, under typical assumptions , only the -axis component of the angular rate causes a dynamic coupling between the two axes. Taking fabrication imperfections into account, which cause extra coupling between the two axes, the motion equations of a MEMS gyroscope is finally given by where , , , and are damping and spring coefficients; and , called quadrature errors, are coupled damping and spring terms, respectively, mainly due to the asymmetries in suspension structure and misalignment of sensors and actuators. Bounded unknown disturbances are denoted by and . It is noted that the coupled damping coefficient between - and -axis is far smaller than -axis or -axis own damping coefficient, that is and .
Rewriting the gyroscope dynamics into vector forms results in where , , , , , , and .
3. Problem Formulation
All the MEMS gyroscope parameters in (6) cannot be known precisely. This may arise because the MEMS gyroscope is being subjected to unknown angular rate or because the exact evaluation of the gyroscope’s dynamic is too costly. The dynamical model contains model uncertainties, external disturbance, and even some nonlinearities. We assume the external disturbances are bounded; that is, for some unknown positive constant.
Let denote the desired trajectory of the proof mass in the - plan.
Define the tracking error as follows: The sliding mode is defined as where is a design parameter matrix. Differentiating and using (6), the MEMS gyroscope dynamics can be expressed as where the unknown gyroscope function is and are the available measured signals:
If we can reconstruct an estimate of using by some means not yet disclosed, we now define a control input as where gain matrix and is the estimate of . The closed-loop system becomes where the functional estimation error is given by
Equation (13) is an error system wherein the sliding mode is driven by the functional estimation error. The control incorporates a proportional-plus-derivative (PD) term in . In the next section we will use (13) to focus on selecting NN tuning algorithms that guarantee the stability of the sliding mode .
4. Adaptive Neural Network Controller
4.1. RBF Neural Network
RBF neural network has the universal approximation property that states that any sufficiently smooth function can be approximated by a suitable large network for all inputs in a compact set and the resulting function reconstruction error is bounded. The RBF network has a fast convergence property and a simple architecture. Therefore, in this section we apply RBF network for compensating for the unknown dynamics part in Section 2.
The structure of RBF neural network is a three-layer feed forward network shown as in Figure 2. The output of an RBF neural network can be described as where and are the numbers of hidden and output nodes, respectively, and and is the weight connecting thehidden node to the output node. is the output of the node. is the radial basis function. is the center vector and represents the width of the hidden node. The activation function is often chosen to be Gaussian function .
If the RBF net parameters and are kept fixed, the only adjustable weights appear linearly with respect to the known nonlinearity . Now, the output of RBF NN can be rewritten as where and .
is the weight connecting the hidden node to theoutput node. is theradial basis function.
Following the above results, the unknown MEMS gyroscope function can be parameterized by a RBF network with output , where is the matrix of adjustable weights. We assume that the function is given by a RBF NN for some constant “ideal” NN weights , and the net reconstruction error is bounded by an unknown constant as where , as mentioned above, is the NN functional reconstruction error vector. For the ideal NN weights, .
Meanwhile, we assume that the ideal weights are bounded by
4.2. Controller Structure and Error System Dynamics
Define the NN functional estimate of (10) as with as the estimated values of the ideal RBF NN weights .
Using this controller, the sliding mode dynamics become where and .
Theorem 1. Let the designed trajectory be bounded, the control input for (6) given by (20), and weights tuning provided by with any constant gain matrix and scalar design parameter . Then, for large enough control gain , the sliding mode and NN weight estimates are uniformly ultimate bounded. Moreover, the tracking error may be kept as small as desired by increasing the gains in (20).
Proof. Consider the following Lyapunov function candidate:
where denotes the matrix trace operator; matrix is the adaptive law gain.
Differentiating (23) yields
Substituting (22) in (24) and using the fact that yield the following expression: Since , (25) yields which is negative as long as the term in braces is positive. Completing the square yields which is guaranteed positive as long as or Thus, is negative outside a compact set; this demonstrates the UUB (uniformly ultimate bounded) of both and . Since any excursions of or beyond the bounds given in (28) and (29), respectively, lead to a decrease in the Lyapunov function , it follows that the right-hand sides of (28) and (29) can be taken as practical bounds on and , respectively. Note from (28), moreover, that arbitrarily small error bounds may be achieved by selecting large tracking control gains .
Remark 2. Given , the Frobenius norm is defined by The associated inner product is , where the dimensions ofandare suitable for matrix product.
5. Simulation Analysis
In this section, we will evaluate the proposed adaptive neural network scheme, which will require no knowledge of the dynamics, not even their structure on the lumped MEMS gyroscope sensor model [3, 4]. The control objective is to maintain the gyroscope system to track the desired reference trajectory and estimate the unknown function as in (10). The parameters of the MEMS gyroscope are shown as The unknown angular velocity is assumed . The desired trajectory is defined as , , where and .
The external disturbance is , .
The gain matrix was taken as , sliding parameter . The RBF neural network is composed of 45 nodes. As we will see from the subsequent figure that the unique PD controller () could ensure that the tracking error belongs to a compact set. Thus, when we design the RBF net centroids, we constrain our attention on that compact set and take width . The response with these controller parameters when and is shown in the following figures.
Figures 4 and 5 show the proof mass along -axis and -axis tracking trajectories, respectively. Figure 6 depicts the tracking errors. It can be seen that the tracking error belongs to a small region with the adaptive RBF sliding compensator. The control inputs appear in Figure 7. As seen from the figure, the control inputs are continuous and smooth with respect to time, which implies that the proposed controller is easy to implement. Figures 8 and 9 show the approximation of RBF network to unknown MEMS gyroscope function . The approximation result is impressive because of the satisfactory performance of the RBF NN. As shown in the two figures, RBF NN could approximate the unknown gyroscope function quickly using the available measured signals throughout the whole compact set.
In order to demonstrate the contribution of RBF NN, the response without RBF NN is also discussed and shown as in Figures 10 and 11. The responses with the controller , that is, with no neural network, are drawn. A PD controller should give bounded errors if is large enough and the tracking errors belong to a compact set. It is very clear that the addition of the NN makes a very significant improvement in the tracking performance.
To compare the performance of the proposed controller and the neural compensator without sliding mode method in , Figures 12, 13, and 14 show the response with the neural compensator under the same gyroscope parameters and disturbances introduced herein.
The tracking results with neural compensator show clearly that both the convergence time and the ultimate tracking error bound are worse than the proposed neural sliding mode controller, demonstrating that adaptive sliding mode controller using neural network approximation could improve the dynamic and static performance.
The trajectory control of the MEMS gyroscope using adaptive NN controller is investigated. A novel weight tuning algorithm designed based on Lyapunov stability theorem is derived to establish the bounded tracking errors and NN weights, which consists of a standard term plus robust signal that provides the possibility of arbitrary small tracking error. It is clearly observed that the MEMS gyroscope function can be effectively approximated by its estimate using the RBF neural network and the tracking error of the proof mass can be greatly improved in the presence of model uncertainties and external disturbances. Numerical simulations verify the effectiveness of the proposed adaptive NN compensation scheme to cope with all structured and unstructured uncertainties existing in the MEMS gyroscope.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
The authors thank the anonymous reviewers for their 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 University Graduate Research and Innovation Projects of Jiangsu Province under Grant no. CXLX12_0235, and the Fundamental Research Funds for the Central Universities under Grant no. 2013B24614.
F. Lewis, S. Jagannathan, and A. Yesildirek, Neural Network Control of Robot Manipulators, Taylor and Francis, 1999.
S.-C. Lin and Y.-Y. Chen, “RBF network-based sliding mode control,” in Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, pp. 1957–1961, October 1994.View at: Google Scholar
J. Fei and Y. Yang, “Adaptive neural compensation scheme for robust tracking of MEMS gyroscopes,” in Proceedings of IEEE Conference on SMC, pp. 1546–1551, Seoul, Korea, 2012.View at: Google Scholar
J. Fei and H. Ding, “Adaptive neural sliding mode control of MEMS triaxial gyroscope based on feedback linearization approach,” in Proceedings of Annual Conference of SICE, pp. 1271–1276, Akita, Japan, 2012.View at: Google Scholar