Lagrange modeling and navigation based on quaternion for controlling a micro AUV under perturbations

https://doi.org/10.1016/j.robot.2019.103408Get rights and content

Highlights

  • The dynamic model uses quaternions for the angular position.

  • Lagrange method is modified to implement the quaternion formulation.

  • The LOS guidance algorithm is also modified to integrate the quaternion formulation.

Abstract

This paper addresses the modeling of an autonomous underwater vehicle using quaternion formulation for angular position description and Lagrange method to compute the equations of motion. As the four parameters are dependent and generate a constraint, Lagrange multipliers are used with Baumgarte method to solve and stabilize the system. The dynamic model includes underwater effects like added mass and inertia, hydrodynamic damping, buoyancy and propeller forces. Moreover, a quaternion-based line of sight guidance algorithm is derived to avoid any use of trigonometric function and compute directly the orientation error of the underwater vehicle and the desired attitude in terms of quaternions. Motion control is achieved with a quaternion-based adaptive sliding mode controller rejecting model uncertainties and water current. The simulation results, where the vehicle follows a sequence of way-points including vertical diving motion demonstrate that the proposed guidance algorithm and motion control are deeply relevant both in terms of effectiveness and robustness for this particular type of vehicle and orientation formulation.

Introduction

Autonomous Underwater Vehicles (AUV) have an essential role in the offshore industry and ocean exploration. These vehicles can reach places where human intervention is dangerous or impossible. They usually perform tasks like visual inspection or more complex actions such as pipelines maintenance, mine-clearing operations or search and rescue [1].

To ensure precise and effective navigation, AUVs integrate navigation, guidance and control systems as inertial sensors for orientation, barometers for depth measure, acoustic systems for absolute/relative positioning and accelerometers. Besides, these vehicles are subject to unexpected dynamics due to the environment such as water currents [2], [3], tether cable forces or obstacles. Thus, the control needs to overcome uncertainties in the model geometry, mass, damping, actuation forces and also noise in the signals. When operating, the control should be robust again all these external and internal perturbations to guarantee precise navigation. For micro AUVs, as their mass is inferior to 4.5 kg [4], the effect of disturbances is greater than for classical heavier vehicles. This constraint requires control for this category of vehicles to especially have properties for disturbance rejection.

AUVs are generally modeled as 6 degrees of freedom (DOF) systems. The classical denomination for the degrees of freedom is: surge, sway, heave, roll, pitch and yaw. An overview of dynamic modeling methods for underwater vehicles can be found in [5]. Most of the models in literature use Newton/Euler approach to derive the equations of motion [6], [7] with Euler angles to define the vehicle orientation. However, this classical formulation contains singularities that limit the vehicle range of motion. Typically, in the roll/pitch/yaw formulation of the cosine matrix (Tait–Bryant sequence of rotations), the pitch angle θ should be limited to π2<θ<π2 to avoid numerical instability of the model.

This singularity in the cosine matrix can be prevented using a quaternion formulation to define the angular position of the vehicle in the reference frame. In [8], [9] this method is applied to a 6-DOF AUV model with a PD control for attitude. The authors include the quaternion formulation into the classical Newton–Euler approach to derive the equations of motion. Quaternion feedback control gives similar performances for tracking trajectory compared to Euler angles but without the use of trigonometric function or singularity in the cosine matrix. However, no perturbation is applied to the system in these analyses.

The Lagrange method is well adapted for complex dynamic systems. Nonetheless, this formulation needs a state vector q̲ of independent coordinates and the 4 terms of the quaternion are dependent. To apply quaternion formulation into Lagrange derivation of the equations of motion, Lagrange multipliers are used as summarized in [10] to maintain the unit norm constraint of the quaternion parameters. New methodologies to avoid using Lagrange multipliers have been derived in [11], however, no strict comparison has been done on complex mechanical systems in terms of precision and computation efficiency. Furthermore, the majority of studies applying the quaternion formulation to Lagrange derivation of the equations of motion focus on general equations for 6-DOF bodies or spacecraft.

Attitude control and guidance of autonomous vehicles using quaternion formulation is a key area for systems that can describe complex tridimensional trajectories in space. The line of sight (LOS) algorithm is a widely used method to drive the velocity control of a vehicle in space and make it follow a fully defined trajectory or way-points [12]. The intersection between the look-ahead distance and the path allows computing the LOS vector which is the target direction for the vehicle to follow. This look-ahead distance parameter is crucial and has to be tuned properly, small values make the vehicle more dynamic on his heading changes but can lead to oscillations in its trajectory [13]. On the contrary, a high look ahead-distance makes the vehicle heading changes smoother but is not relevant for close range environments.

To control the AUV orientation, the angular error is generally computed in the horizontal plane and also in the vertical plane for slender body types AUVs with rudders [14], [15]. Nevertheless, as a high-level task, the different LOS guidance algorithms still need the computation of angular errors with trigonometric functions and do not avoid the inherent singularities due to Euler angles. For surface vessels, this singularity is not problematic since the pitch angle remains small [16]. However, when it comes to AUVs this statement is no longer true, especially for torpedo-shaped vehicles.

In [17] and [18], the horizontal and vertical angular errors are transformed into a quaternion error vector assuming the vehicle roll angle is not to be controlled. Nonetheless, this method still decouples the orientation error in the different planes and needs the computation of trigonometric functions.

In [19], the desired quaternion and cosine matrix are computed using directly the LOS vector. A 6-DOF AUV model derived via Newton–Euler method follows a straight line in the presence of constant ocean current and sensor noise. Nevertheless, the trajectory proposed to illustrate the navigation algorithm interest is limited.

This manuscript relies on proposing a complete solution for modeling and navigation of micro underwater vehicles using the Lagrange method and quaternions for orientation. The model includes added masses and inertia, quadratic damping, actuator forces, buoyancy effect, realistic random water currents, and parametric uncertainties. The contribution is, alongside with the solving of the constrained Lagrange equations, the derivation of a LOS guidance algorithm directly in the quaternion formulation. No trigonometric function or angular error is computed to keep the system free from singularities in the rotation matrix and allow the vehicle to take any desired orientation in space. For motion control of the AUV, a quaternion-based adaptive sliding mode controller is proposed. Finally, the feasibility and efficiency of the proposed guidance algorithm coupled to the motion controller are tested in a simulation where the underwater vehicle follows a sequence of way-points, including vertical diving maneuver in presence of realistic internal and external disturbances.

In Section 2, the modeling method for the underwater vehicle using Lagrange and the quaternion formulation is presented. The next Section 3 develops the ASM controller on the dynamic model. Then, Section 4 addresses the quaternion-based LOS guidance algorithm. Section 5 exposes the simulations results and the associated analysis.

Section snippets

Underwater vehicle model

In this section, a dynamic model of an underwater vehicle type micro-AUV is presented and derived using the Lagrange method with quaternions for the computation of the equations of motion.

Design of the controller

In this section, an adaptive sliding mode controller for the micro AUV model subject to uncertainties and water currents is designed.

Path following algorithm

In this section, a quaternion-based LOS guidance algorithm is proposed allowing the AUV to track autonomously a path defined by a sequence of way-points. The following method avoids any use of trigonometric functions in the orientation error formulation and so maintains the quaternion main advantage.

Numerical simulations and results

This section presents the dynamic model based on Lagrange method with quaternions (43) in closed-loop with the control (62), (69). The simulation is performed using Matlab/Simulink with a Runge–Kutta solver at a sampling frequency of 1kHz. For the sake of simplicity, the full state is available and the presented LOS guidance algorithm is used to make the AUV follow a predefined path including vertical diving.

Conclusion

A dynamic model of an autonomous underwater vehicle has been derived using the Lagrange method for the equations of motion and a quaternion formulation for the rotation parameters. As the four parameters are dependent, Lagrange multipliers have been used to maintain the system constrained alongside the Baumgarte method to ensure better numerical stability. Then, a quaternion-based LOS guidance algorithm has been proposed to extend the advantages of the navigation method. The desired rotation

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgments

The authors thank Laboratorio Nacional de Robotica del Centro y Norte de Mexico and Tecnologico de Monterrey for the facilities to carry out this research project.

Jonathan Rodriguez received a M.Sc. in mechanical engineering with orientation in Structure Dynamics from Superior Institute of Automotive and Transportation (ISAT, France) and the Ph.D. in Dynamics and Control with emphasis in Active Vibration Control from INSA (Lyon — France, in partnership with Airbus Helicopters, Marseille — France) in 2011 and 2015 respectively. Dr. Rodriguez has been a Research Engineer at ENSAM (Ecole Nationale Supérieure des Arts et Métiers) as part of the Airbus

References (29)

  • ZereikaE. et al.

    Challenges and future trends in marine robotics

    Annu. Rev. Control

    (2018)
  • RobertsG.N. et al.
  • GovindaG.V.L. et al.

    Modelling, design and robust control of a remotely operated underwater vehicle

    Int. J. Adv. Robot. Syst.

    (2014)
  • ChristR. et al.

    The ROV Manual: A User Guide for Remotely Operated Vehicles

    (2014)
  • FossenT.I.

    HandBook of Marine Craft Hydrodynamics and Motion Control

    (2011)
  • FossenT.I.

    Marine Control Systems. Guidance, Navigation and Control of Ships, Rigs and Underwater Vehicles

    (2002)
  • AntonelliG. et al.

    Adaptive control of an autonomous underwater vehicle: Experimental results on ODIN

    IEEE Trans. Control Syst. Technol.

    (2001)
  • FjellstadO.-E. et al.

    Position and attitude tracking of AUVs: a quaternion feedback approach

    IEEE J. Ocean. Eng.

    (1994)
  • ChenC.W. et al.

    Maneuvering modeling and simulation of AUV dynamic systems with Euler–Rodriguez quaternion method

    China Ocean Eng.

    (2013)
  • SherifK. et al.

    On the rotational equations of motion in rigid body dynamics when using Euler parameters

    Nonlinear Dyn.

    (2015)
  • UdwadiaF. et al.

    An alternative derivation of the quaternion equations of motion for rigid-body rotational dynamics

    J. Appl. Mech.

    (2010)
  • BreivikM. et al.

    Path following of straight lines and circles for marine surface vessels

    IFAC Proc.

    (2004)
  • LekkasA.M. et al.

    A time varying look-ahead distance guidance law for path following

    IFAC Proc.

    (2012)
  • RefsnesJ.E et al.

    Model-based output feedback control of slender-body underactuated AUVs: Theory and experiments

    IEEE Trans. Control Syst. Technol.

    (2008)
  • Cited by (22)

    View all citing articles on Scopus

    Jonathan Rodriguez received a M.Sc. in mechanical engineering with orientation in Structure Dynamics from Superior Institute of Automotive and Transportation (ISAT, France) and the Ph.D. in Dynamics and Control with emphasis in Active Vibration Control from INSA (Lyon — France, in partnership with Airbus Helicopters, Marseille — France) in 2011 and 2015 respectively. Dr. Rodriguez has been a Research Engineer at ENSAM (Ecole Nationale Supérieure des Arts et Métiers) as part of the Airbus Helicopters Innovation Team. He has authored and co-authored in several publications in international peer-review journals and international conferences. His research interests are Aerospace structure Control, Dynamics control, modeling, Health and monitoring. Since 2018, he is continuing his research in dynamics and control on autonomous vehicles at the TEC Monterrey (Mexico).

    Herman Castañeda received the graduate degree in communication and electronic engineering from the Universidad Autonoma de Zacatecas, Zacatecas Mexico, and the MSc. and Ph.D. in Electric Engineering with emphasis in nonlinear control from the Universidad Autonoma de Nuevo León, Mexico, in 2010 and 2014 respectively. In March 2015, he joined to the Tecnologico de Monterrey in Monterrey, Mexico as Postdoctoral fellow, and since 2017 as professor researcher. His research interests include design, modeling and control of autonomous vehicles and applications of control theory and nonlinear observers to the robotic field.

    J.L. Gordillo graduated in industrial engineering from the Technological Institute of Aguascalientes, Mexico. He obtained both the D.E.A. degree and the Ph.D. in Computer Science from the National Polytechnic Institute of Grenoble, France, in 1983 and 1988, respectively. From 1989 to 1990 he was Assistant Professor at the Department of Automatic Control of the Center for Advanced Studies and Research of the National Polytechnic Institute of Mexico (CINVESTAV-IPN). Currently José Luis Gordillo leads the Robotics National Laboratory and the Research Group on Robotics at this institution. He founded this Laboratory in 2010, granted by CONACyT and the Tecnologico de Monterrey. He has been a Visitor Professor in the Computer Science Robotics Laboratory at Stanford University (1993), at the Project Sharp of INRIA Rhone-Alpes in France (2002 and 2004), at LAAS-CNRS in Toulouse, France (2007-2008), and at some other universities and research institutes. His research interests are in computer vision and olfaction for robotics applications, in particular autonomous vehicles on ground, air and water. He participated and leaded R&D projects with industry like Honeywell Bull in France, Sun Microsystems, Penõles and TV Azteca; and government entities like the Mexican Army, the French-Mexican Laboratory for Computer Science (LaFMI), the Institute of the Water of the Nuevo Leon state (IANL), and the National Council for Science and Technology in Mexico (CONACyT). In particular, he promoted and leaded the National Net on Robotics and Mechatronics (RobMec) of CONACyT from 2010 to 2014.

    View full text