arXiv:2610.13138cs.ITOct 2026

Manuscript Offprint

arXiv:2610.13138

A Ray-Traced Digital Twin for 5G NR Positioning with OpenAirInterface

Nima Chaharbaghi, Florian Kaltenberger, Bartosz Podrygajlo, Rakesh Mundlamuri, Roberto Verdone

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Nima Chaharbaghi*, Florian Kaltenberger†, Bartosz Podrygajlo†, Rakesh Mundlamuri‡, Roberto Verdone*

*University of Bologna, Italy †EURECOM, France ‡OAI Software Alliance, France

nima.chaharbaghi@studio.unibo.it florian.kaltenberger@eurecom.fr roberto.verdone@unibo.it

bartosz.podrygajlo@openairinterface.org rakesh.mundlamuri@openairinterface.org

Abstract—Evaluating 5G positioning on a physical testbed ties every measurement to one propagation environment and one antenna layout, so any question about an alternative deployment requires a new field campaign. We present a ray-traced digital twin of the GEO-5G testbed at EURECOM that drives an unmodified OpenAirInterface (OAI) 5G stack with per-antenna channels computed by Sionna RT over a 3D model of the site. The distributed gNB antennas are modelled as independent radio devices rather than as elements of a compact array, which preserves the per-antenna absolute delays on which time-difference-of-arrival (TDoA) positioning depends. With them preserved, the twin drives OAI's SRS-based UL-TDoA pipeline to metre-level accuracy consistent with that reported for the physical deployment. We then use the twin to answer a question the physical testbed cannot. Widening the carrier truncates the tail of the horizontal error distribution without improving a typical position, and leaves the vertical error untouched, because the latter is limited by the array geometry rather than by the measurement. That limit is predictable from the antenna coordinates alone, and a height-diverse layout reduces the RMS height error by a factor of four.

Index Terms—digital twin, ray tracing, OpenAirInterface, UL-TDoA positioning, distributed antenna systems, wireless testbeds, dilution of precision

I. INTRODUCTION

Positioning is one of the capabilities that distinguishes 5G NR from its predecessors, and open-source implementations of the standardised methods have now reached the point where they can be evaluated on real deployments [1]–[3]. That evaluation is costly. It demands spectrum licensing, certified hardware and a prepared site, and a campaign consumes weeks before a single measurement is taken. What it returns is narrow: every measurement is bound to one propagation environment, one antenna layout and one mobility scenario, and the ground truth carries a survey uncertainty of its own. Questions of the form “what would this deployment achieve if the antennas were placed differently” cannot be answered without rebuilding the deployment.

A digital twin removes both constraints. If the channel is computed from a 3D model rather than measured over the air the environment becomes an input, and if the user equipment (UE) position is scripted rather than surveyed the ground truth becomes exact. Ray-traced twins coupled to a live protocol stack have been demonstrated for 5G mobility [4], and OAI ships a ray-tracing channel emulator connecting Sionna RT to its virtual radio simulator [5]. Neither addresses positioning, and both target a single-antenna link, precisely the configuration in which time-difference-of-arrival (TDoA) has nothing to measure.

This paper closes that gap and then exploits it. We build a ray-traced digital twin of the GEO-5G testbed at EURECOM, a distributed eight-antenna 5G deployment on which OAI's uplink TDoA (UL-TDoA) pipeline has already been evaluated in hardware [2], and use it to drive the same unmodified pipeline. Our contributions are:

  1. A distributed-antenna ray-traced channel emulator, extending the OAI ray-tracing channel emulator [5] from one co-located antenna to eight spatially separated elements, each an independent radio device so that its absolute propagation delay survives into the emulated channel. Neither softmodem is modified.

  2. A verification against the positioning pipeline the twin must support: over sixteen positions in two scenes and at two bandwidths, the emulated channel carries enough delay information for the unmodified OAI Location Management Function (LMF) to recover the geometry it was generated from, to a median horizontal error of 0.71–1.20 m [2].

  3. A deployment finding the physical testbed cannot produce: vertical accuracy is insensitive to a 2.5×2.5\times increase in channel bandwidth because it is limited by the antenna geometry, a limit that follows from the coordinates alone, and a height-diverse layout reduces the RMS height error by a factor of four while leaving the horizontal geometry untouched.