A Modular and Scalable Simulator for Connected-UAVs Communication in 5G Networks

Yong Su, Yiyi Chen, Shenghong Yi, Hui Feng, Yuedong Xu, Wang Xiang, Bo Hu

Abstract

As 5G technology matures, the integration of Unmanned Aerial Vehicles (UAVs) into cellular networks—termed Cellular-connected UAVs (C-UAVs)—presents unique challenges in mobility management and signal propagation. This paper presents a modular, MATLAB-based simulation platform designed to bridge the gap between theoretical network modeling and practical aerial deployment. By incorporating 3GPP-standardized aerial channel models and a novel cross-layer Deep Reinforcement Learning (DRL) framework for handover management, the simulator provides a robust environment for testing high-speed connectivity and emerging transport protocols like QUIC.

1. Introduction

The promise of 5G—high bandwidth and ultra-low latency—is essential for the next generation of drone swarms and autonomous aerial logistics. However, C-UAVs operate in a significantly different environment than ground-based User Equipment (UE). Drones at high altitudes encounter line-of-sight interference from distant base stations and experience frequent handovers due to their high velocity and three-dimensional mobility.

Existing network simulators, such as ns-3 or OMNeT++, while powerful, often suffer from steep learning curves and lack native support for UAV-specific channel models, such as altitude-dependent path loss. Furthermore, integrating modern transport protocols like QUIC into these environments can be complex. To address these gaps, we developed a modular simulator built on the MATLAB 5G Toolbox, designed specifically for the research and development of C-UAV communication strategies.

2. Simulator Architecture and Methodology

The simulator is organized into four primary functional modules to ensure flexibility and scalability:

2.1 Node Configuration and Mobility

This module allows for the flexible deployment of 5G Next-Generation NodeBs (gNBs) and UAV-UEs. It supports customizable 3D mobility patterns, enabling researchers to simulate complex flight paths and varying drone densities.

2.2 Air-to-Ground Channel Modeling

To accurately reflect the aerial environment, the simulator implements the 3GPP TR 36.777 "Urban Micro Aerial" model. This model accounts for specific propagation conditions, including the increased likelihood of Line-of-Sight (LoS) connections at higher altitudes, which paradoxically increases interference from neighboring cells.

2.3 Multi-Protocol Transport Interface

A key innovation of this platform is its socket-based interface. This allows the MATLAB-based 5G stack to interact with external traffic generators. Consequently, researchers can test real-world implementations of TCP, UDP, and QUIC (via QUIC-Go) rather than relying on simplified mathematical abstractions of these protocols.

2.4 Handover Management

The simulator includes a dedicated class for handover logic, supporting both traditional rule-based triggers (such as the 3GPP A3 event) and advanced machine learning strategies. This modularity allows for direct comparison between industry standards and experimental AI algorithms.

3. Cross-Layer Deep Reinforcement Learning for Handovers

Traditional handover strategies are often "greedy," triggering a switch as soon as a neighboring cell's signal strength (SINR) exceeds the current one. In 3D aerial environments, this frequently leads to the "ping-pong" effect, where a drone rapidly oscillates between two towers, severely degrading throughput.

To mitigate this, we proposed a Cross-layer Deep Q-Network (DQN) handover algorithm. Unlike standard methods, this DRL agent observes both physical layer metrics and transport layer throughput. By analyzing data across layers, the agent learns that a slightly weaker but stable signal may be preferable to a stronger, fluctuating one, thereby optimizing for long-term data stability rather than instantaneous signal peaks.

4. Performance Evaluation and Results

The platform was evaluated in a 1000m × 600m simulation area with 5 gNBs and up to 21 UAVs to test scalability and efficiency.

4.1 Scalability

The simulator demonstrated high stability under increasing UE density. Even as network load increased, the platform maintained a packet loss rate below 0.1, proving its utility for simulating dense drone swarms.

4.2 Handover Efficiency

The proposed Cross-layer DQN significantly outperformed the 3GPP A3 baseline. Experimental results showed a reduction in the total number of handovers by 40-50%. Despite fewer handovers, the average throughput increased to 31.20 Mbps, compared to 29.32 Mbps for the traditional method, confirming that the DRL agent successfully identified more stable connection paths.

4.3 Protocol Validation

The integration of QUIC was successfully validated, demonstrating the protocol's ability to handle connection migration and path switching during high-speed aerial movement—features critical for maintaining seamless connectivity in 5G networks.

5. Conclusion and Future Work

This modular simulator provides a much-needed tool for the C-UAV research community, offering a balance between ease of use and high-fidelity modeling. By enabling the testing of cross-layer AI algorithms and real-world transport protocols, it paves the way for more reliable aerial networks. Future iterations will focus on incorporating site-specific channel models, AI-driven resource block allocation, and parallel computing techniques to support the simulation of massive drone swarms consisting of hundreds of nodes.

Summary updated

BibTeX
@inproceedings{su2025modular,
  author = {Yong Su and Yiyi Chen and Shenghong Yi and Hui Feng and Yuedong Xu and Wang Xiang and Bo Hu},
  title = {{A Modular and Scalable Simulator for Connected-UAVs Communication in 5G Networks}},
  booktitle = {MSWiM},
  year = {2025},
  doi = {10.1109/mswim67937.2025.11309167},
}
Figure