TL;DR
This paper presents a unified framework for autonomous ship docking using Nonlinear Model Predictive Control (NMPC). By integrating vessel dynamics, thrust allocation, and spatial collision-avoidance constraints into a single optimization problem, the authors demonstrate a system that can safely maneuver a supply vessel into a dock in real-time.
What Problem Does This Paper Address?
Docking is one of the most challenging tasks in maritime operations. Historically, large vessels have relied on tugboats and highly skilled human pilots because ships are "slow" dynamical systems with limited maneuverability and high inertia.
While research into autonomous surface vehicles (USVs) has grown, docking specifically remains under-addressed. Existing solutions often rely on fuzzy logic or artificial potential fields, which frequently ignore the actual physics (underlying vessel model) of the ship or fail to provide hard safety guarantees regarding collisions. The authors aim to bridge this gap with a method that handles maneuvering, dynamic positioning, and thruster control simultaneously while ensuring the ship never hits the pier or other obstacles.
Methods
The authors frame docking as a constrained optimal control problem (OCP) solved via direct collocation.
- 3-DOF Vessel Model: The ship is modeled in three degrees of freedom (surge, sway, and yaw). The model accounts for the ship's inertia and hydrodynamic damping.
- Integrated Thrust Allocation: Unlike traditional systems that separate "path planning" from "thruster commands," this method includes thruster angles ($\alpha$) and forces ($f$) directly in the optimization. This allows the controller to respect physical limits, such as thruster saturation and "forbidden sectors" (angles where thrusters shouldn't point to avoid damaging each other).
- Spatial Constraints: To avoid collisions, the ship is represented as a convex polyhedron (a simplified geometric shape). The "safe" docking area is defined as a larger convex set. The optimization ensures that all vertices of the ship's safety boundary remain within this safe zone.
- Numerical Optimization: The problem is solved using CasADi (a software framework for optimization) and the IPOPT solver. They use direct collocation, which turns the continuous differential equations of the ship's motion into a discrete nonlinear programming (NLP) problem that is computationally efficient to solve.
Datasets
The paper does not use a traditional machine learning dataset. Instead, it evaluates the algorithm using:
- Vessel Model: Parameters based on the SV Northern Clipper, a real-world supply vessel.
- Simulation Environments: Real-world maritime geometries from Trondheim harbor and Lundevågen harbor in Norway.
- Software: The Marine System Simulator (MSS) Toolbox was used to derive the vessel dynamics.
Key Insights and Ideas
- Docking as a Constraint, Not a Goal: Rather than just "trying to reach a point," the system treats the entire harbor geometry as a set of hard spatial constraints. This ensures the vessel stays in deep water and avoids the quay until the final approach.
- Maneuverability Penalty: The authors include a specific cost term to avoid "singular" thruster configurations. This keeps the ship in a state where it can always exert force in any direction, which is critical for safety during the final meters of docking.
- Efficiency Emergence: In simulations, the controller naturally chooses to face the bow in the direction of travel because it is the most hydrodynamically efficient way to move, only turning to align with the dock at the last possible moment.
- Real-Time Feasibility: By using a "warm start" (using the previous step's solution as the starting point for the next), the solver time drops from ~4 seconds to ~0.5 seconds, making it fast enough for real-time use on a ship.
Key Results
- Successful Docking: The NMPC successfully guided the simulated vessel to the target pose in both Trondheim and Lundevågen harbors without violating spatial constraints.
- Computational Performance: The system achieved a solution frequency suitable for real-time implementation. Warm-started solutions were found in approximately 0.5 seconds.
- Constraint Adherence: The vessel stayed within the 10% safety margin defined around its hull throughout the maneuvers, even when performing complex turns in tight harbor spaces.
Limitations and Future Work
- Non-Convexity: Because ship rotation and thruster angles involve trigonometric functions, the optimization problem is non-convex. This means the solver could theoretically get stuck in a "local optimum" (a good path, but not the absolute best one), though this wasn't an issue in the tested scenarios.
- Environmental Disturbances: The current model does not account for external forces like wind, waves, or ocean currents. The authors suggest that "Scenario-based MPC" could be used in the future to handle this uncertainty.
- Static Obstacles: The spatial constraints used in this paper are static. Future iterations would need to incorporate moving obstacles (like other ships) using dynamic constraints.
- Model Fidelity: The study uses a 3-DOF model; moving to a 6-DOF model (including roll, pitch, and heave) would be necessary for smaller vessels or rougher sea states.
Summary updated