Obstacle Avoidance for UAS in Continuous Action Space Using Deep Reinforcement Learning

Jueming Hu, Xuxi Yang, Weichang Wang, Peng Wei, Lei Ying, Yongming Liu

TL;DR

This paper introduces a Deep Reinforcement Learning (DRL) framework using the Proximal Policy Optimization (PPO) algorithm to enable Unmanned Aircraft Systems (UAS) to navigate complex environments autonomously. By operating in continuous state and action spaces, the model generates smooth, real-time heading and speed commands to avoid both static and moving obstacles with a success rate exceeding 99%.

What Problem Does This Paper Address?

As Urban Air Mobility (UAM) and UAS Traffic Management (UTM) evolve, drones need to navigate dense urban environments safely without constant human intervention. Existing guidance techniques often rely on discretized airspace or control sets (e.g., "turn left 5 degrees" vs. "turn right 5 degrees"). While functional, these discrete methods often produce "jittery" paths that require a secondary smoothing step, which is computationally expensive and less flexible.

Furthermore, centralized conflict resolution methods—where a single computer manages every drone—don't scale well as the number of aircraft increases. This paper seeks a decentralized, real-time solution that handles the "messiness" of the real world, including moving obstacles and positioning uncertainties, using continuous control.

Methods

The authors frame the obstacle avoidance problem as a Markov Decision Process (MDP) and solve it using Proximal Policy Optimization (PPO).

Key technical components include:

  • Continuous Action Space: Unlike many DRL applications that choose from a list of buttons, this model outputs exact values for heading angle changes (within $\pm30^\circ$) and speed (0–40 m/s).
  • Robot-Centric State Representation: To help the neural network learn faster, the authors transform the coordinate system so the UAS is always at the origin $(0,0)$ and the x-axis always points toward the goal.
  • Custom Reward Functions:
    • For static obstacles, the reward is a simple linear function of distance to the goal with heavy penalties for "conflicts" (getting too close to an obstacle).
  • For moving obstacles, they use a more sophisticated inverse tangent (arctan) term. This creates a "soft" penalty zone that starts nudging the UAS away from intruders long before a collision is imminent, leading to smoother avoidance maneuvers.
  • Architecture: A two-layer Multilayer Perceptron (MLP) with 64 hidden units per layer serves as the "brain" for both the actor (the decision-maker) and the critic (the evaluator).

Datasets

The study relies on custom-built numerical simulations rather than external datasets.

  • Environment: A simulated 4 km x 4 km airspace.
  • Training: The models were trained for 30 million time steps using OpenAI Baselines.
  • Scenarios:
    • Static: Circular and rectangular "no-passing" zones.
  • Moving: "Intruders" flying at 20 m/s with varying heading angles.
  • Uncertainty: A stochastic model where the UAS position is only "accurate" 90% of the time, with a 10% chance of being randomly distributed within a 75m radius.

Key Insights and Ideas

  • The Power of Continuous Control: By bypassing discretization, the model naturally produces flyable trajectories. There is no need for post-processing or "path smoothing" because the output is already a smooth command.
  • Generalization via Transformation: The robot-centric parameterization is a "force multiplier." By making the goal always appear "straight ahead" in the state vector, the model learns the geometry of avoidance rather than memorizing specific map coordinates.
  • Early Warning Rewards: The use of the arctan function in the reward design is a clever way to handle the "sparse reward" problem in RL. It provides a gradient of feedback that encourages the UAS to maintain a "safety buffer" rather than just reacting at the last second.
  • Robustness to Noise: The model proved surprisingly resilient to positioning errors. Even when the UAS didn't know its exact location (simulating GPS noise or wind), it maintained high safety margins by treating the uncertainty as an extension of the obstacle's size.

Key Results

  • 99%+ Success Rate: In testing across 160 static trajectories and 500 moving-intruder episodes, the model successfully reached the goal while maintaining minimum separation distances.
  • Complex Maneuvering: The UAS demonstrated the ability to "throttle back" (reduce speed) to let an intruder pass in front of it, or "bank" around the side of a cluster of obstacles to find the shortest path.
  • Safety Bounds: For static obstacles, the UAS maintained a 75m buffer; for moving obstacles, it maintained 150m. Even with added stochastic uncertainty, failures were extremely rare (e.g., only 1-3 failures out of hundreds of tests).

Limitations and Future Work

  • Non-Cooperative Intruders: Currently, the "intruders" in the simulation are passive; they don't try to avoid the UAS. The authors suggest that future work should involve Multi-Agent Reinforcement Learning (MARL), where all aircraft are learning to cooperate.
  • Energy Constraints: The current model doesn't heavily penalize sharp turns or rapid speed changes. In real drones, these actions drain batteries quickly. The authors plan to add power consumption penalties to future reward functions.
  • 3D Airspace: The current study is limited to a 2D plane. Expanding this to 3D (including altitude changes) would be necessary for true urban deployment.

Summary updated

BibTeX
@article{hu2022obstacle,
  author = {Jueming Hu and Xuxi Yang and Weichang Wang and Peng Wei and Lei Ying and Yongming Liu},
  title = {{Obstacle Avoidance for UAS in Continuous Action Space Using Deep Reinforcement Learning}},
  journal = {IEEE Access},
  year = {2022},
  doi = {10.1109/access.2022.3201962},
}
Figure