\definechangesauthor

[color=blue,name=Vassilis]VP

Evaluation of RIS-Enabled B5G/6G Indoor Positioning and Mapping using Ray Tracing Models

Dimitris Kompostiotis2, Dimitris Vordonis2, Vassilis Paliouras2, George C. Alexandropoulos5, and Florin Grec4 2Electrical and Computer Engineering Department, University of Patras, Greece,
5Department of Informatics and Telecommunications, National and Kapodistrian University of Athens, Greece,
4 European Space Agency (ESA), Noordwijk, Netherlands
e-mails: {d.kompostiotis, d.vordonis}@ac.upatras.gr, [email protected], [email protected], [email protected]
Abstract

A Reconfigurable Intelligent Surface (RIS) can significantly enhance network positioning and mapping, acting as an additional anchor point in the reference system and improving signal strength and measurement diversity through the generation of favorable scattering conditions and virtual line-of-sight paths. In this paper, we present a comprehensive framework aimed at user localization and scatterer position estimation in an indoor environment with multipath effects. Our approach leverages beam sweeping through codebook-based beamforming at an 1111-bit RIS to scan the environment, applies signal component extraction mechanisms, and utilizes a super-resolution algorithm for angle-based positioning of both connected users and scatterers. To validate the system’s effectiveness, accurate 3D ray tracing models are employed, ensuring the robustness and effectiveness of the proposed approach in practical scenarios.

Index Terms:
Reconfigurable intelligent surfaces, MIMO, positioning, localization, mapping, MUSIC, ray tracing.

I Introduction

The evolution of wireless networks has led to the development of new Internet of Things (IoT) services and applications, including smart cities, autonomous vehicles, transforming healthcare, process automation, and extended reality [1, 2, 3, 4]. These applications demand precise localization of both active network nodes and passive elements, like obstacles and scatterers. Achieving such high performance localization and mapping requires sufficient infrastructure coverage, the ability to resolve different signal paths, and accurate estimation of geometric parameters for each identifiable path. Currently, this estimation problem is solved using various radio technologies, such as Global Navigation Satellite Systems (GNSS) [5, 6] and Ultra-WideBand (UWB) [6]. However, since GNSS is restricted to outdoor usage and UWB to short-range applications, new technologies are anticipated to bridge this gap by offering enhanced capabilities across different environments [6].

Starting from 4-th Generation (4G) networks, localization is achieved using multiple anchors, such as Access Points (APs), which exchange signals with User Equipment (UE) to determine the Time Difference of Arrival (TDoA) [7] and pinpoint UE locations. In 5G networks, the use of multiple antennas at both APs and UEs has enabled the estimation of the Angles of Arrival (AoAs) and Angles of Departure (AoDs), facilitating environmental sensing and mapping [8, 9, 10]. Despite these advancements, current techniques face limitations in accuracy and reliability, particularly in multipath, interference-heavy, and Non-Line-of-Sight (NLoS) environments. To overcome some of these challenges, the use of Reconfigurable Intelligent Surfaces (RISs) has been proposed for 6G [11, 12, 13]. RISs can enhance localization by providing higher angular resolution through their large physical apertures, and by addressing NLoS limitations when optimally placed [14, 15]. By controlling the wireless propagation environment [16, 17, 18], RISs facilitate the extraction of accurate channel parameter estimation, making the localization and mapping problem over-determined, and thus, easier to solve [14, 19].

The potential of RIS-aided indoor localization and mapping is lately attracting various research investigations [14, 19, 15, 20, 21, 22, 23, 24, 25]. RIS optimization is crucial in this field and various methods are being explored. Approaches include RIS phase optimization tailored for fingerprinting solutions based on Received Signal Strength (RSS) measurements at the UE [26], and beam sweeping or hierarchical codebook strategies to scan the environment [27, 28, 29, 30]. Furthermore, techniques for separating direct components from those generated by RIS reflections, as presented in [31], are vital for indoor and sub-6 GHz scenarios. Regarding the problem of mapping, Zhang et al. [32] proposed a novel approach for scatterer position estimation using a MUltiple SIgnal Classification (MUSIC) based algorithm. Taha et al. [33] introduced an innovative framework for estimating the depth map of the surrounding environment using a monostatic RIS-aided wireless sensing system, as well as an RIS codebook to create a sensing grid of reflected beams. In addition, Tong et al. [34] discretized the space and estimated the channel to identify scatterers in each sub-space, facilitating accurate environment estimation.

In this paper, a protocol for RIS-aided UE and scatterer positioning is presented. The proposed approach integrates codebook-based beamforming at the RIS, combined with a geometry-based method that facilitates angle-based positioning. Also, signal component extraction mechanisms are derived to distinguish direct signals from those received from reflections at a scatterer, and final results are validated using 3D Ray Tracing (RT) channel models. Unlike [32], which overlooks the RIS node in UE positioning and relies on the LoS conditions between the AP and UE, this work utilizes the RIS node and its reflection properties to compensate for the absence of the direct LoS AP-UE path. In addition, [32] assumed continuous phase shifters at the RIS, whereas this work employs a practical and low-resolution 1111-bit RIS [35]; making the positioning problem more realistic and challenging.

The remainder of the paper is organized as follows: Section II describes the system model, while Sections III and IV present the protocol and the proposed estimation method for user and scatterer positioning, respectively. Section V includes the simulation results and Section VI concludes the paper.

II System and Signals Model

This work considers the downlink RIS-enabled indoor wireless system shown in Fig. 1, consisting of an AP equipped with NTsubscript𝑁𝑇N_{T}italic_N start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT antennas that communicates with an NRsubscript𝑁𝑅N_{R}italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT-antenna Uniform Linear Array (ULA) UE. The direct channel paths from the AP to the UE are assumed as NLoS. The RIS is placed in a way that creates a LoS path, both at the AP-to-RIS, 𝑯1[n]N×NTsubscript𝑯1delimited-[]𝑛superscript𝑁subscript𝑁𝑇\bm{H}_{1}[n]{\in}\mathbb{C}^{N\times N_{T}}bold_italic_H start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N × italic_N start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, and RIS-to-UE, 𝑯2[n]NR×Nsubscript𝑯2delimited-[]𝑛superscriptsubscript𝑁𝑅𝑁\bm{H}_{2}[n]{\in}\mathbb{C}^{N_{R}\times N}bold_italic_H start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT × italic_N end_POSTSUPERSCRIPT, channels; n𝑛nitalic_n denotes the specific time-domain channel filter tap. We model the RIS as a Unifom Rectangular Array (URA) transceiver and assume that it consists of N=NH×NV𝑁subscript𝑁𝐻subscript𝑁𝑉N{=}N_{H}{\times}N_{V}italic_N = italic_N start_POSTSUBSCRIPT italic_H end_POSTSUBSCRIPT × italic_N start_POSTSUBSCRIPT italic_V end_POSTSUBSCRIPT reflecting elements, where NHsubscript𝑁𝐻N_{H}italic_N start_POSTSUBSCRIPT italic_H end_POSTSUBSCRIPT is the horizontal and NVsubscript𝑁𝑉N_{V}italic_N start_POSTSUBSCRIPT italic_V end_POSTSUBSCRIPT is the vertical dimension. The direct AP-to-UE channel is represented by 𝑯d[n]NR×NTsubscript𝑯𝑑delimited-[]𝑛superscriptsubscript𝑁𝑅subscript𝑁𝑇\bm{H}_{d}[n]{\in}\mathbb{C}^{N_{R}\times N_{T}}bold_italic_H start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT × italic_N start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT end_POSTSUPERSCRIPT. To model all latter Multiple-Input and Multiple-Output (MIMO) wireless channels, the RT model of MatlabTM is adopted, which is a physics-based geometric wireless channel model and is ideal for describing static wireless channels in the frequency range of 100100100100 MHz–100100100100 GHz. In discrete-time baseband representation, each channel is modeled for a specific carrier frequency fcsubscript𝑓𝑐f_{c}italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT using RT as follows:

𝑯[n]=l=1Lβl,nαlej 2πτlfc𝐚Rx(φAoAl)𝐚TxH(φAoDl),𝑯delimited-[]𝑛superscriptsubscript𝑙1𝐿subscript𝛽𝑙𝑛subscript𝛼𝑙superscript𝑒j2𝜋subscript𝜏𝑙subscript𝑓𝑐subscript𝐚Rxsuperscriptsubscript𝜑AoA𝑙superscriptsubscript𝐚Tx𝐻superscriptsubscript𝜑AoD𝑙\bm{H}[n]=\sum_{l=1}^{L}\beta_{l,n}\,\alpha_{l}\,e^{-\text{j}\,2\pi\tau_{l}f_{% c}}\,\bm{\mathbf{a}}_{\text{Rx}}(\varphi_{\text{AoA}}^{l})\bm{\mathbf{a}}_{% \text{Tx}}^{H}(\varphi_{\text{AoD}}^{l}),bold_italic_H [ italic_n ] = ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_L end_POSTSUPERSCRIPT italic_β start_POSTSUBSCRIPT italic_l , italic_n end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT - j 2 italic_π italic_τ start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT end_POSTSUPERSCRIPT bold_a start_POSTSUBSCRIPT Rx end_POSTSUBSCRIPT ( italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT ) bold_a start_POSTSUBSCRIPT Tx end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT ( italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT ) , (1)

where L𝐿Litalic_L is the number of channel propagation paths, and for each l𝑙litalic_l-th path, βl,nsubscript𝛽𝑙𝑛\beta_{l,n}\in\mathbb{R}italic_β start_POSTSUBSCRIPT italic_l , italic_n end_POSTSUBSCRIPT ∈ blackboard_R is the pathloss factor modeling the fractional-delay channel filter, αlsubscript𝛼𝑙\alpha_{l}\in\mathbb{R}italic_α start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT ∈ blackboard_R is the pathloss factor, τlsubscript𝜏𝑙\tau_{l}italic_τ start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT is the propagation path delay, and φAoAlsuperscriptsubscript𝜑AoA𝑙\varphi_{\text{AoA}}^{l}italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT and φAoDlsuperscriptsubscript𝜑AoD𝑙\varphi_{\text{AoD}}^{l}italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT are the AoA and AoD, respectively. Finally, 𝐚qsubscript𝐚𝑞\bm{\mathbf{a}}_{q}bold_a start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT (q{Tx,Rx}𝑞TxRxq{\in}\{\text{Tx},\,\text{Rx}\}italic_q ∈ { Tx , Rx }) is the array response vector which is given for the far-field case by:

𝐚q(φ,θ)=[eȷ𝐤(φ,θ)𝖳𝐮1q,,eȷ𝐤(φ,θ)𝖳𝐮Nq]T,subscript𝐚𝑞𝜑𝜃superscriptsuperscript𝑒italic-ȷ𝐤superscript𝜑𝜃𝖳subscriptsuperscript𝐮𝑞1superscript𝑒italic-ȷ𝐤superscript𝜑𝜃𝖳subscriptsuperscript𝐮𝑞𝑁𝑇\mathbf{a}_{q}(\varphi,\theta)=\Big{[}e^{-\,\jmath\mathbf{k}(\varphi,\theta)^{% \mathsf{T}}\mathbf{u}^{q}_{1}},\ldots,e^{-\,\jmath\mathbf{k}(\varphi,\theta)^{% \mathsf{T}}\mathbf{u}^{q}_{N}}\Big{]}^{\mathrlap{T}},bold_a start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT ( italic_φ , italic_θ ) = [ italic_e start_POSTSUPERSCRIPT - italic_ȷ bold_k ( italic_φ , italic_θ ) start_POSTSUPERSCRIPT sansserif_T end_POSTSUPERSCRIPT bold_u start_POSTSUPERSCRIPT italic_q end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT , … , italic_e start_POSTSUPERSCRIPT - italic_ȷ bold_k ( italic_φ , italic_θ ) start_POSTSUPERSCRIPT sansserif_T end_POSTSUPERSCRIPT bold_u start_POSTSUPERSCRIPT italic_q end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ] start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT , (2)

with 𝐮iqsubscriptsuperscript𝐮𝑞𝑖\mathbf{u}^{q}_{i}bold_u start_POSTSUPERSCRIPT italic_q end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT being the Tx’s (qTx𝑞Txq{\equiv}\text{Tx}italic_q ≡ Tx) or Rx’s (qRx𝑞Rxq{\equiv}\text{Rx}italic_q ≡ Rx) i𝑖iitalic_i-th transceiving element position and the wave vector (𝐤(φ,θ)3×1𝐤𝜑𝜃superscript31\mathbf{k}(\varphi,\theta){\in}\mathbb{R}^{3{\times}1}bold_k ( italic_φ , italic_θ ) ∈ blackboard_R start_POSTSUPERSCRIPT 3 × 1 end_POSTSUPERSCRIPT) of the transmitted signal propagating at the azimuth angle φ𝜑\varphiitalic_φ and elevation θ𝜃\thetaitalic_θ with wavelength λ𝜆\lambdaitalic_λ is given by:

𝐤(φ,θ)=2πλ[cos(θ)cos(φ),cos(θ)sin(φ),sin(θ)]T.𝐤𝜑𝜃2𝜋𝜆superscript𝜃𝜑𝜃𝜑𝜃𝑇\mathbf{k}(\varphi,\theta)=\frac{2\pi}{\lambda}\Big{[}\cos{(\theta)}\cos{(% \varphi)},\cos{(\theta)}\sin{(\varphi)},\sin{(\theta)}\Big{]}^{\mathrlap{T}}.bold_k ( italic_φ , italic_θ ) = divide start_ARG 2 italic_π end_ARG start_ARG italic_λ end_ARG [ roman_cos ( italic_θ ) roman_cos ( italic_φ ) , roman_cos ( italic_θ ) roman_sin ( italic_φ ) , roman_sin ( italic_θ ) ] start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT . (3)

The narrowband model in (1) is centered around the frequency fcsubscript𝑓𝑐f_{c}italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT. It is noted that, for AoA estimation via [8, 9], the modulation of the transmitted signal is irrelevant. For a wideband channel model, we would simply apply the same procedure to each sub-carrier within an Orthogonal Frequency Division Multiplexing (OFDM) block. Compared with stochastic channel models, like in [36, 37], the LoS path is also modeled like the first term in (1) and the NLoS paths (i.e., the small-scale fading effect) are modeled through a Rayleigh distribution. Thus, both RT-based/geometric and stochastic models result in corresponding mathematical formulations which is useful for replicating and comparing results with other channel models.

Refer to caption
Figure 1: The considered RT-based simulation setup where the red point denotes Tx positions, blue point the Rx, and the red and blue point the RIS node.

Assuming that 𝒙[n]NT𝒙delimited-[]𝑛superscriptsubscript𝑁𝑇\bm{x}[n]{\in}\mathbb{C}^{N_{T}}bold_italic_x [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is the transmitted signal containing Nssubscript𝑁𝑠N_{s}italic_N start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT pilot samples, the received signals 𝒓RIS[n]subscript𝒓RISdelimited-[]𝑛\bm{r}_{\text{RIS}}[n]bold_italic_r start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT [ italic_n ] and 𝒓d[n]subscript𝒓𝑑delimited-[]𝑛\bm{r}_{d}[n]bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT [ italic_n ] via the RIS and direct path, respectively, are given by:

𝒓RIS[n]NRsubscript𝒓RISdelimited-[]𝑛superscriptsubscript𝑁𝑅\displaystyle\bm{r}_{\text{RIS}}[n]\in\mathbb{C}^{N_{R}}bold_italic_r start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT end_POSTSUPERSCRIPT =𝑯𝟐[n](𝚽(𝑯𝟏[n]𝒙[n])),absentsubscript𝑯2delimited-[]𝑛𝚽subscript𝑯1delimited-[]𝑛𝒙delimited-[]𝑛\displaystyle=\,\bm{H_{2}}[n]\ast\,\big{(}\boldsymbol{\Phi}\,(\bm{H_{1}}[n]\,% \ast\bm{x}[n])\big{)},= bold_italic_H start_POSTSUBSCRIPT bold_2 end_POSTSUBSCRIPT [ italic_n ] ∗ ( bold_Φ ( bold_italic_H start_POSTSUBSCRIPT bold_1 end_POSTSUBSCRIPT [ italic_n ] ∗ bold_italic_x [ italic_n ] ) ) , (4)
𝒓d[n]NRsubscript𝒓𝑑delimited-[]𝑛superscriptsubscript𝑁𝑅\displaystyle\bm{r}_{d}[n]\in\mathbb{C}^{N_{R}}bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT end_POSTSUPERSCRIPT =𝑯𝒅[n]𝒙[n],absentsubscript𝑯𝒅delimited-[]𝑛𝒙delimited-[]𝑛\displaystyle=\,\bm{H_{d}}[n]\,\ast\bm{x}[n],= bold_italic_H start_POSTSUBSCRIPT bold_italic_d end_POSTSUBSCRIPT [ italic_n ] ∗ bold_italic_x [ italic_n ] ,

where \ast is the convolution operator and 𝚽𝚽\boldsymbol{\Phi}bold_Φ denotes the RIS configuration, specified as a N×N𝑁𝑁N{\times}Nitalic_N × italic_N diagonal matrix. It is worth noting that only a single time-domain filter tap is used to model RIS’s response, thus, not capturing its frequency selective response [38]; this will be addressed in future work. The final received signal at the UE depends on which path arrives first (i.e., the path through RIS or the direct one). The signal arriving second is in fact added to the first appropriately shifted in time. Thus, the total received signal is given by:

𝒓tot=𝒓RIS+𝒓d+𝒘,subscript𝒓totsubscript𝒓RISsubscript𝒓𝑑𝒘\bm{r}_{\text{tot}}=\bm{r}_{\text{RIS}}+\bm{r}_{d}+\bm{w},bold_italic_r start_POSTSUBSCRIPT tot end_POSTSUBSCRIPT = bold_italic_r start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT + bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT + bold_italic_w , (5)

where 𝒘NR𝒘superscriptsubscript𝑁𝑅\bm{w}{\in}\mathbb{C}^{N_{R}}bold_italic_w ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is the Additive White Gaussian Noise (AWGN) and 𝒓RISsubscript𝒓RIS\bm{r}_{\text{RIS}}bold_italic_r start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT and 𝒓dsubscript𝒓𝑑\bm{r}_{d}bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT are appropriately shifted and added.

III B5G/6G Indoor Positioning

The positioning problem in an indoor setup, such as the one in Fig. 1, requires processing the received signal 𝒓totsubscript𝒓tot\bm{r}_{\text{tot}}bold_italic_r start_POSTSUBSCRIPT tot end_POSTSUBSCRIPT in order to extract the position coordinates of the UE, based on some reference points (e.g., APs’ or RISs’ locations). Therefore, by exploiting the new B5G/6G network infrastructure, namely ULA-based UEs and the RIS, the angle and ranging (or Time of Arrival (ToA)) of the LoS RIS-to-UE path can be estimated, leading to accurate positioning. Assuming perfect ToA estimation (RIS-aided ToA estimation is left for future work), here we focus on solving the AoA estimation problem. Since super-resolution algorithms [8, 9] calculate the AoA of the LoS path with high accuracy when LoS path is stronger than other paths, a configuration that beamforms towards this LoS path is needed. But, since the position of the UE is not known to directly beamform to it using the RIS, an offline codebook of RIS configurations is designed. Subsequently, the one that maximizes UE’s received power is selected.

The proposed codebook design method tries to shape the power radiation pattern of the RIS in a sense that it tries to find for each desired reflection angle (angles covering the desired space resolution) an RIS configuration that reflects as much power as possible to that particular angle and less power to the others. The power radiation pattern of RIS is given by [39]:

A(φ,θ)=|𝝎𝜽T(𝐚RIS(φAoA,θAoA)𝐚RIS(φ,θ))|2,A𝜑𝜃superscriptsuperscriptsubscript𝝎𝜽𝑇direct-productsubscript𝐚RISsubscript𝜑AoAsubscript𝜃AoAsubscriptsuperscript𝐚RIS𝜑𝜃2\text{A}(\varphi,\theta)=|\bm{\omega}_{\bm{\theta}}^{T}\,(\mathbf{a}_{\text{% RIS}}(\varphi_{\text{AoA}},\theta_{\text{AoA}})\odot\mathbf{a}^{*}_{\text{RIS}% }(\varphi,\theta))|^{2},A ( italic_φ , italic_θ ) = | bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( bold_a start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT ( italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT , italic_θ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT ) ⊙ bold_a start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT ( italic_φ , italic_θ ) ) | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , (6)

where direct-product\odot is the Hadamard product, (φ,θ)𝜑𝜃(\varphi,\theta)( italic_φ , italic_θ ) refers to the angle pair where the RIS reflects power, (φAoA,θAoA)subscript𝜑AoAsubscript𝜃AoA(\varphi_{\text{AoA}},\theta_{\text{AoA}})( italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT , italic_θ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT ) is the AoA pair on the RIS, 𝝎𝜽=[ejθ1,,ejθN]𝖳Nsubscript𝝎𝜽superscriptsuperscript𝑒jsubscript𝜃1superscript𝑒jsubscript𝜃𝑁𝖳superscript𝑁\bm{\omega}_{\bm{\theta}}=[e^{\text{j}\theta_{1}},\ldots,e^{\text{j}\theta_{N}% }]^{\mathsf{T}}\in\mathbb{C}^{N}bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT = [ italic_e start_POSTSUPERSCRIPT j italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT , … , italic_e start_POSTSUPERSCRIPT j italic_θ start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ] start_POSTSUPERSCRIPT sansserif_T end_POSTSUPERSCRIPT ∈ blackboard_C start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT is the RIS configuration, and 𝐚RIS(φ,θ)subscript𝐚RIS𝜑𝜃\mathbf{a}_{\text{RIS}}(\varphi,\theta)bold_a start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT ( italic_φ , italic_θ ) is given by (2). In fact, the RIS array response vector incorporates not only geometric features of the surface, but also the radiation pattern of each RIS element. However, here an isotropic radiation pattern for each RIS element is assumed. Therefore, to beamform to a specific direction/angle pair (φ,θ)𝜑𝜃(\varphi,\theta)( italic_φ , italic_θ ), we need to maximize the A(φ,θ)A𝜑𝜃\text{A}(\varphi,\theta)A ( italic_φ , italic_θ ) in (6) with respect of 𝝎𝜽subscript𝝎𝜽\bm{\omega}_{\bm{\theta}}bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT. Using the maximum ratio transmission solution [40], the A(φ,θ)A𝜑𝜃\text{A}(\varphi,\theta)A ( italic_φ , italic_θ ) is maximized for

𝝎𝜽T=(𝐚RIS(φAoA,θAoA)𝐚RIS(φ,θ))H.superscriptsubscript𝝎𝜽𝑇superscriptdirect-productsubscript𝐚RISsubscript𝜑AoAsubscript𝜃AoAsubscriptsuperscript𝐚RIS𝜑𝜃𝐻\bm{\omega}_{\bm{\theta}}^{T}=(\mathbf{a}_{\text{RIS}}(\varphi_{\text{AoA}},% \theta_{\text{AoA}})\odot\mathbf{a}^{*}_{\text{RIS}}(\varphi,\theta))^{H}.bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT = ( bold_a start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT ( italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT , italic_θ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT ) ⊙ bold_a start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT ( italic_φ , italic_θ ) ) start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT . (7)

However, the result in (7) corresponds to the continuous case, where we have infinite angle resolution for each RIS-element’s configuration. For practical RIS implementations, where each element’s configuration applies for two discrete values (e.g., θi{π2,π2},isubscript𝜃𝑖𝜋2𝜋2for-all𝑖\theta_{i}{\in}\{-\frac{\pi}{2},\frac{\pi}{2}\},\forall iitalic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ { - divide start_ARG italic_π end_ARG start_ARG 2 end_ARG , divide start_ARG italic_π end_ARG start_ARG 2 end_ARG } , ∀ italic_i), the solution in (7) needs to be quantized, leading also to a quantized version of the codebook.

After the codebook generation, the protocol for RIS-aided localization continues with specifying the RIS configuration included in the codebook that maximizes the received power at the Rx (i.e., beam scanning), thus, solving the problem:

𝚽0=argmax𝚽𝒞𝑯𝟐[n](Φ(𝑯𝟏[n]𝒙[n]))+𝒓d,subscript𝚽0𝚽𝒞argmaxsubscript𝑯2delimited-[]𝑛Φsubscript𝑯1delimited-[]𝑛𝒙delimited-[]𝑛subscript𝒓𝑑\bm{\Phi}_{0}=\underset{\bm{\Phi}\,\in\,\mathcal{CB}}{\operatorname{argmax}}\,% \,\,\,\bm{H_{2}}[n]\ast\,\big{(}\Phi\,(\bm{H_{1}}[n]\,\ast\bm{x}[n])\big{)}+% \bm{r}_{d},bold_Φ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = start_UNDERACCENT bold_Φ ∈ caligraphic_C caligraphic_B end_UNDERACCENT start_ARG roman_argmax end_ARG bold_italic_H start_POSTSUBSCRIPT bold_2 end_POSTSUBSCRIPT [ italic_n ] ∗ ( roman_Φ ( bold_italic_H start_POSTSUBSCRIPT bold_1 end_POSTSUBSCRIPT [ italic_n ] ∗ bold_italic_x [ italic_n ] ) ) + bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT , (8)

where 𝒞𝒞\mathcal{CB}caligraphic_C caligraphic_B denotes the codebook. The configuration 𝚽0subscript𝚽0\bm{\Phi}_{0}bold_Φ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT (like all RIS phase configurations in 𝒞𝒞\mathcal{CB}caligraphic_C caligraphic_B) is constructed to perform beamforming to a certain angle. Therefore, the angle at which this configuration reflects the signal, is also a first estimate of the angle at which the UE is located. Using this configuration (i.e., 𝚽0subscript𝚽0\bm{\Phi}_{0}bold_Φ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT) to improve the power of the LoS path against the NLoS terms when executing MUSIC algorithm [8], results in enhanced AoA estimation accuracy.

It is noted that, sometimes when running the MUSIC algorithm [8] using the observation 𝒓totsubscript𝒓tot\bm{r}_{\text{tot}}bold_italic_r start_POSTSUBSCRIPT tot end_POSTSUBSCRIPT in (5), the AP-to-UE channel is stronger than the channel through the RIS [41]. This is mainly due to the double path-loss present in the virtual, through the RIS, LoS path [41]. In this case, the ON/OFF protocol of [41] can be applied that uses the RIS to estimate the measurement received from the direct channel. The 𝒓dsubscript𝒓𝑑\bm{r}_{d}bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT term can be then subtracted from the measurements and MUSIC estimates the LoS-path’s AoD from the RIS with high accuracy, since interference from signals arriving directly from the AP is reduced. To estimate the 𝒓𝒅subscript𝒓𝒅\bm{r_{d}}bold_italic_r start_POSTSUBSCRIPT bold_italic_d end_POSTSUBSCRIPT term, we sequentially apply the configurations ejπ2=jsuperscript𝑒𝑗𝜋2𝑗e^{j\frac{\pi}{2}}{=}jitalic_e start_POSTSUPERSCRIPT italic_j divide start_ARG italic_π end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT = italic_j (𝚽1superscript𝚽1\boldsymbol{\Phi}^{1}bold_Φ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT) and ejπ2=jsuperscript𝑒𝑗𝜋2𝑗e^{-j\frac{\pi}{2}}{=}-jitalic_e start_POSTSUPERSCRIPT - italic_j divide start_ARG italic_π end_ARG start_ARG 2 end_ARG end_POSTSUPERSCRIPT = - italic_j, (i.e., 𝚽2=𝚽1superscript𝚽2superscript𝚽1\boldsymbol{\Phi}^{2}{=}-\boldsymbol{\Phi}^{1}bold_Φ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = - bold_Φ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT) to each RIS element, resulting in the measurements:

𝒓1subscript𝒓1\displaystyle\bm{r}_{1}bold_italic_r start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT =𝑯𝟐[n](Φ1(𝑯𝟏[n]𝒙[n]))+𝒓d+𝒘absentsubscript𝑯2delimited-[]𝑛superscriptΦ1subscript𝑯1delimited-[]𝑛𝒙delimited-[]𝑛subscript𝒓𝑑𝒘\displaystyle=\bm{H_{2}}[n]\ast\,\big{(}\Phi^{1}\,(\bm{H_{1}}[n]\,\ast\bm{x}[n% ])\big{)}+\bm{r}_{d}+\bm{w}= bold_italic_H start_POSTSUBSCRIPT bold_2 end_POSTSUBSCRIPT [ italic_n ] ∗ ( roman_Φ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT ( bold_italic_H start_POSTSUBSCRIPT bold_1 end_POSTSUBSCRIPT [ italic_n ] ∗ bold_italic_x [ italic_n ] ) ) + bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT + bold_italic_w (9)
𝒓2subscript𝒓2\displaystyle\bm{r}_{2}bold_italic_r start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT =𝑯𝟐[n](Φ1(𝑯𝟏[n]𝒙[n]))+𝒓d+𝒘absentsubscript𝑯2delimited-[]𝑛superscriptΦ1subscript𝑯1delimited-[]𝑛𝒙delimited-[]𝑛subscript𝒓𝑑𝒘\displaystyle=\bm{H_{2}}[n]\ast\,\big{(}-\Phi^{1}\,(\bm{H_{1}}[n]\,\ast\bm{x}[% n])\big{)}+\bm{r}_{d}+\bm{w}= bold_italic_H start_POSTSUBSCRIPT bold_2 end_POSTSUBSCRIPT [ italic_n ] ∗ ( - roman_Φ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT ( bold_italic_H start_POSTSUBSCRIPT bold_1 end_POSTSUBSCRIPT [ italic_n ] ∗ bold_italic_x [ italic_n ] ) ) + bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT + bold_italic_w
=𝑯𝟐[n](Φ1(𝑯𝟏[n]𝒙[n]))+𝒓d+𝒘.absentsubscript𝑯2delimited-[]𝑛superscriptΦ1subscript𝑯1delimited-[]𝑛𝒙delimited-[]𝑛subscript𝒓𝑑𝒘\displaystyle=-\bm{H_{2}}[n]\ast\,\big{(}\Phi^{1}\,(\bm{H_{1}}[n]\,\ast\bm{x}[% n])\big{)}+\bm{r}_{d}+\bm{w}.= - bold_italic_H start_POSTSUBSCRIPT bold_2 end_POSTSUBSCRIPT [ italic_n ] ∗ ( roman_Φ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT ( bold_italic_H start_POSTSUBSCRIPT bold_1 end_POSTSUBSCRIPT [ italic_n ] ∗ bold_italic_x [ italic_n ] ) ) + bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT + bold_italic_w .

Adding 𝒓1subscript𝒓1\bm{r}_{1}bold_italic_r start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT and 𝒓2subscript𝒓2\bm{r}_{2}bold_italic_r start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT we obtain 𝒓dest=(𝒓1+𝒓2)/2superscriptsubscript𝒓𝑑estsubscript𝒓1subscript𝒓22\bm{r}_{d}^{\text{est}}=(\bm{r}_{1}+\bm{r}_{2})/2bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT = ( bold_italic_r start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT + bold_italic_r start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) / 2. Thus, the final UE’s observation is 𝒓tot=𝒓RIS+𝒘subscript𝒓totsubscript𝒓RIS𝒘\bm{r}_{\text{tot}}=\bm{r}_{\text{RIS}}+\bm{w}bold_italic_r start_POSTSUBSCRIPT tot end_POSTSUBSCRIPT = bold_italic_r start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT + bold_italic_w. Therefore, the measurement obtained after removing 𝒓destsuperscriptsubscript𝒓𝑑est\bm{r}_{d}^{\text{est}}bold_italic_r start_POSTSUBSCRIPT italic_d end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT depends on the RIS configuration, and if it is appropriately selected from 𝒞𝒞\mathcal{CB}caligraphic_C caligraphic_B, AoA estimation’s accuracy can be significantly enhanced.

IV B5G/6G-based Mapping

Radio mapping from (1) concerns specifying the location of scattering points in space, that also create NLoS paths. In principle, NLoS paths of a single reflection point and of which the scattering point is located at the front of RIS are of interest, so that the path can be activated with some RIS configuration. The remaining paths are significantly attenuated, and thus, treated as interference. Additionally, since ULA-based UEs are commonly used, only NLoS paths with θ=0𝜃0\theta=0italic_θ = 0 can be resolved. So, henceforth the notation for the θ𝜃\thetaitalic_θ-angle is dropped.

Continuing with the hypothesis that the LoS and single-reflected NLoS paths are stronger over all others (both as a summation and as individual paths), the algorithmic description of the proposed mapping protocol follows. Having already estimated the position of the UE, the next step is to perform the beam scanning technique again, but this time activating the NLoS paths sequentially. However, the attenuation of the NLoS channel terms is large compared to the LoS term. Therefore, even for RIS configurations in 𝒞𝒞\mathcal{CB}caligraphic_C caligraphic_B that do not beamform in the direction of the LoS path, but in the direction of one of the NLoS paths, the strength of the LoS term is dominant. This leads MUSIC algorithm in estimating the angle of the LoS path and not that of the NLoS-path. To deal with this phenomenon, an approach similar to the ON/OFF protocol is adopted. However, in this case, the goal is to remove the LoS path’s term from the measurements.

Input: 𝒓totsubscript𝒓tot\bm{r}_{\text{tot}}bold_italic_r start_POSTSUBSCRIPT tot end_POSTSUBSCRIPT from (5).
Output: UE’s position:(φAoAest,τest)superscriptsubscript𝜑AoAestsuperscript𝜏est(\varphi_{\text{AoA}}^{\text{est}},\tau^{\text{est}})( italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT , italic_τ start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT ) and scatterer position.
1 𝒞𝒞\mathcal{CB}caligraphic_C caligraphic_B design based on (6) and (7);
2 Solve problem (8) and transmit using the 𝚽0subscript𝚽0\bm{\Phi}_{0}bold_Φ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT from (8);
3 Execute the ON/OFF protocol and MUSIC [8] to obtain φAoALoSsuperscriptsubscript𝜑AoALoS\varphi_{\text{AoA}}^{\text{LoS}}italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT LoS end_POSTSUPERSCRIPT;
4 Specify τestsuperscript𝜏est\tau^{\text{est}}italic_τ start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT using an UWB equipment;
5 for 𝚽𝒞𝚽𝒞\bm{\Phi}\in\mathcal{CB}bold_Φ ∈ caligraphic_C caligraphic_B do
      6 Use the ON/OFF protocol and (10), (11) to generate the final observation;
      7 Execute MUSIC [8] to obtain φAoANLoSsuperscriptsubscript𝜑AoANLoS\varphi_{\text{AoA}}^{\text{NLoS}}italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT NLoS end_POSTSUPERSCRIPT;
      8 if φAoANLoSφAoALoSsuperscriptsubscript𝜑AoANLoSsuperscriptsubscript𝜑AoALoS\varphi_{\text{AoA}}^{\text{NLoS}}\neq\varphi_{\text{AoA}}^{\text{LoS}}italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT NLoS end_POSTSUPERSCRIPT ≠ italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT LoS end_POSTSUPERSCRIPT then
            9 Using geometry manipulations, find a scattering-object’s position;
            
      
Algorithm 1 Positioning and Mapping Protocol

Denoting by φAoAestsuperscriptsubscript𝜑AoAest\varphi_{\text{AoA}}^{\text{est}}italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT, restsuperscript𝑟estr^{\text{est}}italic_r start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT, and τest=restcsuperscript𝜏estsuperscript𝑟est𝑐\tau^{\text{est}}=\frac{r^{\text{est}}}{c}italic_τ start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT = divide start_ARG italic_r start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT end_ARG start_ARG italic_c end_ARG (c𝑐citalic_c is the speed of light), the azimuth AoA estimation at the UE, the ranging estimation, and the ToA estimation for the LoS path between the RIS and UE respectively, the LoS term of the RIS-to-UE channel from (1) can be estimated using the expression:

𝑯2LoSest=h2lossejϕ2𝐚UE(φAoAest)𝐚RISH(φAoDest)NR×N,superscriptsubscript𝑯2LoSestsuperscriptsubscript2losssuperscript𝑒𝑗subscriptitalic-ϕ2subscript𝐚UEsuperscriptsubscript𝜑AoAestsuperscriptsubscript𝐚RIS𝐻superscriptsubscript𝜑AoDestsuperscriptsubscript𝑁𝑅𝑁\bm{H}_{2\,\,\text{LoS}}^{\text{est}}=h_{2}^{\text{loss}}e^{j\phi_{2}}\bm{% \mathbf{a}}_{\text{UE}}(\varphi_{\text{AoA}}^{\text{est}})\bm{\mathbf{a}}_{% \text{RIS}}^{H}(\varphi_{\text{AoD}}^{\text{est}})\in\mathbb{C}^{N_{R}\times N},bold_italic_H start_POSTSUBSCRIPT 2 LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT = italic_h start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT loss end_POSTSUPERSCRIPT italic_e start_POSTSUPERSCRIPT italic_j italic_ϕ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT bold_a start_POSTSUBSCRIPT UE end_POSTSUBSCRIPT ( italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT ) bold_a start_POSTSUBSCRIPT RIS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT ( italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT ) ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT × italic_N end_POSTSUPERSCRIPT , (10)

where h2loss=20log10(4πrestλ)superscriptsubscript2loss20subscriptlog104𝜋superscript𝑟est𝜆h_{2}^{\text{loss}}=20\operatorname{log}_{10}\big{(}\frac{4\pi r^{\text{est}}}% {\lambda}\big{)}italic_h start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT loss end_POSTSUPERSCRIPT = 20 roman_log start_POSTSUBSCRIPT 10 end_POSTSUBSCRIPT ( divide start_ARG 4 italic_π italic_r start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT end_ARG start_ARG italic_λ end_ARG ) and λ𝜆\lambdaitalic_λ is the carrier frequency wavelength. This expression assumes that the target is in the Tx’s far field. Moreover, ϕ2=mod(2πfcτest,2π)subscriptitalic-ϕ2mod2𝜋subscript𝑓𝑐superscript𝜏est2𝜋\phi_{2}=\operatorname{mod}(-2\pi f_{c}\tau^{\text{est}},2\pi)italic_ϕ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = roman_mod ( - 2 italic_π italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT italic_τ start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT , 2 italic_π ) and φAoDestsuperscriptsubscript𝜑AoDest\varphi_{\text{AoD}}^{\text{est}}italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT follows from φAoAestsuperscriptsubscript𝜑AoAest\varphi_{\text{AoA}}^{\text{est}}italic_φ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT via geometric manipulations. In exactly the same way, the term 𝑯1LoSestN×NTsuperscriptsubscript𝑯1LoSestsuperscript𝑁subscript𝑁𝑇\bm{H}_{1\,\,\text{LoS}}^{\text{est}}{\in}\mathbb{C}^{N{\times}N_{T}}bold_italic_H start_POSTSUBSCRIPT 1 LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT ∈ blackboard_C start_POSTSUPERSCRIPT italic_N × italic_N start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT end_POSTSUPERSCRIPT can be constructed, which refers to the AP-to-RIS channel matrix, with the difference that the geometry of the AP-to-RIS channel is already known, and thus, the various parameters needed for 𝑯1LoSestsuperscriptsubscript𝑯1LoSest\bm{H}_{1\,\,\text{LoS}}^{\text{est}}bold_italic_H start_POSTSUBSCRIPT 1 LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT computation are not estimates, but exact values. Whenever a measurement is received at the UE via a known RIS configuration, the measurement 𝒓LoS[n]NR=𝑯2LoSest𝚽𝑯1LoSest𝒙[n]subscript𝒓LoSdelimited-[]𝑛superscriptsubscript𝑁𝑅superscriptsubscript𝑯2LoSest𝚽superscriptsubscript𝑯1LoSest𝒙delimited-[]𝑛\bm{r}_{\text{LoS}}[n]{\in}\mathbb{C}^{N_{R}}=\bm{H}_{2\,\,\text{LoS}}^{\text{% est}}\,\bm{\Phi}\,\bm{H}_{1\,\,\text{LoS}}^{\text{est}}\,\bm{x}[n]bold_italic_r start_POSTSUBSCRIPT LoS end_POSTSUBSCRIPT [ italic_n ] ∈ blackboard_C start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT end_POSTSUPERSCRIPT = bold_italic_H start_POSTSUBSCRIPT 2 LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT bold_Φ bold_italic_H start_POSTSUBSCRIPT 1 LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT bold_italic_x [ italic_n ] can be constructed and subtracted from the received signal:

𝒓NLoS[n]=𝒓tot[n]𝒓LoS[nτestFs],subscript𝒓NLoSdelimited-[]𝑛subscript𝒓totdelimited-[]𝑛subscript𝒓LoSdelimited-[]𝑛superscript𝜏estsubscript𝐹𝑠\bm{r}_{\text{NLoS}}[n]=\bm{r}_{\text{tot}}[n]-\bm{r}_{\text{LoS}}[n-\lfloor{% \tau^{\text{est}}F_{s}\rfloor}],bold_italic_r start_POSTSUBSCRIPT NLoS end_POSTSUBSCRIPT [ italic_n ] = bold_italic_r start_POSTSUBSCRIPT tot end_POSTSUBSCRIPT [ italic_n ] - bold_italic_r start_POSTSUBSCRIPT LoS end_POSTSUBSCRIPT [ italic_n - ⌊ italic_τ start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT italic_F start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT ⌋ ] , (11)

where Fssubscript𝐹𝑠F_{s}italic_F start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT is the UE’s sampling frequency and x𝑥\lfloor{x\rfloor}⌊ italic_x ⌋ denotes the integer part of x𝑥xitalic_x. So, the impact of the strong LoS term is removed from the measurements. To this end, the beam sweeping technique is used again, but now the measurement on which MUSIC is executed, is the 𝒓NLoS[n]subscript𝒓NLoSdelimited-[]𝑛\bm{r}_{\text{NLoS}}[n]bold_italic_r start_POSTSUBSCRIPT NLoS end_POSTSUBSCRIPT [ italic_n ] in (11). Again, due to the fact that it is not possible to perfectly eliminate the LoS term, for most configurations of the codebook, the LoS path’s angle is given as a solution. However, when targeting at an NLoS path using the RIS, the angle found by MUSIC is that of this NLoS path. Thus, the location of the scattering point can be specified as the intersection of the two straight lines, the one that starts from the RIS and leaves at the angle at which RIS beamforms and the straight line that arrives at the UE and coincides with the AoA calculated by MUSIC. This process is repeated for each configuration that enables a different NLoS path, i.e., MUSIC gives other AoA estimation than the LoS path’s AoA. To this end, all possible scattering objects can be positioned in an indoor place, thus providing a mapping of the space. The overall protocol for joint positioning and mapping is summarized in Algorithm 1.

V Simulation Results

Refer to caption
(a) Test Rx positions of the UEs.
Refer to caption
(b) Scatterer positions for mapping.
Figure 2: The simulated indoor environment for localization and mapping.

The experimental setup used to assess the proposed protocol for RIS-aided localization and mapping is illustrated in Fig. 2, where a 32×32323232{\times}3232 × 32 URA RIS operating at fc=3.5subscript𝑓𝑐3.5f_{c}{=}3.5italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 3.5 GHz is utilized. All nodes are on the same azimuth plane and to validate the proposed method’s accuracy, we have run Algorithm 1 for each UE position in Fig. 2 and averaged the results. The test UE positions were determined by the arrangement depicted in Fig. 2, where UEs were located in a rectangle determined by x[1.5,3.5]𝑥1.53.5x{\in}[1.5,3.5]italic_x ∈ [ 1.5 , 3.5 ] (abscissa) and y[5,7]𝑦57y{\in}[5,7]italic_y ∈ [ 5 , 7 ] (ordinate). The channel model followed a geometric RT-based approach and the setup entailed a multi-antenna Tx directly beamforming towards the RIS (simulating a highly directive horn antenna) and multi-antenna UEs with fixed antenna orientation at the x𝑥xitalic_x-axis.

V-A Positioning

TABLE I: Evaluation of Algorithm 1.
{NiceTabular}

c@  cc ¿p1cm ¿p1cmS[table-format=3.2]\CodeBefore\rowcolorteal!101 \Body

Phase shifters RIS configuration Method Peak Average Variance
Continuous 𝝎𝜽Tsuperscriptsubscript𝝎𝜽𝑇\bm{\omega}_{\bm{\theta}}^{T}bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT from (7) BeS 12.62° 1.03° 2.28°
1-bit RIS Quantized 𝝎𝜽subscript𝝎𝜽\bm{\omega}_{\bm{\theta}}bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT BeS 58.28° 9.93°280.32°
1-bit RIS Quantized 𝝎𝜽subscript𝝎𝜽\bm{\omega}_{\bm{\theta}}bold_italic_ω start_POSTSUBSCRIPT bold_italic_θ end_POSTSUBSCRIPT BeS & MUSIC 10.68° 0.86°1.82°
BeS: Beam Sweeping

Table V-A presents statistical measures for the absolute estimation error e~=|φAoDφAoDest|~𝑒subscript𝜑AoDsuperscriptsubscript𝜑AoDest\tilde{e}=\big{|}\varphi_{\text{AoD}}-\varphi_{\text{AoD}}^{\text{est}}\big{|}over~ start_ARG italic_e end_ARG = | italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT - italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT start_POSTSUPERSCRIPT est end_POSTSUPERSCRIPT |, where φAoDsubscript𝜑AoD\varphi_{\text{AoD}}italic_φ start_POSTSUBSCRIPT AoD end_POSTSUBSCRIPT denotes the actual azimuth angle between the RIS and the UE. This table also contains the maximum, mean, and variance of the estimation error for each method. The methods analyzed encompass the continuous solution for the codebook design and quantization of the continuous solution employing 1111-bit phase shifters, to be consistent with practical RIS implementations. Furthermore, the performance of the 1111-bit codebook was assessed in conjunction with the MUSIC algorithm. Finally, for the reproducibility of the results, it is mentioned that the codebook described in section III is constructed with a resolution of approximately two degrees.

It can be observed from Table V-A that, even with 1111-bit RIS codebook obtained by quantizing the continuous solution, a satisfactory solution can be achieved, even in the challenging case where each individual channel is a strong multipath. However, side lobe effects [42] occurring for 1111-bit RISs, can activate other NLoS paths, and thus, both quantized techniques sometimes lead to misleading results; the large peak error in the 1111-bit beam sweeping technique results from quantization of the continuous solution of a non-convex problem.

V-B Mapping

TABLE II: RIS-UE paths obtained by ray tracing.
{NiceTabular}

ccS[table-format=3.2]S\CodeBefore\rowcolorteal!101 \BodyPath Number Path Type Azimuth AoA Elevation AoA (deg, °)
1. LoS 53.75°0
2. NLoS 127.36° 8.56e-14
3. NLoS53.75°21.96
4. NLoS47.91°0
5. NLoS53.75°-24.56
6. NLoS61.29°0

As shown in Fig. 1, there are many NLoS paths that need to be resolved in this setup. Table V-B lists all RIS-to-UE paths whose reflection-point coordinates need to be specified by Algorithm 1. Since not all of these paths are resolvable with a ULA-based Rx, in this preliminary analysis for mapping, simulation results for resolving the single-reflected NLoS paths with θAoA0subscript𝜃AoA0\theta_{\text{AoA}}{\approx}0italic_θ start_POSTSUBSCRIPT AoA end_POSTSUBSCRIPT ≈ 0 are presented, of which scattering point is not behind the RIS. Moreover, since MUSIC spectrum is periodic in the interval [180°,180°]180°180°[-180\degree,180\degree][ - 180 ° , 180 ° ], we had to limit it to the interval [0°,180°]0°180°[0\degree,180\degree][ 0 ° , 180 ° ], thus, paths incident on the backside of the Rx-ULA were not resolved. For this reason, we assumed that the Rx-UE was equipped with a patch antenna, and thus, could not receive from its back side. Therefore, mapping only concerns the space in front of the UE. Mapping the back space requires the UE to rotate facing the back space. Therefore, in this work, we focused on resolving only the NLoS path 4444.

As can be seen from Fig. 2, the calculation of the scattering point is very close to the actual reflection point that creates this particular NLoS path. If we now run the Algorithm 1 for each UE position in Fig. 2, the average value of the estimation error for the scattering point position is 0.210.210.210.21 m, with a standard deviation of 0.230.230.230.23 m, indicating that the RIS can enable nearly dm-level of mapping accuracy.

VI Conclusion

This paper presented a comprehensive framework that leverages beam sweeping through codebook-based beamforming at the RIS, signal component extraction, and a super-resolution algorithm to enhance user localization and mapping in future 6G wireless networks. By addressing the challenges of indoor environments with multipath effects, especially using an 1111-bit RIS, and validating with accurate 3D RT models, we demonstrated the robustness and effectiveness of our proposed approach in practical indoor scenarios.

VII Acknowledgement

This work has been supported by the ESA Project PRISM: RIS-enabled Positioning and Mapping (NAVISP-EL1-063).

References

  • [1] H. Wymeersch et al., “Localisation and sensing use cases and gap analysis,” Hexa-X project Deliverable D, vol. 3, 2022. [Online]. Available: https://hexa-x.eu/wp-content/uploads/2022/01/Hexa-X-D3.1_v1.4.pdf
  • [2] 3GPP, “3GPP TS 22.261: Service requirements for the 5G system,” 3rd Generation Partnership Project, Technical Specification Group Services and System Aspects, 2023.
  • [3] ——, “3GPP TS 22.872: Study on positioning use cases (Release 16),” 3rd Generation Partnership Project, Technical Specification Group Services and System Aspects, 2023.
  • [4] H. Chen, H. Kim, M. Ammous, G. Seco-Granados, G. C. Alexandropoulos, S. Valaee, and H. Wymeersch, “RISs and sidelink communications in smart cities: The key to seamless localization and sensing,” IEEE Commun. Mag., vol. 61, no. 8, pp. 140–146, Aug. 2023.
  • [5] P. J. Teunissen and O. Montenbruck, Springer handbook of global navigation satellite systems.   Springer, 2017, vol. 10.
  • [6] H. Wymeersch and G. Seco-Granados, “Radio localization and sensing—Part ii: State-of-the-art and challenges,” IEEE Commun. Lett., vol. 26, no. 12, pp. 2821–2825, Dec. 2022.
  • [7] J. Nikonowicz, A. Mahmood, M. I. Ashraf, E. Björnson, and M. Gidlund, “Indoor positioning in 5G-advanced: Challenges and solution toward centimeter-level accuracy with carrier phase enhancements,” IEEE Wireless Commun., vol. 3, no. 4, pp. 268–275, Aug. 2024.
  • [8] R. Schmidt, “Multiple emitter location and signal parameter estimation,” IEEE Trans. on Antennas and Propagation, vol. 34, no. 3, pp. 276–280, 1986.
  • [9] R. Roy and T. Kailath, “ESPRIT-estimation of signal parameters via rotational invariance techniques,” IEEE Trans. Acoust., Speech, Signal Process., vol. 37, no. 7, pp. 984–995, 1989.
  • [10] G. C. Alexandropoulos, I. Vinieratou, and H. Wymeersch, “Localization via multiple reconfigurable intelligent surfaces equipped with single receive RF chains,” IEEE Wireless Commun. Lett., vol. 11, no. 5, pp. 1072–1076, May 2022.
  • [11] G. C. Alexandropoulos, N. Shlezinger, and P. del Hougne, “Reconfigurable intelligent surfaces for rich scattering wireless communications: Recent experiments, challenges, and opportunities,” IEEE Commun. Mag., vol. 59, no. 6, pp. 28–34, Jun. 2021.
  • [12] G. C. Alexandropoulos, K. Stylianopoulos, C. Huang, C. Yuen, M. Bennis, and M. Debbah, “Pervasive machine learning for smart radio environments enabled by reconfigurable intelligent surfaces,” Proc. IEEE, vol. 110, no. 9, pp. 1494–1525, Sep. 2022.
  • [13] E. Basar, G. C. Alexandropoulos, Y. Liu, Q. Wu, S. Jin, C. Yuen, O. A. Dobre, and R. Schober, “Reconfigurable intelligent surfaces for 6g: Emerging hardware architectures, applications, and open challenges,” IEEE Veh. Technol. Mag., vol. 19, no. 3, pp. 27–47, Sep. 2024.
  • [14] E. Björnson et al., “Reconfigurable intelligent surfaces: A signal processing perspective with wireless applications,” IEEE Signal Process. Mag., vol. 39, no. 2, pp. 135–158, 2022.
  • [15] C. Pan, G. Zhou, K. Zhi, S. Hong, T. Wu, Y. Pan, H. Ren, M. D. Renzo, A. Lee Swindlehurst, R. Zhang, and A. Y. Zhang, “An Overview of Signal Processing Techniques for RIS/IRS-Aided Wireless Systems,” IEEE J. of Sel. Topics in Signal Process., vol. 16, no. 5, pp. 883–917, 2022.
  • [16] D. Kompostiotis, D. Vordonis, and V. Paliouras, “Received power maximization with practical phase-dependent amplitude response in RIS-aided OFDM wireless communications,” in Proc. IEEE ICASSP, Rhodes, Greece, 2023.
  • [17] D. Kompostiotis, D. Vordonis, V. Paliouras, and G. C. Alexandropoulos, “Secrecy rate maximization in RIS-enabled OFDM wireless communications: The circuit-based reflection model case,” in Proc. IEEE ICC, Rome, Italy, 2023.
  • [18] D. Vordonis, D. Kompostiotis, and V. Paliouras, “Reconfigurable intelligent surface-aided ofdm wireless communications: Hardware aspects of reflection optimization methods,” in Proc. MOCAST, Bremen, Germany, 2022.
  • [19] K. Keykhosravi, B. Denis, G. C. Alexandropoulos, Z. S. He, A. Albanese, V. Sciancalepore, and H. Wymeersch, “Leveraging RIS-enabled smart signal propagation for solving infeasible localization problems,” IEEE Veh. Technol. Mag., vol. 18, no. 2, pp. 20–28, Jun. 2023.
  • [20] H. Wymeersch, J. He, B. Denis, A. Clemente, and M. Juntti, “Radio localization and mapping with reconfigurable intelligent surfaces: Challenges, opportunities, and research directions,” IEEE Veh. Technol. Mag., vol. 15, no. 4, pp. 52–61, 2020.
  • [21] C. De Lima, D. Belot, R. Berkvens, A. Bourdoux, D. Dardari, M. Guillaud, M. Isomursu, E.-S. Lohan, Y. Miao, A. N. Barreto et al., “Convergent communication, sensing and localization in 6G systems: An overview of technologies, opportunities and challenges,” IEEE Access, vol. 9, pp. 26 902–26 925, 2021.
  • [22] R. Chen, M. Liu, Y. Hui, N. Cheng, and J. Li, “Reconfigurable intelligent surfaces for 6G IoT wireless positioning: A contemporary survey,” IEEE Internet of Things Journal, vol. 9, no. 23, pp. 23 570–23 582, 2022.
  • [23] H. Kim, H. Chen, M. F. Keskin, Y. Ge, K. Keykhosravi, G. C. Alexandropoulos, S. Kim, , and H. Wymeersch, “RIS-enabled and access-point-free simultaneous radio localization and mapping,” IEEE Trans. Wireless Commun., vol. 23, no. 4, pp. 3344–1 423 360, Apr. 2024.
  • [24] J. He, A. Fakhreddine, H. Wymeersch, and G. C. Alexandropoulos, “Compressed-sensing-based 3D localization with distributed passive reconfigurable intelligent surfaces,” in Proc. IEEE ICASSP, Rhodes, Greece, 2023.
  • [25] J. He, A. Fakhreddine, and G. C. Alexandropoulos, “Millimeter wave cellular passive drone detection with reconfigurable intelligent surfaces,” in Proc. IEEE PIMRC, Valencia, Spain, 2024.
  • [26] H. Zhang, H. Zhang, B. Di, K. Bian, Z. Han, and L. Song, “Metalocalization: Reconfigurable intelligent surface aided multi-user wireless indoor localization,” IEEE Trans. on Wireless Commun., vol. 20, no. 12, pp. 7743–7757, 2021.
  • [27] A. Albanese, P. Mursia, V. Sciancalepore, and X. Costa-Pérez, “PAPIR: Practical RIS-aided localization via statistical user information,” in Proc. SPAWC.   IEEE, 2021, pp. 531–535.
  • [28] J. He, H. Wymeersch, T. Sanguanpuak, O. Silvén, and M. Juntti, “Adaptive beamforming design for mmWave RIS-aided joint localization and communication,” in Proc. WCNCW.   IEEE, 2020, pp. 1–6.
  • [29] V. Jamali, G. C. Alexandropoulos, R. Schober, and H. V. Poor, “Low-to-zero-overhead irs reconfiguration: Decoupling illumination and channel estimation,” IEEE Commun. Lett., vol. 26, no. 4, pp. 932–936, Apr. 2022.
  • [30] G. C. Alexandropoulos, V. Jamali, R. Schober, and H. V. Poor, “Near-field hierarchical beam management for ris-enabled millimeter wave multi-antenna systems,” in Proc. IEEE SAM, Jul. 2022, pp. 460–464.
  • [31] D. Dardari, N. Decarli, A. Guerra, and F. Guidi, “LOS/NLOS near-field localization with a large reconfigurable intelligent surface,” IEEE Trans. on Wireless Commun., vol. 21, no. 6, pp. 4282–4294, 2021.
  • [32] J. Zhang, J. Wu, and R. Wang, “User localization and environment mapping with the assistance of RIS,” IEEE Trans. on Veh. Tech., 2024.
  • [33] A. Taha, H. Luo, and A. Alkhateeb, “Reconfigurable intelligent surface aided wireless sensing for scene depth estimation,” in Proc. IEEE ICC, Rome, Italy, 2023.
  • [34] X. Tong, Z. Zhang, J. Wang, C. Huang, and M. Debbah, “Joint multi-user communication and sensing exploiting both signal and environment sparsity,” IEEE J. Sel. Topics Signal Process., vol. 15, no. 6, pp. 1409–1422, Nov. 2021.
  • [35] K. Stylianopoulos, P. Gavriilidis, and G. C. Alexandropoulos, “Asymptotically optimal closed-form phase configuration of 1111-bit RISs via sign alignment,” in Proc. IEEE SPAWC, Lucca, Italy, 2024.
  • [36] T. Ma, Y. Xiao, X. Lei, L. Zhang, Y. Niu, and G. K. Karagiannidis, “Reconfigurable intelligent surface assisted localization: Technologies, challenges, and the road ahead,” IEEE Open J. Commun. Society, vol. 4, pp. 1430–1451, Jul. 2023.
  • [37] C. Pan, H. Ren, K. Wang, W. Xu, M. Elkashlan, A. Nallanathan, and L. Hanzo, “Multicell MIMO communications relying on intelligent reflecting surfaces,” IEEE Trans. Wireless Commun., vol. 19, no. 8, pp. 5218–5233, Aug. 2020.
  • [38] K. D. Katsanos, P. Di Lorenzo, and G. C. Alexandropoulos, “Multi-RIS-empowered multiple access: A distributed sum-rate maximization approach,” IEEE J. Sel. Topics Signal Process., early access, 2024.
  • [39] P. Ramezani, M. A. Gimyk, and E. Björnson, “Broad beam reflection for RIS-assisted MIMO systems with planar arrays,” in Proc. Asilomar Conf. Signals, Sys., and Comput., Pacific Grove, USA, 2023.
  • [40] T. K. Y. Lo, “Maximum ratio transmission,” in Proc. IEEE ICC, Vancouver, Canada, 1999.
  • [41] B. Zheng, C. You, W. Mei, and R. Zhang, “A survey on channel estimation and practical passive beamforming design for intelligent reflecting surface aided wireless communications,” IEEE Commun. Surveys & Tuts., vol. 24, no. 2, pp. 1035–1071, 2022.
  • [42] Y. Liu, F. Gao, and L. Zhang, “Quantization beam analysis and codebook design for one-bit reconfigurable intelligent surface,” IEEE Wireless Commun. Lett., vol. 13, no. 7, pp. 1793–1797, Jul. 2024.