1 Introduction

Ray tracing for simulating radio wave propagation has received renewed attention in the recent years, fueled by the growing interest in creating digital twins for wireless communication systems and research topics that require simulating spatially consistent channel impulse responses (CIRs). In 2023, we released Sionna RT [1], the world’s first fully differentiable ray tracer for radio propagation modeling, as part of version 0.14 of the Sionna open-source library for research in communication systems [2]. Over the following years, we have expanded the capabilities of Sionna RT with additional features, including support for diffraction and diffuse reflection (version 0.15), mobility (version 0.17), and reflective intelligent surfaces (RISs) (version 0.18).

Sionna RT is built on top of the just-in-time (JIT) compiler Dr.Jit [3] and the differentiable physically-based renderer Mitsuba [4]. Sionna RT implements ray tracing-based algorithms to model the propagation of electromagnetic (EM) radio waves, enabling the computation of CIRs and radio maps (also known as coverage maps or power maps). Additionally, it includes radio material models to simulate the interaction of radio waves with scatterers in a radio propagation environment. The release of Sionna 1.0 marks a significant milestone as it features a complete revision of the ray tracing module.11 1 As of version 1.0.2, Sionna RT does not currently support diffraction and RISs. These features are planned for future updates. In the meantime, they remain available as part of Sionna version 0.19.2. The ray tracer is now interoperable with major deep learning frameworks, including TensorFlow [5] and PyTorch [6]. Moreover, the computation of CIRs and radio maps has been substantially accelerated while maintaining full differentiability of the ray tracing process by leveraging the automatic differentiation capabilities of Dr.Jit. The ray tracer has also been made easier to extend to facilitate research on various aspects of radio propagation and digital twins.

Refer to caption
Figure 1: A propagation path, shown in 2D for clarity.

The primary objective of Sionna RT is to identify the propagation paths that link radio devices within a given propagation environment. As depicted in Figure 1, a propagation environment is defined by a collection of scatterers. A radio device functions as either a transmitter, which emits radio waves, or a receiver, which captures them, and is equipped with one or more antennas. The channel frequency response H(f) characterizes the propagation of radio waves from a transmitting antenna to a receiving antenna for the frequency f, and is expressed as the ratio of the received voltage to the voltage at the input of the transmitting antenna:

H(f)=VRVT. (1)

As explained in Appendix A, the channel frequency response is the Fourier transform of the CIR, which is defined as:

h(τ)=n=1Nanδ(ττn). (2)

Here, N represents the number of propagation paths connecting the transmit antenna to the receive antenna. The term an is the complex-valued path coefficient for the n-th path, and τn=rn/c is the propagation delay, where rn is the distance the radio wave travels, and c is the speed of light. This leads to:

H(f)=h(τ)ej2πfτ𝑑τ=n=1Nanej2πfτn. (3)

Notably, the path coefficient an is calculated by considering the sequence of matrices that model the transformations caused by interactions with scatterers along the n-th propagation path, as well as the characteristics of the transmit and receive antennas:

an=λ4π𝐂R(θR,n,φR,n)𝖧(=1𝐓n())𝐂T(θT,n,φT,n). (4)

Here, λ is the wavelength, is the number of scatterers along the n-th path, 𝐂T is the complex-valued vector of dimension 2 representing the transmit antenna pattern evaluated for the angles of departure of the path (θT,n,φT,n), 𝐂R is the complex-valued vector of dimension 2 representing the receive antenna pattern evaluated for the angles of arrival of the path (θR,n,φR,n), and 𝐓n() is the 2×2 complex-valued matrix modeling the interaction with the -th scatterer. Further details on the computation of the path coefficient are provided in Section 3. The corresponding channel gain is

g=n=1N|an|2. (5)

It is crucial to understand that calculating the path coefficients and delays necessitates first determining the intersection points of the paths with the scene geometry, referred to as the path vertices. This is because computing the path coefficients (4) requires the knowledge of the geometrical features of the paths. Specifically, the antenna patterns are evaluated at the angles of departure and arrival of the paths, and computing the matrices 𝐓n() requires the angles of incidence and scattering of waves at the scatterers as well as the traveled distances. Once the path vertices have been determined, the path coefficients and delays are computed, considering the characteristics of the antennas and scatterers’ materials.

Paths are determined between two endpoints: a source and a target. Ideally, paths would be traced between every pair of transmitter and receiver antennas, designating the sources and targets as the set of transmit and receive antennas, respectively. However, when radio devices are equipped with a large number of antennas, computing paths for all antenna pairs becomes computationally demanding. To mitigate this issue, Sionna RT introduces a synthetic array feature, which calculates paths only between radio devices instead of each antenna pair. Phase shifts due to the array geometry are then applied synthetically, as detailed in Section 3. Note that the use of synthetic arrays can be disabled. Throughout this document, the endpoints of a path will be referred to as sources and targets, which can be either radio devices or antennas. Although the use of synthetic arrays does not change the pathfinding process, it does affect the computation of the path coefficient and delays.

Refer to caption
Figure 2: Sionna RT architecture overview.

Figure 2 illustrates the overall architecture of Sionna RT. A scene represents a radio propagation environment, comprising a set of objects, radio materials, and radio devices. Each object acting as a scatterer is associated with a radio material that determines its interaction with incident radio waves. Multiple objects can share the same radio material. Radio materials are akin to bidirectional scattering distribution function (BSDF) in the field of computer graphics, see e.g. [7, Ch. 4.3.1]. Note that an object alone defines only the geometry of a scatterer and does not contain any information about the radio material. Radio devices are either transmitters or receivers. A solver implements an algorithm for simulating radio wave propagation within a scene. Given the distinct algorithmic requirements for CIRs and radio maps, Sionna RT provides two types of solvers:

  • The path solver computes a set of paths connecting a source to a target, which can then be used to compute a CIR.

  • The radio map solver computes a radio map, a 2D grid of values that approximate the channel gain (5) that a receiver located on the grid would observe.

While Sionna RT provides built-in solvers and radio material models, it is designed to facilitate the implementation of custom alternatives.

Contributions of the Technical Report

Beyond serving as a technical reference, this technical report provides theoretical contributions by detailing the key methods implemented in Sionna RT for simulating radio wave propagation by ray tracing. For computing paths, a method that combines shooting and bouncing of rays (SBR) with the image method is presented. Although this approach existed in earlier versions of Sionna RT, it has been significantly refined in Sionna 1.0, notably by incorporating a hashing-based mechanism to efficiently remove duplicate paths. The technical report also introduces a formal definition of radio maps, which forms the foundation for the radio map solver implemented in Sionna RT, as it enables efficient computation through SBR alone. It is worth noting that SBR is already extensively used in the graphics community (see e.g. [7]). Moreover, we include discussions on the limitations of the current algorithms and offer perspectives for future improvements.

Structure of the Technical Report

Section 2 introduces the essential concepts and terminology. Sections 3 and 4 provide an in-depth look at the built-in path solver and radio map solver of Sionna RT, respectively. These sections primarily focus on path tracing algorithms, specifically the methods used to determine the intersection points of paths with scene geometry. Appendix A provides a primer on EM theory and explains the computation of the electric field along a path.