Numerical simulation of the manoeuvrability of an underwater vehicle



Similar documents
Mechanics lecture 7 Moment of a force, torque, equilibrium of a body

Starting algorithms for partitioned Runge-Kutta methods: the pair Lobatto IIIA-IIIB

Design-Simulation-Optimization Package for a Generic 6-DOF Manipulator with a Spherical Wrist

CHAPTER 5 PREDICTIVE MODELING STUDIES TO DETERMINE THE CONVEYING VELOCITY OF PARTS ON VIBRATORY FEEDER

APPLIED MATHEMATICS ADVANCED LEVEL

Metrics on SO(3) and Inverse Kinematics

1 Introduction, Notation and Statement of the main results

THREE DIMENSIONAL GEOMETRY

Applications to Data Smoothing and Image Processing I

Lecture L22-2D Rigid Body Dynamics: Work and Energy

Dynamics. Basilio Bona. DAUIN-Politecnico di Torino. Basilio Bona (DAUIN-Politecnico di Torino) Dynamics / 30

CFD Modelling and Real-time testing of the Wave Surface Glider (WSG) Robot

SOLID MECHANICS TUTORIAL MECHANISMS KINEMATICS - VELOCITY AND ACCELERATION DIAGRAMS

LEVERRIER-FADEEV ALGORITHM AND CLASSICAL ORTHOGONAL POLYNOMIALS

DIRECT ORBITAL DYNAMICS: USING INDEPENDENT ORBITAL TERMS TO TREAT BODIES AS ORBITING EACH OTHER DIRECTLY WHILE IN MOTION

Intelligent Submersible Manipulator-Robot, Design, Modeling, Simulation and Motion Optimization for Maritime Robotic Research

Pre-requisites

Is there chaos in Copenhagen problem?

Nonlinear Iterative Partial Least Squares Method

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

Orbital Mechanics. Angular Momentum

Path Tracking for a Miniature Robot

Centripetal Force. This result is independent of the size of r. A full circle has 2π rad, and 360 deg = 2π rad.

Lecture 8 : Dynamic Stability

PROGRAMMING FOR CIVIL AND BUILDING ENGINEERS USING MATLAB

CALIBRATION OF A ROBUST 2 DOF PATH MONITORING TOOL FOR INDUSTRIAL ROBOTS AND MACHINE TOOLS BASED ON PARALLEL KINEMATICS

FLUID MECHANICS IM0235 DIFFERENTIAL EQUATIONS - CB _1

Kinematical Animation

Free Fall: Observing and Analyzing the Free Fall Motion of a Bouncing Ping-Pong Ball and Calculating the Free Fall Acceleration (Teacher s Guide)

CFD ANALYSIS OF CONTROLLABLE PITCH PROPELLER USED IN MARINE VEHICLE

Solutions to old Exam 1 problems

THEORETICAL MECHANICS

Chapter 2 - Kinematics

QUANTIZED INTEREST RATE AT THE MONEY FOR AMERICAN OPTIONS

Matlab Based Interactive Simulation Program for 2D Multisegment Mechanical Systems

Lecture L6 - Intrinsic Coordinates

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10

Interactive simulation of an ash cloud of the volcano Grímsvötn

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

Lecture L30-3D Rigid Body Dynamics: Tops and Gyroscopes

Central configuration in the planar n + 1 body problem with generalized forces.

USING MS EXCEL FOR DATA ANALYSIS AND SIMULATION

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

MODULE VII LARGE BODY WAVE DIFFRACTION

Symmetric planar non collinear relative equilibria for the Lennard Jones potential 3 body problem with two equal masses

Performance prediction of a centrifugal pump working in direct and reverse mode using Computational Fluid Dynamics

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

Bedford, Fowler: Statics. Chapter 4: System of Forces and Moments, Examples via TK Solver

INTEGRATED SYSTEM FOR DATA ACQUISITION AND NUMERICAL ANALYSIS OF THE SHIP RESISTANCE PERFORMANCE IN THE TOWING TANK OF GALAÞI UNIVERSITY

Simulation of Offshore Structures in Virtual Ocean Basin (VOB)

ACTUATOR DESIGN FOR ARC WELDING ROBOT

State of Stress at Point

521493S Computer Graphics. Exercise 2 & course schedule change

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Practical Grid Generation Tools with Applications to Ship Hydrodynamics

When to Refinance Mortgage Loans in a Stochastic Interest Rate Environment

Adaptive Online Gradient Descent

Stochastic Gradient Method: Applications

G.A. Pavliotis. Department of Mathematics. Imperial College London

The INSEAN E779a Propeller Test Case: a Database For CFD Validation

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Adequate Theory of Oscillator: A Prelude to Verification of Classical Mechanics Part 2

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

Least Squares Estimation

Interactive Computer Graphics

Modeling Mechanical Systems

CONTROL CODE GENERATOR USED FOR CONTROL EXPERIMENTS IN SHIP SCALE MODEL

Modelling and Identification of Underwater Robotic Systems

Code_Aster. A finite element of cable-pulley

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Constrained curve and surface fitting

Solving Simultaneous Equations and Matrices

INSTRUCTOR WORKBOOK Quanser Robotics Package for Education for MATLAB /Simulink Users

Research Methodology Part III: Thesis Proposal. Dr. Tarek A. Tutunji Mechatronics Engineering Department Philadelphia University - Jordan

The Fourth International DERIVE-TI92/89 Conference Liverpool, U.K., July Derive 5: The Easiest... Just Got Better!

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

Dynamic Process Modeling. Process Dynamics and Control

Section 4: The Basics of Satellite Orbits

Lecture 07: Work and Kinetic Energy. Physics 2210 Fall Semester 2014

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

College Credit Plus Dual Enrollment

Big Data - Lecture 1 Optimization reminders

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

Chapter 2. Derivation of the Equations of Open Channel Flow. 2.1 General Considerations

Estimated Pre Calculus Pacing Timeline

Frequency-domain and stochastic model for an articulated wave power device

Copyright 2011 Casa Software Ltd.

PID, LQR and LQR-PID on a Quadcopter Platform

PHY121 #8 Midterm I

Vision-based Walking Parameter Estimation for Biped Locomotion Imitation

Mean value theorem, Taylors Theorem, Maxima and Minima.

Aim : To study how the time period of a simple pendulum changes when its amplitude is changed.

Operational Space Control for A Scara Robot

How To Optimise A Boat'S Hull

PEDAGOGY: THE BUBBLE ANALOGY AND THE DIFFERENCE BETWEEN GRAVITATIONAL FORCES AND ROCKET THRUST IN SPATIAL FLOW THEORIES OF GRAVITY *

Transcription:

XXI Congreso de Ecuaciones Diferenciales y Aplicaciones XI Congreso de Matemática Aplicada Ciudad Real, 21-25 septiembre 29 (pp. 1 8) Numerical simulation of the manoeuvrability of an underwater vehicle D. Ovalle 1, F. Periago 2, J. García 3 1 Dpto. de Matemática Aplicada y Estadística, ETSI Industriales, Universidad Politécnica de Cartagena, 322 Cartagena, Spain - E-mail: diana.ovalle@upct.es. 2 Dpto. de Matemática Aplicada y Estadística, ETSI Industriales, Universidad Politécnica de Cartagena, 322 Cartagena, Spain - f.periago@upct.es. 2 Dirección de Ingeniería, DICA, Navantia S. A., 325 Cartagena (Spain) - jgpelaez@navantia.es. Palabras clave: Manoeuvrability control, submarine, optimal control, gradient descent method. Resumen A six degree of freedom (6-DOF) non mathematical model for a submarine is proposed. Then, the problem of manoeuvrability control for this vehicle is formulated as an unconstrained optimal control problem which is solved by using a gradient descent method. Simulation results presented are rooted by two requirements which are of a major importance in naval industry, and they are compared to a classical model. 1. Introduction In the development of a naval architecture tool for the guidance and autopilot of a submarine is important to choose both an accurate mathematical model for the equations of motion and a suitable control strategy. In spite of the practical importance of this matter, there are not so much works available in the literature, probably because of its applications in military technology. In fact, most of the results which are used by naval industry are based on simplified (meanly ) versions of more accurate non models or on non models with lower degrees of freedom. Nowadays, the following two challenges deserve an special attention at the practical level: (i) optimality of sizing rudders (decision to be taken during the design state), and (ii) design of an automatic submarine autopilot to be able to guarantee smooth manoeuvres as physically admissible in order to reduce hydraulic oil consumption and so reduce noise generation. 1

D. Ovalle, F. Periago, J. García Having this in mind, firstly, a vehicle dynamics model based on a combination of theory and empirical data is proposed in this work. Indeed, taking as a starting point the standard DTNSRDC (David Taylor Naval Ship Research and Development Center) non equations of motion for an underwater vehicle [5, 7, 1] and adapting these general equations to the particular characteristics of a prototype developed by the company Navantia S.A. Cartagena Shipyard (Spain), we propose a mathematical model composed of a highly coupled and non system of ordinary differential equations (ODEs) with six degrees of freedom. The second aim of this work is to design numerically an appropriate non control system which may be used for simulation of the usual depth and course keeping manoeuvres (among others) as well as to provide some useful information to deal with the above two points (i)-(ii). To this end, we describe the controller design as an unconstrained optimal control problem and implement a gradient descent method to solve it. This is an iterative algorithm which requires a good initialization to get a rapid convergence. To achieve a good initialization and also for comparison purposes, we derive from the original non model a simplified (4-DOF) mathematical model and solve it by using classical results on controllability theory [8]. Finally, numerical results are given to show the resulting non manoeuvres comparing to the ones. 2. Vehicle modeling The three-dimensional equations of motion for a marine vehicle are usually described by using two coordinate frames: the moving coordinate frame which is fixed to the vehicle and is called the body-fixed reference frame, and the earth-fixed reference frame which is called the world reference frame. The origin of body coordinates is at the half point along the symmetric longitudinal axis. Typically, this point is not so far from the center of buoyancy (CB) and from the center of gravity (CG). The body axes are longitudinal pointing in the nominal forward direction of the vehicle, lateral pointing through the right hand side of the level vehicle, and downward through the nominal bottom of the vehicle. The world coordinate system is defined by three orthogonal axes originating at an arbitrary local point at the ocean surface. North corresponds to x axis, East corresponds to y axis and increasing depth corresponds to z axis. The position and orientation of the vehicle are described in the world system while the and angular velocities are expressed in the body-fixed coordinate system. The kinematic equations which relate the body-fixed reference frame to the world reference system can be found in [7], [9]. The dynamic equations of motion can be derived from a Newton-Euler formulation which is based on Newton s second law, analyzing the forces and movements acting in each of the submarine s axis one can obtain those equations. The development of the functional form of the hydrodynamic forces and moments is by now well-known [5, 7, 1]. Specific values of the particular hydrodynamic coefficients which appear in the equations depend on the specific vehicle and, therefore, would require modification if applied to other vehicles. The values of the coefficients used in this work have been experimentally obtained in deeply submerged conditions by using a scaling model. A detailed study of the mentioned model as well as several captive manoeuvring tests appear in the internal 2

Numerical simulation of the manoeuvrability of an underwater vehicle report [2]. Those equations include the functional form of mechanical and hydrodynamic added mass, terms like: ρ 2 l3 [X u u + X vrvr + X wqwq], coriolis and centripetal forces,terms like: m[ u vr + wq x G (q 2 + r 2 ) + y G (pq ṙ) + z G (pr + q)], damping forces and moments due to skin friction and vortex shedding, terms like: ρ 2 l4 [X qqq 2 + X rrr 2 + X rprp + X q q q q ] + ρ 2 l2 [X uuu 2 + X vvv 2 + X www 2 + X w w w w ], restoring (i.e., gravitation and buoyant) forces and moments, terms like: propeller forces and moments, terms like: ( (W B) sin(θ), K T + K T J (1 w f ) nd u + K T J 2 (1 w f ) 2 (nd) 2 u 2 + K T J 3 and, rudders control forces, terms like: ρ 2 l2 [X δ r δ r u 2 δ 2 r + X δ s δ s u 2 δ 2 s + X δ b δ b u 2 δ 2 b ]. (1 w f ) 3 (nd) 3 u 3 (1 w f ) 4 ) + K T J 4 (nd) 4 u 4 n 2 D 4, We refer to [7, 11] for a detailed description and analysis of these forces and moments, but for a better understanding of the problem we indicate here that the state variable is denoted by x (t) = [x (t), y (t), z (t), φ (t), θ (t), ψ (t), u (t), v (t), w (t), p (t), q (t), r (t)]. The model for a submarine proposed by us is a set of 12 first order ODEs, that is a six degree of freedom (6-DOF) model, which can be found in [9]. There the first 6 equations, called kinematic equations, relate the body fixed reference frame to the word reference system, where the second member or the ODEs is mainly composed for trigonometrical functions of the submarine position variables. The other 6 equations, called dynamical equations, are related to the dynamical analysis of the movement of the submarine, where we can find terms like the previous mentioned. For the specific vehicle considered in this work, control inputs come in the form of thruster forces and moments and may be expressed as a vector u (t) = [δ b (t), δ s (t), δ r (t)], (1) where δ b is deflection of bow plane, δ s is deflection of stern plane, and δ r is deflection of rudder. From a pure mathematical point of view, it is important to point out the following facts in the proposed model: The high non character of the equations and the high order of the system (12 equations). 3

D. Ovalle, F. Periago, J. García The lack of differentiability of the system which is caused for several terms involving non-differentiable functions such as the absolute value and squared roots. The controls appear in non (quadratic) form. Because of these three difficulties, it is certainly hard to study the model at the pure mathematical level (existence, uniqueness of solutions, etc.). Indeed, very few is known in the mathematical literature concerning to the control of non-differentiable systems with controls appearing in non form. We refer to [3] for a recent related paper. Since this work is mainly addressed to numerical simulations and application to a real-life engineering problem, we do not enter here in the above theoretical question which, however, will be analyzed in a future work. Both kinematic equations and dynamic equations are the equations of motion for the submarine. In a compact form they can be written as: x (t) = f (x (t), u (t)). (2) 3. Non controller design The control problem can be formulated as follows: given an initial state x () = x R 12 and a desired final target x T, the goal is to calculate the vector of control u (t) which is able to draw our system from the initial state x to (or near to) the final one x T in a given time T. In mathematical terms, this problem may be formulated as the unconstrained optimal control problem Minimize in u : J (u) = Φ ( x (T ), x T ) + T F (x (t), u (t)) dt subject to x (t) = f (x (t), u (t)) x () = x Here Φ ( x (T ), x T ) and F (x (t), u (t)) are two generic functions which can be chosen as desired. At this point, a pair of remarks is in order: It is evident that the original problem includes some constraints on both the control inputs and the state variables. This is very important in order to choose an appropriate numerical control method but, at the practical point of view, all of these restrictions can be easily satisfied by taking the final time T large enough. For this reason, in this preliminary work we will not consider the above mentioned constraints. As for the cost function J (u), we have written it in a general format because the method we plan to develop in the remaining can be applied in this general setting. Concerning to the particular problem of control of the manoeuvrability for an underwater vehicle, which is the main goal of this work, it is quite natural to take Φ ( x (T ), x T ) = 4 12 j=1 (3) ( α j xj (T ) x T ) 2 j (4)

Numerical simulation of the manoeuvrability of an underwater vehicle with α j > penalty parameters, and F (x (t), u (t)) = 3 β j (u j (t)) 2 (5) with β j > another weight parameters. Therefore, the cost function J (u) is a commitment between reaching the final target and a minimal expense of control on having done the corresponding manoeuvre. There are several optimization methods which can be applied to solve (3). Due to the complexity of the state law and the large number of variables involved in the problem, it is quite reasonable to use a gradient descent method. We refer to [1, 4] for more details on this method. 4. Numerical simulations In this section, we show some numerical results obtained by implementing the approach described in the preceding sections in Matlab R for a depth change. At each iteration the state and adjoint state equations have been solved by using the ODE45 Matlab function, which is a one-step solver based on an explicit Runge-Kutta (4,5) formula (see [13]). Our goal is to provide some useful numerical information to address challenges (i)-(ii) described in the introduction. The depth change we are going to consider is defined through a change between an initial state and a final state, during a particular T and with the parameters λ and ε as follows: λ =,1 ε = 1 6 x () = (,, 4,,,, 2,5,,,,, ) (6) x T = (,, 5,,,,,,,,, ), T = 2. We are going to compare four different cases: Case 1. In order to check the algorithm with a typical manoeuvre, we take: { α3 = 1, α j =, j 3 j=1 β j =, j = 1, 2, 3 That is, we penalize only the final value for the depth state variable. We want the submarine goes from a depth of 4m to 5m, regardless the final value in the other state variables. Case 2. In order to study optimality of sizing rudders (which is a typical example of a pre-contract navy requirement) we take: { α2 = α 3 = α 5 = 1, α j =, j 2, 3, 5 (8) β j =, j = 1, 2, 3 In this case, we also penalize the final value for the state variables y (t) and θ (t). We want the submarine goes from a depth of 4m to 5m and, in addition, the final pitch angle must be equal (or near) to zero in order to continue the movement with the final value on the control variable without changes in depth. (7) 5

D. Ovalle, F. Periago, J. García Case 3. In order to reduce hydraulic oil consumption (and therefore noise generation) we penalize, in addition, the L 2 norm of the control variables. Hence, now we take: { α2 = α 3 = α 5 = 1, α j =, j 2, 3, 5, (9) β 1 = 1, β 2 = β 3 = Case 4. The case which approaches this problem studied in (see [8]). m 1 1 2 3 4 5 6 7 non z 8 5 1 15 2 Figure 1. East movement(y(t)) m 45 4 35 3 25 2 15 1 5 non z 5 1 15 2 Figure 2. Depth movement(z(t)) 2 18 16 14 non z.2.2 º(degrees) 12 1 8 6 4 2 5 1 15 2 Figure 3. Pitch Angle (θ(t)) º(degrees).4.6.8.1 non z.12 5 1 15 2 Figure 4. Deflection of rudder (δ r(t)) The results are shown in Figures 1-7. Dashed lines (- - -) display results for the gradient method and for the set of parameters (7),we refer to this case as to non z. Continuous lines ( ) display the results for (8),we refer to this case as to. Dash/dot lines (- - - ) show results for the gradient method and for the set of parameters as in (9) where the values for α j are replaced by α 3 = 1 and α j = for j 3, i.e., we keep the constrains in depth z (t), east movement y(t) and pitch angle θ(t), this last case is named. Finally, dotted lines ( ) correspond to results obtained with the model described in [8]. As shown in Figures 2, 3, 5 and 6 continuous, dash/dot and dashed lines are essentially the same. However, there is some differences between them in Figures 1 and 4. Obviously, the reason for these results is that in and in we force the submarine to finish near to zero position on the y axis, but in we also constrain the movement of the rudder δ r which gives the movement on the y axis. Therefore, δ r needs to turn more in than in, where 6

Numerical simulation of the manoeuvrability of an underwater vehicle this movement is restrictive, or in non z, where the constraint on y axis is inactive. Finally, Figure 7 shows the evolution of the cost function (with respect to the number of iterations) for the cases non z, and. An exponential decay is observed in all cases. As we expect, the minimal cost is reached for the less restrictive problem non z in less number of iterations, and the largest cost is reached for the more restrictive problem in a larger number of iterations. We do not include pictures for the rest of state variables because they are not relevant in this manoeuvre. 1.5.5 2 1.5 non z º(degrees) 1 1.5 2 2.5 º(degrees) 1.5 3 3.5 non z 4 5 1 15 2 Figure 5. Deflection of stern plane (δ s (t)).5 5 1 15 2 Figure 6. Deflection of bow plane (δ b (t)) 18 16 non z 14 12 1 8 6 4 2 6 8 1 12 14 16 Figure 7. Cost Function As is typical in a gradient algorithm, results depend on the initialization. For instance, when we initiate our algorithm with zero value for u (t), t T, after convergence, we obtain different results: the costs for the case non z are the same and very close to zero, but the optimal controls are slightly different; for the case, the final optimal cost is higher than in the case tested before, and the optimal controls are also different. These results seem to indicate the existence of several local minima and/or non-uniqueness of solutions. 5. Conclusions The problem of manoeuvrability control for a submarine is addressed. The vehicle dynamics is modelled as a simplified version of the classical DTNSRDC equations of motion that adapts to the specific type of submarine under consideration. The manoeuvrability 7

D. Ovalle, F. Periago, J. García control problem is then formulated as a nconstrained optimal control problem which is numerically solved by using a gradient descent method. Numerical results show that, although the non model proposed in this work follows, in some sense, the same tendency as the more usual model, however, important changes in some state and control variables are present. As a conclusion, the nonities which appear in the kinematic and dynamic equations of motion cannot be removed in order to have more accurate simulation results. In what concerns the optimization method proposed, it allows us to obtain satisfactory simulation results in a model which presents serious mathematical difficulties. As for the computational cost of the algorithm, for a depth change manoeuvre it takes about 6 seconds in a PC for the test cases 1, 2 and 3. Finally, we emphasize that at the practical level it is interesting to include the propeller as a control variable and to impose some (a priori) constraints on the control variables. We plan to address these two issues as well as the more theoretical questions concerning existence and uniqueness of solutions in a future work. Acknowledgements Supported by projects MTM27-62945 from Ministerio de Ciencia y Tecnología (Spain), 872/PI/8 from Fundación Séneca, Agencia de Ciencia y Tecnología de la Región de Murcia (Programa de Generación de Conocimiento Científico de Excelencia, IIPCTRM 27-1) and 21131/7MAE from Navantia S.A. Referencias [1] G. Allaire, Analyse numérique et optimisation, Les Éditions de l École Polytechnique, Paris 25. [2] L. Byström, SSPA report n o 2 11-4, for E. N. Bazan de CNM, SA, 21. [3] T. Chambrion and M. Sigalotti, Tracking control for an ellipsoidal submarine driven by Kirchoof s laws, IEEE Transactions on Automatic Control, 33 (1) (28), 339-349. [4] J. C. Culioli, Introduction à l optimisation, Éditions Ellipses, Paris 1994. [5] J. Felman, Revised standard submarine equations of motion. Report DTNSRDC/SPD-393-9, David W. Taylor Naval Ship Research and Development Center, Washington D.C., 1979. [6] E. Fernández-Cara and E. Zuazua, Control theory: History, mathematical achievements and perspectives, Bol. Soc. Esp. Mat. Apl. 26 (23), 79-14. [7] T. I. Fossen, Guidance and control of ocean vehicles, John Wiley and sons, 1994. [8] J. García-Peláez, J. A. Murillo, I. A. Nieto, D. Pardo and F. Periago, Numerical simulation of a depth controller for an underwater vehicle, MARTECH 7, International Workshop on Marine Technology, Villanova i la Geltrú, 27. [9] J. García-Peláez, D. Ovalle and F. Periago, Optimal control design for the non manoeuvrability of a submarine, pre-print available at http://filemon.upct.es/ fperiago/archivos investigacion /submarine paper.pdf, 29. [1] M. Gertler and G. R. Hagen, Standard equations of motionfor submarine simulations, NSRDC Rep. 251, 1967. [11] J. N. Newman, Marine hydrodynamics, The MIT Press, Cambridge, Massachusetts, London, 1977. [12] K. Ogata, Modern Control Engineering. Prentice-Hall, fourth edition edition, 21. [13] L. F. Shampine, M. W. Reichelt, The Matlab ODE Suit. SIAM Journal on Scientific Computing, vol. 18, 1997, pp 1-22. 8