Robust Reinforcement Learning Algorithm for Vision-based Ship Landing of UAVs

Vishnu Saj, Bochan Lee, Dileep M. Kalathil, Moble BenedictarXiv 2022 · DOI

Abstract

Landing a Vertical Take-Off and Landing (VTOL) Unmanned Aerial Vehicle (UAV) on a moving ship deck is a complex task due to 6-DOF platform motion and unpredictable maritime wind gusts. This paper presents an autonomous landing system that utilizes a monocular camera to track a stabilized horizon reference bar. By combining bio-inspired vision with a robust Reinforcement Learning (RL) controller trained via extensive domain randomization, the system successfully bridges the sim-to-real gap. Experimental results in both simulation and real-world environments demonstrate that the proposed RL-based approach significantly outperforms traditional PID controllers in terms of accuracy and recovery speed under adverse conditions.

1. Introduction

Autonomous ship landing remains one of the most challenging maneuvers for UAVs. The landing target is small, moves unpredictably in six degrees of freedom, and is often subjected to adversarial wind gusts. While classical control methods like PID or Model Predictive Control (MPC) are common, they typically require precise analytical models and manual tuning, which often fail in the face of real-world sensor noise and environmental disturbances. This research explores a data-driven alternative using Reinforcement Learning (RL) to develop a controller capable of handling the inherent "sim-to-real" gap.

2. Methodology

The proposed system architecture consists of two primary components: a bio-inspired vision system for state estimation and a robust RL-based flight controller.

2.1 Bio-Inspired Vision and State Estimation

Instead of tracking the chaotic motion of the ship's deck directly, the system tracks a horizon reference bar. This approach is inspired by Navy helicopter pilots who use gyro-stabilized bars as steady visual cues during landing. The vision algorithm employs HSV filtering to isolate the bar and the Perspective-n-Point (PnP) algorithm to estimate the UAV's 3D position relative to the target from a 2D monocular image stream.

Schematic of the UAV's vision-based position estimation using the image plane.

2.2 Robust Reinforcement Learning

The controller is built upon the Twin Delayed DDPG (TD3) algorithm. To ensure robustness, the authors utilized Domain Randomization during training in the Gazebo simulator. The agent was exposed to a wide variety of randomized environmental parameters, including wind magnitudes, directions, and temporal patterns (constant, sudden, and sinusoidal). Additionally, random noise and delays were injected into the state estimation to simulate real-world sensor lag.

To simplify the learning task, the control was decoupled. Independent RL controllers were designed for roll and pitch, as these axes are most sensitive to wind disturbances. The reward function was also shaped to prioritize safety; it penalizes the drone heavily when far from the target to encourage rapid convergence and shifts focus to precision and smoothness when close to the landing pad.

3. Experimental Setup

The system was evaluated using a Parrot ANAFI quadrotor. Training was conducted in a Gazebo simulation environment across thousands of episodes. Real-world validation was performed using a custom-built sub-scale ship platform capable of 6-DOF motion, with a large drum fan used to generate controlled wind disturbances up to 5 m/s.

The landing platform featuring the horizon reference bar with defined (X, Y, Z) coordinates.

4. Key Results

The robust RL controller demonstrated significant improvements over traditional benchmarks:

  • Hovering Accuracy: In simulations with time-varying winds, the RL controller maintained a maximum deviation of less than 20 cm, which is one-tenth of the deviation observed with a standard PID controller.
  • Disturbance Rejection: When subjected to a sudden 5 m/s crosswind, the RL agent stabilized the UAV in under 2 seconds, whereas the PID controller required over 15 seconds to recover.
  • Real-World Performance: Physical trials confirmed the system's ability to land successfully on a moving platform under both cross-wind and diagonal-wind conditions, maintaining high precision as evidenced by landing spot scatter plots.

5. Conclusion

This research demonstrates that combining bio-inspired visual cues with robust RL trained through domain randomization can effectively bridge the sim-to-real gap for complex UAV maneuvers. By making the simulation more challenging than the expected real-world environment, the resulting policy becomes resilient to unpredictable disturbances. Future work will explore meta-learning techniques to allow the UAV to adapt its control strategy in real-time to specific environmental characteristics encountered during flight.

Summary updated

BibTeX
@misc{saj2022robust,
  author = {Vishnu Saj and Bochan Lee and Dileep M. Kalathil and Moble Benedict},
  title = {{Robust Reinforcement Learning Algorithm for Vision-based Ship Landing of UAVs}},
  year = {2022},
  eprint = {2209.08381},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.08381},
}
Figure