Abstract
This research proposes a new fractional robust data-driven control method to control a nonlinear dynamic micro-electromechanical (MEMS) gyroscope model. The Koopman theory is used to linearize the nonlinear dynamic model of MEMS gyroscope, and the Koopman operator is obtained by using the dynamic mode decomposition (DMD) method. However, external disturbances constantly affect the MEMS gyroscope. To compensate for these perturbations, a fractional sliding mode controller (FOSMC) is applied. The FOSMC has several advantages, including high trajectory tracking performance and robustness. However, one of the drawbacks of FOSMC is generating high control inputs. To overcome this limitation, the researchers proposed a compound controller design that applies fractional proportional integral derivative (FOPID) to reduce the control efforts. The simulation results showed that the proposed compound Koopman-FOSMC and FOPID (Koopman-CFOPIDSMC) outperformed two other controllers, including FOSMC and Koopman-FOSMC, in terms of performance. Therefore, this research proposes an effective approach to control the nonlinear dynamic model of MEMS gyroscope.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
One of the useful tools to measure angular velocity is the MEMS gyroscope. By measuring the x- and y-direction movement of the MEMS gyroscope, the angular velocity will be obtained. This device is used in many industries such as the automotive industry and medicine. The most important part of using the MEMS gyroscope is how to control this device appropriately. Several control methods are used to control the MEMS gyroscope such as proportional integral derivative (PID) controller [1], sliding mode control (SMC) [2], and some other controllers [3, 4]. However, the mentioned controllers were applied on a linear MEMS gyroscope. There are a few researchers who worked on the nonlinear dynamic model of MEMS gyroscope and controlled it in comparison with linear MEMS gyroscope [5].
Linearization of the nonlinear dynamic model will give better information on the behavior of the systems. This will provide some detail to better analyze the system. Koopman's theory is one of the strong approaches to linearizing the nonlinear dynamic model [6,7,8,9]. Koopman operators have infinite dimensions and capture nonlinear dynamics in a lifted global linear way. A class of linear predictors is produced by the finite data-driven approximation of Koopman operators, which helps create linear control of nonlinear dynamical systems with minimal computing complexity [8]. The main part of applying Koopman's theory on nonlinear dynamic equations is how to approximate the Koopman operator. The DMD method is one of the most prevalent methods in estimating the Koopman operator [10,11,12]. Nathan et al. [13] investigate using Koopman theory to solve data-driven spatiotemporal systems and nonlinear partial differential equations. They show that an appropriate approximation to the nonlinear dynamics depends on the observables selected for building the Koopman operator. The DMD technique may be used to compute a finite-dimensional approximation of the Koopman operator, together with its eigenfunctions, eigenvalues, and Koopman modes, if such observables can be discovered.
Several control methods are used to control the linearized dynamic model by Koopman theory such as linear quadratic regulator (LQR) [14, 15] and model predictive controller (MPC) [16, 17]. The LQR and MPC controllers have suitable performances, but the main drawbacks of those controllers are not robust against external disturbances. The FOSMC is a strong robust control method that can suppress external perturbations. The reason that makes this controller a strong control approach is that the fractional order used in the sliding mode surface provides the ability to select the fraction power of error. This issue provides excellent flexibility to select the best sliding mode surface. Therefore, the dynamic states of the linearized dynamics model can suitably slide close to the normal behavior of the system. It causes to provide the better control performance in terms of high tracking performance, low tracking error, and robustness.
Most of the previous works related to MEMS gyroscopes were about the control of linear dynamics of MEMS gyroscopes by FOSMC. However, the FOSMC was used in combination with the other controller to benefit from the advantages of other controllers like reducing the chattering phenomenon [18, 19] and improving tracking performance [20]. Based on high-gain and disturbance observers, a dynamic backstepping sliding mode controller with a fractional order sliding surface and a fuzzy boundary layer is created to regulate the operation of a MEMS gyroscope [21]. A combination of sliding mode and a reliable nonlinear backstepping controller is applied to suppress the system uncertainties. The sliding surface in this model is chosen to be of fractional order to improve the degree of freedom of the controller. In addition to the initial sliding surface, a new dynamic sliding surface is utilized to considerably minimize the chattering phenomena in the control signal. Fuzzy control theory is also used to regulate the boundary layer. Wang and Fei [22] proposed the use of a trajectory tracking control system with a neural network estimator to sustain the vibrations of the gyroscope-proof mass. A recurrent Chebyshev fuzzy neural network with a self-evolving mechanism and a fractional controller based on the terminal sliding mode are both included in the suggested control system. A self-evolving recurrent Chebyshev fuzzy neural network is presented to reduce the need for nonlinear functional certainty, and the fractional-order terminal sliding mode control may guarantee the tracking error is exponentially stable.
This paper proposes a data-driven method to control a nonlinear MEMS gyroscope. The Koopman theory is applied to linearize the nonlinear model of the MEMS gyroscope. The DMD method is used to approximate the Koopman operator. The model uncertainty and unmodeled dynamics are unknown parameters in a nonlinear dynamic model. Therefore, the data-driven Koopman method will provide a high-fidelity model by linearization of nonlinear dynamics models. A FOSMC is applied to the nonlinear dynamic model and linear dynamic model by the Koopman theory to verify the better performance of the control system after linearization in terms of high trajectory tracking, low tracking error, and low control input signals. A new compound control method is applied to improve the control method of the FOSMC such as reducing the control efforts.
The rest of this paper is organized as: Sect. 2 introduces the nonlinear MEMS gyroscope dynamic model. Section 3 explains the FOSMC. Section 4 discusses the Koopman theory. Section 5 describes the DMD method. Section 6 proposes Koopman-FOSMC. Section 7 produces the new compound proposed controller. Section 8 demonstrates the simulation results. Section 9 describes the conclusion.
2 Nonlinear MEMS gyroscope dynamic model
The MEMS gyroscope is a small device that can measure angular velocity. This device has been used in many applications such as automotive and medicine [2, 23, 24]. Most of the research considered the linear model of the MEMS gyroscope, but we provide a nonlinear dynamic model of the MEMS gyroscope. Figure 1 depicts a typical z-axis MEMS gyroscope construction.
A proof mass supported by springs, sensor mechanisms, and an electrostatic actuation system are all components of a typical MEMS gyroscope design [2]. The oscillatory motion created by the electrostatic actuation system may be used to determine the location and speed of the proof mass. The gyroscope rotates at a gradually increasing angular velocity \({\Omega }_{z}\) while the proof mass is mounted on a frame that moves with a constant linear velocity. Due to the small displacements x and y, it is anticipated that the centrifugal forces \(m{\Omega }_{z}^{2}x\) and \(m{\Omega }_{z}^{2}y\) will be negligible. The \(2m{\Omega }_{z}^{*}\dot{y}\) and \(2m{\Omega }_{z}^{*}\dot{x}\), Coriolis forces develop parallel to the driving and rotational axes. The following equations describe the gyroscope's dynamics:
Since there is no external force acting on the system, the origin of the coordinates in Eqs. 1 and 2 is located in the middle of the proof mass. The asymmetric spring and damping coefficients are represented by the constants \({k}_{xy}^{*}\) and \({d}_{xy}^{*}\), respectively. The control forces in the x- and y-direction, \({u}_{x}^{*}\) and \({u}_{y}^{*}\), are often accepted despite the potential of modest unknown deviations from their nominal values. The damping rates, \({d}_{xx}^{*}\) and \({d}_{yy}^{*}\), and the spring constants of springs interacting in the x- and y-directions, \({k}_{xx}^{*}\) and \({k}_{yy}^{*}\), are also often described. Consequently, the terms \(\beta {x}^{3}\) and \(\beta {y}^{3}\) will be introduced by the positive constants "electromechanical" and "mechanical" nonlinearity. Equations 1 and 2 might be expressed using the vector form shown below:
where \(q^{*} = \left[ {\begin{array}{*{20}c} {x^{*} } \\ {y^{*} } \\ \end{array} } \right],u = \left[ {\begin{array}{*{20}c} {u_{x}^{*} } \\ {u_{y}^{*} } \\ \end{array} } \right],\Omega^{*} = \left[ {\begin{array}{*{20}c} 0 & { - \Omega_{z}^{*} } \\ {\Omega_{z}^{*} } & 0 \\ \end{array} } \right],D^{*} = \left[ {\begin{array}{*{20}c} {d_{xx}^{*} } & {d_{xy}^{*} } \\ {d_{xy}^{*} } & {d_{yy}^{*} } \\ \end{array} } \right],K_{a} = \left[ {\begin{array}{*{20}c} {k_{xx}^{*} } & {k_{xy}^{*} } \\ {k_{xy}^{*} } & {k_{yy}^{*} } \\ \end{array} } \right],\) and nondimensional parameters as follows:
Since the reference length is q0, the natural frequency of each axis is \({\omega }_{0}\). The MEMS gyroscope's dynamic equations are listed below:
A possible model for an external disturbance, E, is:
\(P= {K}_{b}\), and \(Y = (D+2\Omega )\) determine certain parameter variation uncertainties. As a result, Eq. (8) might be written as:
where
Equation (9) can be shown in a variety of ways:
D(t) is defined as:
The x- and y-directions of Eq. (10)'s equation are as follows:
The following parameters will be used to convert Eq. (12) into first-order dynamic equations:
There is also:
Equation (13) demonstrates:
The following is how Eq. (14) can be stated in its original form:
3 Fractional sliding mode control
The FOSMC is a robust control method that can suppress external perturbations. This control method is a flexible method that can provide fraction derivative power of error [25,26,27]. This issue will provide the opportunity for choosing the suitable sliding mode surface that is the most important part of designing FOSMC. The fractional sliding mode surface defines as:
where \(e\left(t\right)={q}_{d}-q\) and D is fractional operator defines as \(D=\frac{d}{dt}\) and μ is fractional order.
The FOSMC contains two control sections: equivalent control law and reaching control law. The equivalent control can be obtained by \(\dot{s}\left(t\right)=0\). Taking derivative from Eq. (16) produces:
Equation (10) is substituted into Eq. (17) to produce.
The ueq(t) can be described by \(\dot{s}\left(t\right)=0\) as
The reaching control law introduces as
where Kr is positive constant. Therefore, the control input is defined as
A powerful technique for demonstrating the stability of the FOSMC is the Lyapunov theory [1]. It is characterized as:
Taking derivative from Eq. (22) describes:
The outcome of putting Eq. (18) into Eq. (23):
Substituting Eq. (21) into Eq. (24) produces:
Equation (19) used into Eq. (25) results in:
Simplifying Eq. (26) produces:
Substituting Eqs. (20) into (27) describes:
Equation (28) shows that the \(\dot{V}\left(t\right)<0\). Therefore, the proposed controller is stable.
In this study, we employ the Grunwald–Letnikov fractional type [28]. The Grunwald–Letnikov fractional derivative of the function e(t) with respect to t is given:
where
The detailed explanation about the Grunwald–Letnikov method can be found in [28]. The proposed control method block diagram is shown in Fig. 2.
4 Koopman theory
The Koopman operator theory states that to successfully solve a nonlinear dynamical system, the nonlinear system's initial form must be converted into an infinite-dimensional state space, resulting in a linear system [29]. The discrete time definition of a dynamic is [29]:
where F is indicated by
The dynamics of the original system becomes linear when the dynamics of a finite-dimensional nonlinear system is transferred to an infinite-dimensional function space. The measurement function and observable g is a real-valued scalar in an infinite-dimensional Hilbert space. Based on this observable, the Koopman operator generates as follows:
Using a continuous system, smooth dynamics may be constructed.
where K is the Koopman operator. Due to the Koopman operator's infinite dimensions, which is important yet troublesome for operation and representation. Applied Koopman analysis approximates the evolution on a subspace covered by a limited number of measurement functions rather than detailing the development of all measurement functions in a Hilbert space. By restricting the operator to an invariant subspace, the Koopman operator may be represented as a finite-dimensional matrix. Any combination of the Koopman operator's eigenfunctions will cover a Koopman invariant subspace. When the Koopman model's eigenfunction \(\varphi \left(z\right)\) fulfills eigenvalue:
A Koopman eigenfunction (z) is defined in continuous time:
The Koopman operator must be approximated from the application side using a finite-dimensional approximation. One method that can estimate the Koopman operator is the DMD method.
5 DMD method
DMD uses a robust numerical technique to approximate the Koopman operator.
where \({Z}^{\prime}\) is time shifted of matrix Z as:
The A may be determined as follows using Eq. (36):
where the Moore–Penrose pseudoinverse is represented by + . Because a normal calculation utilizing A would necessitate a substantial amount of computation due to its enormous n, we may utilize Singular Value Decomposition (SVD) on the snapshots to identify the dominant characteristics of the pseudoinverse of Z [30].
where \( U\epsilon R^{{n \times r}} \),\(\Sigma \epsilon {R}^{r \times r}\), \(V \epsilon {R}^{n \times r}\), and * demonstrates the conjugate transpose. SVD's reduced rank for approximating Z is r. The eigenvectors can be defined as:
where W is a set of dynamic full rank system eigenvectors.
Let λ be eigenfunction, then we will have:
where K is the Koopman operator.
The demonstration of the linearized dynamic model is as follows:
6 Koopman fractional sliding mode control
The fractional sliding mode surface can be defined as:
where \(e\left(t\right)={y}_{d}-y\). Taking derivative from Eq. (42) produce:
Substituting Eqs. (41) into (43) provides
The equivalent control can be demonstrated by \(\dot{s}=0\) as:
The reaching control law defines as:
The Koopman-FOSMC can be demonstrated as:
The stability of the Koopman-FOSMC controller can be proved by using the Lyapunov theory as:
Taking derivative from Eq. (48) results,
Substituting Eqs. (44) into (49) provides:
Equation (47) is substituted into Eq. (50) to produce:
Substituting Eqs. (45) into (51) provides:
Simplifying Eq. (52) produces:
Substituting Eqs. (46) into (53) provides
The \(\dot{V}\left(t\right)<0\) according to Eq. (54). The suggested controller is hence stable.
7 The proposed control method
Most of the controllers have some disadvantages. The Koopman-FOSMC controller provides robustness and FOPID has high tracking performance. By combining the Koopman-FOSMC and FOPID controllers, the new compound controller will be obtained which benefits the advantages of both controllers. The proposed control method defines as:
where \({u}_{\mathrm{FOPID}}\left(t\right)\) can be defined as:
where are the \({K}_{p}, {K}_{i}\) and \({K}_{d}\) are the FOPID controller’s gains.
8 Simulation results
This research applies a new compound control method to control nonlinear MEMS gyroscope dynamics. The simulations are done in MATLAB software. The proposed controller parameters are as follows:
The initial values of position are \({q}_{0x}=0.4\) and \({q}_{0y}=0.6\). Also, the initial velocity values are as \({\dot{q}}_{0x}=0\) and \({\dot{q}}_{0y}=0\). The desired trajectory tracking for x-axis is \({q}_{dx}=\mathrm{sin}(4.17t)\) and y-axis is \({q}_{dy}=1.2\mathrm{sin}(5.11t).\)
Figure 3 shows the position tracking of x-axis and y-axis under FOSMC, Koopman-FOSMC and Koopman-CFOPIDSMC. The conventional FOSMC controller has a low tracking trajectory in comparison with two other controllers such as the Koopman-FOSMC and Koopman-CFOPIDSMC. It illustrates that the data-driven Koopman method affects highly improving tracking performance. Figure 4 illustrates the position tracking error of the x- and y-axis under FOSMC, Koopman-FOSMC and Koopman-CFOPIDSMC. The proposed controller has a low tracking error in comparison with the FOSMC and Koopman-FOSMC. Figure 5 shows the velocity of the x- and y-axis under the proposed controllers. Figure 6 shows the input control efforts under the FOSMC, Koopman-FOSMC and Koopman-CFOPIDSMC controllers. The control input under conventional FOSMC reached 200 (N.m) in some cases. When the Koopman method was used, the control inputs were significantly reduced. Also, the main benefit of the compound controller (Koopman-CFOPIDSMC) is reducing the control input signals. A small part of the figures was magnified to show the reduction of the control input by implementing the Koopman-CFOPIDSMC controller.
9 Conclusions
This paper proposed a compound controller based on the data-driven Koopman method. First, a conventional FOSMC is applied on a nonlinear MEMS gyroscope dynamic model. Then, the Koopman theory is used to linearize the nonlinear dynamic model of the MEMS gyroscope. The main problem with using the Koopman theory is how to obtain the Koopman operator. The DMD method was used to obtain the Koopman operator. When the model was linearized by the Koopman method, the FOSMC was used to control the x- and y-axis of the linearized model of the MEMS gyroscope. The results illustrated that using the Koopman method will significantly improve the controller performance. Finally, a compound controller is proposed to improve trajectory tracking and reduce the control inputs. Simulation results verified the performance of the Koopman-CFOPIDSMC was better than the FOSMC and Koopman-FOSMC.
Data availability
Enquiries about data availability should be directed to the authors.
References
Rahmani, M., Komijani, H., Ghanbari, A., Ettefagh, M.M.: Optimal novel super-twisting PID sliding mode control of a MEMS gyroscope based on multi-objective bat algorithm. Microsyst. Technol. 24(6), 2835–2846 (2018)
Fang, Y., Fu, W., Ding, H., Fei, J.: Modeling and neural sliding mode control of mems triaxial gyroscope. Adv. Mech. Eng. 14(3), 16878132221085876 (2022)
Zhang, R., Shao, T., Zhao, W., Li, A., Xu, B.: Sliding mode control of MEMS gyroscopes using composite learning. Neurocomputing 275, 2555–2564 (2018)
Rahmani, M., Rahman, M.H.: A novel compound fast fractional integral sliding mode control and adaptive PI control of a MEMS gyroscope. Microsyst. Technol. 25(10), 3683–3689 (2019)
Su, Y., Xu, P., Han, G., Si, C., Ning, J., Yang, F.: The characteristics and locking process of nonlinear MEMS gyroscopes. Micromachines 11(2), 233 (2020)
Chen, J., Dang, Y., Han, J.: Offset-free model predictive control of a soft manipulator using the Koopman operator. Mechatronics 86, 102871 (2022)
Schulze, J.C., Doncevic, D.T., Mitsos, A.: Identification of MIMO Wiener-type Koopman models for data-driven model reduction using deep learning. Comput. Chem. Eng. 161, 107781 (2022)
Zhang, X., Pan, W., Scattolini, R., Yu, S., Xu, X.: Robust tube-based model predictive control with Koopman operators. Automatica 137, 110114 (2022)
Lusch, B., Kutz, J.N., Brunton, S.L.: Deep learning for universal linear embeddings of nonlinear dynamics. Nat. Commun. 9(1), 1–10 (2018)
Qian, S., Chou, C.A.: A Koopman-operator-theoretical approach for anomaly recognition and detection of multi-variate EEG system. Biomed. Signal Process. Control 69, 102911 (2021)
Kou, J., Le Clainche, S., Ferrer, E.: Data-driven eigensolution analysis based on a spatio-temporal Koopman decomposition, with applications to high-order methods. J. Comput. Phys. 449, 110798 (2022)
Sinha, S., Nandanoori, S.P., Yeung, E.: Koopman operator methods for global phase space exploration of equivariant dynamical systems. IFAC-PapersOnLine 53(2), 1150–1155 (2020)
Nathan Kutz, J., Proctor, J.L., Brunton, S.L.: Applied Koopman theory for partial differential equations and data-driven modeling of spatio-temporal systems. Complexity 2018, 1–16 (2018)
Mamakoukas, G., Castano, M., Tan, X., Murphey, T.: Local Koopman operators for data-driven control of robotic systems. In: Robot. Sci. Syst. (2019)
Gibson, A., Yee, X., Calvisi, M.: Application of Koopman LQR to the control of nonlinear bubble dynamics. In: APS Division of Fluid Dynamics Meeting Abstracts (pp. P21–003) (2021)
Arbabi, H., Korda, M., Mezić, I.: A data-driven koopman model predictive control framework for nonlinear partial differential equations. In: 2018 IEEE Conference on Decision and Control (CDC) (pp. 6409–6414). IEEE (2018)
Calderón, H. M., Schulz, E., Oehlschlägel, T., Werner, H.: Koopman Operator-based Model Predictive Control with Recursive Online Update. In: 2021 European Control Conference (ECC) (pp. 1543–1549). IEEE (2021)
Huimin, W., Liang, H., Yunxiang, G., Hailong, C., Cheng, L.: Adaptive neural Sliding Mode Control for MEMS gyroscope using fractional calculus. In: 2019 34th Youth Academic Annual Conference of Chinese Association of Automation (YAC) (pp. 602–606). IEEE (2019).
Rahmani, M., Rahman, M.H., Ghommam, J.: Compound fractional integral terminal sliding mode control and fractional PD control of a MEMS gyroscope. In: New Trends in Robot Control (pp. 359–370). Springer, Singapore (2020)
Rahmani, M., Rahman, M.H.: A new adaptive fractional sliding mode control of a MEMS gyroscope. Microsyst. Technol. 25(9), 3409–3416 (2019)
Fazeli Asl, S.B., Moosapour, S.S.: Fractional order fuzzy dynamic backstepping sliding mode controller design for triaxial MEMS gyroscope based on high-gain and disturbance observers. IETE J. Res. 67(6), 799–816 (2021)
Wang, Z., Fei, J.: Fractional-order terminal sliding mode control using self-evolving recurrent Chebyshev fuzzy neural network for MEMS gyroscope. IEEE Tran. Fuzzy Syst. (2021)
Lu, C., Fei, J.: Adaptive sliding mode control of MEMS gyroscope with prescribed performance. In 2016 14th International Workshop on Variable Structure Systems (VSS) (pp. 65–70). IEEE (2016)
Guo, Y., Xu, B., Zhang, R.: Terminal sliding mode control of mems gyroscopes with finite-time learning. IEEE Trans. Neural Netw. Learn. Syst. 32(10), 4490–4498 (2020)
Gao, P., Zhang, G., Ouyang, H., Mei, L.: An adaptive super twisting nonlinear fractional order PID sliding mode control of permanent magnet synchronous motor speed regulation system based on extended state observer. IEEE Access 8, 53498–53510 (2020)
Fei, J., Feng, Z.: Fractional-order finite-time super-twisting sliding mode control of micro gyroscope based on double-loop fuzzy neural network. IEEE Trans. Syst. Man Cybern. Syst. 51(12), 7692–7706 (2020)
Mujumdar, A., Tamhane, B., Kurode, S.: Observer-based sliding mode control for a class of noncommensurate fractional-order systems. IEEE/ASME Trans. Mechatron. 20(5), 2504–2512 (2015)
Abdelouahab, M.S., Hamri, N.E.: The Grünwald-Letnikov fractional-order derivative with fixed memory length. Mediterr. J. Math. 13(2), 557–572 (2016)
Ping, Z., Yin, Z., Li, X., Liu, Y., Yang, T.: Deep Koopman model predictive control for enhancing transient stability in power grids. Int. J. Robust Nonlinear Control 31(6), 1964–1978 (2021)
Snyder, G., Song, Z.: Koopman operator theory for nonlinear dynamic modeling using dynamic mode decomposition (2021). arXiv preprint arXiv:2110.08442
Funding
This material is based upon work supported by the National Science Foundation under 261 Grant no. 1828010.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Rahmani, M., Redkar, S. Fractional robust data-driven control of nonlinear MEMS gyroscope. Nonlinear Dyn 111, 19901–19910 (2023). https://doi.org/10.1007/s11071-023-08912-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11071-023-08912-x