Optimization-Based Automatic Docking and Berthing of ASVs Using Exteroceptive Sensors: Theory and Experiments

Andreas B. Martinsen, Glenn Bitar, Anastasios M. Lekkas, Sébastien GrosIEEE Access 2020

Introduction

Docking a vessel is one of the most high-stakes tasks in maritime operations. At low speeds, ships become highly susceptible to unpredictable environmental forces such as wind and currents. For autonomous systems, the challenge is compounded by the fact that harbor maps are rarely perfect; new vessels or temporary structures may be moored where a map indicates open water. To operate safely, an Autonomous Surface Vehicle (ASV) must achieve centimeter-level accuracy while dynamically reacting to its environment.

This research, published in IEEE Access, addresses these challenges by presenting a real-time, optimization-based trajectory planner. The system bridges the gap between theoretical control and practical application by combining static harbor maps with live data from LIDAR and ultrasonic sensors to navigate safely around both mapped and unmapped obstacles.

Methodology

The authors propose a two-layered control architecture designed for robustness and real-time performance.

The High-Level Planner

The core of the system is a Nonlinear Optimal Control Problem (OCP) that predicts a 120-second trajectory, minimizing energy consumption while maximizing safety. A key innovation is the method of Novel Constraint Generation. The system grows an expansion ellipse from the vessel's center until it detects an obstacle via LIDAR or map data. It then calculates a tangent line at the contact point to define a convex "safe set."

Illustration of the safe set methodology where the vessel set is constrained within a dynamically generated safe region.

This approach simplifies the complex, non-convex geometry of a harbor into linear constraints that can be solved in milliseconds. Furthermore, the cost function uses a pseudo-Huber function for position and Gaussian-weighted heading costs, ensuring the boat prioritizes reaching the dock before focusing on final alignment.

The Low-Level Controller

To handle high-frequency disturbances like waves and wind, a trajectory-tracking Dynamic Positioning (DP) controller (PID-based) executes the planner's output. This separation of concerns allows the planner to focus on collision avoidance (0.1 Hz) while the controller manages the physical thruster outputs.

Experimental Platform and Setup

The system was validated using the milliAmpere, a 5-meter autonomous urban passenger ferry equipped with two azimuth thrusters. Unlike many autonomous systems that rely on static training datasets, this framework operates entirely on real-time sensor streams, including point clouds from a Velodyne VLP-16 LIDAR and digital polygonal maps of the Trondheim harbor in Norway.

The milliAmpere autonomous ferry docked during experimental trials in Trondheim, Norway.

Key Results

Experimental trials in the confined waters of Trondheim demonstrated several critical capabilities:

  • Collision-Free Maneuvering: The ASV successfully generated trajectories that avoided both mapped landmasses and unmapped static obstacles, such as other boats.
  • Human-Like Behavior: The vessel naturally approached the dock at higher velocities and slowed significantly for final alignment, mimicking the intuitive behavior of an experienced captain.
  • Real-Time Adaptability: The optimization proved efficient enough to run on-board, re-planning every 10 seconds to account for the vessel's actual progress and environmental changes.

Limitations and Future Outlook

While successful, the experiments highlighted areas for improvement. Rain occasionally caused the LIDAR to detect "ghost" obstacles, suggesting a need for better sensor fusion. Additionally, the LIDAR's vertical field of view created blind spots when the vessel was extremely close to the dock, a problem the authors intend to solve by integrating ultrasonic rangefinders.

Future work will focus on incorporating dynamic obstacles and complying with maritime "rules of the road" (COLREGs) to move toward full "Dock A to Dock B" autonomy.

Summary updated

BibTeX
@article{martinsen2020optimization,
  author = {Andreas B. Martinsen and Glenn Bitar and Anastasios M. Lekkas and Sébastien Gros},
  title = {{Optimization-Based Automatic Docking and Berthing of ASVs Using Exteroceptive Sensors: Theory and Experiments}},
  journal = {IEEE Access},
  year = {2020},
  doi = {10.1109/access.2020.3037171},
}
Figure