Hostname: page-component-586b7cd67f-2brh9 Total loading time: 0 Render date: 2024-11-21T18:56:38.280Z Has data issue: true hasContentIssue false

3D dynamics and control of a snake robot in uncertain underwater environment

Published online by Cambridge University Press:  19 September 2024

Bhavik M. Patel*
Affiliation:
Department of Mechanical Engineering, Indian Institute of Technology Guwahati, Guwahati, Assam, India
Santosha K. Dwivedy
Affiliation:
Department of Mechanical Engineering, Indian Institute of Technology Guwahati, Guwahati, Assam, India Centre for Intelligent Cyber Physical Systems, Indian Institute of Technology Guwahati, Guwahati, Assam, India
*
Corresponding author: Bhavik M. Patel; Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

The snake robot can be used to monitor and maintain underwater structures and environments. The motion of a snake robot is achieved by lateral undulation which is called the gait pattern of the snake robot. The parameters of a gait pattern need to be adjusted for compensating environmental uncertainties. In this work, 3D motion dynamics of a snake robot for the underwater environment is proposed with vertical motion using the buoyancy variation technique and horizontal motion using lateral undulation. “The neutral buoyant snake robot motion in hypothetical plane and added mass effect is negligible”, these previous assumptions are removed in this work. Two different control algorithms are designed for horizontal and vertical motions. The existing super twisting sliding mode control (STSMC) is used for the horizontal serpentine motion of the snake robot. The control law is designed on a reduced-ordered dynamic system based on virtual holonomic constraints. The vertical motion is achieved by controlling the mass variation using a pump. The water pumps are controlled using the event-based controller or Proportional Derivative (PD) controller. The results of the proposed control technique are verified with various external environmental disturbances and uncertainties to check the robustness of the control approach for various path following cases. Moreover, the results of STSMC scheme are compared with SMC scheme to check the effectiveness of STSMC. The practical implementation of the work is also performed using Simscape Multibody environment where the designed control algorithm is deployed on the virtual snake robot.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press

1. Introduction

Biological motion can be generated through a control approach in bio-inspired robotic systems. The snake robot is an application of bio-mimetic robots. The snake robot is designed by serially connecting links. Therefore, it has a high degree of freedom (DOF). Motion control using these types of high DOF system becomes challenging in an unknown and uncertain environment.

Snake robots have the capability to navigate in both terrestrial and underwater environments [Reference Matsuno1]. The motion of a snake robot on the ground is considered a planar motion, but in the case of an underwater environment, the robot can move in a vertical direction along with the planar motion. Therefore, the motion of the snake robot can be considered a 3D motion in underwater conditions. The planar motion of the underwater snake robot has been considered in most of the literature [Reference Onal and Rus2Reference Pettersen4]. The vertical motion along with horizontal motion of a snake robot can be generated by setting each actuator orthogonal [Reference Transeth, Leine, Glocker and Pettersen5Reference Cao, Zhang and Zhou7]. Li et al. [Reference Li, Zhang, Tong, Li, Law, Xu, Zhu and Wu8] designed two controllers for the land-based snake robot desired pitch and yaw motions. However, it makes difficult to synchronise vertical and horizontal motions due to instability in pitch motion in the underwater environment. Another way of getting vertical motion in an underwater environment is the buoyancy variation technique that is generally found in biological creatures. In the case of the robotic systems, Woods et al. [Reference Woods, Bauer and Seto9] used a ballast tank (containing water) to change depth using mass variation and simulated vertical motion. Tiwari and Sharma [Reference Tiwari and Sharma10] experimentally studied the depth variation of the spherical object by taking the water from outside. This can be helpful for the snake robot in underwater vertical motion using the buoyancy variation technique. Snake robot also has horizontal motion which is serpentine motion. Hence, with the serpentine horizontal motion and buoyancy variation-based vertical motion, the snake robot can achieve the 3D motion. The 3D motion can be controlled in two parts, that is, horizontal motion control and vertical motion control.

The event-based control technique is helpful for vertical motion control because it is easy to control the pumps. The event controlled techniques have been used in the field of robotics for various applications [Reference Lunze and Lehmann11Reference Nath and Bera13]. Lunze and Lehmann [Reference Lunze and Lehmann11] used an event-based state feedback approach to generate the control signal. Abbas et al. [Reference Abbas, Narayan and Dwivedy12] used event-triggered adaptive control for upper limb rehabilitation. The control input is generated if an event condition is triggered in the event-based control method. Nath and Bera [Reference Nath and Bera13] used event-based control with integral sliding mode control (SMC) to redesign control gains for the robotic manipulator. There is a need to observe the negative/neutral/positive buoyancy for the vertical motion of the snake robot. Therefore, the event-based control method can be helpful for vertical motion control. Proportional Derivative (PD) controller can also be used to control the water supply of the pump. Now, the snake robot has a horizontal motion. It is controlled with different control techniques by considering the planar motion. The underwater uncertainties such as added mass effect, drag forces and external disturbances need to be estimated and eliminated their effect during the motion. Generally, robust control approaches are used to deal with these uncertainties. Various approaches for implementing a robust controller on a snake robot are described as follows.

The serpentine motion of an underwater snake robot is similar to that of a land-based snake robot [Reference Gray14]. However, the underwater environment is different from the land-based environment. Therefore, to deal with various uncertainties, the controller needs to be designed as per the requirement. The different types of uncertain environments and motion control approaches for a snake robot are explained further. Liljeback et al. [Reference Liljeback, Haugstuen and Pettersen15] proposed cascade control approach for a path following of a snake robot. Bhandari et al. [Reference Bhandari, Raj, Pathak and Yang16] used Takagi–Sugeno-type fuzzy PD controller for motion control of the planar snake robot. Jiang et al. [Reference Jiang, Yang and Shi17] studied trajectory control of the snake robot equipped with the vector thruster in an underwater environment against time-varying disturbances. Li et al. [Reference Li, Pan, Deng and Hu18] did path following of snake robot in unknown friction environment using adaptive control scheme. Kohl et al. [Reference Kohl, Kelasidi, Pettersen and Gravdahl3] proposed an object-oriented control scheme for an underwater snake robot. Zhang et al. [Reference Zhang, Ma, Li, Wang, Guo and Wang19] designed a control scheme for unmatched underwater uncertainties of a snake robot. Rezapour et al. [Reference Rezapour, Pettersen, Liljebäck, Gravdahl and Kelasidi20] proposed a linear control model using virtual holonomic constraints (VHCs) for the land-based snake robot. The VHCs enforce time-independent (autonomous) relations for biological gait patterns on the configured robot. Mohammadi et al. [Reference Mohammadi, Rezapour, Maggiore and Pettersen21] described VHCs using the singular perturbation-based controller for an unknown friction environment. Kohl et al. [Reference Kohl, Kelasidi, Mohammadi, Maggiore and Pettersen22] estimated water currents and motion control using the VHC-based PD controller of the underwater snake robot. Similar VHC approaches have been applied to biped walking robots [Reference Wang, Zhang, Wang and Chen23, Reference Celikovsky and Anderle24] which consist of multi-link joint mechanisms. The SMC approach is one of the robust control approaches which can be used for the snake robot using the VHC approach. Mukherjee et al. [Reference Mukherjee, Mukherjee and Kar25] used SMC with VHCs for the snake robot motion in uncertain friction environments. They also used adaptive SMC [Reference Mukherjee, Kar and Mukherjee26] for improving. Fridman et al. [Reference Fridman, Moreno, Bandyopadhyay, Kamal and Chalanga27] explained the super twisting SMC (STSMC) that could work as a chattering attenuation. The robustness of the STSMC can also be found in the application of n-link rigid body manipulator [Reference Mobayen, Tchier and Ragoub28], upper limb wearable [Reference Fazli, Rakhtala, Mirrashid and Karimi29], lower limb exoskeleton [Reference Mokhtari, Taghizadeh and Mazare30], trajectory tracking of under-actuated unmanned surface vehicles with disturbances [Reference Liu, Ye and Yang31], motion control of the underwater snake robot [Reference Patel and Dwivedy32], underwater vehicle in the presence of disturbances [Reference Hosseini, Noei and Rostami33] and snake robot with tail thrust [Reference Patel and Dwivedy34]. The numerical experiment is also performed by using multibody dynamics platform such as CoppeliaSim (V-REP), Gazebo, Simscape Multibody and Webots in the literature. In the recent literature, the use of these virtual platforms is found that is discussed further. Zhang et al. [Reference Zhang, Ju and Cao35] performed the motion control of a snake using reinforcement learning method in the CoppeliaSim environment. Le and Vo [Reference Le and Vo36] analysed RUU Delta robot using the Simscape environment. Modak and Krishna [Reference Modak and Rama Krishna37] simulated industrial manipulator in Simscape for kinematics and singularity analysis. Cosenza et al. [Reference Cosenza, Niola, Pagano and Savino38] analysed rocker-bogie suspension for robotic rover using the Simscape environment.

From the above-mentioned literature review, the following two technical gaps can be observed:

  • The motion dynamics equation and control method have not been investigated for the 3D motion of the snake robot using the buoyancy variation method.

  • The VHC-based control approach using a STSMC scheme has not been reported for the underwater snake robot dynamics with vertical motion of the snake robot which consists of the uncertainty in added mass effect along.

To overcome the above-mentioned technical gap, in the present work, it is proposed to study 3D dynamics of the snake robot in the uncertain underwater environment; the following works have been proposed:

  • The buoyancy variation technique is proposed for the snake robot by utilising water which generates vertical motion, and also the motion dynamics equation of the snake robot is proposed.

  • The event-based feedback controller is used for the pumps to control the vertical direction motion of the snake robot.

  • The STSMC scheme is used for the horizontal motion control of the snake robot with external disturbances and different path following cases. The results are quantified based on chattering indicator (CI) and tracking errors.

  • A combination of vertical motion and horizontal motion creates the 3D motion of the snake robot.

  • The results of STSMC are compared with SMC scheme in terms of chattering and error tracking.

  • The further validation using the Simscape Multibody environment is also performed to verify the proposed method.

The main contribution of this work compared to article [Reference Patel and Dwivedy32] is the 3D motion technique and its dynamics equations by removing existing assumptions (neutral buoyant and added mass effect is negligible) and the robustness testing of the existing control scheme (STSMC) for the proposed dynamics by introducing external environmental disturbances. Moreover, the control scheme integration of planar and vertical motion and verify it in the Simscape Multibody environment.

2. Mathematical model of the underwater snake robot

In this work, the previous assumptions “the added mass effect is negligible [Reference Kohl, Kelasidi, Mohammadi, Maggiore and Pettersen22] and the planar motion of neutrally buoyant snake robot in hypothetical horizontal plane” [Reference Pettersen4] are both removed, and 3D dynamics of the snake robot is proposed. The robot can change the horizontal plane (up and down) to get vertical motion; see Fig. 1. This vertical motion can be achieved by the buoyancy variation technique found in underwater creatures. The proposed technique uses environmental water to change the mass of each link. The event-based/PD controller is used for the pump operation to the inlet and outlet of the water. This is the first time this technique has been implemented for the snake robot as per the authors’ best knowledge. The 3D motion of a snake robot can be described as the forward motion of the snake robot in the X-Y plane and the vertical motion on the Z-axis as shown in Fig. 1. Therefore, motion in the Z-direction is considered independent from the X-Y plane motion. However, the effect due to variation in mass for the vertical motion would result in forward motion during the dynamic condition. Therefore, two different control algorithms are required.

Figure 1. Schematic diagram of 3D motion of a snake robot.

These can be explained using the dynamics of the snake robot. Hence, the kinematics and dynamics of the snake robot are explained in the following subsections.

2.1. Kinematics of the underwater snake robot

Figure 2 shows the motion of a snake robot with $n$ links and $(n-1)$ joints in the X-Y plane.

Figure 2. Motion of the snake robot in X-Y plane.

The planar kinematics is similar to the existing snake robot [Reference Pettersen4]. The snake robot motion in the X-Y plane can be considered as shown in Fig. 2. The angle $\theta _i$ is the orientation of link ‘ $i$ ’ with respect to global $X$ -axis, angle $\phi _i$ is the joint angle between two adjacent links and the centre of mass (CM) position of a link ‘ $i$ ’ describes as $(x_i,y_i)$ . So, it has $(n+2)$ DOF which can be described as $n$ -link angles $(\theta _i)$ and $(p_x,p_y)$ CM position of snake robot. The CM position $(p_x,p_y)$ of the snake robot can be expressed as follows:

(1) \begin{equation} \mathbf{p_{xy}} = \begin{bmatrix} p_x \\ p_y \end{bmatrix} = \frac{1}{n} \begin{bmatrix} \mathbf{e}^{T}\mathbf{X} \\ \mathbf{e}^{T}\mathbf{Y} \end{bmatrix}, \end{equation}

where $\mathbf{X} = [x_1, \cdots \cdots, x_n]^T\in \mathbb{R}^{n}$ , $\mathbf{Y} = [y_1, \cdots \cdots, y_n]^T \in \mathbb{R}^{n}$ and $\mathbf{e} = [1, \cdots \cdots, 1]^T, \in \mathbb{R}^{n}$ are addition vectors. The geometric constraint of the robot can be described as

(2a) \begin{align} \mathbf{DX} + l\mathbf{A}\cos{\boldsymbol{\theta }}=0, \end{align}
(2b) \begin{align} \mathbf{DY} + l\mathbf{A}\sin{\boldsymbol{\theta }}=0, \end{align}

where $\mathbf{A} = [\mathbf{I}_{(n-1)}, \mathbf{0}_{(n-1,1)}] + [\mathbf{0}_{(n-1,1)}, \mathbf{I}_{(n-1)}]\in \mathbb{R}^{(n-1)\times n}$ is the addition matrix, $\mathbf{D} = [\mathbf{I}_{(n-1)}, \mathbf{0}_{(n-1,1)}] - [\mathbf{0}_{(n-1,1)}, \mathbf{I}_{(n-1)}]\in \mathbb{R}^{(n-1)\times n}$ is the subtraction matrix, $\sin \boldsymbol{\theta } = [\sin \theta _1, \cdots \cdots, \sin \theta _n]^T \in \mathbb{R}^n \quad \text{and}\quad \cos \boldsymbol{\theta } = [\cos \theta _1, \cdots \cdots, \cos \theta _n]^T \in \mathbb{R}^{n}$ . By using Eqs. (1) and (2), the final position of each link in the X-Y plane can be written as

(3a) \begin{align} \mathbf{X} = -l\mathbf{K}^{T}\cos{\boldsymbol{\theta }} + \mathbf{e}p_x, \end{align}
(3b) \begin{align} \mathbf{Y} = -l\mathbf{K}^{T}\sin{\boldsymbol{\theta }} + \mathbf{e}p_y, \end{align}

where $\mathbf{K} = \mathbf{A}^{T}(\mathbf{DD}^T)^{-1}\mathbf{D}, \in \mathbb{R}^{n \times n}$ . Therefore, the velocity and acceleration of the links are given below:

(4a) \begin{align} \dot{\mathbf{X}} &= l\mathbf{K}^{T}\mathbf{S}_{\theta }{\dot{\boldsymbol{\theta }}} + \mathbf{e}{\dot{p}_x}, \end{align}
(4b) \begin{align} \dot{\mathbf{Y}} &= -l\mathbf{K}^{T}\mathbf{C}_{\theta }\dot{\boldsymbol{\theta }} + \mathbf{e}{\dot{p}_y}, \end{align}
(4c) \begin{align} \ddot{\mathbf{X}} &= l\mathbf{K}^{T}\mathbf{C}_{\theta }diag(\boldsymbol{\dot{\theta }})\boldsymbol{\dot{\theta }} +l\mathbf{K}^{T}\mathbf{S}_{\theta }\boldsymbol{\ddot{\theta }} + \mathbf{e}\ddot{p}_x, \end{align}
(4d) \begin{align} \ddot{\mathbf{Y}} &= l\mathbf{K}^{T}\mathbf{S}_{\theta }diag(\boldsymbol{\dot{\theta }})\boldsymbol{\dot{\theta }} -l\mathbf{K}^{T}\mathbf{C}_{\theta }\boldsymbol{\ddot{\theta }} + \mathbf{e}\ddot{p}_y, \end{align}

where $\boldsymbol{S_\theta } = diag(\sin \boldsymbol{\theta }) \in \mathbb{R}^{n\times n}$ is the sine diagonal matrix, $\boldsymbol{C_\theta } = diag(\cos \boldsymbol{\theta }) \in \mathbb{R}^{n\times n}$ is the cosine diagonal matrix and $\boldsymbol{\theta } = [\theta _1\ldots \ldots .\theta _n]^T \in \mathbb{R}^n$ is the link angle vector. The relative tangential velocity ( $v_{t,r}$ ) and normal velocity ( $v_{n,r}$ ) of the snake robot head link in the X-Y direction can be given as follows:

(5) \begin{equation} \begin{bmatrix} v_{t,r}\\ v_{n,r} \end{bmatrix}= \mathbf{R}_{\theta _n}^T\left (\dot{\mathbf{p}}_{xy}-\mathbf{v}_c\right ), \end{equation}

where $\mathbf{v}_c = [v_{cx},v_{cy}]^T$ . $v_{cx}$ and $v_{cy}$ are the water current velocity in $X$ and $Y$ direction, respectively, and $\dot{\mathbf{p}}_{xy}$ is the velocity of the centre of mass. The rotation matrix $ R_{\theta _n} = \begin{bmatrix} \cos \theta _n & -\sin \theta _n\\ \sin \theta _n & \cos \theta _n \end{bmatrix}$ . These kinematic relations are for the snake robot’s planar motion, which moves forward in the X-Y plane. The relative velocity of each link in the X-Y plane can be given as follows:

(6) \begin{equation} \begin{bmatrix} \mathbf{V}_{rx}\\ \mathbf{V}_{ry} \end{bmatrix}= \begin{bmatrix} \mathbf{C}_{\theta } & \mathbf{S}_{\theta }\\ -\mathbf{S}_{\theta } & \mathbf{C}_{\theta } \end{bmatrix} \begin{bmatrix} \dot{\mathbf{X}}-\mathbf{V}_{cx}\\ \dot{\mathbf{Y}}-\mathbf{V}_{cy} \end{bmatrix}, \end{equation}

where the relative velocity of each link can be described as $\mathbf{V}_{rx} = [v_{rx,1}, \dots,v_{rx,n}] \in \mathbb{R}^n$ , $\mathbf{V}_{ry} = [v_{ry,1}, \dots,v_{ry,n}]\in \mathbb{R}^n$ , and the water current velocity in X-Y direction of each link can be expressed as $\mathbf{V}_{cx} = [v_{cx,1}, \dots,v_{cx,n}] \in \mathbb{R}^n$ , $\mathbf{V}_{cy} = [v_{cy,1}, \dots,v_{cy,n}]\in \mathbb{R}^n$ . The relative acceleration is the derivative of Eq. (6), and it can be expressed as follows:

(7) \begin{equation} \dot{\mathbf{V}}_r = \mathbf{K}_1 \mathbf{N}_2 + \mathbf{K}_1 \mathbf{SC}_{\theta } \ddot{\boldsymbol{\theta }} + \mathbf{K}_1 \mathbf{E}\ddot{\mathbf{p}}_{xy} - \mathbf{K}_1 + \mathbf{K}_2 \mathbf{N}_1, \end{equation}

where

\begin{align*} \dot{\mathbf{V}}_{r} &=[\dot{\mathbf{V}}_{rx},\dot{\mathbf{V}}_{ry}]^T,\\ \mathbf{K}_1 &= \begin{bmatrix} \mathbf{C}_{\theta } & \mathbf{S}_{\theta }\\ -\mathbf{S}_{\theta } & \mathbf{C}_{\theta } \end{bmatrix} \begin{bmatrix} \dot{\mathbf{V}}_x\\ \dot{\mathbf{V}}_y \end{bmatrix},\in \mathbb{R}^{2n \times 2n}\\ \mathbf{K}_2 &= \begin{bmatrix} -\mathbf{S}_{\theta } & \mathbf{C}_{\theta } \\ -\mathbf{C}_{\theta } & -\mathbf{S}_{\theta } \end{bmatrix} \begin{bmatrix} diag(\dot{\boldsymbol{\theta }}) & \mathbf{0} \\ \mathbf{0} & diag(\dot{\boldsymbol{\theta }}) \end{bmatrix}\in \mathbb{R}^{2n \times 2n}, \end{align*}

\begin{align*} \mathbf{N}_1 &= \begin{bmatrix} l\mathbf{K}^T\mathbf{S}_{\theta }\dot{\boldsymbol{\theta }}+\mathbf{e}\dot{p}_x - \mathbf{V}_x\\ -l\mathbf{K}^T\mathbf{C}_{\theta }\dot{\boldsymbol{\theta }}+\mathbf{e}\dot{p}_y - \mathbf{V}_y \end{bmatrix}\in \mathbb{R}^{2n \times 1},\\ \mathbf{N}_2 &= \begin{bmatrix} l\mathbf{K}^T\mathbf{C}_{\theta }diag(\dot{\theta })\dot{\theta }\\ l\mathbf{K}^T\mathbf{S}_{\theta }diag(\dot{\theta })\dot{\theta } \end{bmatrix}\in \mathbb{R}^{2n \times 1},\\ \mathbf{SC}_{\theta } &= \begin{bmatrix} l\mathbf{K}^T \boldsymbol{S_\theta }\\ -l\mathbf{K}^T \boldsymbol{C_\theta } \end{bmatrix} \in \mathbb{R}^{2n \times n}. \end{align*}

The kinematic relation for the Z-direction motion is as follows:

(9) \begin{equation} {p_z} = \frac{1}{n}\mathbf{e}^{T}\mathbf{Z}, \end{equation}

where $Z =[z_1, \dots,z_n]\in \mathbb{R}^n$ is the position vector in Z-direction. The derivative of Eq. (9) gives the velocity in Z-direction as $\dot{p}_z$ . The 3D motion dynamics of the underwater snake robot are given in the following subsection.

2.2. 3D motion dynamics of the underwater snake robot

The free body diagram for a ‘ $i^{th}$ ’ link of a snake robot is given in Fig. 3. Figure 3(a) shows the force and moment balance in the X-Y plane (horizontal), and Fig. 3(b) shows the force balance in Z-direction (vertical).

Figure 3. Free body diagram of link ‘ $i$ ’ . (a) Force and moment balance in X-Y plane. (b) Force balance in Z-direction.

The force balance equation is using the newton $2^{nd}$ law given for a link ‘ $i$ ’ as

(10a) \begin{align} m\ddot{x}_i &= f_{x,i}+h_{x,i}-h_{x,i-1}, \end{align}
(10b) \begin{align} m\ddot{y}_i &= f_{y,i}+h_{y,i}-h_{y,i-1}, \end{align}
(10c) \begin{align} m\ddot{z}_i &= m_b g -f_{z,i}, \end{align}

where $(f_{x,i},f_{y,i})$ are the environmental forces acting on the link ‘ $i$ ’, $(h_{x,i},h_{y,i})$ are the joint constraint forces between link ‘ $i$ ’ and ‘ $i+1$ ’, $(h_{x,i-1},h_{y,i-1})$ is the joint constraint force between link ‘ $i-1$ ’ and ‘ $i$ ’ as shown in Fig. 3, $m_b$ is considered buoyancy mass that ‘ $m_b$ ’ kg water may enter or exist from the system by using the pumps, ‘ $g$ ’ is acceleration due to gravity and ‘ $f_{z,i}$ ’ is the environmental force in the vertical direction during vertical motion. It may be noted that the total mass ‘ $m$ ’ can be calculated as $m = m_s + m_w \pm m_b$ in which $m_s$ is the mass of the snake robot and $m_w$ is the mass of water. Some amount of the water ( $m_w$ ) is initially considered inside the link to make the robot neutral buoyant. When the robot gets down, the $m_b$ amount of water is pumped inside the link. To get some position in the ‘ $Z$ ’-direction, the $m_b$ amount of water is discharged from the link using $2^{nd}$ pump, and the robot becomes neutral buoyant at that position level. When the robot moves upward, the $m_b$ amount of the water discharged from the initial $m_w$ water becomes a positive buoyant, and it lifts due to buoyancy force. A robot can become neutral buoyant by taking water inside the link as the exact amount of water discharged earlier. That means Eq. (10c) works when the robot moves in the vertical direction. The shematic diagram of this discussion is shown in Fig. 4. Thus, the snake robot would get 3D motion in underwater conditions.

Figure 4. Internal components of a link.

The moment balance equation of link ‘ $i$ ’ in the X-Y plane is given below:

(11) \begin{equation} J\ddot{\theta }_i = u_i-u_{i-1}-l\sin{\theta _i}(h_{x,i}+h_{x,i-1})+l\cos{\theta _i}(h_{y,i}+h_{y,i-1})+\tau _i \end{equation}

where $J$ is the mass moment of inertia of link ‘ $i$ ’; $u_i$ is the actuator torque between link ‘ $i$ ’ and ‘ $i+1$ ’; $u_{i-1}$ is the actuator torque between link ‘ $i-1$ ’ and ‘ $i$ ’; $\tau _i = -\lambda _1 \dot{\theta }_i-\lambda _2 \dot{\theta }_i^2-\lambda _3 \ddot{\theta }$ , in which $\lambda _1$ and $\lambda _2$ are the linear and non-linear rotational damping parameters, respectively; and $\lambda _3$ is a rotational added mass effect coefficient. No moment in the $Z$ -direction occurs because all links are symmetric and have equal mass. Equations 10 and 11 can be extended for the whole body of the snake robot as follows:

(12a) \begin{align} m\ddot{\mathbf{X}} &= \mathbf{F}_{x}+\mathbf{D}^T\mathbf{h}_x, \end{align}
(12b) \begin{align} m\ddot{\mathbf{Y}} &= \mathbf{F}_{y}+\mathbf{D}^T\mathbf{h}_y, \end{align}
(12c) \begin{align} m\ddot{\mathbf{Z}} & = m_bg\mathbf{e}-\mathbf{F}_{z}, \end{align}
(12d) \begin{align} J\mathbf{I}_n &=\mathbf{D}^T\mathbf{u}-l\mathbf{S}_{\theta }\mathbf{A}^T\mathbf{h}_x + l\mathbf{C}_{\theta }\mathbf{A}^T\mathbf{h}_y + \boldsymbol{\tau } \end{align}

where $\mathbf{u} = [u_1, \cdots \cdots,u_{n-1}]^T$ , $\mathbf{F}_{x} = [f_{x,1}, \cdots \cdots, f_{x,n}]^T$ , $\mathbf{F}_{y} = [f_{y,1}, \cdots \cdots, f_{y,n}]^T$ , $\mathbf{F}_{z} = [f_{z,1}, \cdots \cdots, f_{z,n}]^T$ , $\mathbf{h}_{x} = [h_{x,1}, \cdots \cdots, h_{x,n}]^T$ , $\mathbf{h}_{y} = [h_{y,1}, \cdots \cdots, h_{y,n}]^T$ , $\boldsymbol{\tau } = [\tau _{1},\cdots \cdots, \tau _{n}]^T$ , . The total force in X-Y direction $\mathbf{F} = [\mathbf{F}_x, \mathbf{F}_y]^T = \mathbf{F_a} + \mathbf{F_d} \in \mathbb{R}^{2n}$ , where $\mathbf{F_d} \in \mathbb{R}^{2n}$ is the drag force and $\mathbf{F_a} \in \mathbb{R}^{2n}$ is the force due to added mass effect. The force $\mathbf{F}_a$ acting on the snake robot due to the added mass effect can be written below:

(13) \begin{equation} \mathbf{F}_a = \mathbf{D}_1\mathbf{K}_1\mathbf{SC}_{\theta }\ddot{\boldsymbol{\theta }} + \mathbf{D}_1\mathbf{K}_1\mathbf{E}\ddot{\mathbf{p}}_{xy} + \mathbf{D}_1 \mathbf{K}_3, \end{equation}

where

\begin{align*} \mathbf{E} &= \begin{bmatrix} \mathbf{e} & \mathbf{0}_{(n,1)}\\ \mathbf{0}_{(n,1)} & \mathbf{e} \end{bmatrix} \in \mathbb{R}^{2n \times 2},\\ \mathbf{D}_1 &= - \begin{bmatrix} \mathbf{C}_{\theta } & -\mathbf{S}_{\theta }\\ \mathbf{S}_{\theta } & \mathbf{C}_{\theta } \end{bmatrix} \begin{bmatrix} \mathbf{0} & \mathbf{0}\\ \mathbf{0} & \boldsymbol{\mu } \end{bmatrix} \in \mathbb{R}^{2n \times 2n},\\ \boldsymbol{\mu } &= \mu \mathbf{I}_n,\\ \mathbf{K}_3 &= \mathbf{K}_1 \mathbf{N}_2 - \mathbf{K}_1 \dot{\mathbf{V}}_c + \mathbf{K}_2 \mathbf{N}_1 \in \mathbb{R}^{2n \times 1}, \end{align*}

and $\mu$ is the added mass coefficient. The force due to the drag effect ( $\mathbf{F}_d$ ) can be expressed in terms of linear drag force ( $\mathbf{F}_{Ld}$ ) and non-linear drag force ( $\mathbf{F}_{NLd}$ ) such as $\mathbf{F}_d = \mathbf{F}_{Ld} + \mathbf{F}_{NLd}$ . The linear drag force can be expressed as

(14) \begin{equation} \mathbf{F}_{Ld} = l \mathbf{Q}_{\theta }\mathbf{SC}_{\theta }\dot{\boldsymbol{\theta }}+ \mathbf{Q}_{\theta }\mathbf{E}\mathbf{v}_r, \end{equation}

where $ \mathbf{v}_r = \dot{\mathbf{p}}-\mathbf{v}_c$ , $\mathbf{Q}_{\theta } = - \begin{bmatrix} c_t(\mathbf{C}_{\theta })^2+c_n(\mathbf{S}_{\theta })^2 & (c_t-c_n)\mathbf{S}_{\theta }\mathbf{C}_{\theta }\\ (c_t-c_n)\mathbf{S}_{\theta }\mathbf{C}_{\theta } & c_t(\mathbf{S}_{\theta })^2+c_n(\mathbf{C}_{\theta })^2 \end{bmatrix}$ . The non-linear drag force can be expressed as

(15) \begin{equation} \mathbf{F}_{NLd} = - \begin{bmatrix} c_t\mathbf{C}_{\theta } & -c_n\mathbf{S}_{\theta }\\ c_t\mathbf{S}_{\theta } & c_n\mathbf{C}_{\theta } \end{bmatrix} diag\left (abs \begin{bmatrix} \mathbf{V}_{rx}\\ \mathbf{V}_{ry} \end{bmatrix}\right ) \begin{bmatrix} \mathbf{V}_{rx}\\ \mathbf{V}_{ry} \end{bmatrix}. \end{equation}

The force acting on the robot during motion in $Z$ -direction (vertical) can be explained as follows:

(16) \begin{equation} \mathbf{F}_z = \frac{1}{2m} \rho \mathbf{C_D} \mathbf{A_p} diag(\mid \dot{\mathbf{Z}}\mid )\dot{\mathbf{Z}}, \end{equation}

where $\mathbf{A}_p = a_p \mathbf{I}_n$ , $\mathbf{C_D} = c_d \mathbf{I}_n$ . $a_p$ is the projected area of link, and $c_d$ is the vertical drag coefficient. The robot changes its position during motion. So, the acceleration of CM in the X-Y plane can be obtained using Eq. (12a,b) as follows:

(17) \begin{equation} \ddot{\mathbf{p}}_{xy} =\frac{1}{n}\begin{bmatrix} \mathbf{e}^T\ddot{\mathbf{X}}\\ \mathbf{e}^T\ddot{\mathbf{Y}} \end{bmatrix}= \frac{1}{nm}\mathbf{E}^T\mathbf{F}. \end{equation}

$\because \mathbf{e}^T\mathbf{D}^T = 0$ . The substitution of Eq. (16) with Eq. (12c) gives the motion equation in Z-direction as follows:

(18) \begin{equation} \ddot{\mathbf{Z}} = \frac{m_bg}{m}\mathbf{e} - \frac{1}{2m} \rho \mathbf{C_D} \mathbf{A_p} diag(\mid \dot{\mathbf{Z}}\mid )\dot{\mathbf{Z}}. \end{equation}

The motion equations of the multi-link snake robot are given by substituting Eq. (4) with Eq. (12a,b,d), and the angular dynamic equation becomes as in Eq. (19a). The acceleration in X-Y can be deduced after substituting Eqs. (13, 14, 15) with Eq. (17), and the resulting Eq. (19b) becomes the acceleration equation. Vertical CM acceleration of the snake robot (ref. Eq. 19c) can be derived using Eqs. (18) and (9). Therefore, the equation of motion for the snake robot in 3D by using the drag forces and added mass effect are as follows:

(19a) \begin{align} &\mathbf{M}_{\theta }\ddot{\boldsymbol{\theta }} + \mathbf{W}_{\theta }diag(\dot{\boldsymbol{\theta }})\dot{\boldsymbol{\theta }}-\mathbf{SC}_{\theta }^T (\mathbf{f}_d + \mathbf{A}_g) + \boldsymbol{\Lambda }_1\boldsymbol{\dot{\theta }}+\boldsymbol{\Lambda }_2 diag(\mid \dot{\boldsymbol{\theta }}\mid )\dot{\boldsymbol{\theta }} = \mathbf{D}^T\mathbf{u}+\mathbf{\Delta }, \end{align}
(19b) \begin{align} &\ddot{\mathbf{p}}_{xy} = \mathbf{H}_{x}^{-1}\left \lbrace \mathbf{E}^T\mathbf{f}_d + \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta }\ddot{\boldsymbol{\theta }}+\mathbf{E}^T\mathbf{D}_1\mathbf{K}_3\right \rbrace, \end{align}
(19c) \begin{align} &\ddot{p}_z = \frac{m_bg}{nm}\mathbf{e}^T\mathbf{e} - \frac{1}{2nm} \rho \mathbf{e}^T\mathbf{C_D} \mathbf{A_p} diag(\mid \dot{\mathbf{Z}}\mid )\dot{\mathbf{Z}}, \end{align}

where

\begin{align*} &\mathbf{M}_{\theta } = J\mathbf{I_n} + ml^2\mathbf{S}_{\theta }\mathbf{V}\mathbf{S}_{\theta } + ml^2\mathbf{C}_{\theta }\mathbf{V}\mathbf{C}_{\theta }-\mathbf{SC}_{\theta }^T \mathbf{A}_k + \mathbf{\Lambda }_3,\\ &\mathbf{A}_k = \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta } + \mathbf{D}_1 \mathbf{K}_1 \mathbf{E} \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta },\\ &\mathbf{A}_g = \mathbf{D}_1\mathbf{K}_1\mathbf{E}\mathbf{H}_{x}^{-1}\mathbf{E}^T\mathbf{f}_d + \mathbf{D}_1 \mathbf{K}_1 \mathbf{E} \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_3 + \mathbf{D}_1 \mathbf{K}_3,\\ &\mathbf{H}_{x} = nm\mathbf{I}_2 - \mathbf{E}^T\mathbf{D}_1\mathbf{K}_1\mathbf{E},\\ &\mathbf{W}_{\theta } = ml^2\mathbf{S}_{\theta }\mathbf{V}\mathbf{C}_{\theta } - ml^2\mathbf{C}_{\theta }\mathbf{V}\mathbf{S}_{\theta },\\ &\mathbf{V} = \mathbf{A}^T(\mathbf{DD}^T)^{-1}\mathbf{A}, \in \mathbb{R}^{n \times n},\\ &\boldsymbol{\Lambda _1} = \lambda _1\mathbf{I}_n,\quad \boldsymbol{\Lambda _2} = \lambda _2\mathbf{I}_n, \quad \boldsymbol{\Lambda _3} = \lambda _3\mathbf{I}_n, \end{align*}

$\Delta$ is the external disturbances. The equation of motion in Eq. (19a, b) shows the motion of a snake robot in the X-Y plane, and Eq. (19c) shows the motion of a snake robot along the Z-axis. This equation of motion expresses the snake robot moving in the 3D, namely, X-Y-Z motion. Hence, two independent controllers must be designed for the snake robot, one for X-Y plane motion and Z-axis motions. Here, it is noted that the torque $\mathbf{u}$ is responsible for the horizontal motion, and $m_b$ is responsible for the vertical motion. The VHCs are designed for motion control in the X-Y plane, and the event-based controller/PD controller is designed for the motion in the Z-axis. The control approach for the motion of a snake robot for a given dynamics is explained in the next section.

3. Biological gait pattern generation

Lateral undulation motion is the most common gait pattern of the snake both on land and in the water environment. The gait pattern for the snake robot can be generated using the following equation [Reference Mukherjee, Mukherjee and Kar25]:

(20) \begin{equation} \phi _{i,ref}(t) = \alpha _{i} \sin (\omega t+(i-1)\beta ) + \phi _{0}(t), \end{equation}

where $i$ $\in$ $[1,\cdots,n-1]$ , $\alpha$ is the amplitude of the joint angle (rad), $\omega$ is the input frequency (rad/s), $\beta$ (rad) is the phase angle between adjacent joint and $\phi _{0}$ (rad) is the offset angle which makes possible to turn the robot.

3.1. Virtual holonomic constraints (VHCs)

In this method, the actuator torque ‘u’ in Eq. (19) is regulated using the virtual constraint of the undulation gait pattern as mentioned in Eq. (20). In this, $\omega t$ is replaced by a state $\gamma$ . The state offset angle $\phi _0$ affects all the joints, unlike in [Reference Mukherjee, Mukherjee and Kar25, Reference Mukherjee, Kar and Mukherjee26] where it affects only the head. So, the evaluation compensator of the state is described below:

(21a) \begin{align} \ddot{\gamma } &= u_{\gamma }, \end{align}
(21b) \begin{align} \ddot{\phi _{0}} &= u_{\phi _{0}}. \end{align}

These VHCs enforce an autonomous (time-independent) relation involving configuration variables $(\gamma, \phi _0)$ which does not exist in a mechanical system but is enforced via feedback. The stabilise relation can be written for $n$ generalised coordinates and $n-1$ inputs from Eq. (20).

(22) \begin{equation} \theta _i-\theta _{i+1} = \alpha \sin (\gamma + (i -1)\beta ) + \phi _0. \end{equation}

Let $\Phi _i(\gamma ) = \alpha \sin (\gamma + (i -1)\beta )$ . Therefore, the $\boldsymbol{\Phi }(\gamma ) =[\Phi _1,\Phi _2,\cdots,\Phi _{n-1}]^T$ . Using Eq. (22) $\boldsymbol{\theta }$ can be expressed as

(23) \begin{equation} \boldsymbol{\theta } = \mathbf{e} \theta _n + \mathbf{H}\boldsymbol{\Phi }(\gamma ) + \mathbf{H}\mathbf{b}\phi _0, \end{equation}

where $\mathbf{b}= [1,\cdots \cdots,n-1]^T \in \mathbb{R}^{n-1}$ , . The VHCs from the above can be expressed by following [Reference Mohammadi, Rezapour, Maggiore and Pettersen21] as

(24) \begin{equation} \mathbf{g}(\gamma,\phi _0,\boldsymbol{\theta }) = \mathbf{D}\boldsymbol{\theta }-\Phi (\gamma )-\mathbf{b}\phi _0 = 0. \end{equation}

$\mathbf{g}(\gamma,\phi _0,\boldsymbol{\theta })$ is an error function for the system Eq. (19a) with compensator Eq. (21), and it is needed to be zero. In most snake robots, RC servo motors have an inbuilt Proportional Integral Derivative (PID) controller. Therefore, the torque equation can be written as follows [Reference Patel and Dwivedy32, Reference Patel and Dwivedy34]:

(25) \begin{equation} \begin{aligned} \mathbf{u}=&-{k_p}\mathbf{g}(\gamma,\phi _0,\boldsymbol{\theta })-{k_d}\dot{\mathbf{g}}(\gamma,\phi _0,\boldsymbol{\theta })\dot{\gamma }\dot{\phi }_0\dot{\boldsymbol{\theta }}-{k_i}\int \mathbf{g}(\gamma,\phi _0,\boldsymbol{\theta })dt, \end{aligned} \end{equation}

where $k_p$ , $k_d$ , ${k_i} \gt 0$ are positive gains. On the satisfaction of VHCs, the dynamical system corresponds to the manifold by substituting Eq. (24) with Eq. (19). Hence, the reduced-ordered dynamic system is written as follows:

(26a) \begin{align} \ddot{\theta }_{n} &= \hat{\Upsilon }_1 + \hat{\Upsilon }_2 u_{\gamma } + \hat{\Upsilon }_3 u_{\phi _0} + \tilde{\Upsilon }_{\theta _n}, \end{align}
(26b) \begin{align} \ddot{\mathbf{p}}_{xy} &=\hat{\Upsilon }_4 + \hat{\Upsilon }_5 u_{\gamma } + \hat{\Upsilon }_6 u_{\phi _0} + \tilde{\Upsilon }_p, \end{align}

where

\begin{align*} \hat{\Upsilon }_1 &= -\frac{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{H}\ddot{\boldsymbol{\Phi }}(\gamma )\dot{\gamma }^2}{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{e}}-\frac{\mathbf{e}^T}{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{e}}\left (\mathbf{W}_{\theta }\dot{\theta }^2-\mathbf{SC}_{\theta }(\mathbf{f}_d+\mathbf{A}_g) + \boldsymbol{\Lambda _1}\dot{\boldsymbol{\theta }} + \boldsymbol{\Lambda _2}diag(\mid \dot{\boldsymbol{\theta }}\mid )\dot{\boldsymbol{\theta }} \right ), \\ \hat{\Upsilon }_2 &= -\frac{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{H}\dot{\boldsymbol{\Phi }}(\gamma )}{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{e}},\\ \hat{\Upsilon }_3 &=-\frac{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{H}\mathbf{b}}{\mathbf{e}^T\mathbf{M}_{\theta }\mathbf{e}},\\ \hat{\Upsilon }_4 &=\mathbf{H}_{x}^{-1}\mathbf{E}^T\mathbf{f}_d + \mathbf{H}_{x}^{-1}\mathbf{E}^T\mathbf{D}_1\mathbf{K}_1\mathbf{SC}_{\theta }\mathbf{H}\ddot{\boldsymbol{\phi }}(\gamma )\dot{\gamma }^2 + \mathbf{H}_{x}^{-1}\mathbf{E}^T\mathbf{D}_1\mathbf{K}_3 + \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta } \mathbf{e} \hat{\Upsilon }_1, \\ \hat{\Upsilon }_5 &= \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta } \mathbf{e} \hat{\Upsilon }_2 + \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta } \mathbf{H} \dot{\boldsymbol{\phi }}(\gamma ),\\ \hat{\Upsilon }_6 &= \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta } \mathbf{e} \hat{\Upsilon }_3 + \mathbf{H}_{x}^{-1} \mathbf{E}^T \mathbf{D}_1 \mathbf{K}_1 \mathbf{SC}_{\theta } \mathbf{H}\mathbf{b}. \end{align*}

$\tilde{\Upsilon }_{\theta _n}, \tilde{\Upsilon }_{p}$ are the lumped disturbances in reduced-ordered dynamics of head angle and CM acceleration, respectively. Based on the reduced-order system, the controller would be designed. The benefit of a reduced-ordered system is that the entire robot can be controlled by designing a controller for a single joint. It is noted that the reduced-ordered dynamic system does not have a control input term. Here, the planar motion is controlled by the STSMC, and an event-based control technique controls vertical motion.

4. Controller design

Snake robot travels in an unknown and uncertain environment. Therefore, there is a need for a robust control approach to deal with uncertainties. The control objective is to track the desired path with the desired velocity. As discussed earlier in section 2, the controller is designed in two parts in, namely, horizontal motion control and vertical motion control as described in the following subsection.

4.1. Horizontal motion control

The reduced-order governing equation for a snake robot is given in Eq. (26) in terms of head angle ( $\theta _n$ ) and tangential velocity ( $v_t$ ). Considering ( $\theta _{ref}, v_{ref}$ ) reference head angle and tangential velocity, the error equation can be written as follows:

(27a) \begin{align} \ddot{\tilde{\theta }}_{n} &= \hat{\Upsilon }_1 + \hat{\Upsilon }_2 u_{\gamma } + \hat{\Upsilon }_3 u_{\phi _0} - \ddot{\theta }_{ref}, \end{align}
(27b) \begin{align} \dot{\tilde{v}}_{t} &= \mathbf{u}_{\theta _n}^T \hat{\Upsilon }_4 + \mathbf{u}_{\theta _n}^T \hat{\Upsilon }_5 u_{\gamma } + \mathbf{u}_{\theta _n}^T \hat{\Upsilon }_6 u_{\phi _0} + \dot{\theta }_n v_n - \dot{v}_{ref}. \end{align}

These error equations for the state vector $\bar{\xi } = [\tilde{\theta }_n, \dot{\tilde{\theta }}_n, \tilde{v}_{t,r}, v_{n,r}, \gamma, \dot{\gamma }, \phi _0, \dot{\phi }_0]^T$ are used in the designing of a sliding surface where the expression is given below:

(28) \begin{equation} \boldsymbol{\sigma }(\bar{\xi }) = \begin{bmatrix} \sigma _1(\bar{\xi })\\ \sigma _2(\bar{\xi }) \end{bmatrix}= \begin{bmatrix} \dot{\tilde{\theta }}_n + k_n \tilde{\theta }_n\\ \dot{\gamma } + k_v\tilde{v}_{t,r} \end{bmatrix} \end{equation}

where $k_n,k_v\gt 0$ is the design parameter. The derivative of sliding surface is given below:

(29a) \begin{align} \dot{\sigma }_1(\bar{\xi })&=\ddot{\tilde{\theta }}_n +k_n \dot{\tilde{\theta }}_n, \end{align}
(29b) \begin{align} \dot{\sigma }_2(\bar{\xi })&= \ddot{\gamma } + k_v \dot{\tilde{v}}_{t,r}. \end{align}

Therefore, Eq. (29) can be rewritten by substituting Eq. ((27) as

(30a) \begin{align} \dot{\sigma }_1(\bar{\xi }) &= \hat{\Upsilon }_1 + \hat{\Upsilon }_2 u_{\gamma } + \hat{\Upsilon }_3 u_{\phi _0} - \ddot{\theta }_{ref} + +k_n\dot{\tilde{\theta }}_n + \tilde{\Upsilon }_{\theta _n}, \end{align}
(30b) \begin{align} \dot{\sigma }_2(\bar{\xi }) &= u_{\gamma }+k_v(\mathbf{u}_{\theta _n}^T \hat{\Upsilon }_4 + \mathbf{u}_{\theta _n}^T \hat{\Upsilon }_5 u_{\gamma } + \mathbf{u}_{\theta _n}^T \hat{\Upsilon }_6 u_{\phi _0} + \dot{\theta }_n v_n - \dot{v}_{ref}) +u_{\theta _n}^T\tilde{\Upsilon }_p. \end{align}

Now, Eq. (30) can represent in sliding vector form as

(31) \begin{equation} \boldsymbol{\dot{\sigma }}(\bar{\xi }) = \hat{\mathbf{f}}_{\sigma } +\mathbf{f}_e +\hat{\mathbf{g}}_{\sigma }\mathbf{u}_{\sigma } + \bar{\mathbf{f}}_{\sigma }, \end{equation}

where

\begin{align*} &\hat{\mathbf{f}}_{\sigma }= \begin{bmatrix} \hat{\Upsilon }_1 \\ k_v (\mathbf{u}_{\theta _n}^T \hat{\Upsilon }_4+ \dot{\theta }_n v_n) \end{bmatrix}, \mathbf{f}_e = \begin{bmatrix} k_n \dot{\tilde{\theta }}_n-\ddot{\theta }_{ref}\\ - k_v\dot{v}_{ref} \end{bmatrix}, \hat{\mathbf{g}}_{\sigma }= \begin{bmatrix} \hat{\Upsilon }_2 & \hat{\Upsilon }_3\\ k_v(1+\mathbf{u}_{\theta _n}^T \hat{\Upsilon }_5) & k_v\mathbf{u}_{\theta _n}^T \hat{\Upsilon }_6 \end{bmatrix}, \\&\mathbf{u}_{\sigma } = \begin{bmatrix} u_{\gamma }\\ u_{\phi _0} \end{bmatrix}, \bar{\mathbf{f}}_{\sigma } = \begin{bmatrix} \tilde{\Upsilon }_{\theta _n}\\ u_{\theta _n}^T\tilde{\Upsilon }_p \end{bmatrix}. \end{align*}

The STSMC [Reference Patel and Dwivedy32] scheme is used for the motion control in the X-Y plane. The equivalent control law can be written for $(\dot{\boldsymbol{\sigma }}=0)$ as follows:

(32) \begin{equation} \mathbf{u}_{eq} = -\hat{\mathbf{g}}_{\sigma }^{-1}(\hat{\mathbf{f}}_{\sigma }+\mathbf{f}_e). \end{equation}

The reaching law that helps to reach the initial error function on the sliding surface is given below [Reference Patel and Dwivedy32]:

(33) \begin{equation} \mathbf{u}_{sw}=-\hat{\mathbf{g}}_{\sigma }^{-1}\Big (k_1sgn(\boldsymbol{\sigma })\Vert \boldsymbol{\sigma }\Vert ^{\frac{1}{2}}+k_2 \boldsymbol{\sigma }\Vert \boldsymbol{\sigma }\Vert ^{\frac{3}{2}}+ \int _{0}^{t} k_3 sgn(\boldsymbol{\sigma })\,dt\Big ). \end{equation}

Therefore, the control law for the horizontal motion is given as follows:

(34) \begin{equation} \mathbf{u}_{\sigma } = \mathbf{u}_{eq} + \mathbf{u}_{sw}. \end{equation}

The stability analysis by considering the given control scheme is explained in ref. [Reference Patel and Dwivedy32] and given in appendix using Lyapunov stability analysis. The vertical motion control technique is explained in the next section.

4.2. Motion control in Z-direction

Z-direction motion is open-loop control as it is independent from the X-Y motion control. Z-direction motion is controlled using an event-based technique. As discussed earlier, the Z-direction motion can be controlled by using the inlet and outlet pumps. The schematic diagram of link ‘ $i$ ’ is shown in Fig. 4. To operate these pumps, the following given logic control algorithm can be used. When one pump starts, the mass of the robot gets changes and the robot starts motion in the Z-direction. In this work, the 3V Direct Current (DC) pump has a flow rate of 10 ml/s. It is assumed that the clean water after small filtering goes inside the pump which prevents the pump from blockages. Let us consider that Pump-1 is used for taking water inside the link and Pump-2 for discharging water from the link as shown in Fig. 4. Triggering conditions for the pump based on the feedback system are explained in Algorithm 1. It is noted that at a particular instant, either Pump-1 or Pump-2 operates. Both pumps do not work simultaneously to keep the balance of the snake robot in underwater conditions.

Algorithm 1 Z-direction motion control algorithm

This event-based control technique is triggered when the condition is fulfilled. This event-based controller is responsible for the motion in the vertical direction. Another way to control the Z-direction motion is by using PD control which is described in the following subsection. In this, reference Z-position is required that robot would be reached.

4.3. Z-direction control using PD controller

It is cleared from the previous subsection discussion that the Z-direction motion is possible using the event-based algorithm. The PD-controller can be useful to reach the exact position that is explained further.

In this, the reference Z-position is given by the slider. The PD-based control scheme is used for the controlling of the pump. The controlled signal operates the pumps. The PD controller is given below:

(35) \begin{equation} \mathbf{F_z} = k_{pz}(\mathbf{z}_{ref}-\mathbf{z})+k_{dz}(\dot{\mathbf{z}}_{ref}-\dot{\mathbf{z}}), \end{equation}

where $k_{pz}$ and $k_{dz}$ are the proportional and derivative gains, respectively. The pump is directly dealt with buoyancy, so the saturation function is used, in which the generated control signal starts the pumps on changing the error sign or achieving the reference position and changing the mass of the link which would help to achieve the reference position in Z-direction.

4.4. Reference trajectory generation for horizontal motion

The reference trajectory can be generated by observing the current velocity in the horizontal direction of the water condition. The water current observer is briefly described in Eq. (36). More detail can be found in ref. [Reference Kohl, Kelasidi, Mohammadi, Maggiore and Pettersen22].

(36a) \begin{align} \mathbf{R}_{\theta } &= [\mathbf{u}_{\theta },\mathbf{v}_{\theta }], \end{align}
(36b) \begin{align} \mathbf{v}_{rel} &= [v_{t,r}, v_{n,r}]^T, \end{align}
(36c) \begin{align} \dot{\mathbf{q}} &= -k\mathbf{q}-k^2\mathbf{p}_{xy}-k\mathbf{R}_{\theta }\mathbf{v}_{rel}, \end{align}
(36d) \begin{align} \bar{\mathbf{v}}_c &= \mathbf{q}+k\mathbf{p}_{xy}, \end{align}

where $\bar{\mathbf{v}}_{c}$ is an estimated current velocity of the water and $k$ is a parameter. Using Eq. (36) reference head angle $(\theta _{ref})$ and velocity $(v_{ref})$ to be calculated for the different geometry of the path following:

(37a) \begin{align} \boldsymbol{\mu }_0 &= -\frac{\nabla h(p_{xy})^{T}}{\Vert \nabla h(p_{xy})\Vert ^2}(k_t h(p_{xy})+k_h \rho ) +\frac{v}{\Vert \nabla h(p_{xy}) \Vert }\begin{bmatrix} 0 & 1\\ -1 & 0 \end{bmatrix} \nabla h(p_{xy})', \end{align}
(37b) \begin{align} \boldsymbol{\mu } &= \frac{v\boldsymbol{\mu }_0}{\Vert \boldsymbol{\mu }_0\Vert }-\bar{\mathbf{v}}_c, \end{align}
(37c) \begin{align} \dot{\rho } &= h(p_{xy}), \end{align}
(37d) \begin{align} \theta _{ref} &= arctan2(\mu _y,\mu _x), \end{align}
(37e) \begin{align} v_{ref} &= \Vert \mu \Vert, \end{align}

where $v, h(p_{xy})$ denotes the desired velocity and path, respectively. $k_t, k_h$ are the design parameters.

4.5. Control law implementation

There are two controllers that work simultaneously. The control law implementation on the robot dynamics is explained in Fig. 5. This gives a clear idea about the implication of STSMC scheme and event-based controller/PD controller simultaneously as shown in the block diagram. The saturation block limits the torque input to the robot dynamics because the motor has limited torque output in real time. The demanding torque of the controller might not be fulfilled by the actuator. Therefore, the saturation function is used to meet the real-time condition of the actuator. The complete implementation gives the 3D motion of the snake robot in underwater conditions.

Figure 5. Block diagram of the control law implementation.

Figure 6. Uncertainties in dynamical system parameters.

Figure 7. Environmental disturbances. (a) No disturbance condition. (b) Random disturbance condition. (c) Pulse disturbance. (d) High-frequency disturbance.

5. Results and discussion

In this section, the simulation results for the proposed dynamics and control of the snake robot are discussed. The parametric uncertainties are considered for the simulation which is graphically shown in Fig. 6. The details of given uncertainties as mentioned in Eqs. (11, 13, 14, 15) are explained in appendix A. An additional factor to consider is the presence of external disturbances (denoted as $\Delta$ ) during the motion of the snake robot. Hence, it becomes important to account for various types of disturbances in order to assess the robustness of the considered control scheme. These disturbances are treated as extreme scenarios for evaluating the effectiveness of the STSMC. The different type of external disturbances acting on the link of the snake robot is shown in Fig. 7. In this work, four different disturbance cases are considered. The first case is without any external disturbance which can be seen in Fig. 7(a). The subsequent cases are random disturbance (Fig. 7(b)), pulse disturbance (Fig. 7(c)) and high-frequency disturbance (Fig. 7(d)). The link length ( $2l$ ) of a snake robot is considered to be 0.018 m. The mass of a link varies with time to get vertical motion. As given in Eq. 19 for neutral buoyant condition, $m=m_s + m_w$ . Here, solid link mass $m_s= 0.310$ kg, and to make the neutral buoyant, the required mass of water $m_w=0.5947$ kg. Therefore, the neutral buoyant mass $m_n = 0.9047$ kg. The switching law of SMC is used for comparison given below. The equivalent control law is the same as for the STSMC.

(38) \begin{equation} \mathbf{u}_{sw,SMC} = \eta sgn(\boldsymbol{\sigma }). \end{equation}

The controller parameters are given in Table I, and the parameters of control algorithm 1 are given in Table II.

Table I. Parameters for the controlling snake robot motion.

PID = Proportional Integral Derivative

Table II. Algorithm parameters.

The lumped parameters of the uncertain parts are considered , for the controller design. It is noted that the controller parameters are kept the same for all the cases considered for the numerical simulation. The 3D motion of the snake robot using the considered control scheme can be seen in Figs. 8 and 9. In these figures, the projection on the X-Y plane reflects the motion of the snake robot in a straight line direction (Fig. 8) and sinusoidal-like path (Fig. 9), and the projection on X-Z plane shows the vertical motion of the robot due to buoyancy variation. The motion of the snake robot is like varying its path in a horizontal plane using the STSMC scheme and vertical motion using the buoyancy variation technique. Hence, it is verified that the proposed control technique achieves the 3D motion of the snake robot. Moreover, the study is not only about achieving the 3D motion of the snake robot but also checking the robustness of the control scheme. It is further explained.

Figure 8. 3D motion of the snake robot in a horizontal straight line along with vertical motion.

Figure 9. 3D motion of the snake robot in horizontal sinusoidal path along with vertical motion.

Figure 10. Variation in buoyancy in a single link. (a) Buoyant mass. (b) Total mass variation in a link.

The variation in buoyant mass and total mass are shown in Fig. 10(a,b), respectively. The pump is ON when the condition is triggered as mentioned in algorithm 1.

5.1. Straight line path tracking

Figure 11 shows the error in head angle tracking for different disturbances. It is found that the tracking performance is similar for the various disturbances. There is no deviation found in the head angle tracking. These can also be verified using a sliding surface; see Fig. 12. The sliding surface is meant to be zero to achieve the control objective. The quantified chattering value is discussed in section 5.3 which is found significantly less using the STSMC. The offset angle is used to turn the robot. Figure 13 shows the offset angle during different disturbances. The phase variation has been observed in offset angle due to different disturbances and autonomous motion of the robot. Figure 14 shows the tangential velocity tracking of the snake robot. It is found that the speed of the snake robot has not changed for any disturbance condition.

Figure 11. Error in head angle: straight line path.

Figure 12. Sliding surface: straight line path.

Figure 13. Offset angle: straight line path.

Figure 14. Velocity tracking of the snake robot: straight line path.

5.2. Sinusoidal path tracking

Figure 15 shows the head angle tracking of the sinusoidal path tracking of the snake robot. Here, it observed the initially higher angle deviation compared to straight line path tracking. Once the robot’s motion tracking is converged, the tracking error is almost zero.

Figure 15. Error in head angle: sinusoidal path.

The sliding surface (error function) of the control objective is shown in Fig. 16 for the sinusoidal path following. The high peak initially observed in the simulated sliding surface tracking result is due to fast reaching.

Figure 16. Sliding surface: sinusoidal path.

The offset angle which makes it possible to generate the sinusoidal-like path in joint space control is shown in Fig. 17. The fluctuation in offset angle is observed in Fig. 17 compared to Fig. 13 due to different path tracking. The tracking of velocity is shown in Fig. 18. The velocity tracking is found to be similar to Fig. 14. The above results are qualitatively good. However, the robustness of the control scheme can be done using quantified results explained in the following subsection.

Figure 17. Offset angle: sinusoidal path.

Figure 18. Velocity tracking of the snake robot: sinusoidal path.

Figure 19. 3D motion of a snake robot with SMC scheme: sinusoidal path.

3D motion of a snake robot using the SMC scheme is shown in Fig. 19. When the high-frequency disturbance occurs in the case of sinusoidal path following, robot fails to follow it. So, here, the SMC scheme fails. The parameters of the SMC scheme are selected for the almost same tracking error of tangential velocity and head angle which are given in the next section.

5.3. Quantified results of chattering and tracking error

The robustness of the proposed control scheme is verified using the quantified result of the CI and error tracking. The CI can be defined as mentioned in ref. [Reference Hendel, Khaber and Essounbouli39], that is, variable of $S$ for given time $T$ , as follows:

(39) \begin{equation} \text{CI} = \frac{1}{\sqrt{T}}\sqrt{\sum _{i=1}^{T}(\dot{S}_{i})^2}. \end{equation}

The quantified chattering effect is shown in Table III for the straight line path following and in Table IV for the sinusoidal path following. The chattering effect results show the effectiveness of the STSMC scheme. The results of proposed control scheme are also compared with SMC scheme. It is observed that the chattering is significantly reduced by using the STSMC compared to SMC. It is also observed that during the high-frequency disturbance, while using the SMC, the robot is not able to follow the sinusoidal path as shown in Fig. 19. In this case, the performance of STSMC scheme is found to be better. The chattering effect trend is similar for both path following cases. During the random disturbances, higher chattering is observed for both cases. However, the chattering is nearer for all cases of disturbances. The error tracking for both cases is shown in Tables V and VI. Almost similar tracking is observed for all disturbances and path following cases. This means that the proposed control technique has enough robust to deal with different disturbances and uncertainties.

The robustness of STSMC control scheme is tested with different path following and external disturbances along with the vertical motion control of the snake robot. Finally, this synchronisation of the control scheme produced the 3D motion of the snake robot. Motion control in Z-direction using PD controller is explained below.

5.4. PD control-based Z-direction control

Motion control in Z-direction using PD controller is explained here. The reference Z-position ( $z_{ref}$ ) is given by the slider/user input in the Simulink. The saturation block is used for it to work with buoyancy control.

Table III. Chattering indicator straight line path.

Table IV. Chattering indicator sinusoidal path.

Table V. Error tracking: straight path.

Table VI. Error tracking: sinusoidal path.

Figure 20. 3D motion using PD controller.

Figure 20 shows the motion of snake robot control with STSMC in X-Y direction and PD controller in Z-direction. The robot motion on triggered condition in Z-direction is shown here. The tracking in Z-direction is shown in Fig. 21 which for a given triggered reference, the tracking of Z-position is shown. It is noted that there is a delay in achieving the reference Z-position due to constant buoyancy force. The error tracking in the Z-direction is shown in Fig. 22. The slope indicates how fast the small buoyancy force to achieve the zero error.

Figure 21. Z-position control.

Figure 22. Error tracking in Z-direction.

5.5. Validation in the Simscape Multibody environment

In this section, further verification of the proposed dynamics is carried out using the Simscape Multibody environment where there is no need of the mathematical model of the snake robot explicitly. The designed control scheme is deployed by taking the feedback from the joint sensor block and position feedback from the transform sensor block. The joint stiffness and friction are also considered for this experiment. It may be noted that the transform sensor is placed on the head link. The tracking results are discussed in the following paragraphs.

Figure 23. 3D motion of the snake robot.

Figure 24. Position tracking of the vertical motion.

Figure 25. Tracking in Z-direction.

Figure 23 shows the 3D motion of the snake robot in the Simscape Multibody environment where the motion is tracked from the CG of the head link. The head link CG of the mathematical model is behind the CG of Simscape model because of the coordinate system. However, the results are similar in trend. Figure 24 shows the vertical motion of a snake robot using the buoyancy variation. The overshoot is observed in Z-direction motion control in the numerical experiment. However, the robot converge the given reference position in vertical motion. That can also be verified by measuring the error in Z-direction tracking as shown in Fig. 25. The video of a motion can be found in Web Link-1 and Web Link-2.

These proposed buoyancy variation techniques and their dynamics will help to develop the further control scheme of the snake robot, which will help to perform the manipulator task in underwater conditions without external forces. The proposed approach makes it possible to have 3D motion of the snake robot in an underwater environment.

6. Conclusion

In this work, a method for the 3D motion control of the snake robot is proposed using the buoyancy variation technique. The VHCs are used for the motion control in the X-Y plane, and the event-based control technique is used for the motion control in the Z-direction. The STSMC is used to estimate the dynamic uncertainties of the snake robot. The robustness of the proposed technique is verified by considering two different path following cases, namely, straight line path and sinusoidal path. The external disturbances are also considered to verify the robustness of the control scheme and discussed. Moreover, the PD controller is used for the motion control and error tracking in the Z-direction. It is also observed that the small change in mass results in the significant velocity in vertical direction in the underwater environment. The complete implementation of the control technique (horizontal and vertical) on proposed motion dynamics equation results in the 3D motion of the snake robot in an underwater environment. Moreover, the proposed mathematical system is also verified using the Simscape Multibody environment where the equation of motion is not required explicitly. In future, the motion dynamics and control for manipulator operation using the snake robot in the underwater environment will be performed.

Supplementary materials

The 3D motion videos of tracking the snake robot are attached to this article. The video of a motion can be found in Web Link-1 and Web Link-2. The supplementary material for this article can be found at http://dx.doi.org/10.1017/S0263574724000821.

Acknowledgements

This work is supported by the IITGTI&DF through the grant number DST/NMICPS/TIH12/IITG/2020.

Author contributions

Patel formulated the dynamic of the snake robot, a control strategy, conducted simulation runs and wrote the manuscript. Dwivedy checked the results and supervised and modified the manuscript. At last, both authors read and approved the final manuscript.

Competing interests

The authors declare no Competing interests exist.

Appendix

A. Uncertainties in Robot Dynamics

All the physical systems undergo several uncertainties such as unknown environmental conditions, unspecified robot parameters and manufacturing defects. Incorporating these unknown uncertainties into a dynamic model poses a significant challenge. Consequently, these uncertainties are treated as integral components of the dynamical system. In the case of the underwater snake robot, the mathematical expression of these uncertain parameters mentioned in Eq. 13 is provided below:

(40a) \begin{align} \begin{split} c_t &=12.0 \sin (0.006578 t+0.2329)+22.8 \sin (0.01141 t+2.339)\\& \quad +17 \sin (0.01264 t+5.231)+0.5 rand(1),\end{split} \end{align}
(40b) \begin{align} \begin{split} c_n&=16.371 \sin (0.001751 t+1.28)+0.9771 \sin (0.01704 t-1.833)\\&\quad +0.5 rand(1),\end{split} \end{align}
(40c) \begin{align} \mu &= 2.683 \sin (0.00480 t-0.06779)+1.15 \sin (0.00758 t+2.115), \end{align}
(40d) \begin{align} \begin{split} \lambda _1 &=0.02683 \sin (0.004804 t-0.06779)+0.0115 \sin (0.00758 t+2.115)\\&\quad +0.5 rand(1),\end{split} \end{align}
(40e) \begin{align} \begin{split} \lambda _2 &= 0.0012 \sin (0.006066 t-0.6005)+0.000677 \sin (0.008673 t+1.561)\\&\quad +0.00001124 sin(0.02761 t+3.092)+0.25 rand(1), \end{split} \end{align}
(40f) \begin{align} \lambda _3 &=0.0268 \sin (0.004804 t-0.06779)+0.0115 \sin (0.00758 t+2.115). \end{align}

These uncertainties are represented graphically, and the equations of uncertain parameters are generated using the curve fitting tool. These mathematical formulations are used to simulate the snake robot dynamics in Eq. (19). These types of uncertainties are called parametric uncertainties. The graphical representation of the uncertainties is given in Fig. 6.

B. Stability Analysis

The Lyapunov function is considered as below by following reference [Reference Patel and Dwivedy32]:

(41) \begin{equation} V = \frac{1}{2}\boldsymbol{\sigma }^T\boldsymbol{\sigma } \end{equation}

The derivative of Eq. (41) and substitute Eq. (34) in that the Lyapunov function becomes as shown following.

\begin{equation*} \begin {aligned} \dot {V} &= \boldsymbol {\sigma }^T\dot {\boldsymbol {\sigma }}\\ &=\boldsymbol {\sigma }\left (\hat {\mathbf {f}}_{\sigma }+\hat {\mathbf {g}}_{\sigma }\mathbf {u}_{\sigma }+\bar {\mathbf {f}}_{\sigma }\right )\\ &=\boldsymbol {\sigma }\big (-k_1sgn(\boldsymbol {\sigma })\Vert \boldsymbol {\sigma }\Vert ^{\frac {1}{2}}-k_2\boldsymbol {\sigma }\Vert \boldsymbol {\sigma }\Vert ^{\frac {3}{2}}-\int _{0}^{t}k_3sgn(\boldsymbol {\sigma })dt+\bar {\mathbf {f}}_{\sigma }\big )\\ &\leq -k_1\Vert \boldsymbol {\sigma }\Vert ^{\frac {3}{2}}-k_2\Vert \boldsymbol {\sigma }\Vert ^{\frac {7}{2}}-\Vert \boldsymbol {\sigma }\Vert \int _{0}^{t}k_3dt+\Vert \boldsymbol {\sigma }\Vert \Vert \bar {\mathbf {f}}_{\sigma }\Vert \end {aligned} \end{equation*}

\begin{equation*} \begin {aligned} \\[-30pt] &\text {By considering the assumption}\Vert \bar {\mathbf {f}}_{\sigma }\Vert \leq \Omega \leq \dot {\delta }, \text {the equation}\\& \text {can be modified as}\\ &\leq -k_1\Vert \boldsymbol {\sigma }\Vert ^{\frac {3}{2}}-k_2\Vert \boldsymbol {\sigma }\Vert ^{\frac {7}{2}}-\Vert \boldsymbol {\sigma }\Vert \int _{0}^{t}k_3dt+\Vert \boldsymbol {\sigma }\Vert \int _{0}^{t}\dot {\delta } dt\\ &\leq -k_1\Vert \boldsymbol {\sigma }\Vert ^{\frac {3}{2}}-k_2\Vert \boldsymbol {\sigma }\Vert ^{\frac {7}{2}}-\Vert \boldsymbol {\sigma }\Vert \left ( \int _{0}^{t}k_3dt- \int _{0}^{t}\dot {\delta } dt \right )\\ &\leq 0 \quad (\because k_3\gt \Omega ) \end {aligned} \end{equation*}

Hence, Lyapunov stability has been proven by considering $k_1, k_2, k_3\gt 0$ .

References

Matsuno, F., “A mobile robot for collecting disaster information and a snake robot for searching,” Adv Robot 16(6), 517520 (2002).Google Scholar
Onal, C. D. and Rus, D., “Autonomous undulatory serpentine locomotion utilizing body dynamics of a fluidic soft robot,” Bioinspir Biomim 8(2), 026003 (2013). doi: 10.1088/1748-3182/8/2/026003.Google Scholar
Kohl, A. M., Kelasidi, E., Pettersen, K. Y. and Gravdahl, J. T., “A Control-Oriented Model of Underwater Snake Robots Exposed to Currents,” In: 2015 IEEE Conference on Control Applications (CCA), (IEEE (2015) pp. 15851592. doi: 10.1109/CCA.2015.7320836.Google Scholar
Pettersen, K. Y., “Snake robots,” Annu Rev Control 44, 1944 (2017). doi: 10.1016/j.arcontrol.2017.09.006 ISSN 1367-5788.Google Scholar
Transeth, A. A., Leine, R. I., Glocker, C. and Pettersen, K. Y., “3-D snake robot motion: Nonsmooth modeling, simulations, and experiments,” IEEE Trans Robot 24(2), 361376 (2008). doi: 10.1109/TRO.2008.917003.Google Scholar
Cao, Z., Zhang, D. and Zhou, M. C., “Modeling and control of hybrid 3-D gaits of snake-like robots,” IEEE Trans Neur Net Lear Syst 32(10), 46034612 (2021). doi: 10.1109/TNNLS.2020.3024585.Google Scholar
Cao, Z., Zhang, D. and Zhou, M. C., “Direction control and adaptive path following of 3-D snake-like robot motion,” IEEE Trans Cybernet 52(10), 1098010987 (2022). doi: 10.1109/TCYB.2021.3055519.Google Scholar
Li, D., Zhang, Y., Tong, W., Li, P., Law, R., Xu, X., Zhu, L. and Wu, E. Q., “Anti-disturbance path-following control for snake robots with spiral motion,” IEEE Trans Ind Inform 19(12), 1192911940 (2023). doi: 10.1109/TII.2023.3254534.Google Scholar
Woods, S. A., Bauer, R. J. and Seto, M. L., “Automated ballast tank control system for autonomous underwater vehicles,” IEEE J Oceanic Eng 37(4), 727739 (2012). doi: 10.1109/JOE.2012.2205313.Google Scholar
Tiwari, B. and Sharma, R., “Study on system design and integration of variable buoyancy systems for underwater operation,” Defence Sci J 71(1), 124133 (2021). doi: 10.14429/dsj.71.15557.URL. https://publications.drdo.gov.in/ojs/index.php/dsj/article/view/15557 Google Scholar
Lunze, J. and Lehmann, D., “A state-feedback approach to event-based control,” Automatica 46(1), 211215 (2010).Google Scholar
Abbas, M., Narayan, J. and Dwivedy, S. K., “Event-triggered adaptive control for upper-limb robot-assisted passive rehabilitation exercises with input delay,” Proceed Inst Mech Eng, Part I: J Syst Cont Eng 236(4), 832845 (2022).Google Scholar
Nath, K. and Bera, M. K., “Integral sliding mode control of networked robotic manipulator: A dynamic event-triggered design,” Adv Robot 37, 141153 (2022).Google Scholar
Gray, J., “The mechanism of locomotion in snakes,” J Exp Biol 23(2), 101120 (1946). doi: 10.1242/jeb.23.2.101.Google Scholar
Liljeback, Pål, Haugstuen, I. U. and Pettersen, K. Y., “Path following control of planar snake robots using a cascaded approach,” IEEE Trans Contr Syst Tech 20(1), 111126 (2012). doi: 10.1109/TCST.2011.2107516.Google Scholar
Bhandari, G., Raj, R., Pathak, P. M. and Yang, J.-M., “Robust control of a planar snake robot based on interval type-2 takagi–sugeno fuzzy control using genetic algorithm,” Eng Appl Artif Intel 116, 105437 (2022). doi: 10.1016/j.engappai.2022.105437.Google Scholar
Jiang, X., Yang, F. and Shi, S., “Design and full-link trajectory tracking control of underwater snake robot with vector thrusters under strong time-varying disturbances,” Ocean Eng 266, 113012 (2022).Google Scholar
Li, D., Pan, Z., Deng, H. and Hu, L., “Adaptive path following controller of a multi-joint snake robot based on the improved serpenoid curve,” IEEE Trans Indus Electr 69(4), 11 (2021). doi: 10.1109/TIE.2021.3075851.Google Scholar
Zhang, A., Ma, S., Li, B., Wang, M., Guo, X. and Wang, Y., “Adaptive controller design for underwater snake robot with unmatched uncertainties,” Sci China Inform Sci 59(5), 115 (2016). doi: 10.1007/s11432-015-5421-8.Google Scholar
Rezapour, E., Pettersen, K. Y., Liljebäck, Pål, Gravdahl, J. T. and Kelasidi, E., “Path following control of planar snake robots using virtual holonomic constraints: Theory and experiments,” Robot Biom 1(1), 115 (2014). doi: 10.1186/s40638-014-0003-6.Google Scholar
Mohammadi, A., Rezapour, E., Maggiore, M. and Pettersen, K. Y., “Maneuvering control of planar snake robots using virtual holonomic constraints,” IEEE Trans Cont Syst Tech 24(3), 884899 (2016). doi: 10.1109/TCST.2015.2467208.Google Scholar
Kohl, A. M., Kelasidi, E., Mohammadi, A., Maggiore, M. and Pettersen, K. Y., “Planar maneuvering control of underwater snake robots using virtual holonomic constraints,” Bioinspir Biomim 11(6), 065005 (2016). doi: 10.1088/1748-3190/11/6/065005.Google Scholar
Wang, H., Zhang, H., Wang, Z. and Chen, Q., “Impulsive control and stability analysis of biped robot based on virtual constraint and adaptive optimization,” Adv Cont Appl 2(2), e32 (2020). doi: 10.1002/adc2.32.Google Scholar
Celikovsky, S. and Anderle, M., “Stable walking gaits for a three-link planar biped robot with two actuators based on the collocated virtual holonomic constraints and the cyclic unactuated variable,” IFAC-PapersOnLine 51(22), 378385 (2018). doi: 10.1016/j.ifacol.2018.11.571.12th.Google Scholar
Mukherjee, J., Mukherjee, S. and Kar, I. N., “Sliding mode control of planar snake robot with uncertainty using virtual holonomic constraints,” IEEE Robot Autom Lett 2(2), 10771084 (2017a). doi: 10.1109/LRA.2017.2657892.Google Scholar
Mukherjee, J., Kar, I. N. and Mukherjee, S., “Adaptive Sliding Mode Control for Head-Angle and Velocity Tracking of Planar Snake Robot,” In: 2017 11th Asian Control Conference (ASCC), (2017b) pp. 537542. doi: 10.1109/ASCC.2017.8287227.Google Scholar
Fridman, L., Moreno, J. A., Bandyopadhyay, B., Kamal, S. and Chalanga, A., Continuous Nested Algorithms : The Fifth Generation of Sliding Mode Controllers (Springer International Publishing, Cham, 2015) pp. 535. doi: 10.1007/978-3-319-18290-2_2.Google Scholar
Mobayen, S., Tchier, F. and Ragoub, L., “Design of an adaptive tracker for n -link rigid robotic manipulators based on super-twisting global nonlinear sliding mode control,” Int J Syst Sci 48(9), 19902002 (2017). doi: 10.1080/00207721.2017.1299812.Google Scholar
Fazli, E., Rakhtala, S. M., Mirrashid, N. and Karimi, H. R., “Real-time implementation of a super twisting control algorithm for an upper limb wearable robot,” Mechatronics 84, 102808104158 (2022). doi: 10.1016/j.mechatronics.2022.102808.Google Scholar
Mokhtari, M., Taghizadeh, M. and Mazare, M., “Hybrid adaptive robust control based on CPG and ZMP for a lower limb exoskeleton,” Robotica 39(2), 181199 (2021). doi: 10.1017/S0263574720000260.Google Scholar
Liu, W., Ye, H. and Yang, X., “Super-twisting sliding mode control for the trajectory tracking of underactuated usvs with disturbances,” J Marine Sci Eng 11(3), 636 (2023).Google Scholar
Patel, B. M. and Dwivedy, S. K., “Virtual holonomic constraints based super twisting sliding mode control for motion control of planar snake robot in the uncertain underwater environment,” Proceed Inst Mech Eng, Part I: J Syst Cont Eng 237(8), 14801491 (2023). doi: 10.1177/09596518231153253.Google Scholar
Hosseini, M., Noei, A. R. and Rostami, S. J. S., “Trajectory tracking control of an underwater vehicle in the presence of disturbance, measurement errors, and actuator dynamic and nonlinearity,” Robotica 41(10), 30593078 (2023). doi: 10.1017/S0263574723000875.Google Scholar
Patel, B. M. and Dwivedy, S. K., “Manoeuvring of underwater snake robot with tail thrust using the actor-critic neural network super-twisting sliding mode control in the uncertain environment and disturbances,” Neur Comput Appl 115 (2023). doi: 10.1007/s00521-023-09113-8.Google Scholar
Zhang, D., Ju, R. and Cao, Z., “Reinforcement learning-based motion control for snake robots in complex environments,” Robotica 42(4), 947961 (2024). doi: 10.1017/S0263574723001613.Google Scholar
Le, H. N. and Vo, N. T., “Modeling and analysis of an RUU Delta Robot using SolidWorks and SimMechanics,” Int J Dynam Cont 113 (2024). doi: 10.1007/s40435-023-01377-1.Google Scholar
Modak, S. and Rama Krishna, K., “Kinematics and singularity analysis of a novel hybrid industrial manipulator,” Robotica 42(2), 579610 (2024). doi: 10.1017/S0263574723001662.Google Scholar
Cosenza, C., Niola, V., Pagano, S. and Savino, S., “Theoretical study on a modified rocker-bogie suspension for robotic rovers,” Robotica 41(10), 29152940 (2023). doi: 10.1017/S0263574723000656.Google Scholar
Hendel, R., Khaber, F. and Essounbouli, N., “Adaptive high-order sliding mode controller-observer for mimo uncertain nonlinear systems,” Asian J Control 22(6), 23092329 (2020). doi: 10.1002/asjc.2167.Google Scholar
Figure 0

Figure 1. Schematic diagram of 3D motion of a snake robot.

Figure 1

Figure 2. Motion of the snake robot in X-Y plane.

Figure 2

Figure 3. Free body diagram of link ‘$i$’ . (a) Force and moment balance in X-Y plane. (b) Force balance in Z-direction.

Figure 3

Figure 4. Internal components of a link.

Figure 4

Algorithm 1 Z-direction motion control algorithm

Figure 5

Figure 5. Block diagram of the control law implementation.

Figure 6

Figure 6. Uncertainties in dynamical system parameters.

Figure 7

Figure 7. Environmental disturbances. (a) No disturbance condition. (b) Random disturbance condition. (c) Pulse disturbance. (d) High-frequency disturbance.

Figure 8

Table I. Parameters for the controlling snake robot motion.

Figure 9

Table II. Algorithm parameters.

Figure 10

Figure 8. 3D motion of the snake robot in a horizontal straight line along with vertical motion.

Figure 11

Figure 9. 3D motion of the snake robot in horizontal sinusoidal path along with vertical motion.

Figure 12

Figure 10. Variation in buoyancy in a single link. (a) Buoyant mass. (b) Total mass variation in a link.

Figure 13

Figure 11. Error in head angle: straight line path.

Figure 14

Figure 12. Sliding surface: straight line path.

Figure 15

Figure 13. Offset angle: straight line path.

Figure 16

Figure 14. Velocity tracking of the snake robot: straight line path.

Figure 17

Figure 15. Error in head angle: sinusoidal path.

Figure 18

Figure 16. Sliding surface: sinusoidal path.

Figure 19

Figure 17. Offset angle: sinusoidal path.

Figure 20

Figure 18. Velocity tracking of the snake robot: sinusoidal path.

Figure 21

Figure 19. 3D motion of a snake robot with SMC scheme: sinusoidal path.

Figure 22

Table III. Chattering indicator straight line path.

Figure 23

Table IV. Chattering indicator sinusoidal path.

Figure 24

Table V. Error tracking: straight path.

Figure 25

Table VI. Error tracking: sinusoidal path.

Figure 26

Figure 20. 3D motion using PD controller.

Figure 27

Figure 21. Z-position control.

Figure 28

Figure 22. Error tracking in Z-direction.

Figure 29

Figure 23. 3D motion of the snake robot.

Figure 30

Figure 24. Position tracking of the vertical motion.

Figure 31

Figure 25. Tracking in Z-direction.

Supplementary material: File

Patel and Dwivedy supplementary material 1

Patel and Dwivedy supplementary material
Download Patel and Dwivedy supplementary material 1(File)
File 28.4 MB
Supplementary material: File

Patel and Dwivedy supplementary material 2

Patel and Dwivedy supplementary material
Download Patel and Dwivedy supplementary material 2(File)
File 22.5 MB