{'fraction_non_alphanumeric': 0.02923951548394469, 'fraction_numerical': 0.011498685864472632, 'mean_word_length': 4.73092665356909, 'pattern_counts': {'":': 0, '<': 2, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Experimental investigation of efficient locomotion of underwater snake robots for lateral undulation and eel-like motion patterns

Underwater snake robots offer many interesting capabilities for underwater operations. The long and slender structure of such robots provide superior capabilities for access through narrow openings and within confined areas. This is interesting for inspection and monitoring operations, for instance within the subsea oil and gas industry and within marine archeology. In addition, underwater snake robots can provide both inspection and intervention capabilities and are thus interesting candidates for the next generation inspection and intervention AUVs. Furthermore, bioinspired locomotion through oscillatory gaits, like lateral undulation and eel-like motion, is interesting from an energy efficiency point of view. Increasing the motion efficiency in terms of the achieved forward speed by improving the method of propulsion is a key issue for underwater robots. Moreover, energy efficiency is one of the main challenges for long-term autonomy of these systems. In this study, we will consider both these two aspects of efficiency. This paper considers the energy efficiency of swimming snake robots by presenting and experimentally investigating fundamental properties of the velocity and the power consumption of an underwater snake robot for both lateral undulation and eel-like motion patterns. In particular, we investigate the relationship between the parameters of the gait patterns, the forward velocity and the energy consumption for different motion patterns. The simulation and experimental results are seen to support the theoretical findings. Electronic supplementary material The online version of this article (doi:10.1186/s40638-015-0029-4) contains supplementary material, which is available to authorized users.


Background
The use of underwater vehicles has rapidly increased in the last decades since these systems are able to operate in deep and high risk areas which humans can not reach. Nowadays, autonomous underwater vehicles (AUVs) and remotely operated vehicles (ROVs) are widely used in the subsea environment for different challenging tasks [1]. These vehicles are suitable for various work assignments such as inspection, surveillance, maintenance, repairing equipment, building structures, and data collection, and they are extensively used in the subsea oil and gas industry and by the science community. For the long-term autonomy of these systems, energy efficiency is one of the main challenges. In addition, swimming snake robots represent an interesting alternative to conventional ROVs and AUVs. These mechanisms have a long, slender and flexible body which enable them to reach and operate in locations not accessible by larger and more conventional underwater vehicles. At the same time, a swimming snake robot carries manipulation capabilities as an inherent part of its body since it is essentially a mobile manipulator arm. Underwater snake robots thus bring a promising prospective to improve the efficiency and maneuverability of modern-day underwater vehicles [2][3][4][5]. A particularly relevant application concerns inspection and maintenance of subsea oil and gas installations, where the ability to reach tight locations in between pipe structures is important. Moreover, for the biological community and marine archeology, snake robots that can swim smoothly with limited noise, and that can navigate in difficult environments such as ship wrecks, are very interesting [2]. To realize operational snake robots for such underwater applications, a number of different control design challenges must first be solved. An important control problem concerns the ability to achieve efficient motion with preferably a minimum amount of consumed energy to be able to undertake longer missions, and this is the topic of this paper.
The majority of previous studies on snake robots considers snake locomotion on ground surfaces, with a multitude of models proposed for this type of snake robots [6]. Empirical and analytic studies of snake locomotion were reported by [7], while the work of [8] is among the first approaches to develop a snake robot prototype. Several land-based snake robots [9][10][11][12][13] and biologically inspired swimming robots [14][15][16][17][18][19][20][21][22][23][24][25][26][27][28][29] have been constructed since then. A review of ground snake-like robots can be found in [30,31]. Comparing amphibious snake robots to the traditional land-based ones, the former have the advantage of adaptability to aquatic environments. The research activity on amphibious snake robots (also referred to as lamprey or eel-like robots) that can operate in aquatic environments, is less extensive. Due to the complex dynamics of swimming snake robots, several different modeling approaches have been carried out in the literature [2-4, 18, 32-40]. A comparison of these approaches is presented in [41]. The majority of previous modeling approaches for underwater snake robots omit the fluid moments (fluid torques) by considering that their effect on the motion of the robot is negligible [34,36,42]. However, including the impact of the fluid torques on the power consumption of the system (see e.g. [4]), will improve the accuracy of the model from a hydrodynamic and energy efficiency point of view. The works in [3][4][5] propose models which consider fluid torques, where drag forces and torques are evaluated numerically. These approaches lack a closed form solution, which is a drawback since a hydrodynamic model in closed form is advantageous for control design and analysis. The works in [2,43] present a closed form hydrodynamic model, where hydrodynamic forces and torques are considered and where there is no need for algorithmic computation of drag effects. Furthermore, in this approach, both linear and nonlinear drag forces (resistive fluid forces), the added mass effect (reactive fluid forces), the fluid moments, and current effects are considered. The resulting closed form model is well suited for model-based control design schemes and stability analysis. The simulation study in this paper will be based on this model.
In this paper, we will investigate fundamental properties of the velocity dynamics of underwater snake robots that are essential for motion planning purposes and for the efficiency of these systems. Preliminary results were presented in [2,[43][44][45]. In particular, in [44] a controloriented model, aimed at control design and stability analysis purposes, of underwater snake robot locomotion was presented. The proposed model in [44], takes into account the added mass effects, the linear drag forces, the torques due to the added mass and linear drag forces, is significantly less complex than the existing models on underwater snake robots, and at the same time has the same essential properties as the complex model presented in [2,43]. Based on this control-oriented model, an average model of the velocity dynamics was presented in [45]. By using the averaging theory, in [44], fundamental properties are derived regarding the relationship between the gait parameters and the forward velocity. In this paper, we will present a simulation study to investigate the validity of these relationships, and the simulation results will be based on the models presented in [2,43,44]. In this paper, we combine the modeling in the preliminary conference papers [2,43,44] into a unified presentation and analyze the theoretical findings in [45] in order to address the fundamental properties of locomotion for underwater snake robot. To this end, this paper summarizes the main results of [2,[43][44][45], to create the foundation which is then used as basis for an experimental validation study and thus present an integrated solution regarding the efficiency of biologically inspired swimming robots.
The main contribution of this paper is the experimental investigation of a set of fundamental properties of the velocity dynamics of underwater snake robots. In [45], the properties were derived based on the controloriented model of an underwater snake robot proposed in [44]. The derived properties state that the average forward velocity of the robot (1) is a function of the amplitude of the sinusoidal motion pattern, (2) depends on a linear and a nonlinear term of the gait frequency, and (3) depends on the phase shift between the joints. Initially in this paper, we present simulation results to investigate the validity of these properties for both the complex model presented in [2] and the control-oriented model in [44]. Furthermore, in this paper we extend the preliminary results presented in [45] and based on extensive simulation results we show that the forward velocity of the robot: (1) is a class K function of alpha, i.e., increases when the amplitude of the gait pattern α increases, for small amplitudes, (2) increases almost linearly with respect to the frequency of the gait pattern ω (i.e., the nonlinear term of ω has a negligible effect on the achieved forward velocity) and (3) depends on the phase shift between the joints δ. The simulation results show that the derived properties based on the control-oriented model of an underwater snake robot hold also for the complex model where more complex hydrodynamic effects are considered. Then we present experimental results using a physical underwater snake robot [24], and we show that the experimental results support the derived properties of the velocity dynamics. Moreover, the experimental results presented in this paper not only verify the properties regarding the gait parameters of the sinusoidal motion pattern derived based on the controloriented model and the empirical rules derived based on an extensive simulation study using the complex model, but also validate the control-oriented model as a suitable model for underwater snake robot locomotion. Both the simulation and experimental results are obtained for the two most common swimming patterns for underwater snake robot locomotion: lateral undulation and eellike motion patterns. To the authors' best knowledge, an experimental investigation of efficient motion patterns by investigating the relationship between the gait parameters and the forward velocity has not been considered in previous literature.
Another important control problem for underwater vehicles concerns the ability to achieve efficient motion with preferably a minimum amount of consumed energy in order to be able to undertake longer missions. Hence, for the long-term autonomy of underwater vehicles, energy efficiency is one of the main challenges. Preliminary results on this were presented in [46][47][48]. In particular, in [46], the relationships between the parameters of the gait patterns, the consumed energy, and the forward velocity for different motion patterns for underwater snake robots were investigated. In addition, empirical rules were proposed in order to choose the most efficient motion pattern. In [47], a simulation study was undertaken in order to compare the power consumption of swimming snake robots with that of today's benchmark solution for subsea inspection, maintenance and repair, which are ROVs. The presented simulation results showed that an underwater snake robot is more energy efficient than a ROV for all the compared motion modes. Furthermore, [48] proposed a multiobjective optimization scheme to obtain optimal gait parameters for underwater snake robots. The proposed optimization method constitutes a general tool to investigate the motion efficiency of different dynamic models of swimming snake robots controlled by sinusoidal motion patterns. To our knowledge, however, no research has been published investigating experimentally the power consumption of underwater snake robots. To this end, in this paper we investigate experimentally the validity of the empirical rules proposed in [46,47] regarding the relationship between the gait parameters, the velocity and the power consumption. Note that while the derivation of the empirical rules proposed in [46,47] are based on simulation studies, this paper investigates the validity of the properties through experiments using a physical underwater snake robot [24]. The experimental results are seen to support the empirical rules proposed in [46,47] regarding the relationship between the gait parameters, the velocity and the power consumption for both lateral undulation and eel-like motion patterns.
The paper is organized as follows "A complex model of underwater snake robots" briefly presents the complex model of an underwater snake robot, while the control-oriented model is outlined in "Control-oriented model of underwater snake robots". The motion pattern for underwater snake robots and the joint controller are presented in "Joint controller", followed by a description of the experimental setup in "Experimental setup". "Relationships between gait parameters, the forward velocity and the power consumption" presents the derived fundamental properties of the velocity dynamics of the robot and the proposed empirical rules regarding the efficient motion of underwater snake robots. Simulation results regarding the relationship between the gait parameters and the forward velocity are presented in "Simulation study: relationships between gait parameters and forward velocity", followed by an experimental investigation of these properties in "Experimental study: relationships between gait parameters and forward velocity". "Power consumption of underwater snake robots" presents simulation and experimental results regarding the power consumption of underwater snake robots for both lateral undulation and eel-like motion patterns. Finally, conclusions and suggestions for further research are given in "Conclusions and future work".

A complex model of underwater snake robots
The numerical investigation of the fundamental properties of underwater snake robots that is presented in this paper will be based on a model of the kinematics and dynamics of underwater snake robots moving in a virtual horizontal plane. This model was developed in [2,43], where a detailed description can be found. This section provides a brief presentation of this model.

Basic notations
The underwater snake robot consists of n rigid links of equal length 2l interconnected by n − 1 joints. The links are assumed to have the same mass m and moment of inertia J = 1 3 ml 2 . The mass of each link is uniformly distributed so that the link center of mass (CM) is located at its center point (at length l from the joint at each side). The total mass of the snake robot is therefore nm. In the following subsections, the kinematics and dynamics of the robot will be described in terms of the mathematical symbols described in Table 1 and illustrated in Fig. 1.
The following vectors and matrices are used in the subsequent sections: where the matrices A ∈ R (n−1)×n and D ∈ R (n−1)×n represent, respectively, an addition and a difference matrix, which will be used for adding and subtracting pairs of adjacent elements of a vector. Furthermore, the vector e represents a summation vector, which is used for adding all elements of a n-dimensional vector.

Kinematics of underwater snake robot
The snake robot is assumed to move in a virtual horizontal plane, fully immersed in water, and has n+2 degrees of freedom (n link angles and the x-y position of the robot). The link angle of each link i ∈ {1, . . . , n} of the snake robot is denoted by θ i ∈ R, while the joint angle of joint i ∈ {1, . . . , n − 1} is given by The link angles and the joint angles are assembled in the vectors θ = [θ 1 , . . . , θ n ] T ∈ R n and φ = [φ 1 , . . . , φ n−1 ] T ∈ R n−1 , respectively. The heading (or orientation) θ ∈ R of the snake is defined as the average of the link angles [6], i.e. as The global frame position p CM ∈ R 2 of the CM (center of mass) of the robot is given by (p x , p y ) Global coordinates of the CM of the robot p CM ∈ R 2 u i Actuator torque of joint between link i and link i + 1 u ∈ R n−1 u i−1 Actuator torque of joint between link i and link i − 1 u ∈ R n−1

Hydrodynamic modeling
As it has been noted in the bio-robotics community, underwater snake (eel-like) robots bring a promising prospective to improve the efficiency and maneuverability of modern-day underwater vehicles. However, the dynamic modeling of the contact forces is quite complicated compared to the modeling of the overall rigid motion for these robotic systems. Hence, the hydrodynamic modeling task presents a major challenge. A closed form solution was proposed in [2] to solve the hydrodynamic modeling problem using an analytical simplified form suited for the design of online control of underwater snake robots. The hydrodynamic modeling approach from [2] that is considered in this paper, takes into account both the linear and the nonlinear drag forces (resistive fluid forces), the added mass effect (reactive fluid forces), the fluid moments and current effects.
In particular, in [2], it is shown that the fluid forces on all links can be expressed in vector form as The vectors f A x and f A y represent the effects from added mass forces and are expressed as where V a x = diag V x,1 , . . . , V x,n ∈ R n×n , V a y = diag V y,1 , . . . , V y,n ∈ R n×n and [V x,i , V y,i ] T is the current velocity expressed in inertial frame coordinates. The vectors f I D x , f I D y and f II D x , f II D y represent the effects from the linear (7) and nonlinear drag forces (8), respectively, where the relative velocities are given by (9).
In addition, the fluid torques on all links are where 1 = 1 I n , 2 = 2 I n and 3 = 3 I n . The coefficients c t , c n , 2 , 3 represent the drag forces parameters due to the pressure difference between the two sides of the body, and the parameters µ n , 1 represent the added mass of the fluid carried by the moving body. Note that the added mass parameter in the x direction is considered equal to zero (µ t = 0), because the added mass of a slender body in the longitudinal direction can be neglected compared to the body mass [2].

Equations of motion
This section presents the equations of motion for the underwater snake robot. In [43] it is shown that the acceleration of the CM may be expressed as where the detailed derivation of the matrix M p and vectors k 11 , k 12 , k 21 and k 22 are given in [2,43]. In addition, it is shown that under the influence of fluid forces (5) and torques (10), the equations of motion of the underwater snake robot are obtained by (11) and (12), with f Dx = f I D x + f II D x and f Dy = f I D y + f II D y representing the drag forces in x and y directions and u ∈ R n−1 the control input. For more details and the derivation of the matrices M θ , W θ , V θ , K Dx and K Dy , see [43].

By
introducing the state variable where the elements of F(x, u) are found by solving (11) and (12) for p CM and θ , respectively.

Remark 1
It is interesting to note that if, in the dynamic model (11,12), we set the fluid parameters to zero and replace the drag forces in x and y direction with ground friction models, then the model reduces exactly to the dynamic model of a land-based snake robot described in [6]. The underwater snake robot model is thus an extension of the land-based snake robot model, and may be used for amphibious snake robots moving both on land and in water.

Control-oriented model of underwater snake robots
The fundamental properties of underwater snake robots that are investigated in this paper will be based on a control-oriented model of an underwater snake robot moving in a virtual horizontal plane that was developed in [44]. In particular, in [44] an extensive analysis of the complex model of underwater snake robots described in "A complex model of underwater snake robots" was performed and from this analysis a set of essential properties that characterize the overall motion of the underwater snake robot were derived. It was shown that the controloriented modeling approach captures these essential properties, resulting in a less complex model that is well suited for control design and analysis purposes, and at the same time has the same essential properties as the complex model presented in "A complex model of underwater snake robots". In this section we will give a brief description of this control-oriented model.

Overview of the modeling approach
The idea behind the control-oriented model of underwater snake robot locomotion is based on the simplified modeling approach presented in [6,49] for a land-based snake robot. In particular, based on the observation that the rotation of each link in essence creates a linear displacement of the CM of each link, the idea is to describe the body shape changes of an underwater snake robot as linear displacements of the links with respect to each other instead of rotational displacements. The kinematics and dynamics of the underwater snake robot are given in terms of the mathematical symbols described in Table 2 and illustrated in Fig. 2. For further details, see [44]. Note that the controloriented model is designed to capture only those properties of the underwater snake robot dynamics that are relevant for analysis and control design, and it is thus derived for control design and stability analysis purposes [44].

Kinematics of the underwater snake robot
The underwater snake robot is assumed to move in a horizontal plane, fully immersed in water, and has N+2 degrees of freedom. The motion of the robot is defined with respect to the fixed global frame, x − y, and the t − n frame that is always aligned with the robot (Fig. 2a). The origin of both frames are fixed and coincide. The direction of the t axis is denoted as the tangential or forward direction of the robot, and the direction of the n axis as the normal direction. As shown in Fig. 2, the position of the CM of the underwater snake robot in the global frame is denoted by (p x , p y ) ∈ R 2 , while (p t , p n ) ∈ R 2 is the position in the t − n frame. θ ∈ R represents the orientation of the snake robot with respect to the global x axis with counterclockwise positive direction. The angle between the global x axis and the t axis is also θ since the t − n frame is always aligned with the snake robot. The relationship between the t − n frame position and the global frame position is thus given by

Fluid dynamic model
The fluid dynamic model of the control-oriented model presented in [44] is notably less complex than the fluid dynamic model presented in "A complex model of underwater snake robots", which takes into account significant parameters such as added mass effects, linear drag forces, torques due to the added mass and linear drag forces. In particular, in [44] it is shown that the expressions for the added mass effects and linear drag forces can be written as and (14) p t = p x cos θ + p y sin θ , p n = −p x sin θ + p y cos θ .
Relative velocity between links i and i + 1 Orientation of the underwater snake robot θ ∈ R υ θ Angular velocity of the underwater snake robot υ θ ∈ R (p t , p n ) Coordinates of the CM of the robot in the t − n frame (p x , p y ) Coordinates of the CM of the robot in the global frame (υ t , υ n ) Forward and normal direction velocity of the robot respectively. The parameter c p = (c n − c t )/2l is a propulsion coefficient which maps the normal direction link velocities and the joint coordinates into propulsive fluid forces in the forward (tangential) direction of the underwater snake robot, I N ∈ R N ×N is the unity matrix and Furthermore, in [44] the fluid torques due to the added mass and linear drag effects are modeled as where ˜ 1 is a constant parameter which determines the drag torque opposing to the rotation of the underwater snake robot and ˜ 3 is a constant parameter which represents the torque coefficient due to the added mass effect.

Dynamics of the underwater snake robot
In [44], it is shown that by choosing the state vector of the model as the complete control-oriented model of the underwater snake robot is given by where φ ∈ R N −1 are the joint coordinates, θ ∈ R is the absolute orientation, (p x , p y ) ∈ R 2 is the position of the CM in the global frame and v φ =φ ∈ R N −1 are the joint velocities. The state variable υ θ =θ ∈ R denotes the angular velocity, (υ t , υ n ) ∈ R 2 are the tangential and normal direction velocities of the robot, u ∈ R N −1 are the transformed actuator forces and ē = 1 . . . 1 T ∈ R N −1 . The parameters k 1 = µ n /l, and ˜ 2 is a constant parameter which gives the scaling of the mapping from the average of the joint coordinates and forward velocity to rotational acceleration. For more detail, see [44]. The transformed actuator forces at the joints are chosen according to the feedback linearizing control law where ū ∈ R N −1 denotes the new control inputs. By using this control law the joint dynamics (19e) are transformed into Remark 2 Note that in [44], it is shown that, for both lateral undulation and eel-like motion, the control-oriented Parameters of the control-oriented model. a Control-oriented model approach and b kinematics and dynamics of the robot model presented in this section and the complex model presented in "A complex model of underwater snake robots" have similar qualitative and quantitative behavior for θ i < 20 • (i.e., the modeling approach is limited to underwater snake locomotion where the link angles are limited) by choosing proper values for the fluid parameters of the control-oriented model. The similar behavior of the two models presented in [44] confirms that the control-oriented model can capture the significant effects that determine the overall motion of the underwater snake robot. Hence, the proposed control-oriented modeling approach can be used to develop a general analysis and control design, in order to get results that will also be applicable for the complex model.

Joint controller
The fundamental properties that are investigated in this paper hold for underwater snake robots that follow a sinusoidal motion pattern. In this section we present a general sinusoidal motion pattern for underwater snake robots proposed in [45] and a control law for making the joint angles track the resulting joint reference angles.

Motion pattern
The mathematical expression for the gait of the snake robot in locomotion studies depends on its construction and model. Previous studies on swimming snake robots have focused on two motion patterns; lateral undulation and eel-like motion. [45] proposes a general sinusoidal motion pattern, as a broader class of the aforementioned ones. Lateral undulation constitutes the fastest and most common type of ground snake locomotion [6,50]. It is achieved by means of body waves, with a constant amplitude, propagated from head to tail, while the snake robot is commanded to follow the serpenoid curve [8]. Note that we include this motion pattern since it is commonly used for ground snake robots, and we therefore, want to show how this (forward) motion is obtained by an underwater snake robot. On the other hand, eel-like motion can be achieved by propagating lateral axial undulations with increasing amplitude from head to tail [51]. To achieve the general sinusoidal motion pattern, each joint i ∈ {1, . . . , n − 1} of the underwater snake robot is commanded to track the reference signal where α and ω are the maximum amplitude and the frequency, respectively, δ determines the phase shift between the joints, while the function g(i, n) is a scaling function for the amplitude of joint i. This function allows (22) to describe a quite general class of sinusoidal functions, including several different snake motion patterns. For instance, g(i, n) = 1 gives lateral undulation, while g(i, n) = (n − i)/(n + 1) gives eel-like motion [2]. Finally, the parameter φ 0 is a joint offset coordinate that is met in land-based snake robots [6] and fish robots [52] as well, affecting the direction of locomotion in both cases.

PD joint controller
In order to make the joint angle φ i follow its reference signal φ * i , a PD controller is used for both the complex and the control-oriented models: where k p > 0 and k d > 0 are the gains of the controller.
Note that for the experimental and the simulation results presented in the following sections the values of the gait parameters α, ω, δ in (22) and the controller gains, k p , k d in (23) are chosen based on our experience with undulatory motion of underwater snake robots. In future work, optimization techniques may be used for choosing the optimal gait parameters and preferably the controller gains should be based on model-based analysis.

Experimental setup
This section describes the experimental setup employed for the investigation of the relationship between the gait patterns, the forward velocity and the power consumption. Furthermore, the underwater snake robot that was used in our experiments is briefly presented. A more detailed description of the robot can be found in [24].

Underwater snake robot-Mamba
Mamba (Fig. 3) is a snake robot that is developed for research on both ground and underwater snake robot locomotion. This flexibility results from its mechanical robustness and reconfigurable nature. The robot is watertight and has a modular design with a common mechanical and electrical interface between the modules. Each joint module is actuated by a Hitec servo motor (HSR 5990TG) and also contains a force/torque sensor on the joint shaft, two temperature sensors, a 3-axis accelerometer, and a water leakage detector. Furthermore, each joint is controlled by means of a microcontroller card (TITechSH2 Tiny Controller from HiBot), and all microcontrollers in the robot communicate over a CAN bus. Power supply cables (35 V) run through all the modules along with the CAN bus.
Although the modules of the robot are watertight down to about 5 m, we covered the robot by a watertight skin during the experiments in order to achieve an additional water barrier (Fig. 3). The skin was custom designed from Groundsheet, Nylon, PU-coated, 120 g/m 2 material, and (23) is sealed at the head and the tail parts using rubber bottle wrist seals, which are glued to the skin. This type of cover makes the robot's outer surface more smooth, thus reducing the drag effects.

Experimental setup
The The snake robot used in the experiments (see Fig. 3) consisted of 18 identical joint modules mounted horizontally and vertically in an alternating fashion [24]. In order for the robot to move according to a strictly horizontal motion pattern, the angles for the joints with vertical rotating axis were set to zero degrees. In this case, the kinematics of the snake robot corresponds to a planar snake robot with links of length 2l = 0.18 m and mass m ≈ 0.8 kg. The experiments demonstrated that the robot had a slightly positive buoyancy and was swimming near the water surface.
Tracking of the position and orientation of the robot by the motion capture system was achieved by mounting reflective markers on the tail part of the robot, as shown in Fig. 3. Although the robot was swimming near the water surface of the tank, the markers were submerged approximately 0.15 m under the water surface due to constraints in the work area covered by the camera system The global frame position and orientation of the tail link were measured in real time by the camera-based motion capture system. Having the measurements of the tail position and orientation, and the individual joint angles, the center of mass position, p CM , and the absolute link angles, θ, of the robot were calculated from the kinematic equations presented in "A complex model of underwater snake robots".

Relationships between gait parameters, the forward velocity and the power consumption
The fundamental properties of underwater snake robots that will be investigated numerically and experimentally in this paper were developed in [45] and [46]. In particular, the relationship between the gait parameters in the general sinusoidal motion pattern given by (22) and the forward velocity was found in [45], and the relationship between the gait parameters and the average power consumption was found in [46]. In "Simulation study: relationships between gait parameters and forward velocity" and "Experimental study: relationships between gait parameters and forward velocity", simulation and experimental results will be presented to investigate the validity of these properties for the underwater snake robot locomotion. In this section we present the fundamental properties, while details about their derivation can be found in [45,46].

Fundamental properties derived based on averaging theory
The joint motion of swimming biological snakes is periodic, and snake robots adapt the same motion pattern (see [2]). The control-oriented model presented in "Control-oriented model of underwater snake robots" is specifically designed to capture this motion through capturing the corresponding translational motion during oscillations. Based on this control-oriented model, in [45], averaging theory was applied to derive the average velocity dynamics of the underwater snake robot in the general case when it moves according to the sinusoidal motion patterns described by (22). The results in [45] are based on the hypothesis that oscillatory behavior causes some averaged effect that forces the robot to move forward. The averaging theory is extensively used for analysis of locomotion of biomimetic systems with oscillatory inputs, and it is applied in several works to study the locomotion of snake or fish robots [6,27,34,[55][56][57].
In [45], the averaged model of the velocity dynamics was found, and based on this the stability properties for general sinusoidal motion gait patterns were investigated. In particular, it was shown that the average velocity of an underwater snake robot following a sinusoidal motion pattern converges exponentially to a steady state velocity. An analytical expression for calculating this steady state velocity was presented as a function of the gait pattern parameters. In particular, it was shown that the resulting steady state velocity of the underwater snake robot in addition to depending on the parameters of the robot (i.e. m, l, N, µ n , c n , c t , ˜ 1 , ˜ 2 , ˜ 3 ), also depend on the sinusoidal gait pattern parameters α, ω, δ and φ 0 .
The results presented in [45] are summarized in the following proposition.

Proposition 1
Consider an underwater snake robot with N links described by (19), influenced both by added mass and linear drag effects, that follows any sinusoidal gait pattern described by (22). The average forward velocity of the underwater snake robot will converge exponentially to a steady state velocity which: 1. Is a function of the amplitude of the sinusoidal motion pattern, α. 2. Depends on a linear and a nonlinear function of the gait frequency, ω. 3. Depends on the phase shift between the joints, δ.

Remark 3
Note that similar studies are presented for the special case of lateral undulation motion pattern for land-based snake robots [6] and for eel-like robots [34]. In particular, earlier studies for land-based snake robots [6] show that the average forward velocity of the robot is: (1) proportional to the square of the amplitude of the sinusoidal motion pattern, (2) proportional to the gait frequency and (3) depends also on the weighted sum of the constant phase shift between the joints. Moreover, similar study for a 5 link eel-like robot, where the added mass effects and fluid torques are neglected [34], predict that the acceleration should vary: (1) quadratically with gait amplitude, (2) linearly with gait frequency, and (3) accordingly to a weighted sum of sinusoids of the phase shift. However, Proposition 1 states that the average forward velocity of an underwater snake robot, influenced both by added mass and linear drag effects, and following a more general sinusoidal gait pattern, has a more complex relationships to the gait pattern parameters α, ω and δ. Therefore, the analytical study presented in [45], extend the previous studies presented for land-based snake robot and eel-like robot. In particular, the properties for a land-based snake robot presented in [6] fall out as a special case for the lateral undulation motion pattern, where the fluid parameters due to the added mass are set to zero and when an anisotropic ground friction model is considered instead of a drag friction model. Moreover, the results presented in [34] can be considered as a special case compared to the results presented in Proposition 1 by neglecting the added mass effects and considering a swimming robot with 5 links.

Remark 4
The derived relationship between the gait pattern parameters and the steady state velocity presented in Proposition 1 provides a useful tool for motion planning and parameter tuning of sinusoidal gait patterns for underwater snake robots. This information is useful since an increase/decrease of the forward velocity can be achieved by increasing/decreasing the gait parameters. The results presented in Proposition 1 are general and constitute a powerful tool for achieving faster forward motion by selecting the most appropriate motion pattern and the best combination of the gait parameters.

Empirical rules derived based on simulation studies
Based on the closed form model which is briefly presented in "A complex model of underwater snake robots", empirical rules are derived in [46] through an extensive simulation study for the relationships between the parameters of the gait patterns, the consumed energy and the forward velocity for different motion patterns for underwater snake robots. In particular [46], presents preliminary results by investigating the power consumption of different motion patterns for underwater snake robots. Based on the simulation results, empirical rules for choosing the values for the parameters of the motion gait pattern of underwater snake robots were proposed. The purpose of this study was to investigate the issues that influence the performance of underwater snake robots, both when it comes to the achieved forward velocity (moving performance) and the energy efficiency (transportation performance). In particular, the energy index [58] was used to compare the energy efficiency of underwater snake robots for different motion patterns. A similar approach is used to indicate the relationship between the mechanical index and the energy index of different transformation modes for ships in [58]. Comparison results were obtained for the average power consumption and the cost of transportation of underwater snake robots for different motion patterns. Propositions 2 and 3 summarize the empirical rules proposed in [46], and which will be investigated through simulation and experimental studies in "Simulation study: relationships between gait parameters and forward velocity" and "Experimental study: relationships between gait parameters and forward velocity". These rules can be used to choose the parameters of the gait patterns for underwater snake robots to achieve energy efficient motion while reaching the fastest possible forward velocity.

Proposition 2
Given an underwater snake robot with n links described by (11,12) which is controlled by (23) with the joint reference angles given by (22). The following rules hold for the forward velocity:

The forward velocity increases by increasing the
parameter ω, when α is kept constant.

The forward velocity increases by increasing the
parameter α, when ω is kept constant.

The forward velocity increases by increasing the
parameter ω and by increasing the amplitude α, when δ is kept constant. 4. There exists a value of the phase shift, δ max , that gives the maximum forward velocity. The forward velocity increases with increasing δ for δ < δ max , and decreases with δ when δ > δ max , and the maximum forward velocity is achieved when δ = δ max , when α and ω are kept constant.

Proposition 3
Given an underwater snake robot with n links described by (11,12) which is controlled by (23) with the joint reference angles given by (22). The following rules hold for the average power consumption: 1. The average power consumption decreases by increasing the parameter δ when α and ω are kept constant, and it increases by increasing the parameter ω when α and δ are kept constant.

The average power consumption decreases by increas-
ing the parameter δ when α and ω are kept constant and increases by increasing the parameter α when ω and δ are kept constant.

The average power consumption increases by increas-
ing the parameter ω and by increasing the amplitude α, when δ is kept constant.
In previous sections, we gave an integrated description of the modeling and the theoretical findings in the preliminary conference papers [2,[43][44][45][46][47] into a unified presentation in order to create the foundation which will now be used as basis for an experimental validation study in the following sections. In particular, simulation and experimental results will be presented in following sections to investigate the validity of the fundamental properties for underwater snake robot locomotion presented in Propositions 1-3.

Simulation study: relationships between gait parameters and forward velocity
In this section, the validity of Propositions 1 and 2 will be investigated through a simulation study. In particular, we will present simulation results in order to validate the properties derived for the relationship between the gait pattern parameters and the forward velocity both for lateral undulation and eel-like motion patterns. Simulation results will be presented both for the control-oriented model and the complex model.
The simulation study will thus investigate the validity of the theoretical results in Propositions 1 and 2, and in addition the study will further investigate the validity of the control-oriented model as an adequate representation of the dynamics of the complex model, by investigating whether the results developed based on the control-oriented model also hold for the original complex model. In this study, current effects have not been considered, since current effects are not taken into account in the control-oriented model. The models were implemented in Matlab R2013b. The dynamics was calculated using the ode23tb solver with a relative and absolute error tolerance of 10 −4 .

Simulation parameters
We consider snake robots with, respectively, N = 5, N = 10, N = 20 links, each one having length l = 0.14 m. The five links constitute a rather short snake robot, while ten to twenty links constitute a more normal length of snake robots. The mass of each link is m = 0.6597 kg and is chosen so to fulfil the neutrally buoyant assumption. The initial values of the states of the snake robot were set to the initial reference values at t = 0, since it is not the transient behavior of the controller (20) that is to be verified, but rather the relationship between the gait pattern parameters and the forward velocity when the joints follow the sinusoidal reference signal (22). The initial heading of the robot is along the inertial x axis. Furthermore, we choose the fluid force and torque coefficients as c t = 0.2639, c n = 4.2, µ n = 0.3957, 1 = 2.2988 × 10 −7 , 2 = 4.3103 × 10 −4 , for the complex model and c t = 0.45, c n = 5, µ n = 0.4, ˜ 1 = 0.5, ˜ 2 = 20 , ˜ 3 = 0.01 for the control-oriented model. An extensive discussion about the values of the fluid parameters can be found in [45]. The joint PD controller (23) is used for each joint with parameters k p = 20, k d = 5, and lateral undulation and eel-like motion are achieved by choosing g(i, n) = 1 and g(i, n) = (n − i)/(n + 1), respectively. The gait pattern parameters are presented in each simulation result. In particular, in the simulation results the forward velocity of the underwater snake robot, denoted as ῡ , is presented for different values of the gait parameters. The forward velocity can be calculated based on the initial and final position. In particular, for each simulation trial with simulation time set to 30 s the average forward velocity is given by Remark 5 Even though the joint coordinates of the control-oriented model (linear translations) and the complex model (joint angles) are described using different physical quantities, it still makes sense to investigate the validity of Proposition 1 for the complex model (see [6]).

Remark 6
Note that the values of the gait parameter α for the complex model does not correspond directly to α for the control-oriented model, since a general mapping for the amplitudes of the corresponding models remains a topic for future work, and thus a quantitative comparison between the results from the complex and the control-oriented model is not relevant. Hence, the simulation results below present only a qualitative comparison between the complex and the control-oriented models.

Relationship between α and the forward velocity
As stated in Proposition 1, the average forward velocity is a function of the amplitude of the sinusoidal motion pattern, α. In order to investigate the influence of this parameter to the achieved forward velocity of the underwater snake robot, simulation results are presented for different values of the parameter α for both lateral undulation and eel-like motion patterns. The average forward velocity is calculated according to (24). Simulation results for the control-oriented model taking into account the added mass and linear drag effects are presented in . This is because we need to decrease the amplitude of the angles when we increase the number of links to avoid collision between the links. From Figs. 4 and 5, we see that the average forward velocity is increased by increasing the parameter α for constant values of ω and δ both for lateral undulation and eel-like motion. Note that for small values of the parameter α ≤ 20 • , for which the control-oriented model is valid (see Remark 2), the forward velocity has an increase when increasing the parameter α. Furthermore, we can see that even if the properties in Proposition 1 are derived based on the control-oriented model of underwater snake robots, the results for the complex model show a similar influence of the parameter α on the forward velocity. In particular, we see that for constant values of ω and δ an increase of the parameter α results in an increase of the forward velocity for both the complex and the control-oriented models. These results are in accordance with the properties presented in Propositions 1 and 2. velocity depends on a linear and a nonlinear function of the parameter omega. In addition, from Figs. 6a and 7a, we see that the increase of the forward velocity is almost linear for both lateral undulation and eel-like motion patterns. Hence, the influence of the nonlinear function of the parameter ω on the forward velocity is almost negligible compared to the linear relationship between these given in Proposition 1 for the control-oriented model. However, in Figs. 6b and 7b, we clearly see the influence of the effects of a nonlinear function of ω. Except for the high frequency case there is a good qualitative agreement between the simulation results of the complex and the control-oriented model. This is probably because the nonlinear drag effects that are considered in the complex model are not taken into account in the control-oriented model, and the nonlinear drag seems to have a dominating effect at high frequencies. The simulation results show that the properties derived based on the control-oriented model hold also for the complex model presented in "A complex model of underwater snake robots", something which supports the assumption that the control-oriented model is a valid approximation of the complex model for analysis and control design. These results are in accordance with Proposition 1, which states that the average forward velocity is function of a linear and nonlinear terms of the parameter ω.

Relationship between δ and the forward velocity
Regarding the influence of the parameter δ, Proposition 1 states that the forward velocity depends on the phase shift between the joints, δ. To investigate the influence of the phase shift on the achieved forward velocity, simulation results are presented for different values of δ while keeping the gait parameters α and ω constant. Simulation results for the control-oriented model and the complex model are presented in Figs. 8a, b and 9a, b, respectively, for lateral undulation and eel-like motion patterns. The number of links N and the values of the gait parameters α and ω are shown in each simulation result for the different motion patterns. From Figs. 8, 9, we see that there is a value of the gait parameter δ which gives the maximum forward velocity when the gait parameters α and ω are kept constant. This is in accordance with Proposition 2. In addition, we see that the a b forward velocity depends of the values of the parameter δ, which is in accordance with the properties presented in Proposition 1. In particular, we see that we have an increase of the forward velocity until a certain value of the parameter δ, while after this value an additional increase of this parameter for constant values of α and ω results in a decrease in the forward velocity. Note that the results presented in Figs. 8 and 9 for the complex and the control-oriented models are only qualitatively comparable as pointed out in Remark 5. However, the qualitative comparison supports that the control-oriented model is an adequate representation of the complex model, i.e. that the properties stated in Propositions 1 and 2 hold for both the control-oriented and the complex model. Note that the analytical equation for the forward velocity that was derived in [45] based on the control-oriented model is a complex function of many parameters which involve the snake robot characteristics (i. e. N, m, l), the fluid parameters (i.e. c t , c n , µ n , ˜ 1 , ˜ 2 , ˜ 3 ) and the gait pattern parameters (i.e. α, ω, δ, φ 0 ). Due to this complexity it was not possible to obtain an analytical study that could provide more precise information regarding the relationship between the forward velocity and the parameters α and ω than the ones presented in Proposition 1. In particular, the preliminary results investigated in [45], and which were summarized in Proposition 1, stated that the forward velocity is a function of the parameter α and depends on a linear and a nonlinear term of the gait parameter ω, but properties of these functions were not possible to derive analytically. However, based on the extensive simulation studies presented in this paper for underwater snake robot with different characteristics and for a wide range of the fluid parameters it is possibly to see the characteristics of these functions and thus to describe more precisely how the different parameters affect the achieved forward velocity. In particular, we employed simulation results for robots with different number of links, mass, and length of links, for different values of fluid parameters, varying the gait parameters and based on these simulation results we are able to show the actual dependence of the forward velocity on α and ω . Figures 4a, 5a show that the forward velocity increases when the gait parameter α increases. Since the function in Proposition 1 (1) also is continuous in α, the function is a class K function. From Figs. 6a, 7a we can see that the a b The following proposition summarizes the above discussion:

Proposition 4
Consider an underwater snake robot with N links described by (19), influenced both by added mass and linear drag effects, that follows any sinusoidal gait pattern described by (22). The average forward velocity of the underwater snake robot will converge exponentially to a steady state velocity which: 1. Is a class K function of alpha, i.e., increases when the amplitude of the gait pattern α increases, for small amplitudes. 2. Increases almost linearly with respect to the frequency of the gait pattern ω (i.e., the nonlinear term of ω has a negligible effect on the achieved forward velocity). 3. Depends on the phase shift between the joints δ.

Remark 7
The properties in Proposition 4 presented in this paper extend the ones stated in Proposition 1. In particular, a more accurate and precise relationship between the gait parameters and the achieved forward velocity is obtained and introduced in Proposition 4.

Experimental study: relationships between gait parameters and forward velocity
In this section, experimental results will be presented to investigate the validity of the properties presented in Propositions 1, 4 and 2. In particular, we will experimentally validate the properties regarding the gait parameters derived in [45] and the empirical rules proposed in [46] using the underwater snake robot Mamba (Fig. 3). The underwater snake robot Mamba and the experimental setup were presented in "Experimental setup".

Simulation results
In order to compare the experimental results with ideal simulation results, we simulate the model of the underwater snake robot presented in "A complex model of underwater snake robots" with the fluid coefficients set to C f = 0.03, C D = 1, C A = 1, C M = 1 to compare the experimental results and the ideal simulation results. We consider an underwater snake robot with n = 9 links, each one having length 2l = 0.18 m and mass m = 0.8 kg, i.e. identical to the physical robot presented in "Experimental setup". The hydrodynamic related parameters c t , c n , µ n 1 , 2 and 3 for the elliptic section with major and minor diameters 2a = 2 · 0.055 m and 2b = 2 · 0.05 m, respectively, and ρ = 1000 kg/m 3 were calculated by using equations derived in [2]. In these simulations, a joint PD-controller (23) was used with parameters k p = 20, k d = 5, while lateral undulation or eel-like motion were achieved by moving the joints according to (22) by choosing g(i, n) = 1 and g(i, n) = (n − i)/(n + 1) , respectively, with gait parameter values similar to the ones of the experimental trials.
Remark 8 Please note that accurate experimentally identified fluid parameters are not available for the physical robot presented in "Experimental setup", and therefore the hydrodynamic parameters in the simulations differ from those of the experiments. To this end, we can only achieve a qualitative comparison and not a quantitative comparison between the simulation and experimental results.

Experimental results
The essential properties presented in "Relationships between gait parameters, the forward velocity and the power consumption" were experimentally investigated using the underwater snake robot Mamba (see Fig. 3). As mentioned in "Underwater snake robot-Mamba" the robot consist of 18 identical joint modules mounted horizontally and vertically in an alternating fashion. The center of mass position, p CM , and the absolute link angles, θ, of the underwater snake robot were obtained as described in "Experimental setup". We applied sinusoidal motion patterns with different gait pattern parameters. In particular, in each trial, the reference joint angles, computed by (22) for n = 9 choosing g(i, n) = 1 and g(i, n) = (n − i)/(n + 1) for lateral undulation or eel-like motion, respectively, were sent to the robot via the CAN.
In each trial we measured the position of the center of mass and the steady state values of the achieved velocity for approximately 30 sec of motion. A proportional controller, implemented in the microcontroller of each joint module controls the corresponding joint angle.
The initial values of the link angles were zero in each trial. The total experimental process that is adopted is illustrated in Fig. 10. In addition, a visualization from a video recording of the robot in Fig. 11 shows how lateral undulation and eel-like motion were carried out by Mamba. An additional movie file shows this in more detail (see Additional file 1: Video S1).
The center of mass position of the robot is calculated as described in "Experimental setup", while the average forward velocity for each trial was calculated as where the positions p start and p stop define the travelled distance of the center of mass between the beginning and near the end of the travelled distance, as shown in Fig. 12.
In order to investigate the first property stated in Propositions 1, 2 and 4, that the average forward velocity is a function of the amplitude of the sinusoidal motion pattern, α, we ran experiments with the underwater snake robot Mamba for different values of the gait parameter α and calculated the average forward velocity according to (25) for both lateral undulation and eel-like motion patterns. The values of the gait parameters ω and δ are shown in each experimental result for the different motion patterns. From Figs. 13a, b and 14a, b, we can see that the average forward velocity is increased by increasing the parameter α for constant values of ω and δ for both lateral undulation and eel-like motion, until a certain value of the parameter α. This is in accordance with the properties derived in Proposition 4. After this value, the obtained results both for the simulated robot and the physical one show that an additional increase of the amplitude α causes a decrease of the forward velocity. This is also in accordance with the properties in Propositions 1 and 2. We also note that although the experimental results are qualitatively similar to the simulation results, the numerical values do not agree. As discussed in Remark 8 we do not have the actual fluid parameters, and therefore we can only achieve a qualitative comparison and not a quantitative comparison of the results. However, the qualitative comparison results are sufficient in order to support the properties presented in Propositions 1, 4 and 2.
Furthermore, Proposition 1 states that the average forward velocity depends on a linear and a nonlinear term of the gait frequency, ω and Proposition 4 states that the forward velocity is almost linearly increasing with ω. To validate the influence of this parameter, experimental trials were performed for different values of the gait parameter ω. The values of the gait parameters α and δ are shown in each simulation result for the different motion patterns. From Figs. 13c, d and 14c, d, we can clearly see that the increase of the forward velocity is almost linear for lateral undulation and eel-like motion patterns until the value of  This agrees with the results presented in Figs. 6b, 7b for the complex model, where we also saw that the nonlinear term of ω has an influence on the forward velocity for high velocities. A probable reason for why there is a discrepancy between the simulation and experimental results may be that the fluid parameters of the simulated model are set to the theoretical values and have not been identified experimentally for the specific physical underwater snake robot. However, it is interesting that this difference in the results appear at high frequencies, which means that in the future a further investigation of the hydrodynamic effects should be made. With regard to the influence of the parameter δ, Propositions (1,4) state that the forward velocity depends on the phase shift between the joints, δ. To investigate the influence of the phase shift to the achieved forward velocity, experimental results are presented for different values of δ by keeping the gait parameters α and ω constant. The values of the gait parameters α and ω are shown in each result for the different motion patterns. From Figs. 13e, f and 14e, f, it is clear that there exists a value of the gait parameter δ which gives the maximum forward velocity, when the gait parameters α and ω are kept constant, which is in accordance with the simulation results presented in previous section. This is also in accordance with the properties in Propositions (1, 4) and 2. However, we see that the values of the parameter δ which results in achieving the maximum forward velocity differs for the simulated and the physical robot. This is mostly, because the fluid parameters are not experimentally validated for the specific robot, and thus we can obtain only a qualitative comparison of the results.

Remark 9
From the experimental validation of the properties proposed in Propositions (1, 4) by using the physical robot Mamba, we can conclude that the controloriented model presented in "Control-oriented model of underwater snake robots" captures the essential properties of the underwater snake robot locomotion. Hence, this model constitutes a useful tool for control design and analysis for underwater snake robots.

Power consumption of underwater snake robots
In this section, we will present simulation and experimental results regarding the energy consumption for underwater snake robots. In particular, we will present simulation and experimental results for the average power consumption of such robots. The experimental results were obtained by running experiments with the underwater snake robot Mamba, while the simulation results were obtained by using the complex model of the robot described in "A complex model of underwater snake robots".

Energetics of underwater snake robots
The propulsion of swimming snake robots is generated by the motion of the joints and its interaction with the surrounding fluid [2,4]. The actuator torque input to the joints is, thus, transformed into a combination of joint motion and energy that is dissipated by the fluid [4]. For the simulation results, we assume that we have perfect joints and thus that the total amount of energy of the system (E s ) generated by this input is the sum of kinetic energy (E kinetic ) and the energy that is dissipated to the surrounding fluid (E fluid ) [4,58]. The sum of these two is thus the total energy that is spent for the propulsion of the robot.
where E s is given by and where T is the time that corresponds to a complete swimming cycle, u i is the actuation torque of joint i given by (23) and φ i is the joint's angular velocity defined as For a complete swimming cycle, T, the average power consumption, P avg , is calculated as follows  In this paper, the averaged power consumption is calculated considering the absolute value of the theoretical joint power. Note that another approach would be to use the net joint power instead of the absolute joint power in order to allow for recovery of negative work similar to the results presented in [4]. Generally, animals and humans are often able to reduce the cost of motion by gaining from the negative work effect through the elasticity of their muscles and tendons [4]. However, the underwater snake robot Mamba used in this paper is not able to recover energy and get benefit of the negative work effect since servos are used for the actuation of a b c d e f the joint. Taking into account the actuation mechanisms that must draw power to produce the resistive torques, which has a direct impact on the system's power consumption, we choose to consider the absolute value of the theoretical joint power instead of the net joint power approach presented in [4]. significant amount of current (e.g., due to high resistance in the internal gear train) even when there is no load on the motor shaft. For this reason, the measured current does not provide an accurate quantitative estimate of the mechanical work carried out by the joints on the environment of the robot. In particular, the current drawn by the physical robot constitute a significantly higher power consumption than the power consumption corresponding to the mechanical work carried out by the joints. The measured current does, on the other hand, provide a qualitative estimate of the mechanical work since the current drawn by the servo motors will increase when the loads on the joints increase. For this reason, the power consumption of the physical robot (based on current measurements) will be significantly higher than the power consumption of the simulated snake robot, which is calculated based on the simulated joint torques, thereby providing accurate calculations of the simulated mechanical work. For the results presented in Figs. 15 and 16, we are therefore able to obtain only a qualitative (and not quantitative) comparison of the power consumption of the simulated and the physical robot.

Simulation and experimental results
The simulations results shown in Figs. 15 and 16 are obtained for the underwater snake robot parameters as presented in "Simulation results". These parameters are identical to the characteristics of the physical robot Mamba that is used for the experiments, except for the fluid parameters which are not known and for which a theoretical value is computed. In particular, in Fig. 15 simulation results are presented for the average power consumption of the robot for the lateral undulation motion pattern and in Fig. 16 simulation results are shown for the eel-like motion pattern. Note that for the simulation results presented in Figs. 15 and 16, the average power consumption is calculated as in (28), while for the experimental results the average power consumption is calculated by using the following equation where V = 35 V and I avg A is the average current that is measured by using the high performance industrial logging multimeter FLUKE 289 [59]. The multimeter was connected to the power box on the tip of the power supply cable that is used for our experiments with Mamba. We measured and saved the current values for a wide range of the values of the gait parameters for both lateral undulation and eel-like motion patterns. Note that this multimeter has the ability to measure the values for a certain time, store all the measured data and, in addition, provide data regarding of the average, the maximum (29) P avg = VI avg and the minimum values of the current. The average, the maximum and the minimum obtained power consumptions are presented in Figs. 15 and 16. As we can see from Figs. 15a, b and 16a, b, by increasing the parameter α the average power consumption is increased for both the simulated robot and the physical robot for lateral undulation and eel-like motion pattern, respectively. In addition, it is easily seen that for constant values of the parameters α and δ by increasing ω the power consumption is increased for both lateral undulation and eel-like motion patterns ( Figs. 15c, d, 16c, d). In addition, in Figs. 15e, f and 16e, f, we see that by keeping the values for α and ω constant and increase of the value of δ results in a decrease of the average power consumption for both investigated motion patterns. The simulation and the experimental results presented in this section are thus in accordance with the properties in Proposition 3.

Remark 11
Note that the experimental results presented in this paper are obtained based on one set of measurements for each set of gait parameters. Even though more trials for the same set of parameters would provide even more insights regarding the properties, we see that the experimental results presented in this paper support the theoretical findings and in particular the properties derived in Propositions 1-4.

Conclusions and future work
This paper presented and experimentally investigated a set of essential properties of the forward velocity and the power consumption of an underwater snake robot using both lateral undulation and eel-like motion patterns. The derived properties state that the average forward velocity of an underwater snake robot (1) is a class K function of α, i.e., increases when the amplitude of the gait pattern α increases, for small amplitudes, (2) increases almost linearly with respect to the frequency of the gait pattern ω (i.e., the nonlinear term of ω has a negligible effect on the achieved forward velocity), and (3) depends on the phase shift between the joints δ. Simulation results showed that the derived properties, which are based on a control-oriented model of the underwater snake robot hold also for the complex model where complex hydrodynamic effects are considered. Simulation and experimental results investigating the relationship between the parameters of the gait patterns and the forward velocity for different motion patterns for underwater snake robots were presented. Based on these results, the properties regarding the gait parameters of the sinusoidal motion pattern were verified and the control-oriented model presented in this paper was validated as a suitable model for underwater snake robot locomotion. In addition, in this paper we investigated another important problem for underwater snake robot which concerns the ability to achieve efficient motion with preferably a minimum amount of consumed energy. The properties regarding the energy efficiency of underwater snake robots were investigated via simulation studies and were validated via experimental results by using the underwater snake robot, Mamba. The experimental results supported the theoretical findings regarding the relationship between the gait parameters, the velocity and the power consumption for both lateral undulation and eel-like motion patterns. In future work, the authors will employ the derived properties in order to develop and analyse motion planning strategies for underwater snake robots and the efficiency of other sinusoidal motion patterns will be investigated. In addition, it is of interest to obtain quantitative comparison results after precise experimental identification of the fluid parameters of Mamba. Force/torque sensors installed inside the modules of the robot will be used for precise online fluid coefficient identification.