Mathematical Problems in Engineering

Volume 2014 (2014), Article ID 631396, 8 pages

http://dx.doi.org/10.1155/2014/631396

## Study on Application of T-S Fuzzy Observer in Speed Switching Control of AUVs Driven by States

^{1}College of Automation, Harbin Engineering University, Harbin 150001, China^{2}China Ship Research and Development Academy, Beijing 100192, China

Received 31 January 2014; Accepted 31 March 2014; Published 12 May 2014

Academic Editor: Michael Lütjen

Copyright © 2014 Xun Zhang 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

Considering the inherent strongly nonlinear and coupling performance of autonomous underwater vehicles (AUVs), the speed switching control method for AUV driven by states is presented. By using T-S fuzzy observer to estimate the states of AUV, the speed control strategies in lever plane, vertical plane, and speed kept are established, respectively. Then the adaptive switching law is introduced to switch the speed control strategies designed in real time. In the simulation, acoustic Doppler current profile/side scan sonar (ADCP/SSS) observation case is employed to demonstrate the effectiveness of the proposed method. The results show that the efficiency of AUV was improved, the trajectory tracking error was reduced, and the steady-state ability was enhanced.

#### 1. Introduction

Many typical tasks of AUV require accurate speed control, such as path tracking and attitude control [1]. Hence, the suitable speed control strategies are important to the whole control system of AUV. However, the highly nonlinear, highly coupling, and underactuated characteristics of the dynamic model of AUV make it difficult to design the speed controller. Considering that the complex task of AUV usually is divided into lever plane task and vertical plane task and executed independently, the conventional dynamic model of AUV can be decoupled into control of speed, yaw, and depth independently [2]. Based on the linearization or decoupling of usual dynamic model of AUV, a large class of methods have been introduced to the speed control of AUV.

As the AUV dynamic model can be linearized at the domain of the working point, the PID speed controller is designed to keep the speed of AUV at a given value [3]. However, the general PID controller’s parameters are fixed and difficult to set; then the adaptive PID control method is introduced in [4]; the parameters of the controller will be updated according to the speed error. Due to the uncertain disturbance of AUVs dynamic model, such as the current disturbance [5], unmodeled dynamics [6, 7], and measurement noise [8], we cannot get the precise dynamic model of AUV. Then, the control methods which do not rely on the exact model are introduced in [9]; in this paper, wave disturbances in both vertical and horizontal planes were considered. A nonlinear, Lyapunov-based, adaptive output feedback control law is designed to depth tracking and attitude control of AUV. In [10], the robust adaptive speed controller is designed for a flexible hypersonic vehicle model which is nonlinear and multivariable and includes uncertain parameters. With a view to the unknown current and unmodeled dynamics, the radial basis function (RBF) neural net is concerned to estimate the uncertain parameters of the vehicle’s model [11], and then the speed controller is designed. However, the vehicle dynamics change by different scientific missions and the acoustic motion estimation and control method are researched in [12]. In order to estimate the states of the unknown inputs, the observer was designed for T-S fuzzy models in [13]. The stability of speed controller is also important to the whole control system. Reference [14] analyse the stability of PD speed controller and S-surface speed controller, which were designed based on the Lyapunov’s direct.

The methods mentioned above all depend on the decoupling dynamic model of AUV. Through the analysis of AUV dynamic model, it is concluded that when AUV is sailing in lever plane or diving in vertical plane, the coupling torque developed by vertical steering rudder or lever steering rudder can be approximately ignored, but the coupling force or torque developed by speed still exits, and with the increase of the AUV speed, the coupling will be higher [15]. In this paper, considering the coupling between speed and states, a speed switching control method driven by AUV states is proposed. Through the estimation of AUV states by T-S fuzzy observer, the speed control strategy is designed in lever plane, vertical plane, and speed kept, respectively. Then the adaptive switching law is given to switch the speed control strategies established in real time.

The structure of the paper is as follows. Section 2 introduces the nonlinear dynamic model of AUV, and the nonlinear coefficient matrix is stressed. In Section 3, the T-S fuzzy observer is designed, which is based on the dynamical model of AUV. By the estimation of AUV states, Section 4 establishes the speed control strategies of AUV. ADCP/SSS observation case is considered in Section 5 to evaluate the efficiency of the speed control method proposed in this paper. Finally, we draw conclusion in Section 6.

#### 2. AUV Model

The vehicle we studied in this paper is equipped with three actuators: a main thruster for propulsion, a vertical steering rudder, and a lever steering rudder. Since the controllable dimensions are less than model dimensions, the controller designed for such AUV is underactuated. According to [16], the 6-DOF dynamical model of AUV described by matrix and vector is put forward as follows: where is the linear velocity and angular velocity of AUV in the body-fixed reference frame; is the actuator output, which includes propeller thrust, rudder angle, and stern angle, respectively; is coefficient matrix; is control matrix; are nonlinear matrix; is the interference gain matrix; and are constant matrices. is the pitch, yaw, and generalized position of the AUV in the earth-fixed reference frame.

According to the standard motion equation of AUV, the nonlinear matrix and in (1) can be described aswhere , , , , , , are dimensional hydrodynamic coefficients of AUV dynamical model.

#### 3. AUV State Estimation Based on T-S Fuzzy Observer

The nonlinear parts in (2) can be described by set as follows: To construct the T-S fuzzy observer based on AUV’s dynamical model, (1) must be rewritten as T-S fuzzy form. So, the neighborhood nonlinear approximation principle of fuzzy inference system [17] is introduced; then (1) can be rewritten as

: If is and is ; then where , is the number of rules; is the fuzzy set; , , , and are the constant matrices which were linearized by (2). Then, the approximate T-S fuzzy model based on (4) can be designed as follows: where , and is the weight unitary function; according to [13, 18], it can be calculated as where ; can be calculated as Together with (6), we can get that the total number of rule is .

Considering the external disturbances of AUV which mainly come from sea currents and the unmodeled dynamics of model, we can define sea currents disturbance as and unmodeled dynamics of AUV as and . Then, the uncertain input of AUV can be described as where , , and are unknown. Then (4) can be rewritten as Then, we can design T-S fuzzy observer based on AUV T-S fuzzy model (10) as follows: where donates the Moore-Penrose pseudoinverse of output matrix ; , are gain matrices for each rule; , , , , , can be calculated by LMI as The basic sufficient stability conditions for this observer were derived in [19].

#### 4. Speed Control Strategies Driven by States

According to the 6-DOF dynamic model of AUV, we know that the speed of AUV is strong coupling with the states of AUV. So if the AUV speed is static, then the coupling force and moment will be different depending on the difference of AUV states, which can influence the precision of actual operation of AUV [20]. Our objective is to design a strategy of AUV speed, which is driven by AUV states, so as to decrease or eliminate the influence derived by the changing of AUV states.

##### 4.1. Lever Variable Speed Control Strategy

When AUV is sailing in the horizontal plane, the states involved are AUV speed, sway velocity, and yaw velocity. According to the experiments, we know that when AUV yaws in the horizontal plane, the sway velocity should be as small as possible and the lateral error will be close to zero. In order to reduce the lateral displacement and heeling angle, the speed of AUV should be decreased. On the other hand, if AUV is sailing direct or the velocity of yaw is small, we should consider accelerating the AUV speed so as to work more efficiently.

Assume that at any time the speed of AUV is which is estimated by T-S fuzzy observer; then AUV speed at time can be defined as where , are estimated sway velocity and yaw velocity; is the gain of speed control; is a function which is driven by AUV states. It is assumed that , and the index of yaw is defined as . Namely, when , the AUV speed should be accelerated. And is designed as follows: And Figure 1 described the physical meanings of function .

Figure 1 illustrates that when is approaching , will tend to 0; then the speed acceleration or deceleration is nearly 0; when is approaching 0, it means that AUV is sailing almost directly, then should quickly rise to 1 so that the speed of AUV can be kept in a high value; when is approaching , it means that AUV is surging; then should decrease to −1 quickly so that AUV speed can be kept in a low value.

Combined with (13) and (14), the speed error system in lever plane can be calculated as To follow the speed desired, PID controller is introduced, and the instruction of thruster can be described as

##### 4.2. Vertical Variable Speed Control Strategy

When AUV is diving in the vertical plane, the states involved are AUV speed , heave velocity , and pitch velocity . The most important indexes when AUV is diving are heaving time and overshoot. To ensure the stability of heave, the range of pitch is set to . According to the 6-DOF model of AUV, we know that when the lever rudder is fixed, the pitch will be controlled only by AUV speed; therefore, we should control the range of AUV speed so that the pitch can be kept in the allowed range. Hence, at the beginning of the diving stage, should be kept at a high value so that it can reach maximum pitch with little time; when the desired pitch or deep has been reached, the low speed is designed so that it can decrease the overshoot and keep the pitch stability.

To judge whether the current pitch has reached the bound, the estimation pitch is introduced as one of the speed control system states. According to the analysis above, the vertical variable speed control strategy which is driven by AUV states is designed as follows: where can be expressed as where and , respectively, represent the minimum and maximum value of pitch when AUV is diving in vertical plane; , , and are constants. Generally, and .

Combined with (17)-(18), the speed error in vertical plane can be calculated as Similarly, the instruction of thruster when AUV is diving can be calculated by (16).

##### 4.3. Speed Kept Control Strategy

Considering the bound of the thruster, the task needs, and the security restricts of AUV, the maximum and minimum value of AUV speed should be set. When the speed of AUV accelerates to the maximum value or decreases to the minimum value, the speed should be kept at this value. It is assumed that where and are constants. Then the error of AUV speed can be calculated as The calculation of thruster instruction is similar to (16).

##### 4.4. Switching Law Design

To realize the stability switching of the speed control strategies designed at a previous section, in this section, our objective is to design a suitable switching law. The switching signal value can be calculated according to the states of AUV, and then the instruction of thruster can be calculated based on the current speed error. Assume that the expression of switching system is as follows: where are the states of switching system; is switching signal; is the set of switching signal; , is coefficient matrix. We can know from the previous section that .

Assume that is the weight of subsystem in the whole system. According to [21], we can know that if each subsystem is Hurwitz matrix and average matrix is then is Hurwitz matrix too. Solve the Lyapunov function as follows: where . Define then, for any initial state , the first switching sequence can be defined as where represents the minimum order value of indicators; if there are multiple minimum indicators, then it is the minimum number of subsystem. By recursion, we can define other switching sequences as

From (27), we obtain that the switching law designed calculated switching signal based on the variable system states , and the minimum value of , represents the maximum weight of speed control subsystem.

#### 5. Simulation Results

In this section, the proposed speed control method designed on a simulation case was illustrated. The case under consideration is ADCP/SSS observation, which is one of the typical tasks of AUV. The simulation environment is MATLAB and with a full nonlinear model of AUV. Set the initial states and position in fixed frames as zero; the maximum of propulsion thrust is 2000 N; the largest rudder angle is 30°; m/s; and m/s. To prevent the heave angle which is too large and affect the ability of AUV, the maximum pitch is set to be 25°. The unvarying current is set to be heading -axis with 0.25 m/s.

Conventional control system of AUV contains three forward channels, namely, the control of AUV speed, the control of AUV heading, and the control of AUV diving. The actuators are propeller, horizontal rudder, and vertical rudder, respectively. Combined with the T-S fuzzy observer designed, the AUV speed control system is constructed as in Figure 2, where is the vector of AUV states estimated by T-S observer; is the desired value which is calculated by the speed switching control strategies designed; is the current speed, which is set to be heading east and with 0.25 m/s.

Assume that the depth of sea area is 200 m. Consider that the best range of ADCP is 30–40 m, so the desired depth of observation is 170 m. After diving to the specified depth, the AUV is ordered to keep this depth and sail along comb-shaped track. Considering the range of SSS, the comb interval is set to be 150 m, and -axis distance is 1 km. The programming points coordinates are shown in Table 1.

Three speed control methods are considered in the simulation, which are speed kept by PID controller, propulsion thrust kept, and speed switching control driven by AUV states, respectively. The simulation results are shown in Figures 3–10. Figure 3 shows the spatial trajectory tracking response under three speed control methods, where is the start point and is the end of the mission. Table 2 presents the overlength valve under different speed control methods. Combining Figure 3 and Table 2, we can see that compared with other two speed control strategies, under the method proposed in this paper, the trajectory tracking overshoot is decreased; the tracking error is smaller, and the diving angle is kept at the maximum value.

The real AUV speed response is presented in Figure 4. As can be seen, when AUV is diving or surging, under the proposed speed control method, the AUV speed will decrease quickly as the feedback of AUV states. However, under the other two speed control methods, the AUV speed is kept at a stable value. Especially, under the speed kept by PID controller, as the feedback of the speed error, at the beginning of diving or surging, the propulsion thrust will increase. Combined with Figures 5, 6, and 7, we can clearly see that under the proposed method the swaying velocity and heel angle are smaller and under the speed kept by PID controller, swaying velocity and heel angle are higher.

From Figures 8 and 9, we can see that the yaw angle changes smoothly and with no overshoot, it can also be seen from Figure 1. The pitch response can be seen from Figure 10 that under the proposed method the pitch reaches maximum value quickly so as to dive more efficiently. Otherwise, From Figures 4–10, we can see that using the approach proposed in this paper can make AUV work more efficiently.

#### 6. Conclusion

In this paper, a speed switching control method for AUV has been proposed, which is driven by AUV’s states. Through designed T-S fuzzy observer to estimate the states of AUV, several speed control strategies were put forward, and an appropriate switching law is given to switch the speed control strategies designed in real time according to the states estimated. Finally, ADCP/SSS observation case was introduced to illustrate the effectiveness of the proposed speed control method. The varying currents and other unmodeled dynamics of AUV will be considered in future work.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the Fundamental Research Funds for the Central Universities, under Grant HEUCFX041401 and the National Natural Science Foundation of China, under Grant 51309067/E091002. The authors also would like to thank the editor and two reviewers for their helpful comments.

#### References

- Y.-R. Xu and K. Xiao, “Technology development of autonomous ocean vehicle,”
*Acta Automatica Sinica*, vol. 33, no. 5, pp. 518–526, 2007. View at Publisher · View at Google Scholar · View at Scopus - K. Ishaque, S. S. Abdullah, S. M. Ayob, and Z. Salam, “A simplified approach to design fuzzy logic controller for an underwater vehicle,”
*Ocean Engineering*, vol. 38, no. 1, pp. 271–284, 2011. View at Publisher · View at Google Scholar · View at Scopus - E. Cavallo, R. C. Michelini, and V. F. Filaretov, “Path guidance and attitude control of a vectored thruster AUV,” in
*Proceedings of the ASME 7th Biennial Conference on Engineering Systems Design and Analysis*, pp. 19–22, Manchester, UK, July 2004. - M. Caccia and G. Veruggio, “Guidance and control of a reconfigurable unmanned underwater vehicle,”
*Control Engineering Practice*, vol. 8, no. 1, pp. 21–37, 2000. View at Publisher · View at Google Scholar · View at Scopus - A. H. Izadparast and J. M. Niedzwecki, “Estimating the potential of ocean wave power resources,”
*Ocean Engineering*, vol. 38, no. 1, pp. 177–185, 2011. View at Publisher · View at Google Scholar · View at Scopus - M. Ishitsuka and K. Ishii, “Control of an underwater manipulator mounted for an AUV considering dynamic manipulability,”
*International Congress Series*, vol. 1291, pp. 269–272, 2006. View at Publisher · View at Google Scholar · View at Scopus - A. Alessandri, M. Caccia, and G. Veruggio, “Fault detection of actuator faults in unmanned underwater vehicles,”
*Control Engineering Practice*, vol. 7, no. 3, pp. 357–368, 1999. View at Publisher · View at Google Scholar · View at Scopus - S. McPhail, “Autosub6000: a deep diving long range AUV,”
*Journal of Bionic Engineering*, vol. 6, no. 1, pp. 55–62, 2009. View at Publisher · View at Google Scholar · View at Scopus - T. F. Curado, A. A. Pedro, and A. Pascoal, “Nonlinear adaptive control of an underwater towed vehicle,”
*Ocean Engineering*, vol. 37, no. 13, pp. 1193–1220, 2010. View at Publisher · View at Google Scholar · View at Scopus - F. Wang, B. Tian, W. Fan, Q. Zong, and J. Wang, “Adaptive high order sliding mode controller design for hypersonic vehicle with flexible body dynamics,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 749689, 11 pages, 2013. View at Publisher · View at Google Scholar - J. Zhou, Z. Tang, and H. Zhang, “Spatial path following for AUVs using adaptive neural network controllers,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 357685, 9 pages, 2013. View at Publisher · View at Google Scholar - M. Caccia, G. Casalino, R. Cristi, and G. Veruggio, “Acoustic motion estimation and control for an unmanned underwater vehicle in a structured environment,”
*Control Engineering Practice*, vol. 6, no. 5, pp. 661–670, 1998. View at Publisher · View at Google Scholar · View at Scopus - C. Mohammed and R. K. Hamid, “Robust observer design for unknown inputs Takagi-Sugeno models,”
*IEEE Transactions on Fuzzy Systems*, vol. 21, no. 1, pp. 158–164, 2013. View at Google Scholar - L. I. Ye, J. P. Yong, and W. A. N. Lei, “Stability analysis on speed control system of autonomous underwater vehicle,”
*China Ocean Engineering*, vol. 23, no. 2, pp. 345–354, 2009. View at Google Scholar · View at Scopus - J. Petrich and D. J. Stilwell, “Robust control for an autonomous underwater vehicle that suppresses pitch and yaw coupling,”
*Ocean Engineering*, vol. 38, no. 1, pp. 197–204, 2011. View at Publisher · View at Google Scholar · View at Scopus - P. Encarnação and A. Pascoal, “3D path following for autonomous underwater vehicle,” in
*Proceedings of the 39th IEEE Confernce on Decision and Control*, pp. 2977–2982, Sydney, Australia, December 2000. View at Scopus - T. Takagi and M. Sugeno, “Fuzzy identification of systems and its applications to modeling and control,”
*IEEE Transactions on Systems, Man and Cybernetics*, vol. 15, no. 1, pp. 116–132, 1985. View at Google Scholar · View at Scopus - S. B. Nagesh, Z. Lendek, and A. A. Khalate, “Adaptive fuzzy observer and robust controller for a 2-DOF robot arm,” in
*IEEE International Conference on Fuzzy Systems*, pp. 1–7, Brisbane, Australia, June 2012. - Z. Lendek, J. Lauber, T. M. Guerra, R. Babuška, and B. de Schutter, “Adaptive observers for TS fuzzy systems with unknown polynomial inputs,”
*Fuzzy Sets and Systems*, vol. 161, no. 15, pp. 2043–2065, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. Sebastián and M. A. Sotelo, “Adaptive fuzzy sliding mode controller for the kinematic variables of an underwater vehicle,”
*Journal of Intelligent and Robotic Systems*, vol. 49, no. 2, pp. 189–215, 2007. View at Publisher · View at Google Scholar · View at Scopus - Z. Sun, “Stabilizing switching design for switched linear systems: a state-feedback path-wise switching approach,”
*Automatica*, vol. 45, no. 7, pp. 1708–1714, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet