cs.RONov 19, 2026

Differentiable Hydrodynamics for Whole-Body MPC of Underwater Robots

Authors: Hefan Wang, Yvan Petillot, Carlos Mastalli

Organizations: Robot Motor Intelligence (RoMI) Lab, Heriot-Watt University, Edinburgh, UK · Ocean Lab, Heriot-Watt University, Edinburgh, UK

Abstract

Underwater vehicle-manipulator systems distribute actuation across thrusters and joint motors. Whole-body model predictive control (MPC), rather than separate vehicle and arm controllers, can coordinate both to extend the workspace and exploit the system's full kinematic capability. Doing so, however, requires a hydrodynamic model and derivatives throughout the prediction horizon. Computational fluid dynamics (CFD) captures geometry-dependent forces and moments for such a model, but is too expensive to evaluate online. We present a differentiable analytical hydrodynamic model combining smooth spherical-harmonic force and moment fields with a coupled added-inertia matrix identified from CFD. It compactly represents velocity and acceleration-dependent loads and provides their derivatives in closed form. These derivatives are propagated through free-floating vehicle--manipulator dynamics for whole-body trajectory optimization and receding-horizon control, jointly optimizing thruster forces and joint torques for reaching and continuous tracking. Held-out CFD tests validate the principal translational-force and rotational-moment fields and the added-inertia response. The analytical Jacobians evaluate faster and avoid the step-size sensitivity of central finite differences. Closed-loop Stonefish experiments demonstrate whole-body MPC in an independent marine simulator. By making geometry-dependent hydrodynamics directly available to gradient-based control, the model incorporates water forces and their sensitivities into motion allocation between the vehicle and arm, rather than treating them only as disturbances.

Figures & tables

Explore similar work

CardsList
  1. Unified Structural-Hydrodynamic Modeling of Underwater Underactuated Mechanisms and Soft Robots

    Mar 9, 2026Chenrui Zhang, Yiyuan Zhang, Yunfei Ye +3Robot System IdentificationUnderwater Robotics

  2. Robust and Efficient MuJoCo-based Model Predictive Control via Web of Affine Spaces Derivatives

    Dec 24, 2025Chen Liang, Daniel RakitaRobotic ControlModel Predictive Control

  3. Uncertainty-Aware Adaptive Dynamics For Underwater Vehicle-Manipulator Robots

    Mar 6, 2026Edward Morgan, Nenyi K Dadson, Corina BarbalataRobot Dynamics IdentificationUnderwater Robotics