Mathematical Problems in Engineering

Volume 2013 (2013), Article ID 275905, 6 pages

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

## Attitude Control of a Single Tilt Tri-Rotor UAV System: Dynamic Modeling and Each Channel's Nonlinear Controllers Design

^{1}Department of Electrical Engineering, Southern Taiwan University of Science and Technology, Tainan, Taiwan^{2}Mechanical Engineering Department, Southern Taiwan University of Science and Technology, Tainan, Taiwan

Received 2 July 2013; Revised 20 August 2013; Accepted 27 August 2013

Academic Editor: Dan Wang

Copyright © 2013 Juing-Shian Chiou 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

This paper has implemented nonlinear control strategy for the single tilt tri-rotor aerial robot. Based on Newton-Euler’s laws, the linear and nonlinear mathematical models of tri-rotor UAVs are obtained. A numerical analysis using Newton-Raphson method is chosen for finding hovering equilibrium point. Back-stepping nonlinear controller design is based on constructing Lyapunov candidate function for closed-loop system. By imitating the linguistic logic of human thought, fuzzy logic controllers (FLCs) are designed based on control rules and membership functions, which are much less rigid than the calculations computers generally perform. Effectiveness of the controllers design scheme is shown through nonlinear simulation model on each channel.

#### 1. Introduction

The UAVs (*Unmanned Aerial Vehicles*)—which are defined by the U.S. Ministry of Defense as flying vehicles without pilots—have seen exponential growth in military surveillance, civilian information search, and rescue operations during the last decade. The development of UAVs requires a variety branch of knowledge including aeronautics, automatic control, computer science, signal processing, and sensors. One of current trends is to design the small flying machines capable of hovering maneuvers as well as forward flight. Though some dedicated efforts to improve the traditional helicopter structure frame, there are some new aerodynamical configurations that introduce important features [1–8]. VTOL (vertical takeoff and landing) UAV generally has shapes like helicopter or quadrotor. However, quadrotor UAV has more blades and more motors than general helicopter. So it is more dangerous, and its energy efficiency is low.

This paper presents a novel tri-rotor UAV system equipped with a single tilt servomotor on the tail part of the tri-rotor UAV to delete the inverse torque and enhance controllability of yaw moment. The other two fronts of rotors rotate in opposite directions, which created reaction torque almost zero. The proposed frame design is equidistant from gravity centre to stabilize itself automatically at any desired hovering tasks, which are calculated by Newton-Raphson method [9]. We have also proposed the back-stepping control strategy which stabilizes via Lyapunov global stability theorem. Hence, the whole system is stable and controllable. Fuzzy logic, which makes it easier to mechanize tasks, has the advantage of a solution to the problem that human operators can understand; thus their experience can be used to design the controller.

#### 2. Dynamic Modeling of the Tri-Rotor UAV

##### 2.1. Single Tilt Tri-Rotor Model

The Newton-Euler formulation is used to develop the model of the tri-rotor. In Figure 1, which is derived from [6], the vehicle is described using a right hand generalized earth coordinate system of axes and a right hand body frame. Positive -axis points towards the front rotors (rotors 1 and 2), positive -axis points towards right (rotor 2), and positive -axis is directed downwards. Positive sense of the three angular variables Roll (), Pitch (), and Yaw () is decided by a right handed rotation about positive , , and axes, respectively. The tilt angle is measured by - coordinate axis.

The dynamic modeling suggested of triple tilting rotor UAV is introduced based on Newton-Euler mathematical formulation, which has six degrees of freedom (DOF) and four inputs: three speeds of rotorcraft and one tilt angle. Following the conventional helicopter control commands, tri-rotor UAVs have similar commands, which are collective, lateral, longitudinal, and yaw or pedal [4, 10]. They are indicated as col, lat (Roll control), lon (Pitch control), and ped (Yaw control). Since two front rotors are operated in different speeds, they generate the Roll () control, for example, when speed of rotor 1 is up and that of rotor 2 down, and make the UAV toward the right and vice versa. The Pitch () control is created as the third tail rotor changes velocity. The achievement Yaw () control occurs by varying the tilt angle .

The nonlinear equations of motion of conventional UAVs, which have 6 DOFs, are also used for tri-rotor UAVs. The designed model is free to rotate and translate in 3D space, and the rigid body dynamics are derived by Newton’s laws [10, 11].

The equations are expressed as follows (see also Table 1).

Force equations:

Moment equations:

Kinematic equations:

Rotation equations:

##### 2.2. Hovering Flying Mode

Because of the significant balance of tri-rotor UAVs robot in the very beginning, the equilibrium point of hovering state must be figured out. The linearization model is chosen for this duty. Newton-Raphson method, which has the advantage such as converges very fast to root (quadratic convergence), if it converges, it requires only one reliable guess, is the good choice to compute the trim point of system.

Its calculus procedure is that if was our last guess and neither nor is zero, then the next approximation derivation will be

The four motion equations below are applied by Newton-Raphson method to find out the trim point of tri-rotor UAVs system: where , and are the rotor speeds of three rotorcrafts, respectively, is tail tilt angle, is thrust factor, and is drag factor.

The thrust and torque are supposed to be constant; that is, these coefficients are not changed. It means that the system is asymptotically stable. Thus, an LQR controller gain is applied to guarantee and maintain the system stability, in both linear and nonlinear models.

#### 3. Control Strategy Design

##### 3.1. LQR Control Gain

For the most important thing is to keep hovering mode all the operation time. The system must be asymptotically stable. A system is stabilizable if there exists a state feedback control such that the closed-loop system is exponentially stable. Next, the Riccati equation is solved for the feedback gain matrix : .

If , then the closed-loop system is asymptotically stable. Thus, the LQR controller gain is applied to guarantee and maintain the system stability, in both linear and nonlinear models (see Figures 2 and 3).

##### 3.2. Back-Stepping Control Design

The tri-rotor aerial robot is a lofty nonlinear, multivariable, strongly coupled, and underactuated subsystem. Since the research environment is indoor or low-wind outdoor, in order to achieve flight attitude control of system, back-stepping nonlinear control method is proposed.

The back-stepping controller design usually starts with a “virtual control” input for stabilizing a small subsystem based on Lyapunov stability theorem [5, 8, 12, 13]. In order to control various flying attitudes of nonlinear model, the presented controller is applying for the following channels: Roll angle (), Pitch angle , and Yaw . In each rotational control, we deal with an easier single-input, single-output (SISO) design problem; each step provides a reference for the next design step. Thus, step by step, a control input for the overall system, which satisfies the Lyapunov candidate function, is designed.

In case of the Roll [-] channel, for example, the objective of virtual input design is to make the actual state converge to the desired state . The tracking error is defined as . Assume is the virtual input for controlling the subsystem state. The chosen Lyapunov candidate function is .

Let the virtual input , where and a regulatable parameter. This makes the subsystem stable since the Lyapunov stability is observed as .

Secondly, we will find the stabilizing control law for the whole system while converges to . Let the error be between and ; that is, . Choose the Lyapunov candidate function for the whole system to be .

Then, from (4), the control input will become , where is a positive tuning parameter. This makes the Roll channel stable and controllable since the Lyapunov stability is observed as .

The Pitch channel [-] with control input and Yaw channel [-] with control input are similarly taken as Roll channel. Hence, the whole system is controlled by Lyapunov candidate function presented on back-stepping method.

##### 3.3. Fuzzy Logic Controllers (FLC) Design

The dynamic behavior of FLC is characterized by a set of linguistic rules based on expert knowledge [14–18]. The error and change-in-error or error rate are the input variables; is the output variable. Fuzzy relations between *, *, and are formed. Then can be changed on line according to the rules, current error, and error rate. Figure 4 shows the input/output of fuzzification interface.

Generally, the control output increases in company with the error of angle. Additionally, the controller also judges whether the error increases or decreases and the value of the error difference. It is significant in small error phase that the reversed control output is necessary to ease up the error change when the error decreases sharply.

The linguistics of seven fuzzy triangular membership functions assigned for input and output variables are Negative Big (NB), Negative Medium (NM), Negative Small (NS), Zero (Z), Positive Small (PS), Positive Medium (PM), and Positive Big (PB). The rule for fuzzy controller is shown in Table 2.

#### 4. Simulations

The simulation parameters were derived from [6]. However, the tilt angle should be in minus (−) sign of initial condition in order to maintain the system stability. The simulations of hovering flight are illustrated in the pilot angle of each channel RPY (Roll, Pitch, and Yaw). It is realized that the hovering state could easily be achieved by equilibrium point. The speeds of each rotorcraft, which are calculated by Newton-Raphson method, are rpm, rpm, rpm, and the tilt angle rad (−2.407 degree). Hovering mode is operated by LQR control gain. Attitude flights controls for each channel are depicted. Furthermore, the results of two more controller strategies are represented. The performance of back-stepping controller for the single tilt tri-rotor has been verified. As found on the simulation results, FLCs give faster response in the very beginning, which means less delay 0.3 sec than back-stepping’s. However, the little undershoot occurs when getting the target. The trajectory tracking results demonstrated that the proposed controllers have good pilot performance. All simulations were done by MATLAB/Simulink (see Table 3). Figure 5 shows comparison between fuzzy logic controllers and back-stepping controllers for each channel, adding disturbance at fifth second.

#### 5. Conclusions

This paper has implemented nonlinear control strategies for the single tilt triple rotor aerial robot. Based on Newton-Euler’s laws, the linear and nonlinear mathematical models of tri-rotor UAVs are obtained. Hovering flying mode is achieved by Newton-Raphson numerical analysis method and also controlled by LQR gain. Back-stepping nonlinear controller design is based on constructing Lyapunov candidate function for closed-loop system and has shown the worth results. Furthermore, fuzzy logic controllers have been designed with the human linguistic logic display the even better performance. Effectiveness of the controllers design scheme for UAV tilt tri-rotor is achieved through nonlinear model on each pilot channel.

#### Acknowledgment

This work is supported by the National Science Council, Taiwan, China, under Grant nos. NSC 102-2221-E-218-017 and NSC100-2632-E-218-001-MY3.

#### References

- G. Heredia and A. Ollero, “Detection of sensor faults in small helicopter UAVs using Observer/Kalman filter identification,”
*Mathematical Problems in Engineering*, vol. 2011, Article ID 174618, 12 pages, 2011. View at Publisher · View at Google Scholar · View at Scopus - Z. Weihua and T. H. Go, “Robust decentralized formation flight control,”
*International Journal of Aerospace Engineering*, vol. 2011, Article ID 157590, 13 pages, 2011. View at Publisher · View at Google Scholar · View at Scopus - M. W. Spong, S. Hutchinson, and M. Vidyasagar,
*Robot Modeling and Control*, John Wiley & Sons, Hoboken, NJ, USA, 2006. - D.-W. Yoo, H.-D. Oh, D.-Y. Won, and M.-J. Tahk, “Dynamic modeling and control system design for Tri-rotor UAV,” in
*Proceedings of the 3rd International Symposium on Systems and Control in Aeronautics and Astronautics (ISSCAA '10)*, pp. 762–767, Harbin, China, June 2010. View at Publisher · View at Google Scholar · View at Scopus - T. Madani and A. Benallegue, “Backstepping control for a quadrotor helicopter,” in
*Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS '06)*, pp. 3255–3260, Beijing, China, October 2006. View at Publisher · View at Google Scholar · View at Scopus - S. Yoon, S. J. Lee, B. Lee, C. J. Kim, Y. J. Lee, and S. Sung, “Design and flight test of a small Tri-rotor unmanned vehicle with a LQR based onboard attitude control system,”
*International Journal of Innovative Computing, Information and Control*, vol. 9, no. 6, pp. 2347–2360, 2013. View at Google Scholar - S. S. Cruz and R. Lozano, “Stabilization and nonlinear control for a novel Tri-rotor mini-aircraft,” in
*Proceedings of the IEEE International Conference on Robotics and Automation*, pp. 2612–2617, April 2005. View at Publisher · View at Google Scholar · View at Scopus - Y. Yali, J. Changhong, and W. Haiwei, “Backstepping control of each channel for a quadrotor aerial robot,” in
*Proceedings of the International Conference on Computer, Mechatronics, Control and Electronic Engineering (CMCE '10)*, pp. 403–407, Changchun, China, August 2010. View at Publisher · View at Google Scholar · View at Scopus - P. Deuflhard,
*Newton Methods for Nonlinear Problems*, Springer, Berlin, Germany, 1st edition, 2005. View at MathSciNet - G. D. Padfield,
*Helicopter Flight Dynamics: the Theory and Application of Flying Qualities and Simulation Modeling*, AIAA, 1996. - B. L. Stevens and F. L. Lewis,
*Aircraft Control and Simulation*, Wileys, New York, NY, USA, 1992. - H. K. Khalil,
*Nonlinear Systems*, Publishing House of Electronics Industry, 3rd edition, 2005. - T.-Y. Huang, S.-H. Wu, and H. K. Tran, “Gait control of a biped robot using an exact limit cycle trajectory and the backstepping method,” in
*Proceedings of the Annual Conference (SICE '10)*, pp. 1819–1824, Taipei, Taiwan, August 2010. View at Scopus - K. M. Passino and S. Yurkovich,
*Fuzzy Control*, Addison-Wesley, Reading, Mass, USA, 1998. - Z. Gao, T. A. Trautzsch, and J. Dawson, “A stable self-tuning fuzzy logic control system for industrial temperature regulation,” in
*Proceedings of the 35th Annual Meeting and World Conference on Industrial Applications of Electrical Energy (IAS '00)*, pp. 1232–1240, October 2000. View at Scopus - W. Nonnenmacher and Z. Gao, “Fuzzy logic control of an industrial indexing motion application,” in
*Proceedings of the ISA Conference*, September 2001. - E. H. Mamdani, “Application of fuzzy algorithms for control of simple dynamic plant,”
*Proceedings of the Institution of Electrical Engineers*, vol. 121, no. 12, pp. 1585–1588, 1974. View at Publisher · View at Google Scholar · View at Scopus - E. H. Mamdani, “Application of fuzzy logic to approximate reasoning using linguistic synthesis,”
*IEEE Transactions on Computers*, vol. C-26, no. 12, pp. 1182–1191, 1977. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus