Abstract
Testing Connected and Automated Vehicle (CAV) applications requires high-fidelity network simulation, yet traditional tools like NS-3 are too slow for real-time Hardware-In-the-Loop (HIL) testing. This paper presents the Remote Vehicle Emulation (RVE) framework, powered by a custom real-time communication simulator (RTCSim). RTCSim achieves a 200-300x speedup over NS-3 while maintaining high accuracy in modeling DSRC (IEEE 802.11p) MAC and PHY layers. Experimental results demonstrate that RTCSim can emulate up to 1,000 vehicles in real-time, enabling seamless interaction between physical On-Board Units (OBUs) and large-scale virtual traffic environments.
Introduction
Testing vehicle-to-vehicle (V2V) communication is a significant challenge for engineers. Real-world field tests involving hundreds of vehicles are prohibitively expensive, pose safety risks in "near-crash" scenarios, and are difficult to replicate precisely. While software simulators like NS-3 or OMNET++ provide high-fidelity modeling, they are computationally intensive and slow. For instance, simulating 20 seconds of traffic for 1,000 vehicles can exceed 30 minutes in standard environments. This lack of real-time performance prevents Hardware-In-the-Loop (HIL) testing, where a physical On-Board Unit (OBU) must interact with a simulated environment in real-time to validate safety-critical applications.
The RVE Framework
The authors propose the Remote Vehicle Emulation (RVE) framework to bridge the gap between slow software simulations and expensive field tests. The framework consists of two primary components: a Mobility Log Generator and the Real-Time Communication Simulator (RTCSim).
- Mobility Log Generator: This component provides vehicle trajectories using either real-world GPS logs or synthetic data from SUMO (Simulation of Urban MObility).
- RTCSim: Serving as the core engine, RTCSim models the IEEE 802.11p (DSRC) protocol stack logic. Unlike simple message replay tools, RTCSim utilizes a priority queue and a state machine to emulate Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) logic, packet collisions (including propagation delay and hidden node issues), and PHY/MAC layer characteristics such as signal strength (RSS) and interference.
In this HIL setup, the output of RTCSim is transmitted to a real DSRC receiver (the Host Vehicle), which processes the emulated messages as if they originated from physical neighboring vehicles.
Experimental Evaluation
The framework was evaluated using synthetic mobility data across three road topologies: a 500m radius circular roundabout (Disk), a 3000m straight highway (Linear), and an intersection of two 1500m roads. These scenarios were tested at vehicle densities of 100, 500, and 1,000 to assess scalability and robustness. The researchers compared RTCSim against NS-3, the industry standard for high-fidelity network simulation, across metrics including Channel Busy Percent (CBP) and Packet Error Rate (PER).
Results and Discussion
The primary breakthrough of this work is achieving real-time status without compromising accuracy. RTCSim focuses on the specific MAC/PHY behaviors critical to DSRC, allowing 20 seconds of simulation to complete in less than 20 seconds of wall-clock time, even under high network congestion.
Validation against NS-3 showed nearly identical results. As shown in Figure 4, the PER curves for RTCSim closely track those of NS-3 across various distances and vehicle densities, confirming that the abstractions used in RTCSim do not sacrifice fidelity. Specifically, the model's ability to account for the "hidden node" problem ensures that packet error rates remain realistic.
The execution time results were particularly striking. For 1,000 vehicles, NS-3 required approximately 2,175 seconds (over 36 minutes), while RTCSim completed the task in just 6.79 seconds—a speedup of roughly 320x. This performance enables large-scale HIL testing that was previously impossible with standard simulators.
Conclusion
The RVE framework provides a scalable, high-fidelity solution for real-time CAV application testing. By achieving a 300x speedup over traditional simulators, it allows engineers to test complex V2V scenarios with real hardware in the loop. While currently optimized for DSRC, future work includes adapting the framework for C-V2X and integrating advanced congestion control strategies. Although RTCSim uses abstractions for radio propagation, its performance and accuracy make it a powerful tool for accelerating the development of connected vehicle technologies.
Summary updated