Abstract and Applied Analysis

Volume 2013, Article ID 931285, 8 pages

http://dx.doi.org/10.1155/2013/931285

## Applications of Fuzzy Sliding Mode Control for a Gyroscope System

^{1}Department of Electrical Engineering, Southern Taiwan University of Science and Technology, Tainan 71005, Taiwan^{2}Department of Maritime Information and Technology, National Kaohsiung Marine University, Kaohsiung 80543, Taiwan^{3}Department of Electrical Engineering, Kao Yuan University, Kaohsiung 82151, Taiwan

Received 13 June 2013; Accepted 29 July 2013

Academic Editor: Chang-Hua Lien

Copyright © 2013 Shih-Chung Chen et al. 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.

#### Abstract

The study proposed the application of the fuzzy sliding mode for a gyroscope system status control. The state response analysis of the gyroscope system revealed highly nonlinear and chaotic subharmonic motions of during state formation. The current study discussed the use of tracking control on the sliding mode control and fuzzy sliding mode control of a gyroscope control system. Consequently, the gyroscope system drives from chaotic motion to periodic motion. The numerical simulation results confirm that the proposed controller provides good system stability and convergence without chattering phenomena.

#### 1. Introduction

Since most systems in the natural world are nonlinear, presenting them in a linear manner is challenging. Some systems exhibit chaotic phenomena after a certain number of intervals. The chaos phenomenon has been widely discussed and researched after many areas, including mechanical engineering, electrical engineering, and communications. Its main feature is that different initial conditions can produce large differences in the system response. According to [1–3] certain conditions generate chaotic behavior in a gyroscope system, which results in system instability and design problems. Wang and Yau used differential transformation (DT) method and Runge-Kutta (RK) method to analyze the dynamic behavior of the gyroscope system [1]. They also proposed the use of a sliding mode controller to stabilize the system and to change its state from chaotic-driven motion to periodic motion. Ge and Lee used the Lyapunov stability theory and adaptive control and random optimization method to synchronize two identical gyroscope systems and to track system parameters [2]. Fei et al. based the adaptive sliding mode control on a radial basis function neural network for three-axis gyroscope used in micro electromechanical systems (MEMS) [4]. Chaos control has attracted the attention of many scholars in recent years [5–13]. Yau et al. used particle swam optimization (PSO) algorithm to find close optimal parameters for PID control and used a PID controller for chaos synchronization control [7]. Aghababa et al. proposed the use of sliding mode control technology to solve finite-time chaos synchronization problems by enabling synchronization of two different chaotic systems with unknown parameters [9]. Li and Kumar proposed the application of nonsingular fast terminal sliding mode control technology in satellite attitude synchronization [10].

This study proposes the use of fuzzy sliding mode control technology for state control of a gyroscope system. Formation of chaotic motion in a gyroscope during subharmonic motions of is discussed, and controller designs that drive the gyroscope system state from chaotic motion to periodic motion are proposed. The framework of this paper is as follows: Section 2 briefly introduces the gyroscope system and its issues; Section 3 introduces the sliding mode control in the gyroscope system design and its applications; Section 4 proposes the fuzzy sliding mode control for a gyroscope system and introduces the application of the Lyapunov stability theory for designing a fuzzy sliding mode controller; and Section 5 presents the results of the numerical simulation approach used to verify the feasibility of the proposed method and states the conclusions of the study.

#### 2. A Gyroscope System

Figure 1 shows the heavy symmetric gyroscope placed on the structure of the vibration mechanism. The Euler angles , , and refer to the three-dimensional motion of the system, and multiple harmonic motion describes the base of the vibrations. The status order is , , and . The system dynamic equations are as follows [1]: where is the uniform gyroscope moment of inertia axis, is the weight of gravity, and is the distance between the center of the gyroscope and point . If only the system of the subharmonic motions of is considered, the system can be rewritten as

The system parameter settings are , , , , , , and . The analysis in [1] showed that the chaos phenomenon in a gyroscope system results from subharmonic motions of . Based on the dynamic analysis of [1], was selected for the study. Figure 2 shows the numerical simulation results for the phase plane trajectory of the gyroscope [2]. The results indicate that chaos phenomena resulted from two attractors of system trajectories.

Since the gyroscope system has chaotic motion, driving its state into periodic motion requires the addition of and to the second and third items of the control, respectively. The dynamic equation for the system can then be rewritten as

A controller was designed into the system to solve two consecutive equations for tracking and in the system, which allows the gyroscope system to exhibit periodic motion. Through the system control input and state response, the tracking error can be defined as . By integrating the system dynamic equations and system errors equations, the error dynamic equation can be computed as

*Definition 1. *Considering the design of the state signal and the gyroscope system in (3)–(5), if exists, then
If , then the gyroscope state track to the state signal design within a limited time.

This study designed a fuzzy sliding mode controller to enable the output state of the gyroscope system to tracking the design state. Tracking control is achieved by using the controller for gradual convergence of the error dynamics equation to zero.

#### 3. Sliding Mode Control

In accordance with the analysis of chaotic phenomena in a gyroscope system, Wang and Yau proposed the use of sliding mode controller to tracking system status and harmonic signals [1]. To ensure system stability and error convergence to zero, two sliding surfaces were defined: where and are positive constants. When the system acts on the sliding surface, (8) are satisfied as

Equations (9) can calculate the equivalent control for the system and . The equivalent control can drive the system dynamic error to maintain the gradual movement of the sliding surface toward the origin. It can be deducted that this ensures that the dynamic system error progressively approaches zero. In order to make the system error status contact the designed sliding surface, the system selects two sliding mode control inputs, which is designed as Based on [1], and are To prevent the equation from forming a noncontinuous control signal in the design, which would cause chattering phenomenon in the system, the controller presented in (10) can be modified as and are small constants and are designed to prevent the denominator from becoming zero.

#### 4. Fuzzy Sliding Mode Control

This section describes the design and implementation of a fuzzy sliding mode controller in the gyroscope system. First, the two controller inputs for the gyroscope were designed for the two sliding planes as follows: where , are positive numbers. Let (13) and (14) be equal to zero and they can easily fine equivalent control as

When the gyroscope system error states are during the sliding surface design, the controllers in (16) can be used to maintain the system states in sliding surfaces. Two fuzzy sliding mode controllers are used so that the error state quickly comes into contact with the sliding surfaces: where , are strictly positive constants. The is a normalization factor greater than zero. The is a fuzzy controller. A fuzzy controller was designed using the following 7 IF-THEN control rules: where NB, NM, NS, ZE, PS, PM, and PB are colloquial narratives representing negative big, negative medium, negative small, zero, positive small, positive medium, and positive big, respectively. The is a triangle-shaped fuzzy number, controller inference corresponds to fuzzy singleton, and the weighted average defuzzification method is used to calculate the controller output. Through addition of fuzzy controller design to control input, and of the gyroscope system (4) and (5) can be designed as Adjusting the fuzzy controller can drive the gyroscope system state to tracking the design state.

Theorem 2. *Considering the error dynamics equations (6) for the gyroscope system and the designed control inputs (19), the gyroscope system asymptotically synchronizes with the designed signal so that the system error converges to zero.*

*Proof. *A Lyapunov function is defined as
Differentiating (20) with respect to time yields
Substituting (19) obtains

Since and , its guarantee . The states errors of the system are ensured to converge to zero. This completes the proof.

To verify the performance merits of the designed fuzzy sliding controller, integral absolute error (IAE) was used as a performance index. As described by the gyroscope system verification, IAE is expressed as

#### 5. Simulation Results

This section presents the results of a numerical simulation performed to evaluate the proposed method. The efficiency of the gyroscope system was evaluated using the sliding mode control method introduced by [1] and the proposed fuzzy sliding mode controller. Performance indices were also used to compare its advantages and disadvantages. In the numerical simulation, the gyroscope system parameters were set to , , , , , and . Calculations were made at 1 ms intervals. The initial value of the gyroscope system is set to , , and . The periodic trajectories designed for the gyroscope system were , . During the simulation, control signals were added at sec to the gyroscope system. According to the sliding mode control in [1], the parameters for sliding surfaces (8) are ; the selected parameters for controllers (12) and (13) are . Figures 3 and 4 show the simulation results. The solid line represents the status of the gyroscope system; the dashed line represents the cyclical trace design in Figure 3. Figure 4 is the control signal of the sliding mode of the gyroscope system. The parameters for the proposed fuzzy sliding mode controller sliding surfaces (14) and (15) are set to , , and . The parameters chosen for controller (17) are , and , , . Figures 5 and 6 show the simulation results. The solid line represents the status of the gyroscope system; the dashed line represents the periodic trajectory in Figure 5. Figure 6 shows the control signal for the fuzzy sliding mode for the gyroscope system. Figure 7 shows the tracking error signal where, the solid line represents the sliding mode control and the dashed line the fuzzy sliding mode control. Table 1 shows the control system performance. Thus, the performance indicators confirm the satisfactory performance of the proposed gyroscope system.

#### 6. Conclusions

The study was able to explore the problem from chaotic motion to periodic motion control of the gyroscope system states. The fuzzy sliding mode control was used to drive the system states into the designed states. Introducing the Lyapunov stability theory in the design of the fuzzy sliding mode controller enables the use of the proposed control law to ensure a stable and robust gyroscope system. Simulation results show that the proposed fuzzy sliding mode control can solve gyroscope system tracking control problems and does not produce chattering.

#### Acknowledgment

This work was supported by the National Science Council of Taiwan, under Contracts NSC 102-2221-E-022-019 and 101-2221-E-022-014.

#### References

- C.-C. Wang and H.-T. Yau, “Nonlinear dynamic analysis and sliding mode control for a gyroscope system,”
*Nonlinear Dynamics*, vol. 66, no. 1-2, pp. 53–65, 2011. View at Publisher · View at Google Scholar · View at MathSciNet - Z.-M. Ge and J.-K. Lee, “Chaos synchronization and parameter identification for gyroscope system,”
*Applied Mathematics and Computation*, vol. 163, no. 2, pp. 667–682, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Boccaletti, A. Farini, and F. T. Arecchi, “Adaptive synchronization of chaos for secure communication,”
*Physical Review E*, vol. 55, no. 5 A, pp. 4979–4981, 1997. View at Google Scholar · View at Scopus - J. Fei, H. Ding, and Y. Yang, “Adaptive sliding mode control of MEMS triaxial gyroscope based on RBF network,” in
*Proceedings of the IEEE International Conference on Mechatronics and Automation (ICMA '11)*, pp. 331–336, August 2011. View at Publisher · View at Google Scholar · View at Scopus - H.-K. Chen, “Chaos and chaos synchronization of a symmetric gyro with linear-plus-cubic damping,”
*Journal of Sound and Vibration*, vol. 255, no. 4, pp. 719–740, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - C.-K. Chen, J.-J. Yan, and T.-L. Liao, “Sliding mode control for synchronization of Rössler systems with time delays and its application to secure communication,”
*Physica Scripta*, vol. 76, no. 5, pp. 436–441, 2007. View at Publisher · View at Google Scholar · View at Scopus - H. T. Yau, T. H. Hung, and C. C. Hsieh, “Bluetooth based chaos synchronization using particle swarm optimization and its applications to image encryption,”
*Sensors*, vol. 12, pp. 7468–7484, 2012. View at Google Scholar - C.-L. Kuo, “Design of a fuzzy sliding-mode synchronization controller for two different chaos systems,”
*Computers & Mathematics with Applications*, vol. 61, no. 8, pp. 2090–2095, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. P. Aghababa, S. Khanmohammadi, and G. Alizadeh, “Finite-time synchronization of two different chaotic systems with unknown parameters via sliding mode technique,”
*Applied Mathematical Modelling*, vol. 35, no. 6, pp. 3080–3091, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Li and K. D. Kumar, “Decentralized fault-tolerant control for satellite attitude synchronization,”
*IEEE Transactions on Fuzzy Systems*, vol. 20, no. 3, pp. 572–586, 2012. View at Google Scholar - H.-T. Yau, “Chaos synchronization of two uncertain chaotic nonlinear gyros using fuzzy sliding mode control,”
*Mechanical Systems and Signal Processing*, vol. 22, no. 2, pp. 408–418, 2008. View at Publisher · View at Google Scholar · View at Scopus - D. I. R. Almeida, J. Alvarez, and J. G. Barajas, “Robust synchronization of Sprott circuits using sliding mode control,”
*Chaos, Solitons and Fractals*, vol. 30, no. 1, pp. 11–18, 2006. View at Publisher · View at Google Scholar · View at Scopus - C.-L. Kuo, C.-C. Wang, and N.-S. Pai, “Design of variable structure synchronization controller for two different hyperchaotic systems containing nonlinear inputs,”
*Journal of Applied Sciences*, vol. 9, no. 14, pp. 2635–2639, 2009. View at Publisher · View at Google Scholar · View at Scopus