Neural Network Model Reference Adaptive Control of a Surface Vessel

Similar documents
Autonomous Underwater Vehicles: Equations of Motion

Nonlinear Tracking Control of Underactuated Surface Vessel

Model Reference Adaptive Control of Underwater Robotic Vehicle in Plane Motion

Control of the MARES Autonomous Underwater Vehicle

Adaptive Control for Nonlinear Uncertain Systems with Actuator Amplitude and Rate Saturation Constraints

Nonlinear Observer Design for Dynamic Positioning

Global stabilization of an underactuated autonomous underwater vehicle via logic-based switching 1

Underactuated Dynamic Positioning of a Ship Experimental Results

Computer Problem 1: SIE Guidance, Navigation, and Control

The PVTOL Aircraft. 2.1 Introduction

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

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

Trajectory-tracking control of a planar 3-RRR parallel manipulator

Trajectory Tracking of a Near-Surface Torpedo using Numerical Methods

High-Gain Observers in Nonlinear Feedback Control. Lecture # 2 Separation Principle

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

Trajectory tracking & Path-following control

Unifying Behavior-Based Control Design and Hybrid Stability Theory

Stabilization of a Specified Equilibrium in the Inverted Equilibrium Manifold of the 3D Pendulum

Tuning and Modeling of Redundant Thrusters for Underwater Robots

TTK4190 Guidance and Control Exam Suggested Solution Spring 2011

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

SEAKEEPING AND MANEUVERING Prof. Dr. S. Beji 2

Case Study: The Pelican Prototype Robot

Exponential Controller for Robot Manipulators

Nonlinear Formation Control of Marine Craft

A Ship Heading and Speed Control Concept Inherently Satisfying Actuator Constraints

Stable Limit Cycle Generation for Underactuated Mechanical Systems, Application: Inertia Wheel Inverted Pendulum

Handling Roll Constraints for Path Following of Marine Surface Vessels using Coordinated Rudder and Propulsion Control

Final Exam TTK4190 Guidance and Control

Video 8.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

Neural Network-Based Adaptive Control of Robotic Manipulator: Application to a Three Links Cylindrical Robot

u (surge) X o p (roll) Body-fixed r o v (sway) w (heave) Z o Earth-fixed X Y Z r (yaw) (pitch)

Robot Control Basics CS 685

Control of the Inertia Wheel Pendulum by Bounded Torques

EN Nonlinear Control and Planning in Robotics Lecture 10: Lyapunov Redesign and Robust Backstepping April 6, 2015

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

Attitude Regulation About a Fixed Rotation Axis

CONTROL OF THE NONHOLONOMIC INTEGRATOR

Autonomous Helicopter Landing A Nonlinear Output Regulation Perspective

Quaternion-Based Tracking Control Law Design For Tracking Mode

A Model-Free Control System Based on the Sliding Mode Control Method with Applications to Multi-Input-Multi-Output Systems

EN Nonlinear Control and Planning in Robotics Lecture 3: Stability February 4, 2015

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

THRUST OPTIMIZATION OF AN UNDERWATER VEHICLE S PROPULSION SYSTEM

Simulation of Spatial Motion of Self-propelled Mine Counter Charge

1 Lyapunov theory of stability

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Mixed Control Moment Gyro and Momentum Wheel Attitude Control Strategies

Adaptive Robust Tracking Control of Robot Manipulators in the Task-space under Uncertainties

Cross-Coupling Control for Slippage Minimization of a Four-Wheel-Steering Mobile Robot

Path Following for Marine Surface Vessels with Rudder and Roll Constraints: an MPC Approach

( ) Chapter 3: Free Vibration of the Breakwater. 3.1 Introduction

OBJECTIVE DIRECTED CONTROL USING LOCAL MINIMISATION FOR AN AUTONOMOUS UNDERWATER VEHICLE

Stability Theory for Nonnegative and Compartmental Dynamical Systems with Time Delay

CIRCULAR MOTION, HARMONIC MOTION, ROTATIONAL MOTION

NONLINEAR PATH CONTROL FOR A DIFFERENTIAL DRIVE MOBILE ROBOT

DEVELOPMENT AND MATHEMATICAL MODELLING OF PLANNING TRAJECTORY OF UNMANNED SURFACE VEHICLE

Position in the xy plane y position x position

Nonlinear Systems and Control Lecture # 12 Converse Lyapunov Functions & Time Varying Systems. p. 1/1

IAA-CU A Simulator for Robust Attitude Control of Cubesat Deploying Satellites

Dynamics and Control of the GyroPTO Wave Energy Point Absorber under Sea Waves

Hierarchical Control of Marine Vehicles for Autonomous. Maneuvering in Offshore Operations

A Novel Integral-Based Event Triggering Control for Linear Time-Invariant Systems

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

Output Feedback Control for Maneuvering Systems Using Observer Backstepping

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

ELECTRODYNAMIC magnetic suspension systems (EDS

New Parametric Affine Modeling and Control for Skid-to-Turn Missiles

4. Complex Oscillations

1. INTRODUCTION. Fig. 1 SAUVIM

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

TERMINAL ATTITUDE-CONSTRAINED GUIDANCE AND CONTROL FOR LUNAR SOFT LANDING

Final Exam April 30, 2013

Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles

Control of Mobile Robots

Dynamic Tracking Control of Uncertain Nonholonomic Mobile Robots

CONTROL OF ROBOT CAMERA SYSTEM WITH ACTUATOR S DYNAMICS TO TRACK MOVING OBJECT

13 Path Planning Cubic Path P 2 P 1. θ 2

Synergetic Control of the Unstable Two-Mass System

Stabilization of a 3D Rigid Pendulum

Higher Order Averaging : periodic solutions, linear systems and an application

Introduction to Flight Dynamics

Linear Feedback Control Using Quasi Velocities

In this section of notes, we look at the calculation of forces and torques for a manipulator in two settings:

Small Gain Theorems on Input-to-Output Stability

Modeling the 3-DOF Dynamics of an Electrodynamic Maglev Suspension System with a Passive Sled

Robot Dynamics II: Trajectories & Motion

Advanced Dynamics. - Lecture 4 Lagrange Equations. Paolo Tiso Spring Semester 2017 ETH Zürich

Fast Seek Control for Flexible Disk Drive Systems

The Rationale for Second Level Adaptation

Modeling nonlinear systems using multiple piecewise linear equations

Robotics. Dynamics. Marc Toussaint U Stuttgart

Simulation of Kinematic and Dynamic Models of an Underwater Remotely Operated Vehicle

Introduction to Nonlinear Control Lecture # 3 Time-Varying and Perturbed Systems

Control of a Car-Like Vehicle with a Reference Model and Particularization

Multivariable MRAC with State Feedback for Output Tracking

Dynamics. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Dynamics Semester 1, / 18

Isobath following using an altimeter as a unique exteroceptive sensor

Simulation of Plane Motion of Semiautonomous Underwater Vehicle

Transcription:

Neural Network Model Reference Adaptive Control of a Surface Vessel Alexander Leonessa and Tannen S. VanZwieten Abstract A neural network model reference adaptive controller for trajectory tracking of nonlinear systems is developed. The proposed control algorithm uses a single layer neural network that bypasses the need for information about the system s dynamic structure and provides portability. Numerical simulations are performed using a three degree of freedom nonlinear dynamic model of a surface vessel. The results demonstrate the controller performance in terms of tuning, robustness and tracking. I. INTRODUCTION Research and development on Autonomous Surface Vehicles ASVs is motivated by the navigation and communication challenges involved with the use of Autonomous Underwater Vehicles AUVs. The ASV development objective is to provide real time positioning of and communication with AUVs through the air-sea interface. Guidance and control play an integral part in the ASV s success, which is a motivating factor for this research. The overall dynamics for a three degree of freedom ASV are modeled and numerically simulated in. Since the modeling trends and dynamical behavior are similar for different surface vessels, using the model developed in will help to quantify the dynamics and performance capabilities of surface vessels in general and facilitate the testing and tuning of the controllers. Furthermore, the model in allows to study the effect of the model nonlinearities on the controller s performance. The dynamical behaviors of a surface vessel can only be partially depicted using current modeling techniques. These dynamics are especially complicated when the vehicle s motion is in transient, as when considering a tracking problem the vessel may be required to follow search patterns or its desired path is constantly being modified. Additionally, the ocean environment is characterized by large, unknown perturbations. These features make it desirable to have a control system that is capable of self-tuning. This paper introduces a neural network model reference adaptive controller which has valuable self-tuning capabilities that allow it to adapt to the operating conditions in order to optimize the tracking performance of the closedloop system. The parameter update mechanism is derived using ultimate boundedness theory, which guarantees that Alexander Leonessa is with the Faculty of Mechanical, Materials, and Aerospace Engineering, University of Central Florida, P.O. Box 645, Orlando, FL 386 45 aleo@mail.ucf.edu Tannen S. VanZwieten is a Ph.D. Student in the Department of Mechanical, Materials, and Aerospace Engineering, University of Central Florida, P.O. Box 645, Orlando, FL 386 45 ta998@ucf.edu the tracking error is ultimately bounded when subject to some generalized constraints. The addition of a single layer neural network bypasses the need for information about the system s dynamic structure and characteristics. The presented control algorithm is tested and tuned using the surface vessel s nonlinear model presented in. II. MATHEMATICAL PRELIMINARIES In this section we establish definitions, notation, and a key result used later in the paper. Let R denote the set of real numbers, let R n denote the set of n real column vectors, let R n m denote the set of real n m matrices, and let T denote transpose. Furthermore, we write for the Euclidean vector norm and A resp., A > to denote the fact that the Hermitian matrix A is nonnegative resp., positive definite. In this paper we consider nonlinear controlled dynamical systems of the form ẋt = F xt, ut, x = x, t I x, xt D R n, t, is the system state vector, I x R is the maximal interval of existence of a solution x of, D is an open set, D, ut U R m, t, is the control input, U is the set of all admissible controls such that u is a measurable function with U, and F : D U R n is continuous on D U. Following the notation introduced in, consider the following nonlinear autonomous dynamical system ẋt = ft, xt, x = x t I x f : I x D R n is piecewise continuous in t and locally Lipschitz in x. Definition.: The solutions of are uniformly ultimately bounded with ultimate bound ε > if there exists γ > such that, for every δ, γ, there exists T = T δ, ε > such that x < δ implies xt < ε, t T. In the case of autonomous systems, we may drop the word uniformly. To see how Lyapunov analysis can be used to study ultimate boundedness, we introduce the following theorem. Theorem.: Assume that there exists a continuously differentiable function V : I x D R such that α x V t, x β x, t, x I x D, 3 V t + V ft, x W x, x x µ >, 4

α and β are class K functions, W : D R is a continuous positive definite function, and µ > is such that B α βµ D. Then the solutions of are ultimately bounded with ultimate bound ε α βµ. III. MODELING In this section we present a mathematical model of an Autonomous Surface Vehicle which will be used for the testing and tuning of the controllers. In particular, our model assumes that pitch, roll and heave motions are negligible and feature only the three degrees of freedom corresponding to surge, sway and yaw motions. Because of this choice we will assume for the remaining of the paper that the state space belongs to R 6 although the control algorithm can be easily extended to higher dimensions. A. Equations of Motion The notation used for the surface vessel s generalized equations of motion follows 3, but is reduced to motion in the horizontal plane. The Earth Fixed Frame EFF, denoted by x e, y e and z e, is chosen so that the vessel s center of gravity CG is at the origin at time t =. The x e and y e axes are directed toward the North and the East, respectively, while the z e axis points downward. This frame is assumed to be inertial, because when studying the motion of marine vehicles the acceleration at a point on the earth due to the earth s rotation is generally considered negligible. The vessel s configuration in the EFF is ηt xt, yt, ψt T, t, 5 xt R and yt R describe the distance traveled along the x e and y e directions respectively, and ψt R describes the rotation about the z e axis see Fig.. The Body Fixed Frame BFF has its origin fixed at the vehicle s center of gravity CG, the x b axis points forward, the y b axis starboard, and the z b axis downward see Fig.. The vessel s velocity is defined in the BFF as νt ut, vt, rt T, t, 6 ut R and vt R are the components of the absolute velocity in the x b and y b directions respectively, and rt R describes the angular velocity about the z b axis. The vectors ηt and νt are related by the kinematic equation 4, ηt = Jηtνt, t, 7 Jη cos ψ sin ψ sin ψ cos ψ 8 is the rotation matrix from the BFF to the EFF. Using the form introduced in 4 and the previous notation, the surface vessel s equation of motion is given by M νt+cνtνt +Dνtνt + gηt = τt, t, 9 ye ze EFF Fig.. y x xe yb ψ Coordinate frames M is the mass matrix, Cνt contains Coriolis, centripetal and added-mass terms, Dνt is the damping matrix, gηt is the vector of gravitational forces and moments, and τt is the input vector. We assume that the vessel is equipped with two motors in the rear which can be rotated independently. This provides an input zb CG BFF τt Xt, Y t, Nt T, consisting of two forces Xt, Y t R along the x b and y b axes respectively, as well as a yawing moment Nt R. While the rigid body inertia, Coriolis, centripetal, and gravitational terms are described in 4, the hydrodynamic terms are much more challenging to model and depend on the particular geometry of the vessel. An example of how to compute them for a specific vessel is provided in. In general, even very thorough hydrodynamic modeling efforts are only able to partially describe the dynamic behavior of the vessel because assumptions made always considerably affect the final result. In light of these considerations we are going to write the vessel dynamics as νt = fηt, νt + Bτt, B M, fη, ν BCν+Dνν Bgη, are completely unknown. The only system information utilized is the positive definiteness of B, as the mass matrix always satisfies this assumption. IV. ADAPTIVE CONTROLLER DESIGN The nonlinearities and unmodeled dynamics that characterize the surface vessel model introduced in the previous section make it desirable to have a control system that is capable of self-tuning. The adaptive controller developed here is for a fully multi-input/multi-output system which accounts for the strong dynamic coupling which characterizes the surface vessel model and has valuable self-tuning capabilities. The parameter update mechanism derived in this section uses ultimate boundedness theory. When using model reference adaptive control, a control algorithm is developed so that the system mimics the behavior of a reference system which provides smooth xb

convergence to the desired trajectory. Choosing the proper reference system allows the vehicle to exhibit less overshoot and oscillatory behavior as well as better tracking performance. Furthermore, the control inputs become more realistic, even when the vehicle is far away from the desired trajectory, diminishing the need to implement input amplitude and rate saturation algorithms. A. Reference System The reference system can be written as ẋ r t = A r x r t + B rˆrt, t, x r t R 6, t is the reference state, A r R 6 6, B r R 6 3 are constant matrixes and ˆrt R 3, t is the reference input. The reference system considered here is composed of three uncoupled second order oscillators. Each oscillator is characterized by a damping coefficient ζ i >, i =,, 3, and a natural frequency w i >, i =,, 3. This choice was mostly motivated by the simplicity of the corresponding reference dynamics. The dynamics of the i th oscillator are given by ẍ ri t+ζ i ω i ẋ ri t +ω ix ri t=ω iˆr i t, t, i=,, 3. 3 Thus, the reference system can be rewritten as ẋr t 3 I = 3 xr t 3 + ˆrt, t, 4 ẋ r t x r t and ω A r3 x r t x r t x r t x r3 t T, 5 x r t ẋ r t ẋ r t ẋ r3 t T, 6 A r3 diagζ ω, ζ ω, ζ 3 ω 3, 7 ω ω diagω, ω, ω 3. 8 Finally, the desired trajectory for the surface vessel can be written as By choosing x d t = x d t y d t ψ d t T. 9 ˆrt = ω x d t + A r3 x d t + ω x d t, we find that ẋr t x d t xr t x =A d t r. ẋ r t x d t x r t x d t Since 3 I A r 3 ω A r3, is a stable matrix, it follows that x r t x d t and x r t x d t, i.e. the reference state converges to the desired trajectory. The remaining problem is to design a control command, τt, such that η T t ν T t T x r t i.e., the system state converges to the reference state. Considering that the mass, Coriolis/centrifugal and damping matrices of the real system contain unknown parameters and unknown terms, a control signal which accounts for these uncertainties needs to be considered. Tracking Error Dynamics: The position and velocity tracking errors are defined as e t ηt x r t and e t ηt ẋ r t, respectively. The corresponding error dynamics are given by ė t= ηt ẋ r t = e t, 3 ė t= djηtνt +ω dt x r t+a r3 x r t ω ˆrt. 4 Substituting 7 and into 4 yields ė t= ω e t A r3 e t+jηthηt, νt +fηt, νt+bτt+ω J tηt ˆrt, 5 Jην hη, ν J + A r3 Jην. 6 η Control Command: The next goal is to define a control signal, τt, which guarantees that the tracking error is ultimately bounded. Consider the controller τt = Θ wηt, νt, ˆrt + δ ηt, νt, 7 wη, ν, ˆr ω J η ˆr+hη, ν+j K e +K e, 8 and Θ R 3 3 and δ, R 3. The arbitrary gains K R 3 3 and K R 3 3 are part of our set of tuning parameters. By substituting 7 into 3 and 5, the following closed loop error dynamics are obtained ė t = e t, ė t = ω e t Ãr3e t + Jηt BΘ + I wηt, νt, ˆrt + Bδ ηt, νt +fηt, νt, 9 ω ω + K and Ãr3 A r3 + K. Finally, by choosing Θ = B = M and δ ηt, νt = B fηt, νt, we obtain ė t ė t = Ãr e t e t I 3 Ã r = ω Ãr3, 3, 3 which, when K and K are properly chosen, correspond to a stable matrix, providing asymptotic stability of the closed loop error dynamics. Next, since Θ and δ ηt, νt are unknown, their estimates need to be introduced. In particular, Θ in 7 will be replaced with its estimate Θt such that Θt = Θ + Θt, Θt represents

the estimation error. Next, following the approach described in 5, it will be assumed that, for a given ε >, the vector function δ η, ν can be approximated over a compact set D R 3 R 3 by a linear parameterized neural network with a maximum approximation error given by ε. Hence, there exists εη, ν such that εη, ν < ε for all η, ν D, and δ η, ν = W ση, ν + εη, ν, 3 W R 3 q is the matrix of optimal unknown constant weights that minimize the approximation error over D, σ : R 3 R 3 R q is a vector of basis functions such that each component of σ, takes values in,, ε, is the vector of approximation errors, and W w, w is a bound for the optimal weight matrix. Now, following the procedure described in 6, δ ηt, νt is replaced in 7 with W tσηt, νt W t R 3 q is the estimate of the optimal weights such that W t = W + W t, with W t representing the estimation error. When replacing the controller 7 with the following τt = Θtwηt, νt, ˆrt + W tσηt, νt, 33 the corresponding error dynamics are given by ė t e t = ė t Ãr + e t Jηtγt, 34 γt B Θtwηt, νt, ˆrt + W tσηt, νt εηt, νt. 35 The stability properties of the error dynamics 34 are analyzed in the next section. 3 Closed Loop Error Dynamics: To show stability of the closed loop error dynamics 34, the following Lyapunov function candidate is considered V e, e, Θ, W = e T e T P e e + tr B ΘΓ Θ T + tr B W Γ W T, 36 >, Γ >, and Γ > are P P P P T P design constant matrices. Note that B = M is positive definite. The corresponding Lyapunov derivative is given by V t = e T t e T t Ãr à T e r P + P t e t +e T tjηtγt + tr B ΘtΓ Θ T t +tr B W tγ Ẇ T t, Θt = Θt, Ẇ t = W t and et P T e t + P e t. By choosing P so that the following Lyapunov equation is satisfied à T Q r P + P Ãr + 3 =, 37 3 Q Q, Q R 3 3 are positive definite matrices, we obtain V t = et tq e t et tq e t e T tjηtbεηt, νt +tr B Θtwηt,νt, ˆrte T tjηt+b ΘtΓ Θ T t +tr B W tσηt,νte T tjηt+b WtΓ Ẇ T t. Finally, the update laws Θt= J T ηtetw T ηt,νt, ˆrtΓ σ Θt, 38 Ẇ t= J T ηtetσηt, νtγ σ W t, 39 σ > and σ >, provide the following bound for the Lyapunov derivative V t Q Q e t e t Q P JηtBεηt, νt Q Q e t e t Q P JηtBεηt, νt, σ trb ΘtΓ Θ T t+ σ σ trb W tγ Now, we define the domain trbθ Γ Θ T W T t+ σ trbw Γ W T. D w {e, e, Θ, W : Q Q e P B ε Q Q e P B ε trb which is such that V t <, ΘΓ Θ T trbθ Γ trb W Γ Θ T 4 W T trbw Γ W T }4 e t, e t, Θt, W t D w. 4 It follows from Theorem. that the solutions of 34, 38, and 39 are ultimately bounded with ultimate bound ε max V e, e, Θ, W, 43 e,e, Θ, W D w We conclude that the closed loop error dynamics are ultimately bounded, hence the tracking error will enter a neighborhood D T of the origin in a finite time T > and it will not exit such a neighborhood at any time t T. Note that the size of D T is proportional to the bound ε, hence by improving the approximation for δ ηt, νt, ηt, νt D, the residual tracking error for t > T is reduced.

INITIALIZE GLOBAL VARIABLES states Double click to initialize ACTIVATION FUNCTIONS sigma S-Function4 sigma cin control inputs to workspace nu DESIRED POSITIONS AND THEIR DERIVATIVES user input REFERENCE INPUT S-Function REFERENCE STATES S-Function r_hat states ERROR CALCULATIONS Subsystem e, e CALCULATE w Subsystem w UPDATE LAWS Subsystem theta, W states CONTROL INPUT CALCULATION Subsystem3 tau ASV SIMULATION surface vehicle m velocities to workspace eta positions to workspace Fig.. Adaptive control Simulink diagram V. NUMERICAL SIMULATIONS In this section different maneuvers will be performed in order to test the controller performance capabilities. Results include the desired, actual and reference trajectories and orientation so that the behavior of the vessel is completely shown. The parameter estimates, Θt and W t, t, will also be plotted to show the system adaptation throughout the simulation. The complete set of control inputs, τt, t, is also shown; so that it may be determined if the necessary forces and torque can be actuated. The diagram shown in Fig. shows the simulation code. Note that the ASV simulation block consists of the dynamic equations 7 and B and fηt, νt have been chosen as described in. The reference system, as described in the previous section, consists of three uncoupled second order differential equations. The constants describing the reference system dynamics are ω =. I 3, ζ =.7.7.45. 44 Other constants chosen for the controller include Γ = I 3, Γ = I, K = K = 45 I 3, σ = σ =., and Q = Q =. 45 5 The following results were obtained for the adaptive controller implemented with these characteristics. A. Circular Trajectory Results The first maneuver performed using the adaptive controller is a circular trajectory with radius A = m and angular velocity ω = π 75 rad/s. The behavior of the vehicle is simulated for 75 s, or one complete cycle. The corresponding trajectory is shown in Fig. 3. The vehicle converges quickly to the desired trajectory while staying relatively close to the reference system. However, during the transient stage of the vehicle the reference system requires the vehicle to proceed toward the perimeter using a large y e 5 5 5 Vehicle Position and Orientation Inertial Frame desired trajectory reference trajectory actual trajectory 5 5 5 5 5 x e Fig. 3. Circular trajectory sway force. This is because the second order oscillator reference system for the orientation is decoupled from the surge and sway reference systems. Therefore, instead of forcing the reference orientation to face the desired location, the vehicle turns tangent to the perimeter before it reaches it. Not only is this inefficient, but it causes undesirable fluctuations in the control input because of the coupling between sway and yaw, which can be seen for the first s of the simulation, as shown in Fig. 4. The orientation error, e ψ t, t, on the left side of this figure shows similar oscillating behavior. Although the reference system error converges slowly and smoothly to the origin, the real system jumps around as it follows this path. Clearly the reference dynamics do not properly address the coupled system dynamics. After the vehicle reaches the desired trajectory, the error decreases and control input oscillations disappear because this effect is no longer relevant. The control gains as a function of time are shown in Fig. 5. The transient behavior of the Θt, t, converges after 5 s. The W t, t, gains, on the other hand, take longer to converge.

3 Control Inputs X N Y N N N m e x 6 4 System Error EFF r η r 3 3 4 5 6 7 e ψ rad e y 3 4 5 6 7 8 6 4 3 4 5 6 7.8.6.4.. 3 4 5 6 7 Fig. 4. Inputs, τt, and system error, et, for a circular trajectory Θ Θ gains updated throughout simulation 4 6 8 4 6 3 4 5 6 7 W W gains updated throughout simulation.3.....3.4.5.6 3 4 5 6 7 Fig. 5. Adaptive gains, Θt and W t, for a circular trajectory B. Octomorphic Trajectory Results The octomorphic trajectory is given by the following parametric equations, ωt x d t = A sin, x d =, t, 46 y d t = A sinωt, y d =. 47 The tangential angle for this curve, corresponding to the desired orientation, is given by ψ d t = tan ẏe t = tan cos ωt ẋ e t cos ωt. This maneuver is more complex than the circular trajectory that was tracked in the previous section. Tracking a circular trajectory involves a single turn with a constant turning radius. The octomorphic trajectory involves both left and right turns as well as straight lines. A similar behavior can be observed for the trajectory tracking in Fig. 6 as for the circular trajectory. During the transient state there were errors and oscillations in the control input as the vehicle attempts to use its sway force to converge to the desired trajectory. All three control inputs quickly show peak input values, but the oscillating behavior lasts for the first s see Fig. 7. The sway force and yaw torque reach magnitudes of 75 N and 3 N respectively. This goes well outside the achievable range. The uncoupled reference system dynamics that require the vehicle to make unreasonable maneuvers are again to blame for the large control inputs and their unachievable oscillating behavior. The Θt gains converge by t = 5 s, but the W t gains continue to modify themselves throughout the entire simulation see Fig. 8. Also, the Θt converges to larger values up to a magnitude of 4, while W t remains small rarely greater than unity. This result is similar to that seen for the circular maneuver. VI. CONCLUSION A neural network based model reference adaptive control algorithm was developed which guarantees ultimately bounded tracking error. The addition of the single layer neural network in the control algorithm eliminates the need to know any of the system dynamics, including its structure. This controller was implemented considering a reference

system of three independent second order oscillators. Numerical simulations were performed and showed excellent tracking performance in spite of a strong dependence on the reference system dynamics during the transient region. Improvements could be made through optimization of the reference system dynamics and implementation of actuators amplitude and rate saturation constraints. 5 Vehicle Position and Orientation Inertial Frame desired trajectory reference trajectory actual trajectory REFERENCES T. S. VanZwieten, Dynamic Simulation and Control of an Autonomous Surface Vehicle, Master s thesis, Florida Atlantic University, Department of Ocean Engineering, December 3. H. K. Khalil, Nonlinear Systems. Upper Saddle River, NJ: Prentice- Hall, Inc., nd ed., 996. 3 Nomenclature for Treating the Motion of a Submerged Body Through a Fluid, The Society of Naval Architects and Marine Engineers, no. - 5, 95. 4 T. L. Fossen, Guidance and Control of Ocean Vehicles. Chichester, England: John Wiley & Sons Ltd., 999. 5 T. Hayakawa, W. M. Haddad, N. Hovakimyan, and V. Chellaboina, Neural Network Adaptive Control for Nonlinear Nonnegative Dynamical Systems, in Proc. Amer. Contr. Conf., Denver, CO, pp. 56 566, June 3. 6 F. L. Lewis, A. Yesildirek, and K. Liu, Neural Network Control of Robot Manipulators and Nonlinear Systems. London, UK: The Society of Naval Architects and Marine Engineers, 999. y e 5 5 5 5 5 5 5 5 5 x e Fig. 6. Octomorphic trajectory Control Inputs e x 3 System Error EFF r η r 4 6 8 e y 5 5 5 5 4 6 X N Y N N N m 5 5 e ψ rad...4.6.8 5 5 Fig. 7. Inputs, τt, and system error, et, for an octomorphic trajectory 5 Θ gains updated throughout simulation.5 W gains updated throughout simulation 5 5 Θ W 5.5 3 35 4 5 5 5 5 Fig. 8. Adaptive gains, Θt and W t, for an octomorphic trajectory