Next Article in Journal
The ESD Characteristics of a pMOS-Triggered Bidirectional SCR in SOI BCD Technology
Next Article in Special Issue
Path Planning of Mecanum Wheel Chassis Based on Improved A* Algorithm
Previous Article in Journal
Convincing 3D Face Reconstruction from a Single Color Image under Occluded Scenes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modeling, Trajectory Analysis and Waypoint Guidance System of a Biomimetic Underwater Vehicle Based on the Flapping Performance of Its Propulsion System

by
Juan Antonio Algarín-Pinto
1,
Luis E. Garza-Castañón
1,*,
Adriana Vargas-Martínez
1 and
Luis I. Minchala-Ávila
2
1
School of Engineering and Sciences, Tecnologico de Monterrey, Eugenio Garza Sada 2501, Monterrey 64849, Mexico
2
School of Engineering and Sciences, Tecnologico de Monterrey-Guadalajara, Gral. Ramón Corona 2514, Guadalajara 45138, Mexico
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(4), 544; https://doi.org/10.3390/electronics11040544
Submission received: 7 January 2022 / Revised: 5 February 2022 / Accepted: 7 February 2022 / Published: 11 February 2022
(This article belongs to the Special Issue Path Planning and Control for Robotics)

Abstract

:
The performance of biomimetic underwater vehicles directly depends on the correct design of their propulsion system and its control. These vehicles can attain highly efficient motion, hovering and thrust by properly moving part(s) of their bodies. In this article, a mathematical modeling and waypoint guidance system for a biomimetic autonomous underwater vehicle (BAUV) is proposed. The BAUV achieves sideways and dorsoventral thunniform motion by flapping its caudal fin through a parallel mechanism. Also, an analysis of the vehicle’s design is presented. A thrust analysis was performed based on the novel propulsion system. Furthermore, the vehicle’s kinematics and dynamic models were derived, where hydrodynamic equations were obtained as well. Computed models were validated using simulations where thrust and moment analysis was employed to visualize the vehicle’s performance while swimming. For the path tracking scheme, a waypoint guidance system was designed to correct the vehicle’s direction toward several positions in space. To accurately obtain waypoints, correction over the propeller’s flapping frequency and bias was employed to achieve proper thrust and orientation of the vehicle. The results from numerical simulations showed how by incorporating this novel propulsion strategy, the BAUV improved its performance when diving and maneuvering based on the dorsoventral and/or sideways configuration of its swimming mode. Furthermore, by designing proper strategies to regulate the flapping performance of its caudal fin, the BAUV followed the desired trajectories. The efficiency for the designed strategy was obtained by comparing the vehicle’s traveled distance and ideal scenarios of straight-line trajectories between targets. During simulations, the designed guidance system presented an efficiency of above 80% for navigation tasks.

1. Introduction

Nowadays, biomimetic autonomous underwater vehicles (BAUVs) represent an alternative strategy to accomplish navigation tasks without disrupting the natural cohesion in aquatic ecosystems. These vehicles deliberately imitate a diverse set of locomotion skills found on fish to enhance their underwater performance. One important reason for this is that fish excel in propelling their body using only their fins [1]. Also, compared to classic nonbiomimetic systems, BAUVs have higher levels of maneuverability and efficiency, outperforming traditional propulsion systems. The capacity to generate thrust and moment without the use of noisy and energy-expensive turbines is one of the many advantages of these mechanisms [2].
Like fish, BAUVs move a part (or parts) of their bodies to generate a pressure difference in water in order to achieve momentum. However, to attain undulatory or oscillatory propulsion, swimming styles may vary according to species. In general, two types of swimming methods can be found in nature: one where medium and/or paired fins (MPF) are employed to propel, and the other where the body and/or a caudal fin (BCF) is moved to generate thrust [3]. BCF swimmers comprise approximately 85% of fish species, including many fast swimmers such as sailfish, tuna, and pike [4]. For the BCF swimming style, a more detailed classification may be made, dividing roughly into anguilliform, subcarangiform, carangiform, and thunniform locomotion. While other fish undulate their whole (anguilliform) or most of their bodies (carangiform and subcarangiform), thunniform swimmers generate thrust by only flapping their caudal fins, making this the best swimming strategy in terms of efficiency [5].
The performance of BAUVs with BCF locomotion will directly depend on the mechanics employed inside their propellers. Specifically, their efficiency, speed, thrust generation and maneuverability will be limited by the way their propulsion system is configured. Many novel designs have been developed to properly generate oscillations to the last section of the bodies of these vehicles. Some of them are based on multijoint robotic propellers, where several rotary actuators are serially linked to imitate fish-like vertebrae and carangiform locomotion. By generating rhythmic movements from joints, sideways or dorsoventral flapping might be achieved inside the propulsion system [6,7]. Also, to improve turning without taking speed into account, some larger configurations might be implemented. Among these cases, configurations of four or more actuators may be employed to attain a larger range of bias from the moving part of the body and/or caudal fin while flapping [8]. On the other hand, and to reduce energy consumption, some designs focus on only producing motion on the caudal fin. This way, by limiting the number of actuators and with the help of transmission systems to enhance the flapping frequency from the vehicle’s tail, faster robotic fish may be designed [9,10]. Then, based on how the propulsion system was configured and the achievable swimming fashion, some tradeoffs in the performance of an underwater vehicle should be considered. On one hand, high energy consumption mechanisms may attain lower cruising speeds but excel at maneuverability, while highly energy efficient mechanisms may produce faster speeds but present relatively poor maneuverability [11].
Regardless of the locomotion achieved, a BAUV position and orientation over time will depend on how fast (frequency), how large (amplitude), and how biased the propeller’s flapping can become, and how its motion is regulated. Also, the trajectory described by the vehicle will be conditioned by the forces and moments exerted by the propulsion system’s motion, the added mass effect produced, and the hydrodynamics presented by the vehicle [9]. Hence, to correctly implement guidance strategies in the path tracking task of these vehicles, it is necessary to understand how all these factors will affect performance. A proper derivation of the kinematics and dynamic modeling of the vehicle, a force and moment analysis of the propulsion system, and open-loop validations are required to identify which strategies may overcome unwanted reactions.
Several studies have focused on the derivation of the kinematics and dynamic models of biomimetic underwater vehicles. These studies are conducted to identify which behaviors the vehicle will tend to present while swimming. In [12], Ravichandran et al. performed numerical simulations based on the dynamic modeling of a REMUS autonomous underwater vehicle to which a caudal fin was fixed as the main propeller. By changing its orientation, the caudal fin was able to reproduce dorsoventral and sideways flapping. However, no information of the mechanical design required for the propulsion system to attain such configurations was presented, and a force and moment analysis was not conducted. They found that based on the swimming fashion, the vehicle would tend to follow a circular path while flapping sideways, and straight lines while flapping dorsoventrally. Szymak [13] developed a mathematical model for a BAUV and a forces and moments analysis produced by a sideways undulating propeller. In his design, the vehicle’s movable tail was considered for thrust generation and two independent pectoral fins were employed to change the cruising orientation. The vehicle achieved a proper thrust once the tail flapping frequency reached 2 Hz at a total amplitude of 20 ° . During the open-loop simulations, the trajectories presented circular shapes, and the turning direction could be changed when pectoral fins were activated. Majeed and Ali [14] detailed a mathematical model of a carangiform BAUV. For the vehicle’s dynamics, hydrodynamic added mass and damping terms were computed by approximating the vehicle’s shape to a prolate ellipsoid. Also, to estimate the thrust exerted by the caudal fin, the authors used Lighthill’s Large Amplitude Elongated Body Theory [15], and the heave and pitch from the vehicle were assumed to be sinusoid functions. The vehicle presented circular paths during open-loop simulations with a tail-sideways-flapping frequency of 1 Hz at a total amplitude of 42 ° . The authors also demonstrated that biasing the caudal fin’s flapping amplitude to one side made it possible to change the forward direction of the vehicle.
Guiding a BAUV toward a goal is a high priority task. Therefore, a guidance system is required to process the navigation and trajectory presented by the vehicle. This system considers the BAUV’s velocity and attitude, and information regarding the desired goal. Hence, it defines the correction that must be performed to keep on the correct track. Additionally, a control scheme is used to generate signals on actuators to produce the required correction that will help the vehicle swim toward set points. Based on its biomimetic features, the vehicle’s swimming performance will mainly depend on the motion of the propeller and the ways in which forces and moments are exerted.
In the waypoint tracking strategy, the vehicle should reach a preestablished set of coordinates in space (waypoints). The line of sight (LOS) algorithm is one common guidance strategy, where the underwater vehicle maneuvers itself to correct its direction and arrive at predetermined intermediate targets. This is usually done by using coordinate transformations where the desired and actual position of the vehicle are iteratively compared to reduce the error distance, and to compute the desired orientation [16]. Then, for the complementary control scheme, strategies such as dynamic and robust sliding mode methodologies may be employed to produce desired corrections [16,17]. Guo [18] designed a path tracking controller for a carangiform robotic fish. Inside the control loop, the vehicle’s forward speed and average heading error were fed back to correct the flapping frequency and the bias from the robotic fish tail. By offsetting the tail undulation, turning was achieved and the orientation of the vehicle was iteratively adjusted. Kopman et al. [19] implemented a waypoint tracking controller based on the heading control of a small two-link robotic fish. The vehicle followed a predetermined path approximated by waypoints positioned close to each other. Some other authors have successfully implemented this strategy by combining control over pectoral fins attached to the vehicle. Wang et al. [20] controlled the path followed by their robotic ray by producing forward thrust with a tail fin and correcting its direction using its two pectoral fins, accounting for the vehicle’s speed, depth, and course control.
In the present research, a waypoint guidance system for a BAUV is developed and simulated. The BAUV presents a vectored thruster with a novel propulsion system designed by Aparicio et al. [21]. The vehicle follows thunniform locomotion and is driven by a caudal fin. The tail’s flapping frequency, amplitude and offset are regulated by a three-degrees-of-freedom parallel mechanism [22]. This novel propulsion system allows the caudal fin to change its orientation via sideways and dorsoventral flapping configurations. Then, by only controlling linear actuators, the tail can oscillate in different dispositions, providing excellent vectored thrust and allowing the BAUV to dive and maneuver while swimming.
The present work develops a method of analysis of force and moment produced by such a propulsion system based on the performance of the designed parallel mechanism and its workspace. Also, the vehicle’s kinematics and dynamic modelling are detailed. Further studies on hydrodynamics based on the hull design of the BAUV are described. Then, by considering such models and the novel feature of switching among swimming modes, the underwater performance of the vehicle is simulated in open-loop trajectories. Finally, based on an analysis of trajectories determined by the vehicle’s biomimetic features, a waypoint guidance strategy is developed. The results from open-loop simulations showed how the vehicle tended to describe defined trajectories according to the swimming style and flapping performance from the fin. However, by maintaining vehicle’s forward speed, and by properly implementing a strategy to correct the fish’s heading angle, the BAUV successfully reached predetermined waypoints on the horizontal plane. Hence, by the adequate definition of flapping parameters such as frequency and bias, thrust and moment are regulated to correct unwanted BAUV behaviors. To the best of the authors’ knowledge, even when parallel mechanisms are incorporated to produce vectored thrust on nonbiomimetic underwater vehicles (with turbine-based-propellers) [23,24,25], their incorporation to change biomimetic features (i.e., swimming mode) on BAUVs has not previously been developed. The means by which this novel feature enhances the cruising trajectories of BAUVs is explained in this paper.
This article is divided as follows: Section 2 details the methods considered during the development of the research. The BAUV design, and mathematical definitions of its hull, kinematics, dynamics, and hydrodynamics are developed. Further, the waypoint guidance strategy and all considerations for the implementation of simulations are detailed. In Section 3, the results from numerical simulations are presented. A discussion of the results obtained for thrust and moment generation, open-loop trajectories and the incorporated guidance strategy based on the flapping performance of the propeller is presented. Finally, Section 4 includes final remarks and the conclusion of this paper, as well as explaining some future work that this investigation may lead to.

2. Materials and Methods

2.1. Vehicle Design

The design of the proposed biomimetic underwater vehicle is presented on Figure 1. Two rigid pectoral fins are positioned at the vehicle’s midbody section for stabilization purposes. In the vehicle’s last section, the propulsion system, consisting of a parallel mechanism, is found. A lunate-shaped caudal fin is attached on the peduncle, serving as the main system propeller. The vehicle’s hull shape, presented in Figure 2, can be divided into four parts:
  • The nose section, which presents the form of a Myring hull, is responsible for reducing fluid resistance while the vehicle is swimming [26]. Based on nose geometries from Myring equations [27], the nose will present an initial offset a o f f , since this section will house a camera. Mathematically, radius r   of the nose section hull, measured normal to the vehicle’s centerline, is represented by:
r x n = 1 2 d 1 x n + a o f f a a 2 1 n ;
where a is the nose full length, x n is the axial position that varies from 0 to a , d is the maximum body diameter, and n is the exponential parameter that defines the nose hull shape.
  • The midbody section, which contains all the electronics, and where the vehicle’s rigid pectoral fins start, is formed by an acrylic cylinder of diameter d . The total length of the midbody section is defined by b on Figure 2.
  • The propulsion system’s hull, which is formed by a silicone cover, houses the parallel mechanism employed to move the caudal fin. It is mathematically defined by the equation:
r x t = 3919 355 x t 3 3255 842 x t 2 + 428 1705 x t + d 2 ;
where r   is the hull radius, x t is the axial position along the centerline ranging from the end of the midbody section b until the peduncle for a total length of c , and d is the vehicle’s body diameter.
  • The peduncle section, which attaches the caudal fin to the parallel mechanism, presents a semicircular shape. Like the nose section, the peduncle presents an offset p o f f on its last part to correctly connect with the propeller (caudal fin). The peduncle’s hull radius r is defined by:
r x p = p o f f + c o 2 x p a c 2 ;
where c o is the inner radius of the peduncle’s shape, a c is the initial length of the section ( a a o f f + b + c ) , and x p is the axial position ranging from a c until the vehicle’s total length l .
Table 1 shows the parameters that were used to mathematically define the vehicle’s hull shape. The vehicle’s weight W may vary based on the components included in its middle section. The distribution of components inside the vehicle may cause variations in its center of gravity x g , y g , z g . On the other hand, the vehicle’s center of buoyancy x b , y b , z b   was computed based on the CAD design of the exterior hull, as shown in Figure 1. Also, both centers are placed on the same axis separated by a metacentric distance to improve stability while swimming [10]. For simplicity purposes, buoyancy, weight, center of buoyancy and center of gravity are considered as constants throughout all analyses presented in this article; see Table 1. Both center of gravity and buoyancy are measured from the vehicle’s nose tip.

2.2. Vehicle Kinematics and Coordinate Systems

To correctly track the vehicle’s position in space, two reference frames were employed: an inertial Earth-fixed frame x , y , z and a body-fixed frame x b , y b , z b [28]. The moving body-fixed frame O B is located at the BAUV’s center of buoyancy, as shown on Figure 3. The vehicle’s position and orientation are referenced to the inertial frame O I , while linear and angular velocities, as well as forces and moments, are referenced to the body-fixed frame coordinates.
Moreover, six parameters were used to represent the vehicle’s six degrees of freedom (DOF): parameters u , v , w represent the translational velocities, while p , q , r represent the angular velocities measured on the vehicle respecting to x b , y b , z b coordinates. Table 2 shows the notation and nomenclature based on the SNAME convention for the position, velocity, forces, and moments used for underwater vehicles [29]. The same nomenclature is displayed in Figure 3.
Hence, the general motion of the vehicle with respect to inertial frame, its translational and rotational velocity with respect to its body-fixed frame, and the total forces and moments applied to it will be defined by vectors η , υ , and τ , respectively:
η = x , y , z , ϕ , θ , ψ T ;
υ = u , v , w , p , q , r T ;
τ = X , Y , Z , K , M , N T .
Transformation matrices J 1 η 1   and J 2 η 2 were used to convert linear and angular velocities on the body-fixed coordinate system to velocities η ˙ on the inertial frame system:
η 1 ˙ = x ˙ , y ˙ , z ˙ T = J 1 η 1 u , v , w T ,         η 2 ˙ = ϕ ˙ , θ ˙ , ψ ˙ T = J 2 η 2 p , q , r ;
where using Euler convention for rotation angles results in:
J 1 η 1 = c θ c ψ s ϕ s θ c ψ c ϕ s ψ c ϕ s θ c ψ + s ϕ s ψ c θ s ψ s ϕ s θ s ψ + c ϕ c ψ c ϕ s θ s ψ s ϕ c ψ s θ s ϕ c θ c ϕ c θ ;
J 2 η 2 = 1 s ϕ t θ c ϕ t θ 0 c ϕ s ϕ 0 s ϕ / c θ c ϕ / c θ ;
where s ϕ is short notation for sin ϕ , t θ for tan θ , c ψ for cos ψ , and so on. In the vehicle kinematics Equations (8) and (9), it was determined that the BAUV’s pitch angle θ was small enough and would not reach values of ± π 2 . Further kinematics analyses might be required in cases whereby the vehicle’s motion approaches singularities; nonetheless, the vehicle is designed to avoid extreme pitch angles.

2.3. Propulsion System

A caudal fin, driven by a 3 DOF parallel mechanism, is the BAUV’s main propeller (Figure 1b). These mechanisms are configured with two platforms, i.e., one fixed and one moved by several actuators or limbs. By changing the position and orientation of the moving platform, an end effector can achieve different poses. With proper control over multiple combinations of dispositions of the limbs, the platform presents a defined workspace, as well as its end effector. Generally, these mechanisms employ linear actuators connected to both platforms through passive spherical and/or universal joints, providing structural stiffness, stability, and better support [30]. Hence, this mechanism is employed to increase the position accuracy of the caudal fin during high-frequency flapping.
The designed propulsion system produces vectored thrust by biasing the flapping direction from the fin. Using a 3UCU-1S (three universal-cylindrical-universal and one spherical joint) configuration, the moving platform to which the caudal fin is attached is set to only produce oscillatory motion. This means that the parallel robotic system consists of a series of three robotic arms with the same configuration linking both platforms. Each arm is attached to the fixed and moving base by nonactuated universal joints, while motion is produced using linear (prismatic) actuators. These linear actuators vary in lengths d i , thereby exerting force and moment on the moving platform and the caudal fin. Then, by varying the lengths of the limbs, the caudal fin is set to flap, producing thrust and moment. Moreover, the fixed and the moving platforms are linked at their centers by a fourth restrictive limb. Hence, the fin cannot attain translational motion but rotational only, allowing the vehicle to achieve thunniform motion. The technical specifications of the employed linear actuators may be found in Appendix A.

2.3.1. Propeller Workspace and Kinematics

Figure 4 shows a frontal view of the parallel robot, where two actuated arms and the restrictive limb can be seen. To properly comprehend how the limbs are attached to the platforms, passive joints are presented. The angular displacement of the universal joints is defined by δ 1 , i   and δ 2 , i   , where i = 1 ,   2 ,   3 represents the number of the limb that each passive joint is attaching to the fixed platform. Figure 4b shows a free body diagram of the parallel mechanism with two added coordinate systems: O F , where the origin is placed at the center of the fixed platform, and O M , placed at the center of the moving platform. The base platform presents a radius R A of 0.05 m, while the moving platform is smaller, with a radius R B of 0.025 m.
The rotational motion of the upper platform is defined by the roll-pitch-yaw Euler angles convention α , β , γ , and is measured with respect to frame O F . Flapping is produced by moving two limbs a certain distance, d i , and using the third limb as a pivot. The limbs are connected to the fixed platform at attaching points A i , while their other ends are connected to the moving platform by joints B i . The moving platform can be set to oscillate over the y M axis at a total range for β from ± 30 ° . This is what allows the caudal fin to flap at rates of 0.5 to 5 Hz. Moreover, the parallel mechanism may be controlled to present yaw motion γ over the z M axis, taking values of 0 for sideways flapping or 90 ° for dorsoventral flapping.
For thrust and moment generation, the parallel mechanism is set to follow a predetermined trajectory (orientation) based on its moving platform workspace, i.e., by setting functions to pitch β and yaw γ angles over time (measured with respect to O F ) . Flapping is obtained by setting the upper platform to oscillate over y M ; hence, the angular position of the caudal fin may be defined by a sine function as follows:
β t = A M sin 2 π f t + φ + b .
Further, the flapping performance of the propeller will depend on the definition of various parameters in Equation (10). A M will define the flapping amplitude from the tail, and its value will depend on whether or not oscillation is biased. Moreover, φ and b are the shifting and bias parameters that will set the platform to always start at a zero position and reach a maximum of β = ± 30 ° . Finally, flapping frequency f determines how fast the propeller oscillates. The thrust and moment exerted by the fin are expected to increase when flapping frequency increases; thus, the proper definition of frequency during biased flapping is of paramount importance in terms of pushing the vehicle forward. Figure 5 shows the two swimming modes. Figure 5a shows sideways flapping, while Figure 5b presents dorsoventral flapping, both of which have a full flapping range of β = ± 30 ° at γ = 0 and γ = 90 ° , respectively. Table 3 details the expected behavior of the vehicle’s tail based on the defined flapping parameters. Then, the tail can follow either a full-range trajectory, i.e., β = ± 30 ° , or a biased trajectory, i.e., β = 0 , 30 ° or β = 30 ° , 0 .
Since the orientation of the caudal fin is referenced (locally) to the fixed platform coordinate system O F , homogeneous transformations are employed to convert such information and reference it to different systems, i.e., O B and O I . Hence, to properly define the position and orientation of the several coordinate frames inside different parts of the vehicle, all information is referenced to the inertial earth-fixed frame. By computing a 4 × 4 homogeneous matrix T , it is possible to determine the relationship between two consecutive frames, i.e., O j 1 to O j by T j 1 j , where the inertial frame would be defined by:
O I = T 0 0 = n 1 o 1 a 1 x n 2 o 2 a 2 y n 3 o 3 a 3 z 0 0 0 1 ;
where the n   o   a submatrix is the identity matrix, and the center of the coordinate system x , y , z T is positioned in an arbitrary location, set as 0 , 0 , 0 .   Then, the relation between the last coordinate frame inside the vehicle O M and O I will be defined by:
T 0 M = T 0 B · T B F · T F M   ,
where T 0 B is the pose of the BAUV’s centroid with respect to an earth-fixed frame, T B F   is the position and orientation of the fixed platform, and T F M is the spatial position and orientation of the propeller.
To build the required transformation matrices T j 1 j , the Denavit-Hartenberg D H convention [31] was used throughout this analysis. This formulation was used to translate between the coordinate systems, since they are all part of the vehicle’s body (as found in kinematic chains). This was done by following four basic transformations (two translations and two rotations):
D H Θ i , i , ε i , i = R o t z j 1 ,   Θ i · T r a n z j 1 ,   i · T r a n x j , ε i · R o t x j , i = c Θ i s Θ i c i s Θ i s i ε i c Θ i s Θ i c Θ i c i s i c Θ i ε i s Θ i 0 s i c i i 0 0 0 1 ;
where Θ i is angular displacement along axis z j 1 that makes x j 1 and x j match, i is the distance translated along axis z j 1 to match the system origins O j and O j 1 , ε i is the separation distance along axis x j between both origins, and i is the angular displacement that matches z j 1 and z j . For this analysis, D H units are considered in meters and degrees for linear and angular displacement, respectively. In this way, every coordinate system inside the vehicle was computed, allowing us to determine the actual position and orientation of its main parts, i.e., the propeller’s pose over time.
The parallel mechanism is responsible for moving the caudal fin and propelling the vehicle’s body O B . The kinematic analysis of the platforms was rearranged so that systems O F and O M were referenced to the vehicle’s centroid. This means that the position and orientation of both the fixed and moving platforms will be measured based on where the vehicle’s center of buoyancy is placed. From the design of the propulsion system, some considerations must be stated before the coordinate transformations can be computed:
  • For the current analysis, it was assumed that matrix T 0 B for system O B was formed from Equations (7)–(9), and therefore, that vector η was known. In this way, T 0 B will contain the rotation matrix formed by ϕ , θ , ψ   and its position information x , y , z with respect to the inertial frame.
  • By design, the distance μ between the vehicle’s center of buoyancy O B and system O F remains constant, i.e., approximately 13 cm, as measured along x b .
  • The   y F axis from the fixed platform’s coordinate system O F was arbitrarily set to always point toward attaching point A 1 from the first limb. Also, the three actuated limbs were uniformly distributed along the platform and separated from the origin by 5 cm. The relative position P F A i for joints A i , measured from O F , was defined by:
P F A 1 = R A c 90 ° R A s 90 ° 0 ,     P F A 2 = R A c 210 ° R A s 210 ° 0 ,     P F A 3 = R A c 330 ° R A s 330 ° 0   ;
Then, transformation matrix T 0 F was obtained as follows:
T 0 F = T 0 B · T B F ;  
where:
T B F = D H 90 ° , 0 , 0 , 90 ° · D H 0 , μ , 0 , 0 · D H 180 ° , 0 , 0 , 0
  • The distance between O M and O F will always be restricted by the fourth limb and will stay constant. Moreover, z F is set to point toward the origin of O M . By design, the restrictive limb presents a total height of 19.2 cm, measured along z F .
  • The moving platform is in constant motion throughout the navigation task. When the platform oscillates (and therefore, the caudal fin), the spatial positions of attaching joints B i change iteratively. However, when measured from O M , B i relative positions P M B i will remain constant as follows:
P M B 1 = R B c 90 ° R B s 90 ° 0 ,     P M B 2 = R B c 198 ° R B s 198 ° 0 ,     P M B 3 = R B c 342 ° R B s 342 ° 0
When measuring with respect to O F , attaching points B i are defined based on the desired orientation of the moving platform α , β , γ , while the rotation matrix R F M is obtained using Euler angles, as in Equation (8). The orientation and position of the moving platform defined by T 0 M are finally obtained by:
T 0 M = T 0 F · T F M   ;
where:
T F M   = D H 0 , , 0 , 0 · R F M 3 × 3 0 3 × 1 0 1 × 3 1 .
Figure 6 shows a schematic of the coordinate systems in space when the vehicle is positioned at an arbitrary location with η = 1 , 0 , 0 , 0 , 0 , 90 ° T . In Figure 6a, the moving platform roll-pitch-yaw angles are set to 0 ° , showing the sideways flapping feature. On the other hand, Figure 6b shows the same schematic but with values for α , β , γ of 0 , 0 , 90 ° , where dorsoventral swimming mode can be achieved. For brevity purposes, the analysis of inner kinematic chains from limbs inside the parallel mechanism is skipped in this article, but full details are provided in [22].

2.3.2. Thrust and Moment Analysis

Thrust and moment is generated by water displacement, resulting from the motion of the platform and fin. Moreover, the propulsion system applies forces through each linking limb. Each force is the result of the control action over each limb to make the propeller flap at a certain amplitude, bias, and frequency. This means that the three linear actuators are constantly exerting forces, pushing the vehicle forward and laterally.
To compute the forces of the limbs that make the vehicle’s propeller move as desired, a dynamic equation for the designed parallel mechanism was required. The dynamic modeling of such systems is not a straightforward process; its complexity mainly depends on the configuration of the inner closed-loop structures. Based on the distribution of passive and active joints displayed in Figure 4, and by applying reduced inverse dynamic modeling using Lagrange formalism, force F i for each linear actuator was obtained by solving a system of equations:
d d t L q j ˙ L q j + k = 1 6 λ k   f k q j = j ;         f o r     j = 1 , . . , 9 ,
where:
q j = d i j = i = 1 , 2 , 3 δ 1 , i j = 4 , 5 , 6 ; i = 1 , 2 , 3 δ 2 , i j = 7 , 8 , 9 ; i = 1 , 2 , 3 and j = F i j = i = 1 , 2 , 3 0 j = 4 , , 9 .
From Equation (20), actuating forces F 1 ,   F 2 ,   F 3 applied by the limbs were found based on the derivation of the Lagrange equation of the system, where the kinetic and potential energies of the moving platform are computed in [22]. Also, Equation (20) defines a system of nine equations in which normalized limb lengths d i are the independent generalized coordinates and revolute δ 1 , i and δ 2 , i from universal passive joints are dependent generalized coordinates. The six Lagrange multipliers λ k were obtained by iteratively solving six simultaneous equations when j = 4 , , 9 using kinematics constraint equations f k (where k = 1 , , 6 ). To solve the control problem of the parallel mechanism, it was assumed that platform’s orientation, velocity, and acceleration were known. Then, based on the desired flapping performance on the propeller, the forces required by each limb were determined.
Since each limb exerts acting forces on the propeller to produce motion, it is necessary to comprehend how such forces add to the generation of thrust and moment measured by the vehicle’s coordinate system O B . First, it was assumed that the force acting on each limb was vectorized along its axis of action (Figure 4b). Hence, the direction of the force applied per limb could be determined by computing a unit vector n ^ A B that went from A i to B i , or A i B i , as follows:
A i B i = B i x A i x i + B i y A i y j + B i z A i z k   n ^ A B = A i B i   ¯ A i B i   ¯ .  
Moreover, the spatial positions of attachment points A i s and B i s in Equation (21) should be iteratively computed and referenced to O B . Also, O B will be considered as the inertial coordinate system. This will define the direction of the forces exerted by each limb while the platform is flapping, and their effects on the vehicle’s centroid. Then, to compute the attaching positions referenced to O B , transformation matrices may be employed:
A i 1 x b y b z b = T B F · P F A i 1 ;  
and
B i 1 x b y b z b = T B F · T F M · P M B i 1 .
The vectorized force F i applied per limb is then computed:
F i = F i · n ^ A B   3 F i = F i x , F i y , F i z .
Then, total force τ 1 produced by the propulsion system to the BAUV will be defined by:
τ 1 = F X , F Y , F Z T = i = 1 3 F i x ,   i = 1 3 F i y , i = 1 3 F i z   T .
For the moment generated by the designed propeller, the vectorized forces per limb as determined using Equation (24) were required. Also, the moment was measured around the vehicle’s centroid, which, by design, was aligned to the center of the moving platform O M . Hence, the torque produced could be determined dynamically by computing the radius of action R B i from each universal joint B i to the center of the upper platform and the vectorized force F i applied to that union. R B i was obtained using the first three elements from the B i 1 x b y b z b matrix, computed in Equation (23). The vectorized moment M i produced per limb was the cross product between the radius of action and the applied vectorized force as:
M i = R B i × F i   3
Finally, the net torque and moment τ 2 applied to the BAUV by the propulsion system was defined by:
τ 2 = K X , M Y , N Z T = i = 1 3 M i x ,   i = 1 3 M i y , i = 1 3 M i z   T .

2.4. Parallel Mechanism Controller

The flapping performance of the caudal fin depends on the linear displacement of the actuators inside the parallel mechanism. Then, once the upper platform is set to follow a desired trajectory, the limbs should reach certain distances d i to attain the desired roll-pitch-yaw α , β , γ rotational motion. To properly regulate the performance of the limbs, a feedforward plus feedback PD controller was employed. The feedforward term from the control scheme used the dynamics model of the parallel mechanism to proactively compute the forces required to drive the caudal fin at certain speeds and positions. In compliment, the feedback PD controller computed the error between the desired limb distance d i D and the real limbs positions d i . The mathematical analysis of the dynamics of the parallel mechanism used inside the BAUV propulsion system, and the implementation of the feedforward plus feedback controller are duly explained in [22]. Figure 7 presents a block diagram of the closed-loop control scheme incorporated to regulate limb positions based on the desired platform performance over time.
In the control scheme in Figure 7, the dispositions of the limbs depend on the swimming mode, defined by the value assigned to γ . Moreover, the positions of the limbs are iteratively changing based on the preestablished trajectory of β . Roll motion α in the platform is always set to zero. Then, the control law of the PD controller based on the computation of error is defined by:
f i t = k p · e i t + k v · e ˙ i t ,     i = 1 , 2 , 3 ;
where:
e i t = d i D t d i t ; e ˙ i t = d ˙ i D t d ˙ i t .  
The proportional and derivative gains k p , k v from the feedback controller were set to 2500 and 100 respectively. The relation between gains was established to achieve a critically damped response. Elements M P d ˙ ,   C P d , δ , δ ˙ ,   g P δ and λ k inside the block diagram are the mass, Coriolis, gravitational forces, and Lagrange constraint matrices respectively. Such matrices define the dynamics model from the parallel mechanism. Hence, the feedforward component complements the control action taken by the PD by anticipating the dynamic behavior of the parallel robotic system. Then, the forces F i required to actuate each limb are defined by the actions computed from both strategies as:
F i t = M P d ˙ · f i t + H ,     i = 1 , 2 , 3 ;
where:
f i t = d ¨ i D + f i t ; H = C P d , δ , δ ˙ + g P δ + λ k .
The implementation of this control strategy makes it possible to adequately correct the limbs in the event of sudden changes. The flapping frequency and bias of the caudal fin should be updated according to the thrust and moment required to steer the BAUV. Then, by implementing a feedforward plus feedback controller into the designed propulsion system, a smooth response with low error rates may be attained [22].

2.5. Vehicle Dynamics

The dynamic modeling for biomimetic vehicles followed the same criteria as the methodologies employed to model conventional underwater vehicles [12]. Nonetheless, the biomimetic aspects of the prototype had to be considered to adequately estimate some hydrodynamic terms. As in the previous section, where the thrust and moment produced by the biomimetic propeller required its own analysis, some dynamic terms such as drag, added mass, lifting, and/or crossflow coefficients will depend on the shape of the vehicle and will require their own analysis.

2.5.1. Assumptions

Before computing the vehicle’s dynamics model, some assumptions were made for simplification purposes:
  • The study was done using a 6 DOF BAUV, capable of achieving surge-heave-sway translational motions and roll-pitch-yaw rotational motions.
  • The BAUV was assumed to be a rigid body of constant mass and shape throughout the mission.
  • The vehicle was not considered to be neutrally buoyant. The origin of the body-fixed reference frame was assigned to the vehicle’s center of buoyancy. The center of gravity and buoyancy were considered to be aligned along the z b axis, separated by a metacentric height of z g m.
  • The vehicle was assumed to be symmetric over the x , y and x , z planes.
  • No environmental disturbances such as wind, waves, current, vehicle wave-making loads, and other external forces apart from those produced by the propeller were taken into account in this study.
  • The vehicle’s source of thrust and moment was only obtained by the motion of the vehicle’s caudal fin and its orientation. These forces were measured with respect to the body-fixed frame. The pectoral fins at the midbody were considered to be rigid. In other words, their purpose was for stability, and they were considered in this light in the hydrodynamics analysis.

2.5.2. Rigid-Body Dynamics

The computation of the dynamics of the designed BAUV was based on the standard six DOF underwater vehicle model, considering the aforementioned assumptions. Using the Newton-Euler methodology [28], the dynamic equation for the BAUV was defined by:
M v ˙ + C v v + D v v + g η = τ  
where M 6 × 6 is the inertial and added mass matrix, C v 6 × 6 is the Coriolis, centripetal forces and added mass terms matrix, D v 6 × 6 is the vehicle’s damping matrix with drag terms, g η 6 × 1 is the vector of hydrostatic forces, τ 6 × 1 is the input vector of forces and moments produced by the propeller, and v 6 × 1 are the linear and angular velocities measured from the body-fixed frame O B .
The equations of motion from the vehicle were defined based on the body-fixed frame origin located at the BAUV’s center of buoyancy. For the present study, the BAUV was considered as a rigid body with constant mass m and a diagonal inertia tensor matrix I = d i a g I x x , I y y , I z z about x b , y b , z b . Then, the rigid body set of equations for each degree of freedom (surge, sway, heave, roll, pitch, yaw) from the underwater vehicle was defined as follows [28]:
X = m u ˙ v r + w q x g q 2 + r 2 + y g p q r ˙ + z g p r + q ˙ ; Y = m v ˙ w p + u r y g p 2 + r 2 + z g q r p ˙ + x g q p + r ˙ ; Z = m w ˙ u q + v p z g p 2 + q 2 + x g r p q ˙ + y g r q + p ˙ ; K = I x x p ˙ + I z z I y y q r + m y g w ˙ u q + v p z g v ˙ w p + u r ; M = I y y q ˙ + I x x I z z p r + m z g u ˙ v r + w q x g w ˙ u q + v p ; N = I z z r ˙ + I y y I x x p q + m x g v ˙ w p + u r y g u ˙ v r + w q .
To achieve static stability while swimming, the centers of buoyancy and gravity from the vehicle were aligned along the x b and y b axes to reduce roll and pitch rotations [10]. Then, the center of gravity of the vehicle was set as low as possible with a metacentric height z g .

2.5.3. Hydrodynamic Added Mass Terms

To complete the terms from the M and C v matrices, added mass coefficients from the vehicle were computed. The added mass terms considered the volume of surrounding fluid that the vehicle displaces while accelerating, and their analytical estimation was done based on the hull shape of the proposed design [32]. To compute hydrodynamic added mass terms, a methodology like the one developed by Prestero [33] was employed. Usually, underwater vehicle hull designs are torpedo-shaped, even when some biomimetic aspects are introduced. Then, the computation of added mass coefficients is done by approximating such shapes to geometric ones, i.e., a cylinder or a prolate ellipsoid [14,34]. For the current analysis, shape Equations (1)–(3) were employed for the estimation of added mass coefficients. Furthermore, a top-bottom and port-starboard hull symmetry was assumed. Forces and moments due to the effect of added mass were defined by the following equations [33]:
X A =   X u ˙ u ˙ + Z w ˙ w q + Z q ˙ q 2 Y v ˙ v r Y r ˙ r 2 ; Y A = Y v ˙ v ˙ + Y r ˙ r ˙ + X u ˙ u r Z w ˙ w p Z q ˙ p q ; Z A =   Z w ˙ w ˙ + Z q ˙ q ˙ X u ˙ u q + Y v ˙ v p Y r ˙ r p ; K A =   K p ˙ p ˙ ; M A =   M w ˙ w ˙ + M q ˙ q ˙ ( Z w ˙ X u ˙ ) u w Y r ˙ v p + K p ˙ N r ˙ r p Z q ˙ u q ; N A =   N v ˙ v ˙ + N r ˙ r ˙ ( X u ˙ Y v ˙ ) u v + Z q ˙ w p K p ˙ M q ˙ p q + Y r ˙ u r .
From Equation (34), axial added mass X u ˙ and rolling added mass K p ˙ were estimated from the shape relationship defined by Blevins [35], where the vehicle’s total axial length l and diameter d had to be considered. Then, these coefficients were obtained by the following computations:
X u ˙ = 4 β B π 3 d 2 3 , K p ˙ = x p f x p 0.5 π   · ρ · h f 4 d x .
The Blevins’s empirical parameter β B obtained from the relationship l / d for the BAUV was estimated to be 0.2780 . For the estimation of K p ˙ ,   h f is the fin height over the centerline, considered to be of 13.90 cm, ρ is the density of seawater, i.e., 1.03 × 10 3   kg / m 3 , and the range of integration limits from the aft end of the peduncle section x p f to its forward end x p was measured with respect to O B .
To estimate the crossflow added mass terms from Equation (34), strip theory was used, and the vehicle was considered to comprise a slender body over its centerline [36]. This means that the vehicle’s added mass terms were estimated based on the integration of the two-dimensional (2D) cross section added mass coefficients along its body. The geometrical shape of the BAUV hull was approximated by cylindrical slices along its centerline, and the 2D added mass a m   was computed by using the formulation proposed by Newman [37]:
a m x = π · ρ · r x 2 ;
where ρ is the surrounding fluid density, and r x is the hull radius as a function of axial position, as defined in Equations (1)–(3). Moreover, in the sections where the fins are placed, i.e., midbody and peduncle, the 2D added mass a m f was computed by approximating the vehicle’s cross section to a circle with fins using the following equation proposed by Newman:
a m f x = π ρ r x 2 + r x 2 h f 2 2 h f 2 ;
where h f is the maximum distance reached from the fins, measured with respect to the centerline. Then, the crossflow terms for the BAUV were defined by the formulations presented in the SNAME Principles of Naval Architecture [38]:
Y v ˙ = L A m x   d x ; M w ˙ = L x A m x   d x ; N r ˙ = L x 2 A m x   d x ;
where Z w ˙ = Y v ˙ ,     N v ˙ = M w ˙ ,   Y r ˙ = N v ˙ ,     Z q ˙ = M w ˙ ,     M q ˙ = N r ˙ .   From Equation (38), L means that the integration is done over the vehicle’s total length. Furthermore, A m x is the two-dimensional added mass substituted by Equations (36) and (37) based on the presence of fins. Then, matrix M may be complemented by the added mass terms computed using Equation (38):
M = m X u ˙ 0 0 0 z g m y g m 0 m Y v ˙ 0 z g m 0 x g m Y r ˙ 0 0 m Z w ˙ y g m x g m Z q ˙ 0 0 z g m y g m I x x K p ˙ 0 0 z g m 0 x g m M w ˙ 0 I y y M q ˙   0 y g m x g m N v ˙ 0 0 0 I z z N r ˙ .
The Coriolis and centripetal forces matrix C v may be completed with the remaining cross-terms that result from added mass coupling, presenting its final form as:
C v = 0 m + X v r r m X w q q ( y g q + z g r ) m x g m + X q q q x g m + X r r r m Y u r r Y u v u m + Y w p p ( x g m Y p q ) q z g m r 0 m + Z u q q m Z v p p Z u w u z g m p z g m q x g m Z r p p z g r + y g q m y g m p z g m p 0 0 I z z I y y q x g m M u q q x g m + M v p p z g m q M u w u I x x I z z M r p r 0 z g m v x g m + N u r r y g m r N u v u x g m N w p p 0 I y y I x x N p q p 0 ;
where most of the Coriolis matrix cross terms were evaluated from the previously derived added mass coefficients, as follows [33]:
X v r = Y v ˙ ,                 X w q = Z w ˙ ,                     X q q = Z q ˙ ,                 X r r = Y r ˙ ; Y u r = X u ˙ + Y u r f ,           Y u v = Y u v l + Y u v f ,         Y w p = Z w ˙ ,         Y p q = Z q ˙ ; Z u q = X u ˙ + Z u q f ,         Z v p = Y v ˙ ,         Z u w = Z u w l + Z u w f ,         Z r p = Y r ˙ ; M u q = Z q ˙ + M u q f ,       M v p = Y r ˙ ,         M u w = X u ˙ Z w ˙ + M u w l + M u w f ;     M r p = K p ˙ N r ˙ ,         N u r = Y r ˙ + N u r f ,         N u v = Y v ˙ X u ˙ + N u v l + N u v f ; N w p = Z q ˙ ,           N p q = M q ˙ K p ˙ .
From Equation (41), some added mass cross-terms had to be completed by considering vehicle’s body lift forces and moments, i.e., Y u r ,   Y u v ,   Z u q ,   Z u w ,   M u q ,   M u w ,   N u r , and N u v . The BAUV presents pectoral fins on its middle body, and the lifting forces and moments that they produce were also considered. Body lift force and moment coefficients Y u v l ,   Z u w l ,   M u w l and N u v l were estimated by Hoerner’s formulations [39]:
Y u v l = Z u w l = 1 2 ρ d 2 c β , M u w l = N u v l = 1 2 ρ d 2 c β x p r ;
where ρ is the density of surrounding fluid, d is the vehicle’s hull diameter, c β is the Hoerner’s lift coefficient (estimated to be of 0.9692 ) , and x p r = 0.1770   m is the pressure point where viscous forces center on the vehicle, located at approximately 65% of vehicle’s total length from its nose tip and measured with respect to O B . Finally, the fin lift force and moment coefficients were estimated based on the characteristics of the pectoral fins, as follows:
Y u v f = Z u w f = 1 2 ρ c L δ f i n , Y u r f = Z u q f = 1 2 ρ c L δ f i n x f i n , M u w f = N u v f = 1 2 ρ c L δ f i n x f i n , M u q f = N u r f = 1 2 ρ c L δ f i n x f i n 2 ;
where δ f i n = 9.0322 × 10 3   m 2 is the fin’s planform area, x f i n = 0.16   m is the fin’s axial position with respect to O B , and c L is the rate of change of the lift coefficient, estimated with respect to the fin’s aspect ratio A R   as:
c L = 1 1.8 π + 1 π A R 1 .
From Equation (44), the effective fin aspect ratio A R was estimated by the relationship between the fin’s planform area δ f i n and span S f i n :
A R = 2 S f i n 2 δ f i n .

2.5.4. Hydrodynamic Damping Coefficients

To continue with the hydrodynamics analysis of the vehicle, drag forces have to be computed. These forces are considered to act in the opposite direction of the BAUV’s motion due to the viscosity of water [40]. As such, vehicle’s drag will directly depend on the surrounding fluid density ρ ,   the vehicle’s projected area A , drag coefficient C d , and body velocity V , defined by Morison equation as:
f V = 1 2 ρ C d A V V .
Equation (46) is used to define the drag term due to velocity in direction V . For axial drag X u u , coefficient C d 0.0582 was estimated based on Triantafyllou empirical formulations [41], using the vehicle’s ratio between its diameter and length and by setting the frontal area of the vehicle A f to 1.68 × 10 2   m 2 . The damping matrix D v is formed by drag coefficients on each of the vehicle’s DOF, X u u ,   Y v v ,   Z w w ,   K p p ,   M q q and N r r . Furthermore, drag components were added considering pectoral fin drag forces. Then, the final form of the built damping matrix will be:
D v = X u u u 0 0 0 0 0 0 Y v v v 0 0 0 0 0 0 Z w w w 0 0 0 0 0 0 K p p p 0 0 0 0 0 0 M q q q 0 0 0 0 0 0 N r r r .
To solve the drag terms from Equation (47), strip theory was used as for the added mass terms estimated in the previous section. Then, the vehicle’s hull drag was approximated by adding the drag estimations of its two-dimensional cross-sections. This methodology may yield some inaccurate estimations for drag coefficients, and some corrections may be required through experimental data, as explained in [33]. However, for the present report, the methodology was used to complete the equations of vehicle motion and to obtain proper simulations of the BAUV’s performance. Then, by using the strip theory over the BAUV’s centerline x , and by considering the features of the pectoral fins, drag coefficients could be approximated by the following equations:
Y v v = Z w w = 1 2 ρ c d c L 2 r x   d x 1 2 ρ c d f 2 δ f i n , M q q = N r r = 1 2 ρ c d c L 2 x 3 r x   d x 1 2 ρ c d f 2 x f i n 3 δ f i n .
On the right-hand side of Equation (48), drag effects from the vehicle’s hull shape and pectoral fins are added and defined as negative, since they oppose the vehicle’s motion. Moreover, the hull drag coefficient c d c was set to 1.1 based on the Hoerner drag estimation for a cylinder, while that of the pectoral fins, c d f , was set to 0.68 based on their taper ratio between height and span. Furthermore, δ f i n and x f i n are, respectively, the fin’s planform area and position measured along the centerline with respect to O B .
The final values of estimated hydrodynamic added mass and damping coefficients are provided in Appendix B.

2.5.5. Hydrostatic Forces and Moments

Finally, matrix g η takes into consideration the restoring forces and moments acting on the vehicle. Then, based on the vehicle’s attitude, its weight ( W ) and buoyancy B forces acting through centers of gravity x g , y g , z g and buoyancy x b , y b , z b (defined on Table 1), the g η matrix is defined as follows:
g η = W B s i n θ W B c o s θ s i n ϕ W B c o s θ c o s ϕ z g W z b B cos θ sin ϕ + y g W y b B c o s θ c o s ϕ z g W z b B sin θ + x g W x b B cos θ c o s ϕ x g W x b B cos θ sin ϕ + y g W y b B sin θ .
From Equation (49), the orientation of the vehicle is referenced to inertial frame O I , while the positions of the centers of gravity and buoyancy are referenced to body-fixed coordinates O B .   θ , ϕ , ψ angular positions are iteratively computed using Euler angles convention, as defined on the kinematics analysis.

2.6. Open-Loop Trajectories and Waypoint Guidance System

Open-loop simulations were implemented to validate the vehicle’s dynamic model. Hence, by doing some algebraic manipulation of Equation (32), the plant equation was defined as:
v ˙ = M 1 τ C v v D v v g η .
Then, the vehicle’s behavior will depend not only on the modeled hydrodynamic effects, but also on forces vector τ entering the plant and produced by the propulsion system. From plant’s Equation (50), linear and angular accelerations of the BAUV were obtained as the system output. The vehicle’s pose with respect to earth-fixed frame was then computed by integrating v ˙ and using the coordinate transformations from Equation (7). Furthermore, simulations were conducted to determine the required flapping frequency that produced forward thrust on the vehicle considering full range and biased oscillations.

2.6.1. Waypoint Guidance System

To navigate the designed BAUV, a waypoint guidance system was implemented. The vehicle was guided toward specific coordinates on the horizontal x , y plane via sideways flapping. The strategy consisted of correcting the vehicle’s orientation based on its heading angle toward a specific target, i.e., by updating the flapping function β of the fin. Then, heading angle correction was achieved by biasing the flapping performance from the vehicle’s caudal fin.
Figure 8 shows a schematic of the coordinates between the position of the vehicle and an arbitrary waypoint, all measured with respect to 0 I . The desired heading yaw angle ψ d was computed based on the trigonometric relationship between the desired target position or waypoint x d , y d and the vehicle’s real position x , y . Then, the error signal was determined as the difference between the desired ψ d and real yaw angle ψ .
Based on the information displayed in Figure 8, the desired heading angle ψ d can be obtained by:
ψ d = a t a n 2 y d y , x d x         rad ;
where a t a n 2 Y , X is the two-argument arctangent and 2 π variant of tan 1 Y X . The desired heading angle will range between π ψ d π radians, as well as the vehicle’s real orientation ψ .
Since vehicle’s spatial position and orientation change over time, ψ d should be iteratively computed, as well as the error signal, where:
e = ψ d ψ         rad .
Furthermore, the Euclidean distance between a waypoint and the vehicle’s position is computed as a convergence criterion. This is helpful when the vehicle should reach several positions in a given trajectory. By defining a waypoint area, the guidance system can determine how far the vehicle is from the current goal or if it has reached it. The Euclidean distance E d is computed by:
E d = x d x 2 + y d y 2           m .
If the vehicle has entered the waypoint region ( E d r ) , then the convergence criterion has been met and the BAUV should head toward a new target. If all targets have already been reached, the mission has been completed.
Figure 9 shows a closed-loop block diagram of the waypoint guidance system. First, the coordinates of the desired waypoints are introduced into the system. The vehicle’s real attitude is iteratively compared to the desired heading orientation, and the error signal is processed. The flapping parameters of the tail are updated to produce the desired performance over β . Inside the propeller’s dynamics and control block, the feedforward plus feedback controller regulates the limb performance inside the parallel mechanism to achieve the desired flapping behavior. Then, forces produced by the fin’s motion input the BAUV’s dynamic model block and the vehicle is propelled. Finally, a change of coordinates is computed.
Finally, corrective actions were determined based on the error in Equation (52); these consisted of the adequate parameter selection for the caudal fin’s flapping performance β (Table 3). Corrections were developed as if–then rules based on the computed value for e , where turning was achieved by biasing the motion from vehicle’s tail. For instance, if the vehicle has to correct its orientation, i.e., to the left or right, the control action will bias flapping toward either the port or starboard, respectively. The guidance system was set to wait for a period of 2 s to update new parameters for motion β . This was strategically determined, since the minimum increase for flapping frequency is 0.5 Hz, allowing the platform to reach a neutral position before receiving new instructions. A parameter-selection flowchart is presented in Figure 10.

2.6.2. Simulations

The BAUV’s swimming performance was simulated using Simulink from MATLAB®. During the simulations, the vehicle dynamics, as developed in the present article, were employed. To properly visualize how the vehicle’s motion was affected by the performance of the propulsion system, three sets of simulations were conducted:
  • Set 1: The caudal fin was set to move at different flapping frequencies and dispositions. Based on the defined motion, thrust was estimated. This set of simulations was conducted to determine the required flapping frequencies to achieve forward thrust F X when the caudal fin presented full- and mid- range flapping amplitudes. Moreover, the moment produced when biasing flapping was also estimated.
  • Set 2: Open-loop simulations were conducted. The differences among the swimming performance when the BAUV presented sideways and dorsoventral flapping were analyzed. The main attributes from each swimming style are described below.
  • Set 3: The waypoint guidance closed-loop system to regulate the BAUV’s navigation was simulated. During these simulations, several waypoints were introduced. The vehicle’s heading angle correction, its translational motion, and the propeller’s behavior were iteratively tracked.
To test the accuracy of the designed guidance strategy, the Euclidean distance between desired targets and the vehicle’s final position was computed. Further, to compute its efficiency E r e l , the BAUV’s real trajectory (and total distance traveled) was compared to the length of a straight line between waypoints. This parameter helped in measuring the relation between the attained performance and an ideal scenario. The ideal trajectory was considered as a straight line between the vehicle’s departure position x i , y i , z i and the target x d , y d , z d . The ideal distance I D was measured as the Euclidean distance between such points, while the real total distance R D traveled by the BAUV was measured according to the trajectory T t described during the simulation.
The vehicle’s real trajectory T t was described by the x , y , z coordinates obtained over time, and the total distance traveled R D was computed by integrating the BAUV speed as follows:
R D = t i t f x t 2 + y t 2 + z t 2     d t       m ;
where x t ,   y t , and z t are the time derivatives from vehicle’s position, t i is the departure time and t f is the time when the BAUV reached the desired goal.
Finally, the efficiency of the designed guidance strategy was obtained as follows:
E r e l = I D R D × 100       % ;
where:
I D = x d x i 2 + y d y i 2 + z d z i 2           m .

3. Results and Discussion

Figure 11 presents graphs of the force produced when the propeller started oscillating. The thrust levels along the vehicle’s centerline x b increased once the flapping frequency increased. This means that to push the vehicle and achieve forward momentum, it was necessary to make the caudal fin oscillate more rapidly. During the simulations, the frequency increased by steps of 0.5 Hz every four seconds. As shown in Figure 11, an estimation of force F X was conducted based on the total amplitude oscillation of the caudal fin 30 ° β 30 ° , with a flapping frequency ranging from 0.5 to 2 Hz. Figure 11a describes the caudal fin’s angular position over time, and Figure 11b shows the force produced from such motion.
Figure 12 shows the results from the same simulated experiment but only considering biased flapping (i.e., a half fin workspace). Compared to full-range flapping, biased flapping required higher frequencies to push the vehicle forward. Then, based on these results, the propeller was set to flap at 2 Hz when moving at its full range and set to 3.5 Hz when only moving half span.
Since the vehicle’s path is controlled based on the correction of its heading angle, the generation of turning moment is of paramount importance. Figure 13 shows moment N Z over the z b axis based on the flapping performance of the propeller. In Figure 13a, three different arrangements for flapping disposition are shown. First, the caudal fin followed a full-range trajectory, and was then biased to each side. As determined in the force analysis, the oscillating frequency of the fin was set to 2 and 3.5 Hz for full- and half-range flapping, respectively. Figure 13b shows how the moment direction changed when biased flapping was induced in the vehicle’s tail. Hence, biasing the caudal fin oscillations changes the vehicle’s orientation, and thus, correction of the BAUV’s heading angle toward desired targets on the horizontal plane may be achieved.
For the second set of simulations, Figure 14 shows the open loop trajectory of the BAUV when swimming sideways. For this analysis, the propeller was set to flap at full port-starboard range at 2 Hz. The starting position and orientation of the BAUV was set at an arbitrary value, i.e., η = 1 , 0 , 0 , 0 , 0 , π 2 , as established in the examples in Figure 6. In Figure 14a, the helicoidal trajectory described by the vehicle is shown from an isometric view, while Figure 14b presents the top view with a circular path on the horizontal plane. Once the propeller starts oscillating, thrust makes the vehicle move forward and dive. Also, during sideways flapping, a lateral force is produced, coupling force components in the surge and sway directions. This event causes the vehicle to start turning over yaw angle ψ in the direction of positive surge and sway. Since the propeller kept the same flapping parameters throughout the simulation, the vehicle kept turning, describing a circular path over the x , y plane. The turning behavior of the BAUV could be corrected by changing the moment produced over the yaw axis to make it rotate in different directions. The linear displacement of the BAUV is shown in Figure 14c–e, while its angular displacement is shown in Figure 14f–h.
In Figure 15a, flapping performance β of the fin during the sideways swimming open-loop simulation is described. Figure 15b–d describe the linear force that was exerted in sideways swimming mode. In Figure 15e–g, the rotational moment over x b , y b , z b exerted by fin’s motion is shown. The thrust and moment exerted by the propeller presented consistent behavior throughout the whole simulation. To avoid the loss of detail in graphs of forces and moments, only a 10 s span is shown. During sideways flapping, linear forces F X and F Y couple, causing motion in directions x b and y b . Also, this swimming mode tends to produce moment N Z over z b . Then, based on the way in which thrust and moment were produced by the designed propulsion system during sideways flapping, enhanced steering maneuvers over the x , y plane could be achieved.
Figure 16 shows the results of setting the BAUV on an open loop mission while swimming dorsoventrally. For a 60 s simulation, the propeller was set to flap at 30 ° β 0 during the first 30 s, and then at 0 β 30 ° . This allowed us to change thrust direction in order to visualize how the vehicle reacted. When setting the BAUV to swim dorsoventrally, the vehicle also achieved forward thrust, and better control over diving was obtained when compared to sideways flapping (Figure 16a). Figure 16b shows that by applying this swimming method, the BAUV tends to describe straight trajectories. Moreover, the vehicle started diving when the propeller was set to move on the upper side of its workspace (center to top). While diving, buoyant forces acting on the vehicle affected its motion, driving it back over the z axis, as seen on Figure 16e. When the flapping direction changed to lower-side workspace (center to bottom) of the fin, the thrust exerted on the vehicle allowed it to reach the surface sooner. Also, the BAUV’s linear and angular displacements (Figure 16c–h) presented more stability than those obtained during lateral swimming. This was because of the up-and-downward motion of the caudal fin during dorsoventral flapping, where lateral forces produced over the vehicle’s body were diminished, and vertical forces could be properly directed.
Figure 17a describes the flapping behavior of the propeller during the dorsoventral swimming simulation. This time, the caudal fin was biased to each side. Figure 17b–d shows the linear force that was exerted by the fin’s motion with both configurations. Forward thrust F X was not affected once the flapping direction changed. However, dorsoventral flapping exerted forces along the z b axis. According to the biased flapping produced (center to top/center to bottom), F Z forces could be properly directed. This caused the vehicle to achieve motion along surge and heave. Finally, dorsoventral swimming mode tended to produce moment over the vehicle’s y b axis. Figure 17e–g shows the moment computed in the simulation.
As seen in Figure 14 and Figure 16, a BAUV with thunniform motion will be capable of producing thrust efficiently, thereby attaining excellent forward speed. Nonetheless, a lack of efficient maneuvering will occur when turning and diving. Since the caudal fin’s motion is the only parameter responsible for changing moment and force directions, the vehicle takes longer to react. Furthermore, since changing between flapping modes while swimming is not an energy-efficient strategy, the designed propulsion system only follows one swimming style while performing a task. Then, if the mission comprises following straight trajectories while gaining depth, the best swimming option will be the dorsoventral. Otherwise, sideways swimming would be the best option.
To overcome the low degree of maneuverability of the BAUV, a strategy to regulate the flapping performance of the vehicle’s tail should be developed. Since the vehicle moves forward thanks to the thrust produced by its caudal fin, correcting the direction of such motion becomes a control task. Then, if the flapping performance of the propeller is correctly updated, unwanted behavior may be reduced.
Figure 18 shows the results obtained from the waypoint guidance strategy in the third set of simulations. Figure 18a illustrates how the BAUV was able to correct its erratic behavior over the horizontal plane while performing sideways swimming. The heading angle correction was achieved by biasing the flapping motion from the caudal fin, as shown in Figure 18b. Then, by maintaining forward speed and properly updating the flapping parameters after each control cycle, it was possible to correct the orientation of the vehicle relative to the desired goal. In Figure 18d, tracking errors between ψ d and ψ are plotted. The Euclidean distance was iteratively reduced (Figure 18c), and once the vehicle reached the waypoint area, the propeller was turned off. Figure 18e–g shows the linear coordinates of the BAUV throughout the mission. Once the propeller was shut down, the BAUV floated back to surface (as seen in Figure 18g).
Figure 19 shows the ways in which forces and moments changed during the simulated trial described in Figure 18. The caudal fin was able to produce a constant forward thrust, F X , throughout the mission. Figure 19a shows how thrust decayed to zero once the propeller was shut down at 36 s. Figure 19b,f shows the changing behavior of F Y and N Z over time. Table 4 states the accuracy and efficiency obtained from the waypoint guidance strategy applied in this scenario.
Finally, Figure 20a shows the BAUV performance when several waypoints were introduced into the guidance system. The vehicle corrected its course (Figure 20d) toward each of the established targets, ultimately reaching waypoint regions with a proximity E d of less than 0.2 m (Figure 20c). Based on these results, the vehicle demonstrated its ability to reach different positions on the horizontal plane; however, its accuracy and performance were limited by its thunniform locomotion. Nonetheless, the proposed propulsion system can overcome such limitations. By using a parallel mechanism, the vehicle’s tail flapping may achieve different speeds and present different behaviors (Figure 20b). This design for motion generation provides efficient and well-directed thrust. For maneuvering, having a system that can expeditiously bias the propeller is as important as thrust generation. Then, by the development of proper control strategies over the flapping performance of the robotic fish tail, the BAUV will achieve the desired outcomes. Figure 20e–g shows the vehicle’s behavior while en route to the desired coordinates. In Table 5, the accuracy and efficiency of the designed strategy based on the distance traveled by the BAUV toward each waypoint are detailed.
As seen in Set 3 of the simulated scenarios, the designed strategy did not consider either the vehicle’s orientation upon arrival or the reduction of the path-tracking error when compared to straight-line trajectories. Some novel controllers may be able to reduce the path-tracking error by controlling the production of forces and moments from the vehicle’s propeller. This might be achieved by the incorporation of robust controllers such as dynamic sliding mode methods or adaptive and/or intelligent controllers. However, in this case, thrust and moment exertion depends on the vehicle’s biomimetic features, which are the result of the proposed propulsion system. In other words, the vehicle’s thrust and maneuvering capabilities are limited by the flapping performance of its caudal fin and the way in which it is driven by the designed parallel mechanism. Even if a control strategy could properly define the required flapping frequency, amplitude, and bias to reduce path-tracking error, the navigation task will depend exclusively on the ability of the propulsion system to produce such movement at the desired moments. From the final simulated scenario, the BAUV showed an average travel-efficiency of about 85% in its navigation toward several waypoints. Also, the average accuracy when arriving at targets was 0.1327 m. These results were achieved thanks to the flapping parameters which were applied to the guidance system, and the control which was applied to the parallel robotic system inside the propeller.

4. Conclusions

In this article, a method for the mathematical modeling of a 6 DOF BAUV with thunniform locomotion was developed. The kinematics and dynamics of the robotic fish and its inner components were studied to comprehend how moments and forces were produced to move the vehicle. For the trajectory analysis, the vehicle’s hydrodynamics were determined. Further, a waypoint guidance strategy based on the flapping performance of the BAUV’s caudal fin was implemented. The vehicle was able to advance and maneuver thanks to its propulsion system, which was responsible for driving the vehicle’s tail at different flapping frequencies and with different dispositions.
The use of a parallel mechanism inside the propulsion system allowed the vehicle’s caudal fin to oscillate at different frequencies and in different ways. Due to this novel feature, the thunniform locomotion of the designed vehicle was enhanced, due to its ability to switch between two swimming modes, i.e., lateral and dorsoventral. From the obtained results, it was seen that the swimming mode directly impacted the vehicle’s performance and its trajectory. While sideways flapping allowed motion on the horizontal plane, dorsoventral flapping presented the advantage of producing stable motion along the vertical plane. Depth and planar motions were achieved by selecting the appropriate swimming mode. Hence, the BAUV’s motion was determined by controlling its tail, since this was the only parameter responsible for generating thrust and moment. Finally, based on the limitations of this locomotion, strategies were developed to correct the course of the vehicle according to the desired goals. With proper control over the flapping frequency and bias of the fin, the designed BAUV achieved forward thrust and moment, allowing it to orient itself relative to several established targets. The waypoint guidance strategy was found to be the optimal means by which to overcome the unwanted performance characteristics that the vehicle tended to present.
In future work, a faster, more robust, and adaptive smart controller for BAUV path tracking needs to be incorporated. More complex techniques such as deep learning and/or neuro-fuzzy algorithms may enhance the process of selecting the flapping parameters. Improved control over parameters such as frequency, bias and amplitude will reduce cruising cost during missions, thereby improving travel efficiency. Hence, complementary controllers to enhance the performance of the parallel mechanism inside the propulsion system should be analyzed. The presence of external disturbances based on different aquatic ecosystems should be incorporated in future analyses to define the expected performance of the proposed design. Further, future work should focus on path planning strategies to allow the vehicle to not only reach preestablished goals, but to properly define which trajectories are the most convenient in the search of such targets.

Author Contributions

Conceptualization, J.A.A.-P. and L.E.G.-C.; methodology, J.A.A.-P. and L.E.G.-C.; software, J.A.A.-P.; validation, L.E.G.-C., A.V.-M. and L.I.M.-Á.; formal analysis, J.A.A.-P. and L.E.G.-C.; investigation, A.V.-M. and L.I.M.-Á.; resources, L.E.G.-C.; data curation, J.A.A.-P.; writing—original draft preparation, J.A.A.-P. and L.E.G.-C.; writing—review and editing, A.V.-M. and L.I.M.-Á.; visualization, J.A.A.-P. and L.E.G.-C.; supervision, L.E.G.-C.; project administration, L.E.G.-C.; funding acquisition, A.V.-M. and L.E.G.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Tecnologico de Monterrey, Monterrey, NL, Mexico.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Linear actuators technical specifications.
Table A1. Linear actuators technical specifications.
SpecificationDescription/ValueUnits
ModelActuonix Motion Devices® L16 Series-
Gearing ratio150:1-
Input voltage12 VDC
Mass0.084 kg
Total   ( max . )   length   d i 0.348 m
Max. lifting force200 N
Back drive force102 N
Max. static force250 N
Maximum speed 8 × 10 3 m / s

Appendix B

Table A2. BAUV’s estimated added mass terms.
Table A2. BAUV’s estimated added mass terms.
SymbolValueUnits
X u ˙ 0.2239 kg
Y v ˙ 8.0675 kg
Y r ˙ 1.1598 kg · m / rad
Z w ˙ 8.0625 kg
Z q ˙ 1.1598 kg · m / rad
K p ˙ 0.0096 kg · m 2 / rad
M w ˙ 1.1598 kg · m
M q ˙ 0.4971 kg · m 2 / rad
N v ˙ 1.1598 kg · m
N r ˙ 0.4971 kg · m 2 / rad
Table A3. BAUV’s estimated added mass cross-terms and lifting.
Table A3. BAUV’s estimated added mass cross-terms and lifting.
SymbolValueUnits
X v r 8.0652 kg / rad
X w q 8.0652 kg / rad
X q q 1.1598 kg · m / rad
X r r 1.1598 kg · m / rad
Y u r 0.2239 kg / rad
Y u v 6.5211 kg / m
Y w p 8.0652 kg / rad
Y p q 1.1598 kg · m / rad
Z u q 0.2239 kg / rad
Z v p 8.0652 kg / rad
Z u w 6.5211 kg / m
Z r p 1.1598 kg · m / rad
M u q 1.1598 kg · m / rad
M v p 1.1598 kg · m / rad
M u w 6.6872 kg
M r p 0.4875 kg · m 2 / rad 2
N u r 1.1598 kg · m / rad
N u v 6.6872 kg
N w p 1.1598 kg · m / rad
N p q 0.4875 kg · m 2 / rad 2
Table A4. BAUV’s estimated drag terms.
Table A4. BAUV’s estimated drag terms.
SymbolValueUnits
X u u 0.5055 kg / m
Y v v 44.9495 kg / m
Z w w 44.9495 kg / m
K p p 0.1300 kg · m 2 / rad 2
M q q 0.3920 kg · m 2 / rad 2
N r r 0.3920 kg · m 2 / rad 2

References

  1. Zhu, J.; White, C.; Wainwright, D.K.; Di Santo, V.; Lauder, G.V.; Bart-Smith, H. Tuna robotics: A high-frequency experimental platform exploring the performance space of swimming fishes. Sci. Robot. 2019, 4, eaax4615. [Google Scholar] [CrossRef] [PubMed]
  2. Raj, A.; Thakur, A. Fish-inspired robots: Design, sensing, actuation, and autonomy—A review of research. Bioinspir. Biomim. 2016, 11, 031001. [Google Scholar] [CrossRef] [PubMed]
  3. Sfakiotakis, M.; Lane, D.M.; Davies, J. Review of fish swimming modes for aquatic locomotion. IEEE J. Ocean. Eng. 1999, 24, 237–252. [Google Scholar] [CrossRef] [Green Version]
  4. Du, R.; Li, Z.; Youcef-Toumi, K.; Valdivia y Alvarado, P. Robot Fish: Bio-Inspired Fishlike Underwater Robots; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar] [CrossRef]
  5. Scaradozzi, D.; Palmieri, G.; Costa, D.; Pinelli, A. BCF swimming locomotion for autonomous underwater robots: A review and a novel solution to improve control and efficiency. Ocean Eng. 2017, 130, 437–453. [Google Scholar] [CrossRef]
  6. Ren, Q.; Xu, J.; Guo, Z.; Ru, Y. Motion Control of a multi-joint robotic fish based on biomimetic learning. In Proceedings of the 2014 IEEE 23rd International Symposium on Industrial Electronics (ISIE), Istanbul, Turkey, 1–4 June 2014; pp. 1566–1571. [Google Scholar] [CrossRef]
  7. Yu, J.; Su, Z.; Wu, Z.; Tan, M. Development of a Fast-Swimming Dolphin Robot Capable of Leaping. IEEE/ASME Trans. Mechatron. 2016, 21, 2307–2316. [Google Scholar] [CrossRef]
  8. Yu, J.; Tan, M. Design and Control of a Multi-joint Robotic Fish. In Robot Fish; Springer: Berlin/Heidelberg, Germany, 2015; pp. 93–117. [Google Scholar] [CrossRef]
  9. Wang, J.; Tan, X. A dynamic Model for Tail-Actuated Robotic Fish with Drag Coefficient Adaptation. Mechatronics 2013, 23, 659–668. [Google Scholar] [CrossRef]
  10. Van den Berg, S. Design of a High-Speed Soft Robotic Fish. Master’s Thesis, Delft University of Technology, Delft, The Netherlands, 2019. [Google Scholar]
  11. Wang, R.; Wang, S.; Wang, Y.; Cheng, L.; Tan, M. Development and Motion Control of Biomimetic Underwater Robots: A Survey. IEEE Trans. Syst. Man Cybern. Syst. 2020, 52, 833–844. [Google Scholar] [CrossRef]
  12. Ravichandran, S.; Dharwada, S.; Agarwal, A.; Rajagopal, P. Effect of flapping orientation on caudal fin propelled bio-inspired underwater robots. ISSS J. Micro Smart Syst. 2020, 9, 55–68. [Google Scholar] [CrossRef]
  13. Szymak, P. Mathematical model of underwater vehicle with undulating propulsion. In Proceedings of the 2016 Third International Conference on Mathematics and Computers in Sciences and in Industry (MCSI), Chania, Greece, 27–29 August 2016; pp. 269–274. [Google Scholar] [CrossRef]
  14. Majeed, A.; Ali, A.A. Mathematical Modelling and 3D Simulation of a Virtual Robotic Fish. In Proceedings of the 2014 8th Asia Modelling Symposium, Taipei, Taiwan, 23–25 September 2014; IEEE Computer Society: Washington, DC, USA, 2014; pp. 110–117. [Google Scholar] [CrossRef]
  15. Candelier, F.; Boyer, F.; Leroyer, A. Three-dimensional extension of Lighthill’s large-amplitude elongated-body theory of fish locomotion. J. Fluid Mech. 2011, 674, 196–226. [Google Scholar] [CrossRef] [Green Version]
  16. Vu, M.T.; Le, T.-H.; Thanh, H.L.N.N.; Huynh, T.-T.; Van, M.; Hoang, Q.-D.; Do, T.D. Robust Position Control of an Over-actuated Underwater Vehicle under Model Uncertainties and Ocean Current Effects Using Dynamic Sliding Mode Surface and Optimal Allocation Control. Sensors 2021, 21, 747. [Google Scholar] [CrossRef]
  17. Vu, M.T.; Le Thanh, H.N.N.; Huynh, T.-T.; Thang, Q.; Duc, T.; Hoang, Q.-D.; Le, T.-H. Station-Keeping Control of a Hovering Over-Actuated Autonomous Underwater Vehicle under Ocean Current Effects and Model Uncertainties in Horizontal Plane. IEEE Access 2021, 9, 6855–6867. [Google Scholar] [CrossRef]
  18. Guo, J. Maneuvering and control of a biomimetic autonomous underwater vehicle. Auton. Robot. 2009, 26, 241–249. [Google Scholar] [CrossRef]
  19. Acquaviva, F.; Rizzo, A.; Kopman, V.; Laut, J.; Porfiri, M. Dynamic Modeling of a Compliant Tail-propelled Robotic Fish. In Proceedings of the ASME 2013 Dynamic Systems and Control Conference, Palo Alto, CA, USA, 21–23 October 2013; pp. 1–9. [Google Scholar] [CrossRef]
  20. Wang, R.; Wang, S.; Wang, Y.; Wei, Q. Way-Point Tracking Control for a Biomimetic Underwater Vehicle Based on Backstepping. In Proceedings of the 2016 35th Chinese Control Conference (CCC), Chengdu, China, 27–29 July 2016; pp. 5970–5975. [Google Scholar] [CrossRef]
  21. Aparicio-García, C.T.; Duchi, E.A.N.; Garza-Castañón, L.E.; Vargas-Martínez, A.; Martínez-López, J.I.; Minchala-Ávila, L.I. Design, Construction, and modeling of a BAUV with propulsion system based on a parallel mechanism for the caudal fin. Appl. Sci. 2020, 10, 2426. [Google Scholar] [CrossRef] [Green Version]
  22. Algarín-Pinto, J.; Garza-Castañón, L.E.; Vargas-Martínez, A.; Minchala-Ávila, L.I. Dynamic Modeling and Control of a Parallel Mechanism Used in the Propulsion System of a Biomimetic Underwater Vehicle. Appl. Sci. 2021, 11, 4909. [Google Scholar] [CrossRef]
  23. Liu, T.; Hu, Y.; Xu, H.; Zhang, Z.; Li, H. Investigation of the vectored thruster AUVs based on 3SPS-S parallel manipulator. Appl. Ocean Res. 2019, 85, 151–161. [Google Scholar] [CrossRef]
  24. Wang, R.; Guo, X.; Zhong, S. An Underwater Vector Propulsion Device Based on the RS+2PRS Parallel Mechanism and Its Attitude Control Algorithm. Appl. Sci. 2019, 9, 5210. [Google Scholar] [CrossRef] [Green Version]
  25. Pazmiño, R.S.; Cena, C.E.G.; Arocha, C.A.; Santonja, R.A. Experiences and results from designing and developing a 6 DoF underwater parallel robot. Robot. Auton. Syst. 2011, 59, 101–112. [Google Scholar] [CrossRef]
  26. Ji, D.-H.; Choi, H.-S.; Kang, J.-I.; Cho, H.-J.; Joo, M.-G.; Lee, J.-H. Design and control of hybrid underwater glider. Adv. Mech. Eng. 2019, 11. [Google Scholar] [CrossRef]
  27. Saghafi, M.; Lavimi, R. Optimal design of nose and tail of an autonomous underwater vehicle hull to reduce drag force using numerical simulation. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 2020, 234, 76–88. [Google Scholar] [CrossRef]
  28. Fossen, T.I. Handbook of Marine Craft Hydrodynamics and Motion Control; John Wiley & Sons, Ltd.: Chichester, UK, 2011. [Google Scholar]
  29. Antonelli, G. Modelling of Underwater Robots. In Underwater Robots, 3rd ed.; Siciliano, B., Khatib, O., Eds.; Springer: Berlin/Heidelberg, Germany, 2014; pp. 23–31. [Google Scholar] [CrossRef]
  30. Taghirad, H.D. Parallel Robots: Mechanics and Control; CRC Press: Boca Raton, FL, USA, 2013. [Google Scholar] [CrossRef]
  31. Spong, M.W.; Hutchinson, S.; Vidyasagar, M. The Denavit-Hartenberg Convention. In Robot Modeling and Control, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2020; pp. 78–96. [Google Scholar]
  32. Javanmard, E.; Mansoorzadeh, S.; Mehr, J. A new CFD method for determination of translational added mass coefficients of an underwater vehicle. Ocean Eng. 2020, 215, 107857. [Google Scholar] [CrossRef]
  33. Prestero, T. Verification of a Six-Degree of Freedom Simulation Model for the REMUS Autonomous Underwater Vehicle. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2001. [Google Scholar] [CrossRef]
  34. Isa, K.; Arshad, M.; Ishak, S. A hybrid-driven underwater glider model, hydrodynamics estimation, and an analysis of the motion control. Ocean Eng. 2014, 81, 111–129. [Google Scholar] [CrossRef]
  35. Blevins, R.D. Applied Fluid Dynamics Handbook; Krieger Publishing Company: Malabar, FLA, USA, 1992. [Google Scholar]
  36. WLata, H.; Thiagarajan, K.P. Comparison of added mass coefficients for a floating tanker evaluated by conformal mapping and boundary element methods. In Proceedings of the 16th Australasian Fluid Mechanics Conference, Gold Coast, Australia, 3–7 December 2007; pp. 1388–1391. [Google Scholar]
  37. Newman, J.N. The Added Mass of Simple Forms. In Marine Hydrodynamics; 40th Anniversary; The MIT Press: Cambridge, MA, USA, 2017; pp. 151–155. [Google Scholar]
  38. Society of Naval Architects and Marine Engineers (U.S.); Lewis, E.V. Principles of Naval Architecture. Motions in Waves and Controllability; Society of Naval Architects and Marine Engineers: Alexandria, VA, USA, 1989; Volume III. [Google Scholar]
  39. Hoerner, S.F.; Borst, H.V. Fluid Dynamics Lift, 2nd ed.; Hoerner Fluid Dynamics: Brick Town, NJ, USA, 1985. [Google Scholar]
  40. Cely, J.S.; Saltaren, R.; Portilla, G.; Yakrangi, O.; Rodriguez-Barroso, A. Experimental and computational methodology for the determination of hydrodynamic coefficients based on free decay test: Application to conception and control of underwater robots. Sensors 2019, 19, 3631. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  41. Triantafyllou, M.S.; Hover, F.S. Maneuvering and Control of Marine Vehicles; MIT Department of Ocean Engineering: Cambridge, MA, USA, 2002. [Google Scholar]
Figure 1. (a) BAUV design and its main components. A lunate-shaped caudal fin is driven using a parallel mechanism, and on the midbody section, rigid pectoral fins are employed for stability. (b) The vehicle’s dimensions and the configuration of the applied parallel mechanism.
Figure 1. (a) BAUV design and its main components. A lunate-shaped caudal fin is driven using a parallel mechanism, and on the midbody section, rigid pectoral fins are employed for stability. (b) The vehicle’s dimensions and the configuration of the applied parallel mechanism.
Electronics 11 00544 g001
Figure 2. Hull shape design, as defined by Equations (1)–(3).
Figure 2. Hull shape design, as defined by Equations (1)–(3).
Electronics 11 00544 g002
Figure 3. Coordinate systems for vehicle’s kinematics and motion variables.
Figure 3. Coordinate systems for vehicle’s kinematics and motion variables.
Electronics 11 00544 g003
Figure 4. Design of parallel mechanism. (a) Linear actuators are responsible for generating oscillatory motion in the upper platform, and limbs are attached to the bases through non-actuated joints; (b) free body diagram of the mechanism, in which two new coordinate systems are introduced.
Figure 4. Design of parallel mechanism. (a) Linear actuators are responsible for generating oscillatory motion in the upper platform, and limbs are attached to the bases through non-actuated joints; (b) free body diagram of the mechanism, in which two new coordinate systems are introduced.
Electronics 11 00544 g004
Figure 5. Propeller workspace, defined by pitch and yaw rotations from moving platform during (a) sideways flapping and (b) dorsoventral flapping.
Figure 5. Propeller workspace, defined by pitch and yaw rotations from moving platform during (a) sideways flapping and (b) dorsoventral flapping.
Electronics 11 00544 g005
Figure 6. Coordinate systems in space for the initial position and orientation of η = 1 , 0 , 0 , 0 , 0 , 90 ° of an arbitrary vehicle when the propeller is oriented at: (a) α , β , γ = 0 ° (sideways flapping), and (b) α , β , γ = 0 , 0 , 90 ° (dorsoventral flapping).
Figure 6. Coordinate systems in space for the initial position and orientation of η = 1 , 0 , 0 , 0 , 0 , 90 ° of an arbitrary vehicle when the propeller is oriented at: (a) α , β , γ = 0 ° (sideways flapping), and (b) α , β , γ = 0 , 0 , 90 ° (dorsoventral flapping).
Electronics 11 00544 g006
Figure 7. Block diagram of the feedforward plus feedback PD controller used to regulate the limbs inside the parallel mechanism.
Figure 7. Block diagram of the feedforward plus feedback PD controller used to regulate the limbs inside the parallel mechanism.
Electronics 11 00544 g007
Figure 8. Schematic of coordinates employed in waypoint tracking. The heading angle error presented by the vehicle was obtained considering the desired and real yaw angles.
Figure 8. Schematic of coordinates employed in waypoint tracking. The heading angle error presented by the vehicle was obtained considering the desired and real yaw angles.
Electronics 11 00544 g008
Figure 9. Block diagram of the implementation of the waypoint guidance system.
Figure 9. Block diagram of the implementation of the waypoint guidance system.
Electronics 11 00544 g009
Figure 10. Decision making flowchart for flapping parameters selection.
Figure 10. Decision making flowchart for flapping parameters selection.
Electronics 11 00544 g010
Figure 11. Forward force estimation through simulations. In (a), the propeller’s full span angular position is displayed, while in (b), the forward force obtained based on flapping frequency is shown.
Figure 11. Forward force estimation through simulations. In (a), the propeller’s full span angular position is displayed, while in (b), the forward force obtained based on flapping frequency is shown.
Electronics 11 00544 g011
Figure 12. Forward force estimation through biased flapping. In (a), the propeller’s half span angular position is displayed, while in (b), higher frequencies were required to generate thrust.
Figure 12. Forward force estimation through biased flapping. In (a), the propeller’s half span angular position is displayed, while in (b), higher frequencies were required to generate thrust.
Electronics 11 00544 g012
Figure 13. Moment N z based on the flapping performance of the propeller. In (a), the caudal fin is set to follow a full-range and two biased trajectories. In (b), the moment exerted on BAUV changes its direction according to the flapping orientation of the caudal fin.
Figure 13. Moment N z based on the flapping performance of the propeller. In (a), the caudal fin is set to follow a full-range and two biased trajectories. In (b), the moment exerted on BAUV changes its direction according to the flapping orientation of the caudal fin.
Electronics 11 00544 g013
Figure 14. Results for open loop simulations in sideways swimming mode. In (a), the described helicoidal trajectory of the BAUV is shown; (b) shows the circular path the vehicle followed on the horizontal plane caused by coupled forces in surge and sway; (ce) describe the components of linear displacement; (fh) describe the angular displacement while swimming.
Figure 14. Results for open loop simulations in sideways swimming mode. In (a), the described helicoidal trajectory of the BAUV is shown; (b) shows the circular path the vehicle followed on the horizontal plane caused by coupled forces in surge and sway; (ce) describe the components of linear displacement; (fh) describe the angular displacement while swimming.
Electronics 11 00544 g014
Figure 15. Estimated thrust and moment based on the flapping performance in sideways swimming mode. On (a), the flapping motion β from caudal fin is described; (bd) exerted linear forces; and (eg) produced moment.
Figure 15. Estimated thrust and moment based on the flapping performance in sideways swimming mode. On (a), the flapping motion β from caudal fin is described; (bd) exerted linear forces; and (eg) produced moment.
Electronics 11 00544 g015
Figure 16. Results from open loop simulations in dorsoventral swimming mode. In (a), the depth position of the BAUV depended on the flapping orientation of the caudal fin; (b) the straight trajectory the vehicle followed; (ce) linear displacement components; (fh) angular displacement components.
Figure 16. Results from open loop simulations in dorsoventral swimming mode. In (a), the depth position of the BAUV depended on the flapping orientation of the caudal fin; (b) the straight trajectory the vehicle followed; (ce) linear displacement components; (fh) angular displacement components.
Electronics 11 00544 g016
Figure 17. Estimated thrust and moment based on the flapping performance in dorsoventral swimming mode. In (a), the flapping motion β from caudal fin was biased to each side for 30 s; (bd) exerted linear forces behavior; and (eg) change in moment produced.
Figure 17. Estimated thrust and moment based on the flapping performance in dorsoventral swimming mode. In (a), the flapping motion β from caudal fin was biased to each side for 30 s; (bd) exerted linear forces behavior; and (eg) change in moment produced.
Electronics 11 00544 g017
Figure 18. Results from the implemented waypoint guidance system: (a) the described trajectory of the BAUV toward a waypoint, (b) flapping performance of the propeller throughout the mission, (c) linear position error reduction over time, (d) tracking of vehicle’s heading angle error, and (eg) BAUV linear displacement components.
Figure 18. Results from the implemented waypoint guidance system: (a) the described trajectory of the BAUV toward a waypoint, (b) flapping performance of the propeller throughout the mission, (c) linear position error reduction over time, (d) tracking of vehicle’s heading angle error, and (eg) BAUV linear displacement components.
Electronics 11 00544 g018
Figure 19. Thrust and moment exerted while swimming toward a waypoint. In (ac), linear forces exerted while swimming are shown; (df) generated moment over time. At 36 s, the vehicle reached the target, and the propeller was turned off.
Figure 19. Thrust and moment exerted while swimming toward a waypoint. In (ac), linear forces exerted while swimming are shown; (df) generated moment over time. At 36 s, the vehicle reached the target, and the propeller was turned off.
Electronics 11 00544 g019
Figure 20. Results after simulating the waypoint guidance strategy for several coordinates: (a) BAUV trajectory toward waypoints, (b) flapping performance of the propeller throughout the mission, (c) linear position error reduction over time according to the desired target, (d) tracking of vehicle’s heading angle error, and (eg) the BAUV’s linear displacement components.
Figure 20. Results after simulating the waypoint guidance strategy for several coordinates: (a) BAUV trajectory toward waypoints, (b) flapping performance of the propeller throughout the mission, (c) linear position error reduction over time according to the desired target, (d) tracking of vehicle’s heading angle error, and (eg) the BAUV’s linear displacement components.
Electronics 11 00544 g020
Table 1. BAUV hull parameters, weight, and buoyancy.
Table 1. BAUV hull parameters, weight, and buoyancy.
SymbolValueUnitsParameter
a 59.00 × 10 3 mNose section full axial length.
a o f f 2.20 × 10 3 mNose section axial offset.
b 318.43 × 10 3 mMidbody section full axial length.
c 230.82 × 10 3 mParallel mechanism’s hull axial length.
c o 38.50 × 10 3 mPeduncle’s inner radius.
d 114.3 × 10 3 m Midbody diameter.
e 38.50 × 10 3 mPeduncle’s full axial length.
p o f f 6.30 × 10 3 mPeduncle’s aft offset.
l 644.6 × 10 3 mVehicle’s total axial length.
n 2 -Nose shape coefficient.
W 39.24   NVehicle’s weight.
B 44.54   NVehicle’s buoyancy.
x g , y g , z g 241.95 ,   0 ,   50 × 10 3 mVehicle’s center of gravity 1.
x b , y b , z b 241.95 ,   0 ,   0 × 10 3 mVehicle’s center of buoyancy 1.
1 Measured with respect to nose tip.
Table 2. Nomenclature employed for underwater motion.
Table 2. Nomenclature employed for underwater motion.
DOFPosition 1Velocity 2Force/Moment 2
x direction (surge)xuX
y   direction (sway)yvY
z   direction (heave)zwZ
x axis rotation (roll)ϕpK
y axis rotation (pitch)θqM
z axis rotation (yaw)ψrN
1 Measured with respect to earth-fixed frame. 2 Measured with respect to body-fixed frame.
Table 3. Flapping parameters and expected performance of the caudal fin.
Table 3. Flapping parameters and expected performance of the caudal fin.
CaseParameter Values Range   for   β Flapping Direction during Sideways SwimmingFlapping Direction during Dorsoventral Swimming
1. A M = 30 ;
φ = b = 0 .
30 ° β 30 ° Port-starboard full range.Top-bottom full range.
2. A M = b = 15 ;
φ = 0.5 π .
0 ° β 30 ° Center to starboard range.Center to bottom range.
3. A M = 15 ;
b = 15 ;
φ = 0.5 π .
30 ° β 0 ° Center to port range.Center to top range.
Table 4. Accuracy and efficiency obtained by the proposed guidance system during the first simulation.
Table 4. Accuracy and efficiency obtained by the proposed guidance system during the first simulation.
Initial-Final Coordinates Ideal   Distance   I D Real   Distance   Traveled   R D Efficiency   E r e l Accuracy   E d
1 , 0 , 0 5 , 15 , 0 16.1555 m19.2415 m83.96% 0.1150 m
Table 5. The accuracy and efficiency achieved by the proposed guidance system during the second simulation.
Table 5. The accuracy and efficiency achieved by the proposed guidance system during the second simulation.
Initial-Final Coordinates Ideal   Distance   I D Real   Distance   Traveled   R D Efficiency   E r e l Accuracy   E d
1 , 0 , 0 5 , 15 , 0 m16.1555 m19.2415 m83.96%0.1150 m
5 , 15 , 0 0 , 30 , 0 m15.8114 m19.2798 m82.01%0.1580 m
0 , 30 , 0 5 , 15 , 0 m15.8114 m17.5905 m89.89%0.1850 m
5 , 15 , 0 0 , 0 , 0   m15.8114 m18.7031 m84.54%0.0730 m
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Algarín-Pinto, J.A.; Garza-Castañón, L.E.; Vargas-Martínez, A.; Minchala-Ávila, L.I. Modeling, Trajectory Analysis and Waypoint Guidance System of a Biomimetic Underwater Vehicle Based on the Flapping Performance of Its Propulsion System. Electronics 2022, 11, 544. https://doi.org/10.3390/electronics11040544

AMA Style

Algarín-Pinto JA, Garza-Castañón LE, Vargas-Martínez A, Minchala-Ávila LI. Modeling, Trajectory Analysis and Waypoint Guidance System of a Biomimetic Underwater Vehicle Based on the Flapping Performance of Its Propulsion System. Electronics. 2022; 11(4):544. https://doi.org/10.3390/electronics11040544

Chicago/Turabian Style

Algarín-Pinto, Juan Antonio, Luis E. Garza-Castañón, Adriana Vargas-Martínez, and Luis I. Minchala-Ávila. 2022. "Modeling, Trajectory Analysis and Waypoint Guidance System of a Biomimetic Underwater Vehicle Based on the Flapping Performance of Its Propulsion System" Electronics 11, no. 4: 544. https://doi.org/10.3390/electronics11040544

APA Style

Algarín-Pinto, J. A., Garza-Castañón, L. E., Vargas-Martínez, A., & Minchala-Ávila, L. I. (2022). Modeling, Trajectory Analysis and Waypoint Guidance System of a Biomimetic Underwater Vehicle Based on the Flapping Performance of Its Propulsion System. Electronics, 11(4), 544. https://doi.org/10.3390/electronics11040544

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop