1 Introduction

Since the advent of underwater vehicles, there has been a transformative progression in the exploration of marine resources. This encompasses marine biodiversity, energy reserves, archaeological treasures, and geological formations. These vehicles not only unlock the mysteries of the deep but also serve as invaluable tools during environmental or man-made disasters, providing access to hazardous regions. Additionally, they play a pivotal role in infrastructure assessments and construction inspections [1]. With the burgeoning growth of marine industries and offshore engineering, the typology of underwater vehicles has diversified. Among these, the snake-like robot stands out. Its unique design enables it to navigate confined spaces, such as pipelines, offshore energy infrastructures, underwater foundational piles, coral mazes, and intricate terrains. This is attributed to its compact cross-sectional profile, exceptional flexibility, and motion stability.

Biomimetic robots, a cornerstone of bionic technology, are witnessing a surge in engineering applications. These robots emulate various aquatic entities, ranging from fish, octopuses, and jellyfish to starfish, turtles, and scallops [2,3,4]. A recent innovation in this realm is a beaver-inspired hind limb underwater robot, crafted specifically for intricate underwater navigation [5]. Snakes, with their elongated, limbless form and adaptability across diverse terrains, have become a focal point for the development of snake-like robots.

In 1972, Shigeo Hirose introduced the pioneering snake-like robot, ACM-III [6, 7]. Comprising 20 sequentially connected rigid modules, this avant-garde creation mirrored the vertebrate structure and kinematic principles inherent to snakes. Each module was powered by an individual motor system, facilitating fluid, snake-like movement. Successive iterations of the ACM robots showcased enhanced designs and advanced control mechanisms suitable for diverse terrains. For instance, ACM-R3 and ACM-R4 utilized orthogonal bending joints for versatile navigation [7, 8]. The ACM-R5 was a landmark innovation, demonstrating proficiency in both terrestrial and aquatic environments, even executing underwater tumbling maneuvers [7]. The design ethos of the ACM series was anchored in multi-link articulated wheeled joints.

Another innovative series, the AIRo, was pioneered by Hirose’s research team. These robots, specifically designed for pipeline inspections, utilized spherical wheels to seamlessly navigate and circumnavigate within pipes [9]. A standout model, the AIRo-2.2, introduced a shadow-based operational assistant technique. This method facilitated the identification of pipeline shapes and ensured autonomous navigation through both linear and meandering pipes [10]. Cornell Wright and his team conceptualized a unique snake-like robot. This design featured fully rigid modules interconnected by orthogonal joints. Such a configuration allowed for a comprehensive 180° rotation, with each module capable of rotating up to 90° relative to its preceding module. This design innovation ensured versatile locomotion, rotation, and 3-D climbing capabilities [11]. The SEA Snake series introduced another design nuance. These robots employed rubber-based torsional springs, ensuring elastic actuation between adjacent modules. This feature not only enhanced flexibility but also augmented controller capabilities for holistic body movements. As a result, these robots showcased adaptability across diverse terrains, including grasslands, tree trunks, and pipes [10, 11]. Further advancements in snake-like robotics were seen in the “Perambulator” and “Explorer” series. These amphibious robots, products of the Shenyang Institute of Automation from the Chinese Academy of Sciences, epitomized the adaptability and versatility of snake-inspired designs [12, 13].

In the evolving landscape of robotic design, multi-module snake-like robots predominantly feature rigid joints and are equipped with wheels [1, 9,10,11, 14]. These design choices have proven effective for facilitating diverse movements on terrestrial terrains. Early iterations of snake-like robots utilized passive wheels for vertical support at environmental contact points. Their efficiency was augmented with the inclusion of additional wheels or supports. For instance, Hirose’s ACM III showcased 20 wheeled modules, while ACM-R3 and Crespi’s AmphiBot I and II had wheels centrally positioned on each joint [4,5,6, 15,16,17]. However, the utility of passive wheels was confined to relatively even terrains. To navigate more challenging environments, active propulsion mechanisms, such as motorized wheels or pedrail tracks, were integrated. Hirose’s ACM-R4, for instance, featured a mechanism driving wheels at each joint [7]. Liljeback et al.’s Mamba employed rubber wheels powered by singular servo motors [18]. Klaassen et al.’s GMD-Snake 2, designed to emulate the rectilinear movement of snakes, utilized belly scales to enhance traction and propulsion [19]. Other robots, like Borenstein’s OmniTread Series [20, 21] and Siegwart’s Proboscis robot [22], incorporated bellows-like linkages, ensuring adaptability in challenging terrains.

The integration of watertight and protective features in snake-like robots enables their operation in a variety of environments, especially underwater. For instance, Kelasidi, Liljeback, and their colleagues pioneered the development of an amphibious snake-like robot named “Mamba.” This robot is adept at performing both lateral undulation and eel-like movements [18, 23]. While snake-like robots designed for land can exhibit diverse movements such as sine wave, side winding, and rolling, mimicking these movements underwater is more challenging due to the heightened energy requirements and diminished efficacy. Traditional underwater vehicles predominantly utilize propellers and rudders for movement. However, the advent of elastic joints and multi-propulsion actuators signals a transformative shift in the compliance control of underwater snake-like robots. For example, while AmphiBot I and II are equipped with wheels for land-based movement, they also incorporate caudal fins to generate thrust underwater [16, 17, 24].

Propellers remain the primary propulsion mechanism for underwater vehicles, chosen for their efficiency and ease of control. A notable advancement in this domain is the Eelume, a second-generation snake-like robot crafted by Liljeback’s team in 2017. This multi-propeller underwater robot [25] features two distinct propulsion modules: one for longitudinal thrust with propellers on either side of its body, and another for lateral movement with internal horizontal and vertical propellers. The subsequent iteration, EELY500, enhanced motility by optimizing propeller placement and also boasted improved battery longevity and increased storage capacity [26]. Choset and his team introduced a unique design approach with a slender snake-like robot that utilized axial propulsion at its rear, concealing all propellers within its structure [27]. In a similar vein of innovation, Tang et al. [28] integrated the gliding attributes of underwater gliders into their snake-like robot. This three-dimensional design, equipped with five pitch-yaw joints and telescopic joints, demonstrated exceptional gliding mobility and pitch control, as confirmed by pool tests.

Underwater snake-like robots are celebrated for their adaptability. However, they face a primary challenge: ensuring efficient locomotion. This challenge is rooted in the underactuated motion control system, a limitation brought about by the robot’s sophisticated flexible mechanics. In the domain of underwater soft robots, integrating servo motors and gear pumps is standard practice. These elements drive movement by altering the robot’s form, a process achieved by anchoring with tendon wires followed by tension application [3]. Interestingly, this design methodology is infrequently used for snake-like robots that have sturdier exteriors.

Nevertheless, merging elastic joints with multi-propulsion actuators emerges as a promising strategy to boost compliance control in underwater snake-like robots. This paper introduces a groundbreaking underwater snake-like robot, notable for its exceptional flexibility and agility, specifically designed for inspecting underwater structures in tight spaces. The design showcases the latest innovations in elastic joints and multi-propulsion actuation. A key highlight is the elastic joint mechanism, which incorporates springs in parallel, displaying a stiffness gradient from the center outward. Additionally, the integration of a multi-propeller control system offers an avant-garde solution to the robot’s actuation and control dilemmas.

In the ensuing sections, this paper delves into pertinent works related to underwater robot designs, drawing particular attention to comparisons with established designs. The biomimetic structure, taking cues from snake physiology, and its integration into the robot’s design are meticulously expounded upon. The robot’s modular design is comprehensively delineated, highlighting the inclusion of diverse sensors, omnidirectional propulsion modules, and flexible joint modules. Further, the architecture and capabilities of the control module are detailed, accompanied by an in-depth discussion on strategies for optimizing motion control. The paper also presents the outcomes of finite element simulation experiments, juxtaposing them with results from other systems. In conclusion, the paper encapsulates the primary insights and innovations introduced, while also suggesting avenues for future exploration.

2 Biomimetic structure

2.1 Biomimetic locomotion and mechanism

Snakes possess a highly sophisticated musculoskeletal system and locomotion. Their skeleton primarily consists of a vast number of vertebrae, typically ranging from 200 to 400. While the relative rotation between individual vertebrae is small (horizontal rotation of 10°–20° and vertical rotation of 2°–3°), when accumulated across the entire body, these rotations enable the snake’s characteristic movement. This movement is achieved through continuous muscle contractions and relaxations, leading to periodic changes in body shape that propel the snake forward.

Snakes exhibit various locomotion modes to adapt to different environments, such as lateral undulation, sidewinding, rectilinear movement, and concertina motion. Lateral undulation, in particular, is the most common terrestrial locomotion mode for snakes and the only mode for aquatic locomotion [29]. However, the mechanism of lateral undulation differs between terrestrial and aquatic environments. On land, snakes move by leveraging anisotropic friction at contact points between their skin and the ground. In contrast, underwater, snakes generate movement by pushing against the water, similar to the swimming motion of eels. The large amplitude body bend undulations in eels, which allow at least one full wavelength to be transferred along their entire body while swimming, result in minimal yaw moment and a tendency for recoil, providing low swimming speed and excellent maneuverability [30]. Studies have indicated that the motion pattern of eels can be generalized as a sinusoidal traveling wave from head to tail with a constant amplitude [13, 15, 31, 32]. This motion can be described for the underwater lateral undulation of snakes using the following two-dimensional follow equation:

$$ y\left( {x,t} \right) = A\left( x \right)\sin \left[ {2\pi \left( {\frac{x}{\lambda } + \frac{t}{T}} \right)} \right] $$
(1)

where t represents time; x signifies the body’s midline; y denotes the lateral displacement; and A(x), λ, and T represent the amplitude, length, and period of the traveling waves, respectively.

Snake-inspired robots often emulate the snake’s musculoskeletal system. However, they tend to overlook the intricate morphology of snake muscles. Typically, these robots consist of multiple rigid modules connected sequentially by joints. They achieve movement by replicating the sinusoidal motion of real snakes, primarily using servo motors within each module. In essence, while these robots mimic snake movement, they do not fully capture the nuanced driving patterns inherent to snake muscles.

2.2 Rotational joints

The snake’s musculoskeletal system is intricate, characterized by its relatively straightforward vertebrae. Each vertebra comprises an anterior section, termed the vertebral body, and a posterior segment, known as the vertebral arch. The vertebral arch of one vertebra fuses with the centrum of its neighboring vertebra, forming an arthrosis reminiscent of a ball hinge. The snake’s rotational movement arises from variations in muscle strength and elongation, presenting significant challenges for replication in mechanical joints with today’s technology.

Consequently, snake-inspired robots have adopted alternative mechanical joint designs, including parallel, orthogonal, and universal joints. Parallel joints, essentially pairs of parallel chain bars, connect modules in series perpendicular to the robot’s longitudinal axis, facilitating lateral bending. Hirose’s ACMIII is a notable example of robots employing parallel joints [6, 7].

Orthogonal joints, on the other hand, enable three orthogonal translational rotations by altering the orientation of adjacent joints. These joints, while maintaining a singular motor and parallel linkage, support 3-D movements with a straightforward control mechanism. For instance, ACM-R3, equipped with orthogonal joints, can perform a range of movements, such as pedal wave, lateral rolling, and sinus-lifting [7, 8].

Universal joints, spherical in design, allow for any relative rotation between neighboring modules, granting robots a wide range of 3-D motions. Robots with these joints, like Hirose’s amphibious ACM-R5, exhibit enhanced mobility and adaptability to various environments. This robot, in particular, features a sealed design with flexible bellows and an aluminum exterior [5]. Similarly, other robots like GMD-Snake2 by Linnemann et al., SSR-II by Takeshi et al. and the Orochi series by Takanash et al. from NEC [33,34,35], have also extensively incorporated universal joints.

3 Robot design

3.1 Design objectives and features

This paper introduces a novel snake-like underwater robot tailored for operations in challenging environments. The robot’s design emphasizes the following key characteristics:

  • Compactness crafted for narrow spaces, the robot’s slender body allows it to navigate areas inaccessible to conventional underwater robots like ROVs and AUVs. Its elongated form ensures ample space for internal components.

  • Lightweight & Buoyancy the robot’s design prioritizes weight efficiency, facilitating longer distance travel with reduced energy. Its buoyancy is meticulously calibrated to be near neutral, minimizing energy used for vertical movement.

  • Waterproofing & Pressure Resistance the robot’s exterior, made from materials like aluminum alloy and rubber, is both waterproof and pressure-resistant. This ensures consistent weight and buoyancy by averting water ingress.

  • Modularity adhering to modular design principles, the robot’s components are function-based. This includes propulsion, power, actuation, rotational joints, and sensors. Such modularity enhances adaptability, as modules can be individually controlled, added, removed, or repaired.

  • Agility the robot boasts high flexibility and maneuverability, capable of lateral undulation—a primary forward motion technique. Its design also supports various movements, from docking in flowing water and 3-D rolling to U-turns, vital for navigating intricate environments like pipes, offshore platform infrastructures, and coral reefs.

The robot boasts a modular construction, meticulously tailored for the inspection of underwater structures in challenging environments, such as within pipes or amidst intricate terrains. Its streamlined design, free from any protrusions, eliminates the risk of entanglement with aquatic vegetation. As illustrated in Fig. 1, the robot consists of a head module (labelled as 1), a tail module (labelled as 2), numerous cavity modules, and a variety of movable modules. These include a rotating head (labelled as 4), a flexible joint module (labelled as 5), and an omnidirectional thruster module (labelled as 6). Additionally, several control modules (labelled as 3) play a crucial role in the robot’s functionality.

Fig. 1
figure 1

The underwater snake-like robot: 1 head module, 2 tail module, 3 control module, 4 rotating head module, 5 flexible joint module, 6 omnidirectional thruster module

The design presented in this document enables the robot to operate autonomously, eliminating the need for power supply from large vessels, as it utilizes a 22.2 V battery for direct power to the body. This design offers improved flexibility compared to the Eelume snake-like robot and is suitable for smaller diameter pipes. While both designs employ motors to adjust the cable and control its curvature to navigate various pipe turns, the proposed design enables adjustments in pitch and yaw angles within a range of ± 90°, In contrast, the Eelume snake-like robot offers adjustments within a narrower range of ± 60 °C (Table 1).

Table 1 Relevant parameters between this design and Eelume [25, 26]

3.2 Sensing and observation systems

The underwater snake-like robot, designed for inspecting challenging underwater structures and intelligently analyzing their health status, is equipped with a comprehensive sensing system and specialized observation tools.

3.2.1 Head and cavity modules

The head module of the robot features a transparent protective cover and an LED bubble. This LED bubble acts as supplementary lighting, proving essential in both shallow and deep waters. The semispherical design of the cover minimizes hydraulic resistance, while the LED bubble sheds light in the deep water’s darkness, aiding in the observation of aquatic creatures that might scatter in the presence of intense light.

The cavity module, encapsulated within a cylindrical outer shell sealed by hot melt adhesives, houses a range of sensors. These include a temperature sensor, a pressure sensor, a Doppler velocimeter, and a six-axis accelerometer. The spacious design of the cavity module ensures that these sensors are well-arranged and protected.

3.2.2 Sensing and data processing system

The flexible snake-like underwater robot introduced in this research is specifically designed to inspect underwater structures in challenging environments and intelligently analyze their health status to detect potential structural issues. This robot incorporates two distinct sensing systems: an environmental perception sensor system for gathering hydrological data to guide its movement, and an ultrasonic sensor system dedicated to structural damages inspection. All these sensors are interconnected with the control module, facilitating seamless electronic data exchange.

As depicted in Fig. 2, the sensors housed within the cavity modules, which include the temperature sensor, pressure sensor, Doppler flowmeter, and a six-axis accelerometer, are responsible for collecting data on the water flow surrounding the robot. This data is then relayed to the microcomputer within the control module for processing. Once processed, the results are transmitted to the ground terminal and displayed on its screen.

Fig. 2
figure 2

The sensor system

Additionally, the rotating head of the robot is equipped with sensors that gather inspection data. The exposed camera captures optical imagery, while the ultrasonic probe records acoustic images. The visual images are directly related to the ground terminal by the microcomputer for in-depth structural damage analysis. It is worth noting that the transceiver circuit acts as a supplementary component for the ultrasonic probe. During its operation, the transceiver circuit emits ultrasonic waves directed at the target structure. The signals reflected from the surface of the detected objects, along with the emitted ultrasonic waves, are captured by the ultrasonic probe. These retrieved signals are then sent to the microcomputer via the transceiver circuit, where they undergo filtering and Fourier transformation to produce a visual image for analysis.

3.3 Rotating head module

Delving into the specifics, in Fig. 1, the head module is securely attached to either the omnidirectional thruster module or the rotating head via a cavity module. This connection is fortified using sealed gaskets and fasteners. The fastener exerts a pre-retraction force and is complemented by a rubber ring at the connection point. In a similar fashion, the tail module is connected to another omnidirectional thruster module or rotating head via a cavity module. Furthermore, the forward thruster is strategically mounted on the tail module using a bracket.

The rotating head module, as depicted in Fig. 3, is a complex assembly comprising a protective sleeve, pedestal, bearing, an exposed camera, and an ultrasonic probe (labeled 41 to 45). Some internal components, such as the steering engine, remain concealed and are thus not labelled. The protective sleeve plays a crucial role in shielding the camera and ultrasonic probe. The pedestal, on the other hand, accommodates the steering engine. A waterproof bearing seamlessly connects the protective sleeve and the pedestal, with a waterproof gasket positioned at their interface to prevent any water leakage. This gasket is further connected to the flexible joint module at the pedestal’s end. It’s noteworthy that all electronic components housed within the rotating head module are interconnected with the central control module.

Fig. 3
figure 3

The rotating head module

3.4 Omnidirectional propulsion system

The underwater robot’s propulsion system is an intricate amalgamation of several omnidirectional thruster modules paired with a primary forward thruster situated in the tail module. Each omnidirectional module, designed with multi-screw mechanics, features a set of vertically symmetrical propellers for yaw control and another set of horizontally symmetrical propellers for pitch control. These are commonly identified as the yaw and pitch thrusters. These modules can produce both lateral and vertical propulsion either independently or in tandem.

Mirroring the natural articulation of a snake’s vertebrae, the flexible joint modules ensure fluid inter-module movement. In a coordinated assembly of movable modules, the omnidirectional thruster modules dictate the motion of their corresponding flexible joint modules, resulting in harmonious and fluid movements throughout the robot.

Further enhancing its capabilities, the rotating head module is equipped with an exposed camera and an ultrasonic probe, dedicated to capturing visual data. The tail module, anchoring the robot’s end, houses both the forward thruster, which generates axial propulsive force, and a bracket that provides structural support, firmly connecting to the module ahead.

In this design, the P75 thruster (HYDROCEAN, China) is selected as the power source for the snake-like robot. The P75 is one of the most extensively used thrusters in the underwater robotics field, capable of delivering a maximum forward thrust of 5 kg and a maximum reverse thrust of 4 kg. The PWM signals sent from the controller to the P75 thruster require conversion through an electronic speed controller (ESC) to function properly. The process of thruster control is depicted in Fig. 4.

Fig. 4
figure 4

Architecture diagram of thruster control

The transmission frequency of the PWM signals must be maintained at 50 Hz (20 ms). The thruster halts operation when the duty cycle is at 1500 us. It operates in reverse when the duty cycle ranges between 1100 and 1475 us, and it moves forward when the duty cycle is between 1525 and 1900 us. The dead zone, where the thruster remains inactive, spans from 1475 to 1525 us.

As illustrated in Fig. 5, the comprehensive omnidirectional thruster module is composed of an outer shell, brushless motors, thrusters, sealing rings, and fasteners, labeled sequentially from 61 to 65. The yaw thruster and pitch thruster are orthogonally and securely mounted within the outer shell, aligned parallel to the robot’s axis, and are hermetically sealed from each other. The shafts of the propellers extend out from the outer shell, with two brushless motors situated in the middle of each twin propeller set to connect with them. These brushless motors can control the twin propellers to produce varying rotational movements in response to pulse width modulation signals received from the driver board, which in turn gets its control signal from the central processor. Given the symmetrical arrangement of the twin propellers, the dynamic characteristics of the thruster remain consistent. This design facilitates sensitive and swift orientation adjustments through the counter-rotation of the twin propellers, leading to a more substantial thrust output.

Fig. 5
figure 5

Omnidirectional thruster module

3.5 Flexible joint mechanism

The snake-like robot features an innovative flexible joint design, consisting of two interconnected endplates, a traction controller, three distinct spring sets, and multiple hauling cables. Figure 6a demonstrates how the two endplates are directly connected by these springs. The design’s effectiveness hinges on the strategic arrangement and stiffness of the springs: The innermost spring (depicted in red) is the stiffest with a 1000 N/m rating, the intermediate spring (depicted in blue) is the most flexible with a 200 N/m stiffness, and the outermost spring (depicted in green) has a 500 N/m stiffness. This setup enables a variety of deformation capabilities, allowing the robot to fluidly adjust its movement posture by changing the angle between consecutive modules. The varying spring stiffnesses contribute to smoother joint deformations, bolstering the robot’s structural integrity, mitigating deformation impacts, and prolonging its service life.

Fig. 6
figure 6

The draft of flexible joint (color figure online)

Figure 6a provides a detailed view of the flexible joint, while Fig. 6b zooms in on the hauling cables (labeled 57). These steel wire cables are divided into two groups by the traction controller, with each group’s end securely attached to the inner side of an endplate, and the other end connected to the traction controller. The joint module also includes fixed bobbins (labeled 59) to guide the hauling cables. Additionally, the interconnected endplates are made from a weldable alloy metal.

The traction controller, depicted in Fig. 6c, is crucial for the joint’s functionality. Positioned between the endplates, it manipulates their movement through the hauling cables. This controller comprises a main frame, a steering engine, several reels, and both driving and follower gears, labeled sequentially from 581 to 585 in Fig. 6c and d. Controlled by the steering engine, the reels wind the hauling cables, causing the driving gear to propel the follower gear, which in turn rotates the reel shaft. As the reels rotate, the hauling cables extend linearly, prompting the interconnected endplates to move. The main frame features multiple apertures to accommodate the three spring sets, ensuring that when the hauling cables adjust the endplates’ position, the springs effectively distribute the deformation force across adjacent modules.

Incorporating the state-of-the-art flexible joints and omnidirectional thruster modules, this underwater snake-like robot stands distinct from its contemporaries. Its propulsion system, characterized by hyper-redundancy, empowers the robot with a diverse range of motion attitudes. The design of the flexible joint, with its layered rigidity structure, facilitates a spectrum of motion adjustments and transitions between various locomotion modes. This structure, featuring springs arranged from the innermost to the outermost with decreasing stiffness, ensures optimal flexibility.

Furthermore, the flexible joint module is adept at energy absorption and release, ensuring stability even under external impacts. This not only augments the robot’s resilience against external forces but also extends its operational lifespan. The mechanical design of these joints has also streamlined the control over the robot’s bending deformations. When paired with the omnidirectional thruster modules, the robot exemplifies a harmonious blend of precision and agility in its underwater operations.

3.6 Control module

The control module acts as the “brain” of the underwater robot, expertly orchestrating its movements, collecting data, and interacting with the environment. It includes essential components like a dedicated battery, a driver with a transceiver circuit and microcomputer, a central processing unit (CPU) for managing sensor data, storage, and command distribution, and an Ultrasonic Communication Unit for communication, especially during autonomous patrol. The CPU analyzes sensor data to issue accurate commands to the propulsion system and steering engines, ensuring precise and intentional operation.

The snake-like robot’s hardware control system consists of an onshore ground station (PC), an upper computer, and a lower computer on the robot. The lower computer sends depth and attitude signals to the upper computer, which forwards them to the ground station. After processing these signals using a control algorithm, the ground station sends PWM signals back to the upper computer, which then transmits them to the lower computer. This establishes a closed-loop control system, enabling precise underwater motion control as depicted in Fig. 7.

Fig. 7
figure 7

Overall architecture of the control module

3.6.1 Hardware components

3.6.1.1 Upper computer

The Raspberry Pi 4B (Raspberry Pi Foundation, U.K.), with 8 GB of RAM and a 32 GB memory card running Ubuntu 18.04 and ROS-melodic, is pivotal in the snake-like robot, serving as its central processing unit. It handles raw sensor data, communicates with the onshore computer, and outputs PWM signals for controllers. Connected to an IMX377 camera for image processing and an M750D sonar for underwater environment observation, it plays a vital role in the robot’s functionality.

Adopting a “PC + Embedded” architecture, the Raspberry Pi acts as the robot’s control system, while the PC facilitates remote monitoring. As shown in Fig. 8, the Raspberry Pi manages data acquisition and chassis control, and the PC can remotely control it via SSH protocol, with ROS’s distributed structure enabling data sharing between the two.

Fig. 8
figure 8

The working process of STM32

3.6.1.2 Lower computer

At the current stage, the STM32 development board in the snake-like robot primarily controls the rotational speed of the propellers at each joint, responding to PWM signal instructions based on commands from the upper computer. The MiniSTM32 development board (Zhengdian Atomic, China) is selected as the drive control board. The MiniSTM32 development board utilizes the STM32F103RBT6 as its MCU, operates at a frequency of 72 MHz, and allocates 8 timer channels to output PWM signals to the propellers. Additionally, a serial port interface is allocated for receiving data from the MS5837 depth sensor, and an IIC interface for receiving Euler angle data from the N200 nine-axis sensor. Furthermore, a USB serial port is allocated for communication with upper-level devices (Raspberry Pi), to transmit sensor data to the Raspberry Pi or to receive PWM data from it. The program is developed using Keil software, and the control process of STM32 is illustrated in Fig. 8.

3.6.1.3 Position sensors

The MS5837 depth sensor (TECONNECTIVITY, China) and the N200 nine-axis attitude sensor (WHEELTEC, China) are utilized to measure the depth and attitude of the snake-like robot, respectively. The MS5837 depth sensor, equipped with a built-in solution board, calculates the depth signal and transmits it to the STM32 via serial communication. This setup allows the STM32 to directly receive and process the depth data without the need for additional calculations. Additionally, the N200 nine-axis attitude sensor is adopted, providing a more comprehensive data set compared to the MPU series of attitude sensors, as it includes three magnetometers, making it a 9-axis sensor. This enhancement ensures more accurate collection of the snake-like robot’s attitude data, especially in terms of the yaw angle ψ, where the N200, after applying a complementary filter algorithm, hardly experiences any drift. Overall, this data collection scheme for the snake-like robot’s sensors is characterized by its simplicity, reliability, and precision, providing important data support for the control and navigation of the snake-like robot.

3.6.1.4 Power management module

The hardware control system of the snake-like robot is powered by a 22 V 18650 model aircraft battery pack, necessitating efficient power distribution. The ROV marker power management module is adopted for managing and distributing the power. The model aircraft battery connects to the input of the power management module, while the outputs of the power management module are connected to two distribution boards. These distribution boards provide power to the propellers, Raspberry Pi, and STM32, respectively. Finally, the waterproof switch is connected to the power input of the power management module. The waterproof switch, distribution boards, and power management module are showcased in Fig. 9.

Fig. 9
figure 9

Components of the snake-like robot

3.6.2 Operational modes

The underwater robot’s control system provides users with a choice between two unique operational modes. In the remote-control mode, operators direct the robot using a ground terminal computer. Alternatively, in the autonomous patrol mode, the control module autonomously analyzes and broadcasts actuating signals.

3.6.2.1 Remote-control mode

This mode emphasizes a seamless human–computer interface. Operators relay commands to the robot’s control module through a ground terminal. Concurrently, the robot gauges its motion using inputs from the attitude sensor, Doppler velocimeter, and a six-axis accelerometer. A Proportional-Integral (PI) algorithm then processes these inputs, factoring in the discrepancy between the desired and current attitudes, to generate a control signal. This signal is dispatched to both the propulsion system and the flexible joint module for execution.

For enhanced precision in motion attitude control, a predefined connecting rod model is utilized. Each module’s tail has its own Cartesian coordinate system with two degrees of freedom, leading to overlapping coordinate system origins. Using data from the six-axis accelerometer in the cavity module, the rotation matrix between adjacent systems is determined. This facilitates the derivation of each module tail’s relative motion attitude compared to its predecessor. By sequentially processing from the tail module, the motion attitude for every module’s tail is ascertained, further aiding in control signal computation. These signals, mainly focused on adjusting to the desired attitude, directly modulate the flexible joint module’s steering engine and the propulsion system’s thrusters, ensuring the robot’s accurate and responsive motion control.

3.6.2.2 Autonomous patrol

In this mode, operators define a target using the ground computer. The control module then manages the propulsion system and the flexible joint module based on this target. Sensors continue to relay real-time data to the ground terminal via an ultrasonic communication unit throughout the task’s execution.

The autonomous patrol mode’s cornerstone is its automatic obstacle avoidance capability, heavily reliant on ultrasonic probes for distance measurement. The robot determines the optimal obstacle avoidance strategy by analyzing ultrasound distance measurements and its current motion attitude. This analysis informs the necessary attitude adjustments to navigate around obstacles, as illustrated in Fig. 10.

Fig. 10
figure 10

The process of automatic obstacle avoidance function

A primary design goal for this function is to maintain the structural integrity of the flexible underwater robot. When obstacles are detected via ultrasonic signals, the central processing unit evaluates the best movement and path for avoidance, simultaneously referencing the current motion attitude from the six-axis accelerometers. After determining the necessary attitude adjustments, which include parameters like orientation angles, the control module directs the propulsion system and the flexible joint module. Notably, the flexible joint module’s steering engine modifies the robot’s attitude based on the orientation angle, while the adjacent omnidirectional thruster module counter-rotates to navigate around obstacles.

3.7 Estimated operational duration analysis

In the current design, energy management is a critical factor in ensuring the effective and sustained operation of the serpentine underwater robot. A series of calculated steps have been taken to accurately assess the robot’s energy consumption and estimated operational duration, ensuring that the robot has an adequate power supply while performing tasks.

Initially, detailed records of the power consumption of the thrusters in various operational states, including idle, low, medium, and high speeds, were compiled. Additionally, the power consumption of all sensors during operation was documented. Power consumption for other electrical components, such as controllers and communication modules, is also listed in Table 2.

Table 2 Hardware information utilized in this design

Based on the anticipated operational state of the robot, the average power consumption has been calculated. This was achieved by multiplying the power consumption of each component by the percentage of total operational time it occupies, and then summing the results for all components. The formula is as follows:

$$ P_{{{\text{avg}}}} = \sum \left( {P_{i} \times T_{{{\text{percent}},i}} } \right) $$
(2)

where \({P}_{{\text{avg}}}\) represents the average power consumption, \({P}_{i}\) is the power consumption of the ith component, and \({T}_{{\text{percent}},i}\) is the percentage of total operational time occupied by the ith component.

The serpentine robot is segmented into six distinct modules: the head, tail, five control modules, three flexible joint modules, two rotating head modules, and four omnidirectional thruster modules. Each control module is equipped with an N200 attitude sensor and an MS5837 depth sensor to ensure precise navigation and depth maintenance. The MiniSTM32 microcontroller orchestrates the coordination of these six modules through a bus system, eliminating the need for multiple controllers and thus optimizing energy efficiency.

The Raspberry Pi serves as the central processing unit, interfacing solely with the MiniSTM32. This streamlined communication means that only one Raspberry Pi is required for the entire robot, which, along with the camera, LED lights, and camera assembly, is housed within the head of the robot. The tail section contains a primary propulsion unit. Each flexible joint module operates with eight motors, and each omnidirectional thruster module contains two thrusters, further contributing to the robot’s maneuverability. The rotating head modules are outfitted with sonar and a camera for environmental scanning and data acquisition.

During closed-loop control operations, the thrusters are not continuously active, allowing for a duty cycle (\(T_{{{\text{percent}}}}\)) of 0.5, which reduces energy consumption when full propulsion is not necessary. In contrast, other hardware components, such as sensors and processing units, require constant operation, assigning them a \(T_{{{\text{percent}}}}\) of 1. Utilizing Table 2 and Eq. (2), the power consumption for each module can be calculated, along with the average power consumption for the entire robot. This approach ensures a comprehensive understanding of the robot’s energy requirements, facilitating the optimization of its operational endurance and efficiency (Table 3).

Table 3 Power consumption of snake robot

The average power consumption for the robot design presented in this study is calculated to be 564.24 watts. As outlined in Table 2, the combined energy capacity of the battery set is 603.84 Wh. Operational duration is derived by dividing the total battery capacity by the average power demand, resulting in an estimated operational time of approximately 1.07 h for the current design. To prevent the robot from shutting down due to battery exhaustion during essential operations, a safety factor is integrated into the operational time calculation. The adjusted operational time, with the safety factor taken into account, is calculated as follows:

$$ T_{{{\text{safe}}}} = T_{{{\text{work}}}} \times \left( {1 - {\text{SF}}} \right) $$
(3)

Here the safety factor (SF) is chosen to be 0.2. This value strikes a balance between providing a sufficient energy buffer and avoiding an overly conservative limitation on the robot’s total operational period.

With these calculations, the anticipated operational time for the serpentine underwater robot designed in this research is established at 60 min. This represents a strategic and pragmatic approach to energy management, designed to ensure sustained and stable functionality in subaquatic conditions.

4 Motion control

4.1 Kinematics of the flexible joint

Figure 11 depicts the flexible joint, which, when constructed with multiple springs, can be likened to a flexible link. During the operation of the underwater robot, this link experiences two primary orthogonal forces:

  • \({F}_{1}\): the axial thrust that aligns with the omnidirectional thruster module.

  • \({F}_{2}\): a thrust that is perpendicular to the axis of the omnidirectional thruster module.

Fig. 11
figure 11

Equivalent flexible link diagram

Additional forces, \({F}_{3}\) and \({F}_{4}\), act orthogonally on the adjacent flexible link. \({F}_{u}\), \({F}_{v}\) and \({F}_{w}\) signify the cumulative forces exerted by the other modules on the flexible link, projected onto a 3D coordinate system. The origin of this system is situated at the end of the flexible joint that connects to the omnidirectional thruster module. The XY plane of this system represents the cross-section of the flexible joint, with the z-axis indicating its neutral axis. The variables \(u\left(\delta ,t\right)\), \(v\left(\delta ,t\right)\), and \(w\left(\delta ,t\right)\) denote the three linear displacements. Meanwhile, \({f}_{u}\), \({f}_{v}\), and \({f}_{w}\) represent the forces due to the flow on the link. Other variables like \({d}_{u}\), \({d}_{v}\), and \({d}_{w}\) account for the nonlinear disturbances at the link’s end, and \({\gamma }_{1}\), \({\gamma }_{2}\), and \({\gamma }_{3}\) are the control inputs from the link’s end-effector.

The motion dynamics of this equivalent flexible link are captured in n Eqs. (4) to (6) [36, 37], and the definition of the mathematical symbols are described in Table 4:

$$ m_{0} \ddot{u} = - {\text{EI}}u_{\delta \delta \delta \delta } + \left( {F_{\vartheta } + \frac{3}{2}{\text{EA}}u_{\delta }^{2} } \right)u_{\delta \delta } + {\text{EA}}\left( {u_{\delta } w_{\delta \delta } + u_{\delta \delta } w_{\delta } } \right) + \frac{{{\text{EA}}}}{2}\left( {u_{\delta \delta } v_{\delta }^{2} + 2u_{\delta } v_{\delta } v_{\delta \delta } } \right) + f_{u} $$
(4)
$$ m_{0} \ddot{v} = - {\text{EI}}v_{\delta \delta \delta \delta } + \left( {F_{\vartheta } + \frac{3}{2}{\text{EA}}v_{\delta }^{2} } \right)v_{\delta \delta } + {\text{EA}}\left( {v_{\delta } w_{\delta \delta } + v_{\delta \delta } w_{\delta } } \right) + { }\frac{{{\text{EA}}}}{2}\left( {v_{\delta \delta } u_{\delta }^{2} + 2v_{\delta } u_{\delta } u_{\delta \delta } } \right) + f_{v} $$
(5)
$$ m_{0} \ddot{w} = {\text{EA}}\left( {w_{\delta \delta } + u_{\delta } u_{\delta \delta } + v_{\delta } v_{\delta \delta } } \right) + f_{w} $$
(6)
Table 4 Definition of mathematical terms

Equation (4) describes the kinetic equation for the u displacement, incorporating factors like bending stiffness, axial force, and the elastic modulus. Equation (5) similarly describes the kinetic equation for the v displacement, while Eq. (6) focuses on the w displacement.

In these equations, \(m_{0}\) represents the sum of the unit mass (\(\rho A\)) of the link and its additional mass (\(m_{{\text{a}}}\)). \({\text{EI}}\) denotes its bending stiffness, \({\text{EA}}\) represents the product of the elastic modulus, and \({F}_{\vartheta }\) is the axial force acting on the flexible link.

Given that the length of an equivalent flexible link is L, it must adhere to specific boundary conditions, as outlined in Eqs. (7) to (9).

$$ \gamma_{1} + F_{u} + d_{u} = - {\text{EI}}u_{\delta \delta \delta } \left( L \right) + F_{\vartheta } u_{\delta } \left( L \right) + \frac{{{\text{EA}}}}{2}\left[ {u_{\delta }^{3} \left( L \right) + u_{\delta } \left( L \right)v_{\delta }^{2} \left( L \right) + 2w_{\delta } u_{\delta } } \right] $$
(7)
$$ \gamma_{2} + F_{v} + d_{v} = - {\text{EI}}v_{\delta \delta \delta } \left( L \right) + F_{\vartheta } v_{\delta } \left( L \right) + \frac{{{\text{EA}}}}{2}\left[ {v_{\delta }^{3} \left( L \right) + v_{\delta } \left( L \right)u_{\delta }^{2} \left( L \right) + 2w_{\delta } v_{\delta } } \right] $$
(8)
$$ \gamma_{3} + F_{w} + d_{w} = F_{\vartheta } + {\text{EA}}w_{\delta } \left( L \right) + \frac{{{\text{EA}}}}{2}\left[ {u_{\delta }^{2} \left( L \right) + v_{\delta }^{2} \left( L \right)} \right] $$
(9)

Furthermore, the structure of the equivalent flexible link must also satisfy initial conditions, as presented in Eqs. (1013).

$$ u\left( {0,t} \right) = v\left( {0,t} \right) = w\left( {0,t} \right) = 0 $$
(10)
$$ v_{\delta \delta } \left( {0,t} \right) = v_{\delta \delta } \left( {L,t} \right) = 0 $$
(11)
$$ u_{\delta \delta } \left( {0,t} \right) = u_{\delta \delta } \left( {L,t} \right) = 0 $$
(12)
$$ F_{u} \left( {0,t_{0} } \right) = F_{u0} ,F_{v} \left( {0,t_{0} } \right) = F_{v0} ,F_{w} \left( {0,t_{0} } \right) = F_{w0} $$
(13)

By employing this comprehensive set of equations, one can iteratively compute the linear displacements at both ends of a flexible joint, allowing for a deeper understanding of the joint’s motion dynamics.

4.2 Kinematics of the snake-like robot

The exact positioning of the ends of each module group is vital for controlling a multi-joint robot’s movement during its standard operation. The snake-like robot’s motion model is built upon a multi-coordinate framework. As illustrated in Fig. 12, there are eight coordinate systems, specifically \({{\text{z}}}_{1}\) to \({{\text{z}}}_{8}\), established at each flexible joint’s end. In addition, there’s a foundational zero-coordinate system, \({{\text{z}}}_{0}\), and a tool-coordinate system, \({{\text{z}}}_{8}\). Every z-axis is in alignment with the linkage axis direction. The associated x-axis runs perpendicular to the z-axis within the graphical plane, and the y-axis is determined using the right-hand rule.

Fig. 12
figure 12

Multi-coordinate framework of the snake-like robot

Positioning sensors, integrated into the control mode, are essential for determining the Euler angles of each joint’s posture during the robot’s operation. It is postulated that the current coordinate system has undergone rotations of r, p and h degrees around the z-axis, x-axis and y-axis, respectively, from its prior state. The rotation transformation matrix can be expressed as:

$$ {\text{Eul}}\left( {r,p,h} \right) = \left[ {\begin{array}{*{20}c} {c_{r} c_{h} - s_{r} s_{p} s_{h} } & { - s_{r} c_{p} } & {c_{r} s_{h} + s_{r} s_{p} c_{h} } \\ {s_{r} c_{h} + c_{r} s_{p} } & {s_{h} c_{r} } & {c_{p} s_{r} s_{h} - c_{r} s_{p} c_{h} } \\ { - c_{p} s_{h} } & {s_{p} } & {c_{p} c_{h} } \\ \end{array} } \right] $$
(14)

While the positions of the flexible joints in each coordinate system can be deduced using Eqs. (4) to (13), determining the spring’s end position remains theoretically challenging due to its bending nature and the variance between the distance of its ends and its resting length. However, given the infinite degrees of freedom of an equivalent flexible link, the posture sensor can gauge the spring’s end position. The transformation matrices between the coordinate systems, leveraging the Euler angle data from the posture sensor and Eq. (14), are represented as:

$$ \left\{ {\begin{array}{*{20}l} {_{1}^{0} T = \left[ {\begin{array}{*{20}c} {{\text{Eul}}\left( {r_{1} ,p_{1} ,h_{1} } \right)} & 0 \\ 0 & 1 \\ \end{array} } \right],} \hfill & {_{2}^{1} T = \left[ {\begin{array}{*{20}c} I & {J_{1} } \\ 0 & 1 \\ \end{array} } \right]} \hfill \\ {_{3}^{2} T = \left[ {\begin{array}{*{20}c} {{\text{Eul}}\left( {r_{2} ,p_{2} ,h_{2} } \right)} & {J_{2} } \\ 0 & 1 \\ \end{array} } \right],} \hfill & {_{4}^{3} T = \left[ {\begin{array}{*{20}c} I & {J_{3} } \\ 0 & 1 \\ \end{array} } \right]} \hfill \\ {_{5}^{4} T = \left[ {\begin{array}{*{20}c} {{\text{Eul}}\left( {r_{3} ,p_{3} ,h_{3} } \right)} & {J_{4} } \\ 0 & 1 \\ \end{array} } \right],} \hfill & {_{6}^{5} T = \left[ {\begin{array}{*{20}c} I & {J_{5} } \\ 0 & 1 \\ \end{array} } \right]} \hfill \\ {_{7}^{6} T = \left[ {\begin{array}{*{20}c} {{\text{Eul}}\left( {r_{4} ,p_{4} ,h_{4} } \right)} & {J_{6} } \\ 0 & 1 \\ \end{array} } \right],} \hfill & {_{8}^{7} T = \left[ {\begin{array}{*{20}c} I & {J_{7} } \\ 0 & 1 \\ \end{array} } \right]} \hfill \\ \end{array} } \right. $$
(15)

Here, \(I\) stands for an identity matrix. \({J}_{2}\), \({J}_{4}\) and \({J}_{6}\) are presumed to be the coordinate values of \({L}_{2}\), \({L}_{4}\), and \({L}_{6}\) at the axes of \({z}_{2}\), \({z}_{4}\) and \({z}_{6}\), respectively. The computation formula is:

$$ \left\{ {\begin{array}{*{20}c} {J_{2} = [u_{1} \left( {L_{2} } \right) v_{1} \left( {L_{2} } \right) w_{1} \left( {L_{2} } \right) 1]^{T} } \\ {J_{4} = [u_{2} \left( {L_{4} } \right) v_{2} \left( {L_{4} } \right) w_{2} \left( {L_{4} } \right) 1]^{T} } \\ {J_{6} = [u_{3} \left( {L_{6} } \right) v_{3} \left( {L_{6} } \right) w_{3} \left( {L_{6} } \right) 1]^{T} } \\ \end{array} } \right. $$
(16)

Similarly, \({J}_{i}=[0\text{ 0 }{L}_{i} 1{]}^{T}\), where i belongs to [1, 3, 5, 7]. Subsequently, the tool-coordinate system’s position in the zero-coordinate system is depicted in Eq. (17). This allows for the extraction of the robot’s head model motion characteristics within an absolute coordinate system.

$$_{8}^{0} T = \prod\limits_{k = 1}^{8} {_{k - 1}^{k} T} = \left[ {\begin{array}{*{20}c} {n_{1} } & {o_{1} } & {a_{1} } & {\xi_{1} } \\ {n_{2} } & {o_{2} } & {a_{2} } & {\xi_{2} } \\ {n_{3} } & {o_{3} } & {a_{3} } & {\xi_{3} } \\ 0 & 0 & 0 & 1 \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{}_{8}^{0} R} & \xi \\ 0 & 1 \\ \end{array} } \right] $$
(17)

5 Experimental investigation of the flexible joints

Traditional underwater robots typically employ rigid connections to link their components, which may restrict movement in complex underwater environments. The integration of flexible joints can significantly enhance a robot’s agility, allowing for more adaptable and fluid motion in response to varying conditions, such as water currents and waves. To substantiate the efficacy of the proposed underwater snake-like robot, a comprehensive set of simulations and comparative analyses was undertaken in this research, with a particular focus on how flexible joints can expand the robot’s operational workspace.

5.1 Experimental setup

5.1.1 Finite element model design

The finite element model (FEM) of the flexible joint was developed to conduct a comprehensive mechanical analysis, simulating the forces and deformations experienced by the joint. The design of the model was based on an in-depth analysis of the bending characteristics and other physical properties of the flexible joints used in the robot design, effectively represented as flexible rod models in the simulation.

To accurately replicate the behavior of the flexible joints, the model was assigned a Poisson’s ratio of 0.45, with three different elastic moduli and four different lengths of the flexible rods used to simulate the equivalent flexible joints under various conditions. The simulation employed three-dimensional solid elements and eight-node linear hexahedral elements, with a mesh size of 9 mm.

The finite element model of the equivalent flexible joint, depicted in Fig. 13, is crucial for understanding the simulation setup and interpreting the results. By varying the elastic modulus and the length of the flexible rods, the experiment simulated the robot’s movement under different working conditions, allowing for a direct comparison between the performance of rigid connection units and various types of flexible joint units in an underwater environment.

Fig. 13
figure 13

Finite element model of the equivalent flexible joint

The experiment provided quantitative data on the end displacement of the connecting units, the displacement angles, and an analysis of the working space. The working space analysis is significant as it provides insights into the range of motion and flexibility that the flexible joints offer compared to rigid connections. This information is vital for optimizing the robot’s design for specific underwater tasks, ensuring effective navigation and operation in complex underwater terrains.

Additionally, the FEM allowed for the assessment of the flexible joints’ structural integrity under simulated underwater currents and pressures. By applying different forces and boundary conditions to the model, the study evaluated the joints’ resilience and the potential for material fatigue or failure.

Overall, the finite element analysis of the flexible joints provides a detailed understanding of their mechanical behavior, essential for the design and development of advanced serpentine underwater robots. The ability to predict the performance of these joints under various conditions ensures that the robot can be reliably deployed in challenging underwater environments, performing tasks with the required precision and flexibility.

5.1.2 Boundary conditions

In this design, the modules of the underwater robot are interconnected through flexible joints. The boundary conditions applied at the ends of the equivalent flexible rod include the gravity, buoyancy, and motor thrust of the different modules connected by the flexible joints. Regarding gravity and buoyancy, the design of the underwater robot has already accounted for weight adjustment in different water density environments to achieve neutral buoyancy of the robot modules, meaning the combined force of gravity and buoyancy is zero, allowing for autonomous suspension of the robot modules. Therefore, in this experiment, the effects of gravity and buoyancy will not be considered, and the focus of the boundary conditions will be on motor thrust.

The selection of the motor is crucial for the proper functioning of the flexible joints. The ends of the flexible joints are controlled by the motor to reach predetermined positions. During this process, whether the flexible joint can function properly depends on its own elastic modulus and the thrust provided by the motor. If the thrust provided by the motor is insufficient, the displacement at the end of the flexible rod will be small, failing to reach the intended position. In this experiment, the chosen motor can deliver a maximum torque of 60 Newtons (N), which acts directly on the end of the flexible joint.

With such a setup, the experiment can accurately simulate the impact of motor thrust on the performance of the flexible joints, thereby providing important data support for the design and operation of the underwater robot.

5.2 Numerical simulation results

This study focuses on the impact of different flexible joints on the functionality of an underwater serpentine robot, particularly how the elastic modulus of the joints affects the robot’s operation. The flexible joints of the robot are characterized by an equivalent elastic modulus of 3.5 MPa and a rod length of 156 mm. Under maximum motor power conditions, the end displacement of the flexible joint reaches 87.48 mm, which corresponds to a maximum end displacement angle of approximately 30°, as determined by trigonometric analysis.

The experiment first examined the changes in end displacement of the flexible joint when the equivalent elastic modulus was set at 2.5 MPa and 4.5 MPa. As depicted in Fig. 14, with an elastic modulus of 4.5 MPa, the end displacement of the flexible joint was only 68.04 mm, resulting in a displacement angle of 23.5°. In contrast, a flexible joint with an elastic modulus of 2.5 MPa achieved an end displacement of 122.50 mm and an angle of 38°. While a lower elastic modulus allows for a farther end position and a larger working space, it also results in lower disturbance resistance due to the material properties, making it challenging to control the joint accurately in underwater conditions like turbulence. Conversely, a higher elastic modulus enhances the joint’s stability but limits the end position it can reach. Therefore, the production of flexible joints should consider an appropriate equivalent elastic modulus to balance stability and working space size.

Fig. 14
figure 14

Finite element analysis of equivalent flexible joints with different elastic moduli

In addition to the elastic modulus, the study also explored the effect of the length of the flexible joints on the robot. With the equivalent elastic modulus fixed at 3.5 MPa, the experiment compared the end displacements and angles for lengths of 116 mm, 136 mm, 176 mm, and 196 mm. The results, shown in Fig. 15 and Table 5, indicate that longer flexible joints typically allow for a greater range of motion, expanding the working space and enabling adaptation to narrow passages or complex underwater environments. However, this also introduces more complex control issues, as the flexure and deformation of the joints must be considered to maintain the required shape and posture. Additionally, longer joints may lead to instability and oscillation at high speeds or under heavy loads. They may also require more energy to control and maintain their shape, increasing the robot’s energy consumption. Thus, the length of the flexible joints should be optimized and selected based on specific tasks and application requirements to ensure that the underwater serpentine robot can perform tasks stably and efficiently in its working environment.

Fig. 15
figure 15

Finite element analysis of flexible joints of different lengths with an elastic modulus of 3.5 MPa

Table 5 End displacement and displacement angles for different lengths of flexible joints

To highlight the benefits of flexible joints in augmenting the workspace and agility of soft-bodied robots, this study meticulously contrasted the workspace boundaries of flexible joints with those of conventional rigid connections through finite element simulation. The methodology entailed replacing flexible joints with rigid ones to assess the maximal extent each could reach within the same horizontal plane. Figure 16a illustrates the workspace limitations of a conventional rigid connection upon motor fixation. Here, structural constraints impose restrictions on full rotational movement, confining the motion to the same plane as the motor. In contrast, Fig. 16b delineates the boundary of the workspace for a flexible connection, showcasing its capability for full rotational motion and operation across multiple planes.

Fig. 16
figure 16

Workspace range comparison: flexible joints versus traditional rigid connections

Flexible joints impact the operational workspace of underwater serpentine robots in several ways. Primarily, they extend the workspace, granting the robot increased degrees of freedom and flexibility to navigate complex, narrow, or otherwise inaccessible areas. This enhancement boosts the robot’s maneuverability and adaptability in underwater settings, allowing it to conform to irregular surfaces and serpentine paths. However, the introduction of flexible joints also brings the complexity of dynamic control into play, necessitating sophisticated algorithms and sensors to accommodate environmental variations and flexural movements, thereby posing challenges in system design and control. In summary, the design of flexible joints also contributes to the robot’s adaptability in aquatic environments and mitigates the risk of collision damage. Therefore, when designing and operating underwater serpentine robots, it is crucial to balance the effects of elastic modulus and workspace to maximize the advantages of flexible joints. Future research should consider incorporating more comprehensive sensors and developing robust control algorithms to achieve stable management of flexible joints.

6 Conclusion

This paper provides an in-depth analysis of the design, structure, and functional capabilities of a biomimetic underwater snake-like robot, highlighting several key aspects and innovations:

  • Biomimetic design the study elaborates on the biomimetic framework of the robot, inspired by the physiological mechanisms of snakes. This approach is pivotal as it enhances the robot’s navigational and operational proficiency in multifaceted aquatic environments.

  • Modular architecture the robot boasts a modular configuration, incorporating an array of sensors, omnidirectional propulsion units, and flexible joints. This modular strategy augments the robot’s versatility and efficiency in executing diverse subaquatic missions.

  • Control module the paper delves into the intricate design and potential of the control module. The control tactics are fine-tuned for motion management, a vital element for the robot’s precision and effectiveness in submerged conditions.

  • Simulation experiments results from finite element simulation experiments are presented, providing essential insights into the robot’s performance metrics in comparison to conventional systems. These findings highlight the advantageous impact of the robot’s flexible joints on its agility and maneuverability.

  • Sensing systems the robot is outfitted with a dual sensing mechanism, comprising navigational sensors for environmental perception and diagnostic sensors for assessing the integrity of subsea structures. This dual capability is crucial for the robot’s deployment in surveillance and inspection operations.

  • Future work the study outlines potential directions for future research, underscoring its contribution to the progressive field of underwater robotics and the prospects for further technological breakthroughs.

In conclusion, this research represents a leap in underwater robotics, merging biomimetic design with cutting-edge engineering practices. The serpentine robot is a testament to progress in the domain, enhancing the scope for aquatic exploration and structural health monitoring. Its modular architecture, combined with an advanced control system and extensive sensor networks, empowers the robot to undertake intricate tasks in demanding underwater scenarios. The presented research not only demonstrates current capabilities but also paves the way for future advancements in robotic technologies for underwater applications. The comprehensive simulation studies and discussions on the robot’s potential uses emphasize its practical significance and its contributions to the robotics industry.