Adaptive Nonlinear Hierarchical Control of a Novel Quad Tilt-Wing UAV

Similar documents
Adaptive Nonlinear Hierarchical Control of a Quad Tilt-Wing UAV

LQR and SMC Stabilization of a New Unmanned Aerial Vehicle

Adaptive Robust Control (ARC) for an Altitude Control of a Quadrotor Type UAV Carrying an Unknown Payloads

Nonlinear hierarchical control of a quad tilt-wing UAV: An adaptive control approach

Mathematical modeling and vertical flight control of a tilt-wing UAV

A Nonlinear Control Law for Hover to Level Flight for the Quad Tilt-rotor UAV

Nonlinear Landing Control for Quadrotor UAVs

Nonlinear and Neural Network-based Control of a Small Four-Rotor Aerial Robot

Modelling of Opposed Lateral and Longitudinal Tilting Dual-Fan Unmanned Aerial Vehicle

Dynamic Modeling and Stabilization Techniques for Tri-Rotor Unmanned Aerial Vehicles

Modeling and Sliding Mode Control of a Quadrotor Unmanned Aerial Vehicle

Control and Navigation Framework for Quadrotor Helicopters

Nonlinear Control of a Quadrotor Micro-UAV using Feedback-Linearization

Control of a Hovering Quadrotor UAV Subject to Periodic Disturbances

ROBUST NEURAL NETWORK CONTROL OF A QUADROTOR HELICOPTER. Schulich School of Engineering, University of Calgary

Simulation of Backstepping-based Nonlinear Control for Quadrotor Helicopter

Hover Control for Helicopter Using Neural Network-Based Model Reference Adaptive Controller

Adaptive Trim and Trajectory Following for a Tilt-Rotor Tricopter Ahmad Ansari, Anna Prach, and Dennis S. Bernstein

Design and modelling of an airship station holding controller for low cost satellite operations

Robot Dynamics - Rotary Wing UAS: Control of a Quadrotor

Control of a Quadrotor Mini-Helicopter via Full State Backstepping Technique

AROTORCRAFT-BASED unmanned aerial vehicle

Nonlinear Robust Tracking Control of a Quadrotor UAV on SE(3)

Mathematical Modelling and Dynamics Analysis of Flat Multirotor Configurations

Different Approaches of PID Control UAV Type Quadrotor

ADAPTIVE SLIDING MODE CONTROL OF UNMANNED FOUR ROTOR FLYING VEHICLE

QUADROTOR: FULL DYNAMIC MODELING, NONLINEAR SIMULATION AND CONTROL OF ATTITUDES

ROBUST SECOND ORDER SLIDING MODE CONTROL

Dynamic-Fuzzy-Neural-Networks-Based Control of an Unmanned Aerial Vehicle

Dynamic Modeling of Fixed-Wing UAVs

Quadrotor Modeling and Control

Visual Servoing for a Quadrotor UAV in Target Tracking Applications. Marinela Georgieva Popova

Russo, A. (2017) Adaptive augmentation of the attitude control system for a multirotor UAV In:

Revised Propeller Dynamics and Energy-Optimal Hovering in a Monospinner

Quadcopter Dynamics 1

Mini coaxial rocket-helicopter: aerodynamic modeling, hover control, and implementation

The PVTOL Aircraft. 2.1 Introduction

Simulation and Control of a Tandem Tiltwing RPAS Without Experimental Data

Design and Control of Novel Tri-rotor UAV

Design and Implementation of an Unmanned Tail-sitter

Aircraft Maneuver Regulation: a Receding Horizon Backstepping Approach

IDETC STABILIZATION OF A QUADROTOR WITH UNCERTAIN SUSPENDED LOAD USING SLIDING MODE CONTROL

Dynamic modeling and control system design for tri-rotor UAV

Coordinated Tracking Control of Multiple Laboratory Helicopters: Centralized and De-Centralized Design Approaches

Investigation of the Dynamics and Modeling of a Triangular Quadrotor Configuration

Nonlinear Attitude and Position Control of a Micro Quadrotor using Sliding Mode and Backstepping Techniques

Kostas Alexis, George Nikolakopoulos and Anthony Tzes /10/$ IEEE 1636

Regulating and Helix Path Tracking for Unmanned Aerial Vehicle (UAV) Using Fuzzy Logic Controllers

Quadrotor Modeling and Control for DLO Transportation

ADAPTIVE NEURAL NETWORK CONTROLLER DESIGN FOR BLENDED-WING UAV WITH COMPLEX DAMAGE

Backstepping and Sliding-mode Techniques Applied to an Indoor Micro Quadrotor

Robot Control Basics CS 685

Research on Balance of Unmanned Aerial Vehicle with Intelligent Algorithms for Optimizing Four-Rotor Differential Control

Multi-layer Flight Control Synthesis and Analysis of a Small-scale UAV Helicopter

28TH INTERNATIONAL CONGRESS OF THE AERONAUTICAL SCIENCES

Dynamics exploration and aggressive maneuvering of a Longitudinal Vectored Thrust VTOL aircraft

Adaptive Control of a Quadrotor UAV Transporting a Cable-Suspended Load with Unknown Mass

Triple Tilting Rotor mini-uav: Modeling and Embedded Control of the Attitude

Problem 1: Ship Path-Following Control System (35%)

Aerial Robotics. Vision-based control for Vertical Take-Off and Landing UAVs. Toulouse, October, 2 nd, Henry de Plinval (Onera - DCSD)

A Blade Element Approach to Modeling Aerodynamic Flight of an Insect-scale Robot

A Comparison of Closed-Loop Performance of Multirotor Configurations Using Non-Linear Dynamic Inversion Control

Position Control for a Class of Vehicles in SE(3)

OPTIMAL TRAJECTORY PLANNING AND LQR CONTROL FOR A QUADROTOR UAV. Ian D. Cowling James F. Whidborne Alastair K. Cooke

Fullscale Windtunnel Investigation of Actuator Effectiveness during Stationary Flight within the Entire Flight Envelope of a Tiltwing MAV

Trajectory Control of a Quadrotor Using a Control Allocation Approach

Modeling and Control Strategy for the Transition of a Convertible Tail-sitter UAV

ENHANCED PROPORTIONAL-DERIVATIVE CONTROL OF A MICRO QUADCOPTER

Nonlinear Tracking Control of Underactuated Surface Vessel

Mini-quadrotor Attitude Control based on Hybrid Backstepping & Frenet-Serret Theory

TRACKING CONTROL VIA ROBUST DYNAMIC SURFACE CONTROL FOR HYPERSONIC VEHICLES WITH INPUT SATURATION AND MISMATCHED UNCERTAINTIES

Backstepping sliding mode controller improved with fuzzy logic: Application to the quadrotor helicopter

Geometric Tracking Control of a Quadrotor UAV on SE(3)

Exam - TTK 4190 Guidance & Control Eksamen - TTK 4190 Fartøysstyring

Nonlinear Control of a Multirotor UAV with Suspended Load

Further results on global stabilization of the PVTOL aircraft

kiteplane s length, wingspan, and height are 6 mm, 9 mm, and 24 mm, respectively, and it weighs approximately 4.5 kg. The kiteplane has three control

H 2 Adaptive Control. Tansel Yucelen, Anthony J. Calise, and Rajeev Chandramohan. WeA03.4

Chapter 2 Review of Linear and Nonlinear Controller Designs

Adaptive Control of Hypersonic Vehicles in Presence of Aerodynamic and Center of Gravity Uncertainties

Model Reference Adaptive Control of Underwater Robotic Vehicle in Plane Motion

The Role of Zero Dynamics in Aerospace Systems

Mathematical Modelling of Multirotor UAV

H inf. Loop Shaping Robust Control vs. Classical PI(D) Control: A case study on the Longitudinal Dynamics of Hezarfen UAV

Dynamic Model and Control of Quadrotor in the Presence of Uncertainties

Agile Missile Controller Based on Adaptive Nonlinear Backstepping Control

Modeling and Control of Convertible Micro Air Vehicles

COMBINED ADAPTIVE CONTROLLER FOR UAV GUIDANCE

Backstepping Approach for Controlling a Quadrotor Using Lagrange Form Dynamics

Improving Leader-Follower Formation Control Performance for Quadrotors. By Wesam M. Jasim Alrawi

Quadrotors Flight Formation Control Using a Leader-Follower Approach*

NONLINEAR CONTROL OF A HELICOPTER BASED UNMANNED AERIAL VEHICLE MODEL

Real-time Motion Control of a Nonholonomic Mobile Robot with Unknown Dynamics

Modeling and control of a small autonomous aircraft having two tilting rotors

Quadrotor Control using Incremental Nonlinear Dynamics Inversion

Digital Passive Attitude and Altitude Control Schemes for Quadrotor Aircraft

First Flight Tests for a Quadrotor UAV with Tilting Propellers

Introduction to Feedback Control of Underactuated VTOL Vehicles

OVER THE past 20 years, the control of mobile robots has

TTK4190 Guidance and Control Exam Suggested Solution Spring 2011

Transcription:

Adaptive Nonlinear Hierarchical Control of a Novel Quad Tilt-Wing UAV Yildiray Yildiz 1, Mustafa Unel and Ahmet Eren Demirel Abstract Position control of a novel unmanned aerial vehicle SUAVI (Sabanci University Unmanned Aerial Vehicle) via a nonlinear hierarchical adaptive control approach is presented in this paper. The hierarchy consists of two levels. In the upper level, a model reference adaptive controller creates virtual control commands so as to make the UAV follow a given desired trajectory. The virtual control inputs are then converted to desired attitude angle references which are fed to the lower level attitude controller. Lower level controller is a nonlinear adaptive controller. The overall controller is developed for the full nonlinear dynamics of the tilt-wing UAV and thus no linearization is required. In addition, since the approach is adaptive, uncertainties in the UAV dynamics can be handled. Performance of the control approach is presented via simulation results. I. INTRODUCTION The focus of this paper is a hybrid-wing type Unmanned Aerial Vehicle (UAV), which combines the advantages of the two other types, namely fixed-wing and rotary-wing UAVs: A hybrid UAV, like a rotary-wing UAV, can fly vertically without the need of any infrastructure for takeoff or landing and does not need any forward velocity for maneuvering. In addition, it can fly with high speed for extended periods of time, like a fixed-wing UAV. Tilt-rotor UAVs, a subgroup of hybrid designs, are attractive subjects of research due to their energy efficiency, stability and controllability [1], []. Under tilt-wing category, research studies can be found for dual tilt-rotor UAVs [3], [] and quad tilt-wing UAVs [], [6]. In general, the former type has the disadvantage of requiring cyclic control on propellers which adds to the mechanical complexity. Tilt-wing UAVs are difficult to control due to many reasons: they have Multi Input Multi Output (MIMO) nonlinear dynamics. In addition, due to sources such as unpredictable damages and actuator malfunctions, uncertainty may pose a big challenge [7]. Furthermore, the variations in mass moments of inertia during tilting of the wings require compensation from the controller. Among many proposed controller schemes in the literature, some recent ones are PD controller [8], LQ and PID controllers [9], LQR controller [1], thrust vectoring with a PID structure [11], sliding mode observers with feedback *This work was not supported by any organization 1 Yildiray Yildiz is with the Department of Mechanical Engineering, Bilkent University, Cankaya, Ankara 68, Turkey yyildiz@bilkent.edu.tr Mustafa Unel and Ahmet Eren Demirel are with the Faculty of Engineering and Natural Sciences, Sabanci University, Tuzla, Istanbul 396, Turkey {munel, erendemirel}@sabanciuniv.edu linearization [1] and nonlinear control approaches [13], to name a few. The above mentioned approaches showed promising successful results. However, they do not offer explicit uncertainty compensation or they do not provide enough robustness for large uncertainties such as structural damage. Literature contains controller proposals that actually overcome these issues via the employment of adaptive control. An approach that uses artificial neural networks (ANN) for the estimation of the nonlinear components of a quadrotor dynamics is presented in [1]. A study that discusses the advantage of the adaptive control over feedback linearization is provided in [1]. However, in [1], small attitude angles and slowly varying slack variables assumptions are used in the adaptive control design. An adaptive backstepping approach is presented in [16] but the uncertainty is assumed to be only in the mass of the quadrotor. MIT s quadrotor controller [7] has explicit uncertainty compensation via adaptation but a linear model is used in the design. Linear model assumption may introduce a limitation on the range of workable operating points and the performance outside of certain operating points may be unpredictable or degraded for the proposed approach. In this work, nonlinear, hierarchical adaptive control of a novel quad tilt-wing UAV SUAVI (Sabanci university Unmanned Aerial VehIcle) is presented (see Fig. 1). SUAVI was previously designed, manufactured and flight tested by the co-author Unel and his students and earlier research results have been published about the aerodynamic and mechanical design, prototyping, control system design and flight tests [17] [19]. In this work, different from authors earlier research, a controller that explicitly compensates for the uncertainties in SUAVI s system dynamics is implemented. Similar to authors earlier works, this controller has a hierarchical structure. However, in this paper a Model Reference Adaptive Controller (MRAC) [] resides in the upper level and is responsible for creating virtual control inputs that would make the UAV follow a given trajectory. These virtual control inputs are realized by achieving certain UAV orientations, which is ensured by the lower level adaptive nonlinear controller [1]. This approach is based on full nonlinear dynamics of the tilt-wing UAV and therefore do not need linearization. In addition, the controller does not contain difficult to tune and computationally expensive components. Finally, adaptation provides explicit uncertainty compensation. This controller was recently proposed by the authors in [] where an implementation on quadrotor dynamics (without wings) was presented. In this paper, the

controller is put through a much more challenging task of controlling SUAVI, which enjoys the properties of a quadrotor and a fixed wing UAV simultaneously, as explained above. The organization of the paper is as follows. In Section II, the full nonlinear model of SUAVI is provided. The design of the hierarchical controller is given in Section III. Simulation results for two different scenarios are presented in Section IV and a summary is given in Section V. Fig. 1: Quad tilt-wing UAV SUAVI with two different wing angle configurations II. SYSTEM MODEL Nonlinear dynamics of the quad tilt-wing UAV is briefly described in this section. For details, see [17]. Using rigid body assumption, a generic unmanned air vehicle system dynamics is given as below: [ ] [ ] [ ] mi3x3 3x3 Vw + 3x3 I b Ω b Ω b (I b Ω b ) = [ Ft M t ] where m and I b represent the mass and the inertia matrix in the body frame and V w and Ω b represent the linear velocity with respect to world frame and the angular velocity with respect to body frame of the vehicle, respectively. The net force and the moment applied on the vehicle are represented by F t and M t, respectively (see Fig. ). It is noted that for tilt-wing quadrotors, these forces and moments are functions of the rotor trusts and wing angles. Using vector-matrix notation, (1) can be rewritten as follows: (1) M ζ + C(ζ)ζ = G + O(ζ)ω + E(ξ)ω + W (ξ) () Fig. : Forces and moments on the UAV. and ζ = [Ẋ, Ẏ, Ż, p, q, r]t (3) ξ = [X, Y, Z, Φ, Θ, Ψ] T, () where X, Y and Z are the coordinates of the center of mass with respect to the world frame, p, q and r are the angular velocities in the body frame and Φ, Θ and Ψ are the roll, pitch and yaw angles of the vehicle expressed in the world frame. M, the inertia matrix, C, Coriolis-centripetal matrix and G, the gravity term, are given as follows: [ ] mi3x3 M = 3x3 () 3x3 diag(i xx, I yy, I zz ) C(ζ) = I zz r I yy q I zz r I xx p I yy q I xx p (6) G = [,, mg,,, ] T (7) I xx, I yy and I zz are the moments of inertia around the body axes. The gyroscopic term, O(ζ)ω, is given as 3x1 O(ζ)ω = J prop c θi i=1 [η iω b ω i (8) s θi η (1,,3,) = 1, 1, 1, 1 and c θi and s θi represent cosine and sine of the wing angles, respectively. When two simplifying assumptions are used, namely neglecting the aerodynamic downwash effect of the front wings on the rear wings and using same angles for the front and rear wings, system actuator vector, E(ξ)ω, can be given as (c Ψ c Θ c θf (c Φ s Θ c Ψ + s Φ s Ψ )s θf )u 1 (s Ψ c Θ c θf (c Φ s Θ s Ψ s Φ c Ψ )s θf )u 1 E(ξ)ω = ( s Θ c θf c Φ c Θ s θf )u 1 s θf u c θf u (9) s θf u 3 c θf u + s θf u θ f represents front wing angle. Inputs u 1, u, u 3 and u in (9) are given as: u 1 = k(ω 1 + ω + ω 3 + ω ) (1) u = kl s (ω 1 ω + ω 3 ω ) (11) u 3 = kl l (ω 1 + ω ω 3 ω ) (1) u = kλ(ω 1 ω ω 3 + ω ) (13) k, l s, l l and λ are the motor thrust constant, rotor distance to center of mass along y axis, rotor distance to center of mass along x axis and torque/force ratio, respectively.

The wing forces W (ξ), lift and drag, and the moments they create on the UAV are given as R bw F D 1 + F D + F D 3 + F D W (ζ) = FL 1 + F L + F L 3 + F L (1) l l (FL 1 + F L F L 3 F L ) FD i = F D i (θ f, v x, v z ) and FL i = F L i (θ f, v x, v z ). The relationship between the linear velocities in body frame v x, v y, v z and linear velocities in the world frame Ẋ, Ẏ, Ż are given as v x Ẋ v y = Rwb(Φ, T Θ, Ψ) Ẏ. (1) v z Ż Using (1), the following rotational dynamics, that is in a form suitable for attitude controller design, is obtained: M(α w ) Ω w + C(α w, Ω w )Ω w = E T M t (16) α w = [Φ, Θ, Ψ] T, Ω w = [ Φ, Θ, Ψ] and E(α w ) is the velocity transformation matrix, which is given as 1 s Θ E(α w ) = c Φ s Φ c Θ. (17) s Φ c Φ c Θ The relationship between the angular velocity of the UAV in the body frame, Ω b, and in the world frame, Ω w, is given as P Φ b = Q = E(α w )Ω w. (18) R The modified inertia matrix M(α w ) in (16) is given as M(α w ) = I xx I x xs Θ I yy c Φ + I zzs Φ M 3 (19) I x xs Θ M 3 M 33 M 3 = I yy c Φ s Φ c Θ I zz c Φ s Φ c Θ () M 33 = I xx s Θ + I yy s Φc Θ + I zz c Φc Θ (1) and the Coriolis Matrix, C(α w, Ω w ) is given as C 1 C 13 C(α w, Ω w ) = I xx d I yy f + I zz g C 3. () I xx e I yy h + I zz k C 33 In (), C ij s are defined as C 1 = I yy s 3 c Φ I zz s s Φ (3) C 13 = I xx c Θ Θ Iyy s 3 s Φ c Θ + I zz s c Φ c Θ () C 3 = I xx mm + I yy n + I zz p () C 33 = I xx q + I yy r + I zz ɛ, (6) s 1 = Φ s Θ Ψ (7) s = c Φ Θ + sφ c Θ Ψ (8) s 3 = s Φ Θ + cφ c Θ Ψ (9) d = s 3 c Φ + s s Φ (3) e = s 3 s Φ c Θ s c Φ c Θ (31) f = s Φ ΦcΦ s 1 c Φ s Φ (3) g = s 1 s Φ c Φ + c Φ ΦsΦ (33) h = s 3 c Φ s Θ s Φ Φc Θ + s 1 c Φc Θ (3) k = s s Φ s Θ + s 1 s Φc Θ c Φ Φc Θ (3) mm = s 3 s Θ c Φ s s Θ s Φ (36) a = c Φ ΦcΘ s Φ s Θ Θ (37) n = ac Φ s 1 s Φc Θ (38) b = s Φ ΦcΘ c Φ s Θ Θ (39) p = s 1 c Φc Θ bs Φ () q = c Θ ΘsΘ s 3 s Θ s Φ c Θ + s s Θ c Φ c Θ (1) r = s 3 s Φ c Θ s Θ + as Φ c Θ + s 1 s Φ c Θc Φ () ɛ = s c Φ c Θ s Θ s 1 c Φ c Θs Φ + bc Φ c Θ (3) III. CONTROLLER DESIGN To control the position of SUAVI, whose nonlinear dynamics is provided in Section II, a hierarchical nonlinear control approach is used that can adapt its parameters online. On the upper level, a Model Reference Adaptive Controller (MRAC) [] provides virtual control inputs to control the position of the UAV. These control inputs are converted to desired attitude angles which are then fed to the lower level attitude controller. A nonlinear adaptive controller [1] is employed as the attitude controller so that uncertainties can be compensated without the need for linearization of system dynamics. Closed loop control system structure is presented in Fig. 3 and upper and lower level controllers are described below. A. MRAC Design A Model Reference Adaptive Controller (MRAC), that resides in the upper level of the hierarchy, is designed to control the position of the SUAVI, assuming that the system is a simple mass. This controller calculates the required forces that need to be created, by the lower level nonlinear controller, in the X, Y and Z directions, to make the UAV follow the desired trajectory. No information is used about the actual mass of the UAV during the design and this uncertainty in the mass is handled by online modification of control parameters based on the trajectory error. It is noted that the uncertainties in moment of inertia are handled by the lower level attitude controller, which is explained in the next section. Consider the following system dynamics: Ẋ = AX + B n Λ(u + D) () y = CX, ()

MRAC Attitude Reference Calculation Nonlinear Adaptive Controller Quad Tilt- Wing UAV Fig. 3: Closed loop control system block diagram. X = [X, Y, Z, Ẋ, Ẏ, Ż]T, y is the plant output, [ ] 3x3 I A = 3x3 3x3 3x3 (6) [ ] 3x3 1 B n = I 3x3 m n (7) Λ = m n m (8) [ ] x1 D =, mg (9) where m is the actual mass of the UAV that is assumed to be unknown, m n is the nominal mass, g is the gravitational acceleration and Λ represents the uncertainty in the system. 1) Reference Model Design: Consider the following control law, which is to be used for the nominal system dynamics (Λ = 1). u n = K T x X + K T r r D () where r R, K x R 6x3 and K r R 3x3 are the reference input, control gain for the states and control gain for the reference input, respectively. Substituting () into (), the nominal closed loop dynamics is obtained, which is given below: Ẋ n = (A + B n K T x )X n + B n K T r r. (1) In (1), K x can be determined by any linear control design method, such as pole placement of LQR. Defining A m = A + B n K T x, nominal plant output is obtained as y n = C(sI A m ) 1 B n K T r r. () For a constant r, the steady state plant output can be calculated as y ss = CA 1 m B n K T r r. (3) Using K T r = (CA 1 m B n ) 1, it is obtained that lim (y n r) =. () t As a result, the reference model dynamics is determined as and Ẋ m = A m X m + B m r () A m = A + B n K T x (6) B m = B n K T r (7) = B n (CA 1 m B n ) 1. (8) ) Adaptive Controller Design: Consider the following adaptive controller: u MRAC = with the adaptive laws K ˆ x T X + K ˆ r T r + ˆD (9) ˆK x = Γ x Xe T P B n, (6) ˆK r = Γ r re T P B n, (61) ˆD x = Γ d e T P B n (6) where e = X X m, Γ x, Γ r, Γ d are adaptive gains and P is the symmetric solution of the Lyapunov equation A T mp + P A m = Q (63) where Q is a positive definite matrix. It can be shown [3] that the controller described in (9) - (63) provides convergence of the plant () and reference model () states in a stable manner, while keeping all the signals bounded. B. Attitude Reference Calculation From (1) and (9), we obtain that mẍ = (c Ψc Θ c θf (c Φ s Θ c Ψ + s Φ s Ψ )s θf )u 1 (6) mÿ = (s Ψc Θ c θf (c Φ s Θ s Ψ s Φ c Ψ )s θf )u 1 (6) m Z = ( s Θ c θf c Φ c Θ s θf )u 1 + mg. (66) Right hand sides of (6)-(66) correspond to the forces determined by the MRAC position controller designed in the previous subsection: u 1 MRAC = (c Ψ c Θ c θf (c Φ s Θ c Ψ + s Φ s Ψ )s θf )u 1 (67) u MRAC = (s Ψ c Θ c θf (c Φ s Θ s Ψ s Φ c Ψ )s θf )u 1 (68) u 3 MRAC = ( s Θ c θf c Φ c Θ s θf )u 1. (69)

It is important to note that the D term in () addresses the gravitational force mg. From (67)-(69), it is obtained that u 1 = (u 1 MRAC ) + (u MRAC ) + (u 3 MRAC ) (7) ( ) ρ1 Φ d = arcsin (71) u 1 s θf ( u 3 ) Θ d = MRAC u 1 c θf u 1 ρ s θf c Φd (ρ ) + (u 3 (7) MRAC ) ρ 1 = u 1 MRACs Ψd u MRACc Ψd (73) ρ = u 1 MRACc Ψd + u MRACs Ψd. (7) It is noted that, different from similar works in the literature, the desired attitude angles are functions of the wing angles. Ψ d, the desired yaw angle, can be chosen by the UAV operator that would be appropriate for the mission at hand. These required attitude angles are given to the lower level attitude controller as references. The nonlinear adaptive attitude controller is described in the next section. C. Nonlinear Adaptive Control Design To force the UAV follow the requested attitude angles, in the presence of uncertainties, a nonlinear adaptive controller [] is employed. Defining u = E T M t, (16) can be rewritten as M(α w ) Ω w + C(α w, Ω w )Ω w = u. (7) Equation (7), which describes the rotational dynamics of SUAVI, can be parameterized in a way such that the moment of inertia of the UAV, I UAV = [I xx, I yy, I zz ] T, appears linearly. This transformation is needed so that the uncertain moment of inertia terms appears in a form that is suitable for the adaptive control design: Y (α w, α w, α w )I UAV = u. (76) Consider the following definition s = α w + Λ s α w (77) where α w = α w α wd, α wd is the desired value of α w and Λ s R 3x3 is a symmetric positive definite matrix. Equation (77) can be modified as where s = α w α wr (78) α wr = α wd Λ s α w. (79) A matrix Y = Y (α w, α w, α wr, α wr ) can be defined, to be used in linear parameterization, as in the case of (76), such that M(α w ) α wr +C(α w, Ω w ) α r = Y (α w, α w, α wr, α wr )I UAV. (8) It can be shown that the following nonlinear controller, u Nadp = Y Î UAV K D s (81) where K D R 3x3 is positive definite matrix and Î is an estimate of the uncertain parameter I, with an adaptive law Î UAV = Γ I Y T s (8) where Γ I is the adaptation rate, stabilizes the closed loop system and makes the error α w converge to zero. The total thrust u 1 is provided in (7). The rest of the control ( inputs in ) (9) can be calculated [17] by first defining u = E(α w ) T 1 u and performing the following operations: [ u u 3 = u (83) s θf ] [ sθf c = θf u c θf s θf ] 1 [ u 1 u 3 ]. (8) Once these control inputs are determined, the thrusts created by the rotors can be calculated using linear relationships given in (1)-(13). IV. SIMULATION RESULTS Simulation results for two different scenarios are presented in this section, where the nonlinear adaptive hierarchical controller is implemented using the full nonlinear dynamics of SUAVI which is provided in Section II. The reference model for the design of Model Reference Adaptive Controller is determined using an LQR with Q = diag([1, 1, 1]) and R = diag([1, 1, 1]). It is assumed that UAV mass is uncertain with a % uncertainty. For the mass moment of inertias, 1% uncertainty is assumed, meaning that no prior information for these variables, I xx, I yy, I zz, are used in the controller design. This is modeled by assigning zero to all initial conditions of the adaptive parameters. Nominal system dynamics parameters for SUAVI are provided in Table I. TABLE I: UAV parameters m Mass of the UAV. kg l s Distance of the rotor to the center of mass.3 m along y axis l l Distance of the rotor to the center of mass.3 m along x axis I xx Moment of inertia about x axis. kgm I yy Moment of inertia about y axis. kgm I zz Moment of inertia about z axis.7 kgm λ Motor torque/force ratio.1 Nm/N A. First scenario In the first scenario, SUAVI takes off vertically with 9- degree wing angles, which means that the wings are also in vertical position (wing angles are measured from the roll axis of the body frame). After finalizing the take-off at 1 meters above the ground, at t=1 seconds, SUAVI tilts its wings from 9 degrees to degrees, while hovering at constant altitude. This tilting action takes 1 seconds. After wings reach their final position of degrees, the UAV flies in the X direction for 1 meters, stops, and tilts its wings from degrees back to 9 degrees, while still hovering, and gets

.1 8.1. 6. φ [deg] Θ [deg] Ψ [deg]...1 6 8 6 8.1 6 8 1.1. Measured Desired X [m] 1 Y [m] Z [m]. 1 6 8.1 6 8 1 6 8 Fig. : Tracking curves for the attitude and the position of the UAV for Scenario 1. ready for the landing. Finally, SUAVI performs a landing in 1 seconds while the wings are in vertical position. Figure shows the tracking performances for the attitude angles, roll, pitch and yaw, together with X, Y and Z positions, which shows that the employed nonlinear controller behaves as expected. It is noted that the change in pitch between t=1 seconds and t= seconds are due to the tilting of the wings, which is presented in Fig. As the wings are tilted, the inner loop controller changes the pitch to keep the UAV hovering without moving in X or Y directions. Wing Angles [deg] 9 8 7 6 are smooth and they vary within a reasonable range. F 1 F F 3 F 1 1 1 3 6 7 8 9 1 1 1 3 6 7 8 9 1 1 1 3 6 7 8 9 1 1 1 3 6 7 8 9 Fig. 6: Motor thrusts at Scenario 1. 3 1 1 3 6 7 8 9 Fig. : Evolution of wing angles with time. Rotor thrusts are presented in Fig. 6, showing that they B. Second Scenario In the second scenario, the UAV makes a vertical take-off, again with 9-degree wing angles, stops at Z=-1 meters and tilts its wings from 9 degrees to degrees while hovering at the same spot. With -degree wing angles, the UAV flies approximately 3 meters in the X direction and then follows a circular trajectory, while still at Z=-1 meters, with a radius

φ [deg] 6 6 8 Θ [deg] 8 6 6 8 Ψ [deg] 6 8 3 Measured Desired X [m] 1 Y [m] 3 1 Z [m] 1 1 1 6 8 6 8 1 6 8 Fig. 7: Tracking curves for the attitude and the position of the UAV for Scenario. of 3 meters. After completing the circle, SUAVI tilts its wings from degrees back to 9 degrees and a performs a vertical landing while also keeping its wings vertical. Figure 7 shows the tracking performance of the controller for the position and attitude loops, which confirms that the orientation and the position of the UAV follows their desired values with reasonable speed. As in Scenario 1, the pitch angle change starting at t=1 seconds are due to the tilting of the wings (same as in Fig ) and the inner loop controller s effort to keep the UAV hovering at the same spot without moving laterally during this wing movement. Measured Desired Figure 8 shows the complete trajectory in a 3-dimensional (3D) graph. A close-up for the circular part of the trajectory is presented in Figure 9. Z [m] 1 1 Measured Desired 1 6 1 Z [m] 6 Y [m] 3 3 1 1 X [m] Fig. 8: 3-D trajectory in scenario. Y [m] Fig. 9: 3-D trajectory zoomed at the circular motion in scenario. Generated thrusts by the rotors are shown in Fig. 1, where it is seen that thrust variations are smooth and in a reasonable range. 3 X [m] 3

F 1 F F 3 F 1 1 1 3 6 7 8 9 1 1 1 3 6 7 8 9 1 1 1 3 6 7 8 9 1 1 1 3 6 7 8 9 Fig. 1: Motor thrusts at Scenario. V. SUMMARY In this paper, the implementation of a recently proposed nonlinear hierarchical adaptive controller on a new quad tiltwing UAV with uncertain dynamics has been presented. The controller consists of two levels, where a model reference adaptive controller is at the higher level determining necessary forces to make the UAV follow a given trajectory, and a nonlinear adaptive controller is at the lower level making sure that the orientation of the UAV is adjusted properly to produce these forces requested by the upper level controller. Full nonlinear dynamics is utilized in the controller design without any linearizations, so the resulting control structure is not limited to operate around certain operating points. In addition, thanks to a hierarchical design, the position and attitude controllers can be constructed independently providing flexibility to the control engineer. Finally, with the help of online control parameter adjustment, uncertainties in the mass and moments of inertia can be handled without the need for parameter estimation. Two different flight scenarios were simulated and results of the simulations are quite promising. Variations in system dynamics due to the tilting of the wings and the ability of the adaptive controller to compensate these variations will be investigated in future research studies. REFERENCES [1] D. Snyder, The quad tiltrotor: its beginning and evolution, in Proc. 6th annual forum, American Helicopter Society, Virginia Beach, Virginia, May. [] J. Lee, B. Min, and E. Kim, Autopilot design of tilt-rotor uav using particle swarm optimization method, in Proc. International conference on control, automation and systems, Seoul, Korea, Oct. 7. [3] F. Kendoul, I. Fantoni, and R. Lozano, Modeling and control of a small autonomous aircraft having two tilting rotors, in Proc. th IEEE conference on decision and control, and the european control conference, Seville, Spain, Dec.. [] J. Dickeson, D. Miles, O. Cifdaloz, V. L. Wells, and A. Rodriguez, Robust lpv h-inf gainschedules hover-to-cruise conversion for a tiltwing rotorcraft in the presence of cg variations, in Proc. 6th IEEE Conference on Decision and Control, New Orleans, LA, Dec. 7. [] K. Muraoka, N. Okada, and D. Kubo, Quad tilt wing vtol uav: aerodynamic characteristics and prototype flight test, in AIAA Infotech@ Aerospace Conference, no. AIAA-9-183, Seattle, Washington, Apr. 9. [6] S. Suzuki, R. Zhijia, Y. Horita, K. Nonami, G. Kimura, T. Bando, D. Hirabayashi, M. Furuya, and K. Yasuda, Attitude control of quad rotors qtw-uav with tilt wing mechanism, J. System Design and Dynamics, vol., pp. 16 8, 1. [7] Z. T. Dydek, A. A. Annaswamy, and E. Lavretsky, Adaptive control of quadrotor uavs: A design trade study with flight evaluations, IEEE Transactions on Control Systems Tecnology, vol. 1, no., pp. 1 16, 13. [8] A. Tayebi and S. McGilvray, Attitude stabilization of a four-rotor aerial robot, in Proc. 3th IEEE Conference on Decision and Control, vol., Atlantis, Paradise Island, Bahamas, Dec., pp. 116 11. [9] S. Bouabdallah, A. Noth, and R. Siegwart, Pid vs lq control techniques applied to an indoor micro quadrotor, in Proc. IEEE/RSJ Int. Conference on Intelligent Robots and Systems, Sendai, Japan, Sep.. [1] I. D. Cowling, O. A. Yakimenko, J. F. Whidborne, and A. K. Cooke, A prototype of an autonomous controller for a quadrotor uav, in European Control Conference, 7, pp. 1 8. [11] G. M. Hoffmann, H. Huang, S. L. Waslander, and C. J. Tomlin, Quadrotor helicopter flight dynamics and control: Theory and experiment, in AIAA Guidance Navigation and Control Conference and Exhibit, no. AIAA-7-661, Hilton Head, South Carolina, Aug. 7. [1] A. Benallegue, A. Mokhtari, and L. Fridman, High-order slidingmode observer for a quadrotor uav, Int. J. Robust Nonlinear Control, vol. 18, no., p. 7?, 8. [13] M. Hua, T. Hamel, P. Morin, and C. Samson, A control approach for thrust-propelled underactuated vehicles and its application to vtol drones, IEEE Trans. Autom. Control, vol., no. 8, p. 1837?183, 9. [1] T. Madani and A. Benallegue, Adaptive control via backstepping technique and neural networks of a quadrotor helicopter, in Proceedings of the 17th World Congress of IFAC, Seoul, Korea, July 8, pp. 613 618. [1] D. Lee, H. J. Kim, and S. Sastry, Feedback linearization vs. adaptive sliding mode control for a quadrotor helicopter, International Journal of Control, Automation and Systems, vol. 7, no. 3, pp. 19 8, 9. [16] M. Huang, B. Xian, C. Diao, K. Yang, and Y. Feng, Adaptive tracking control of underactuated quadrotor unmanned aerial vehicles via backstepping, in Proc. Amer. Control Conf., Baltimore, MD, June 1, pp. 76 81. [17] E. Cetinsoy, S. Dikyar, C. Haner, K. T. Oner, E. Sirimoglu, M. Unel, and M. F. Aksit, Design and construction of a novel quad tilt-wing uav, Mechatronics, no., pp. 73 7, 1. [18] C. Hancer, K. T. Oner, E. Sirimoglu, E. Cetinsoy, and M. Unel, Robust position control of a tilt-wing quadrotor, in Proc. 9th IEEE Conference on Decision and Control, vol., Atlanta, GA, Dec. 1, pp. 98 913. [19], Robust hovering control of a quad tilt-wing uav, in Proc. 36th Annual Conference on IEEE Industrial Electronics Society, Glendale, AZ, Nov. 1, pp. 161 16. [] K. S. Narendra and A. M. Annaswamy, Stable adaptive systems. New York: Dover Publications,. [1] J.-J. E. Slotine and W. Li, Applied Nonlinear Control. Eagle Wood Cliffs, NJ: Prentice-Hall, 1991. [] Y. Yildiz and M. Unel, Nonlinear quadrotor control: A hierarchical adaptive control approach, in Proc. Amer. Control Conf., submitted for publication. [3] E. Lavretsky, Adaptive control: Introduction, overview, and applications, in Lecture notes from IEEE Robust and Adaptive Control Workshop, 8. [] J.-J. Slotine, Adaptive robot control: A new perspective, in Proc. 6th Conference on Decision and control,, Los Angeles, CA, Dec. 1987.