Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-06T20:48:09.469Z Has data issue: false hasContentIssue false

Sim-to-real pipeline for training autonomous obstacle avoidance of underwater robots based on high-fidelity model

Published online by Cambridge University Press:  30 July 2025

Suohang Zhang
Affiliation:
State Key Laboratory of Fluid Power and Mechatronic Systems, Zhejiang University, Hangzhou, China
Luning Zhang
Affiliation:
State Key Laboratory of Fluid Power and Mechatronic Systems, Zhejiang University, Hangzhou, China
Yanhu Chen*
Affiliation:
State Key Laboratory of Fluid Power and Mechatronic Systems, Zhejiang University, Hangzhou, China
*
Corresponding author: Yanhu Chen; Email: 12425012@zju.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Underwater robots conducting inspections require autonomous obstacle avoidance capabilities to ensure safe operations. Training methods based on reinforcement learning (RL) can effectively develop autonomous obstacle avoidance strategies for underwater robots; however, training in real environments carries significant risks and can easily result in robot damage. This paper proposes a Sim-to-Real pipeline for RL-based training of autonomous obstacle avoidance in underwater robots, addressing the challenges associated with training and deploying RL methods for obstacle avoidance in this context. We establish a simulation model and environment for underwater robot training based on the mathematical model of the robot, comprehensively reducing the gap between simulation and reality in terms of system inputs, modeling, and outputs. Experimental results demonstrate that our high-fidelity simulation system effectively facilitates the training of autonomous obstacle avoidance algorithms, achieving a 94% success rate in obstacle avoidance and collision-free operation exceeding 5000 steps in virtual environments. Directly transferring the trained strategy to a real robot successfully performed obstacle avoidance experiments in a pool, validating the effectiveness of our method for autonomous strategy training and sim-to-real transfer in underwater robots.

Information

Type
Research Article
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Overall structure of the underwater robot.

Figure 1

Table I. Physical parameters of the UMR.

Figure 2

Figure 2. Underwater robot propeller arrangement and thrust distribution diagram.

Figure 3

Figure 3. Robot motion coordinate system.

Figure 4

Figure 4. Sim-to-real pipeline for training underwater robot autonomous obstacle avoidance based on high-fidelity models.

Figure 5

Figure 5. (a) Computational domain of translational motion; (b) computational domain of rotational motion.

Figure 6

Figure 6. Visualization: The surface pressure (a) and the velocity distribution (b) when UDOR moving at the velocity of 0.2 m/s; the surface pressure (c) and the velocity distribution (d) when robot yawing at the angular velocity of 0.5 rad/s.

Figure 7

Table II. Quadratic equations of damping at each DOF.

Figure 8

Figure 7. (a) Curves of quadratic damping for translational motion at different velocities; (b) curves of quadratic damping for rotational motion at different angular velocities.

Figure 9

Table III. Hydrodynamic added mass at each DOF.

Figure 10

Table IV. Camera calibration parameters.

Figure 11

Figure 8. Corner detection and computation in the stereo camera calibration process.

Figure 12

Figure 9. Remapping error in stereo camera calibration.

Figure 13

Figure 10. Underwater thrust measurement platform for propeller.

Figure 14

Figure 11. Domain-invariant representation: (a) original image input, (b) depth image, (c) distance information after domain-invariant representation transformation.

Figure 15

Figure 12. Autonomous obstacle avoidance strategy training framework.

Figure 16

Figure 13. Reinforcement learning algorithm iterative network architecture.

Figure 17

Figure 14. Simulation environment obstacle setup diagram: (a) simple, (b) complex.

Figure 18

Table V. Hyperparameter settings.

Figure 19

Figure 15. Convergence verification of autonomous obstacle avoidance training based on simulation training environment.

Figure 20

Table VI. Performance comparison of RL algorithms for robot obstacle avoidance.

Figure 21

Table VII. Number of steps with normal movement in 1000 steps.

Figure 22

Figure 16. Training process using association-state reward mechanism: (a) simple, (b) complex.

Figure 23

Figure 17. Autonomous obstacle avoidance test: (a) robot avoiding obstacles, (b) robot motion trajectory.

Figure 24

Figure 18. Robot motion trajectory in the pool: (a) no obstacles, (b) single obstacle, (c) double obstacles.

Figure 25

Figure 19. Robot heading angle variation: (a) no obstacles, (b) single obstacle, (c) double obstacles.